pic32mx664f064l.pp 1.8 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852
  1. unit pic32mx664f064l;
  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. _DMA4_IRQ = 52;
  16031. _DMA5_IRQ = 53;
  16032. _DMA6_IRQ = 54;
  16033. _DMA7_IRQ = 55;
  16034. _FLASH_CONTROL_IRQ = 56;
  16035. _USB_IRQ = 57;
  16036. _ETHERNET_IRQ = 60;
  16037. _INPUT_CAPTURE_ERROR_1_IRQ = 61;
  16038. _INPUT_CAPTURE_ERROR_2_IRQ = 62;
  16039. _INPUT_CAPTURE_ERROR_3_IRQ = 63;
  16040. _INPUT_CAPTURE_ERROR_4_IRQ = 64;
  16041. _INPUT_CAPTURE_ERROR_5_IRQ = 65;
  16042. _PMP_ERROR_IRQ = 66;
  16043. _UART1B_ERR_IRQ = 67;
  16044. _UART4_ERR_IRQ = 67;
  16045. _UART1B_RX_IRQ = 68;
  16046. _UART4_RX_IRQ = 68;
  16047. _UART1B_TX_IRQ = 69;
  16048. _UART4_TX_IRQ = 69;
  16049. _UART2B_ERR_IRQ = 70;
  16050. _UART6_ERR_IRQ = 70;
  16051. _UART2B_RX_IRQ = 71;
  16052. _UART6_RX_IRQ = 71;
  16053. _UART2B_TX_IRQ = 72;
  16054. _UART6_TX_IRQ = 72;
  16055. _UART3B_ERR_IRQ = 73;
  16056. _UART5_ERR_IRQ = 73;
  16057. _UART3B_RX_IRQ = 74;
  16058. _UART5_RX_IRQ = 74;
  16059. _UART3B_TX_IRQ = 75;
  16060. _UART5_TX_IRQ = 75;
  16061. const
  16062. ADC10_BASE_ADDRESS = $BF809000;
  16063. var
  16064. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  16065. const
  16066. BMX_BASE_ADDRESS = $BF882000;
  16067. var
  16068. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  16069. const
  16070. CFG_BASE_ADDRESS = $BF80F200;
  16071. var
  16072. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  16073. const
  16074. CMP_BASE_ADDRESS = $BF80A000;
  16075. var
  16076. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  16077. const
  16078. CVR_BASE_ADDRESS = $BF809800;
  16079. var
  16080. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  16081. const
  16082. DMAC_BASE_ADDRESS = $BF883000;
  16083. var
  16084. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  16085. const
  16086. DMAC0_BASE_ADDRESS = $BF883060;
  16087. var
  16088. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  16089. const
  16090. DMAC1_BASE_ADDRESS = $BF883120;
  16091. var
  16092. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  16093. const
  16094. DMAC2_BASE_ADDRESS = $BF8831E0;
  16095. var
  16096. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  16097. const
  16098. DMAC3_BASE_ADDRESS = $BF8832A0;
  16099. var
  16100. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  16101. const
  16102. ETH_BASE_ADDRESS = $BF889000;
  16103. var
  16104. ETH : TETHRegisters absolute ETH_BASE_ADDRESS;
  16105. const
  16106. I2C1_BASE_ADDRESS = $BF805300;
  16107. var
  16108. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  16109. const
  16110. I2C1A_BASE_ADDRESS = $BF805000;
  16111. var
  16112. I2C1A : TI2C1ARegisters absolute I2C1A_BASE_ADDRESS;
  16113. const
  16114. I2C2_BASE_ADDRESS = $BF805400;
  16115. var
  16116. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  16117. const
  16118. I2C2A_BASE_ADDRESS = $BF805100;
  16119. var
  16120. I2C2A : TI2C2ARegisters absolute I2C2A_BASE_ADDRESS;
  16121. const
  16122. I2C5_BASE_ADDRESS = $BF805200;
  16123. var
  16124. I2C5 : TI2C5Registers absolute I2C5_BASE_ADDRESS;
  16125. const
  16126. ICAP1_BASE_ADDRESS = $BF802000;
  16127. var
  16128. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  16129. const
  16130. ICAP2_BASE_ADDRESS = $BF802200;
  16131. var
  16132. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  16133. const
  16134. ICAP3_BASE_ADDRESS = $BF802400;
  16135. var
  16136. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  16137. const
  16138. ICAP4_BASE_ADDRESS = $BF802600;
  16139. var
  16140. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  16141. const
  16142. ICAP5_BASE_ADDRESS = $BF802800;
  16143. var
  16144. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  16145. const
  16146. INT_BASE_ADDRESS = $BF881000;
  16147. var
  16148. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  16149. const
  16150. NVM_BASE_ADDRESS = $BF80F400;
  16151. var
  16152. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  16153. const
  16154. OCMP1_BASE_ADDRESS = $BF803000;
  16155. var
  16156. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  16157. const
  16158. OCMP2_BASE_ADDRESS = $BF803200;
  16159. var
  16160. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  16161. const
  16162. OCMP3_BASE_ADDRESS = $BF803400;
  16163. var
  16164. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  16165. const
  16166. OCMP4_BASE_ADDRESS = $BF803600;
  16167. var
  16168. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  16169. const
  16170. OCMP5_BASE_ADDRESS = $BF803800;
  16171. var
  16172. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  16173. const
  16174. OSC_BASE_ADDRESS = $BF80F000;
  16175. var
  16176. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  16177. const
  16178. PCACHE_BASE_ADDRESS = $BF884000;
  16179. var
  16180. PCACHE : TPCACHERegisters absolute PCACHE_BASE_ADDRESS;
  16181. const
  16182. PMP_BASE_ADDRESS = $BF807000;
  16183. var
  16184. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  16185. const
  16186. PORTA_BASE_ADDRESS = $BF886000;
  16187. var
  16188. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  16189. const
  16190. PORTB_BASE_ADDRESS = $BF886040;
  16191. var
  16192. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  16193. const
  16194. PORTC_BASE_ADDRESS = $BF886080;
  16195. var
  16196. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  16197. const
  16198. PORTD_BASE_ADDRESS = $BF8860C0;
  16199. var
  16200. PORTD : TPORTDRegisters absolute PORTD_BASE_ADDRESS;
  16201. const
  16202. PORTE_BASE_ADDRESS = $BF886100;
  16203. var
  16204. PORTE : TPORTERegisters absolute PORTE_BASE_ADDRESS;
  16205. const
  16206. PORTF_BASE_ADDRESS = $BF886140;
  16207. var
  16208. PORTF : TPORTFRegisters absolute PORTF_BASE_ADDRESS;
  16209. const
  16210. PORTG_BASE_ADDRESS = $BF886180;
  16211. var
  16212. PORTG : TPORTGRegisters absolute PORTG_BASE_ADDRESS;
  16213. const
  16214. RCON_BASE_ADDRESS = $BF80F600;
  16215. var
  16216. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  16217. const
  16218. RTCC_BASE_ADDRESS = $BF800200;
  16219. var
  16220. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  16221. const
  16222. SPI1_BASE_ADDRESS = $BF805E00;
  16223. var
  16224. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  16225. const
  16226. SPI1A_BASE_ADDRESS = $BF805800;
  16227. var
  16228. SPI1A : TSPI1ARegisters absolute SPI1A_BASE_ADDRESS;
  16229. const
  16230. SPI2_BASE_ADDRESS = $BF805A00;
  16231. var
  16232. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  16233. const
  16234. SPI4_BASE_ADDRESS = $BF805C00;
  16235. var
  16236. SPI4 : TSPI4Registers absolute SPI4_BASE_ADDRESS;
  16237. const
  16238. TMR1_BASE_ADDRESS = $BF800600;
  16239. var
  16240. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  16241. const
  16242. TMR2_BASE_ADDRESS = $BF800800;
  16243. var
  16244. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  16245. const
  16246. TMR3_BASE_ADDRESS = $BF800A00;
  16247. var
  16248. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  16249. const
  16250. TMR4_BASE_ADDRESS = $BF800C00;
  16251. var
  16252. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  16253. const
  16254. TMR5_BASE_ADDRESS = $BF800E00;
  16255. var
  16256. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  16257. const
  16258. UART1A_BASE_ADDRESS = $BF806000;
  16259. var
  16260. UART1A : TUART1ARegisters absolute UART1A_BASE_ADDRESS;
  16261. const
  16262. UART3_BASE_ADDRESS = $BF806400;
  16263. var
  16264. UART3 : TUART3Registers absolute UART3_BASE_ADDRESS;
  16265. const
  16266. UART3A_BASE_ADDRESS = $BF806800;
  16267. var
  16268. UART3A : TUART3ARegisters absolute UART3A_BASE_ADDRESS;
  16269. const
  16270. UART3B_BASE_ADDRESS = $BF806A00;
  16271. var
  16272. UART3B : TUART3BRegisters absolute UART3B_BASE_ADDRESS;
  16273. const
  16274. UART4_BASE_ADDRESS = $BF806200;
  16275. var
  16276. UART4 : TUART4Registers absolute UART4_BASE_ADDRESS;
  16277. const
  16278. UART6_BASE_ADDRESS = $BF806600;
  16279. var
  16280. UART6 : TUART6Registers absolute UART6_BASE_ADDRESS;
  16281. const
  16282. USB_BASE_ADDRESS = $BF885040;
  16283. var
  16284. USB : TUSBRegisters absolute USB_BASE_ADDRESS;
  16285. const
  16286. WDT_BASE_ADDRESS = $BF800000;
  16287. var
  16288. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  16289. const
  16290. _APPI_BASE_ADDRESS = $BF880190;
  16291. var
  16292. _APPI : T_APPIRegisters absolute _APPI_BASE_ADDRESS;
  16293. const
  16294. _APPO_BASE_ADDRESS = $BF880180;
  16295. var
  16296. _APPO : T_APPORegisters absolute _APPO_BASE_ADDRESS;
  16297. const
  16298. _DDPSTAT_BASE_ADDRESS = $BF880140;
  16299. var
  16300. _DDPSTAT : T_DDPSTATRegisters absolute _DDPSTAT_BASE_ADDRESS;
  16301. const
  16302. _STRO_BASE_ADDRESS = $BF880170;
  16303. var
  16304. _STRO : T_STRORegisters absolute _STRO_BASE_ADDRESS;
  16305. implementation
  16306. type
  16307. TDefRegMap = record
  16308. val : longWord;
  16309. clr : longWord;
  16310. &set : longWord;
  16311. inv : longWord;
  16312. end;
  16313. pTDefRegMap = ^TDefRegMap;
  16314. procedure TWDT_WDTCON.setWDTCLR; inline;
  16315. begin
  16316. pTDefRegMap(@Self)^.&set := $00000001;
  16317. end;
  16318. procedure TWDT_WDTCON.clearWDTCLR; inline;
  16319. begin
  16320. pTDefRegMap(@Self)^.clr := $00000001;
  16321. end;
  16322. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  16323. begin
  16324. if thebits = 0 then
  16325. pTDefRegMap(@Self)^.clr := $00000001
  16326. else
  16327. pTDefRegMap(@Self)^.&set := $00000001;
  16328. end;
  16329. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  16330. begin
  16331. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16332. end;
  16333. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  16334. begin
  16335. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16336. end;
  16337. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  16338. begin
  16339. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16340. end;
  16341. procedure TWDT_WDTCON.setON; inline;
  16342. begin
  16343. pTDefRegMap(@Self)^.&set := $00008000;
  16344. end;
  16345. procedure TWDT_WDTCON.clearON; inline;
  16346. begin
  16347. pTDefRegMap(@Self)^.clr := $00008000;
  16348. end;
  16349. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  16350. begin
  16351. if thebits = 0 then
  16352. pTDefRegMap(@Self)^.clr := $00008000
  16353. else
  16354. pTDefRegMap(@Self)^.&set := $00008000;
  16355. end;
  16356. function TWDT_WDTCON.getON : TBits_1; inline;
  16357. begin
  16358. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16359. end;
  16360. procedure TWDT_WDTCON.setSWDTPS0; inline;
  16361. begin
  16362. pTDefRegMap(@Self)^.&set := $00000004;
  16363. end;
  16364. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  16365. begin
  16366. pTDefRegMap(@Self)^.clr := $00000004;
  16367. end;
  16368. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  16369. begin
  16370. if thebits = 0 then
  16371. pTDefRegMap(@Self)^.clr := $00000004
  16372. else
  16373. pTDefRegMap(@Self)^.&set := $00000004;
  16374. end;
  16375. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  16376. begin
  16377. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16378. end;
  16379. procedure TWDT_WDTCON.setSWDTPS1; inline;
  16380. begin
  16381. pTDefRegMap(@Self)^.&set := $00000008;
  16382. end;
  16383. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  16384. begin
  16385. pTDefRegMap(@Self)^.clr := $00000008;
  16386. end;
  16387. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  16388. begin
  16389. if thebits = 0 then
  16390. pTDefRegMap(@Self)^.clr := $00000008
  16391. else
  16392. pTDefRegMap(@Self)^.&set := $00000008;
  16393. end;
  16394. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  16395. begin
  16396. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16397. end;
  16398. procedure TWDT_WDTCON.setSWDTPS2; inline;
  16399. begin
  16400. pTDefRegMap(@Self)^.&set := $00000010;
  16401. end;
  16402. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  16403. begin
  16404. pTDefRegMap(@Self)^.clr := $00000010;
  16405. end;
  16406. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  16407. begin
  16408. if thebits = 0 then
  16409. pTDefRegMap(@Self)^.clr := $00000010
  16410. else
  16411. pTDefRegMap(@Self)^.&set := $00000010;
  16412. end;
  16413. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  16414. begin
  16415. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16416. end;
  16417. procedure TWDT_WDTCON.setSWDTPS3; inline;
  16418. begin
  16419. pTDefRegMap(@Self)^.&set := $00000020;
  16420. end;
  16421. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  16422. begin
  16423. pTDefRegMap(@Self)^.clr := $00000020;
  16424. end;
  16425. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  16426. begin
  16427. if thebits = 0 then
  16428. pTDefRegMap(@Self)^.clr := $00000020
  16429. else
  16430. pTDefRegMap(@Self)^.&set := $00000020;
  16431. end;
  16432. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  16433. begin
  16434. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16435. end;
  16436. procedure TWDT_WDTCON.setSWDTPS4; inline;
  16437. begin
  16438. pTDefRegMap(@Self)^.&set := $00000040;
  16439. end;
  16440. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  16441. begin
  16442. pTDefRegMap(@Self)^.clr := $00000040;
  16443. end;
  16444. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  16445. begin
  16446. if thebits = 0 then
  16447. pTDefRegMap(@Self)^.clr := $00000040
  16448. else
  16449. pTDefRegMap(@Self)^.&set := $00000040;
  16450. end;
  16451. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  16452. begin
  16453. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16454. end;
  16455. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  16456. begin
  16457. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16458. end;
  16459. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  16460. begin
  16461. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16462. end;
  16463. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  16464. begin
  16465. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  16466. end;
  16467. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  16468. begin
  16469. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  16470. end;
  16471. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  16472. begin
  16473. pTDefRegMap(@Self)^.val := thebits;
  16474. end;
  16475. function TWDT_WDTCON.getw : TBits_32; inline;
  16476. begin
  16477. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16478. end;
  16479. procedure TRTCC_RTCCON.setRTCOE; inline;
  16480. begin
  16481. pTDefRegMap(@Self)^.&set := $00000001;
  16482. end;
  16483. procedure TRTCC_RTCCON.clearRTCOE; inline;
  16484. begin
  16485. pTDefRegMap(@Self)^.clr := $00000001;
  16486. end;
  16487. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  16488. begin
  16489. if thebits = 0 then
  16490. pTDefRegMap(@Self)^.clr := $00000001
  16491. else
  16492. pTDefRegMap(@Self)^.&set := $00000001;
  16493. end;
  16494. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  16495. begin
  16496. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16497. end;
  16498. procedure TRTCC_RTCCON.setHALFSEC; inline;
  16499. begin
  16500. pTDefRegMap(@Self)^.&set := $00000002;
  16501. end;
  16502. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  16503. begin
  16504. pTDefRegMap(@Self)^.clr := $00000002;
  16505. end;
  16506. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  16507. begin
  16508. if thebits = 0 then
  16509. pTDefRegMap(@Self)^.clr := $00000002
  16510. else
  16511. pTDefRegMap(@Self)^.&set := $00000002;
  16512. end;
  16513. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  16514. begin
  16515. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16516. end;
  16517. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  16518. begin
  16519. pTDefRegMap(@Self)^.&set := $00000004;
  16520. end;
  16521. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  16522. begin
  16523. pTDefRegMap(@Self)^.clr := $00000004;
  16524. end;
  16525. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  16526. begin
  16527. if thebits = 0 then
  16528. pTDefRegMap(@Self)^.clr := $00000004
  16529. else
  16530. pTDefRegMap(@Self)^.&set := $00000004;
  16531. end;
  16532. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  16533. begin
  16534. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16535. end;
  16536. procedure TRTCC_RTCCON.setRTCWREN; inline;
  16537. begin
  16538. pTDefRegMap(@Self)^.&set := $00000008;
  16539. end;
  16540. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  16541. begin
  16542. pTDefRegMap(@Self)^.clr := $00000008;
  16543. end;
  16544. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  16545. begin
  16546. if thebits = 0 then
  16547. pTDefRegMap(@Self)^.clr := $00000008
  16548. else
  16549. pTDefRegMap(@Self)^.&set := $00000008;
  16550. end;
  16551. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  16552. begin
  16553. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16554. end;
  16555. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  16556. begin
  16557. pTDefRegMap(@Self)^.&set := $00000040;
  16558. end;
  16559. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.clr := $00000040;
  16562. end;
  16563. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  16564. begin
  16565. if thebits = 0 then
  16566. pTDefRegMap(@Self)^.clr := $00000040
  16567. else
  16568. pTDefRegMap(@Self)^.&set := $00000040;
  16569. end;
  16570. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  16571. begin
  16572. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16573. end;
  16574. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  16575. begin
  16576. pTDefRegMap(@Self)^.&set := $00000080;
  16577. end;
  16578. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  16579. begin
  16580. pTDefRegMap(@Self)^.clr := $00000080;
  16581. end;
  16582. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  16583. begin
  16584. if thebits = 0 then
  16585. pTDefRegMap(@Self)^.clr := $00000080
  16586. else
  16587. pTDefRegMap(@Self)^.&set := $00000080;
  16588. end;
  16589. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  16590. begin
  16591. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16592. end;
  16593. procedure TRTCC_RTCCON.setSIDL; inline;
  16594. begin
  16595. pTDefRegMap(@Self)^.&set := $00002000;
  16596. end;
  16597. procedure TRTCC_RTCCON.clearSIDL; inline;
  16598. begin
  16599. pTDefRegMap(@Self)^.clr := $00002000;
  16600. end;
  16601. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  16602. begin
  16603. if thebits = 0 then
  16604. pTDefRegMap(@Self)^.clr := $00002000
  16605. else
  16606. pTDefRegMap(@Self)^.&set := $00002000;
  16607. end;
  16608. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  16609. begin
  16610. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16611. end;
  16612. procedure TRTCC_RTCCON.setON; inline;
  16613. begin
  16614. pTDefRegMap(@Self)^.&set := $00008000;
  16615. end;
  16616. procedure TRTCC_RTCCON.clearON; inline;
  16617. begin
  16618. pTDefRegMap(@Self)^.clr := $00008000;
  16619. end;
  16620. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  16621. begin
  16622. if thebits = 0 then
  16623. pTDefRegMap(@Self)^.clr := $00008000
  16624. else
  16625. pTDefRegMap(@Self)^.&set := $00008000;
  16626. end;
  16627. function TRTCC_RTCCON.getON : TBits_1; inline;
  16628. begin
  16629. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16630. end;
  16631. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  16632. begin
  16633. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  16634. end;
  16635. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  16636. begin
  16637. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  16638. end;
  16639. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  16640. begin
  16641. pTDefRegMap(@Self)^.val := thebits;
  16642. end;
  16643. function TRTCC_RTCCON.getw : TBits_32; inline;
  16644. begin
  16645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16646. end;
  16647. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  16648. begin
  16649. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  16650. end;
  16651. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  16652. begin
  16653. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  16654. end;
  16655. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  16656. begin
  16657. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16658. end;
  16659. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  16660. begin
  16661. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16662. end;
  16663. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  16664. begin
  16665. pTDefRegMap(@Self)^.&set := $00001000;
  16666. end;
  16667. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  16668. begin
  16669. pTDefRegMap(@Self)^.clr := $00001000;
  16670. end;
  16671. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  16672. begin
  16673. if thebits = 0 then
  16674. pTDefRegMap(@Self)^.clr := $00001000
  16675. else
  16676. pTDefRegMap(@Self)^.&set := $00001000;
  16677. end;
  16678. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  16679. begin
  16680. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16681. end;
  16682. procedure TRTCC_RTCALRM.setPIV; inline;
  16683. begin
  16684. pTDefRegMap(@Self)^.&set := $00002000;
  16685. end;
  16686. procedure TRTCC_RTCALRM.clearPIV; inline;
  16687. begin
  16688. pTDefRegMap(@Self)^.clr := $00002000;
  16689. end;
  16690. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  16691. begin
  16692. if thebits = 0 then
  16693. pTDefRegMap(@Self)^.clr := $00002000
  16694. else
  16695. pTDefRegMap(@Self)^.&set := $00002000;
  16696. end;
  16697. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  16698. begin
  16699. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16700. end;
  16701. procedure TRTCC_RTCALRM.setCHIME; inline;
  16702. begin
  16703. pTDefRegMap(@Self)^.&set := $00004000;
  16704. end;
  16705. procedure TRTCC_RTCALRM.clearCHIME; inline;
  16706. begin
  16707. pTDefRegMap(@Self)^.clr := $00004000;
  16708. end;
  16709. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  16710. begin
  16711. if thebits = 0 then
  16712. pTDefRegMap(@Self)^.clr := $00004000
  16713. else
  16714. pTDefRegMap(@Self)^.&set := $00004000;
  16715. end;
  16716. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  16717. begin
  16718. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16719. end;
  16720. procedure TRTCC_RTCALRM.setALRMEN; inline;
  16721. begin
  16722. pTDefRegMap(@Self)^.&set := $00008000;
  16723. end;
  16724. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  16725. begin
  16726. pTDefRegMap(@Self)^.clr := $00008000;
  16727. end;
  16728. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  16729. begin
  16730. if thebits = 0 then
  16731. pTDefRegMap(@Self)^.clr := $00008000
  16732. else
  16733. pTDefRegMap(@Self)^.&set := $00008000;
  16734. end;
  16735. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  16736. begin
  16737. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16738. end;
  16739. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  16740. begin
  16741. pTDefRegMap(@Self)^.val := thebits;
  16742. end;
  16743. function TRTCC_RTCALRM.getw : TBits_32; inline;
  16744. begin
  16745. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16746. end;
  16747. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  16748. begin
  16749. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16750. end;
  16751. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  16752. begin
  16753. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16754. end;
  16755. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  16756. begin
  16757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16758. end;
  16759. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  16760. begin
  16761. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16762. end;
  16763. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  16764. begin
  16765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16766. end;
  16767. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  16768. begin
  16769. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16770. end;
  16771. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  16772. begin
  16773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16774. end;
  16775. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  16776. begin
  16777. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16778. end;
  16779. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  16780. begin
  16781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16782. end;
  16783. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  16784. begin
  16785. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16786. end;
  16787. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  16788. begin
  16789. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16790. end;
  16791. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  16792. begin
  16793. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16794. end;
  16795. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  16796. begin
  16797. pTDefRegMap(@Self)^.val := thebits;
  16798. end;
  16799. function TRTCC_RTCTIME.getw : TBits_32; inline;
  16800. begin
  16801. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16802. end;
  16803. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  16804. begin
  16805. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16806. end;
  16807. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  16808. begin
  16809. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16810. end;
  16811. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  16812. begin
  16813. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16814. end;
  16815. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  16816. begin
  16817. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16818. end;
  16819. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  16820. begin
  16821. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16822. end;
  16823. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  16824. begin
  16825. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16826. end;
  16827. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  16828. begin
  16829. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16830. end;
  16831. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  16832. begin
  16833. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16834. end;
  16835. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  16836. begin
  16837. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16838. end;
  16839. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  16840. begin
  16841. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16842. end;
  16843. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  16844. begin
  16845. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16846. end;
  16847. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  16848. begin
  16849. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16850. end;
  16851. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  16852. begin
  16853. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16854. end;
  16855. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  16856. begin
  16857. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16858. end;
  16859. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  16860. begin
  16861. pTDefRegMap(@Self)^.val := thebits;
  16862. end;
  16863. function TRTCC_RTCDATE.getw : TBits_32; inline;
  16864. begin
  16865. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16866. end;
  16867. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  16868. begin
  16869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16870. end;
  16871. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  16872. begin
  16873. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16874. end;
  16875. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  16876. begin
  16877. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16878. end;
  16879. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  16880. begin
  16881. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16882. end;
  16883. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  16884. begin
  16885. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16886. end;
  16887. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  16888. begin
  16889. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16890. end;
  16891. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  16892. begin
  16893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16894. end;
  16895. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  16896. begin
  16897. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16898. end;
  16899. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  16900. begin
  16901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  16902. end;
  16903. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  16904. begin
  16905. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  16906. end;
  16907. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  16908. begin
  16909. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  16910. end;
  16911. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  16912. begin
  16913. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  16914. end;
  16915. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  16916. begin
  16917. pTDefRegMap(@Self)^.val := thebits;
  16918. end;
  16919. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  16920. begin
  16921. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16922. end;
  16923. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  16924. begin
  16925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  16926. end;
  16927. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  16928. begin
  16929. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  16930. end;
  16931. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  16932. begin
  16933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  16934. end;
  16935. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  16936. begin
  16937. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  16938. end;
  16939. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  16940. begin
  16941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  16942. end;
  16943. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  16944. begin
  16945. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  16946. end;
  16947. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  16948. begin
  16949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  16950. end;
  16951. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  16952. begin
  16953. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  16954. end;
  16955. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  16956. begin
  16957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  16958. end;
  16959. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  16960. begin
  16961. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  16962. end;
  16963. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  16964. begin
  16965. pTDefRegMap(@Self)^.val := thebits;
  16966. end;
  16967. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  16968. begin
  16969. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16970. end;
  16971. procedure TTMR1_T1CON.setTCS; inline;
  16972. begin
  16973. pTDefRegMap(@Self)^.&set := $00000002;
  16974. end;
  16975. procedure TTMR1_T1CON.clearTCS; inline;
  16976. begin
  16977. pTDefRegMap(@Self)^.clr := $00000002;
  16978. end;
  16979. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  16980. begin
  16981. if thebits = 0 then
  16982. pTDefRegMap(@Self)^.clr := $00000002
  16983. else
  16984. pTDefRegMap(@Self)^.&set := $00000002;
  16985. end;
  16986. function TTMR1_T1CON.getTCS : TBits_1; inline;
  16987. begin
  16988. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16989. end;
  16990. procedure TTMR1_T1CON.setTSYNC; inline;
  16991. begin
  16992. pTDefRegMap(@Self)^.&set := $00000004;
  16993. end;
  16994. procedure TTMR1_T1CON.clearTSYNC; inline;
  16995. begin
  16996. pTDefRegMap(@Self)^.clr := $00000004;
  16997. end;
  16998. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  16999. begin
  17000. if thebits = 0 then
  17001. pTDefRegMap(@Self)^.clr := $00000004
  17002. else
  17003. pTDefRegMap(@Self)^.&set := $00000004;
  17004. end;
  17005. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  17006. begin
  17007. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  17008. end;
  17009. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  17010. begin
  17011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  17012. end;
  17013. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  17014. begin
  17015. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  17016. end;
  17017. procedure TTMR1_T1CON.setTGATE; inline;
  17018. begin
  17019. pTDefRegMap(@Self)^.&set := $00000080;
  17020. end;
  17021. procedure TTMR1_T1CON.clearTGATE; inline;
  17022. begin
  17023. pTDefRegMap(@Self)^.clr := $00000080;
  17024. end;
  17025. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  17026. begin
  17027. if thebits = 0 then
  17028. pTDefRegMap(@Self)^.clr := $00000080
  17029. else
  17030. pTDefRegMap(@Self)^.&set := $00000080;
  17031. end;
  17032. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  17033. begin
  17034. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17035. end;
  17036. procedure TTMR1_T1CON.setTWIP; inline;
  17037. begin
  17038. pTDefRegMap(@Self)^.&set := $00000800;
  17039. end;
  17040. procedure TTMR1_T1CON.clearTWIP; inline;
  17041. begin
  17042. pTDefRegMap(@Self)^.clr := $00000800;
  17043. end;
  17044. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  17045. begin
  17046. if thebits = 0 then
  17047. pTDefRegMap(@Self)^.clr := $00000800
  17048. else
  17049. pTDefRegMap(@Self)^.&set := $00000800;
  17050. end;
  17051. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  17052. begin
  17053. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17054. end;
  17055. procedure TTMR1_T1CON.setTWDIS; inline;
  17056. begin
  17057. pTDefRegMap(@Self)^.&set := $00001000;
  17058. end;
  17059. procedure TTMR1_T1CON.clearTWDIS; inline;
  17060. begin
  17061. pTDefRegMap(@Self)^.clr := $00001000;
  17062. end;
  17063. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  17064. begin
  17065. if thebits = 0 then
  17066. pTDefRegMap(@Self)^.clr := $00001000
  17067. else
  17068. pTDefRegMap(@Self)^.&set := $00001000;
  17069. end;
  17070. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  17071. begin
  17072. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17073. end;
  17074. procedure TTMR1_T1CON.setSIDL; inline;
  17075. begin
  17076. pTDefRegMap(@Self)^.&set := $00002000;
  17077. end;
  17078. procedure TTMR1_T1CON.clearSIDL; inline;
  17079. begin
  17080. pTDefRegMap(@Self)^.clr := $00002000;
  17081. end;
  17082. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  17083. begin
  17084. if thebits = 0 then
  17085. pTDefRegMap(@Self)^.clr := $00002000
  17086. else
  17087. pTDefRegMap(@Self)^.&set := $00002000;
  17088. end;
  17089. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  17090. begin
  17091. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17092. end;
  17093. procedure TTMR1_T1CON.setON; inline;
  17094. begin
  17095. pTDefRegMap(@Self)^.&set := $00008000;
  17096. end;
  17097. procedure TTMR1_T1CON.clearON; inline;
  17098. begin
  17099. pTDefRegMap(@Self)^.clr := $00008000;
  17100. end;
  17101. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  17102. begin
  17103. if thebits = 0 then
  17104. pTDefRegMap(@Self)^.clr := $00008000
  17105. else
  17106. pTDefRegMap(@Self)^.&set := $00008000;
  17107. end;
  17108. function TTMR1_T1CON.getON : TBits_1; inline;
  17109. begin
  17110. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17111. end;
  17112. procedure TTMR1_T1CON.setTCKPS0; inline;
  17113. begin
  17114. pTDefRegMap(@Self)^.&set := $00000010;
  17115. end;
  17116. procedure TTMR1_T1CON.clearTCKPS0; inline;
  17117. begin
  17118. pTDefRegMap(@Self)^.clr := $00000010;
  17119. end;
  17120. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  17121. begin
  17122. if thebits = 0 then
  17123. pTDefRegMap(@Self)^.clr := $00000010
  17124. else
  17125. pTDefRegMap(@Self)^.&set := $00000010;
  17126. end;
  17127. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  17128. begin
  17129. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17130. end;
  17131. procedure TTMR1_T1CON.setTCKPS1; inline;
  17132. begin
  17133. pTDefRegMap(@Self)^.&set := $00000020;
  17134. end;
  17135. procedure TTMR1_T1CON.clearTCKPS1; inline;
  17136. begin
  17137. pTDefRegMap(@Self)^.clr := $00000020;
  17138. end;
  17139. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  17140. begin
  17141. if thebits = 0 then
  17142. pTDefRegMap(@Self)^.clr := $00000020
  17143. else
  17144. pTDefRegMap(@Self)^.&set := $00000020;
  17145. end;
  17146. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  17147. begin
  17148. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17149. end;
  17150. procedure TTMR1_T1CON.setTSIDL; inline;
  17151. begin
  17152. pTDefRegMap(@Self)^.&set := $00002000;
  17153. end;
  17154. procedure TTMR1_T1CON.clearTSIDL; inline;
  17155. begin
  17156. pTDefRegMap(@Self)^.clr := $00002000;
  17157. end;
  17158. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  17159. begin
  17160. if thebits = 0 then
  17161. pTDefRegMap(@Self)^.clr := $00002000
  17162. else
  17163. pTDefRegMap(@Self)^.&set := $00002000;
  17164. end;
  17165. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  17166. begin
  17167. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17168. end;
  17169. procedure TTMR1_T1CON.setTON; inline;
  17170. begin
  17171. pTDefRegMap(@Self)^.&set := $00008000;
  17172. end;
  17173. procedure TTMR1_T1CON.clearTON; inline;
  17174. begin
  17175. pTDefRegMap(@Self)^.clr := $00008000;
  17176. end;
  17177. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  17178. begin
  17179. if thebits = 0 then
  17180. pTDefRegMap(@Self)^.clr := $00008000
  17181. else
  17182. pTDefRegMap(@Self)^.&set := $00008000;
  17183. end;
  17184. function TTMR1_T1CON.getTON : TBits_1; inline;
  17185. begin
  17186. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17187. end;
  17188. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  17189. begin
  17190. pTDefRegMap(@Self)^.val := thebits;
  17191. end;
  17192. function TTMR1_T1CON.getw : TBits_32; inline;
  17193. begin
  17194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17195. end;
  17196. procedure TTMR2_T2CON.setTCS; inline;
  17197. begin
  17198. pTDefRegMap(@Self)^.&set := $00000002;
  17199. end;
  17200. procedure TTMR2_T2CON.clearTCS; inline;
  17201. begin
  17202. pTDefRegMap(@Self)^.clr := $00000002;
  17203. end;
  17204. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  17205. begin
  17206. if thebits = 0 then
  17207. pTDefRegMap(@Self)^.clr := $00000002
  17208. else
  17209. pTDefRegMap(@Self)^.&set := $00000002;
  17210. end;
  17211. function TTMR2_T2CON.getTCS : TBits_1; inline;
  17212. begin
  17213. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17214. end;
  17215. procedure TTMR2_T2CON.setT32; inline;
  17216. begin
  17217. pTDefRegMap(@Self)^.&set := $00000008;
  17218. end;
  17219. procedure TTMR2_T2CON.clearT32; inline;
  17220. begin
  17221. pTDefRegMap(@Self)^.clr := $00000008;
  17222. end;
  17223. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  17224. begin
  17225. if thebits = 0 then
  17226. pTDefRegMap(@Self)^.clr := $00000008
  17227. else
  17228. pTDefRegMap(@Self)^.&set := $00000008;
  17229. end;
  17230. function TTMR2_T2CON.getT32 : TBits_1; inline;
  17231. begin
  17232. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17233. end;
  17234. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  17235. begin
  17236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17237. end;
  17238. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  17239. begin
  17240. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17241. end;
  17242. procedure TTMR2_T2CON.setTGATE; inline;
  17243. begin
  17244. pTDefRegMap(@Self)^.&set := $00000080;
  17245. end;
  17246. procedure TTMR2_T2CON.clearTGATE; inline;
  17247. begin
  17248. pTDefRegMap(@Self)^.clr := $00000080;
  17249. end;
  17250. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  17251. begin
  17252. if thebits = 0 then
  17253. pTDefRegMap(@Self)^.clr := $00000080
  17254. else
  17255. pTDefRegMap(@Self)^.&set := $00000080;
  17256. end;
  17257. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  17258. begin
  17259. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17260. end;
  17261. procedure TTMR2_T2CON.setSIDL; inline;
  17262. begin
  17263. pTDefRegMap(@Self)^.&set := $00002000;
  17264. end;
  17265. procedure TTMR2_T2CON.clearSIDL; inline;
  17266. begin
  17267. pTDefRegMap(@Self)^.clr := $00002000;
  17268. end;
  17269. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  17270. begin
  17271. if thebits = 0 then
  17272. pTDefRegMap(@Self)^.clr := $00002000
  17273. else
  17274. pTDefRegMap(@Self)^.&set := $00002000;
  17275. end;
  17276. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  17277. begin
  17278. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17279. end;
  17280. procedure TTMR2_T2CON.setON; inline;
  17281. begin
  17282. pTDefRegMap(@Self)^.&set := $00008000;
  17283. end;
  17284. procedure TTMR2_T2CON.clearON; inline;
  17285. begin
  17286. pTDefRegMap(@Self)^.clr := $00008000;
  17287. end;
  17288. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  17289. begin
  17290. if thebits = 0 then
  17291. pTDefRegMap(@Self)^.clr := $00008000
  17292. else
  17293. pTDefRegMap(@Self)^.&set := $00008000;
  17294. end;
  17295. function TTMR2_T2CON.getON : TBits_1; inline;
  17296. begin
  17297. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17298. end;
  17299. procedure TTMR2_T2CON.setTCKPS0; inline;
  17300. begin
  17301. pTDefRegMap(@Self)^.&set := $00000010;
  17302. end;
  17303. procedure TTMR2_T2CON.clearTCKPS0; inline;
  17304. begin
  17305. pTDefRegMap(@Self)^.clr := $00000010;
  17306. end;
  17307. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  17308. begin
  17309. if thebits = 0 then
  17310. pTDefRegMap(@Self)^.clr := $00000010
  17311. else
  17312. pTDefRegMap(@Self)^.&set := $00000010;
  17313. end;
  17314. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  17315. begin
  17316. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17317. end;
  17318. procedure TTMR2_T2CON.setTCKPS1; inline;
  17319. begin
  17320. pTDefRegMap(@Self)^.&set := $00000020;
  17321. end;
  17322. procedure TTMR2_T2CON.clearTCKPS1; inline;
  17323. begin
  17324. pTDefRegMap(@Self)^.clr := $00000020;
  17325. end;
  17326. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  17327. begin
  17328. if thebits = 0 then
  17329. pTDefRegMap(@Self)^.clr := $00000020
  17330. else
  17331. pTDefRegMap(@Self)^.&set := $00000020;
  17332. end;
  17333. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  17334. begin
  17335. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17336. end;
  17337. procedure TTMR2_T2CON.setTCKPS2; inline;
  17338. begin
  17339. pTDefRegMap(@Self)^.&set := $00000040;
  17340. end;
  17341. procedure TTMR2_T2CON.clearTCKPS2; inline;
  17342. begin
  17343. pTDefRegMap(@Self)^.clr := $00000040;
  17344. end;
  17345. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  17346. begin
  17347. if thebits = 0 then
  17348. pTDefRegMap(@Self)^.clr := $00000040
  17349. else
  17350. pTDefRegMap(@Self)^.&set := $00000040;
  17351. end;
  17352. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  17353. begin
  17354. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17355. end;
  17356. procedure TTMR2_T2CON.setTSIDL; inline;
  17357. begin
  17358. pTDefRegMap(@Self)^.&set := $00002000;
  17359. end;
  17360. procedure TTMR2_T2CON.clearTSIDL; inline;
  17361. begin
  17362. pTDefRegMap(@Self)^.clr := $00002000;
  17363. end;
  17364. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  17365. begin
  17366. if thebits = 0 then
  17367. pTDefRegMap(@Self)^.clr := $00002000
  17368. else
  17369. pTDefRegMap(@Self)^.&set := $00002000;
  17370. end;
  17371. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  17372. begin
  17373. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17374. end;
  17375. procedure TTMR2_T2CON.setTON; inline;
  17376. begin
  17377. pTDefRegMap(@Self)^.&set := $00008000;
  17378. end;
  17379. procedure TTMR2_T2CON.clearTON; inline;
  17380. begin
  17381. pTDefRegMap(@Self)^.clr := $00008000;
  17382. end;
  17383. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  17384. begin
  17385. if thebits = 0 then
  17386. pTDefRegMap(@Self)^.clr := $00008000
  17387. else
  17388. pTDefRegMap(@Self)^.&set := $00008000;
  17389. end;
  17390. function TTMR2_T2CON.getTON : TBits_1; inline;
  17391. begin
  17392. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17393. end;
  17394. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  17395. begin
  17396. pTDefRegMap(@Self)^.val := thebits;
  17397. end;
  17398. function TTMR2_T2CON.getw : TBits_32; inline;
  17399. begin
  17400. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17401. end;
  17402. procedure TTMR3_T3CON.setTCS; inline;
  17403. begin
  17404. pTDefRegMap(@Self)^.&set := $00000002;
  17405. end;
  17406. procedure TTMR3_T3CON.clearTCS; inline;
  17407. begin
  17408. pTDefRegMap(@Self)^.clr := $00000002;
  17409. end;
  17410. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  17411. begin
  17412. if thebits = 0 then
  17413. pTDefRegMap(@Self)^.clr := $00000002
  17414. else
  17415. pTDefRegMap(@Self)^.&set := $00000002;
  17416. end;
  17417. function TTMR3_T3CON.getTCS : TBits_1; inline;
  17418. begin
  17419. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17420. end;
  17421. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  17422. begin
  17423. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17424. end;
  17425. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  17426. begin
  17427. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17428. end;
  17429. procedure TTMR3_T3CON.setTGATE; inline;
  17430. begin
  17431. pTDefRegMap(@Self)^.&set := $00000080;
  17432. end;
  17433. procedure TTMR3_T3CON.clearTGATE; inline;
  17434. begin
  17435. pTDefRegMap(@Self)^.clr := $00000080;
  17436. end;
  17437. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  17438. begin
  17439. if thebits = 0 then
  17440. pTDefRegMap(@Self)^.clr := $00000080
  17441. else
  17442. pTDefRegMap(@Self)^.&set := $00000080;
  17443. end;
  17444. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  17445. begin
  17446. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17447. end;
  17448. procedure TTMR3_T3CON.setSIDL; inline;
  17449. begin
  17450. pTDefRegMap(@Self)^.&set := $00002000;
  17451. end;
  17452. procedure TTMR3_T3CON.clearSIDL; inline;
  17453. begin
  17454. pTDefRegMap(@Self)^.clr := $00002000;
  17455. end;
  17456. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  17457. begin
  17458. if thebits = 0 then
  17459. pTDefRegMap(@Self)^.clr := $00002000
  17460. else
  17461. pTDefRegMap(@Self)^.&set := $00002000;
  17462. end;
  17463. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  17464. begin
  17465. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17466. end;
  17467. procedure TTMR3_T3CON.setON; inline;
  17468. begin
  17469. pTDefRegMap(@Self)^.&set := $00008000;
  17470. end;
  17471. procedure TTMR3_T3CON.clearON; inline;
  17472. begin
  17473. pTDefRegMap(@Self)^.clr := $00008000;
  17474. end;
  17475. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  17476. begin
  17477. if thebits = 0 then
  17478. pTDefRegMap(@Self)^.clr := $00008000
  17479. else
  17480. pTDefRegMap(@Self)^.&set := $00008000;
  17481. end;
  17482. function TTMR3_T3CON.getON : TBits_1; inline;
  17483. begin
  17484. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17485. end;
  17486. procedure TTMR3_T3CON.setTCKPS0; inline;
  17487. begin
  17488. pTDefRegMap(@Self)^.&set := $00000010;
  17489. end;
  17490. procedure TTMR3_T3CON.clearTCKPS0; inline;
  17491. begin
  17492. pTDefRegMap(@Self)^.clr := $00000010;
  17493. end;
  17494. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  17495. begin
  17496. if thebits = 0 then
  17497. pTDefRegMap(@Self)^.clr := $00000010
  17498. else
  17499. pTDefRegMap(@Self)^.&set := $00000010;
  17500. end;
  17501. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  17502. begin
  17503. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17504. end;
  17505. procedure TTMR3_T3CON.setTCKPS1; inline;
  17506. begin
  17507. pTDefRegMap(@Self)^.&set := $00000020;
  17508. end;
  17509. procedure TTMR3_T3CON.clearTCKPS1; inline;
  17510. begin
  17511. pTDefRegMap(@Self)^.clr := $00000020;
  17512. end;
  17513. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  17514. begin
  17515. if thebits = 0 then
  17516. pTDefRegMap(@Self)^.clr := $00000020
  17517. else
  17518. pTDefRegMap(@Self)^.&set := $00000020;
  17519. end;
  17520. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  17521. begin
  17522. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17523. end;
  17524. procedure TTMR3_T3CON.setTCKPS2; inline;
  17525. begin
  17526. pTDefRegMap(@Self)^.&set := $00000040;
  17527. end;
  17528. procedure TTMR3_T3CON.clearTCKPS2; inline;
  17529. begin
  17530. pTDefRegMap(@Self)^.clr := $00000040;
  17531. end;
  17532. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  17533. begin
  17534. if thebits = 0 then
  17535. pTDefRegMap(@Self)^.clr := $00000040
  17536. else
  17537. pTDefRegMap(@Self)^.&set := $00000040;
  17538. end;
  17539. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  17540. begin
  17541. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17542. end;
  17543. procedure TTMR3_T3CON.setTSIDL; inline;
  17544. begin
  17545. pTDefRegMap(@Self)^.&set := $00002000;
  17546. end;
  17547. procedure TTMR3_T3CON.clearTSIDL; inline;
  17548. begin
  17549. pTDefRegMap(@Self)^.clr := $00002000;
  17550. end;
  17551. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  17552. begin
  17553. if thebits = 0 then
  17554. pTDefRegMap(@Self)^.clr := $00002000
  17555. else
  17556. pTDefRegMap(@Self)^.&set := $00002000;
  17557. end;
  17558. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  17559. begin
  17560. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17561. end;
  17562. procedure TTMR3_T3CON.setTON; inline;
  17563. begin
  17564. pTDefRegMap(@Self)^.&set := $00008000;
  17565. end;
  17566. procedure TTMR3_T3CON.clearTON; inline;
  17567. begin
  17568. pTDefRegMap(@Self)^.clr := $00008000;
  17569. end;
  17570. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  17571. begin
  17572. if thebits = 0 then
  17573. pTDefRegMap(@Self)^.clr := $00008000
  17574. else
  17575. pTDefRegMap(@Self)^.&set := $00008000;
  17576. end;
  17577. function TTMR3_T3CON.getTON : TBits_1; inline;
  17578. begin
  17579. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17580. end;
  17581. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  17582. begin
  17583. pTDefRegMap(@Self)^.val := thebits;
  17584. end;
  17585. function TTMR3_T3CON.getw : TBits_32; inline;
  17586. begin
  17587. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17588. end;
  17589. procedure TTMR4_T4CON.setTCS; inline;
  17590. begin
  17591. pTDefRegMap(@Self)^.&set := $00000002;
  17592. end;
  17593. procedure TTMR4_T4CON.clearTCS; inline;
  17594. begin
  17595. pTDefRegMap(@Self)^.clr := $00000002;
  17596. end;
  17597. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  17598. begin
  17599. if thebits = 0 then
  17600. pTDefRegMap(@Self)^.clr := $00000002
  17601. else
  17602. pTDefRegMap(@Self)^.&set := $00000002;
  17603. end;
  17604. function TTMR4_T4CON.getTCS : TBits_1; inline;
  17605. begin
  17606. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17607. end;
  17608. procedure TTMR4_T4CON.setT32; inline;
  17609. begin
  17610. pTDefRegMap(@Self)^.&set := $00000008;
  17611. end;
  17612. procedure TTMR4_T4CON.clearT32; inline;
  17613. begin
  17614. pTDefRegMap(@Self)^.clr := $00000008;
  17615. end;
  17616. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  17617. begin
  17618. if thebits = 0 then
  17619. pTDefRegMap(@Self)^.clr := $00000008
  17620. else
  17621. pTDefRegMap(@Self)^.&set := $00000008;
  17622. end;
  17623. function TTMR4_T4CON.getT32 : TBits_1; inline;
  17624. begin
  17625. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17626. end;
  17627. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  17628. begin
  17629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17630. end;
  17631. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  17632. begin
  17633. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17634. end;
  17635. procedure TTMR4_T4CON.setTGATE; inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.&set := $00000080;
  17638. end;
  17639. procedure TTMR4_T4CON.clearTGATE; inline;
  17640. begin
  17641. pTDefRegMap(@Self)^.clr := $00000080;
  17642. end;
  17643. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  17644. begin
  17645. if thebits = 0 then
  17646. pTDefRegMap(@Self)^.clr := $00000080
  17647. else
  17648. pTDefRegMap(@Self)^.&set := $00000080;
  17649. end;
  17650. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  17651. begin
  17652. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17653. end;
  17654. procedure TTMR4_T4CON.setSIDL; inline;
  17655. begin
  17656. pTDefRegMap(@Self)^.&set := $00002000;
  17657. end;
  17658. procedure TTMR4_T4CON.clearSIDL; inline;
  17659. begin
  17660. pTDefRegMap(@Self)^.clr := $00002000;
  17661. end;
  17662. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  17663. begin
  17664. if thebits = 0 then
  17665. pTDefRegMap(@Self)^.clr := $00002000
  17666. else
  17667. pTDefRegMap(@Self)^.&set := $00002000;
  17668. end;
  17669. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  17670. begin
  17671. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17672. end;
  17673. procedure TTMR4_T4CON.setON; inline;
  17674. begin
  17675. pTDefRegMap(@Self)^.&set := $00008000;
  17676. end;
  17677. procedure TTMR4_T4CON.clearON; inline;
  17678. begin
  17679. pTDefRegMap(@Self)^.clr := $00008000;
  17680. end;
  17681. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  17682. begin
  17683. if thebits = 0 then
  17684. pTDefRegMap(@Self)^.clr := $00008000
  17685. else
  17686. pTDefRegMap(@Self)^.&set := $00008000;
  17687. end;
  17688. function TTMR4_T4CON.getON : TBits_1; inline;
  17689. begin
  17690. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17691. end;
  17692. procedure TTMR4_T4CON.setTCKPS0; inline;
  17693. begin
  17694. pTDefRegMap(@Self)^.&set := $00000010;
  17695. end;
  17696. procedure TTMR4_T4CON.clearTCKPS0; inline;
  17697. begin
  17698. pTDefRegMap(@Self)^.clr := $00000010;
  17699. end;
  17700. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  17701. begin
  17702. if thebits = 0 then
  17703. pTDefRegMap(@Self)^.clr := $00000010
  17704. else
  17705. pTDefRegMap(@Self)^.&set := $00000010;
  17706. end;
  17707. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  17708. begin
  17709. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17710. end;
  17711. procedure TTMR4_T4CON.setTCKPS1; inline;
  17712. begin
  17713. pTDefRegMap(@Self)^.&set := $00000020;
  17714. end;
  17715. procedure TTMR4_T4CON.clearTCKPS1; inline;
  17716. begin
  17717. pTDefRegMap(@Self)^.clr := $00000020;
  17718. end;
  17719. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  17720. begin
  17721. if thebits = 0 then
  17722. pTDefRegMap(@Self)^.clr := $00000020
  17723. else
  17724. pTDefRegMap(@Self)^.&set := $00000020;
  17725. end;
  17726. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  17727. begin
  17728. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17729. end;
  17730. procedure TTMR4_T4CON.setTCKPS2; inline;
  17731. begin
  17732. pTDefRegMap(@Self)^.&set := $00000040;
  17733. end;
  17734. procedure TTMR4_T4CON.clearTCKPS2; inline;
  17735. begin
  17736. pTDefRegMap(@Self)^.clr := $00000040;
  17737. end;
  17738. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  17739. begin
  17740. if thebits = 0 then
  17741. pTDefRegMap(@Self)^.clr := $00000040
  17742. else
  17743. pTDefRegMap(@Self)^.&set := $00000040;
  17744. end;
  17745. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  17746. begin
  17747. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17748. end;
  17749. procedure TTMR4_T4CON.setTSIDL; inline;
  17750. begin
  17751. pTDefRegMap(@Self)^.&set := $00002000;
  17752. end;
  17753. procedure TTMR4_T4CON.clearTSIDL; inline;
  17754. begin
  17755. pTDefRegMap(@Self)^.clr := $00002000;
  17756. end;
  17757. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  17758. begin
  17759. if thebits = 0 then
  17760. pTDefRegMap(@Self)^.clr := $00002000
  17761. else
  17762. pTDefRegMap(@Self)^.&set := $00002000;
  17763. end;
  17764. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  17765. begin
  17766. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17767. end;
  17768. procedure TTMR4_T4CON.setTON; inline;
  17769. begin
  17770. pTDefRegMap(@Self)^.&set := $00008000;
  17771. end;
  17772. procedure TTMR4_T4CON.clearTON; inline;
  17773. begin
  17774. pTDefRegMap(@Self)^.clr := $00008000;
  17775. end;
  17776. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  17777. begin
  17778. if thebits = 0 then
  17779. pTDefRegMap(@Self)^.clr := $00008000
  17780. else
  17781. pTDefRegMap(@Self)^.&set := $00008000;
  17782. end;
  17783. function TTMR4_T4CON.getTON : TBits_1; inline;
  17784. begin
  17785. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17786. end;
  17787. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  17788. begin
  17789. pTDefRegMap(@Self)^.val := thebits;
  17790. end;
  17791. function TTMR4_T4CON.getw : TBits_32; inline;
  17792. begin
  17793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17794. end;
  17795. procedure TTMR5_T5CON.setTCS; inline;
  17796. begin
  17797. pTDefRegMap(@Self)^.&set := $00000002;
  17798. end;
  17799. procedure TTMR5_T5CON.clearTCS; inline;
  17800. begin
  17801. pTDefRegMap(@Self)^.clr := $00000002;
  17802. end;
  17803. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  17804. begin
  17805. if thebits = 0 then
  17806. pTDefRegMap(@Self)^.clr := $00000002
  17807. else
  17808. pTDefRegMap(@Self)^.&set := $00000002;
  17809. end;
  17810. function TTMR5_T5CON.getTCS : TBits_1; inline;
  17811. begin
  17812. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17813. end;
  17814. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  17815. begin
  17816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  17817. end;
  17818. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  17819. begin
  17820. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  17821. end;
  17822. procedure TTMR5_T5CON.setTGATE; inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.&set := $00000080;
  17825. end;
  17826. procedure TTMR5_T5CON.clearTGATE; inline;
  17827. begin
  17828. pTDefRegMap(@Self)^.clr := $00000080;
  17829. end;
  17830. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  17831. begin
  17832. if thebits = 0 then
  17833. pTDefRegMap(@Self)^.clr := $00000080
  17834. else
  17835. pTDefRegMap(@Self)^.&set := $00000080;
  17836. end;
  17837. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  17838. begin
  17839. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17840. end;
  17841. procedure TTMR5_T5CON.setSIDL; inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.&set := $00002000;
  17844. end;
  17845. procedure TTMR5_T5CON.clearSIDL; inline;
  17846. begin
  17847. pTDefRegMap(@Self)^.clr := $00002000;
  17848. end;
  17849. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  17850. begin
  17851. if thebits = 0 then
  17852. pTDefRegMap(@Self)^.clr := $00002000
  17853. else
  17854. pTDefRegMap(@Self)^.&set := $00002000;
  17855. end;
  17856. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  17857. begin
  17858. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17859. end;
  17860. procedure TTMR5_T5CON.setON; inline;
  17861. begin
  17862. pTDefRegMap(@Self)^.&set := $00008000;
  17863. end;
  17864. procedure TTMR5_T5CON.clearON; inline;
  17865. begin
  17866. pTDefRegMap(@Self)^.clr := $00008000;
  17867. end;
  17868. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  17869. begin
  17870. if thebits = 0 then
  17871. pTDefRegMap(@Self)^.clr := $00008000
  17872. else
  17873. pTDefRegMap(@Self)^.&set := $00008000;
  17874. end;
  17875. function TTMR5_T5CON.getON : TBits_1; inline;
  17876. begin
  17877. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17878. end;
  17879. procedure TTMR5_T5CON.setTCKPS0; inline;
  17880. begin
  17881. pTDefRegMap(@Self)^.&set := $00000010;
  17882. end;
  17883. procedure TTMR5_T5CON.clearTCKPS0; inline;
  17884. begin
  17885. pTDefRegMap(@Self)^.clr := $00000010;
  17886. end;
  17887. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  17888. begin
  17889. if thebits = 0 then
  17890. pTDefRegMap(@Self)^.clr := $00000010
  17891. else
  17892. pTDefRegMap(@Self)^.&set := $00000010;
  17893. end;
  17894. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  17895. begin
  17896. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17897. end;
  17898. procedure TTMR5_T5CON.setTCKPS1; inline;
  17899. begin
  17900. pTDefRegMap(@Self)^.&set := $00000020;
  17901. end;
  17902. procedure TTMR5_T5CON.clearTCKPS1; inline;
  17903. begin
  17904. pTDefRegMap(@Self)^.clr := $00000020;
  17905. end;
  17906. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  17907. begin
  17908. if thebits = 0 then
  17909. pTDefRegMap(@Self)^.clr := $00000020
  17910. else
  17911. pTDefRegMap(@Self)^.&set := $00000020;
  17912. end;
  17913. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  17914. begin
  17915. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17916. end;
  17917. procedure TTMR5_T5CON.setTCKPS2; inline;
  17918. begin
  17919. pTDefRegMap(@Self)^.&set := $00000040;
  17920. end;
  17921. procedure TTMR5_T5CON.clearTCKPS2; inline;
  17922. begin
  17923. pTDefRegMap(@Self)^.clr := $00000040;
  17924. end;
  17925. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  17926. begin
  17927. if thebits = 0 then
  17928. pTDefRegMap(@Self)^.clr := $00000040
  17929. else
  17930. pTDefRegMap(@Self)^.&set := $00000040;
  17931. end;
  17932. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  17933. begin
  17934. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17935. end;
  17936. procedure TTMR5_T5CON.setTSIDL; inline;
  17937. begin
  17938. pTDefRegMap(@Self)^.&set := $00002000;
  17939. end;
  17940. procedure TTMR5_T5CON.clearTSIDL; inline;
  17941. begin
  17942. pTDefRegMap(@Self)^.clr := $00002000;
  17943. end;
  17944. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  17945. begin
  17946. if thebits = 0 then
  17947. pTDefRegMap(@Self)^.clr := $00002000
  17948. else
  17949. pTDefRegMap(@Self)^.&set := $00002000;
  17950. end;
  17951. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  17952. begin
  17953. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17954. end;
  17955. procedure TTMR5_T5CON.setTON; inline;
  17956. begin
  17957. pTDefRegMap(@Self)^.&set := $00008000;
  17958. end;
  17959. procedure TTMR5_T5CON.clearTON; inline;
  17960. begin
  17961. pTDefRegMap(@Self)^.clr := $00008000;
  17962. end;
  17963. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  17964. begin
  17965. if thebits = 0 then
  17966. pTDefRegMap(@Self)^.clr := $00008000
  17967. else
  17968. pTDefRegMap(@Self)^.&set := $00008000;
  17969. end;
  17970. function TTMR5_T5CON.getTON : TBits_1; inline;
  17971. begin
  17972. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17973. end;
  17974. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  17975. begin
  17976. pTDefRegMap(@Self)^.val := thebits;
  17977. end;
  17978. function TTMR5_T5CON.getw : TBits_32; inline;
  17979. begin
  17980. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17981. end;
  17982. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  17983. begin
  17984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  17985. end;
  17986. function TICAP1_IC1CON.getICM : TBits_3; inline;
  17987. begin
  17988. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  17989. end;
  17990. procedure TICAP1_IC1CON.setICBNE; inline;
  17991. begin
  17992. pTDefRegMap(@Self)^.&set := $00000008;
  17993. end;
  17994. procedure TICAP1_IC1CON.clearICBNE; inline;
  17995. begin
  17996. pTDefRegMap(@Self)^.clr := $00000008;
  17997. end;
  17998. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  17999. begin
  18000. if thebits = 0 then
  18001. pTDefRegMap(@Self)^.clr := $00000008
  18002. else
  18003. pTDefRegMap(@Self)^.&set := $00000008;
  18004. end;
  18005. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  18006. begin
  18007. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18008. end;
  18009. procedure TICAP1_IC1CON.setICOV; inline;
  18010. begin
  18011. pTDefRegMap(@Self)^.&set := $00000010;
  18012. end;
  18013. procedure TICAP1_IC1CON.clearICOV; inline;
  18014. begin
  18015. pTDefRegMap(@Self)^.clr := $00000010;
  18016. end;
  18017. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  18018. begin
  18019. if thebits = 0 then
  18020. pTDefRegMap(@Self)^.clr := $00000010
  18021. else
  18022. pTDefRegMap(@Self)^.&set := $00000010;
  18023. end;
  18024. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  18025. begin
  18026. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18027. end;
  18028. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  18029. begin
  18030. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18031. end;
  18032. function TICAP1_IC1CON.getICI : TBits_2; inline;
  18033. begin
  18034. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18035. end;
  18036. procedure TICAP1_IC1CON.setICTMR; inline;
  18037. begin
  18038. pTDefRegMap(@Self)^.&set := $00000080;
  18039. end;
  18040. procedure TICAP1_IC1CON.clearICTMR; inline;
  18041. begin
  18042. pTDefRegMap(@Self)^.clr := $00000080;
  18043. end;
  18044. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  18045. begin
  18046. if thebits = 0 then
  18047. pTDefRegMap(@Self)^.clr := $00000080
  18048. else
  18049. pTDefRegMap(@Self)^.&set := $00000080;
  18050. end;
  18051. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  18052. begin
  18053. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18054. end;
  18055. procedure TICAP1_IC1CON.setC32; inline;
  18056. begin
  18057. pTDefRegMap(@Self)^.&set := $00000100;
  18058. end;
  18059. procedure TICAP1_IC1CON.clearC32; inline;
  18060. begin
  18061. pTDefRegMap(@Self)^.clr := $00000100;
  18062. end;
  18063. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  18064. begin
  18065. if thebits = 0 then
  18066. pTDefRegMap(@Self)^.clr := $00000100
  18067. else
  18068. pTDefRegMap(@Self)^.&set := $00000100;
  18069. end;
  18070. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  18071. begin
  18072. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18073. end;
  18074. procedure TICAP1_IC1CON.setFEDGE; inline;
  18075. begin
  18076. pTDefRegMap(@Self)^.&set := $00000200;
  18077. end;
  18078. procedure TICAP1_IC1CON.clearFEDGE; inline;
  18079. begin
  18080. pTDefRegMap(@Self)^.clr := $00000200;
  18081. end;
  18082. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  18083. begin
  18084. if thebits = 0 then
  18085. pTDefRegMap(@Self)^.clr := $00000200
  18086. else
  18087. pTDefRegMap(@Self)^.&set := $00000200;
  18088. end;
  18089. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  18090. begin
  18091. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18092. end;
  18093. procedure TICAP1_IC1CON.setSIDL; inline;
  18094. begin
  18095. pTDefRegMap(@Self)^.&set := $00002000;
  18096. end;
  18097. procedure TICAP1_IC1CON.clearSIDL; inline;
  18098. begin
  18099. pTDefRegMap(@Self)^.clr := $00002000;
  18100. end;
  18101. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  18102. begin
  18103. if thebits = 0 then
  18104. pTDefRegMap(@Self)^.clr := $00002000
  18105. else
  18106. pTDefRegMap(@Self)^.&set := $00002000;
  18107. end;
  18108. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  18109. begin
  18110. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18111. end;
  18112. procedure TICAP1_IC1CON.setON; inline;
  18113. begin
  18114. pTDefRegMap(@Self)^.&set := $00008000;
  18115. end;
  18116. procedure TICAP1_IC1CON.clearON; inline;
  18117. begin
  18118. pTDefRegMap(@Self)^.clr := $00008000;
  18119. end;
  18120. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  18121. begin
  18122. if thebits = 0 then
  18123. pTDefRegMap(@Self)^.clr := $00008000
  18124. else
  18125. pTDefRegMap(@Self)^.&set := $00008000;
  18126. end;
  18127. function TICAP1_IC1CON.getON : TBits_1; inline;
  18128. begin
  18129. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18130. end;
  18131. procedure TICAP1_IC1CON.setICM0; inline;
  18132. begin
  18133. pTDefRegMap(@Self)^.&set := $00000001;
  18134. end;
  18135. procedure TICAP1_IC1CON.clearICM0; inline;
  18136. begin
  18137. pTDefRegMap(@Self)^.clr := $00000001;
  18138. end;
  18139. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  18140. begin
  18141. if thebits = 0 then
  18142. pTDefRegMap(@Self)^.clr := $00000001
  18143. else
  18144. pTDefRegMap(@Self)^.&set := $00000001;
  18145. end;
  18146. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  18147. begin
  18148. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18149. end;
  18150. procedure TICAP1_IC1CON.setICM1; inline;
  18151. begin
  18152. pTDefRegMap(@Self)^.&set := $00000002;
  18153. end;
  18154. procedure TICAP1_IC1CON.clearICM1; inline;
  18155. begin
  18156. pTDefRegMap(@Self)^.clr := $00000002;
  18157. end;
  18158. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  18159. begin
  18160. if thebits = 0 then
  18161. pTDefRegMap(@Self)^.clr := $00000002
  18162. else
  18163. pTDefRegMap(@Self)^.&set := $00000002;
  18164. end;
  18165. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  18166. begin
  18167. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18168. end;
  18169. procedure TICAP1_IC1CON.setICM2; inline;
  18170. begin
  18171. pTDefRegMap(@Self)^.&set := $00000004;
  18172. end;
  18173. procedure TICAP1_IC1CON.clearICM2; inline;
  18174. begin
  18175. pTDefRegMap(@Self)^.clr := $00000004;
  18176. end;
  18177. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  18178. begin
  18179. if thebits = 0 then
  18180. pTDefRegMap(@Self)^.clr := $00000004
  18181. else
  18182. pTDefRegMap(@Self)^.&set := $00000004;
  18183. end;
  18184. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  18185. begin
  18186. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18187. end;
  18188. procedure TICAP1_IC1CON.setICI0; inline;
  18189. begin
  18190. pTDefRegMap(@Self)^.&set := $00000020;
  18191. end;
  18192. procedure TICAP1_IC1CON.clearICI0; inline;
  18193. begin
  18194. pTDefRegMap(@Self)^.clr := $00000020;
  18195. end;
  18196. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  18197. begin
  18198. if thebits = 0 then
  18199. pTDefRegMap(@Self)^.clr := $00000020
  18200. else
  18201. pTDefRegMap(@Self)^.&set := $00000020;
  18202. end;
  18203. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  18204. begin
  18205. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18206. end;
  18207. procedure TICAP1_IC1CON.setICI1; inline;
  18208. begin
  18209. pTDefRegMap(@Self)^.&set := $00000040;
  18210. end;
  18211. procedure TICAP1_IC1CON.clearICI1; inline;
  18212. begin
  18213. pTDefRegMap(@Self)^.clr := $00000040;
  18214. end;
  18215. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  18216. begin
  18217. if thebits = 0 then
  18218. pTDefRegMap(@Self)^.clr := $00000040
  18219. else
  18220. pTDefRegMap(@Self)^.&set := $00000040;
  18221. end;
  18222. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  18223. begin
  18224. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18225. end;
  18226. procedure TICAP1_IC1CON.setICSIDL; inline;
  18227. begin
  18228. pTDefRegMap(@Self)^.&set := $00002000;
  18229. end;
  18230. procedure TICAP1_IC1CON.clearICSIDL; inline;
  18231. begin
  18232. pTDefRegMap(@Self)^.clr := $00002000;
  18233. end;
  18234. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  18235. begin
  18236. if thebits = 0 then
  18237. pTDefRegMap(@Self)^.clr := $00002000
  18238. else
  18239. pTDefRegMap(@Self)^.&set := $00002000;
  18240. end;
  18241. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  18242. begin
  18243. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18244. end;
  18245. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  18246. begin
  18247. pTDefRegMap(@Self)^.val := thebits;
  18248. end;
  18249. function TICAP1_IC1CON.getw : TBits_32; inline;
  18250. begin
  18251. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18252. end;
  18253. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  18254. begin
  18255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18256. end;
  18257. function TICAP2_IC2CON.getICM : TBits_3; inline;
  18258. begin
  18259. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18260. end;
  18261. procedure TICAP2_IC2CON.setICBNE; inline;
  18262. begin
  18263. pTDefRegMap(@Self)^.&set := $00000008;
  18264. end;
  18265. procedure TICAP2_IC2CON.clearICBNE; inline;
  18266. begin
  18267. pTDefRegMap(@Self)^.clr := $00000008;
  18268. end;
  18269. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  18270. begin
  18271. if thebits = 0 then
  18272. pTDefRegMap(@Self)^.clr := $00000008
  18273. else
  18274. pTDefRegMap(@Self)^.&set := $00000008;
  18275. end;
  18276. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  18277. begin
  18278. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18279. end;
  18280. procedure TICAP2_IC2CON.setICOV; inline;
  18281. begin
  18282. pTDefRegMap(@Self)^.&set := $00000010;
  18283. end;
  18284. procedure TICAP2_IC2CON.clearICOV; inline;
  18285. begin
  18286. pTDefRegMap(@Self)^.clr := $00000010;
  18287. end;
  18288. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  18289. begin
  18290. if thebits = 0 then
  18291. pTDefRegMap(@Self)^.clr := $00000010
  18292. else
  18293. pTDefRegMap(@Self)^.&set := $00000010;
  18294. end;
  18295. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  18296. begin
  18297. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18298. end;
  18299. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  18300. begin
  18301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18302. end;
  18303. function TICAP2_IC2CON.getICI : TBits_2; inline;
  18304. begin
  18305. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18306. end;
  18307. procedure TICAP2_IC2CON.setICTMR; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00000080;
  18310. end;
  18311. procedure TICAP2_IC2CON.clearICTMR; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00000080;
  18314. end;
  18315. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00000080
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00000080;
  18321. end;
  18322. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  18323. begin
  18324. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18325. end;
  18326. procedure TICAP2_IC2CON.setC32; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.&set := $00000100;
  18329. end;
  18330. procedure TICAP2_IC2CON.clearC32; inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.clr := $00000100;
  18333. end;
  18334. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  18335. begin
  18336. if thebits = 0 then
  18337. pTDefRegMap(@Self)^.clr := $00000100
  18338. else
  18339. pTDefRegMap(@Self)^.&set := $00000100;
  18340. end;
  18341. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  18342. begin
  18343. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18344. end;
  18345. procedure TICAP2_IC2CON.setFEDGE; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.&set := $00000200;
  18348. end;
  18349. procedure TICAP2_IC2CON.clearFEDGE; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.clr := $00000200;
  18352. end;
  18353. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  18354. begin
  18355. if thebits = 0 then
  18356. pTDefRegMap(@Self)^.clr := $00000200
  18357. else
  18358. pTDefRegMap(@Self)^.&set := $00000200;
  18359. end;
  18360. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  18361. begin
  18362. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18363. end;
  18364. procedure TICAP2_IC2CON.setSIDL; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.&set := $00002000;
  18367. end;
  18368. procedure TICAP2_IC2CON.clearSIDL; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.clr := $00002000;
  18371. end;
  18372. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  18373. begin
  18374. if thebits = 0 then
  18375. pTDefRegMap(@Self)^.clr := $00002000
  18376. else
  18377. pTDefRegMap(@Self)^.&set := $00002000;
  18378. end;
  18379. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  18380. begin
  18381. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18382. end;
  18383. procedure TICAP2_IC2CON.setON; inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.&set := $00008000;
  18386. end;
  18387. procedure TICAP2_IC2CON.clearON; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.clr := $00008000;
  18390. end;
  18391. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  18392. begin
  18393. if thebits = 0 then
  18394. pTDefRegMap(@Self)^.clr := $00008000
  18395. else
  18396. pTDefRegMap(@Self)^.&set := $00008000;
  18397. end;
  18398. function TICAP2_IC2CON.getON : TBits_1; inline;
  18399. begin
  18400. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18401. end;
  18402. procedure TICAP2_IC2CON.setICM0; inline;
  18403. begin
  18404. pTDefRegMap(@Self)^.&set := $00000001;
  18405. end;
  18406. procedure TICAP2_IC2CON.clearICM0; inline;
  18407. begin
  18408. pTDefRegMap(@Self)^.clr := $00000001;
  18409. end;
  18410. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  18411. begin
  18412. if thebits = 0 then
  18413. pTDefRegMap(@Self)^.clr := $00000001
  18414. else
  18415. pTDefRegMap(@Self)^.&set := $00000001;
  18416. end;
  18417. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  18418. begin
  18419. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18420. end;
  18421. procedure TICAP2_IC2CON.setICM1; inline;
  18422. begin
  18423. pTDefRegMap(@Self)^.&set := $00000002;
  18424. end;
  18425. procedure TICAP2_IC2CON.clearICM1; inline;
  18426. begin
  18427. pTDefRegMap(@Self)^.clr := $00000002;
  18428. end;
  18429. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  18430. begin
  18431. if thebits = 0 then
  18432. pTDefRegMap(@Self)^.clr := $00000002
  18433. else
  18434. pTDefRegMap(@Self)^.&set := $00000002;
  18435. end;
  18436. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  18437. begin
  18438. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18439. end;
  18440. procedure TICAP2_IC2CON.setICM2; inline;
  18441. begin
  18442. pTDefRegMap(@Self)^.&set := $00000004;
  18443. end;
  18444. procedure TICAP2_IC2CON.clearICM2; inline;
  18445. begin
  18446. pTDefRegMap(@Self)^.clr := $00000004;
  18447. end;
  18448. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  18449. begin
  18450. if thebits = 0 then
  18451. pTDefRegMap(@Self)^.clr := $00000004
  18452. else
  18453. pTDefRegMap(@Self)^.&set := $00000004;
  18454. end;
  18455. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  18456. begin
  18457. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18458. end;
  18459. procedure TICAP2_IC2CON.setICI0; inline;
  18460. begin
  18461. pTDefRegMap(@Self)^.&set := $00000020;
  18462. end;
  18463. procedure TICAP2_IC2CON.clearICI0; inline;
  18464. begin
  18465. pTDefRegMap(@Self)^.clr := $00000020;
  18466. end;
  18467. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  18468. begin
  18469. if thebits = 0 then
  18470. pTDefRegMap(@Self)^.clr := $00000020
  18471. else
  18472. pTDefRegMap(@Self)^.&set := $00000020;
  18473. end;
  18474. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  18475. begin
  18476. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18477. end;
  18478. procedure TICAP2_IC2CON.setICI1; inline;
  18479. begin
  18480. pTDefRegMap(@Self)^.&set := $00000040;
  18481. end;
  18482. procedure TICAP2_IC2CON.clearICI1; inline;
  18483. begin
  18484. pTDefRegMap(@Self)^.clr := $00000040;
  18485. end;
  18486. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  18487. begin
  18488. if thebits = 0 then
  18489. pTDefRegMap(@Self)^.clr := $00000040
  18490. else
  18491. pTDefRegMap(@Self)^.&set := $00000040;
  18492. end;
  18493. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  18494. begin
  18495. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18496. end;
  18497. procedure TICAP2_IC2CON.setICSIDL; inline;
  18498. begin
  18499. pTDefRegMap(@Self)^.&set := $00002000;
  18500. end;
  18501. procedure TICAP2_IC2CON.clearICSIDL; inline;
  18502. begin
  18503. pTDefRegMap(@Self)^.clr := $00002000;
  18504. end;
  18505. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  18506. begin
  18507. if thebits = 0 then
  18508. pTDefRegMap(@Self)^.clr := $00002000
  18509. else
  18510. pTDefRegMap(@Self)^.&set := $00002000;
  18511. end;
  18512. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  18513. begin
  18514. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18515. end;
  18516. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  18517. begin
  18518. pTDefRegMap(@Self)^.val := thebits;
  18519. end;
  18520. function TICAP2_IC2CON.getw : TBits_32; inline;
  18521. begin
  18522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18523. end;
  18524. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  18525. begin
  18526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18527. end;
  18528. function TICAP3_IC3CON.getICM : TBits_3; inline;
  18529. begin
  18530. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18531. end;
  18532. procedure TICAP3_IC3CON.setICBNE; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.&set := $00000008;
  18535. end;
  18536. procedure TICAP3_IC3CON.clearICBNE; inline;
  18537. begin
  18538. pTDefRegMap(@Self)^.clr := $00000008;
  18539. end;
  18540. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  18541. begin
  18542. if thebits = 0 then
  18543. pTDefRegMap(@Self)^.clr := $00000008
  18544. else
  18545. pTDefRegMap(@Self)^.&set := $00000008;
  18546. end;
  18547. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  18548. begin
  18549. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18550. end;
  18551. procedure TICAP3_IC3CON.setICOV; inline;
  18552. begin
  18553. pTDefRegMap(@Self)^.&set := $00000010;
  18554. end;
  18555. procedure TICAP3_IC3CON.clearICOV; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.clr := $00000010;
  18558. end;
  18559. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  18560. begin
  18561. if thebits = 0 then
  18562. pTDefRegMap(@Self)^.clr := $00000010
  18563. else
  18564. pTDefRegMap(@Self)^.&set := $00000010;
  18565. end;
  18566. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  18567. begin
  18568. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18569. end;
  18570. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  18571. begin
  18572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18573. end;
  18574. function TICAP3_IC3CON.getICI : TBits_2; inline;
  18575. begin
  18576. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18577. end;
  18578. procedure TICAP3_IC3CON.setICTMR; inline;
  18579. begin
  18580. pTDefRegMap(@Self)^.&set := $00000080;
  18581. end;
  18582. procedure TICAP3_IC3CON.clearICTMR; inline;
  18583. begin
  18584. pTDefRegMap(@Self)^.clr := $00000080;
  18585. end;
  18586. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  18587. begin
  18588. if thebits = 0 then
  18589. pTDefRegMap(@Self)^.clr := $00000080
  18590. else
  18591. pTDefRegMap(@Self)^.&set := $00000080;
  18592. end;
  18593. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  18594. begin
  18595. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18596. end;
  18597. procedure TICAP3_IC3CON.setC32; inline;
  18598. begin
  18599. pTDefRegMap(@Self)^.&set := $00000100;
  18600. end;
  18601. procedure TICAP3_IC3CON.clearC32; inline;
  18602. begin
  18603. pTDefRegMap(@Self)^.clr := $00000100;
  18604. end;
  18605. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  18606. begin
  18607. if thebits = 0 then
  18608. pTDefRegMap(@Self)^.clr := $00000100
  18609. else
  18610. pTDefRegMap(@Self)^.&set := $00000100;
  18611. end;
  18612. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  18613. begin
  18614. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18615. end;
  18616. procedure TICAP3_IC3CON.setFEDGE; inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.&set := $00000200;
  18619. end;
  18620. procedure TICAP3_IC3CON.clearFEDGE; inline;
  18621. begin
  18622. pTDefRegMap(@Self)^.clr := $00000200;
  18623. end;
  18624. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  18625. begin
  18626. if thebits = 0 then
  18627. pTDefRegMap(@Self)^.clr := $00000200
  18628. else
  18629. pTDefRegMap(@Self)^.&set := $00000200;
  18630. end;
  18631. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  18632. begin
  18633. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18634. end;
  18635. procedure TICAP3_IC3CON.setSIDL; inline;
  18636. begin
  18637. pTDefRegMap(@Self)^.&set := $00002000;
  18638. end;
  18639. procedure TICAP3_IC3CON.clearSIDL; inline;
  18640. begin
  18641. pTDefRegMap(@Self)^.clr := $00002000;
  18642. end;
  18643. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  18644. begin
  18645. if thebits = 0 then
  18646. pTDefRegMap(@Self)^.clr := $00002000
  18647. else
  18648. pTDefRegMap(@Self)^.&set := $00002000;
  18649. end;
  18650. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  18651. begin
  18652. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18653. end;
  18654. procedure TICAP3_IC3CON.setON; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.&set := $00008000;
  18657. end;
  18658. procedure TICAP3_IC3CON.clearON; inline;
  18659. begin
  18660. pTDefRegMap(@Self)^.clr := $00008000;
  18661. end;
  18662. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  18663. begin
  18664. if thebits = 0 then
  18665. pTDefRegMap(@Self)^.clr := $00008000
  18666. else
  18667. pTDefRegMap(@Self)^.&set := $00008000;
  18668. end;
  18669. function TICAP3_IC3CON.getON : TBits_1; inline;
  18670. begin
  18671. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18672. end;
  18673. procedure TICAP3_IC3CON.setICM0; inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.&set := $00000001;
  18676. end;
  18677. procedure TICAP3_IC3CON.clearICM0; inline;
  18678. begin
  18679. pTDefRegMap(@Self)^.clr := $00000001;
  18680. end;
  18681. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  18682. begin
  18683. if thebits = 0 then
  18684. pTDefRegMap(@Self)^.clr := $00000001
  18685. else
  18686. pTDefRegMap(@Self)^.&set := $00000001;
  18687. end;
  18688. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  18689. begin
  18690. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18691. end;
  18692. procedure TICAP3_IC3CON.setICM1; inline;
  18693. begin
  18694. pTDefRegMap(@Self)^.&set := $00000002;
  18695. end;
  18696. procedure TICAP3_IC3CON.clearICM1; inline;
  18697. begin
  18698. pTDefRegMap(@Self)^.clr := $00000002;
  18699. end;
  18700. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  18701. begin
  18702. if thebits = 0 then
  18703. pTDefRegMap(@Self)^.clr := $00000002
  18704. else
  18705. pTDefRegMap(@Self)^.&set := $00000002;
  18706. end;
  18707. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  18708. begin
  18709. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18710. end;
  18711. procedure TICAP3_IC3CON.setICM2; inline;
  18712. begin
  18713. pTDefRegMap(@Self)^.&set := $00000004;
  18714. end;
  18715. procedure TICAP3_IC3CON.clearICM2; inline;
  18716. begin
  18717. pTDefRegMap(@Self)^.clr := $00000004;
  18718. end;
  18719. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  18720. begin
  18721. if thebits = 0 then
  18722. pTDefRegMap(@Self)^.clr := $00000004
  18723. else
  18724. pTDefRegMap(@Self)^.&set := $00000004;
  18725. end;
  18726. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  18727. begin
  18728. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18729. end;
  18730. procedure TICAP3_IC3CON.setICI0; inline;
  18731. begin
  18732. pTDefRegMap(@Self)^.&set := $00000020;
  18733. end;
  18734. procedure TICAP3_IC3CON.clearICI0; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.clr := $00000020;
  18737. end;
  18738. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  18739. begin
  18740. if thebits = 0 then
  18741. pTDefRegMap(@Self)^.clr := $00000020
  18742. else
  18743. pTDefRegMap(@Self)^.&set := $00000020;
  18744. end;
  18745. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  18746. begin
  18747. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18748. end;
  18749. procedure TICAP3_IC3CON.setICI1; inline;
  18750. begin
  18751. pTDefRegMap(@Self)^.&set := $00000040;
  18752. end;
  18753. procedure TICAP3_IC3CON.clearICI1; inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.clr := $00000040;
  18756. end;
  18757. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  18758. begin
  18759. if thebits = 0 then
  18760. pTDefRegMap(@Self)^.clr := $00000040
  18761. else
  18762. pTDefRegMap(@Self)^.&set := $00000040;
  18763. end;
  18764. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  18765. begin
  18766. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18767. end;
  18768. procedure TICAP3_IC3CON.setICSIDL; inline;
  18769. begin
  18770. pTDefRegMap(@Self)^.&set := $00002000;
  18771. end;
  18772. procedure TICAP3_IC3CON.clearICSIDL; inline;
  18773. begin
  18774. pTDefRegMap(@Self)^.clr := $00002000;
  18775. end;
  18776. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  18777. begin
  18778. if thebits = 0 then
  18779. pTDefRegMap(@Self)^.clr := $00002000
  18780. else
  18781. pTDefRegMap(@Self)^.&set := $00002000;
  18782. end;
  18783. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  18784. begin
  18785. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18786. end;
  18787. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  18788. begin
  18789. pTDefRegMap(@Self)^.val := thebits;
  18790. end;
  18791. function TICAP3_IC3CON.getw : TBits_32; inline;
  18792. begin
  18793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18794. end;
  18795. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  18796. begin
  18797. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  18798. end;
  18799. function TICAP4_IC4CON.getICM : TBits_3; inline;
  18800. begin
  18801. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  18802. end;
  18803. procedure TICAP4_IC4CON.setICBNE; inline;
  18804. begin
  18805. pTDefRegMap(@Self)^.&set := $00000008;
  18806. end;
  18807. procedure TICAP4_IC4CON.clearICBNE; inline;
  18808. begin
  18809. pTDefRegMap(@Self)^.clr := $00000008;
  18810. end;
  18811. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  18812. begin
  18813. if thebits = 0 then
  18814. pTDefRegMap(@Self)^.clr := $00000008
  18815. else
  18816. pTDefRegMap(@Self)^.&set := $00000008;
  18817. end;
  18818. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  18819. begin
  18820. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18821. end;
  18822. procedure TICAP4_IC4CON.setICOV; inline;
  18823. begin
  18824. pTDefRegMap(@Self)^.&set := $00000010;
  18825. end;
  18826. procedure TICAP4_IC4CON.clearICOV; inline;
  18827. begin
  18828. pTDefRegMap(@Self)^.clr := $00000010;
  18829. end;
  18830. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  18831. begin
  18832. if thebits = 0 then
  18833. pTDefRegMap(@Self)^.clr := $00000010
  18834. else
  18835. pTDefRegMap(@Self)^.&set := $00000010;
  18836. end;
  18837. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  18838. begin
  18839. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18840. end;
  18841. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  18842. begin
  18843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  18844. end;
  18845. function TICAP4_IC4CON.getICI : TBits_2; inline;
  18846. begin
  18847. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  18848. end;
  18849. procedure TICAP4_IC4CON.setICTMR; inline;
  18850. begin
  18851. pTDefRegMap(@Self)^.&set := $00000080;
  18852. end;
  18853. procedure TICAP4_IC4CON.clearICTMR; inline;
  18854. begin
  18855. pTDefRegMap(@Self)^.clr := $00000080;
  18856. end;
  18857. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  18858. begin
  18859. if thebits = 0 then
  18860. pTDefRegMap(@Self)^.clr := $00000080
  18861. else
  18862. pTDefRegMap(@Self)^.&set := $00000080;
  18863. end;
  18864. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  18865. begin
  18866. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18867. end;
  18868. procedure TICAP4_IC4CON.setC32; inline;
  18869. begin
  18870. pTDefRegMap(@Self)^.&set := $00000100;
  18871. end;
  18872. procedure TICAP4_IC4CON.clearC32; inline;
  18873. begin
  18874. pTDefRegMap(@Self)^.clr := $00000100;
  18875. end;
  18876. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  18877. begin
  18878. if thebits = 0 then
  18879. pTDefRegMap(@Self)^.clr := $00000100
  18880. else
  18881. pTDefRegMap(@Self)^.&set := $00000100;
  18882. end;
  18883. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  18884. begin
  18885. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18886. end;
  18887. procedure TICAP4_IC4CON.setFEDGE; inline;
  18888. begin
  18889. pTDefRegMap(@Self)^.&set := $00000200;
  18890. end;
  18891. procedure TICAP4_IC4CON.clearFEDGE; inline;
  18892. begin
  18893. pTDefRegMap(@Self)^.clr := $00000200;
  18894. end;
  18895. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  18896. begin
  18897. if thebits = 0 then
  18898. pTDefRegMap(@Self)^.clr := $00000200
  18899. else
  18900. pTDefRegMap(@Self)^.&set := $00000200;
  18901. end;
  18902. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  18903. begin
  18904. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18905. end;
  18906. procedure TICAP4_IC4CON.setSIDL; inline;
  18907. begin
  18908. pTDefRegMap(@Self)^.&set := $00002000;
  18909. end;
  18910. procedure TICAP4_IC4CON.clearSIDL; inline;
  18911. begin
  18912. pTDefRegMap(@Self)^.clr := $00002000;
  18913. end;
  18914. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  18915. begin
  18916. if thebits = 0 then
  18917. pTDefRegMap(@Self)^.clr := $00002000
  18918. else
  18919. pTDefRegMap(@Self)^.&set := $00002000;
  18920. end;
  18921. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  18922. begin
  18923. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18924. end;
  18925. procedure TICAP4_IC4CON.setON; inline;
  18926. begin
  18927. pTDefRegMap(@Self)^.&set := $00008000;
  18928. end;
  18929. procedure TICAP4_IC4CON.clearON; inline;
  18930. begin
  18931. pTDefRegMap(@Self)^.clr := $00008000;
  18932. end;
  18933. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  18934. begin
  18935. if thebits = 0 then
  18936. pTDefRegMap(@Self)^.clr := $00008000
  18937. else
  18938. pTDefRegMap(@Self)^.&set := $00008000;
  18939. end;
  18940. function TICAP4_IC4CON.getON : TBits_1; inline;
  18941. begin
  18942. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18943. end;
  18944. procedure TICAP4_IC4CON.setICM0; inline;
  18945. begin
  18946. pTDefRegMap(@Self)^.&set := $00000001;
  18947. end;
  18948. procedure TICAP4_IC4CON.clearICM0; inline;
  18949. begin
  18950. pTDefRegMap(@Self)^.clr := $00000001;
  18951. end;
  18952. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  18953. begin
  18954. if thebits = 0 then
  18955. pTDefRegMap(@Self)^.clr := $00000001
  18956. else
  18957. pTDefRegMap(@Self)^.&set := $00000001;
  18958. end;
  18959. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  18960. begin
  18961. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18962. end;
  18963. procedure TICAP4_IC4CON.setICM1; inline;
  18964. begin
  18965. pTDefRegMap(@Self)^.&set := $00000002;
  18966. end;
  18967. procedure TICAP4_IC4CON.clearICM1; inline;
  18968. begin
  18969. pTDefRegMap(@Self)^.clr := $00000002;
  18970. end;
  18971. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  18972. begin
  18973. if thebits = 0 then
  18974. pTDefRegMap(@Self)^.clr := $00000002
  18975. else
  18976. pTDefRegMap(@Self)^.&set := $00000002;
  18977. end;
  18978. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  18979. begin
  18980. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18981. end;
  18982. procedure TICAP4_IC4CON.setICM2; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.&set := $00000004;
  18985. end;
  18986. procedure TICAP4_IC4CON.clearICM2; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.clr := $00000004;
  18989. end;
  18990. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  18991. begin
  18992. if thebits = 0 then
  18993. pTDefRegMap(@Self)^.clr := $00000004
  18994. else
  18995. pTDefRegMap(@Self)^.&set := $00000004;
  18996. end;
  18997. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  18998. begin
  18999. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19000. end;
  19001. procedure TICAP4_IC4CON.setICI0; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00000020;
  19004. end;
  19005. procedure TICAP4_IC4CON.clearICI0; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00000020;
  19008. end;
  19009. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00000020
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00000020;
  19015. end;
  19016. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  19017. begin
  19018. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19019. end;
  19020. procedure TICAP4_IC4CON.setICI1; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00000040;
  19023. end;
  19024. procedure TICAP4_IC4CON.clearICI1; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00000040;
  19027. end;
  19028. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00000040
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00000040;
  19034. end;
  19035. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  19036. begin
  19037. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19038. end;
  19039. procedure TICAP4_IC4CON.setICSIDL; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00002000;
  19042. end;
  19043. procedure TICAP4_IC4CON.clearICSIDL; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00002000;
  19046. end;
  19047. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00002000
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00002000;
  19053. end;
  19054. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  19055. begin
  19056. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19057. end;
  19058. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.val := thebits;
  19061. end;
  19062. function TICAP4_IC4CON.getw : TBits_32; inline;
  19063. begin
  19064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19065. end;
  19066. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  19067. begin
  19068. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19069. end;
  19070. function TICAP5_IC5CON.getICM : TBits_3; inline;
  19071. begin
  19072. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19073. end;
  19074. procedure TICAP5_IC5CON.setICBNE; inline;
  19075. begin
  19076. pTDefRegMap(@Self)^.&set := $00000008;
  19077. end;
  19078. procedure TICAP5_IC5CON.clearICBNE; inline;
  19079. begin
  19080. pTDefRegMap(@Self)^.clr := $00000008;
  19081. end;
  19082. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  19083. begin
  19084. if thebits = 0 then
  19085. pTDefRegMap(@Self)^.clr := $00000008
  19086. else
  19087. pTDefRegMap(@Self)^.&set := $00000008;
  19088. end;
  19089. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  19090. begin
  19091. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19092. end;
  19093. procedure TICAP5_IC5CON.setICOV; inline;
  19094. begin
  19095. pTDefRegMap(@Self)^.&set := $00000010;
  19096. end;
  19097. procedure TICAP5_IC5CON.clearICOV; inline;
  19098. begin
  19099. pTDefRegMap(@Self)^.clr := $00000010;
  19100. end;
  19101. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  19102. begin
  19103. if thebits = 0 then
  19104. pTDefRegMap(@Self)^.clr := $00000010
  19105. else
  19106. pTDefRegMap(@Self)^.&set := $00000010;
  19107. end;
  19108. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  19109. begin
  19110. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19111. end;
  19112. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  19113. begin
  19114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  19115. end;
  19116. function TICAP5_IC5CON.getICI : TBits_2; inline;
  19117. begin
  19118. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  19119. end;
  19120. procedure TICAP5_IC5CON.setICTMR; inline;
  19121. begin
  19122. pTDefRegMap(@Self)^.&set := $00000080;
  19123. end;
  19124. procedure TICAP5_IC5CON.clearICTMR; inline;
  19125. begin
  19126. pTDefRegMap(@Self)^.clr := $00000080;
  19127. end;
  19128. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  19129. begin
  19130. if thebits = 0 then
  19131. pTDefRegMap(@Self)^.clr := $00000080
  19132. else
  19133. pTDefRegMap(@Self)^.&set := $00000080;
  19134. end;
  19135. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  19136. begin
  19137. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19138. end;
  19139. procedure TICAP5_IC5CON.setC32; inline;
  19140. begin
  19141. pTDefRegMap(@Self)^.&set := $00000100;
  19142. end;
  19143. procedure TICAP5_IC5CON.clearC32; inline;
  19144. begin
  19145. pTDefRegMap(@Self)^.clr := $00000100;
  19146. end;
  19147. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  19148. begin
  19149. if thebits = 0 then
  19150. pTDefRegMap(@Self)^.clr := $00000100
  19151. else
  19152. pTDefRegMap(@Self)^.&set := $00000100;
  19153. end;
  19154. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  19155. begin
  19156. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19157. end;
  19158. procedure TICAP5_IC5CON.setFEDGE; inline;
  19159. begin
  19160. pTDefRegMap(@Self)^.&set := $00000200;
  19161. end;
  19162. procedure TICAP5_IC5CON.clearFEDGE; inline;
  19163. begin
  19164. pTDefRegMap(@Self)^.clr := $00000200;
  19165. end;
  19166. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  19167. begin
  19168. if thebits = 0 then
  19169. pTDefRegMap(@Self)^.clr := $00000200
  19170. else
  19171. pTDefRegMap(@Self)^.&set := $00000200;
  19172. end;
  19173. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  19174. begin
  19175. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19176. end;
  19177. procedure TICAP5_IC5CON.setSIDL; inline;
  19178. begin
  19179. pTDefRegMap(@Self)^.&set := $00002000;
  19180. end;
  19181. procedure TICAP5_IC5CON.clearSIDL; inline;
  19182. begin
  19183. pTDefRegMap(@Self)^.clr := $00002000;
  19184. end;
  19185. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  19186. begin
  19187. if thebits = 0 then
  19188. pTDefRegMap(@Self)^.clr := $00002000
  19189. else
  19190. pTDefRegMap(@Self)^.&set := $00002000;
  19191. end;
  19192. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  19193. begin
  19194. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19195. end;
  19196. procedure TICAP5_IC5CON.setON; inline;
  19197. begin
  19198. pTDefRegMap(@Self)^.&set := $00008000;
  19199. end;
  19200. procedure TICAP5_IC5CON.clearON; inline;
  19201. begin
  19202. pTDefRegMap(@Self)^.clr := $00008000;
  19203. end;
  19204. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  19205. begin
  19206. if thebits = 0 then
  19207. pTDefRegMap(@Self)^.clr := $00008000
  19208. else
  19209. pTDefRegMap(@Self)^.&set := $00008000;
  19210. end;
  19211. function TICAP5_IC5CON.getON : TBits_1; inline;
  19212. begin
  19213. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19214. end;
  19215. procedure TICAP5_IC5CON.setICM0; inline;
  19216. begin
  19217. pTDefRegMap(@Self)^.&set := $00000001;
  19218. end;
  19219. procedure TICAP5_IC5CON.clearICM0; inline;
  19220. begin
  19221. pTDefRegMap(@Self)^.clr := $00000001;
  19222. end;
  19223. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  19224. begin
  19225. if thebits = 0 then
  19226. pTDefRegMap(@Self)^.clr := $00000001
  19227. else
  19228. pTDefRegMap(@Self)^.&set := $00000001;
  19229. end;
  19230. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  19231. begin
  19232. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19233. end;
  19234. procedure TICAP5_IC5CON.setICM1; inline;
  19235. begin
  19236. pTDefRegMap(@Self)^.&set := $00000002;
  19237. end;
  19238. procedure TICAP5_IC5CON.clearICM1; inline;
  19239. begin
  19240. pTDefRegMap(@Self)^.clr := $00000002;
  19241. end;
  19242. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  19243. begin
  19244. if thebits = 0 then
  19245. pTDefRegMap(@Self)^.clr := $00000002
  19246. else
  19247. pTDefRegMap(@Self)^.&set := $00000002;
  19248. end;
  19249. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  19250. begin
  19251. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19252. end;
  19253. procedure TICAP5_IC5CON.setICM2; inline;
  19254. begin
  19255. pTDefRegMap(@Self)^.&set := $00000004;
  19256. end;
  19257. procedure TICAP5_IC5CON.clearICM2; inline;
  19258. begin
  19259. pTDefRegMap(@Self)^.clr := $00000004;
  19260. end;
  19261. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  19262. begin
  19263. if thebits = 0 then
  19264. pTDefRegMap(@Self)^.clr := $00000004
  19265. else
  19266. pTDefRegMap(@Self)^.&set := $00000004;
  19267. end;
  19268. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  19269. begin
  19270. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19271. end;
  19272. procedure TICAP5_IC5CON.setICI0; inline;
  19273. begin
  19274. pTDefRegMap(@Self)^.&set := $00000020;
  19275. end;
  19276. procedure TICAP5_IC5CON.clearICI0; inline;
  19277. begin
  19278. pTDefRegMap(@Self)^.clr := $00000020;
  19279. end;
  19280. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  19281. begin
  19282. if thebits = 0 then
  19283. pTDefRegMap(@Self)^.clr := $00000020
  19284. else
  19285. pTDefRegMap(@Self)^.&set := $00000020;
  19286. end;
  19287. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  19288. begin
  19289. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19290. end;
  19291. procedure TICAP5_IC5CON.setICI1; inline;
  19292. begin
  19293. pTDefRegMap(@Self)^.&set := $00000040;
  19294. end;
  19295. procedure TICAP5_IC5CON.clearICI1; inline;
  19296. begin
  19297. pTDefRegMap(@Self)^.clr := $00000040;
  19298. end;
  19299. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  19300. begin
  19301. if thebits = 0 then
  19302. pTDefRegMap(@Self)^.clr := $00000040
  19303. else
  19304. pTDefRegMap(@Self)^.&set := $00000040;
  19305. end;
  19306. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  19307. begin
  19308. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19309. end;
  19310. procedure TICAP5_IC5CON.setICSIDL; inline;
  19311. begin
  19312. pTDefRegMap(@Self)^.&set := $00002000;
  19313. end;
  19314. procedure TICAP5_IC5CON.clearICSIDL; inline;
  19315. begin
  19316. pTDefRegMap(@Self)^.clr := $00002000;
  19317. end;
  19318. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  19319. begin
  19320. if thebits = 0 then
  19321. pTDefRegMap(@Self)^.clr := $00002000
  19322. else
  19323. pTDefRegMap(@Self)^.&set := $00002000;
  19324. end;
  19325. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  19326. begin
  19327. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19328. end;
  19329. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  19330. begin
  19331. pTDefRegMap(@Self)^.val := thebits;
  19332. end;
  19333. function TICAP5_IC5CON.getw : TBits_32; inline;
  19334. begin
  19335. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19336. end;
  19337. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  19338. begin
  19339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19340. end;
  19341. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  19342. begin
  19343. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19344. end;
  19345. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  19346. begin
  19347. pTDefRegMap(@Self)^.&set := $00000008;
  19348. end;
  19349. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  19350. begin
  19351. pTDefRegMap(@Self)^.clr := $00000008;
  19352. end;
  19353. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  19354. begin
  19355. if thebits = 0 then
  19356. pTDefRegMap(@Self)^.clr := $00000008
  19357. else
  19358. pTDefRegMap(@Self)^.&set := $00000008;
  19359. end;
  19360. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  19361. begin
  19362. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19363. end;
  19364. procedure TOCMP1_OC1CON.setOCFLT; inline;
  19365. begin
  19366. pTDefRegMap(@Self)^.&set := $00000010;
  19367. end;
  19368. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  19369. begin
  19370. pTDefRegMap(@Self)^.clr := $00000010;
  19371. end;
  19372. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  19373. begin
  19374. if thebits = 0 then
  19375. pTDefRegMap(@Self)^.clr := $00000010
  19376. else
  19377. pTDefRegMap(@Self)^.&set := $00000010;
  19378. end;
  19379. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  19380. begin
  19381. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19382. end;
  19383. procedure TOCMP1_OC1CON.setOC32; inline;
  19384. begin
  19385. pTDefRegMap(@Self)^.&set := $00000020;
  19386. end;
  19387. procedure TOCMP1_OC1CON.clearOC32; inline;
  19388. begin
  19389. pTDefRegMap(@Self)^.clr := $00000020;
  19390. end;
  19391. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  19392. begin
  19393. if thebits = 0 then
  19394. pTDefRegMap(@Self)^.clr := $00000020
  19395. else
  19396. pTDefRegMap(@Self)^.&set := $00000020;
  19397. end;
  19398. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  19399. begin
  19400. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19401. end;
  19402. procedure TOCMP1_OC1CON.setSIDL; inline;
  19403. begin
  19404. pTDefRegMap(@Self)^.&set := $00002000;
  19405. end;
  19406. procedure TOCMP1_OC1CON.clearSIDL; inline;
  19407. begin
  19408. pTDefRegMap(@Self)^.clr := $00002000;
  19409. end;
  19410. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  19411. begin
  19412. if thebits = 0 then
  19413. pTDefRegMap(@Self)^.clr := $00002000
  19414. else
  19415. pTDefRegMap(@Self)^.&set := $00002000;
  19416. end;
  19417. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  19418. begin
  19419. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19420. end;
  19421. procedure TOCMP1_OC1CON.setON; inline;
  19422. begin
  19423. pTDefRegMap(@Self)^.&set := $00008000;
  19424. end;
  19425. procedure TOCMP1_OC1CON.clearON; inline;
  19426. begin
  19427. pTDefRegMap(@Self)^.clr := $00008000;
  19428. end;
  19429. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  19430. begin
  19431. if thebits = 0 then
  19432. pTDefRegMap(@Self)^.clr := $00008000
  19433. else
  19434. pTDefRegMap(@Self)^.&set := $00008000;
  19435. end;
  19436. function TOCMP1_OC1CON.getON : TBits_1; inline;
  19437. begin
  19438. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19439. end;
  19440. procedure TOCMP1_OC1CON.setOCM0; inline;
  19441. begin
  19442. pTDefRegMap(@Self)^.&set := $00000001;
  19443. end;
  19444. procedure TOCMP1_OC1CON.clearOCM0; inline;
  19445. begin
  19446. pTDefRegMap(@Self)^.clr := $00000001;
  19447. end;
  19448. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  19449. begin
  19450. if thebits = 0 then
  19451. pTDefRegMap(@Self)^.clr := $00000001
  19452. else
  19453. pTDefRegMap(@Self)^.&set := $00000001;
  19454. end;
  19455. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  19456. begin
  19457. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19458. end;
  19459. procedure TOCMP1_OC1CON.setOCM1; inline;
  19460. begin
  19461. pTDefRegMap(@Self)^.&set := $00000002;
  19462. end;
  19463. procedure TOCMP1_OC1CON.clearOCM1; inline;
  19464. begin
  19465. pTDefRegMap(@Self)^.clr := $00000002;
  19466. end;
  19467. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  19468. begin
  19469. if thebits = 0 then
  19470. pTDefRegMap(@Self)^.clr := $00000002
  19471. else
  19472. pTDefRegMap(@Self)^.&set := $00000002;
  19473. end;
  19474. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  19475. begin
  19476. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19477. end;
  19478. procedure TOCMP1_OC1CON.setOCM2; inline;
  19479. begin
  19480. pTDefRegMap(@Self)^.&set := $00000004;
  19481. end;
  19482. procedure TOCMP1_OC1CON.clearOCM2; inline;
  19483. begin
  19484. pTDefRegMap(@Self)^.clr := $00000004;
  19485. end;
  19486. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  19487. begin
  19488. if thebits = 0 then
  19489. pTDefRegMap(@Self)^.clr := $00000004
  19490. else
  19491. pTDefRegMap(@Self)^.&set := $00000004;
  19492. end;
  19493. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  19494. begin
  19495. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19496. end;
  19497. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  19498. begin
  19499. pTDefRegMap(@Self)^.&set := $00002000;
  19500. end;
  19501. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  19502. begin
  19503. pTDefRegMap(@Self)^.clr := $00002000;
  19504. end;
  19505. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  19506. begin
  19507. if thebits = 0 then
  19508. pTDefRegMap(@Self)^.clr := $00002000
  19509. else
  19510. pTDefRegMap(@Self)^.&set := $00002000;
  19511. end;
  19512. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  19513. begin
  19514. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19515. end;
  19516. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  19517. begin
  19518. pTDefRegMap(@Self)^.val := thebits;
  19519. end;
  19520. function TOCMP1_OC1CON.getw : TBits_32; inline;
  19521. begin
  19522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19523. end;
  19524. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19527. end;
  19528. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  19529. begin
  19530. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19531. end;
  19532. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  19533. begin
  19534. pTDefRegMap(@Self)^.&set := $00000008;
  19535. end;
  19536. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  19537. begin
  19538. pTDefRegMap(@Self)^.clr := $00000008;
  19539. end;
  19540. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  19541. begin
  19542. if thebits = 0 then
  19543. pTDefRegMap(@Self)^.clr := $00000008
  19544. else
  19545. pTDefRegMap(@Self)^.&set := $00000008;
  19546. end;
  19547. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  19548. begin
  19549. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19550. end;
  19551. procedure TOCMP2_OC2CON.setOCFLT; inline;
  19552. begin
  19553. pTDefRegMap(@Self)^.&set := $00000010;
  19554. end;
  19555. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  19556. begin
  19557. pTDefRegMap(@Self)^.clr := $00000010;
  19558. end;
  19559. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  19560. begin
  19561. if thebits = 0 then
  19562. pTDefRegMap(@Self)^.clr := $00000010
  19563. else
  19564. pTDefRegMap(@Self)^.&set := $00000010;
  19565. end;
  19566. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  19567. begin
  19568. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19569. end;
  19570. procedure TOCMP2_OC2CON.setOC32; inline;
  19571. begin
  19572. pTDefRegMap(@Self)^.&set := $00000020;
  19573. end;
  19574. procedure TOCMP2_OC2CON.clearOC32; inline;
  19575. begin
  19576. pTDefRegMap(@Self)^.clr := $00000020;
  19577. end;
  19578. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  19579. begin
  19580. if thebits = 0 then
  19581. pTDefRegMap(@Self)^.clr := $00000020
  19582. else
  19583. pTDefRegMap(@Self)^.&set := $00000020;
  19584. end;
  19585. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  19586. begin
  19587. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19588. end;
  19589. procedure TOCMP2_OC2CON.setSIDL; inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.&set := $00002000;
  19592. end;
  19593. procedure TOCMP2_OC2CON.clearSIDL; inline;
  19594. begin
  19595. pTDefRegMap(@Self)^.clr := $00002000;
  19596. end;
  19597. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  19598. begin
  19599. if thebits = 0 then
  19600. pTDefRegMap(@Self)^.clr := $00002000
  19601. else
  19602. pTDefRegMap(@Self)^.&set := $00002000;
  19603. end;
  19604. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  19605. begin
  19606. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19607. end;
  19608. procedure TOCMP2_OC2CON.setON; inline;
  19609. begin
  19610. pTDefRegMap(@Self)^.&set := $00008000;
  19611. end;
  19612. procedure TOCMP2_OC2CON.clearON; inline;
  19613. begin
  19614. pTDefRegMap(@Self)^.clr := $00008000;
  19615. end;
  19616. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  19617. begin
  19618. if thebits = 0 then
  19619. pTDefRegMap(@Self)^.clr := $00008000
  19620. else
  19621. pTDefRegMap(@Self)^.&set := $00008000;
  19622. end;
  19623. function TOCMP2_OC2CON.getON : TBits_1; inline;
  19624. begin
  19625. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19626. end;
  19627. procedure TOCMP2_OC2CON.setOCM0; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.&set := $00000001;
  19630. end;
  19631. procedure TOCMP2_OC2CON.clearOCM0; inline;
  19632. begin
  19633. pTDefRegMap(@Self)^.clr := $00000001;
  19634. end;
  19635. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  19636. begin
  19637. if thebits = 0 then
  19638. pTDefRegMap(@Self)^.clr := $00000001
  19639. else
  19640. pTDefRegMap(@Self)^.&set := $00000001;
  19641. end;
  19642. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  19643. begin
  19644. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19645. end;
  19646. procedure TOCMP2_OC2CON.setOCM1; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.&set := $00000002;
  19649. end;
  19650. procedure TOCMP2_OC2CON.clearOCM1; inline;
  19651. begin
  19652. pTDefRegMap(@Self)^.clr := $00000002;
  19653. end;
  19654. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  19655. begin
  19656. if thebits = 0 then
  19657. pTDefRegMap(@Self)^.clr := $00000002
  19658. else
  19659. pTDefRegMap(@Self)^.&set := $00000002;
  19660. end;
  19661. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  19662. begin
  19663. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19664. end;
  19665. procedure TOCMP2_OC2CON.setOCM2; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.&set := $00000004;
  19668. end;
  19669. procedure TOCMP2_OC2CON.clearOCM2; inline;
  19670. begin
  19671. pTDefRegMap(@Self)^.clr := $00000004;
  19672. end;
  19673. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  19674. begin
  19675. if thebits = 0 then
  19676. pTDefRegMap(@Self)^.clr := $00000004
  19677. else
  19678. pTDefRegMap(@Self)^.&set := $00000004;
  19679. end;
  19680. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  19681. begin
  19682. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19683. end;
  19684. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.&set := $00002000;
  19687. end;
  19688. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  19689. begin
  19690. pTDefRegMap(@Self)^.clr := $00002000;
  19691. end;
  19692. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  19693. begin
  19694. if thebits = 0 then
  19695. pTDefRegMap(@Self)^.clr := $00002000
  19696. else
  19697. pTDefRegMap(@Self)^.&set := $00002000;
  19698. end;
  19699. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  19700. begin
  19701. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19702. end;
  19703. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  19704. begin
  19705. pTDefRegMap(@Self)^.val := thebits;
  19706. end;
  19707. function TOCMP2_OC2CON.getw : TBits_32; inline;
  19708. begin
  19709. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19710. end;
  19711. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  19712. begin
  19713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19714. end;
  19715. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  19716. begin
  19717. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19718. end;
  19719. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  19720. begin
  19721. pTDefRegMap(@Self)^.&set := $00000008;
  19722. end;
  19723. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  19724. begin
  19725. pTDefRegMap(@Self)^.clr := $00000008;
  19726. end;
  19727. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  19728. begin
  19729. if thebits = 0 then
  19730. pTDefRegMap(@Self)^.clr := $00000008
  19731. else
  19732. pTDefRegMap(@Self)^.&set := $00000008;
  19733. end;
  19734. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  19735. begin
  19736. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19737. end;
  19738. procedure TOCMP3_OC3CON.setOCFLT; inline;
  19739. begin
  19740. pTDefRegMap(@Self)^.&set := $00000010;
  19741. end;
  19742. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.clr := $00000010;
  19745. end;
  19746. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  19747. begin
  19748. if thebits = 0 then
  19749. pTDefRegMap(@Self)^.clr := $00000010
  19750. else
  19751. pTDefRegMap(@Self)^.&set := $00000010;
  19752. end;
  19753. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  19754. begin
  19755. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19756. end;
  19757. procedure TOCMP3_OC3CON.setOC32; inline;
  19758. begin
  19759. pTDefRegMap(@Self)^.&set := $00000020;
  19760. end;
  19761. procedure TOCMP3_OC3CON.clearOC32; inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.clr := $00000020;
  19764. end;
  19765. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  19766. begin
  19767. if thebits = 0 then
  19768. pTDefRegMap(@Self)^.clr := $00000020
  19769. else
  19770. pTDefRegMap(@Self)^.&set := $00000020;
  19771. end;
  19772. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  19773. begin
  19774. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19775. end;
  19776. procedure TOCMP3_OC3CON.setSIDL; inline;
  19777. begin
  19778. pTDefRegMap(@Self)^.&set := $00002000;
  19779. end;
  19780. procedure TOCMP3_OC3CON.clearSIDL; inline;
  19781. begin
  19782. pTDefRegMap(@Self)^.clr := $00002000;
  19783. end;
  19784. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  19785. begin
  19786. if thebits = 0 then
  19787. pTDefRegMap(@Self)^.clr := $00002000
  19788. else
  19789. pTDefRegMap(@Self)^.&set := $00002000;
  19790. end;
  19791. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  19792. begin
  19793. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19794. end;
  19795. procedure TOCMP3_OC3CON.setON; inline;
  19796. begin
  19797. pTDefRegMap(@Self)^.&set := $00008000;
  19798. end;
  19799. procedure TOCMP3_OC3CON.clearON; inline;
  19800. begin
  19801. pTDefRegMap(@Self)^.clr := $00008000;
  19802. end;
  19803. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  19804. begin
  19805. if thebits = 0 then
  19806. pTDefRegMap(@Self)^.clr := $00008000
  19807. else
  19808. pTDefRegMap(@Self)^.&set := $00008000;
  19809. end;
  19810. function TOCMP3_OC3CON.getON : TBits_1; inline;
  19811. begin
  19812. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19813. end;
  19814. procedure TOCMP3_OC3CON.setOCM0; inline;
  19815. begin
  19816. pTDefRegMap(@Self)^.&set := $00000001;
  19817. end;
  19818. procedure TOCMP3_OC3CON.clearOCM0; inline;
  19819. begin
  19820. pTDefRegMap(@Self)^.clr := $00000001;
  19821. end;
  19822. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  19823. begin
  19824. if thebits = 0 then
  19825. pTDefRegMap(@Self)^.clr := $00000001
  19826. else
  19827. pTDefRegMap(@Self)^.&set := $00000001;
  19828. end;
  19829. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  19830. begin
  19831. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19832. end;
  19833. procedure TOCMP3_OC3CON.setOCM1; inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.&set := $00000002;
  19836. end;
  19837. procedure TOCMP3_OC3CON.clearOCM1; inline;
  19838. begin
  19839. pTDefRegMap(@Self)^.clr := $00000002;
  19840. end;
  19841. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  19842. begin
  19843. if thebits = 0 then
  19844. pTDefRegMap(@Self)^.clr := $00000002
  19845. else
  19846. pTDefRegMap(@Self)^.&set := $00000002;
  19847. end;
  19848. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  19849. begin
  19850. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19851. end;
  19852. procedure TOCMP3_OC3CON.setOCM2; inline;
  19853. begin
  19854. pTDefRegMap(@Self)^.&set := $00000004;
  19855. end;
  19856. procedure TOCMP3_OC3CON.clearOCM2; inline;
  19857. begin
  19858. pTDefRegMap(@Self)^.clr := $00000004;
  19859. end;
  19860. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  19861. begin
  19862. if thebits = 0 then
  19863. pTDefRegMap(@Self)^.clr := $00000004
  19864. else
  19865. pTDefRegMap(@Self)^.&set := $00000004;
  19866. end;
  19867. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  19868. begin
  19869. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19870. end;
  19871. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  19872. begin
  19873. pTDefRegMap(@Self)^.&set := $00002000;
  19874. end;
  19875. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  19876. begin
  19877. pTDefRegMap(@Self)^.clr := $00002000;
  19878. end;
  19879. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  19880. begin
  19881. if thebits = 0 then
  19882. pTDefRegMap(@Self)^.clr := $00002000
  19883. else
  19884. pTDefRegMap(@Self)^.&set := $00002000;
  19885. end;
  19886. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  19887. begin
  19888. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19889. end;
  19890. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  19891. begin
  19892. pTDefRegMap(@Self)^.val := thebits;
  19893. end;
  19894. function TOCMP3_OC3CON.getw : TBits_32; inline;
  19895. begin
  19896. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19897. end;
  19898. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  19899. begin
  19900. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  19901. end;
  19902. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  19903. begin
  19904. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  19905. end;
  19906. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  19907. begin
  19908. pTDefRegMap(@Self)^.&set := $00000008;
  19909. end;
  19910. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  19911. begin
  19912. pTDefRegMap(@Self)^.clr := $00000008;
  19913. end;
  19914. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  19915. begin
  19916. if thebits = 0 then
  19917. pTDefRegMap(@Self)^.clr := $00000008
  19918. else
  19919. pTDefRegMap(@Self)^.&set := $00000008;
  19920. end;
  19921. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  19922. begin
  19923. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19924. end;
  19925. procedure TOCMP4_OC4CON.setOCFLT; inline;
  19926. begin
  19927. pTDefRegMap(@Self)^.&set := $00000010;
  19928. end;
  19929. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  19930. begin
  19931. pTDefRegMap(@Self)^.clr := $00000010;
  19932. end;
  19933. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  19934. begin
  19935. if thebits = 0 then
  19936. pTDefRegMap(@Self)^.clr := $00000010
  19937. else
  19938. pTDefRegMap(@Self)^.&set := $00000010;
  19939. end;
  19940. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  19941. begin
  19942. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19943. end;
  19944. procedure TOCMP4_OC4CON.setOC32; inline;
  19945. begin
  19946. pTDefRegMap(@Self)^.&set := $00000020;
  19947. end;
  19948. procedure TOCMP4_OC4CON.clearOC32; inline;
  19949. begin
  19950. pTDefRegMap(@Self)^.clr := $00000020;
  19951. end;
  19952. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  19953. begin
  19954. if thebits = 0 then
  19955. pTDefRegMap(@Self)^.clr := $00000020
  19956. else
  19957. pTDefRegMap(@Self)^.&set := $00000020;
  19958. end;
  19959. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  19960. begin
  19961. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19962. end;
  19963. procedure TOCMP4_OC4CON.setSIDL; inline;
  19964. begin
  19965. pTDefRegMap(@Self)^.&set := $00002000;
  19966. end;
  19967. procedure TOCMP4_OC4CON.clearSIDL; inline;
  19968. begin
  19969. pTDefRegMap(@Self)^.clr := $00002000;
  19970. end;
  19971. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  19972. begin
  19973. if thebits = 0 then
  19974. pTDefRegMap(@Self)^.clr := $00002000
  19975. else
  19976. pTDefRegMap(@Self)^.&set := $00002000;
  19977. end;
  19978. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  19979. begin
  19980. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19981. end;
  19982. procedure TOCMP4_OC4CON.setON; inline;
  19983. begin
  19984. pTDefRegMap(@Self)^.&set := $00008000;
  19985. end;
  19986. procedure TOCMP4_OC4CON.clearON; inline;
  19987. begin
  19988. pTDefRegMap(@Self)^.clr := $00008000;
  19989. end;
  19990. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  19991. begin
  19992. if thebits = 0 then
  19993. pTDefRegMap(@Self)^.clr := $00008000
  19994. else
  19995. pTDefRegMap(@Self)^.&set := $00008000;
  19996. end;
  19997. function TOCMP4_OC4CON.getON : TBits_1; inline;
  19998. begin
  19999. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20000. end;
  20001. procedure TOCMP4_OC4CON.setOCM0; inline;
  20002. begin
  20003. pTDefRegMap(@Self)^.&set := $00000001;
  20004. end;
  20005. procedure TOCMP4_OC4CON.clearOCM0; inline;
  20006. begin
  20007. pTDefRegMap(@Self)^.clr := $00000001;
  20008. end;
  20009. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  20010. begin
  20011. if thebits = 0 then
  20012. pTDefRegMap(@Self)^.clr := $00000001
  20013. else
  20014. pTDefRegMap(@Self)^.&set := $00000001;
  20015. end;
  20016. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  20017. begin
  20018. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20019. end;
  20020. procedure TOCMP4_OC4CON.setOCM1; inline;
  20021. begin
  20022. pTDefRegMap(@Self)^.&set := $00000002;
  20023. end;
  20024. procedure TOCMP4_OC4CON.clearOCM1; inline;
  20025. begin
  20026. pTDefRegMap(@Self)^.clr := $00000002;
  20027. end;
  20028. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  20029. begin
  20030. if thebits = 0 then
  20031. pTDefRegMap(@Self)^.clr := $00000002
  20032. else
  20033. pTDefRegMap(@Self)^.&set := $00000002;
  20034. end;
  20035. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  20036. begin
  20037. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20038. end;
  20039. procedure TOCMP4_OC4CON.setOCM2; inline;
  20040. begin
  20041. pTDefRegMap(@Self)^.&set := $00000004;
  20042. end;
  20043. procedure TOCMP4_OC4CON.clearOCM2; inline;
  20044. begin
  20045. pTDefRegMap(@Self)^.clr := $00000004;
  20046. end;
  20047. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  20048. begin
  20049. if thebits = 0 then
  20050. pTDefRegMap(@Self)^.clr := $00000004
  20051. else
  20052. pTDefRegMap(@Self)^.&set := $00000004;
  20053. end;
  20054. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  20055. begin
  20056. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20057. end;
  20058. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  20059. begin
  20060. pTDefRegMap(@Self)^.&set := $00002000;
  20061. end;
  20062. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  20063. begin
  20064. pTDefRegMap(@Self)^.clr := $00002000;
  20065. end;
  20066. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  20067. begin
  20068. if thebits = 0 then
  20069. pTDefRegMap(@Self)^.clr := $00002000
  20070. else
  20071. pTDefRegMap(@Self)^.&set := $00002000;
  20072. end;
  20073. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  20074. begin
  20075. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20076. end;
  20077. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  20078. begin
  20079. pTDefRegMap(@Self)^.val := thebits;
  20080. end;
  20081. function TOCMP4_OC4CON.getw : TBits_32; inline;
  20082. begin
  20083. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20084. end;
  20085. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  20086. begin
  20087. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  20088. end;
  20089. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  20090. begin
  20091. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  20092. end;
  20093. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  20094. begin
  20095. pTDefRegMap(@Self)^.&set := $00000008;
  20096. end;
  20097. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  20098. begin
  20099. pTDefRegMap(@Self)^.clr := $00000008;
  20100. end;
  20101. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  20102. begin
  20103. if thebits = 0 then
  20104. pTDefRegMap(@Self)^.clr := $00000008
  20105. else
  20106. pTDefRegMap(@Self)^.&set := $00000008;
  20107. end;
  20108. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  20109. begin
  20110. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20111. end;
  20112. procedure TOCMP5_OC5CON.setOCFLT; inline;
  20113. begin
  20114. pTDefRegMap(@Self)^.&set := $00000010;
  20115. end;
  20116. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  20117. begin
  20118. pTDefRegMap(@Self)^.clr := $00000010;
  20119. end;
  20120. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  20121. begin
  20122. if thebits = 0 then
  20123. pTDefRegMap(@Self)^.clr := $00000010
  20124. else
  20125. pTDefRegMap(@Self)^.&set := $00000010;
  20126. end;
  20127. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  20128. begin
  20129. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20130. end;
  20131. procedure TOCMP5_OC5CON.setOC32; inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.&set := $00000020;
  20134. end;
  20135. procedure TOCMP5_OC5CON.clearOC32; inline;
  20136. begin
  20137. pTDefRegMap(@Self)^.clr := $00000020;
  20138. end;
  20139. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  20140. begin
  20141. if thebits = 0 then
  20142. pTDefRegMap(@Self)^.clr := $00000020
  20143. else
  20144. pTDefRegMap(@Self)^.&set := $00000020;
  20145. end;
  20146. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  20147. begin
  20148. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20149. end;
  20150. procedure TOCMP5_OC5CON.setSIDL; inline;
  20151. begin
  20152. pTDefRegMap(@Self)^.&set := $00002000;
  20153. end;
  20154. procedure TOCMP5_OC5CON.clearSIDL; inline;
  20155. begin
  20156. pTDefRegMap(@Self)^.clr := $00002000;
  20157. end;
  20158. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  20159. begin
  20160. if thebits = 0 then
  20161. pTDefRegMap(@Self)^.clr := $00002000
  20162. else
  20163. pTDefRegMap(@Self)^.&set := $00002000;
  20164. end;
  20165. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  20166. begin
  20167. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20168. end;
  20169. procedure TOCMP5_OC5CON.setON; inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.&set := $00008000;
  20172. end;
  20173. procedure TOCMP5_OC5CON.clearON; inline;
  20174. begin
  20175. pTDefRegMap(@Self)^.clr := $00008000;
  20176. end;
  20177. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  20178. begin
  20179. if thebits = 0 then
  20180. pTDefRegMap(@Self)^.clr := $00008000
  20181. else
  20182. pTDefRegMap(@Self)^.&set := $00008000;
  20183. end;
  20184. function TOCMP5_OC5CON.getON : TBits_1; inline;
  20185. begin
  20186. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20187. end;
  20188. procedure TOCMP5_OC5CON.setOCM0; inline;
  20189. begin
  20190. pTDefRegMap(@Self)^.&set := $00000001;
  20191. end;
  20192. procedure TOCMP5_OC5CON.clearOCM0; inline;
  20193. begin
  20194. pTDefRegMap(@Self)^.clr := $00000001;
  20195. end;
  20196. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  20197. begin
  20198. if thebits = 0 then
  20199. pTDefRegMap(@Self)^.clr := $00000001
  20200. else
  20201. pTDefRegMap(@Self)^.&set := $00000001;
  20202. end;
  20203. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  20204. begin
  20205. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20206. end;
  20207. procedure TOCMP5_OC5CON.setOCM1; inline;
  20208. begin
  20209. pTDefRegMap(@Self)^.&set := $00000002;
  20210. end;
  20211. procedure TOCMP5_OC5CON.clearOCM1; inline;
  20212. begin
  20213. pTDefRegMap(@Self)^.clr := $00000002;
  20214. end;
  20215. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  20216. begin
  20217. if thebits = 0 then
  20218. pTDefRegMap(@Self)^.clr := $00000002
  20219. else
  20220. pTDefRegMap(@Self)^.&set := $00000002;
  20221. end;
  20222. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  20223. begin
  20224. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20225. end;
  20226. procedure TOCMP5_OC5CON.setOCM2; inline;
  20227. begin
  20228. pTDefRegMap(@Self)^.&set := $00000004;
  20229. end;
  20230. procedure TOCMP5_OC5CON.clearOCM2; inline;
  20231. begin
  20232. pTDefRegMap(@Self)^.clr := $00000004;
  20233. end;
  20234. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  20235. begin
  20236. if thebits = 0 then
  20237. pTDefRegMap(@Self)^.clr := $00000004
  20238. else
  20239. pTDefRegMap(@Self)^.&set := $00000004;
  20240. end;
  20241. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  20242. begin
  20243. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20244. end;
  20245. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  20246. begin
  20247. pTDefRegMap(@Self)^.&set := $00002000;
  20248. end;
  20249. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  20250. begin
  20251. pTDefRegMap(@Self)^.clr := $00002000;
  20252. end;
  20253. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  20254. begin
  20255. if thebits = 0 then
  20256. pTDefRegMap(@Self)^.clr := $00002000
  20257. else
  20258. pTDefRegMap(@Self)^.&set := $00002000;
  20259. end;
  20260. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  20261. begin
  20262. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20263. end;
  20264. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  20265. begin
  20266. pTDefRegMap(@Self)^.val := thebits;
  20267. end;
  20268. function TOCMP5_OC5CON.getw : TBits_32; inline;
  20269. begin
  20270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20271. end;
  20272. procedure TI2C1A_I2C1ACON.setSEN; inline;
  20273. begin
  20274. pTDefRegMap(@Self)^.&set := $00000001;
  20275. end;
  20276. procedure TI2C1A_I2C1ACON.clearSEN; inline;
  20277. begin
  20278. pTDefRegMap(@Self)^.clr := $00000001;
  20279. end;
  20280. procedure TI2C1A_I2C1ACON.setSEN(thebits : TBits_1); inline;
  20281. begin
  20282. if thebits = 0 then
  20283. pTDefRegMap(@Self)^.clr := $00000001
  20284. else
  20285. pTDefRegMap(@Self)^.&set := $00000001;
  20286. end;
  20287. function TI2C1A_I2C1ACON.getSEN : TBits_1; inline;
  20288. begin
  20289. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20290. end;
  20291. procedure TI2C1A_I2C1ACON.setRSEN; inline;
  20292. begin
  20293. pTDefRegMap(@Self)^.&set := $00000002;
  20294. end;
  20295. procedure TI2C1A_I2C1ACON.clearRSEN; inline;
  20296. begin
  20297. pTDefRegMap(@Self)^.clr := $00000002;
  20298. end;
  20299. procedure TI2C1A_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  20300. begin
  20301. if thebits = 0 then
  20302. pTDefRegMap(@Self)^.clr := $00000002
  20303. else
  20304. pTDefRegMap(@Self)^.&set := $00000002;
  20305. end;
  20306. function TI2C1A_I2C1ACON.getRSEN : TBits_1; inline;
  20307. begin
  20308. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20309. end;
  20310. procedure TI2C1A_I2C1ACON.setPEN; inline;
  20311. begin
  20312. pTDefRegMap(@Self)^.&set := $00000004;
  20313. end;
  20314. procedure TI2C1A_I2C1ACON.clearPEN; inline;
  20315. begin
  20316. pTDefRegMap(@Self)^.clr := $00000004;
  20317. end;
  20318. procedure TI2C1A_I2C1ACON.setPEN(thebits : TBits_1); inline;
  20319. begin
  20320. if thebits = 0 then
  20321. pTDefRegMap(@Self)^.clr := $00000004
  20322. else
  20323. pTDefRegMap(@Self)^.&set := $00000004;
  20324. end;
  20325. function TI2C1A_I2C1ACON.getPEN : TBits_1; inline;
  20326. begin
  20327. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20328. end;
  20329. procedure TI2C1A_I2C1ACON.setRCEN; inline;
  20330. begin
  20331. pTDefRegMap(@Self)^.&set := $00000008;
  20332. end;
  20333. procedure TI2C1A_I2C1ACON.clearRCEN; inline;
  20334. begin
  20335. pTDefRegMap(@Self)^.clr := $00000008;
  20336. end;
  20337. procedure TI2C1A_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  20338. begin
  20339. if thebits = 0 then
  20340. pTDefRegMap(@Self)^.clr := $00000008
  20341. else
  20342. pTDefRegMap(@Self)^.&set := $00000008;
  20343. end;
  20344. function TI2C1A_I2C1ACON.getRCEN : TBits_1; inline;
  20345. begin
  20346. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20347. end;
  20348. procedure TI2C1A_I2C1ACON.setACKEN; inline;
  20349. begin
  20350. pTDefRegMap(@Self)^.&set := $00000010;
  20351. end;
  20352. procedure TI2C1A_I2C1ACON.clearACKEN; inline;
  20353. begin
  20354. pTDefRegMap(@Self)^.clr := $00000010;
  20355. end;
  20356. procedure TI2C1A_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  20357. begin
  20358. if thebits = 0 then
  20359. pTDefRegMap(@Self)^.clr := $00000010
  20360. else
  20361. pTDefRegMap(@Self)^.&set := $00000010;
  20362. end;
  20363. function TI2C1A_I2C1ACON.getACKEN : TBits_1; inline;
  20364. begin
  20365. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20366. end;
  20367. procedure TI2C1A_I2C1ACON.setACKDT; inline;
  20368. begin
  20369. pTDefRegMap(@Self)^.&set := $00000020;
  20370. end;
  20371. procedure TI2C1A_I2C1ACON.clearACKDT; inline;
  20372. begin
  20373. pTDefRegMap(@Self)^.clr := $00000020;
  20374. end;
  20375. procedure TI2C1A_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  20376. begin
  20377. if thebits = 0 then
  20378. pTDefRegMap(@Self)^.clr := $00000020
  20379. else
  20380. pTDefRegMap(@Self)^.&set := $00000020;
  20381. end;
  20382. function TI2C1A_I2C1ACON.getACKDT : TBits_1; inline;
  20383. begin
  20384. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20385. end;
  20386. procedure TI2C1A_I2C1ACON.setSTREN; inline;
  20387. begin
  20388. pTDefRegMap(@Self)^.&set := $00000040;
  20389. end;
  20390. procedure TI2C1A_I2C1ACON.clearSTREN; inline;
  20391. begin
  20392. pTDefRegMap(@Self)^.clr := $00000040;
  20393. end;
  20394. procedure TI2C1A_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  20395. begin
  20396. if thebits = 0 then
  20397. pTDefRegMap(@Self)^.clr := $00000040
  20398. else
  20399. pTDefRegMap(@Self)^.&set := $00000040;
  20400. end;
  20401. function TI2C1A_I2C1ACON.getSTREN : TBits_1; inline;
  20402. begin
  20403. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20404. end;
  20405. procedure TI2C1A_I2C1ACON.setGCEN; inline;
  20406. begin
  20407. pTDefRegMap(@Self)^.&set := $00000080;
  20408. end;
  20409. procedure TI2C1A_I2C1ACON.clearGCEN; inline;
  20410. begin
  20411. pTDefRegMap(@Self)^.clr := $00000080;
  20412. end;
  20413. procedure TI2C1A_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  20414. begin
  20415. if thebits = 0 then
  20416. pTDefRegMap(@Self)^.clr := $00000080
  20417. else
  20418. pTDefRegMap(@Self)^.&set := $00000080;
  20419. end;
  20420. function TI2C1A_I2C1ACON.getGCEN : TBits_1; inline;
  20421. begin
  20422. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20423. end;
  20424. procedure TI2C1A_I2C1ACON.setSMEN; inline;
  20425. begin
  20426. pTDefRegMap(@Self)^.&set := $00000100;
  20427. end;
  20428. procedure TI2C1A_I2C1ACON.clearSMEN; inline;
  20429. begin
  20430. pTDefRegMap(@Self)^.clr := $00000100;
  20431. end;
  20432. procedure TI2C1A_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  20433. begin
  20434. if thebits = 0 then
  20435. pTDefRegMap(@Self)^.clr := $00000100
  20436. else
  20437. pTDefRegMap(@Self)^.&set := $00000100;
  20438. end;
  20439. function TI2C1A_I2C1ACON.getSMEN : TBits_1; inline;
  20440. begin
  20441. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20442. end;
  20443. procedure TI2C1A_I2C1ACON.setDISSLW; inline;
  20444. begin
  20445. pTDefRegMap(@Self)^.&set := $00000200;
  20446. end;
  20447. procedure TI2C1A_I2C1ACON.clearDISSLW; inline;
  20448. begin
  20449. pTDefRegMap(@Self)^.clr := $00000200;
  20450. end;
  20451. procedure TI2C1A_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  20452. begin
  20453. if thebits = 0 then
  20454. pTDefRegMap(@Self)^.clr := $00000200
  20455. else
  20456. pTDefRegMap(@Self)^.&set := $00000200;
  20457. end;
  20458. function TI2C1A_I2C1ACON.getDISSLW : TBits_1; inline;
  20459. begin
  20460. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20461. end;
  20462. procedure TI2C1A_I2C1ACON.setA10M; inline;
  20463. begin
  20464. pTDefRegMap(@Self)^.&set := $00000400;
  20465. end;
  20466. procedure TI2C1A_I2C1ACON.clearA10M; inline;
  20467. begin
  20468. pTDefRegMap(@Self)^.clr := $00000400;
  20469. end;
  20470. procedure TI2C1A_I2C1ACON.setA10M(thebits : TBits_1); inline;
  20471. begin
  20472. if thebits = 0 then
  20473. pTDefRegMap(@Self)^.clr := $00000400
  20474. else
  20475. pTDefRegMap(@Self)^.&set := $00000400;
  20476. end;
  20477. function TI2C1A_I2C1ACON.getA10M : TBits_1; inline;
  20478. begin
  20479. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20480. end;
  20481. procedure TI2C1A_I2C1ACON.setSTRICT; inline;
  20482. begin
  20483. pTDefRegMap(@Self)^.&set := $00000800;
  20484. end;
  20485. procedure TI2C1A_I2C1ACON.clearSTRICT; inline;
  20486. begin
  20487. pTDefRegMap(@Self)^.clr := $00000800;
  20488. end;
  20489. procedure TI2C1A_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  20490. begin
  20491. if thebits = 0 then
  20492. pTDefRegMap(@Self)^.clr := $00000800
  20493. else
  20494. pTDefRegMap(@Self)^.&set := $00000800;
  20495. end;
  20496. function TI2C1A_I2C1ACON.getSTRICT : TBits_1; inline;
  20497. begin
  20498. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20499. end;
  20500. procedure TI2C1A_I2C1ACON.setSCLREL; inline;
  20501. begin
  20502. pTDefRegMap(@Self)^.&set := $00001000;
  20503. end;
  20504. procedure TI2C1A_I2C1ACON.clearSCLREL; inline;
  20505. begin
  20506. pTDefRegMap(@Self)^.clr := $00001000;
  20507. end;
  20508. procedure TI2C1A_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  20509. begin
  20510. if thebits = 0 then
  20511. pTDefRegMap(@Self)^.clr := $00001000
  20512. else
  20513. pTDefRegMap(@Self)^.&set := $00001000;
  20514. end;
  20515. function TI2C1A_I2C1ACON.getSCLREL : TBits_1; inline;
  20516. begin
  20517. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20518. end;
  20519. procedure TI2C1A_I2C1ACON.setSIDL; inline;
  20520. begin
  20521. pTDefRegMap(@Self)^.&set := $00002000;
  20522. end;
  20523. procedure TI2C1A_I2C1ACON.clearSIDL; inline;
  20524. begin
  20525. pTDefRegMap(@Self)^.clr := $00002000;
  20526. end;
  20527. procedure TI2C1A_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  20528. begin
  20529. if thebits = 0 then
  20530. pTDefRegMap(@Self)^.clr := $00002000
  20531. else
  20532. pTDefRegMap(@Self)^.&set := $00002000;
  20533. end;
  20534. function TI2C1A_I2C1ACON.getSIDL : TBits_1; inline;
  20535. begin
  20536. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20537. end;
  20538. procedure TI2C1A_I2C1ACON.setON; inline;
  20539. begin
  20540. pTDefRegMap(@Self)^.&set := $00008000;
  20541. end;
  20542. procedure TI2C1A_I2C1ACON.clearON; inline;
  20543. begin
  20544. pTDefRegMap(@Self)^.clr := $00008000;
  20545. end;
  20546. procedure TI2C1A_I2C1ACON.setON(thebits : TBits_1); inline;
  20547. begin
  20548. if thebits = 0 then
  20549. pTDefRegMap(@Self)^.clr := $00008000
  20550. else
  20551. pTDefRegMap(@Self)^.&set := $00008000;
  20552. end;
  20553. function TI2C1A_I2C1ACON.getON : TBits_1; inline;
  20554. begin
  20555. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20556. end;
  20557. procedure TI2C1A_I2C1ACON.setIPMIEN; inline;
  20558. begin
  20559. pTDefRegMap(@Self)^.&set := $00000800;
  20560. end;
  20561. procedure TI2C1A_I2C1ACON.clearIPMIEN; inline;
  20562. begin
  20563. pTDefRegMap(@Self)^.clr := $00000800;
  20564. end;
  20565. procedure TI2C1A_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  20566. begin
  20567. if thebits = 0 then
  20568. pTDefRegMap(@Self)^.clr := $00000800
  20569. else
  20570. pTDefRegMap(@Self)^.&set := $00000800;
  20571. end;
  20572. function TI2C1A_I2C1ACON.getIPMIEN : TBits_1; inline;
  20573. begin
  20574. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20575. end;
  20576. procedure TI2C1A_I2C1ACON.setI2CSIDL; inline;
  20577. begin
  20578. pTDefRegMap(@Self)^.&set := $00002000;
  20579. end;
  20580. procedure TI2C1A_I2C1ACON.clearI2CSIDL; inline;
  20581. begin
  20582. pTDefRegMap(@Self)^.clr := $00002000;
  20583. end;
  20584. procedure TI2C1A_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  20585. begin
  20586. if thebits = 0 then
  20587. pTDefRegMap(@Self)^.clr := $00002000
  20588. else
  20589. pTDefRegMap(@Self)^.&set := $00002000;
  20590. end;
  20591. function TI2C1A_I2C1ACON.getI2CSIDL : TBits_1; inline;
  20592. begin
  20593. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20594. end;
  20595. procedure TI2C1A_I2C1ACON.setI2CEN; inline;
  20596. begin
  20597. pTDefRegMap(@Self)^.&set := $00008000;
  20598. end;
  20599. procedure TI2C1A_I2C1ACON.clearI2CEN; inline;
  20600. begin
  20601. pTDefRegMap(@Self)^.clr := $00008000;
  20602. end;
  20603. procedure TI2C1A_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  20604. begin
  20605. if thebits = 0 then
  20606. pTDefRegMap(@Self)^.clr := $00008000
  20607. else
  20608. pTDefRegMap(@Self)^.&set := $00008000;
  20609. end;
  20610. function TI2C1A_I2C1ACON.getI2CEN : TBits_1; inline;
  20611. begin
  20612. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20613. end;
  20614. procedure TI2C1A_I2C1ACON.setw(thebits : TBits_32); inline;
  20615. begin
  20616. pTDefRegMap(@Self)^.val := thebits;
  20617. end;
  20618. function TI2C1A_I2C1ACON.getw : TBits_32; inline;
  20619. begin
  20620. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20621. end;
  20622. procedure TI2C1A_I2C3CON.setSEN; inline;
  20623. begin
  20624. pTDefRegMap(@Self)^.&set := $00000001;
  20625. end;
  20626. procedure TI2C1A_I2C3CON.clearSEN; inline;
  20627. begin
  20628. pTDefRegMap(@Self)^.clr := $00000001;
  20629. end;
  20630. procedure TI2C1A_I2C3CON.setSEN(thebits : TBits_1); inline;
  20631. begin
  20632. if thebits = 0 then
  20633. pTDefRegMap(@Self)^.clr := $00000001
  20634. else
  20635. pTDefRegMap(@Self)^.&set := $00000001;
  20636. end;
  20637. function TI2C1A_I2C3CON.getSEN : TBits_1; inline;
  20638. begin
  20639. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20640. end;
  20641. procedure TI2C1A_I2C3CON.setRSEN; inline;
  20642. begin
  20643. pTDefRegMap(@Self)^.&set := $00000002;
  20644. end;
  20645. procedure TI2C1A_I2C3CON.clearRSEN; inline;
  20646. begin
  20647. pTDefRegMap(@Self)^.clr := $00000002;
  20648. end;
  20649. procedure TI2C1A_I2C3CON.setRSEN(thebits : TBits_1); inline;
  20650. begin
  20651. if thebits = 0 then
  20652. pTDefRegMap(@Self)^.clr := $00000002
  20653. else
  20654. pTDefRegMap(@Self)^.&set := $00000002;
  20655. end;
  20656. function TI2C1A_I2C3CON.getRSEN : TBits_1; inline;
  20657. begin
  20658. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20659. end;
  20660. procedure TI2C1A_I2C3CON.setPEN; inline;
  20661. begin
  20662. pTDefRegMap(@Self)^.&set := $00000004;
  20663. end;
  20664. procedure TI2C1A_I2C3CON.clearPEN; inline;
  20665. begin
  20666. pTDefRegMap(@Self)^.clr := $00000004;
  20667. end;
  20668. procedure TI2C1A_I2C3CON.setPEN(thebits : TBits_1); inline;
  20669. begin
  20670. if thebits = 0 then
  20671. pTDefRegMap(@Self)^.clr := $00000004
  20672. else
  20673. pTDefRegMap(@Self)^.&set := $00000004;
  20674. end;
  20675. function TI2C1A_I2C3CON.getPEN : TBits_1; inline;
  20676. begin
  20677. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20678. end;
  20679. procedure TI2C1A_I2C3CON.setRCEN; inline;
  20680. begin
  20681. pTDefRegMap(@Self)^.&set := $00000008;
  20682. end;
  20683. procedure TI2C1A_I2C3CON.clearRCEN; inline;
  20684. begin
  20685. pTDefRegMap(@Self)^.clr := $00000008;
  20686. end;
  20687. procedure TI2C1A_I2C3CON.setRCEN(thebits : TBits_1); inline;
  20688. begin
  20689. if thebits = 0 then
  20690. pTDefRegMap(@Self)^.clr := $00000008
  20691. else
  20692. pTDefRegMap(@Self)^.&set := $00000008;
  20693. end;
  20694. function TI2C1A_I2C3CON.getRCEN : TBits_1; inline;
  20695. begin
  20696. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20697. end;
  20698. procedure TI2C1A_I2C3CON.setACKEN; inline;
  20699. begin
  20700. pTDefRegMap(@Self)^.&set := $00000010;
  20701. end;
  20702. procedure TI2C1A_I2C3CON.clearACKEN; inline;
  20703. begin
  20704. pTDefRegMap(@Self)^.clr := $00000010;
  20705. end;
  20706. procedure TI2C1A_I2C3CON.setACKEN(thebits : TBits_1); inline;
  20707. begin
  20708. if thebits = 0 then
  20709. pTDefRegMap(@Self)^.clr := $00000010
  20710. else
  20711. pTDefRegMap(@Self)^.&set := $00000010;
  20712. end;
  20713. function TI2C1A_I2C3CON.getACKEN : TBits_1; inline;
  20714. begin
  20715. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20716. end;
  20717. procedure TI2C1A_I2C3CON.setACKDT; inline;
  20718. begin
  20719. pTDefRegMap(@Self)^.&set := $00000020;
  20720. end;
  20721. procedure TI2C1A_I2C3CON.clearACKDT; inline;
  20722. begin
  20723. pTDefRegMap(@Self)^.clr := $00000020;
  20724. end;
  20725. procedure TI2C1A_I2C3CON.setACKDT(thebits : TBits_1); inline;
  20726. begin
  20727. if thebits = 0 then
  20728. pTDefRegMap(@Self)^.clr := $00000020
  20729. else
  20730. pTDefRegMap(@Self)^.&set := $00000020;
  20731. end;
  20732. function TI2C1A_I2C3CON.getACKDT : TBits_1; inline;
  20733. begin
  20734. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20735. end;
  20736. procedure TI2C1A_I2C3CON.setSTREN; inline;
  20737. begin
  20738. pTDefRegMap(@Self)^.&set := $00000040;
  20739. end;
  20740. procedure TI2C1A_I2C3CON.clearSTREN; inline;
  20741. begin
  20742. pTDefRegMap(@Self)^.clr := $00000040;
  20743. end;
  20744. procedure TI2C1A_I2C3CON.setSTREN(thebits : TBits_1); inline;
  20745. begin
  20746. if thebits = 0 then
  20747. pTDefRegMap(@Self)^.clr := $00000040
  20748. else
  20749. pTDefRegMap(@Self)^.&set := $00000040;
  20750. end;
  20751. function TI2C1A_I2C3CON.getSTREN : TBits_1; inline;
  20752. begin
  20753. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20754. end;
  20755. procedure TI2C1A_I2C3CON.setGCEN; inline;
  20756. begin
  20757. pTDefRegMap(@Self)^.&set := $00000080;
  20758. end;
  20759. procedure TI2C1A_I2C3CON.clearGCEN; inline;
  20760. begin
  20761. pTDefRegMap(@Self)^.clr := $00000080;
  20762. end;
  20763. procedure TI2C1A_I2C3CON.setGCEN(thebits : TBits_1); inline;
  20764. begin
  20765. if thebits = 0 then
  20766. pTDefRegMap(@Self)^.clr := $00000080
  20767. else
  20768. pTDefRegMap(@Self)^.&set := $00000080;
  20769. end;
  20770. function TI2C1A_I2C3CON.getGCEN : TBits_1; inline;
  20771. begin
  20772. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20773. end;
  20774. procedure TI2C1A_I2C3CON.setSMEN; inline;
  20775. begin
  20776. pTDefRegMap(@Self)^.&set := $00000100;
  20777. end;
  20778. procedure TI2C1A_I2C3CON.clearSMEN; inline;
  20779. begin
  20780. pTDefRegMap(@Self)^.clr := $00000100;
  20781. end;
  20782. procedure TI2C1A_I2C3CON.setSMEN(thebits : TBits_1); inline;
  20783. begin
  20784. if thebits = 0 then
  20785. pTDefRegMap(@Self)^.clr := $00000100
  20786. else
  20787. pTDefRegMap(@Self)^.&set := $00000100;
  20788. end;
  20789. function TI2C1A_I2C3CON.getSMEN : TBits_1; inline;
  20790. begin
  20791. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20792. end;
  20793. procedure TI2C1A_I2C3CON.setDISSLW; inline;
  20794. begin
  20795. pTDefRegMap(@Self)^.&set := $00000200;
  20796. end;
  20797. procedure TI2C1A_I2C3CON.clearDISSLW; inline;
  20798. begin
  20799. pTDefRegMap(@Self)^.clr := $00000200;
  20800. end;
  20801. procedure TI2C1A_I2C3CON.setDISSLW(thebits : TBits_1); inline;
  20802. begin
  20803. if thebits = 0 then
  20804. pTDefRegMap(@Self)^.clr := $00000200
  20805. else
  20806. pTDefRegMap(@Self)^.&set := $00000200;
  20807. end;
  20808. function TI2C1A_I2C3CON.getDISSLW : TBits_1; inline;
  20809. begin
  20810. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20811. end;
  20812. procedure TI2C1A_I2C3CON.setA10M; inline;
  20813. begin
  20814. pTDefRegMap(@Self)^.&set := $00000400;
  20815. end;
  20816. procedure TI2C1A_I2C3CON.clearA10M; inline;
  20817. begin
  20818. pTDefRegMap(@Self)^.clr := $00000400;
  20819. end;
  20820. procedure TI2C1A_I2C3CON.setA10M(thebits : TBits_1); inline;
  20821. begin
  20822. if thebits = 0 then
  20823. pTDefRegMap(@Self)^.clr := $00000400
  20824. else
  20825. pTDefRegMap(@Self)^.&set := $00000400;
  20826. end;
  20827. function TI2C1A_I2C3CON.getA10M : TBits_1; inline;
  20828. begin
  20829. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20830. end;
  20831. procedure TI2C1A_I2C3CON.setSTRICT; inline;
  20832. begin
  20833. pTDefRegMap(@Self)^.&set := $00000800;
  20834. end;
  20835. procedure TI2C1A_I2C3CON.clearSTRICT; inline;
  20836. begin
  20837. pTDefRegMap(@Self)^.clr := $00000800;
  20838. end;
  20839. procedure TI2C1A_I2C3CON.setSTRICT(thebits : TBits_1); inline;
  20840. begin
  20841. if thebits = 0 then
  20842. pTDefRegMap(@Self)^.clr := $00000800
  20843. else
  20844. pTDefRegMap(@Self)^.&set := $00000800;
  20845. end;
  20846. function TI2C1A_I2C3CON.getSTRICT : TBits_1; inline;
  20847. begin
  20848. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20849. end;
  20850. procedure TI2C1A_I2C3CON.setSCLREL; inline;
  20851. begin
  20852. pTDefRegMap(@Self)^.&set := $00001000;
  20853. end;
  20854. procedure TI2C1A_I2C3CON.clearSCLREL; inline;
  20855. begin
  20856. pTDefRegMap(@Self)^.clr := $00001000;
  20857. end;
  20858. procedure TI2C1A_I2C3CON.setSCLREL(thebits : TBits_1); inline;
  20859. begin
  20860. if thebits = 0 then
  20861. pTDefRegMap(@Self)^.clr := $00001000
  20862. else
  20863. pTDefRegMap(@Self)^.&set := $00001000;
  20864. end;
  20865. function TI2C1A_I2C3CON.getSCLREL : TBits_1; inline;
  20866. begin
  20867. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20868. end;
  20869. procedure TI2C1A_I2C3CON.setSIDL; inline;
  20870. begin
  20871. pTDefRegMap(@Self)^.&set := $00002000;
  20872. end;
  20873. procedure TI2C1A_I2C3CON.clearSIDL; inline;
  20874. begin
  20875. pTDefRegMap(@Self)^.clr := $00002000;
  20876. end;
  20877. procedure TI2C1A_I2C3CON.setSIDL(thebits : TBits_1); inline;
  20878. begin
  20879. if thebits = 0 then
  20880. pTDefRegMap(@Self)^.clr := $00002000
  20881. else
  20882. pTDefRegMap(@Self)^.&set := $00002000;
  20883. end;
  20884. function TI2C1A_I2C3CON.getSIDL : TBits_1; inline;
  20885. begin
  20886. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20887. end;
  20888. procedure TI2C1A_I2C3CON.setON; inline;
  20889. begin
  20890. pTDefRegMap(@Self)^.&set := $00008000;
  20891. end;
  20892. procedure TI2C1A_I2C3CON.clearON; inline;
  20893. begin
  20894. pTDefRegMap(@Self)^.clr := $00008000;
  20895. end;
  20896. procedure TI2C1A_I2C3CON.setON(thebits : TBits_1); inline;
  20897. begin
  20898. if thebits = 0 then
  20899. pTDefRegMap(@Self)^.clr := $00008000
  20900. else
  20901. pTDefRegMap(@Self)^.&set := $00008000;
  20902. end;
  20903. function TI2C1A_I2C3CON.getON : TBits_1; inline;
  20904. begin
  20905. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20906. end;
  20907. procedure TI2C1A_I2C3CON.setIPMIEN; inline;
  20908. begin
  20909. pTDefRegMap(@Self)^.&set := $00000800;
  20910. end;
  20911. procedure TI2C1A_I2C3CON.clearIPMIEN; inline;
  20912. begin
  20913. pTDefRegMap(@Self)^.clr := $00000800;
  20914. end;
  20915. procedure TI2C1A_I2C3CON.setIPMIEN(thebits : TBits_1); inline;
  20916. begin
  20917. if thebits = 0 then
  20918. pTDefRegMap(@Self)^.clr := $00000800
  20919. else
  20920. pTDefRegMap(@Self)^.&set := $00000800;
  20921. end;
  20922. function TI2C1A_I2C3CON.getIPMIEN : TBits_1; inline;
  20923. begin
  20924. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20925. end;
  20926. procedure TI2C1A_I2C3CON.setI2CSIDL; inline;
  20927. begin
  20928. pTDefRegMap(@Self)^.&set := $00002000;
  20929. end;
  20930. procedure TI2C1A_I2C3CON.clearI2CSIDL; inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.clr := $00002000;
  20933. end;
  20934. procedure TI2C1A_I2C3CON.setI2CSIDL(thebits : TBits_1); inline;
  20935. begin
  20936. if thebits = 0 then
  20937. pTDefRegMap(@Self)^.clr := $00002000
  20938. else
  20939. pTDefRegMap(@Self)^.&set := $00002000;
  20940. end;
  20941. function TI2C1A_I2C3CON.getI2CSIDL : TBits_1; inline;
  20942. begin
  20943. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20944. end;
  20945. procedure TI2C1A_I2C3CON.setI2CEN; inline;
  20946. begin
  20947. pTDefRegMap(@Self)^.&set := $00008000;
  20948. end;
  20949. procedure TI2C1A_I2C3CON.clearI2CEN; inline;
  20950. begin
  20951. pTDefRegMap(@Self)^.clr := $00008000;
  20952. end;
  20953. procedure TI2C1A_I2C3CON.setI2CEN(thebits : TBits_1); inline;
  20954. begin
  20955. if thebits = 0 then
  20956. pTDefRegMap(@Self)^.clr := $00008000
  20957. else
  20958. pTDefRegMap(@Self)^.&set := $00008000;
  20959. end;
  20960. function TI2C1A_I2C3CON.getI2CEN : TBits_1; inline;
  20961. begin
  20962. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20963. end;
  20964. procedure TI2C1A_I2C3CON.setw(thebits : TBits_32); inline;
  20965. begin
  20966. pTDefRegMap(@Self)^.val := thebits;
  20967. end;
  20968. function TI2C1A_I2C3CON.getw : TBits_32; inline;
  20969. begin
  20970. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20971. end;
  20972. procedure TI2C1A_I2C1ASTAT.setTBF; inline;
  20973. begin
  20974. pTDefRegMap(@Self)^.&set := $00000001;
  20975. end;
  20976. procedure TI2C1A_I2C1ASTAT.clearTBF; inline;
  20977. begin
  20978. pTDefRegMap(@Self)^.clr := $00000001;
  20979. end;
  20980. procedure TI2C1A_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  20981. begin
  20982. if thebits = 0 then
  20983. pTDefRegMap(@Self)^.clr := $00000001
  20984. else
  20985. pTDefRegMap(@Self)^.&set := $00000001;
  20986. end;
  20987. function TI2C1A_I2C1ASTAT.getTBF : TBits_1; inline;
  20988. begin
  20989. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20990. end;
  20991. procedure TI2C1A_I2C1ASTAT.setRBF; inline;
  20992. begin
  20993. pTDefRegMap(@Self)^.&set := $00000002;
  20994. end;
  20995. procedure TI2C1A_I2C1ASTAT.clearRBF; inline;
  20996. begin
  20997. pTDefRegMap(@Self)^.clr := $00000002;
  20998. end;
  20999. procedure TI2C1A_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  21000. begin
  21001. if thebits = 0 then
  21002. pTDefRegMap(@Self)^.clr := $00000002
  21003. else
  21004. pTDefRegMap(@Self)^.&set := $00000002;
  21005. end;
  21006. function TI2C1A_I2C1ASTAT.getRBF : TBits_1; inline;
  21007. begin
  21008. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21009. end;
  21010. procedure TI2C1A_I2C1ASTAT.setR_W; inline;
  21011. begin
  21012. pTDefRegMap(@Self)^.&set := $00000004;
  21013. end;
  21014. procedure TI2C1A_I2C1ASTAT.clearR_W; inline;
  21015. begin
  21016. pTDefRegMap(@Self)^.clr := $00000004;
  21017. end;
  21018. procedure TI2C1A_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  21019. begin
  21020. if thebits = 0 then
  21021. pTDefRegMap(@Self)^.clr := $00000004
  21022. else
  21023. pTDefRegMap(@Self)^.&set := $00000004;
  21024. end;
  21025. function TI2C1A_I2C1ASTAT.getR_W : TBits_1; inline;
  21026. begin
  21027. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21028. end;
  21029. procedure TI2C1A_I2C1ASTAT.setS; inline;
  21030. begin
  21031. pTDefRegMap(@Self)^.&set := $00000008;
  21032. end;
  21033. procedure TI2C1A_I2C1ASTAT.clearS; inline;
  21034. begin
  21035. pTDefRegMap(@Self)^.clr := $00000008;
  21036. end;
  21037. procedure TI2C1A_I2C1ASTAT.setS(thebits : TBits_1); inline;
  21038. begin
  21039. if thebits = 0 then
  21040. pTDefRegMap(@Self)^.clr := $00000008
  21041. else
  21042. pTDefRegMap(@Self)^.&set := $00000008;
  21043. end;
  21044. function TI2C1A_I2C1ASTAT.getS : TBits_1; inline;
  21045. begin
  21046. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21047. end;
  21048. procedure TI2C1A_I2C1ASTAT.setP; inline;
  21049. begin
  21050. pTDefRegMap(@Self)^.&set := $00000010;
  21051. end;
  21052. procedure TI2C1A_I2C1ASTAT.clearP; inline;
  21053. begin
  21054. pTDefRegMap(@Self)^.clr := $00000010;
  21055. end;
  21056. procedure TI2C1A_I2C1ASTAT.setP(thebits : TBits_1); inline;
  21057. begin
  21058. if thebits = 0 then
  21059. pTDefRegMap(@Self)^.clr := $00000010
  21060. else
  21061. pTDefRegMap(@Self)^.&set := $00000010;
  21062. end;
  21063. function TI2C1A_I2C1ASTAT.getP : TBits_1; inline;
  21064. begin
  21065. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21066. end;
  21067. procedure TI2C1A_I2C1ASTAT.setD_A; inline;
  21068. begin
  21069. pTDefRegMap(@Self)^.&set := $00000020;
  21070. end;
  21071. procedure TI2C1A_I2C1ASTAT.clearD_A; inline;
  21072. begin
  21073. pTDefRegMap(@Self)^.clr := $00000020;
  21074. end;
  21075. procedure TI2C1A_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  21076. begin
  21077. if thebits = 0 then
  21078. pTDefRegMap(@Self)^.clr := $00000020
  21079. else
  21080. pTDefRegMap(@Self)^.&set := $00000020;
  21081. end;
  21082. function TI2C1A_I2C1ASTAT.getD_A : TBits_1; inline;
  21083. begin
  21084. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21085. end;
  21086. procedure TI2C1A_I2C1ASTAT.setI2COV; inline;
  21087. begin
  21088. pTDefRegMap(@Self)^.&set := $00000040;
  21089. end;
  21090. procedure TI2C1A_I2C1ASTAT.clearI2COV; inline;
  21091. begin
  21092. pTDefRegMap(@Self)^.clr := $00000040;
  21093. end;
  21094. procedure TI2C1A_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  21095. begin
  21096. if thebits = 0 then
  21097. pTDefRegMap(@Self)^.clr := $00000040
  21098. else
  21099. pTDefRegMap(@Self)^.&set := $00000040;
  21100. end;
  21101. function TI2C1A_I2C1ASTAT.getI2COV : TBits_1; inline;
  21102. begin
  21103. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21104. end;
  21105. procedure TI2C1A_I2C1ASTAT.setIWCOL; inline;
  21106. begin
  21107. pTDefRegMap(@Self)^.&set := $00000080;
  21108. end;
  21109. procedure TI2C1A_I2C1ASTAT.clearIWCOL; inline;
  21110. begin
  21111. pTDefRegMap(@Self)^.clr := $00000080;
  21112. end;
  21113. procedure TI2C1A_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  21114. begin
  21115. if thebits = 0 then
  21116. pTDefRegMap(@Self)^.clr := $00000080
  21117. else
  21118. pTDefRegMap(@Self)^.&set := $00000080;
  21119. end;
  21120. function TI2C1A_I2C1ASTAT.getIWCOL : TBits_1; inline;
  21121. begin
  21122. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21123. end;
  21124. procedure TI2C1A_I2C1ASTAT.setADD10; inline;
  21125. begin
  21126. pTDefRegMap(@Self)^.&set := $00000100;
  21127. end;
  21128. procedure TI2C1A_I2C1ASTAT.clearADD10; inline;
  21129. begin
  21130. pTDefRegMap(@Self)^.clr := $00000100;
  21131. end;
  21132. procedure TI2C1A_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  21133. begin
  21134. if thebits = 0 then
  21135. pTDefRegMap(@Self)^.clr := $00000100
  21136. else
  21137. pTDefRegMap(@Self)^.&set := $00000100;
  21138. end;
  21139. function TI2C1A_I2C1ASTAT.getADD10 : TBits_1; inline;
  21140. begin
  21141. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21142. end;
  21143. procedure TI2C1A_I2C1ASTAT.setGCSTAT; inline;
  21144. begin
  21145. pTDefRegMap(@Self)^.&set := $00000200;
  21146. end;
  21147. procedure TI2C1A_I2C1ASTAT.clearGCSTAT; inline;
  21148. begin
  21149. pTDefRegMap(@Self)^.clr := $00000200;
  21150. end;
  21151. procedure TI2C1A_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  21152. begin
  21153. if thebits = 0 then
  21154. pTDefRegMap(@Self)^.clr := $00000200
  21155. else
  21156. pTDefRegMap(@Self)^.&set := $00000200;
  21157. end;
  21158. function TI2C1A_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  21159. begin
  21160. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21161. end;
  21162. procedure TI2C1A_I2C1ASTAT.setBCL; inline;
  21163. begin
  21164. pTDefRegMap(@Self)^.&set := $00000400;
  21165. end;
  21166. procedure TI2C1A_I2C1ASTAT.clearBCL; inline;
  21167. begin
  21168. pTDefRegMap(@Self)^.clr := $00000400;
  21169. end;
  21170. procedure TI2C1A_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  21171. begin
  21172. if thebits = 0 then
  21173. pTDefRegMap(@Self)^.clr := $00000400
  21174. else
  21175. pTDefRegMap(@Self)^.&set := $00000400;
  21176. end;
  21177. function TI2C1A_I2C1ASTAT.getBCL : TBits_1; inline;
  21178. begin
  21179. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21180. end;
  21181. procedure TI2C1A_I2C1ASTAT.setTRSTAT; inline;
  21182. begin
  21183. pTDefRegMap(@Self)^.&set := $00004000;
  21184. end;
  21185. procedure TI2C1A_I2C1ASTAT.clearTRSTAT; inline;
  21186. begin
  21187. pTDefRegMap(@Self)^.clr := $00004000;
  21188. end;
  21189. procedure TI2C1A_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  21190. begin
  21191. if thebits = 0 then
  21192. pTDefRegMap(@Self)^.clr := $00004000
  21193. else
  21194. pTDefRegMap(@Self)^.&set := $00004000;
  21195. end;
  21196. function TI2C1A_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  21197. begin
  21198. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21199. end;
  21200. procedure TI2C1A_I2C1ASTAT.setACKSTAT; inline;
  21201. begin
  21202. pTDefRegMap(@Self)^.&set := $00008000;
  21203. end;
  21204. procedure TI2C1A_I2C1ASTAT.clearACKSTAT; inline;
  21205. begin
  21206. pTDefRegMap(@Self)^.clr := $00008000;
  21207. end;
  21208. procedure TI2C1A_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  21209. begin
  21210. if thebits = 0 then
  21211. pTDefRegMap(@Self)^.clr := $00008000
  21212. else
  21213. pTDefRegMap(@Self)^.&set := $00008000;
  21214. end;
  21215. function TI2C1A_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  21216. begin
  21217. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21218. end;
  21219. procedure TI2C1A_I2C1ASTAT.setI2CPOV; inline;
  21220. begin
  21221. pTDefRegMap(@Self)^.&set := $00000040;
  21222. end;
  21223. procedure TI2C1A_I2C1ASTAT.clearI2CPOV; inline;
  21224. begin
  21225. pTDefRegMap(@Self)^.clr := $00000040;
  21226. end;
  21227. procedure TI2C1A_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  21228. begin
  21229. if thebits = 0 then
  21230. pTDefRegMap(@Self)^.clr := $00000040
  21231. else
  21232. pTDefRegMap(@Self)^.&set := $00000040;
  21233. end;
  21234. function TI2C1A_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  21235. begin
  21236. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21237. end;
  21238. procedure TI2C1A_I2C1ASTAT.setw(thebits : TBits_32); inline;
  21239. begin
  21240. pTDefRegMap(@Self)^.val := thebits;
  21241. end;
  21242. function TI2C1A_I2C1ASTAT.getw : TBits_32; inline;
  21243. begin
  21244. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21245. end;
  21246. procedure TI2C1A_I2C3STAT.setTBF; inline;
  21247. begin
  21248. pTDefRegMap(@Self)^.&set := $00000001;
  21249. end;
  21250. procedure TI2C1A_I2C3STAT.clearTBF; inline;
  21251. begin
  21252. pTDefRegMap(@Self)^.clr := $00000001;
  21253. end;
  21254. procedure TI2C1A_I2C3STAT.setTBF(thebits : TBits_1); inline;
  21255. begin
  21256. if thebits = 0 then
  21257. pTDefRegMap(@Self)^.clr := $00000001
  21258. else
  21259. pTDefRegMap(@Self)^.&set := $00000001;
  21260. end;
  21261. function TI2C1A_I2C3STAT.getTBF : TBits_1; inline;
  21262. begin
  21263. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21264. end;
  21265. procedure TI2C1A_I2C3STAT.setRBF; inline;
  21266. begin
  21267. pTDefRegMap(@Self)^.&set := $00000002;
  21268. end;
  21269. procedure TI2C1A_I2C3STAT.clearRBF; inline;
  21270. begin
  21271. pTDefRegMap(@Self)^.clr := $00000002;
  21272. end;
  21273. procedure TI2C1A_I2C3STAT.setRBF(thebits : TBits_1); inline;
  21274. begin
  21275. if thebits = 0 then
  21276. pTDefRegMap(@Self)^.clr := $00000002
  21277. else
  21278. pTDefRegMap(@Self)^.&set := $00000002;
  21279. end;
  21280. function TI2C1A_I2C3STAT.getRBF : TBits_1; inline;
  21281. begin
  21282. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21283. end;
  21284. procedure TI2C1A_I2C3STAT.setR_W; inline;
  21285. begin
  21286. pTDefRegMap(@Self)^.&set := $00000004;
  21287. end;
  21288. procedure TI2C1A_I2C3STAT.clearR_W; inline;
  21289. begin
  21290. pTDefRegMap(@Self)^.clr := $00000004;
  21291. end;
  21292. procedure TI2C1A_I2C3STAT.setR_W(thebits : TBits_1); inline;
  21293. begin
  21294. if thebits = 0 then
  21295. pTDefRegMap(@Self)^.clr := $00000004
  21296. else
  21297. pTDefRegMap(@Self)^.&set := $00000004;
  21298. end;
  21299. function TI2C1A_I2C3STAT.getR_W : TBits_1; inline;
  21300. begin
  21301. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21302. end;
  21303. procedure TI2C1A_I2C3STAT.setS; inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.&set := $00000008;
  21306. end;
  21307. procedure TI2C1A_I2C3STAT.clearS; inline;
  21308. begin
  21309. pTDefRegMap(@Self)^.clr := $00000008;
  21310. end;
  21311. procedure TI2C1A_I2C3STAT.setS(thebits : TBits_1); inline;
  21312. begin
  21313. if thebits = 0 then
  21314. pTDefRegMap(@Self)^.clr := $00000008
  21315. else
  21316. pTDefRegMap(@Self)^.&set := $00000008;
  21317. end;
  21318. function TI2C1A_I2C3STAT.getS : TBits_1; inline;
  21319. begin
  21320. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21321. end;
  21322. procedure TI2C1A_I2C3STAT.setP; inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.&set := $00000010;
  21325. end;
  21326. procedure TI2C1A_I2C3STAT.clearP; inline;
  21327. begin
  21328. pTDefRegMap(@Self)^.clr := $00000010;
  21329. end;
  21330. procedure TI2C1A_I2C3STAT.setP(thebits : TBits_1); inline;
  21331. begin
  21332. if thebits = 0 then
  21333. pTDefRegMap(@Self)^.clr := $00000010
  21334. else
  21335. pTDefRegMap(@Self)^.&set := $00000010;
  21336. end;
  21337. function TI2C1A_I2C3STAT.getP : TBits_1; inline;
  21338. begin
  21339. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21340. end;
  21341. procedure TI2C1A_I2C3STAT.setD_A; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.&set := $00000020;
  21344. end;
  21345. procedure TI2C1A_I2C3STAT.clearD_A; inline;
  21346. begin
  21347. pTDefRegMap(@Self)^.clr := $00000020;
  21348. end;
  21349. procedure TI2C1A_I2C3STAT.setD_A(thebits : TBits_1); inline;
  21350. begin
  21351. if thebits = 0 then
  21352. pTDefRegMap(@Self)^.clr := $00000020
  21353. else
  21354. pTDefRegMap(@Self)^.&set := $00000020;
  21355. end;
  21356. function TI2C1A_I2C3STAT.getD_A : TBits_1; inline;
  21357. begin
  21358. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21359. end;
  21360. procedure TI2C1A_I2C3STAT.setI2COV; inline;
  21361. begin
  21362. pTDefRegMap(@Self)^.&set := $00000040;
  21363. end;
  21364. procedure TI2C1A_I2C3STAT.clearI2COV; inline;
  21365. begin
  21366. pTDefRegMap(@Self)^.clr := $00000040;
  21367. end;
  21368. procedure TI2C1A_I2C3STAT.setI2COV(thebits : TBits_1); inline;
  21369. begin
  21370. if thebits = 0 then
  21371. pTDefRegMap(@Self)^.clr := $00000040
  21372. else
  21373. pTDefRegMap(@Self)^.&set := $00000040;
  21374. end;
  21375. function TI2C1A_I2C3STAT.getI2COV : TBits_1; inline;
  21376. begin
  21377. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21378. end;
  21379. procedure TI2C1A_I2C3STAT.setIWCOL; inline;
  21380. begin
  21381. pTDefRegMap(@Self)^.&set := $00000080;
  21382. end;
  21383. procedure TI2C1A_I2C3STAT.clearIWCOL; inline;
  21384. begin
  21385. pTDefRegMap(@Self)^.clr := $00000080;
  21386. end;
  21387. procedure TI2C1A_I2C3STAT.setIWCOL(thebits : TBits_1); inline;
  21388. begin
  21389. if thebits = 0 then
  21390. pTDefRegMap(@Self)^.clr := $00000080
  21391. else
  21392. pTDefRegMap(@Self)^.&set := $00000080;
  21393. end;
  21394. function TI2C1A_I2C3STAT.getIWCOL : TBits_1; inline;
  21395. begin
  21396. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21397. end;
  21398. procedure TI2C1A_I2C3STAT.setADD10; inline;
  21399. begin
  21400. pTDefRegMap(@Self)^.&set := $00000100;
  21401. end;
  21402. procedure TI2C1A_I2C3STAT.clearADD10; inline;
  21403. begin
  21404. pTDefRegMap(@Self)^.clr := $00000100;
  21405. end;
  21406. procedure TI2C1A_I2C3STAT.setADD10(thebits : TBits_1); inline;
  21407. begin
  21408. if thebits = 0 then
  21409. pTDefRegMap(@Self)^.clr := $00000100
  21410. else
  21411. pTDefRegMap(@Self)^.&set := $00000100;
  21412. end;
  21413. function TI2C1A_I2C3STAT.getADD10 : TBits_1; inline;
  21414. begin
  21415. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21416. end;
  21417. procedure TI2C1A_I2C3STAT.setGCSTAT; inline;
  21418. begin
  21419. pTDefRegMap(@Self)^.&set := $00000200;
  21420. end;
  21421. procedure TI2C1A_I2C3STAT.clearGCSTAT; inline;
  21422. begin
  21423. pTDefRegMap(@Self)^.clr := $00000200;
  21424. end;
  21425. procedure TI2C1A_I2C3STAT.setGCSTAT(thebits : TBits_1); inline;
  21426. begin
  21427. if thebits = 0 then
  21428. pTDefRegMap(@Self)^.clr := $00000200
  21429. else
  21430. pTDefRegMap(@Self)^.&set := $00000200;
  21431. end;
  21432. function TI2C1A_I2C3STAT.getGCSTAT : TBits_1; inline;
  21433. begin
  21434. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21435. end;
  21436. procedure TI2C1A_I2C3STAT.setBCL; inline;
  21437. begin
  21438. pTDefRegMap(@Self)^.&set := $00000400;
  21439. end;
  21440. procedure TI2C1A_I2C3STAT.clearBCL; inline;
  21441. begin
  21442. pTDefRegMap(@Self)^.clr := $00000400;
  21443. end;
  21444. procedure TI2C1A_I2C3STAT.setBCL(thebits : TBits_1); inline;
  21445. begin
  21446. if thebits = 0 then
  21447. pTDefRegMap(@Self)^.clr := $00000400
  21448. else
  21449. pTDefRegMap(@Self)^.&set := $00000400;
  21450. end;
  21451. function TI2C1A_I2C3STAT.getBCL : TBits_1; inline;
  21452. begin
  21453. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21454. end;
  21455. procedure TI2C1A_I2C3STAT.setTRSTAT; inline;
  21456. begin
  21457. pTDefRegMap(@Self)^.&set := $00004000;
  21458. end;
  21459. procedure TI2C1A_I2C3STAT.clearTRSTAT; inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.clr := $00004000;
  21462. end;
  21463. procedure TI2C1A_I2C3STAT.setTRSTAT(thebits : TBits_1); inline;
  21464. begin
  21465. if thebits = 0 then
  21466. pTDefRegMap(@Self)^.clr := $00004000
  21467. else
  21468. pTDefRegMap(@Self)^.&set := $00004000;
  21469. end;
  21470. function TI2C1A_I2C3STAT.getTRSTAT : TBits_1; inline;
  21471. begin
  21472. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21473. end;
  21474. procedure TI2C1A_I2C3STAT.setACKSTAT; inline;
  21475. begin
  21476. pTDefRegMap(@Self)^.&set := $00008000;
  21477. end;
  21478. procedure TI2C1A_I2C3STAT.clearACKSTAT; inline;
  21479. begin
  21480. pTDefRegMap(@Self)^.clr := $00008000;
  21481. end;
  21482. procedure TI2C1A_I2C3STAT.setACKSTAT(thebits : TBits_1); inline;
  21483. begin
  21484. if thebits = 0 then
  21485. pTDefRegMap(@Self)^.clr := $00008000
  21486. else
  21487. pTDefRegMap(@Self)^.&set := $00008000;
  21488. end;
  21489. function TI2C1A_I2C3STAT.getACKSTAT : TBits_1; inline;
  21490. begin
  21491. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21492. end;
  21493. procedure TI2C1A_I2C3STAT.setI2CPOV; inline;
  21494. begin
  21495. pTDefRegMap(@Self)^.&set := $00000040;
  21496. end;
  21497. procedure TI2C1A_I2C3STAT.clearI2CPOV; inline;
  21498. begin
  21499. pTDefRegMap(@Self)^.clr := $00000040;
  21500. end;
  21501. procedure TI2C1A_I2C3STAT.setI2CPOV(thebits : TBits_1); inline;
  21502. begin
  21503. if thebits = 0 then
  21504. pTDefRegMap(@Self)^.clr := $00000040
  21505. else
  21506. pTDefRegMap(@Self)^.&set := $00000040;
  21507. end;
  21508. function TI2C1A_I2C3STAT.getI2CPOV : TBits_1; inline;
  21509. begin
  21510. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21511. end;
  21512. procedure TI2C1A_I2C3STAT.setw(thebits : TBits_32); inline;
  21513. begin
  21514. pTDefRegMap(@Self)^.val := thebits;
  21515. end;
  21516. function TI2C1A_I2C3STAT.getw : TBits_32; inline;
  21517. begin
  21518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21519. end;
  21520. procedure TI2C2A_I2C2ACON.setSEN; inline;
  21521. begin
  21522. pTDefRegMap(@Self)^.&set := $00000001;
  21523. end;
  21524. procedure TI2C2A_I2C2ACON.clearSEN; inline;
  21525. begin
  21526. pTDefRegMap(@Self)^.clr := $00000001;
  21527. end;
  21528. procedure TI2C2A_I2C2ACON.setSEN(thebits : TBits_1); inline;
  21529. begin
  21530. if thebits = 0 then
  21531. pTDefRegMap(@Self)^.clr := $00000001
  21532. else
  21533. pTDefRegMap(@Self)^.&set := $00000001;
  21534. end;
  21535. function TI2C2A_I2C2ACON.getSEN : TBits_1; inline;
  21536. begin
  21537. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21538. end;
  21539. procedure TI2C2A_I2C2ACON.setRSEN; inline;
  21540. begin
  21541. pTDefRegMap(@Self)^.&set := $00000002;
  21542. end;
  21543. procedure TI2C2A_I2C2ACON.clearRSEN; inline;
  21544. begin
  21545. pTDefRegMap(@Self)^.clr := $00000002;
  21546. end;
  21547. procedure TI2C2A_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  21548. begin
  21549. if thebits = 0 then
  21550. pTDefRegMap(@Self)^.clr := $00000002
  21551. else
  21552. pTDefRegMap(@Self)^.&set := $00000002;
  21553. end;
  21554. function TI2C2A_I2C2ACON.getRSEN : TBits_1; inline;
  21555. begin
  21556. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21557. end;
  21558. procedure TI2C2A_I2C2ACON.setPEN; inline;
  21559. begin
  21560. pTDefRegMap(@Self)^.&set := $00000004;
  21561. end;
  21562. procedure TI2C2A_I2C2ACON.clearPEN; inline;
  21563. begin
  21564. pTDefRegMap(@Self)^.clr := $00000004;
  21565. end;
  21566. procedure TI2C2A_I2C2ACON.setPEN(thebits : TBits_1); inline;
  21567. begin
  21568. if thebits = 0 then
  21569. pTDefRegMap(@Self)^.clr := $00000004
  21570. else
  21571. pTDefRegMap(@Self)^.&set := $00000004;
  21572. end;
  21573. function TI2C2A_I2C2ACON.getPEN : TBits_1; inline;
  21574. begin
  21575. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21576. end;
  21577. procedure TI2C2A_I2C2ACON.setRCEN; inline;
  21578. begin
  21579. pTDefRegMap(@Self)^.&set := $00000008;
  21580. end;
  21581. procedure TI2C2A_I2C2ACON.clearRCEN; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.clr := $00000008;
  21584. end;
  21585. procedure TI2C2A_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  21586. begin
  21587. if thebits = 0 then
  21588. pTDefRegMap(@Self)^.clr := $00000008
  21589. else
  21590. pTDefRegMap(@Self)^.&set := $00000008;
  21591. end;
  21592. function TI2C2A_I2C2ACON.getRCEN : TBits_1; inline;
  21593. begin
  21594. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21595. end;
  21596. procedure TI2C2A_I2C2ACON.setACKEN; inline;
  21597. begin
  21598. pTDefRegMap(@Self)^.&set := $00000010;
  21599. end;
  21600. procedure TI2C2A_I2C2ACON.clearACKEN; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.clr := $00000010;
  21603. end;
  21604. procedure TI2C2A_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  21605. begin
  21606. if thebits = 0 then
  21607. pTDefRegMap(@Self)^.clr := $00000010
  21608. else
  21609. pTDefRegMap(@Self)^.&set := $00000010;
  21610. end;
  21611. function TI2C2A_I2C2ACON.getACKEN : TBits_1; inline;
  21612. begin
  21613. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21614. end;
  21615. procedure TI2C2A_I2C2ACON.setACKDT; inline;
  21616. begin
  21617. pTDefRegMap(@Self)^.&set := $00000020;
  21618. end;
  21619. procedure TI2C2A_I2C2ACON.clearACKDT; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.clr := $00000020;
  21622. end;
  21623. procedure TI2C2A_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  21624. begin
  21625. if thebits = 0 then
  21626. pTDefRegMap(@Self)^.clr := $00000020
  21627. else
  21628. pTDefRegMap(@Self)^.&set := $00000020;
  21629. end;
  21630. function TI2C2A_I2C2ACON.getACKDT : TBits_1; inline;
  21631. begin
  21632. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21633. end;
  21634. procedure TI2C2A_I2C2ACON.setSTREN; inline;
  21635. begin
  21636. pTDefRegMap(@Self)^.&set := $00000040;
  21637. end;
  21638. procedure TI2C2A_I2C2ACON.clearSTREN; inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.clr := $00000040;
  21641. end;
  21642. procedure TI2C2A_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  21643. begin
  21644. if thebits = 0 then
  21645. pTDefRegMap(@Self)^.clr := $00000040
  21646. else
  21647. pTDefRegMap(@Self)^.&set := $00000040;
  21648. end;
  21649. function TI2C2A_I2C2ACON.getSTREN : TBits_1; inline;
  21650. begin
  21651. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21652. end;
  21653. procedure TI2C2A_I2C2ACON.setGCEN; inline;
  21654. begin
  21655. pTDefRegMap(@Self)^.&set := $00000080;
  21656. end;
  21657. procedure TI2C2A_I2C2ACON.clearGCEN; inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.clr := $00000080;
  21660. end;
  21661. procedure TI2C2A_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  21662. begin
  21663. if thebits = 0 then
  21664. pTDefRegMap(@Self)^.clr := $00000080
  21665. else
  21666. pTDefRegMap(@Self)^.&set := $00000080;
  21667. end;
  21668. function TI2C2A_I2C2ACON.getGCEN : TBits_1; inline;
  21669. begin
  21670. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21671. end;
  21672. procedure TI2C2A_I2C2ACON.setSMEN; inline;
  21673. begin
  21674. pTDefRegMap(@Self)^.&set := $00000100;
  21675. end;
  21676. procedure TI2C2A_I2C2ACON.clearSMEN; inline;
  21677. begin
  21678. pTDefRegMap(@Self)^.clr := $00000100;
  21679. end;
  21680. procedure TI2C2A_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  21681. begin
  21682. if thebits = 0 then
  21683. pTDefRegMap(@Self)^.clr := $00000100
  21684. else
  21685. pTDefRegMap(@Self)^.&set := $00000100;
  21686. end;
  21687. function TI2C2A_I2C2ACON.getSMEN : TBits_1; inline;
  21688. begin
  21689. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21690. end;
  21691. procedure TI2C2A_I2C2ACON.setDISSLW; inline;
  21692. begin
  21693. pTDefRegMap(@Self)^.&set := $00000200;
  21694. end;
  21695. procedure TI2C2A_I2C2ACON.clearDISSLW; inline;
  21696. begin
  21697. pTDefRegMap(@Self)^.clr := $00000200;
  21698. end;
  21699. procedure TI2C2A_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  21700. begin
  21701. if thebits = 0 then
  21702. pTDefRegMap(@Self)^.clr := $00000200
  21703. else
  21704. pTDefRegMap(@Self)^.&set := $00000200;
  21705. end;
  21706. function TI2C2A_I2C2ACON.getDISSLW : TBits_1; inline;
  21707. begin
  21708. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21709. end;
  21710. procedure TI2C2A_I2C2ACON.setA10M; inline;
  21711. begin
  21712. pTDefRegMap(@Self)^.&set := $00000400;
  21713. end;
  21714. procedure TI2C2A_I2C2ACON.clearA10M; inline;
  21715. begin
  21716. pTDefRegMap(@Self)^.clr := $00000400;
  21717. end;
  21718. procedure TI2C2A_I2C2ACON.setA10M(thebits : TBits_1); inline;
  21719. begin
  21720. if thebits = 0 then
  21721. pTDefRegMap(@Self)^.clr := $00000400
  21722. else
  21723. pTDefRegMap(@Self)^.&set := $00000400;
  21724. end;
  21725. function TI2C2A_I2C2ACON.getA10M : TBits_1; inline;
  21726. begin
  21727. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21728. end;
  21729. procedure TI2C2A_I2C2ACON.setSTRICT; inline;
  21730. begin
  21731. pTDefRegMap(@Self)^.&set := $00000800;
  21732. end;
  21733. procedure TI2C2A_I2C2ACON.clearSTRICT; inline;
  21734. begin
  21735. pTDefRegMap(@Self)^.clr := $00000800;
  21736. end;
  21737. procedure TI2C2A_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  21738. begin
  21739. if thebits = 0 then
  21740. pTDefRegMap(@Self)^.clr := $00000800
  21741. else
  21742. pTDefRegMap(@Self)^.&set := $00000800;
  21743. end;
  21744. function TI2C2A_I2C2ACON.getSTRICT : TBits_1; inline;
  21745. begin
  21746. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21747. end;
  21748. procedure TI2C2A_I2C2ACON.setSCLREL; inline;
  21749. begin
  21750. pTDefRegMap(@Self)^.&set := $00001000;
  21751. end;
  21752. procedure TI2C2A_I2C2ACON.clearSCLREL; inline;
  21753. begin
  21754. pTDefRegMap(@Self)^.clr := $00001000;
  21755. end;
  21756. procedure TI2C2A_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  21757. begin
  21758. if thebits = 0 then
  21759. pTDefRegMap(@Self)^.clr := $00001000
  21760. else
  21761. pTDefRegMap(@Self)^.&set := $00001000;
  21762. end;
  21763. function TI2C2A_I2C2ACON.getSCLREL : TBits_1; inline;
  21764. begin
  21765. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21766. end;
  21767. procedure TI2C2A_I2C2ACON.setSIDL; inline;
  21768. begin
  21769. pTDefRegMap(@Self)^.&set := $00002000;
  21770. end;
  21771. procedure TI2C2A_I2C2ACON.clearSIDL; inline;
  21772. begin
  21773. pTDefRegMap(@Self)^.clr := $00002000;
  21774. end;
  21775. procedure TI2C2A_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  21776. begin
  21777. if thebits = 0 then
  21778. pTDefRegMap(@Self)^.clr := $00002000
  21779. else
  21780. pTDefRegMap(@Self)^.&set := $00002000;
  21781. end;
  21782. function TI2C2A_I2C2ACON.getSIDL : TBits_1; inline;
  21783. begin
  21784. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21785. end;
  21786. procedure TI2C2A_I2C2ACON.setON; inline;
  21787. begin
  21788. pTDefRegMap(@Self)^.&set := $00008000;
  21789. end;
  21790. procedure TI2C2A_I2C2ACON.clearON; inline;
  21791. begin
  21792. pTDefRegMap(@Self)^.clr := $00008000;
  21793. end;
  21794. procedure TI2C2A_I2C2ACON.setON(thebits : TBits_1); inline;
  21795. begin
  21796. if thebits = 0 then
  21797. pTDefRegMap(@Self)^.clr := $00008000
  21798. else
  21799. pTDefRegMap(@Self)^.&set := $00008000;
  21800. end;
  21801. function TI2C2A_I2C2ACON.getON : TBits_1; inline;
  21802. begin
  21803. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21804. end;
  21805. procedure TI2C2A_I2C2ACON.setIPMIEN; inline;
  21806. begin
  21807. pTDefRegMap(@Self)^.&set := $00000800;
  21808. end;
  21809. procedure TI2C2A_I2C2ACON.clearIPMIEN; inline;
  21810. begin
  21811. pTDefRegMap(@Self)^.clr := $00000800;
  21812. end;
  21813. procedure TI2C2A_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  21814. begin
  21815. if thebits = 0 then
  21816. pTDefRegMap(@Self)^.clr := $00000800
  21817. else
  21818. pTDefRegMap(@Self)^.&set := $00000800;
  21819. end;
  21820. function TI2C2A_I2C2ACON.getIPMIEN : TBits_1; inline;
  21821. begin
  21822. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21823. end;
  21824. procedure TI2C2A_I2C2ACON.setI2CSIDL; inline;
  21825. begin
  21826. pTDefRegMap(@Self)^.&set := $00002000;
  21827. end;
  21828. procedure TI2C2A_I2C2ACON.clearI2CSIDL; inline;
  21829. begin
  21830. pTDefRegMap(@Self)^.clr := $00002000;
  21831. end;
  21832. procedure TI2C2A_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  21833. begin
  21834. if thebits = 0 then
  21835. pTDefRegMap(@Self)^.clr := $00002000
  21836. else
  21837. pTDefRegMap(@Self)^.&set := $00002000;
  21838. end;
  21839. function TI2C2A_I2C2ACON.getI2CSIDL : TBits_1; inline;
  21840. begin
  21841. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21842. end;
  21843. procedure TI2C2A_I2C2ACON.setI2CEN; inline;
  21844. begin
  21845. pTDefRegMap(@Self)^.&set := $00008000;
  21846. end;
  21847. procedure TI2C2A_I2C2ACON.clearI2CEN; inline;
  21848. begin
  21849. pTDefRegMap(@Self)^.clr := $00008000;
  21850. end;
  21851. procedure TI2C2A_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  21852. begin
  21853. if thebits = 0 then
  21854. pTDefRegMap(@Self)^.clr := $00008000
  21855. else
  21856. pTDefRegMap(@Self)^.&set := $00008000;
  21857. end;
  21858. function TI2C2A_I2C2ACON.getI2CEN : TBits_1; inline;
  21859. begin
  21860. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21861. end;
  21862. procedure TI2C2A_I2C2ACON.setw(thebits : TBits_32); inline;
  21863. begin
  21864. pTDefRegMap(@Self)^.val := thebits;
  21865. end;
  21866. function TI2C2A_I2C2ACON.getw : TBits_32; inline;
  21867. begin
  21868. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21869. end;
  21870. procedure TI2C2A_I2C4CON.setSEN; inline;
  21871. begin
  21872. pTDefRegMap(@Self)^.&set := $00000001;
  21873. end;
  21874. procedure TI2C2A_I2C4CON.clearSEN; inline;
  21875. begin
  21876. pTDefRegMap(@Self)^.clr := $00000001;
  21877. end;
  21878. procedure TI2C2A_I2C4CON.setSEN(thebits : TBits_1); inline;
  21879. begin
  21880. if thebits = 0 then
  21881. pTDefRegMap(@Self)^.clr := $00000001
  21882. else
  21883. pTDefRegMap(@Self)^.&set := $00000001;
  21884. end;
  21885. function TI2C2A_I2C4CON.getSEN : TBits_1; inline;
  21886. begin
  21887. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21888. end;
  21889. procedure TI2C2A_I2C4CON.setRSEN; inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.&set := $00000002;
  21892. end;
  21893. procedure TI2C2A_I2C4CON.clearRSEN; inline;
  21894. begin
  21895. pTDefRegMap(@Self)^.clr := $00000002;
  21896. end;
  21897. procedure TI2C2A_I2C4CON.setRSEN(thebits : TBits_1); inline;
  21898. begin
  21899. if thebits = 0 then
  21900. pTDefRegMap(@Self)^.clr := $00000002
  21901. else
  21902. pTDefRegMap(@Self)^.&set := $00000002;
  21903. end;
  21904. function TI2C2A_I2C4CON.getRSEN : TBits_1; inline;
  21905. begin
  21906. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21907. end;
  21908. procedure TI2C2A_I2C4CON.setPEN; inline;
  21909. begin
  21910. pTDefRegMap(@Self)^.&set := $00000004;
  21911. end;
  21912. procedure TI2C2A_I2C4CON.clearPEN; inline;
  21913. begin
  21914. pTDefRegMap(@Self)^.clr := $00000004;
  21915. end;
  21916. procedure TI2C2A_I2C4CON.setPEN(thebits : TBits_1); inline;
  21917. begin
  21918. if thebits = 0 then
  21919. pTDefRegMap(@Self)^.clr := $00000004
  21920. else
  21921. pTDefRegMap(@Self)^.&set := $00000004;
  21922. end;
  21923. function TI2C2A_I2C4CON.getPEN : TBits_1; inline;
  21924. begin
  21925. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21926. end;
  21927. procedure TI2C2A_I2C4CON.setRCEN; inline;
  21928. begin
  21929. pTDefRegMap(@Self)^.&set := $00000008;
  21930. end;
  21931. procedure TI2C2A_I2C4CON.clearRCEN; inline;
  21932. begin
  21933. pTDefRegMap(@Self)^.clr := $00000008;
  21934. end;
  21935. procedure TI2C2A_I2C4CON.setRCEN(thebits : TBits_1); inline;
  21936. begin
  21937. if thebits = 0 then
  21938. pTDefRegMap(@Self)^.clr := $00000008
  21939. else
  21940. pTDefRegMap(@Self)^.&set := $00000008;
  21941. end;
  21942. function TI2C2A_I2C4CON.getRCEN : TBits_1; inline;
  21943. begin
  21944. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21945. end;
  21946. procedure TI2C2A_I2C4CON.setACKEN; inline;
  21947. begin
  21948. pTDefRegMap(@Self)^.&set := $00000010;
  21949. end;
  21950. procedure TI2C2A_I2C4CON.clearACKEN; inline;
  21951. begin
  21952. pTDefRegMap(@Self)^.clr := $00000010;
  21953. end;
  21954. procedure TI2C2A_I2C4CON.setACKEN(thebits : TBits_1); inline;
  21955. begin
  21956. if thebits = 0 then
  21957. pTDefRegMap(@Self)^.clr := $00000010
  21958. else
  21959. pTDefRegMap(@Self)^.&set := $00000010;
  21960. end;
  21961. function TI2C2A_I2C4CON.getACKEN : TBits_1; inline;
  21962. begin
  21963. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21964. end;
  21965. procedure TI2C2A_I2C4CON.setACKDT; inline;
  21966. begin
  21967. pTDefRegMap(@Self)^.&set := $00000020;
  21968. end;
  21969. procedure TI2C2A_I2C4CON.clearACKDT; inline;
  21970. begin
  21971. pTDefRegMap(@Self)^.clr := $00000020;
  21972. end;
  21973. procedure TI2C2A_I2C4CON.setACKDT(thebits : TBits_1); inline;
  21974. begin
  21975. if thebits = 0 then
  21976. pTDefRegMap(@Self)^.clr := $00000020
  21977. else
  21978. pTDefRegMap(@Self)^.&set := $00000020;
  21979. end;
  21980. function TI2C2A_I2C4CON.getACKDT : TBits_1; inline;
  21981. begin
  21982. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21983. end;
  21984. procedure TI2C2A_I2C4CON.setSTREN; inline;
  21985. begin
  21986. pTDefRegMap(@Self)^.&set := $00000040;
  21987. end;
  21988. procedure TI2C2A_I2C4CON.clearSTREN; inline;
  21989. begin
  21990. pTDefRegMap(@Self)^.clr := $00000040;
  21991. end;
  21992. procedure TI2C2A_I2C4CON.setSTREN(thebits : TBits_1); inline;
  21993. begin
  21994. if thebits = 0 then
  21995. pTDefRegMap(@Self)^.clr := $00000040
  21996. else
  21997. pTDefRegMap(@Self)^.&set := $00000040;
  21998. end;
  21999. function TI2C2A_I2C4CON.getSTREN : TBits_1; inline;
  22000. begin
  22001. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22002. end;
  22003. procedure TI2C2A_I2C4CON.setGCEN; inline;
  22004. begin
  22005. pTDefRegMap(@Self)^.&set := $00000080;
  22006. end;
  22007. procedure TI2C2A_I2C4CON.clearGCEN; inline;
  22008. begin
  22009. pTDefRegMap(@Self)^.clr := $00000080;
  22010. end;
  22011. procedure TI2C2A_I2C4CON.setGCEN(thebits : TBits_1); inline;
  22012. begin
  22013. if thebits = 0 then
  22014. pTDefRegMap(@Self)^.clr := $00000080
  22015. else
  22016. pTDefRegMap(@Self)^.&set := $00000080;
  22017. end;
  22018. function TI2C2A_I2C4CON.getGCEN : TBits_1; inline;
  22019. begin
  22020. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22021. end;
  22022. procedure TI2C2A_I2C4CON.setSMEN; inline;
  22023. begin
  22024. pTDefRegMap(@Self)^.&set := $00000100;
  22025. end;
  22026. procedure TI2C2A_I2C4CON.clearSMEN; inline;
  22027. begin
  22028. pTDefRegMap(@Self)^.clr := $00000100;
  22029. end;
  22030. procedure TI2C2A_I2C4CON.setSMEN(thebits : TBits_1); inline;
  22031. begin
  22032. if thebits = 0 then
  22033. pTDefRegMap(@Self)^.clr := $00000100
  22034. else
  22035. pTDefRegMap(@Self)^.&set := $00000100;
  22036. end;
  22037. function TI2C2A_I2C4CON.getSMEN : TBits_1; inline;
  22038. begin
  22039. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22040. end;
  22041. procedure TI2C2A_I2C4CON.setDISSLW; inline;
  22042. begin
  22043. pTDefRegMap(@Self)^.&set := $00000200;
  22044. end;
  22045. procedure TI2C2A_I2C4CON.clearDISSLW; inline;
  22046. begin
  22047. pTDefRegMap(@Self)^.clr := $00000200;
  22048. end;
  22049. procedure TI2C2A_I2C4CON.setDISSLW(thebits : TBits_1); inline;
  22050. begin
  22051. if thebits = 0 then
  22052. pTDefRegMap(@Self)^.clr := $00000200
  22053. else
  22054. pTDefRegMap(@Self)^.&set := $00000200;
  22055. end;
  22056. function TI2C2A_I2C4CON.getDISSLW : TBits_1; inline;
  22057. begin
  22058. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22059. end;
  22060. procedure TI2C2A_I2C4CON.setA10M; inline;
  22061. begin
  22062. pTDefRegMap(@Self)^.&set := $00000400;
  22063. end;
  22064. procedure TI2C2A_I2C4CON.clearA10M; inline;
  22065. begin
  22066. pTDefRegMap(@Self)^.clr := $00000400;
  22067. end;
  22068. procedure TI2C2A_I2C4CON.setA10M(thebits : TBits_1); inline;
  22069. begin
  22070. if thebits = 0 then
  22071. pTDefRegMap(@Self)^.clr := $00000400
  22072. else
  22073. pTDefRegMap(@Self)^.&set := $00000400;
  22074. end;
  22075. function TI2C2A_I2C4CON.getA10M : TBits_1; inline;
  22076. begin
  22077. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22078. end;
  22079. procedure TI2C2A_I2C4CON.setSTRICT; inline;
  22080. begin
  22081. pTDefRegMap(@Self)^.&set := $00000800;
  22082. end;
  22083. procedure TI2C2A_I2C4CON.clearSTRICT; inline;
  22084. begin
  22085. pTDefRegMap(@Self)^.clr := $00000800;
  22086. end;
  22087. procedure TI2C2A_I2C4CON.setSTRICT(thebits : TBits_1); inline;
  22088. begin
  22089. if thebits = 0 then
  22090. pTDefRegMap(@Self)^.clr := $00000800
  22091. else
  22092. pTDefRegMap(@Self)^.&set := $00000800;
  22093. end;
  22094. function TI2C2A_I2C4CON.getSTRICT : TBits_1; inline;
  22095. begin
  22096. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22097. end;
  22098. procedure TI2C2A_I2C4CON.setSCLREL; inline;
  22099. begin
  22100. pTDefRegMap(@Self)^.&set := $00001000;
  22101. end;
  22102. procedure TI2C2A_I2C4CON.clearSCLREL; inline;
  22103. begin
  22104. pTDefRegMap(@Self)^.clr := $00001000;
  22105. end;
  22106. procedure TI2C2A_I2C4CON.setSCLREL(thebits : TBits_1); inline;
  22107. begin
  22108. if thebits = 0 then
  22109. pTDefRegMap(@Self)^.clr := $00001000
  22110. else
  22111. pTDefRegMap(@Self)^.&set := $00001000;
  22112. end;
  22113. function TI2C2A_I2C4CON.getSCLREL : TBits_1; inline;
  22114. begin
  22115. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22116. end;
  22117. procedure TI2C2A_I2C4CON.setSIDL; inline;
  22118. begin
  22119. pTDefRegMap(@Self)^.&set := $00002000;
  22120. end;
  22121. procedure TI2C2A_I2C4CON.clearSIDL; inline;
  22122. begin
  22123. pTDefRegMap(@Self)^.clr := $00002000;
  22124. end;
  22125. procedure TI2C2A_I2C4CON.setSIDL(thebits : TBits_1); inline;
  22126. begin
  22127. if thebits = 0 then
  22128. pTDefRegMap(@Self)^.clr := $00002000
  22129. else
  22130. pTDefRegMap(@Self)^.&set := $00002000;
  22131. end;
  22132. function TI2C2A_I2C4CON.getSIDL : TBits_1; inline;
  22133. begin
  22134. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22135. end;
  22136. procedure TI2C2A_I2C4CON.setON; inline;
  22137. begin
  22138. pTDefRegMap(@Self)^.&set := $00008000;
  22139. end;
  22140. procedure TI2C2A_I2C4CON.clearON; inline;
  22141. begin
  22142. pTDefRegMap(@Self)^.clr := $00008000;
  22143. end;
  22144. procedure TI2C2A_I2C4CON.setON(thebits : TBits_1); inline;
  22145. begin
  22146. if thebits = 0 then
  22147. pTDefRegMap(@Self)^.clr := $00008000
  22148. else
  22149. pTDefRegMap(@Self)^.&set := $00008000;
  22150. end;
  22151. function TI2C2A_I2C4CON.getON : TBits_1; inline;
  22152. begin
  22153. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22154. end;
  22155. procedure TI2C2A_I2C4CON.setIPMIEN; inline;
  22156. begin
  22157. pTDefRegMap(@Self)^.&set := $00000800;
  22158. end;
  22159. procedure TI2C2A_I2C4CON.clearIPMIEN; inline;
  22160. begin
  22161. pTDefRegMap(@Self)^.clr := $00000800;
  22162. end;
  22163. procedure TI2C2A_I2C4CON.setIPMIEN(thebits : TBits_1); inline;
  22164. begin
  22165. if thebits = 0 then
  22166. pTDefRegMap(@Self)^.clr := $00000800
  22167. else
  22168. pTDefRegMap(@Self)^.&set := $00000800;
  22169. end;
  22170. function TI2C2A_I2C4CON.getIPMIEN : TBits_1; inline;
  22171. begin
  22172. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22173. end;
  22174. procedure TI2C2A_I2C4CON.setI2CSIDL; inline;
  22175. begin
  22176. pTDefRegMap(@Self)^.&set := $00002000;
  22177. end;
  22178. procedure TI2C2A_I2C4CON.clearI2CSIDL; inline;
  22179. begin
  22180. pTDefRegMap(@Self)^.clr := $00002000;
  22181. end;
  22182. procedure TI2C2A_I2C4CON.setI2CSIDL(thebits : TBits_1); inline;
  22183. begin
  22184. if thebits = 0 then
  22185. pTDefRegMap(@Self)^.clr := $00002000
  22186. else
  22187. pTDefRegMap(@Self)^.&set := $00002000;
  22188. end;
  22189. function TI2C2A_I2C4CON.getI2CSIDL : TBits_1; inline;
  22190. begin
  22191. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22192. end;
  22193. procedure TI2C2A_I2C4CON.setI2CEN; inline;
  22194. begin
  22195. pTDefRegMap(@Self)^.&set := $00008000;
  22196. end;
  22197. procedure TI2C2A_I2C4CON.clearI2CEN; inline;
  22198. begin
  22199. pTDefRegMap(@Self)^.clr := $00008000;
  22200. end;
  22201. procedure TI2C2A_I2C4CON.setI2CEN(thebits : TBits_1); inline;
  22202. begin
  22203. if thebits = 0 then
  22204. pTDefRegMap(@Self)^.clr := $00008000
  22205. else
  22206. pTDefRegMap(@Self)^.&set := $00008000;
  22207. end;
  22208. function TI2C2A_I2C4CON.getI2CEN : TBits_1; inline;
  22209. begin
  22210. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22211. end;
  22212. procedure TI2C2A_I2C4CON.setw(thebits : TBits_32); inline;
  22213. begin
  22214. pTDefRegMap(@Self)^.val := thebits;
  22215. end;
  22216. function TI2C2A_I2C4CON.getw : TBits_32; inline;
  22217. begin
  22218. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22219. end;
  22220. procedure TI2C2A_I2C2ASTAT.setTBF; inline;
  22221. begin
  22222. pTDefRegMap(@Self)^.&set := $00000001;
  22223. end;
  22224. procedure TI2C2A_I2C2ASTAT.clearTBF; inline;
  22225. begin
  22226. pTDefRegMap(@Self)^.clr := $00000001;
  22227. end;
  22228. procedure TI2C2A_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  22229. begin
  22230. if thebits = 0 then
  22231. pTDefRegMap(@Self)^.clr := $00000001
  22232. else
  22233. pTDefRegMap(@Self)^.&set := $00000001;
  22234. end;
  22235. function TI2C2A_I2C2ASTAT.getTBF : TBits_1; inline;
  22236. begin
  22237. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22238. end;
  22239. procedure TI2C2A_I2C2ASTAT.setRBF; inline;
  22240. begin
  22241. pTDefRegMap(@Self)^.&set := $00000002;
  22242. end;
  22243. procedure TI2C2A_I2C2ASTAT.clearRBF; inline;
  22244. begin
  22245. pTDefRegMap(@Self)^.clr := $00000002;
  22246. end;
  22247. procedure TI2C2A_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  22248. begin
  22249. if thebits = 0 then
  22250. pTDefRegMap(@Self)^.clr := $00000002
  22251. else
  22252. pTDefRegMap(@Self)^.&set := $00000002;
  22253. end;
  22254. function TI2C2A_I2C2ASTAT.getRBF : TBits_1; inline;
  22255. begin
  22256. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22257. end;
  22258. procedure TI2C2A_I2C2ASTAT.setR_W; inline;
  22259. begin
  22260. pTDefRegMap(@Self)^.&set := $00000004;
  22261. end;
  22262. procedure TI2C2A_I2C2ASTAT.clearR_W; inline;
  22263. begin
  22264. pTDefRegMap(@Self)^.clr := $00000004;
  22265. end;
  22266. procedure TI2C2A_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  22267. begin
  22268. if thebits = 0 then
  22269. pTDefRegMap(@Self)^.clr := $00000004
  22270. else
  22271. pTDefRegMap(@Self)^.&set := $00000004;
  22272. end;
  22273. function TI2C2A_I2C2ASTAT.getR_W : TBits_1; inline;
  22274. begin
  22275. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22276. end;
  22277. procedure TI2C2A_I2C2ASTAT.setS; inline;
  22278. begin
  22279. pTDefRegMap(@Self)^.&set := $00000008;
  22280. end;
  22281. procedure TI2C2A_I2C2ASTAT.clearS; inline;
  22282. begin
  22283. pTDefRegMap(@Self)^.clr := $00000008;
  22284. end;
  22285. procedure TI2C2A_I2C2ASTAT.setS(thebits : TBits_1); inline;
  22286. begin
  22287. if thebits = 0 then
  22288. pTDefRegMap(@Self)^.clr := $00000008
  22289. else
  22290. pTDefRegMap(@Self)^.&set := $00000008;
  22291. end;
  22292. function TI2C2A_I2C2ASTAT.getS : TBits_1; inline;
  22293. begin
  22294. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22295. end;
  22296. procedure TI2C2A_I2C2ASTAT.setP; inline;
  22297. begin
  22298. pTDefRegMap(@Self)^.&set := $00000010;
  22299. end;
  22300. procedure TI2C2A_I2C2ASTAT.clearP; inline;
  22301. begin
  22302. pTDefRegMap(@Self)^.clr := $00000010;
  22303. end;
  22304. procedure TI2C2A_I2C2ASTAT.setP(thebits : TBits_1); inline;
  22305. begin
  22306. if thebits = 0 then
  22307. pTDefRegMap(@Self)^.clr := $00000010
  22308. else
  22309. pTDefRegMap(@Self)^.&set := $00000010;
  22310. end;
  22311. function TI2C2A_I2C2ASTAT.getP : TBits_1; inline;
  22312. begin
  22313. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22314. end;
  22315. procedure TI2C2A_I2C2ASTAT.setD_A; inline;
  22316. begin
  22317. pTDefRegMap(@Self)^.&set := $00000020;
  22318. end;
  22319. procedure TI2C2A_I2C2ASTAT.clearD_A; inline;
  22320. begin
  22321. pTDefRegMap(@Self)^.clr := $00000020;
  22322. end;
  22323. procedure TI2C2A_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  22324. begin
  22325. if thebits = 0 then
  22326. pTDefRegMap(@Self)^.clr := $00000020
  22327. else
  22328. pTDefRegMap(@Self)^.&set := $00000020;
  22329. end;
  22330. function TI2C2A_I2C2ASTAT.getD_A : TBits_1; inline;
  22331. begin
  22332. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22333. end;
  22334. procedure TI2C2A_I2C2ASTAT.setI2COV; inline;
  22335. begin
  22336. pTDefRegMap(@Self)^.&set := $00000040;
  22337. end;
  22338. procedure TI2C2A_I2C2ASTAT.clearI2COV; inline;
  22339. begin
  22340. pTDefRegMap(@Self)^.clr := $00000040;
  22341. end;
  22342. procedure TI2C2A_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  22343. begin
  22344. if thebits = 0 then
  22345. pTDefRegMap(@Self)^.clr := $00000040
  22346. else
  22347. pTDefRegMap(@Self)^.&set := $00000040;
  22348. end;
  22349. function TI2C2A_I2C2ASTAT.getI2COV : TBits_1; inline;
  22350. begin
  22351. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22352. end;
  22353. procedure TI2C2A_I2C2ASTAT.setIWCOL; inline;
  22354. begin
  22355. pTDefRegMap(@Self)^.&set := $00000080;
  22356. end;
  22357. procedure TI2C2A_I2C2ASTAT.clearIWCOL; inline;
  22358. begin
  22359. pTDefRegMap(@Self)^.clr := $00000080;
  22360. end;
  22361. procedure TI2C2A_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  22362. begin
  22363. if thebits = 0 then
  22364. pTDefRegMap(@Self)^.clr := $00000080
  22365. else
  22366. pTDefRegMap(@Self)^.&set := $00000080;
  22367. end;
  22368. function TI2C2A_I2C2ASTAT.getIWCOL : TBits_1; inline;
  22369. begin
  22370. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22371. end;
  22372. procedure TI2C2A_I2C2ASTAT.setADD10; inline;
  22373. begin
  22374. pTDefRegMap(@Self)^.&set := $00000100;
  22375. end;
  22376. procedure TI2C2A_I2C2ASTAT.clearADD10; inline;
  22377. begin
  22378. pTDefRegMap(@Self)^.clr := $00000100;
  22379. end;
  22380. procedure TI2C2A_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  22381. begin
  22382. if thebits = 0 then
  22383. pTDefRegMap(@Self)^.clr := $00000100
  22384. else
  22385. pTDefRegMap(@Self)^.&set := $00000100;
  22386. end;
  22387. function TI2C2A_I2C2ASTAT.getADD10 : TBits_1; inline;
  22388. begin
  22389. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22390. end;
  22391. procedure TI2C2A_I2C2ASTAT.setGCSTAT; inline;
  22392. begin
  22393. pTDefRegMap(@Self)^.&set := $00000200;
  22394. end;
  22395. procedure TI2C2A_I2C2ASTAT.clearGCSTAT; inline;
  22396. begin
  22397. pTDefRegMap(@Self)^.clr := $00000200;
  22398. end;
  22399. procedure TI2C2A_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  22400. begin
  22401. if thebits = 0 then
  22402. pTDefRegMap(@Self)^.clr := $00000200
  22403. else
  22404. pTDefRegMap(@Self)^.&set := $00000200;
  22405. end;
  22406. function TI2C2A_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  22407. begin
  22408. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22409. end;
  22410. procedure TI2C2A_I2C2ASTAT.setBCL; inline;
  22411. begin
  22412. pTDefRegMap(@Self)^.&set := $00000400;
  22413. end;
  22414. procedure TI2C2A_I2C2ASTAT.clearBCL; inline;
  22415. begin
  22416. pTDefRegMap(@Self)^.clr := $00000400;
  22417. end;
  22418. procedure TI2C2A_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  22419. begin
  22420. if thebits = 0 then
  22421. pTDefRegMap(@Self)^.clr := $00000400
  22422. else
  22423. pTDefRegMap(@Self)^.&set := $00000400;
  22424. end;
  22425. function TI2C2A_I2C2ASTAT.getBCL : TBits_1; inline;
  22426. begin
  22427. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22428. end;
  22429. procedure TI2C2A_I2C2ASTAT.setTRSTAT; inline;
  22430. begin
  22431. pTDefRegMap(@Self)^.&set := $00004000;
  22432. end;
  22433. procedure TI2C2A_I2C2ASTAT.clearTRSTAT; inline;
  22434. begin
  22435. pTDefRegMap(@Self)^.clr := $00004000;
  22436. end;
  22437. procedure TI2C2A_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  22438. begin
  22439. if thebits = 0 then
  22440. pTDefRegMap(@Self)^.clr := $00004000
  22441. else
  22442. pTDefRegMap(@Self)^.&set := $00004000;
  22443. end;
  22444. function TI2C2A_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  22445. begin
  22446. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22447. end;
  22448. procedure TI2C2A_I2C2ASTAT.setACKSTAT; inline;
  22449. begin
  22450. pTDefRegMap(@Self)^.&set := $00008000;
  22451. end;
  22452. procedure TI2C2A_I2C2ASTAT.clearACKSTAT; inline;
  22453. begin
  22454. pTDefRegMap(@Self)^.clr := $00008000;
  22455. end;
  22456. procedure TI2C2A_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  22457. begin
  22458. if thebits = 0 then
  22459. pTDefRegMap(@Self)^.clr := $00008000
  22460. else
  22461. pTDefRegMap(@Self)^.&set := $00008000;
  22462. end;
  22463. function TI2C2A_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  22464. begin
  22465. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22466. end;
  22467. procedure TI2C2A_I2C2ASTAT.setI2CPOV; inline;
  22468. begin
  22469. pTDefRegMap(@Self)^.&set := $00000040;
  22470. end;
  22471. procedure TI2C2A_I2C2ASTAT.clearI2CPOV; inline;
  22472. begin
  22473. pTDefRegMap(@Self)^.clr := $00000040;
  22474. end;
  22475. procedure TI2C2A_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  22476. begin
  22477. if thebits = 0 then
  22478. pTDefRegMap(@Self)^.clr := $00000040
  22479. else
  22480. pTDefRegMap(@Self)^.&set := $00000040;
  22481. end;
  22482. function TI2C2A_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  22483. begin
  22484. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22485. end;
  22486. procedure TI2C2A_I2C2ASTAT.setw(thebits : TBits_32); inline;
  22487. begin
  22488. pTDefRegMap(@Self)^.val := thebits;
  22489. end;
  22490. function TI2C2A_I2C2ASTAT.getw : TBits_32; inline;
  22491. begin
  22492. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22493. end;
  22494. procedure TI2C2A_I2C4STAT.setTBF; inline;
  22495. begin
  22496. pTDefRegMap(@Self)^.&set := $00000001;
  22497. end;
  22498. procedure TI2C2A_I2C4STAT.clearTBF; inline;
  22499. begin
  22500. pTDefRegMap(@Self)^.clr := $00000001;
  22501. end;
  22502. procedure TI2C2A_I2C4STAT.setTBF(thebits : TBits_1); inline;
  22503. begin
  22504. if thebits = 0 then
  22505. pTDefRegMap(@Self)^.clr := $00000001
  22506. else
  22507. pTDefRegMap(@Self)^.&set := $00000001;
  22508. end;
  22509. function TI2C2A_I2C4STAT.getTBF : TBits_1; inline;
  22510. begin
  22511. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22512. end;
  22513. procedure TI2C2A_I2C4STAT.setRBF; inline;
  22514. begin
  22515. pTDefRegMap(@Self)^.&set := $00000002;
  22516. end;
  22517. procedure TI2C2A_I2C4STAT.clearRBF; inline;
  22518. begin
  22519. pTDefRegMap(@Self)^.clr := $00000002;
  22520. end;
  22521. procedure TI2C2A_I2C4STAT.setRBF(thebits : TBits_1); inline;
  22522. begin
  22523. if thebits = 0 then
  22524. pTDefRegMap(@Self)^.clr := $00000002
  22525. else
  22526. pTDefRegMap(@Self)^.&set := $00000002;
  22527. end;
  22528. function TI2C2A_I2C4STAT.getRBF : TBits_1; inline;
  22529. begin
  22530. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22531. end;
  22532. procedure TI2C2A_I2C4STAT.setR_W; inline;
  22533. begin
  22534. pTDefRegMap(@Self)^.&set := $00000004;
  22535. end;
  22536. procedure TI2C2A_I2C4STAT.clearR_W; inline;
  22537. begin
  22538. pTDefRegMap(@Self)^.clr := $00000004;
  22539. end;
  22540. procedure TI2C2A_I2C4STAT.setR_W(thebits : TBits_1); inline;
  22541. begin
  22542. if thebits = 0 then
  22543. pTDefRegMap(@Self)^.clr := $00000004
  22544. else
  22545. pTDefRegMap(@Self)^.&set := $00000004;
  22546. end;
  22547. function TI2C2A_I2C4STAT.getR_W : TBits_1; inline;
  22548. begin
  22549. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22550. end;
  22551. procedure TI2C2A_I2C4STAT.setS; inline;
  22552. begin
  22553. pTDefRegMap(@Self)^.&set := $00000008;
  22554. end;
  22555. procedure TI2C2A_I2C4STAT.clearS; inline;
  22556. begin
  22557. pTDefRegMap(@Self)^.clr := $00000008;
  22558. end;
  22559. procedure TI2C2A_I2C4STAT.setS(thebits : TBits_1); inline;
  22560. begin
  22561. if thebits = 0 then
  22562. pTDefRegMap(@Self)^.clr := $00000008
  22563. else
  22564. pTDefRegMap(@Self)^.&set := $00000008;
  22565. end;
  22566. function TI2C2A_I2C4STAT.getS : TBits_1; inline;
  22567. begin
  22568. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22569. end;
  22570. procedure TI2C2A_I2C4STAT.setP; inline;
  22571. begin
  22572. pTDefRegMap(@Self)^.&set := $00000010;
  22573. end;
  22574. procedure TI2C2A_I2C4STAT.clearP; inline;
  22575. begin
  22576. pTDefRegMap(@Self)^.clr := $00000010;
  22577. end;
  22578. procedure TI2C2A_I2C4STAT.setP(thebits : TBits_1); inline;
  22579. begin
  22580. if thebits = 0 then
  22581. pTDefRegMap(@Self)^.clr := $00000010
  22582. else
  22583. pTDefRegMap(@Self)^.&set := $00000010;
  22584. end;
  22585. function TI2C2A_I2C4STAT.getP : TBits_1; inline;
  22586. begin
  22587. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22588. end;
  22589. procedure TI2C2A_I2C4STAT.setD_A; inline;
  22590. begin
  22591. pTDefRegMap(@Self)^.&set := $00000020;
  22592. end;
  22593. procedure TI2C2A_I2C4STAT.clearD_A; inline;
  22594. begin
  22595. pTDefRegMap(@Self)^.clr := $00000020;
  22596. end;
  22597. procedure TI2C2A_I2C4STAT.setD_A(thebits : TBits_1); inline;
  22598. begin
  22599. if thebits = 0 then
  22600. pTDefRegMap(@Self)^.clr := $00000020
  22601. else
  22602. pTDefRegMap(@Self)^.&set := $00000020;
  22603. end;
  22604. function TI2C2A_I2C4STAT.getD_A : TBits_1; inline;
  22605. begin
  22606. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22607. end;
  22608. procedure TI2C2A_I2C4STAT.setI2COV; inline;
  22609. begin
  22610. pTDefRegMap(@Self)^.&set := $00000040;
  22611. end;
  22612. procedure TI2C2A_I2C4STAT.clearI2COV; inline;
  22613. begin
  22614. pTDefRegMap(@Self)^.clr := $00000040;
  22615. end;
  22616. procedure TI2C2A_I2C4STAT.setI2COV(thebits : TBits_1); inline;
  22617. begin
  22618. if thebits = 0 then
  22619. pTDefRegMap(@Self)^.clr := $00000040
  22620. else
  22621. pTDefRegMap(@Self)^.&set := $00000040;
  22622. end;
  22623. function TI2C2A_I2C4STAT.getI2COV : TBits_1; inline;
  22624. begin
  22625. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22626. end;
  22627. procedure TI2C2A_I2C4STAT.setIWCOL; inline;
  22628. begin
  22629. pTDefRegMap(@Self)^.&set := $00000080;
  22630. end;
  22631. procedure TI2C2A_I2C4STAT.clearIWCOL; inline;
  22632. begin
  22633. pTDefRegMap(@Self)^.clr := $00000080;
  22634. end;
  22635. procedure TI2C2A_I2C4STAT.setIWCOL(thebits : TBits_1); inline;
  22636. begin
  22637. if thebits = 0 then
  22638. pTDefRegMap(@Self)^.clr := $00000080
  22639. else
  22640. pTDefRegMap(@Self)^.&set := $00000080;
  22641. end;
  22642. function TI2C2A_I2C4STAT.getIWCOL : TBits_1; inline;
  22643. begin
  22644. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22645. end;
  22646. procedure TI2C2A_I2C4STAT.setADD10; inline;
  22647. begin
  22648. pTDefRegMap(@Self)^.&set := $00000100;
  22649. end;
  22650. procedure TI2C2A_I2C4STAT.clearADD10; inline;
  22651. begin
  22652. pTDefRegMap(@Self)^.clr := $00000100;
  22653. end;
  22654. procedure TI2C2A_I2C4STAT.setADD10(thebits : TBits_1); inline;
  22655. begin
  22656. if thebits = 0 then
  22657. pTDefRegMap(@Self)^.clr := $00000100
  22658. else
  22659. pTDefRegMap(@Self)^.&set := $00000100;
  22660. end;
  22661. function TI2C2A_I2C4STAT.getADD10 : TBits_1; inline;
  22662. begin
  22663. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22664. end;
  22665. procedure TI2C2A_I2C4STAT.setGCSTAT; inline;
  22666. begin
  22667. pTDefRegMap(@Self)^.&set := $00000200;
  22668. end;
  22669. procedure TI2C2A_I2C4STAT.clearGCSTAT; inline;
  22670. begin
  22671. pTDefRegMap(@Self)^.clr := $00000200;
  22672. end;
  22673. procedure TI2C2A_I2C4STAT.setGCSTAT(thebits : TBits_1); inline;
  22674. begin
  22675. if thebits = 0 then
  22676. pTDefRegMap(@Self)^.clr := $00000200
  22677. else
  22678. pTDefRegMap(@Self)^.&set := $00000200;
  22679. end;
  22680. function TI2C2A_I2C4STAT.getGCSTAT : TBits_1; inline;
  22681. begin
  22682. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22683. end;
  22684. procedure TI2C2A_I2C4STAT.setBCL; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.&set := $00000400;
  22687. end;
  22688. procedure TI2C2A_I2C4STAT.clearBCL; inline;
  22689. begin
  22690. pTDefRegMap(@Self)^.clr := $00000400;
  22691. end;
  22692. procedure TI2C2A_I2C4STAT.setBCL(thebits : TBits_1); inline;
  22693. begin
  22694. if thebits = 0 then
  22695. pTDefRegMap(@Self)^.clr := $00000400
  22696. else
  22697. pTDefRegMap(@Self)^.&set := $00000400;
  22698. end;
  22699. function TI2C2A_I2C4STAT.getBCL : TBits_1; inline;
  22700. begin
  22701. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22702. end;
  22703. procedure TI2C2A_I2C4STAT.setTRSTAT; inline;
  22704. begin
  22705. pTDefRegMap(@Self)^.&set := $00004000;
  22706. end;
  22707. procedure TI2C2A_I2C4STAT.clearTRSTAT; inline;
  22708. begin
  22709. pTDefRegMap(@Self)^.clr := $00004000;
  22710. end;
  22711. procedure TI2C2A_I2C4STAT.setTRSTAT(thebits : TBits_1); inline;
  22712. begin
  22713. if thebits = 0 then
  22714. pTDefRegMap(@Self)^.clr := $00004000
  22715. else
  22716. pTDefRegMap(@Self)^.&set := $00004000;
  22717. end;
  22718. function TI2C2A_I2C4STAT.getTRSTAT : TBits_1; inline;
  22719. begin
  22720. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22721. end;
  22722. procedure TI2C2A_I2C4STAT.setACKSTAT; inline;
  22723. begin
  22724. pTDefRegMap(@Self)^.&set := $00008000;
  22725. end;
  22726. procedure TI2C2A_I2C4STAT.clearACKSTAT; inline;
  22727. begin
  22728. pTDefRegMap(@Self)^.clr := $00008000;
  22729. end;
  22730. procedure TI2C2A_I2C4STAT.setACKSTAT(thebits : TBits_1); inline;
  22731. begin
  22732. if thebits = 0 then
  22733. pTDefRegMap(@Self)^.clr := $00008000
  22734. else
  22735. pTDefRegMap(@Self)^.&set := $00008000;
  22736. end;
  22737. function TI2C2A_I2C4STAT.getACKSTAT : TBits_1; inline;
  22738. begin
  22739. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22740. end;
  22741. procedure TI2C2A_I2C4STAT.setI2CPOV; inline;
  22742. begin
  22743. pTDefRegMap(@Self)^.&set := $00000040;
  22744. end;
  22745. procedure TI2C2A_I2C4STAT.clearI2CPOV; inline;
  22746. begin
  22747. pTDefRegMap(@Self)^.clr := $00000040;
  22748. end;
  22749. procedure TI2C2A_I2C4STAT.setI2CPOV(thebits : TBits_1); inline;
  22750. begin
  22751. if thebits = 0 then
  22752. pTDefRegMap(@Self)^.clr := $00000040
  22753. else
  22754. pTDefRegMap(@Self)^.&set := $00000040;
  22755. end;
  22756. function TI2C2A_I2C4STAT.getI2CPOV : TBits_1; inline;
  22757. begin
  22758. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22759. end;
  22760. procedure TI2C2A_I2C4STAT.setw(thebits : TBits_32); inline;
  22761. begin
  22762. pTDefRegMap(@Self)^.val := thebits;
  22763. end;
  22764. function TI2C2A_I2C4STAT.getw : TBits_32; inline;
  22765. begin
  22766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22767. end;
  22768. procedure TI2C5_I2C3ACON.setSEN; inline;
  22769. begin
  22770. pTDefRegMap(@Self)^.&set := $00000001;
  22771. end;
  22772. procedure TI2C5_I2C3ACON.clearSEN; inline;
  22773. begin
  22774. pTDefRegMap(@Self)^.clr := $00000001;
  22775. end;
  22776. procedure TI2C5_I2C3ACON.setSEN(thebits : TBits_1); inline;
  22777. begin
  22778. if thebits = 0 then
  22779. pTDefRegMap(@Self)^.clr := $00000001
  22780. else
  22781. pTDefRegMap(@Self)^.&set := $00000001;
  22782. end;
  22783. function TI2C5_I2C3ACON.getSEN : TBits_1; inline;
  22784. begin
  22785. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22786. end;
  22787. procedure TI2C5_I2C3ACON.setRSEN; inline;
  22788. begin
  22789. pTDefRegMap(@Self)^.&set := $00000002;
  22790. end;
  22791. procedure TI2C5_I2C3ACON.clearRSEN; inline;
  22792. begin
  22793. pTDefRegMap(@Self)^.clr := $00000002;
  22794. end;
  22795. procedure TI2C5_I2C3ACON.setRSEN(thebits : TBits_1); inline;
  22796. begin
  22797. if thebits = 0 then
  22798. pTDefRegMap(@Self)^.clr := $00000002
  22799. else
  22800. pTDefRegMap(@Self)^.&set := $00000002;
  22801. end;
  22802. function TI2C5_I2C3ACON.getRSEN : TBits_1; inline;
  22803. begin
  22804. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22805. end;
  22806. procedure TI2C5_I2C3ACON.setPEN; inline;
  22807. begin
  22808. pTDefRegMap(@Self)^.&set := $00000004;
  22809. end;
  22810. procedure TI2C5_I2C3ACON.clearPEN; inline;
  22811. begin
  22812. pTDefRegMap(@Self)^.clr := $00000004;
  22813. end;
  22814. procedure TI2C5_I2C3ACON.setPEN(thebits : TBits_1); inline;
  22815. begin
  22816. if thebits = 0 then
  22817. pTDefRegMap(@Self)^.clr := $00000004
  22818. else
  22819. pTDefRegMap(@Self)^.&set := $00000004;
  22820. end;
  22821. function TI2C5_I2C3ACON.getPEN : TBits_1; inline;
  22822. begin
  22823. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22824. end;
  22825. procedure TI2C5_I2C3ACON.setRCEN; inline;
  22826. begin
  22827. pTDefRegMap(@Self)^.&set := $00000008;
  22828. end;
  22829. procedure TI2C5_I2C3ACON.clearRCEN; inline;
  22830. begin
  22831. pTDefRegMap(@Self)^.clr := $00000008;
  22832. end;
  22833. procedure TI2C5_I2C3ACON.setRCEN(thebits : TBits_1); inline;
  22834. begin
  22835. if thebits = 0 then
  22836. pTDefRegMap(@Self)^.clr := $00000008
  22837. else
  22838. pTDefRegMap(@Self)^.&set := $00000008;
  22839. end;
  22840. function TI2C5_I2C3ACON.getRCEN : TBits_1; inline;
  22841. begin
  22842. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22843. end;
  22844. procedure TI2C5_I2C3ACON.setACKEN; inline;
  22845. begin
  22846. pTDefRegMap(@Self)^.&set := $00000010;
  22847. end;
  22848. procedure TI2C5_I2C3ACON.clearACKEN; inline;
  22849. begin
  22850. pTDefRegMap(@Self)^.clr := $00000010;
  22851. end;
  22852. procedure TI2C5_I2C3ACON.setACKEN(thebits : TBits_1); inline;
  22853. begin
  22854. if thebits = 0 then
  22855. pTDefRegMap(@Self)^.clr := $00000010
  22856. else
  22857. pTDefRegMap(@Self)^.&set := $00000010;
  22858. end;
  22859. function TI2C5_I2C3ACON.getACKEN : TBits_1; inline;
  22860. begin
  22861. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22862. end;
  22863. procedure TI2C5_I2C3ACON.setACKDT; inline;
  22864. begin
  22865. pTDefRegMap(@Self)^.&set := $00000020;
  22866. end;
  22867. procedure TI2C5_I2C3ACON.clearACKDT; inline;
  22868. begin
  22869. pTDefRegMap(@Self)^.clr := $00000020;
  22870. end;
  22871. procedure TI2C5_I2C3ACON.setACKDT(thebits : TBits_1); inline;
  22872. begin
  22873. if thebits = 0 then
  22874. pTDefRegMap(@Self)^.clr := $00000020
  22875. else
  22876. pTDefRegMap(@Self)^.&set := $00000020;
  22877. end;
  22878. function TI2C5_I2C3ACON.getACKDT : TBits_1; inline;
  22879. begin
  22880. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22881. end;
  22882. procedure TI2C5_I2C3ACON.setSTREN; inline;
  22883. begin
  22884. pTDefRegMap(@Self)^.&set := $00000040;
  22885. end;
  22886. procedure TI2C5_I2C3ACON.clearSTREN; inline;
  22887. begin
  22888. pTDefRegMap(@Self)^.clr := $00000040;
  22889. end;
  22890. procedure TI2C5_I2C3ACON.setSTREN(thebits : TBits_1); inline;
  22891. begin
  22892. if thebits = 0 then
  22893. pTDefRegMap(@Self)^.clr := $00000040
  22894. else
  22895. pTDefRegMap(@Self)^.&set := $00000040;
  22896. end;
  22897. function TI2C5_I2C3ACON.getSTREN : TBits_1; inline;
  22898. begin
  22899. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22900. end;
  22901. procedure TI2C5_I2C3ACON.setGCEN; inline;
  22902. begin
  22903. pTDefRegMap(@Self)^.&set := $00000080;
  22904. end;
  22905. procedure TI2C5_I2C3ACON.clearGCEN; inline;
  22906. begin
  22907. pTDefRegMap(@Self)^.clr := $00000080;
  22908. end;
  22909. procedure TI2C5_I2C3ACON.setGCEN(thebits : TBits_1); inline;
  22910. begin
  22911. if thebits = 0 then
  22912. pTDefRegMap(@Self)^.clr := $00000080
  22913. else
  22914. pTDefRegMap(@Self)^.&set := $00000080;
  22915. end;
  22916. function TI2C5_I2C3ACON.getGCEN : TBits_1; inline;
  22917. begin
  22918. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22919. end;
  22920. procedure TI2C5_I2C3ACON.setSMEN; inline;
  22921. begin
  22922. pTDefRegMap(@Self)^.&set := $00000100;
  22923. end;
  22924. procedure TI2C5_I2C3ACON.clearSMEN; inline;
  22925. begin
  22926. pTDefRegMap(@Self)^.clr := $00000100;
  22927. end;
  22928. procedure TI2C5_I2C3ACON.setSMEN(thebits : TBits_1); inline;
  22929. begin
  22930. if thebits = 0 then
  22931. pTDefRegMap(@Self)^.clr := $00000100
  22932. else
  22933. pTDefRegMap(@Self)^.&set := $00000100;
  22934. end;
  22935. function TI2C5_I2C3ACON.getSMEN : TBits_1; inline;
  22936. begin
  22937. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22938. end;
  22939. procedure TI2C5_I2C3ACON.setDISSLW; inline;
  22940. begin
  22941. pTDefRegMap(@Self)^.&set := $00000200;
  22942. end;
  22943. procedure TI2C5_I2C3ACON.clearDISSLW; inline;
  22944. begin
  22945. pTDefRegMap(@Self)^.clr := $00000200;
  22946. end;
  22947. procedure TI2C5_I2C3ACON.setDISSLW(thebits : TBits_1); inline;
  22948. begin
  22949. if thebits = 0 then
  22950. pTDefRegMap(@Self)^.clr := $00000200
  22951. else
  22952. pTDefRegMap(@Self)^.&set := $00000200;
  22953. end;
  22954. function TI2C5_I2C3ACON.getDISSLW : TBits_1; inline;
  22955. begin
  22956. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22957. end;
  22958. procedure TI2C5_I2C3ACON.setA10M; inline;
  22959. begin
  22960. pTDefRegMap(@Self)^.&set := $00000400;
  22961. end;
  22962. procedure TI2C5_I2C3ACON.clearA10M; inline;
  22963. begin
  22964. pTDefRegMap(@Self)^.clr := $00000400;
  22965. end;
  22966. procedure TI2C5_I2C3ACON.setA10M(thebits : TBits_1); inline;
  22967. begin
  22968. if thebits = 0 then
  22969. pTDefRegMap(@Self)^.clr := $00000400
  22970. else
  22971. pTDefRegMap(@Self)^.&set := $00000400;
  22972. end;
  22973. function TI2C5_I2C3ACON.getA10M : TBits_1; inline;
  22974. begin
  22975. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22976. end;
  22977. procedure TI2C5_I2C3ACON.setSTRICT; inline;
  22978. begin
  22979. pTDefRegMap(@Self)^.&set := $00000800;
  22980. end;
  22981. procedure TI2C5_I2C3ACON.clearSTRICT; inline;
  22982. begin
  22983. pTDefRegMap(@Self)^.clr := $00000800;
  22984. end;
  22985. procedure TI2C5_I2C3ACON.setSTRICT(thebits : TBits_1); inline;
  22986. begin
  22987. if thebits = 0 then
  22988. pTDefRegMap(@Self)^.clr := $00000800
  22989. else
  22990. pTDefRegMap(@Self)^.&set := $00000800;
  22991. end;
  22992. function TI2C5_I2C3ACON.getSTRICT : TBits_1; inline;
  22993. begin
  22994. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22995. end;
  22996. procedure TI2C5_I2C3ACON.setSCLREL; inline;
  22997. begin
  22998. pTDefRegMap(@Self)^.&set := $00001000;
  22999. end;
  23000. procedure TI2C5_I2C3ACON.clearSCLREL; inline;
  23001. begin
  23002. pTDefRegMap(@Self)^.clr := $00001000;
  23003. end;
  23004. procedure TI2C5_I2C3ACON.setSCLREL(thebits : TBits_1); inline;
  23005. begin
  23006. if thebits = 0 then
  23007. pTDefRegMap(@Self)^.clr := $00001000
  23008. else
  23009. pTDefRegMap(@Self)^.&set := $00001000;
  23010. end;
  23011. function TI2C5_I2C3ACON.getSCLREL : TBits_1; inline;
  23012. begin
  23013. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23014. end;
  23015. procedure TI2C5_I2C3ACON.setSIDL; inline;
  23016. begin
  23017. pTDefRegMap(@Self)^.&set := $00002000;
  23018. end;
  23019. procedure TI2C5_I2C3ACON.clearSIDL; inline;
  23020. begin
  23021. pTDefRegMap(@Self)^.clr := $00002000;
  23022. end;
  23023. procedure TI2C5_I2C3ACON.setSIDL(thebits : TBits_1); inline;
  23024. begin
  23025. if thebits = 0 then
  23026. pTDefRegMap(@Self)^.clr := $00002000
  23027. else
  23028. pTDefRegMap(@Self)^.&set := $00002000;
  23029. end;
  23030. function TI2C5_I2C3ACON.getSIDL : TBits_1; inline;
  23031. begin
  23032. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23033. end;
  23034. procedure TI2C5_I2C3ACON.setON; inline;
  23035. begin
  23036. pTDefRegMap(@Self)^.&set := $00008000;
  23037. end;
  23038. procedure TI2C5_I2C3ACON.clearON; inline;
  23039. begin
  23040. pTDefRegMap(@Self)^.clr := $00008000;
  23041. end;
  23042. procedure TI2C5_I2C3ACON.setON(thebits : TBits_1); inline;
  23043. begin
  23044. if thebits = 0 then
  23045. pTDefRegMap(@Self)^.clr := $00008000
  23046. else
  23047. pTDefRegMap(@Self)^.&set := $00008000;
  23048. end;
  23049. function TI2C5_I2C3ACON.getON : TBits_1; inline;
  23050. begin
  23051. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23052. end;
  23053. procedure TI2C5_I2C3ACON.setIPMIEN; inline;
  23054. begin
  23055. pTDefRegMap(@Self)^.&set := $00000800;
  23056. end;
  23057. procedure TI2C5_I2C3ACON.clearIPMIEN; inline;
  23058. begin
  23059. pTDefRegMap(@Self)^.clr := $00000800;
  23060. end;
  23061. procedure TI2C5_I2C3ACON.setIPMIEN(thebits : TBits_1); inline;
  23062. begin
  23063. if thebits = 0 then
  23064. pTDefRegMap(@Self)^.clr := $00000800
  23065. else
  23066. pTDefRegMap(@Self)^.&set := $00000800;
  23067. end;
  23068. function TI2C5_I2C3ACON.getIPMIEN : TBits_1; inline;
  23069. begin
  23070. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23071. end;
  23072. procedure TI2C5_I2C3ACON.setI2CSIDL; inline;
  23073. begin
  23074. pTDefRegMap(@Self)^.&set := $00002000;
  23075. end;
  23076. procedure TI2C5_I2C3ACON.clearI2CSIDL; inline;
  23077. begin
  23078. pTDefRegMap(@Self)^.clr := $00002000;
  23079. end;
  23080. procedure TI2C5_I2C3ACON.setI2CSIDL(thebits : TBits_1); inline;
  23081. begin
  23082. if thebits = 0 then
  23083. pTDefRegMap(@Self)^.clr := $00002000
  23084. else
  23085. pTDefRegMap(@Self)^.&set := $00002000;
  23086. end;
  23087. function TI2C5_I2C3ACON.getI2CSIDL : TBits_1; inline;
  23088. begin
  23089. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23090. end;
  23091. procedure TI2C5_I2C3ACON.setI2CEN; inline;
  23092. begin
  23093. pTDefRegMap(@Self)^.&set := $00008000;
  23094. end;
  23095. procedure TI2C5_I2C3ACON.clearI2CEN; inline;
  23096. begin
  23097. pTDefRegMap(@Self)^.clr := $00008000;
  23098. end;
  23099. procedure TI2C5_I2C3ACON.setI2CEN(thebits : TBits_1); inline;
  23100. begin
  23101. if thebits = 0 then
  23102. pTDefRegMap(@Self)^.clr := $00008000
  23103. else
  23104. pTDefRegMap(@Self)^.&set := $00008000;
  23105. end;
  23106. function TI2C5_I2C3ACON.getI2CEN : TBits_1; inline;
  23107. begin
  23108. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23109. end;
  23110. procedure TI2C5_I2C3ACON.setw(thebits : TBits_32); inline;
  23111. begin
  23112. pTDefRegMap(@Self)^.val := thebits;
  23113. end;
  23114. function TI2C5_I2C3ACON.getw : TBits_32; inline;
  23115. begin
  23116. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23117. end;
  23118. procedure TI2C5_I2C5CON.setSEN; inline;
  23119. begin
  23120. pTDefRegMap(@Self)^.&set := $00000001;
  23121. end;
  23122. procedure TI2C5_I2C5CON.clearSEN; inline;
  23123. begin
  23124. pTDefRegMap(@Self)^.clr := $00000001;
  23125. end;
  23126. procedure TI2C5_I2C5CON.setSEN(thebits : TBits_1); inline;
  23127. begin
  23128. if thebits = 0 then
  23129. pTDefRegMap(@Self)^.clr := $00000001
  23130. else
  23131. pTDefRegMap(@Self)^.&set := $00000001;
  23132. end;
  23133. function TI2C5_I2C5CON.getSEN : TBits_1; inline;
  23134. begin
  23135. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23136. end;
  23137. procedure TI2C5_I2C5CON.setRSEN; inline;
  23138. begin
  23139. pTDefRegMap(@Self)^.&set := $00000002;
  23140. end;
  23141. procedure TI2C5_I2C5CON.clearRSEN; inline;
  23142. begin
  23143. pTDefRegMap(@Self)^.clr := $00000002;
  23144. end;
  23145. procedure TI2C5_I2C5CON.setRSEN(thebits : TBits_1); inline;
  23146. begin
  23147. if thebits = 0 then
  23148. pTDefRegMap(@Self)^.clr := $00000002
  23149. else
  23150. pTDefRegMap(@Self)^.&set := $00000002;
  23151. end;
  23152. function TI2C5_I2C5CON.getRSEN : TBits_1; inline;
  23153. begin
  23154. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23155. end;
  23156. procedure TI2C5_I2C5CON.setPEN; inline;
  23157. begin
  23158. pTDefRegMap(@Self)^.&set := $00000004;
  23159. end;
  23160. procedure TI2C5_I2C5CON.clearPEN; inline;
  23161. begin
  23162. pTDefRegMap(@Self)^.clr := $00000004;
  23163. end;
  23164. procedure TI2C5_I2C5CON.setPEN(thebits : TBits_1); inline;
  23165. begin
  23166. if thebits = 0 then
  23167. pTDefRegMap(@Self)^.clr := $00000004
  23168. else
  23169. pTDefRegMap(@Self)^.&set := $00000004;
  23170. end;
  23171. function TI2C5_I2C5CON.getPEN : TBits_1; inline;
  23172. begin
  23173. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23174. end;
  23175. procedure TI2C5_I2C5CON.setRCEN; inline;
  23176. begin
  23177. pTDefRegMap(@Self)^.&set := $00000008;
  23178. end;
  23179. procedure TI2C5_I2C5CON.clearRCEN; inline;
  23180. begin
  23181. pTDefRegMap(@Self)^.clr := $00000008;
  23182. end;
  23183. procedure TI2C5_I2C5CON.setRCEN(thebits : TBits_1); inline;
  23184. begin
  23185. if thebits = 0 then
  23186. pTDefRegMap(@Self)^.clr := $00000008
  23187. else
  23188. pTDefRegMap(@Self)^.&set := $00000008;
  23189. end;
  23190. function TI2C5_I2C5CON.getRCEN : TBits_1; inline;
  23191. begin
  23192. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23193. end;
  23194. procedure TI2C5_I2C5CON.setACKEN; inline;
  23195. begin
  23196. pTDefRegMap(@Self)^.&set := $00000010;
  23197. end;
  23198. procedure TI2C5_I2C5CON.clearACKEN; inline;
  23199. begin
  23200. pTDefRegMap(@Self)^.clr := $00000010;
  23201. end;
  23202. procedure TI2C5_I2C5CON.setACKEN(thebits : TBits_1); inline;
  23203. begin
  23204. if thebits = 0 then
  23205. pTDefRegMap(@Self)^.clr := $00000010
  23206. else
  23207. pTDefRegMap(@Self)^.&set := $00000010;
  23208. end;
  23209. function TI2C5_I2C5CON.getACKEN : TBits_1; inline;
  23210. begin
  23211. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23212. end;
  23213. procedure TI2C5_I2C5CON.setACKDT; inline;
  23214. begin
  23215. pTDefRegMap(@Self)^.&set := $00000020;
  23216. end;
  23217. procedure TI2C5_I2C5CON.clearACKDT; inline;
  23218. begin
  23219. pTDefRegMap(@Self)^.clr := $00000020;
  23220. end;
  23221. procedure TI2C5_I2C5CON.setACKDT(thebits : TBits_1); inline;
  23222. begin
  23223. if thebits = 0 then
  23224. pTDefRegMap(@Self)^.clr := $00000020
  23225. else
  23226. pTDefRegMap(@Self)^.&set := $00000020;
  23227. end;
  23228. function TI2C5_I2C5CON.getACKDT : TBits_1; inline;
  23229. begin
  23230. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23231. end;
  23232. procedure TI2C5_I2C5CON.setSTREN; inline;
  23233. begin
  23234. pTDefRegMap(@Self)^.&set := $00000040;
  23235. end;
  23236. procedure TI2C5_I2C5CON.clearSTREN; inline;
  23237. begin
  23238. pTDefRegMap(@Self)^.clr := $00000040;
  23239. end;
  23240. procedure TI2C5_I2C5CON.setSTREN(thebits : TBits_1); inline;
  23241. begin
  23242. if thebits = 0 then
  23243. pTDefRegMap(@Self)^.clr := $00000040
  23244. else
  23245. pTDefRegMap(@Self)^.&set := $00000040;
  23246. end;
  23247. function TI2C5_I2C5CON.getSTREN : TBits_1; inline;
  23248. begin
  23249. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23250. end;
  23251. procedure TI2C5_I2C5CON.setGCEN; inline;
  23252. begin
  23253. pTDefRegMap(@Self)^.&set := $00000080;
  23254. end;
  23255. procedure TI2C5_I2C5CON.clearGCEN; inline;
  23256. begin
  23257. pTDefRegMap(@Self)^.clr := $00000080;
  23258. end;
  23259. procedure TI2C5_I2C5CON.setGCEN(thebits : TBits_1); inline;
  23260. begin
  23261. if thebits = 0 then
  23262. pTDefRegMap(@Self)^.clr := $00000080
  23263. else
  23264. pTDefRegMap(@Self)^.&set := $00000080;
  23265. end;
  23266. function TI2C5_I2C5CON.getGCEN : TBits_1; inline;
  23267. begin
  23268. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23269. end;
  23270. procedure TI2C5_I2C5CON.setSMEN; inline;
  23271. begin
  23272. pTDefRegMap(@Self)^.&set := $00000100;
  23273. end;
  23274. procedure TI2C5_I2C5CON.clearSMEN; inline;
  23275. begin
  23276. pTDefRegMap(@Self)^.clr := $00000100;
  23277. end;
  23278. procedure TI2C5_I2C5CON.setSMEN(thebits : TBits_1); inline;
  23279. begin
  23280. if thebits = 0 then
  23281. pTDefRegMap(@Self)^.clr := $00000100
  23282. else
  23283. pTDefRegMap(@Self)^.&set := $00000100;
  23284. end;
  23285. function TI2C5_I2C5CON.getSMEN : TBits_1; inline;
  23286. begin
  23287. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23288. end;
  23289. procedure TI2C5_I2C5CON.setDISSLW; inline;
  23290. begin
  23291. pTDefRegMap(@Self)^.&set := $00000200;
  23292. end;
  23293. procedure TI2C5_I2C5CON.clearDISSLW; inline;
  23294. begin
  23295. pTDefRegMap(@Self)^.clr := $00000200;
  23296. end;
  23297. procedure TI2C5_I2C5CON.setDISSLW(thebits : TBits_1); inline;
  23298. begin
  23299. if thebits = 0 then
  23300. pTDefRegMap(@Self)^.clr := $00000200
  23301. else
  23302. pTDefRegMap(@Self)^.&set := $00000200;
  23303. end;
  23304. function TI2C5_I2C5CON.getDISSLW : TBits_1; inline;
  23305. begin
  23306. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23307. end;
  23308. procedure TI2C5_I2C5CON.setA10M; inline;
  23309. begin
  23310. pTDefRegMap(@Self)^.&set := $00000400;
  23311. end;
  23312. procedure TI2C5_I2C5CON.clearA10M; inline;
  23313. begin
  23314. pTDefRegMap(@Self)^.clr := $00000400;
  23315. end;
  23316. procedure TI2C5_I2C5CON.setA10M(thebits : TBits_1); inline;
  23317. begin
  23318. if thebits = 0 then
  23319. pTDefRegMap(@Self)^.clr := $00000400
  23320. else
  23321. pTDefRegMap(@Self)^.&set := $00000400;
  23322. end;
  23323. function TI2C5_I2C5CON.getA10M : TBits_1; inline;
  23324. begin
  23325. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23326. end;
  23327. procedure TI2C5_I2C5CON.setSTRICT; inline;
  23328. begin
  23329. pTDefRegMap(@Self)^.&set := $00000800;
  23330. end;
  23331. procedure TI2C5_I2C5CON.clearSTRICT; inline;
  23332. begin
  23333. pTDefRegMap(@Self)^.clr := $00000800;
  23334. end;
  23335. procedure TI2C5_I2C5CON.setSTRICT(thebits : TBits_1); inline;
  23336. begin
  23337. if thebits = 0 then
  23338. pTDefRegMap(@Self)^.clr := $00000800
  23339. else
  23340. pTDefRegMap(@Self)^.&set := $00000800;
  23341. end;
  23342. function TI2C5_I2C5CON.getSTRICT : TBits_1; inline;
  23343. begin
  23344. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23345. end;
  23346. procedure TI2C5_I2C5CON.setSCLREL; inline;
  23347. begin
  23348. pTDefRegMap(@Self)^.&set := $00001000;
  23349. end;
  23350. procedure TI2C5_I2C5CON.clearSCLREL; inline;
  23351. begin
  23352. pTDefRegMap(@Self)^.clr := $00001000;
  23353. end;
  23354. procedure TI2C5_I2C5CON.setSCLREL(thebits : TBits_1); inline;
  23355. begin
  23356. if thebits = 0 then
  23357. pTDefRegMap(@Self)^.clr := $00001000
  23358. else
  23359. pTDefRegMap(@Self)^.&set := $00001000;
  23360. end;
  23361. function TI2C5_I2C5CON.getSCLREL : TBits_1; inline;
  23362. begin
  23363. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23364. end;
  23365. procedure TI2C5_I2C5CON.setSIDL; inline;
  23366. begin
  23367. pTDefRegMap(@Self)^.&set := $00002000;
  23368. end;
  23369. procedure TI2C5_I2C5CON.clearSIDL; inline;
  23370. begin
  23371. pTDefRegMap(@Self)^.clr := $00002000;
  23372. end;
  23373. procedure TI2C5_I2C5CON.setSIDL(thebits : TBits_1); inline;
  23374. begin
  23375. if thebits = 0 then
  23376. pTDefRegMap(@Self)^.clr := $00002000
  23377. else
  23378. pTDefRegMap(@Self)^.&set := $00002000;
  23379. end;
  23380. function TI2C5_I2C5CON.getSIDL : TBits_1; inline;
  23381. begin
  23382. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23383. end;
  23384. procedure TI2C5_I2C5CON.setON; inline;
  23385. begin
  23386. pTDefRegMap(@Self)^.&set := $00008000;
  23387. end;
  23388. procedure TI2C5_I2C5CON.clearON; inline;
  23389. begin
  23390. pTDefRegMap(@Self)^.clr := $00008000;
  23391. end;
  23392. procedure TI2C5_I2C5CON.setON(thebits : TBits_1); inline;
  23393. begin
  23394. if thebits = 0 then
  23395. pTDefRegMap(@Self)^.clr := $00008000
  23396. else
  23397. pTDefRegMap(@Self)^.&set := $00008000;
  23398. end;
  23399. function TI2C5_I2C5CON.getON : TBits_1; inline;
  23400. begin
  23401. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23402. end;
  23403. procedure TI2C5_I2C5CON.setIPMIEN; inline;
  23404. begin
  23405. pTDefRegMap(@Self)^.&set := $00000800;
  23406. end;
  23407. procedure TI2C5_I2C5CON.clearIPMIEN; inline;
  23408. begin
  23409. pTDefRegMap(@Self)^.clr := $00000800;
  23410. end;
  23411. procedure TI2C5_I2C5CON.setIPMIEN(thebits : TBits_1); inline;
  23412. begin
  23413. if thebits = 0 then
  23414. pTDefRegMap(@Self)^.clr := $00000800
  23415. else
  23416. pTDefRegMap(@Self)^.&set := $00000800;
  23417. end;
  23418. function TI2C5_I2C5CON.getIPMIEN : TBits_1; inline;
  23419. begin
  23420. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23421. end;
  23422. procedure TI2C5_I2C5CON.setI2CSIDL; inline;
  23423. begin
  23424. pTDefRegMap(@Self)^.&set := $00002000;
  23425. end;
  23426. procedure TI2C5_I2C5CON.clearI2CSIDL; inline;
  23427. begin
  23428. pTDefRegMap(@Self)^.clr := $00002000;
  23429. end;
  23430. procedure TI2C5_I2C5CON.setI2CSIDL(thebits : TBits_1); inline;
  23431. begin
  23432. if thebits = 0 then
  23433. pTDefRegMap(@Self)^.clr := $00002000
  23434. else
  23435. pTDefRegMap(@Self)^.&set := $00002000;
  23436. end;
  23437. function TI2C5_I2C5CON.getI2CSIDL : TBits_1; inline;
  23438. begin
  23439. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23440. end;
  23441. procedure TI2C5_I2C5CON.setI2CEN; inline;
  23442. begin
  23443. pTDefRegMap(@Self)^.&set := $00008000;
  23444. end;
  23445. procedure TI2C5_I2C5CON.clearI2CEN; inline;
  23446. begin
  23447. pTDefRegMap(@Self)^.clr := $00008000;
  23448. end;
  23449. procedure TI2C5_I2C5CON.setI2CEN(thebits : TBits_1); inline;
  23450. begin
  23451. if thebits = 0 then
  23452. pTDefRegMap(@Self)^.clr := $00008000
  23453. else
  23454. pTDefRegMap(@Self)^.&set := $00008000;
  23455. end;
  23456. function TI2C5_I2C5CON.getI2CEN : TBits_1; inline;
  23457. begin
  23458. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23459. end;
  23460. procedure TI2C5_I2C5CON.setw(thebits : TBits_32); inline;
  23461. begin
  23462. pTDefRegMap(@Self)^.val := thebits;
  23463. end;
  23464. function TI2C5_I2C5CON.getw : TBits_32; inline;
  23465. begin
  23466. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23467. end;
  23468. procedure TI2C5_I2C3ASTAT.setTBF; inline;
  23469. begin
  23470. pTDefRegMap(@Self)^.&set := $00000001;
  23471. end;
  23472. procedure TI2C5_I2C3ASTAT.clearTBF; inline;
  23473. begin
  23474. pTDefRegMap(@Self)^.clr := $00000001;
  23475. end;
  23476. procedure TI2C5_I2C3ASTAT.setTBF(thebits : TBits_1); inline;
  23477. begin
  23478. if thebits = 0 then
  23479. pTDefRegMap(@Self)^.clr := $00000001
  23480. else
  23481. pTDefRegMap(@Self)^.&set := $00000001;
  23482. end;
  23483. function TI2C5_I2C3ASTAT.getTBF : TBits_1; inline;
  23484. begin
  23485. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23486. end;
  23487. procedure TI2C5_I2C3ASTAT.setRBF; inline;
  23488. begin
  23489. pTDefRegMap(@Self)^.&set := $00000002;
  23490. end;
  23491. procedure TI2C5_I2C3ASTAT.clearRBF; inline;
  23492. begin
  23493. pTDefRegMap(@Self)^.clr := $00000002;
  23494. end;
  23495. procedure TI2C5_I2C3ASTAT.setRBF(thebits : TBits_1); inline;
  23496. begin
  23497. if thebits = 0 then
  23498. pTDefRegMap(@Self)^.clr := $00000002
  23499. else
  23500. pTDefRegMap(@Self)^.&set := $00000002;
  23501. end;
  23502. function TI2C5_I2C3ASTAT.getRBF : TBits_1; inline;
  23503. begin
  23504. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23505. end;
  23506. procedure TI2C5_I2C3ASTAT.setR_W; inline;
  23507. begin
  23508. pTDefRegMap(@Self)^.&set := $00000004;
  23509. end;
  23510. procedure TI2C5_I2C3ASTAT.clearR_W; inline;
  23511. begin
  23512. pTDefRegMap(@Self)^.clr := $00000004;
  23513. end;
  23514. procedure TI2C5_I2C3ASTAT.setR_W(thebits : TBits_1); inline;
  23515. begin
  23516. if thebits = 0 then
  23517. pTDefRegMap(@Self)^.clr := $00000004
  23518. else
  23519. pTDefRegMap(@Self)^.&set := $00000004;
  23520. end;
  23521. function TI2C5_I2C3ASTAT.getR_W : TBits_1; inline;
  23522. begin
  23523. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23524. end;
  23525. procedure TI2C5_I2C3ASTAT.setS; inline;
  23526. begin
  23527. pTDefRegMap(@Self)^.&set := $00000008;
  23528. end;
  23529. procedure TI2C5_I2C3ASTAT.clearS; inline;
  23530. begin
  23531. pTDefRegMap(@Self)^.clr := $00000008;
  23532. end;
  23533. procedure TI2C5_I2C3ASTAT.setS(thebits : TBits_1); inline;
  23534. begin
  23535. if thebits = 0 then
  23536. pTDefRegMap(@Self)^.clr := $00000008
  23537. else
  23538. pTDefRegMap(@Self)^.&set := $00000008;
  23539. end;
  23540. function TI2C5_I2C3ASTAT.getS : TBits_1; inline;
  23541. begin
  23542. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23543. end;
  23544. procedure TI2C5_I2C3ASTAT.setP; inline;
  23545. begin
  23546. pTDefRegMap(@Self)^.&set := $00000010;
  23547. end;
  23548. procedure TI2C5_I2C3ASTAT.clearP; inline;
  23549. begin
  23550. pTDefRegMap(@Self)^.clr := $00000010;
  23551. end;
  23552. procedure TI2C5_I2C3ASTAT.setP(thebits : TBits_1); inline;
  23553. begin
  23554. if thebits = 0 then
  23555. pTDefRegMap(@Self)^.clr := $00000010
  23556. else
  23557. pTDefRegMap(@Self)^.&set := $00000010;
  23558. end;
  23559. function TI2C5_I2C3ASTAT.getP : TBits_1; inline;
  23560. begin
  23561. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23562. end;
  23563. procedure TI2C5_I2C3ASTAT.setD_A; inline;
  23564. begin
  23565. pTDefRegMap(@Self)^.&set := $00000020;
  23566. end;
  23567. procedure TI2C5_I2C3ASTAT.clearD_A; inline;
  23568. begin
  23569. pTDefRegMap(@Self)^.clr := $00000020;
  23570. end;
  23571. procedure TI2C5_I2C3ASTAT.setD_A(thebits : TBits_1); inline;
  23572. begin
  23573. if thebits = 0 then
  23574. pTDefRegMap(@Self)^.clr := $00000020
  23575. else
  23576. pTDefRegMap(@Self)^.&set := $00000020;
  23577. end;
  23578. function TI2C5_I2C3ASTAT.getD_A : TBits_1; inline;
  23579. begin
  23580. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23581. end;
  23582. procedure TI2C5_I2C3ASTAT.setI2COV; inline;
  23583. begin
  23584. pTDefRegMap(@Self)^.&set := $00000040;
  23585. end;
  23586. procedure TI2C5_I2C3ASTAT.clearI2COV; inline;
  23587. begin
  23588. pTDefRegMap(@Self)^.clr := $00000040;
  23589. end;
  23590. procedure TI2C5_I2C3ASTAT.setI2COV(thebits : TBits_1); inline;
  23591. begin
  23592. if thebits = 0 then
  23593. pTDefRegMap(@Self)^.clr := $00000040
  23594. else
  23595. pTDefRegMap(@Self)^.&set := $00000040;
  23596. end;
  23597. function TI2C5_I2C3ASTAT.getI2COV : TBits_1; inline;
  23598. begin
  23599. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23600. end;
  23601. procedure TI2C5_I2C3ASTAT.setIWCOL; inline;
  23602. begin
  23603. pTDefRegMap(@Self)^.&set := $00000080;
  23604. end;
  23605. procedure TI2C5_I2C3ASTAT.clearIWCOL; inline;
  23606. begin
  23607. pTDefRegMap(@Self)^.clr := $00000080;
  23608. end;
  23609. procedure TI2C5_I2C3ASTAT.setIWCOL(thebits : TBits_1); inline;
  23610. begin
  23611. if thebits = 0 then
  23612. pTDefRegMap(@Self)^.clr := $00000080
  23613. else
  23614. pTDefRegMap(@Self)^.&set := $00000080;
  23615. end;
  23616. function TI2C5_I2C3ASTAT.getIWCOL : TBits_1; inline;
  23617. begin
  23618. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23619. end;
  23620. procedure TI2C5_I2C3ASTAT.setADD10; inline;
  23621. begin
  23622. pTDefRegMap(@Self)^.&set := $00000100;
  23623. end;
  23624. procedure TI2C5_I2C3ASTAT.clearADD10; inline;
  23625. begin
  23626. pTDefRegMap(@Self)^.clr := $00000100;
  23627. end;
  23628. procedure TI2C5_I2C3ASTAT.setADD10(thebits : TBits_1); inline;
  23629. begin
  23630. if thebits = 0 then
  23631. pTDefRegMap(@Self)^.clr := $00000100
  23632. else
  23633. pTDefRegMap(@Self)^.&set := $00000100;
  23634. end;
  23635. function TI2C5_I2C3ASTAT.getADD10 : TBits_1; inline;
  23636. begin
  23637. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23638. end;
  23639. procedure TI2C5_I2C3ASTAT.setGCSTAT; inline;
  23640. begin
  23641. pTDefRegMap(@Self)^.&set := $00000200;
  23642. end;
  23643. procedure TI2C5_I2C3ASTAT.clearGCSTAT; inline;
  23644. begin
  23645. pTDefRegMap(@Self)^.clr := $00000200;
  23646. end;
  23647. procedure TI2C5_I2C3ASTAT.setGCSTAT(thebits : TBits_1); inline;
  23648. begin
  23649. if thebits = 0 then
  23650. pTDefRegMap(@Self)^.clr := $00000200
  23651. else
  23652. pTDefRegMap(@Self)^.&set := $00000200;
  23653. end;
  23654. function TI2C5_I2C3ASTAT.getGCSTAT : TBits_1; inline;
  23655. begin
  23656. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23657. end;
  23658. procedure TI2C5_I2C3ASTAT.setBCL; inline;
  23659. begin
  23660. pTDefRegMap(@Self)^.&set := $00000400;
  23661. end;
  23662. procedure TI2C5_I2C3ASTAT.clearBCL; inline;
  23663. begin
  23664. pTDefRegMap(@Self)^.clr := $00000400;
  23665. end;
  23666. procedure TI2C5_I2C3ASTAT.setBCL(thebits : TBits_1); inline;
  23667. begin
  23668. if thebits = 0 then
  23669. pTDefRegMap(@Self)^.clr := $00000400
  23670. else
  23671. pTDefRegMap(@Self)^.&set := $00000400;
  23672. end;
  23673. function TI2C5_I2C3ASTAT.getBCL : TBits_1; inline;
  23674. begin
  23675. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23676. end;
  23677. procedure TI2C5_I2C3ASTAT.setTRSTAT; inline;
  23678. begin
  23679. pTDefRegMap(@Self)^.&set := $00004000;
  23680. end;
  23681. procedure TI2C5_I2C3ASTAT.clearTRSTAT; inline;
  23682. begin
  23683. pTDefRegMap(@Self)^.clr := $00004000;
  23684. end;
  23685. procedure TI2C5_I2C3ASTAT.setTRSTAT(thebits : TBits_1); inline;
  23686. begin
  23687. if thebits = 0 then
  23688. pTDefRegMap(@Self)^.clr := $00004000
  23689. else
  23690. pTDefRegMap(@Self)^.&set := $00004000;
  23691. end;
  23692. function TI2C5_I2C3ASTAT.getTRSTAT : TBits_1; inline;
  23693. begin
  23694. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23695. end;
  23696. procedure TI2C5_I2C3ASTAT.setACKSTAT; inline;
  23697. begin
  23698. pTDefRegMap(@Self)^.&set := $00008000;
  23699. end;
  23700. procedure TI2C5_I2C3ASTAT.clearACKSTAT; inline;
  23701. begin
  23702. pTDefRegMap(@Self)^.clr := $00008000;
  23703. end;
  23704. procedure TI2C5_I2C3ASTAT.setACKSTAT(thebits : TBits_1); inline;
  23705. begin
  23706. if thebits = 0 then
  23707. pTDefRegMap(@Self)^.clr := $00008000
  23708. else
  23709. pTDefRegMap(@Self)^.&set := $00008000;
  23710. end;
  23711. function TI2C5_I2C3ASTAT.getACKSTAT : TBits_1; inline;
  23712. begin
  23713. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23714. end;
  23715. procedure TI2C5_I2C3ASTAT.setI2CPOV; inline;
  23716. begin
  23717. pTDefRegMap(@Self)^.&set := $00000040;
  23718. end;
  23719. procedure TI2C5_I2C3ASTAT.clearI2CPOV; inline;
  23720. begin
  23721. pTDefRegMap(@Self)^.clr := $00000040;
  23722. end;
  23723. procedure TI2C5_I2C3ASTAT.setI2CPOV(thebits : TBits_1); inline;
  23724. begin
  23725. if thebits = 0 then
  23726. pTDefRegMap(@Self)^.clr := $00000040
  23727. else
  23728. pTDefRegMap(@Self)^.&set := $00000040;
  23729. end;
  23730. function TI2C5_I2C3ASTAT.getI2CPOV : TBits_1; inline;
  23731. begin
  23732. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23733. end;
  23734. procedure TI2C5_I2C3ASTAT.setw(thebits : TBits_32); inline;
  23735. begin
  23736. pTDefRegMap(@Self)^.val := thebits;
  23737. end;
  23738. function TI2C5_I2C3ASTAT.getw : TBits_32; inline;
  23739. begin
  23740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23741. end;
  23742. procedure TI2C5_I2C5STAT.setTBF; inline;
  23743. begin
  23744. pTDefRegMap(@Self)^.&set := $00000001;
  23745. end;
  23746. procedure TI2C5_I2C5STAT.clearTBF; inline;
  23747. begin
  23748. pTDefRegMap(@Self)^.clr := $00000001;
  23749. end;
  23750. procedure TI2C5_I2C5STAT.setTBF(thebits : TBits_1); inline;
  23751. begin
  23752. if thebits = 0 then
  23753. pTDefRegMap(@Self)^.clr := $00000001
  23754. else
  23755. pTDefRegMap(@Self)^.&set := $00000001;
  23756. end;
  23757. function TI2C5_I2C5STAT.getTBF : TBits_1; inline;
  23758. begin
  23759. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23760. end;
  23761. procedure TI2C5_I2C5STAT.setRBF; inline;
  23762. begin
  23763. pTDefRegMap(@Self)^.&set := $00000002;
  23764. end;
  23765. procedure TI2C5_I2C5STAT.clearRBF; inline;
  23766. begin
  23767. pTDefRegMap(@Self)^.clr := $00000002;
  23768. end;
  23769. procedure TI2C5_I2C5STAT.setRBF(thebits : TBits_1); inline;
  23770. begin
  23771. if thebits = 0 then
  23772. pTDefRegMap(@Self)^.clr := $00000002
  23773. else
  23774. pTDefRegMap(@Self)^.&set := $00000002;
  23775. end;
  23776. function TI2C5_I2C5STAT.getRBF : TBits_1; inline;
  23777. begin
  23778. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23779. end;
  23780. procedure TI2C5_I2C5STAT.setR_W; inline;
  23781. begin
  23782. pTDefRegMap(@Self)^.&set := $00000004;
  23783. end;
  23784. procedure TI2C5_I2C5STAT.clearR_W; inline;
  23785. begin
  23786. pTDefRegMap(@Self)^.clr := $00000004;
  23787. end;
  23788. procedure TI2C5_I2C5STAT.setR_W(thebits : TBits_1); inline;
  23789. begin
  23790. if thebits = 0 then
  23791. pTDefRegMap(@Self)^.clr := $00000004
  23792. else
  23793. pTDefRegMap(@Self)^.&set := $00000004;
  23794. end;
  23795. function TI2C5_I2C5STAT.getR_W : TBits_1; inline;
  23796. begin
  23797. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23798. end;
  23799. procedure TI2C5_I2C5STAT.setS; inline;
  23800. begin
  23801. pTDefRegMap(@Self)^.&set := $00000008;
  23802. end;
  23803. procedure TI2C5_I2C5STAT.clearS; inline;
  23804. begin
  23805. pTDefRegMap(@Self)^.clr := $00000008;
  23806. end;
  23807. procedure TI2C5_I2C5STAT.setS(thebits : TBits_1); inline;
  23808. begin
  23809. if thebits = 0 then
  23810. pTDefRegMap(@Self)^.clr := $00000008
  23811. else
  23812. pTDefRegMap(@Self)^.&set := $00000008;
  23813. end;
  23814. function TI2C5_I2C5STAT.getS : TBits_1; inline;
  23815. begin
  23816. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23817. end;
  23818. procedure TI2C5_I2C5STAT.setP; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.&set := $00000010;
  23821. end;
  23822. procedure TI2C5_I2C5STAT.clearP; inline;
  23823. begin
  23824. pTDefRegMap(@Self)^.clr := $00000010;
  23825. end;
  23826. procedure TI2C5_I2C5STAT.setP(thebits : TBits_1); inline;
  23827. begin
  23828. if thebits = 0 then
  23829. pTDefRegMap(@Self)^.clr := $00000010
  23830. else
  23831. pTDefRegMap(@Self)^.&set := $00000010;
  23832. end;
  23833. function TI2C5_I2C5STAT.getP : TBits_1; inline;
  23834. begin
  23835. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23836. end;
  23837. procedure TI2C5_I2C5STAT.setD_A; inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.&set := $00000020;
  23840. end;
  23841. procedure TI2C5_I2C5STAT.clearD_A; inline;
  23842. begin
  23843. pTDefRegMap(@Self)^.clr := $00000020;
  23844. end;
  23845. procedure TI2C5_I2C5STAT.setD_A(thebits : TBits_1); inline;
  23846. begin
  23847. if thebits = 0 then
  23848. pTDefRegMap(@Self)^.clr := $00000020
  23849. else
  23850. pTDefRegMap(@Self)^.&set := $00000020;
  23851. end;
  23852. function TI2C5_I2C5STAT.getD_A : TBits_1; inline;
  23853. begin
  23854. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23855. end;
  23856. procedure TI2C5_I2C5STAT.setI2COV; inline;
  23857. begin
  23858. pTDefRegMap(@Self)^.&set := $00000040;
  23859. end;
  23860. procedure TI2C5_I2C5STAT.clearI2COV; inline;
  23861. begin
  23862. pTDefRegMap(@Self)^.clr := $00000040;
  23863. end;
  23864. procedure TI2C5_I2C5STAT.setI2COV(thebits : TBits_1); inline;
  23865. begin
  23866. if thebits = 0 then
  23867. pTDefRegMap(@Self)^.clr := $00000040
  23868. else
  23869. pTDefRegMap(@Self)^.&set := $00000040;
  23870. end;
  23871. function TI2C5_I2C5STAT.getI2COV : TBits_1; inline;
  23872. begin
  23873. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23874. end;
  23875. procedure TI2C5_I2C5STAT.setIWCOL; inline;
  23876. begin
  23877. pTDefRegMap(@Self)^.&set := $00000080;
  23878. end;
  23879. procedure TI2C5_I2C5STAT.clearIWCOL; inline;
  23880. begin
  23881. pTDefRegMap(@Self)^.clr := $00000080;
  23882. end;
  23883. procedure TI2C5_I2C5STAT.setIWCOL(thebits : TBits_1); inline;
  23884. begin
  23885. if thebits = 0 then
  23886. pTDefRegMap(@Self)^.clr := $00000080
  23887. else
  23888. pTDefRegMap(@Self)^.&set := $00000080;
  23889. end;
  23890. function TI2C5_I2C5STAT.getIWCOL : TBits_1; inline;
  23891. begin
  23892. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23893. end;
  23894. procedure TI2C5_I2C5STAT.setADD10; inline;
  23895. begin
  23896. pTDefRegMap(@Self)^.&set := $00000100;
  23897. end;
  23898. procedure TI2C5_I2C5STAT.clearADD10; inline;
  23899. begin
  23900. pTDefRegMap(@Self)^.clr := $00000100;
  23901. end;
  23902. procedure TI2C5_I2C5STAT.setADD10(thebits : TBits_1); inline;
  23903. begin
  23904. if thebits = 0 then
  23905. pTDefRegMap(@Self)^.clr := $00000100
  23906. else
  23907. pTDefRegMap(@Self)^.&set := $00000100;
  23908. end;
  23909. function TI2C5_I2C5STAT.getADD10 : TBits_1; inline;
  23910. begin
  23911. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23912. end;
  23913. procedure TI2C5_I2C5STAT.setGCSTAT; inline;
  23914. begin
  23915. pTDefRegMap(@Self)^.&set := $00000200;
  23916. end;
  23917. procedure TI2C5_I2C5STAT.clearGCSTAT; inline;
  23918. begin
  23919. pTDefRegMap(@Self)^.clr := $00000200;
  23920. end;
  23921. procedure TI2C5_I2C5STAT.setGCSTAT(thebits : TBits_1); inline;
  23922. begin
  23923. if thebits = 0 then
  23924. pTDefRegMap(@Self)^.clr := $00000200
  23925. else
  23926. pTDefRegMap(@Self)^.&set := $00000200;
  23927. end;
  23928. function TI2C5_I2C5STAT.getGCSTAT : TBits_1; inline;
  23929. begin
  23930. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23931. end;
  23932. procedure TI2C5_I2C5STAT.setBCL; inline;
  23933. begin
  23934. pTDefRegMap(@Self)^.&set := $00000400;
  23935. end;
  23936. procedure TI2C5_I2C5STAT.clearBCL; inline;
  23937. begin
  23938. pTDefRegMap(@Self)^.clr := $00000400;
  23939. end;
  23940. procedure TI2C5_I2C5STAT.setBCL(thebits : TBits_1); inline;
  23941. begin
  23942. if thebits = 0 then
  23943. pTDefRegMap(@Self)^.clr := $00000400
  23944. else
  23945. pTDefRegMap(@Self)^.&set := $00000400;
  23946. end;
  23947. function TI2C5_I2C5STAT.getBCL : TBits_1; inline;
  23948. begin
  23949. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23950. end;
  23951. procedure TI2C5_I2C5STAT.setTRSTAT; inline;
  23952. begin
  23953. pTDefRegMap(@Self)^.&set := $00004000;
  23954. end;
  23955. procedure TI2C5_I2C5STAT.clearTRSTAT; inline;
  23956. begin
  23957. pTDefRegMap(@Self)^.clr := $00004000;
  23958. end;
  23959. procedure TI2C5_I2C5STAT.setTRSTAT(thebits : TBits_1); inline;
  23960. begin
  23961. if thebits = 0 then
  23962. pTDefRegMap(@Self)^.clr := $00004000
  23963. else
  23964. pTDefRegMap(@Self)^.&set := $00004000;
  23965. end;
  23966. function TI2C5_I2C5STAT.getTRSTAT : TBits_1; inline;
  23967. begin
  23968. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23969. end;
  23970. procedure TI2C5_I2C5STAT.setACKSTAT; inline;
  23971. begin
  23972. pTDefRegMap(@Self)^.&set := $00008000;
  23973. end;
  23974. procedure TI2C5_I2C5STAT.clearACKSTAT; inline;
  23975. begin
  23976. pTDefRegMap(@Self)^.clr := $00008000;
  23977. end;
  23978. procedure TI2C5_I2C5STAT.setACKSTAT(thebits : TBits_1); inline;
  23979. begin
  23980. if thebits = 0 then
  23981. pTDefRegMap(@Self)^.clr := $00008000
  23982. else
  23983. pTDefRegMap(@Self)^.&set := $00008000;
  23984. end;
  23985. function TI2C5_I2C5STAT.getACKSTAT : TBits_1; inline;
  23986. begin
  23987. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23988. end;
  23989. procedure TI2C5_I2C5STAT.setI2CPOV; inline;
  23990. begin
  23991. pTDefRegMap(@Self)^.&set := $00000040;
  23992. end;
  23993. procedure TI2C5_I2C5STAT.clearI2CPOV; inline;
  23994. begin
  23995. pTDefRegMap(@Self)^.clr := $00000040;
  23996. end;
  23997. procedure TI2C5_I2C5STAT.setI2CPOV(thebits : TBits_1); inline;
  23998. begin
  23999. if thebits = 0 then
  24000. pTDefRegMap(@Self)^.clr := $00000040
  24001. else
  24002. pTDefRegMap(@Self)^.&set := $00000040;
  24003. end;
  24004. function TI2C5_I2C5STAT.getI2CPOV : TBits_1; inline;
  24005. begin
  24006. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24007. end;
  24008. procedure TI2C5_I2C5STAT.setw(thebits : TBits_32); inline;
  24009. begin
  24010. pTDefRegMap(@Self)^.val := thebits;
  24011. end;
  24012. function TI2C5_I2C5STAT.getw : TBits_32; inline;
  24013. begin
  24014. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24015. end;
  24016. procedure TI2C1_I2C1CON.setSEN; inline;
  24017. begin
  24018. pTDefRegMap(@Self)^.&set := $00000001;
  24019. end;
  24020. procedure TI2C1_I2C1CON.clearSEN; inline;
  24021. begin
  24022. pTDefRegMap(@Self)^.clr := $00000001;
  24023. end;
  24024. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  24025. begin
  24026. if thebits = 0 then
  24027. pTDefRegMap(@Self)^.clr := $00000001
  24028. else
  24029. pTDefRegMap(@Self)^.&set := $00000001;
  24030. end;
  24031. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  24032. begin
  24033. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24034. end;
  24035. procedure TI2C1_I2C1CON.setRSEN; inline;
  24036. begin
  24037. pTDefRegMap(@Self)^.&set := $00000002;
  24038. end;
  24039. procedure TI2C1_I2C1CON.clearRSEN; inline;
  24040. begin
  24041. pTDefRegMap(@Self)^.clr := $00000002;
  24042. end;
  24043. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  24044. begin
  24045. if thebits = 0 then
  24046. pTDefRegMap(@Self)^.clr := $00000002
  24047. else
  24048. pTDefRegMap(@Self)^.&set := $00000002;
  24049. end;
  24050. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  24051. begin
  24052. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24053. end;
  24054. procedure TI2C1_I2C1CON.setPEN; inline;
  24055. begin
  24056. pTDefRegMap(@Self)^.&set := $00000004;
  24057. end;
  24058. procedure TI2C1_I2C1CON.clearPEN; inline;
  24059. begin
  24060. pTDefRegMap(@Self)^.clr := $00000004;
  24061. end;
  24062. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  24063. begin
  24064. if thebits = 0 then
  24065. pTDefRegMap(@Self)^.clr := $00000004
  24066. else
  24067. pTDefRegMap(@Self)^.&set := $00000004;
  24068. end;
  24069. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  24070. begin
  24071. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24072. end;
  24073. procedure TI2C1_I2C1CON.setRCEN; inline;
  24074. begin
  24075. pTDefRegMap(@Self)^.&set := $00000008;
  24076. end;
  24077. procedure TI2C1_I2C1CON.clearRCEN; inline;
  24078. begin
  24079. pTDefRegMap(@Self)^.clr := $00000008;
  24080. end;
  24081. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  24082. begin
  24083. if thebits = 0 then
  24084. pTDefRegMap(@Self)^.clr := $00000008
  24085. else
  24086. pTDefRegMap(@Self)^.&set := $00000008;
  24087. end;
  24088. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  24089. begin
  24090. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24091. end;
  24092. procedure TI2C1_I2C1CON.setACKEN; inline;
  24093. begin
  24094. pTDefRegMap(@Self)^.&set := $00000010;
  24095. end;
  24096. procedure TI2C1_I2C1CON.clearACKEN; inline;
  24097. begin
  24098. pTDefRegMap(@Self)^.clr := $00000010;
  24099. end;
  24100. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  24101. begin
  24102. if thebits = 0 then
  24103. pTDefRegMap(@Self)^.clr := $00000010
  24104. else
  24105. pTDefRegMap(@Self)^.&set := $00000010;
  24106. end;
  24107. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  24108. begin
  24109. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24110. end;
  24111. procedure TI2C1_I2C1CON.setACKDT; inline;
  24112. begin
  24113. pTDefRegMap(@Self)^.&set := $00000020;
  24114. end;
  24115. procedure TI2C1_I2C1CON.clearACKDT; inline;
  24116. begin
  24117. pTDefRegMap(@Self)^.clr := $00000020;
  24118. end;
  24119. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  24120. begin
  24121. if thebits = 0 then
  24122. pTDefRegMap(@Self)^.clr := $00000020
  24123. else
  24124. pTDefRegMap(@Self)^.&set := $00000020;
  24125. end;
  24126. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  24127. begin
  24128. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24129. end;
  24130. procedure TI2C1_I2C1CON.setSTREN; inline;
  24131. begin
  24132. pTDefRegMap(@Self)^.&set := $00000040;
  24133. end;
  24134. procedure TI2C1_I2C1CON.clearSTREN; inline;
  24135. begin
  24136. pTDefRegMap(@Self)^.clr := $00000040;
  24137. end;
  24138. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  24139. begin
  24140. if thebits = 0 then
  24141. pTDefRegMap(@Self)^.clr := $00000040
  24142. else
  24143. pTDefRegMap(@Self)^.&set := $00000040;
  24144. end;
  24145. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  24146. begin
  24147. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24148. end;
  24149. procedure TI2C1_I2C1CON.setGCEN; inline;
  24150. begin
  24151. pTDefRegMap(@Self)^.&set := $00000080;
  24152. end;
  24153. procedure TI2C1_I2C1CON.clearGCEN; inline;
  24154. begin
  24155. pTDefRegMap(@Self)^.clr := $00000080;
  24156. end;
  24157. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  24158. begin
  24159. if thebits = 0 then
  24160. pTDefRegMap(@Self)^.clr := $00000080
  24161. else
  24162. pTDefRegMap(@Self)^.&set := $00000080;
  24163. end;
  24164. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  24165. begin
  24166. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24167. end;
  24168. procedure TI2C1_I2C1CON.setSMEN; inline;
  24169. begin
  24170. pTDefRegMap(@Self)^.&set := $00000100;
  24171. end;
  24172. procedure TI2C1_I2C1CON.clearSMEN; inline;
  24173. begin
  24174. pTDefRegMap(@Self)^.clr := $00000100;
  24175. end;
  24176. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  24177. begin
  24178. if thebits = 0 then
  24179. pTDefRegMap(@Self)^.clr := $00000100
  24180. else
  24181. pTDefRegMap(@Self)^.&set := $00000100;
  24182. end;
  24183. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  24184. begin
  24185. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24186. end;
  24187. procedure TI2C1_I2C1CON.setDISSLW; inline;
  24188. begin
  24189. pTDefRegMap(@Self)^.&set := $00000200;
  24190. end;
  24191. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  24192. begin
  24193. pTDefRegMap(@Self)^.clr := $00000200;
  24194. end;
  24195. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  24196. begin
  24197. if thebits = 0 then
  24198. pTDefRegMap(@Self)^.clr := $00000200
  24199. else
  24200. pTDefRegMap(@Self)^.&set := $00000200;
  24201. end;
  24202. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  24203. begin
  24204. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24205. end;
  24206. procedure TI2C1_I2C1CON.setA10M; inline;
  24207. begin
  24208. pTDefRegMap(@Self)^.&set := $00000400;
  24209. end;
  24210. procedure TI2C1_I2C1CON.clearA10M; inline;
  24211. begin
  24212. pTDefRegMap(@Self)^.clr := $00000400;
  24213. end;
  24214. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  24215. begin
  24216. if thebits = 0 then
  24217. pTDefRegMap(@Self)^.clr := $00000400
  24218. else
  24219. pTDefRegMap(@Self)^.&set := $00000400;
  24220. end;
  24221. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  24222. begin
  24223. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24224. end;
  24225. procedure TI2C1_I2C1CON.setSTRICT; inline;
  24226. begin
  24227. pTDefRegMap(@Self)^.&set := $00000800;
  24228. end;
  24229. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  24230. begin
  24231. pTDefRegMap(@Self)^.clr := $00000800;
  24232. end;
  24233. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  24234. begin
  24235. if thebits = 0 then
  24236. pTDefRegMap(@Self)^.clr := $00000800
  24237. else
  24238. pTDefRegMap(@Self)^.&set := $00000800;
  24239. end;
  24240. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  24241. begin
  24242. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24243. end;
  24244. procedure TI2C1_I2C1CON.setSCLREL; inline;
  24245. begin
  24246. pTDefRegMap(@Self)^.&set := $00001000;
  24247. end;
  24248. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  24249. begin
  24250. pTDefRegMap(@Self)^.clr := $00001000;
  24251. end;
  24252. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  24253. begin
  24254. if thebits = 0 then
  24255. pTDefRegMap(@Self)^.clr := $00001000
  24256. else
  24257. pTDefRegMap(@Self)^.&set := $00001000;
  24258. end;
  24259. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  24260. begin
  24261. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24262. end;
  24263. procedure TI2C1_I2C1CON.setSIDL; inline;
  24264. begin
  24265. pTDefRegMap(@Self)^.&set := $00002000;
  24266. end;
  24267. procedure TI2C1_I2C1CON.clearSIDL; inline;
  24268. begin
  24269. pTDefRegMap(@Self)^.clr := $00002000;
  24270. end;
  24271. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  24272. begin
  24273. if thebits = 0 then
  24274. pTDefRegMap(@Self)^.clr := $00002000
  24275. else
  24276. pTDefRegMap(@Self)^.&set := $00002000;
  24277. end;
  24278. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  24279. begin
  24280. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24281. end;
  24282. procedure TI2C1_I2C1CON.setON; inline;
  24283. begin
  24284. pTDefRegMap(@Self)^.&set := $00008000;
  24285. end;
  24286. procedure TI2C1_I2C1CON.clearON; inline;
  24287. begin
  24288. pTDefRegMap(@Self)^.clr := $00008000;
  24289. end;
  24290. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  24291. begin
  24292. if thebits = 0 then
  24293. pTDefRegMap(@Self)^.clr := $00008000
  24294. else
  24295. pTDefRegMap(@Self)^.&set := $00008000;
  24296. end;
  24297. function TI2C1_I2C1CON.getON : TBits_1; inline;
  24298. begin
  24299. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24300. end;
  24301. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  24302. begin
  24303. pTDefRegMap(@Self)^.&set := $00000800;
  24304. end;
  24305. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  24306. begin
  24307. pTDefRegMap(@Self)^.clr := $00000800;
  24308. end;
  24309. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  24310. begin
  24311. if thebits = 0 then
  24312. pTDefRegMap(@Self)^.clr := $00000800
  24313. else
  24314. pTDefRegMap(@Self)^.&set := $00000800;
  24315. end;
  24316. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  24317. begin
  24318. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24319. end;
  24320. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  24321. begin
  24322. pTDefRegMap(@Self)^.&set := $00002000;
  24323. end;
  24324. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  24325. begin
  24326. pTDefRegMap(@Self)^.clr := $00002000;
  24327. end;
  24328. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  24329. begin
  24330. if thebits = 0 then
  24331. pTDefRegMap(@Self)^.clr := $00002000
  24332. else
  24333. pTDefRegMap(@Self)^.&set := $00002000;
  24334. end;
  24335. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  24336. begin
  24337. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24338. end;
  24339. procedure TI2C1_I2C1CON.setI2CEN; inline;
  24340. begin
  24341. pTDefRegMap(@Self)^.&set := $00008000;
  24342. end;
  24343. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  24344. begin
  24345. pTDefRegMap(@Self)^.clr := $00008000;
  24346. end;
  24347. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  24348. begin
  24349. if thebits = 0 then
  24350. pTDefRegMap(@Self)^.clr := $00008000
  24351. else
  24352. pTDefRegMap(@Self)^.&set := $00008000;
  24353. end;
  24354. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  24355. begin
  24356. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24357. end;
  24358. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  24359. begin
  24360. pTDefRegMap(@Self)^.val := thebits;
  24361. end;
  24362. function TI2C1_I2C1CON.getw : TBits_32; inline;
  24363. begin
  24364. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24365. end;
  24366. procedure TI2C1_I2C1STAT.setTBF; inline;
  24367. begin
  24368. pTDefRegMap(@Self)^.&set := $00000001;
  24369. end;
  24370. procedure TI2C1_I2C1STAT.clearTBF; inline;
  24371. begin
  24372. pTDefRegMap(@Self)^.clr := $00000001;
  24373. end;
  24374. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  24375. begin
  24376. if thebits = 0 then
  24377. pTDefRegMap(@Self)^.clr := $00000001
  24378. else
  24379. pTDefRegMap(@Self)^.&set := $00000001;
  24380. end;
  24381. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  24382. begin
  24383. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24384. end;
  24385. procedure TI2C1_I2C1STAT.setRBF; inline;
  24386. begin
  24387. pTDefRegMap(@Self)^.&set := $00000002;
  24388. end;
  24389. procedure TI2C1_I2C1STAT.clearRBF; inline;
  24390. begin
  24391. pTDefRegMap(@Self)^.clr := $00000002;
  24392. end;
  24393. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  24394. begin
  24395. if thebits = 0 then
  24396. pTDefRegMap(@Self)^.clr := $00000002
  24397. else
  24398. pTDefRegMap(@Self)^.&set := $00000002;
  24399. end;
  24400. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  24401. begin
  24402. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24403. end;
  24404. procedure TI2C1_I2C1STAT.setR_W; inline;
  24405. begin
  24406. pTDefRegMap(@Self)^.&set := $00000004;
  24407. end;
  24408. procedure TI2C1_I2C1STAT.clearR_W; inline;
  24409. begin
  24410. pTDefRegMap(@Self)^.clr := $00000004;
  24411. end;
  24412. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  24413. begin
  24414. if thebits = 0 then
  24415. pTDefRegMap(@Self)^.clr := $00000004
  24416. else
  24417. pTDefRegMap(@Self)^.&set := $00000004;
  24418. end;
  24419. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  24420. begin
  24421. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24422. end;
  24423. procedure TI2C1_I2C1STAT.setS; inline;
  24424. begin
  24425. pTDefRegMap(@Self)^.&set := $00000008;
  24426. end;
  24427. procedure TI2C1_I2C1STAT.clearS; inline;
  24428. begin
  24429. pTDefRegMap(@Self)^.clr := $00000008;
  24430. end;
  24431. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  24432. begin
  24433. if thebits = 0 then
  24434. pTDefRegMap(@Self)^.clr := $00000008
  24435. else
  24436. pTDefRegMap(@Self)^.&set := $00000008;
  24437. end;
  24438. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  24439. begin
  24440. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24441. end;
  24442. procedure TI2C1_I2C1STAT.setP; inline;
  24443. begin
  24444. pTDefRegMap(@Self)^.&set := $00000010;
  24445. end;
  24446. procedure TI2C1_I2C1STAT.clearP; inline;
  24447. begin
  24448. pTDefRegMap(@Self)^.clr := $00000010;
  24449. end;
  24450. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  24451. begin
  24452. if thebits = 0 then
  24453. pTDefRegMap(@Self)^.clr := $00000010
  24454. else
  24455. pTDefRegMap(@Self)^.&set := $00000010;
  24456. end;
  24457. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  24458. begin
  24459. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24460. end;
  24461. procedure TI2C1_I2C1STAT.setD_A; inline;
  24462. begin
  24463. pTDefRegMap(@Self)^.&set := $00000020;
  24464. end;
  24465. procedure TI2C1_I2C1STAT.clearD_A; inline;
  24466. begin
  24467. pTDefRegMap(@Self)^.clr := $00000020;
  24468. end;
  24469. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  24470. begin
  24471. if thebits = 0 then
  24472. pTDefRegMap(@Self)^.clr := $00000020
  24473. else
  24474. pTDefRegMap(@Self)^.&set := $00000020;
  24475. end;
  24476. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  24477. begin
  24478. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24479. end;
  24480. procedure TI2C1_I2C1STAT.setI2COV; inline;
  24481. begin
  24482. pTDefRegMap(@Self)^.&set := $00000040;
  24483. end;
  24484. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  24485. begin
  24486. pTDefRegMap(@Self)^.clr := $00000040;
  24487. end;
  24488. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  24489. begin
  24490. if thebits = 0 then
  24491. pTDefRegMap(@Self)^.clr := $00000040
  24492. else
  24493. pTDefRegMap(@Self)^.&set := $00000040;
  24494. end;
  24495. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  24496. begin
  24497. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24498. end;
  24499. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  24500. begin
  24501. pTDefRegMap(@Self)^.&set := $00000080;
  24502. end;
  24503. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  24504. begin
  24505. pTDefRegMap(@Self)^.clr := $00000080;
  24506. end;
  24507. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  24508. begin
  24509. if thebits = 0 then
  24510. pTDefRegMap(@Self)^.clr := $00000080
  24511. else
  24512. pTDefRegMap(@Self)^.&set := $00000080;
  24513. end;
  24514. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  24515. begin
  24516. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24517. end;
  24518. procedure TI2C1_I2C1STAT.setADD10; inline;
  24519. begin
  24520. pTDefRegMap(@Self)^.&set := $00000100;
  24521. end;
  24522. procedure TI2C1_I2C1STAT.clearADD10; inline;
  24523. begin
  24524. pTDefRegMap(@Self)^.clr := $00000100;
  24525. end;
  24526. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  24527. begin
  24528. if thebits = 0 then
  24529. pTDefRegMap(@Self)^.clr := $00000100
  24530. else
  24531. pTDefRegMap(@Self)^.&set := $00000100;
  24532. end;
  24533. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  24534. begin
  24535. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24536. end;
  24537. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  24538. begin
  24539. pTDefRegMap(@Self)^.&set := $00000200;
  24540. end;
  24541. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  24542. begin
  24543. pTDefRegMap(@Self)^.clr := $00000200;
  24544. end;
  24545. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  24546. begin
  24547. if thebits = 0 then
  24548. pTDefRegMap(@Self)^.clr := $00000200
  24549. else
  24550. pTDefRegMap(@Self)^.&set := $00000200;
  24551. end;
  24552. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  24553. begin
  24554. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24555. end;
  24556. procedure TI2C1_I2C1STAT.setBCL; inline;
  24557. begin
  24558. pTDefRegMap(@Self)^.&set := $00000400;
  24559. end;
  24560. procedure TI2C1_I2C1STAT.clearBCL; inline;
  24561. begin
  24562. pTDefRegMap(@Self)^.clr := $00000400;
  24563. end;
  24564. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  24565. begin
  24566. if thebits = 0 then
  24567. pTDefRegMap(@Self)^.clr := $00000400
  24568. else
  24569. pTDefRegMap(@Self)^.&set := $00000400;
  24570. end;
  24571. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  24572. begin
  24573. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24574. end;
  24575. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  24576. begin
  24577. pTDefRegMap(@Self)^.&set := $00004000;
  24578. end;
  24579. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  24580. begin
  24581. pTDefRegMap(@Self)^.clr := $00004000;
  24582. end;
  24583. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  24584. begin
  24585. if thebits = 0 then
  24586. pTDefRegMap(@Self)^.clr := $00004000
  24587. else
  24588. pTDefRegMap(@Self)^.&set := $00004000;
  24589. end;
  24590. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  24591. begin
  24592. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24593. end;
  24594. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  24595. begin
  24596. pTDefRegMap(@Self)^.&set := $00008000;
  24597. end;
  24598. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  24599. begin
  24600. pTDefRegMap(@Self)^.clr := $00008000;
  24601. end;
  24602. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  24603. begin
  24604. if thebits = 0 then
  24605. pTDefRegMap(@Self)^.clr := $00008000
  24606. else
  24607. pTDefRegMap(@Self)^.&set := $00008000;
  24608. end;
  24609. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  24610. begin
  24611. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24612. end;
  24613. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  24614. begin
  24615. pTDefRegMap(@Self)^.&set := $00000040;
  24616. end;
  24617. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  24618. begin
  24619. pTDefRegMap(@Self)^.clr := $00000040;
  24620. end;
  24621. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  24622. begin
  24623. if thebits = 0 then
  24624. pTDefRegMap(@Self)^.clr := $00000040
  24625. else
  24626. pTDefRegMap(@Self)^.&set := $00000040;
  24627. end;
  24628. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  24629. begin
  24630. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24631. end;
  24632. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  24633. begin
  24634. pTDefRegMap(@Self)^.val := thebits;
  24635. end;
  24636. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  24637. begin
  24638. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24639. end;
  24640. procedure TI2C2_I2C2CON.setSEN; inline;
  24641. begin
  24642. pTDefRegMap(@Self)^.&set := $00000001;
  24643. end;
  24644. procedure TI2C2_I2C2CON.clearSEN; inline;
  24645. begin
  24646. pTDefRegMap(@Self)^.clr := $00000001;
  24647. end;
  24648. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  24649. begin
  24650. if thebits = 0 then
  24651. pTDefRegMap(@Self)^.clr := $00000001
  24652. else
  24653. pTDefRegMap(@Self)^.&set := $00000001;
  24654. end;
  24655. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  24656. begin
  24657. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24658. end;
  24659. procedure TI2C2_I2C2CON.setRSEN; inline;
  24660. begin
  24661. pTDefRegMap(@Self)^.&set := $00000002;
  24662. end;
  24663. procedure TI2C2_I2C2CON.clearRSEN; inline;
  24664. begin
  24665. pTDefRegMap(@Self)^.clr := $00000002;
  24666. end;
  24667. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  24668. begin
  24669. if thebits = 0 then
  24670. pTDefRegMap(@Self)^.clr := $00000002
  24671. else
  24672. pTDefRegMap(@Self)^.&set := $00000002;
  24673. end;
  24674. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  24675. begin
  24676. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24677. end;
  24678. procedure TI2C2_I2C2CON.setPEN; inline;
  24679. begin
  24680. pTDefRegMap(@Self)^.&set := $00000004;
  24681. end;
  24682. procedure TI2C2_I2C2CON.clearPEN; inline;
  24683. begin
  24684. pTDefRegMap(@Self)^.clr := $00000004;
  24685. end;
  24686. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  24687. begin
  24688. if thebits = 0 then
  24689. pTDefRegMap(@Self)^.clr := $00000004
  24690. else
  24691. pTDefRegMap(@Self)^.&set := $00000004;
  24692. end;
  24693. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  24694. begin
  24695. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24696. end;
  24697. procedure TI2C2_I2C2CON.setRCEN; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.&set := $00000008;
  24700. end;
  24701. procedure TI2C2_I2C2CON.clearRCEN; inline;
  24702. begin
  24703. pTDefRegMap(@Self)^.clr := $00000008;
  24704. end;
  24705. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  24706. begin
  24707. if thebits = 0 then
  24708. pTDefRegMap(@Self)^.clr := $00000008
  24709. else
  24710. pTDefRegMap(@Self)^.&set := $00000008;
  24711. end;
  24712. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  24713. begin
  24714. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24715. end;
  24716. procedure TI2C2_I2C2CON.setACKEN; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.&set := $00000010;
  24719. end;
  24720. procedure TI2C2_I2C2CON.clearACKEN; inline;
  24721. begin
  24722. pTDefRegMap(@Self)^.clr := $00000010;
  24723. end;
  24724. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  24725. begin
  24726. if thebits = 0 then
  24727. pTDefRegMap(@Self)^.clr := $00000010
  24728. else
  24729. pTDefRegMap(@Self)^.&set := $00000010;
  24730. end;
  24731. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  24732. begin
  24733. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24734. end;
  24735. procedure TI2C2_I2C2CON.setACKDT; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.&set := $00000020;
  24738. end;
  24739. procedure TI2C2_I2C2CON.clearACKDT; inline;
  24740. begin
  24741. pTDefRegMap(@Self)^.clr := $00000020;
  24742. end;
  24743. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  24744. begin
  24745. if thebits = 0 then
  24746. pTDefRegMap(@Self)^.clr := $00000020
  24747. else
  24748. pTDefRegMap(@Self)^.&set := $00000020;
  24749. end;
  24750. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  24751. begin
  24752. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24753. end;
  24754. procedure TI2C2_I2C2CON.setSTREN; inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.&set := $00000040;
  24757. end;
  24758. procedure TI2C2_I2C2CON.clearSTREN; inline;
  24759. begin
  24760. pTDefRegMap(@Self)^.clr := $00000040;
  24761. end;
  24762. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  24763. begin
  24764. if thebits = 0 then
  24765. pTDefRegMap(@Self)^.clr := $00000040
  24766. else
  24767. pTDefRegMap(@Self)^.&set := $00000040;
  24768. end;
  24769. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  24770. begin
  24771. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24772. end;
  24773. procedure TI2C2_I2C2CON.setGCEN; inline;
  24774. begin
  24775. pTDefRegMap(@Self)^.&set := $00000080;
  24776. end;
  24777. procedure TI2C2_I2C2CON.clearGCEN; inline;
  24778. begin
  24779. pTDefRegMap(@Self)^.clr := $00000080;
  24780. end;
  24781. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  24782. begin
  24783. if thebits = 0 then
  24784. pTDefRegMap(@Self)^.clr := $00000080
  24785. else
  24786. pTDefRegMap(@Self)^.&set := $00000080;
  24787. end;
  24788. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  24789. begin
  24790. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24791. end;
  24792. procedure TI2C2_I2C2CON.setSMEN; inline;
  24793. begin
  24794. pTDefRegMap(@Self)^.&set := $00000100;
  24795. end;
  24796. procedure TI2C2_I2C2CON.clearSMEN; inline;
  24797. begin
  24798. pTDefRegMap(@Self)^.clr := $00000100;
  24799. end;
  24800. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  24801. begin
  24802. if thebits = 0 then
  24803. pTDefRegMap(@Self)^.clr := $00000100
  24804. else
  24805. pTDefRegMap(@Self)^.&set := $00000100;
  24806. end;
  24807. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  24808. begin
  24809. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24810. end;
  24811. procedure TI2C2_I2C2CON.setDISSLW; inline;
  24812. begin
  24813. pTDefRegMap(@Self)^.&set := $00000200;
  24814. end;
  24815. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  24816. begin
  24817. pTDefRegMap(@Self)^.clr := $00000200;
  24818. end;
  24819. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  24820. begin
  24821. if thebits = 0 then
  24822. pTDefRegMap(@Self)^.clr := $00000200
  24823. else
  24824. pTDefRegMap(@Self)^.&set := $00000200;
  24825. end;
  24826. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  24827. begin
  24828. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24829. end;
  24830. procedure TI2C2_I2C2CON.setA10M; inline;
  24831. begin
  24832. pTDefRegMap(@Self)^.&set := $00000400;
  24833. end;
  24834. procedure TI2C2_I2C2CON.clearA10M; inline;
  24835. begin
  24836. pTDefRegMap(@Self)^.clr := $00000400;
  24837. end;
  24838. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  24839. begin
  24840. if thebits = 0 then
  24841. pTDefRegMap(@Self)^.clr := $00000400
  24842. else
  24843. pTDefRegMap(@Self)^.&set := $00000400;
  24844. end;
  24845. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  24846. begin
  24847. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24848. end;
  24849. procedure TI2C2_I2C2CON.setSTRICT; inline;
  24850. begin
  24851. pTDefRegMap(@Self)^.&set := $00000800;
  24852. end;
  24853. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  24854. begin
  24855. pTDefRegMap(@Self)^.clr := $00000800;
  24856. end;
  24857. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  24858. begin
  24859. if thebits = 0 then
  24860. pTDefRegMap(@Self)^.clr := $00000800
  24861. else
  24862. pTDefRegMap(@Self)^.&set := $00000800;
  24863. end;
  24864. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  24865. begin
  24866. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24867. end;
  24868. procedure TI2C2_I2C2CON.setSCLREL; inline;
  24869. begin
  24870. pTDefRegMap(@Self)^.&set := $00001000;
  24871. end;
  24872. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  24873. begin
  24874. pTDefRegMap(@Self)^.clr := $00001000;
  24875. end;
  24876. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  24877. begin
  24878. if thebits = 0 then
  24879. pTDefRegMap(@Self)^.clr := $00001000
  24880. else
  24881. pTDefRegMap(@Self)^.&set := $00001000;
  24882. end;
  24883. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  24884. begin
  24885. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24886. end;
  24887. procedure TI2C2_I2C2CON.setSIDL; inline;
  24888. begin
  24889. pTDefRegMap(@Self)^.&set := $00002000;
  24890. end;
  24891. procedure TI2C2_I2C2CON.clearSIDL; inline;
  24892. begin
  24893. pTDefRegMap(@Self)^.clr := $00002000;
  24894. end;
  24895. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  24896. begin
  24897. if thebits = 0 then
  24898. pTDefRegMap(@Self)^.clr := $00002000
  24899. else
  24900. pTDefRegMap(@Self)^.&set := $00002000;
  24901. end;
  24902. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  24903. begin
  24904. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24905. end;
  24906. procedure TI2C2_I2C2CON.setON; inline;
  24907. begin
  24908. pTDefRegMap(@Self)^.&set := $00008000;
  24909. end;
  24910. procedure TI2C2_I2C2CON.clearON; inline;
  24911. begin
  24912. pTDefRegMap(@Self)^.clr := $00008000;
  24913. end;
  24914. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  24915. begin
  24916. if thebits = 0 then
  24917. pTDefRegMap(@Self)^.clr := $00008000
  24918. else
  24919. pTDefRegMap(@Self)^.&set := $00008000;
  24920. end;
  24921. function TI2C2_I2C2CON.getON : TBits_1; inline;
  24922. begin
  24923. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24924. end;
  24925. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  24926. begin
  24927. pTDefRegMap(@Self)^.&set := $00000800;
  24928. end;
  24929. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  24930. begin
  24931. pTDefRegMap(@Self)^.clr := $00000800;
  24932. end;
  24933. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  24934. begin
  24935. if thebits = 0 then
  24936. pTDefRegMap(@Self)^.clr := $00000800
  24937. else
  24938. pTDefRegMap(@Self)^.&set := $00000800;
  24939. end;
  24940. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  24941. begin
  24942. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24943. end;
  24944. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  24945. begin
  24946. pTDefRegMap(@Self)^.&set := $00002000;
  24947. end;
  24948. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  24949. begin
  24950. pTDefRegMap(@Self)^.clr := $00002000;
  24951. end;
  24952. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  24953. begin
  24954. if thebits = 0 then
  24955. pTDefRegMap(@Self)^.clr := $00002000
  24956. else
  24957. pTDefRegMap(@Self)^.&set := $00002000;
  24958. end;
  24959. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  24960. begin
  24961. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24962. end;
  24963. procedure TI2C2_I2C2CON.setI2CEN; inline;
  24964. begin
  24965. pTDefRegMap(@Self)^.&set := $00008000;
  24966. end;
  24967. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  24968. begin
  24969. pTDefRegMap(@Self)^.clr := $00008000;
  24970. end;
  24971. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  24972. begin
  24973. if thebits = 0 then
  24974. pTDefRegMap(@Self)^.clr := $00008000
  24975. else
  24976. pTDefRegMap(@Self)^.&set := $00008000;
  24977. end;
  24978. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  24979. begin
  24980. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24981. end;
  24982. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  24983. begin
  24984. pTDefRegMap(@Self)^.val := thebits;
  24985. end;
  24986. function TI2C2_I2C2CON.getw : TBits_32; inline;
  24987. begin
  24988. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24989. end;
  24990. procedure TI2C2_I2C2STAT.setTBF; inline;
  24991. begin
  24992. pTDefRegMap(@Self)^.&set := $00000001;
  24993. end;
  24994. procedure TI2C2_I2C2STAT.clearTBF; inline;
  24995. begin
  24996. pTDefRegMap(@Self)^.clr := $00000001;
  24997. end;
  24998. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  24999. begin
  25000. if thebits = 0 then
  25001. pTDefRegMap(@Self)^.clr := $00000001
  25002. else
  25003. pTDefRegMap(@Self)^.&set := $00000001;
  25004. end;
  25005. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  25006. begin
  25007. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25008. end;
  25009. procedure TI2C2_I2C2STAT.setRBF; inline;
  25010. begin
  25011. pTDefRegMap(@Self)^.&set := $00000002;
  25012. end;
  25013. procedure TI2C2_I2C2STAT.clearRBF; inline;
  25014. begin
  25015. pTDefRegMap(@Self)^.clr := $00000002;
  25016. end;
  25017. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  25018. begin
  25019. if thebits = 0 then
  25020. pTDefRegMap(@Self)^.clr := $00000002
  25021. else
  25022. pTDefRegMap(@Self)^.&set := $00000002;
  25023. end;
  25024. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  25025. begin
  25026. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25027. end;
  25028. procedure TI2C2_I2C2STAT.setR_W; inline;
  25029. begin
  25030. pTDefRegMap(@Self)^.&set := $00000004;
  25031. end;
  25032. procedure TI2C2_I2C2STAT.clearR_W; inline;
  25033. begin
  25034. pTDefRegMap(@Self)^.clr := $00000004;
  25035. end;
  25036. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  25037. begin
  25038. if thebits = 0 then
  25039. pTDefRegMap(@Self)^.clr := $00000004
  25040. else
  25041. pTDefRegMap(@Self)^.&set := $00000004;
  25042. end;
  25043. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  25044. begin
  25045. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25046. end;
  25047. procedure TI2C2_I2C2STAT.setS; inline;
  25048. begin
  25049. pTDefRegMap(@Self)^.&set := $00000008;
  25050. end;
  25051. procedure TI2C2_I2C2STAT.clearS; inline;
  25052. begin
  25053. pTDefRegMap(@Self)^.clr := $00000008;
  25054. end;
  25055. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  25056. begin
  25057. if thebits = 0 then
  25058. pTDefRegMap(@Self)^.clr := $00000008
  25059. else
  25060. pTDefRegMap(@Self)^.&set := $00000008;
  25061. end;
  25062. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  25063. begin
  25064. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25065. end;
  25066. procedure TI2C2_I2C2STAT.setP; inline;
  25067. begin
  25068. pTDefRegMap(@Self)^.&set := $00000010;
  25069. end;
  25070. procedure TI2C2_I2C2STAT.clearP; inline;
  25071. begin
  25072. pTDefRegMap(@Self)^.clr := $00000010;
  25073. end;
  25074. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  25075. begin
  25076. if thebits = 0 then
  25077. pTDefRegMap(@Self)^.clr := $00000010
  25078. else
  25079. pTDefRegMap(@Self)^.&set := $00000010;
  25080. end;
  25081. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  25082. begin
  25083. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25084. end;
  25085. procedure TI2C2_I2C2STAT.setD_A; inline;
  25086. begin
  25087. pTDefRegMap(@Self)^.&set := $00000020;
  25088. end;
  25089. procedure TI2C2_I2C2STAT.clearD_A; inline;
  25090. begin
  25091. pTDefRegMap(@Self)^.clr := $00000020;
  25092. end;
  25093. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  25094. begin
  25095. if thebits = 0 then
  25096. pTDefRegMap(@Self)^.clr := $00000020
  25097. else
  25098. pTDefRegMap(@Self)^.&set := $00000020;
  25099. end;
  25100. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  25101. begin
  25102. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25103. end;
  25104. procedure TI2C2_I2C2STAT.setI2COV; inline;
  25105. begin
  25106. pTDefRegMap(@Self)^.&set := $00000040;
  25107. end;
  25108. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  25109. begin
  25110. pTDefRegMap(@Self)^.clr := $00000040;
  25111. end;
  25112. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  25113. begin
  25114. if thebits = 0 then
  25115. pTDefRegMap(@Self)^.clr := $00000040
  25116. else
  25117. pTDefRegMap(@Self)^.&set := $00000040;
  25118. end;
  25119. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  25120. begin
  25121. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25122. end;
  25123. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  25124. begin
  25125. pTDefRegMap(@Self)^.&set := $00000080;
  25126. end;
  25127. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  25128. begin
  25129. pTDefRegMap(@Self)^.clr := $00000080;
  25130. end;
  25131. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  25132. begin
  25133. if thebits = 0 then
  25134. pTDefRegMap(@Self)^.clr := $00000080
  25135. else
  25136. pTDefRegMap(@Self)^.&set := $00000080;
  25137. end;
  25138. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  25139. begin
  25140. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25141. end;
  25142. procedure TI2C2_I2C2STAT.setADD10; inline;
  25143. begin
  25144. pTDefRegMap(@Self)^.&set := $00000100;
  25145. end;
  25146. procedure TI2C2_I2C2STAT.clearADD10; inline;
  25147. begin
  25148. pTDefRegMap(@Self)^.clr := $00000100;
  25149. end;
  25150. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  25151. begin
  25152. if thebits = 0 then
  25153. pTDefRegMap(@Self)^.clr := $00000100
  25154. else
  25155. pTDefRegMap(@Self)^.&set := $00000100;
  25156. end;
  25157. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  25158. begin
  25159. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25160. end;
  25161. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  25162. begin
  25163. pTDefRegMap(@Self)^.&set := $00000200;
  25164. end;
  25165. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  25166. begin
  25167. pTDefRegMap(@Self)^.clr := $00000200;
  25168. end;
  25169. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  25170. begin
  25171. if thebits = 0 then
  25172. pTDefRegMap(@Self)^.clr := $00000200
  25173. else
  25174. pTDefRegMap(@Self)^.&set := $00000200;
  25175. end;
  25176. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  25177. begin
  25178. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25179. end;
  25180. procedure TI2C2_I2C2STAT.setBCL; inline;
  25181. begin
  25182. pTDefRegMap(@Self)^.&set := $00000400;
  25183. end;
  25184. procedure TI2C2_I2C2STAT.clearBCL; inline;
  25185. begin
  25186. pTDefRegMap(@Self)^.clr := $00000400;
  25187. end;
  25188. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  25189. begin
  25190. if thebits = 0 then
  25191. pTDefRegMap(@Self)^.clr := $00000400
  25192. else
  25193. pTDefRegMap(@Self)^.&set := $00000400;
  25194. end;
  25195. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  25196. begin
  25197. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25198. end;
  25199. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  25200. begin
  25201. pTDefRegMap(@Self)^.&set := $00004000;
  25202. end;
  25203. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  25204. begin
  25205. pTDefRegMap(@Self)^.clr := $00004000;
  25206. end;
  25207. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  25208. begin
  25209. if thebits = 0 then
  25210. pTDefRegMap(@Self)^.clr := $00004000
  25211. else
  25212. pTDefRegMap(@Self)^.&set := $00004000;
  25213. end;
  25214. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  25215. begin
  25216. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25217. end;
  25218. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  25219. begin
  25220. pTDefRegMap(@Self)^.&set := $00008000;
  25221. end;
  25222. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  25223. begin
  25224. pTDefRegMap(@Self)^.clr := $00008000;
  25225. end;
  25226. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  25227. begin
  25228. if thebits = 0 then
  25229. pTDefRegMap(@Self)^.clr := $00008000
  25230. else
  25231. pTDefRegMap(@Self)^.&set := $00008000;
  25232. end;
  25233. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  25234. begin
  25235. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25236. end;
  25237. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  25238. begin
  25239. pTDefRegMap(@Self)^.&set := $00000040;
  25240. end;
  25241. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  25242. begin
  25243. pTDefRegMap(@Self)^.clr := $00000040;
  25244. end;
  25245. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  25246. begin
  25247. if thebits = 0 then
  25248. pTDefRegMap(@Self)^.clr := $00000040
  25249. else
  25250. pTDefRegMap(@Self)^.&set := $00000040;
  25251. end;
  25252. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  25253. begin
  25254. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25255. end;
  25256. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  25257. begin
  25258. pTDefRegMap(@Self)^.val := thebits;
  25259. end;
  25260. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  25261. begin
  25262. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25263. end;
  25264. procedure TSPI1A_SPI1ACON.setSRXISEL(thebits : TBits_2); inline;
  25265. begin
  25266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25267. end;
  25268. function TSPI1A_SPI1ACON.getSRXISEL : TBits_2; inline;
  25269. begin
  25270. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25271. end;
  25272. procedure TSPI1A_SPI1ACON.setSTXISEL(thebits : TBits_2); inline;
  25273. begin
  25274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25275. end;
  25276. function TSPI1A_SPI1ACON.getSTXISEL : TBits_2; inline;
  25277. begin
  25278. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25279. end;
  25280. procedure TSPI1A_SPI1ACON.setMSTEN; inline;
  25281. begin
  25282. pTDefRegMap(@Self)^.&set := $00000020;
  25283. end;
  25284. procedure TSPI1A_SPI1ACON.clearMSTEN; inline;
  25285. begin
  25286. pTDefRegMap(@Self)^.clr := $00000020;
  25287. end;
  25288. procedure TSPI1A_SPI1ACON.setMSTEN(thebits : TBits_1); inline;
  25289. begin
  25290. if thebits = 0 then
  25291. pTDefRegMap(@Self)^.clr := $00000020
  25292. else
  25293. pTDefRegMap(@Self)^.&set := $00000020;
  25294. end;
  25295. function TSPI1A_SPI1ACON.getMSTEN : TBits_1; inline;
  25296. begin
  25297. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25298. end;
  25299. procedure TSPI1A_SPI1ACON.setCKP; inline;
  25300. begin
  25301. pTDefRegMap(@Self)^.&set := $00000040;
  25302. end;
  25303. procedure TSPI1A_SPI1ACON.clearCKP; inline;
  25304. begin
  25305. pTDefRegMap(@Self)^.clr := $00000040;
  25306. end;
  25307. procedure TSPI1A_SPI1ACON.setCKP(thebits : TBits_1); inline;
  25308. begin
  25309. if thebits = 0 then
  25310. pTDefRegMap(@Self)^.clr := $00000040
  25311. else
  25312. pTDefRegMap(@Self)^.&set := $00000040;
  25313. end;
  25314. function TSPI1A_SPI1ACON.getCKP : TBits_1; inline;
  25315. begin
  25316. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25317. end;
  25318. procedure TSPI1A_SPI1ACON.setSSEN; inline;
  25319. begin
  25320. pTDefRegMap(@Self)^.&set := $00000080;
  25321. end;
  25322. procedure TSPI1A_SPI1ACON.clearSSEN; inline;
  25323. begin
  25324. pTDefRegMap(@Self)^.clr := $00000080;
  25325. end;
  25326. procedure TSPI1A_SPI1ACON.setSSEN(thebits : TBits_1); inline;
  25327. begin
  25328. if thebits = 0 then
  25329. pTDefRegMap(@Self)^.clr := $00000080
  25330. else
  25331. pTDefRegMap(@Self)^.&set := $00000080;
  25332. end;
  25333. function TSPI1A_SPI1ACON.getSSEN : TBits_1; inline;
  25334. begin
  25335. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25336. end;
  25337. procedure TSPI1A_SPI1ACON.setCKE; inline;
  25338. begin
  25339. pTDefRegMap(@Self)^.&set := $00000100;
  25340. end;
  25341. procedure TSPI1A_SPI1ACON.clearCKE; inline;
  25342. begin
  25343. pTDefRegMap(@Self)^.clr := $00000100;
  25344. end;
  25345. procedure TSPI1A_SPI1ACON.setCKE(thebits : TBits_1); inline;
  25346. begin
  25347. if thebits = 0 then
  25348. pTDefRegMap(@Self)^.clr := $00000100
  25349. else
  25350. pTDefRegMap(@Self)^.&set := $00000100;
  25351. end;
  25352. function TSPI1A_SPI1ACON.getCKE : TBits_1; inline;
  25353. begin
  25354. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25355. end;
  25356. procedure TSPI1A_SPI1ACON.setSMP; inline;
  25357. begin
  25358. pTDefRegMap(@Self)^.&set := $00000200;
  25359. end;
  25360. procedure TSPI1A_SPI1ACON.clearSMP; inline;
  25361. begin
  25362. pTDefRegMap(@Self)^.clr := $00000200;
  25363. end;
  25364. procedure TSPI1A_SPI1ACON.setSMP(thebits : TBits_1); inline;
  25365. begin
  25366. if thebits = 0 then
  25367. pTDefRegMap(@Self)^.clr := $00000200
  25368. else
  25369. pTDefRegMap(@Self)^.&set := $00000200;
  25370. end;
  25371. function TSPI1A_SPI1ACON.getSMP : TBits_1; inline;
  25372. begin
  25373. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25374. end;
  25375. procedure TSPI1A_SPI1ACON.setMODE16; inline;
  25376. begin
  25377. pTDefRegMap(@Self)^.&set := $00000400;
  25378. end;
  25379. procedure TSPI1A_SPI1ACON.clearMODE16; inline;
  25380. begin
  25381. pTDefRegMap(@Self)^.clr := $00000400;
  25382. end;
  25383. procedure TSPI1A_SPI1ACON.setMODE16(thebits : TBits_1); inline;
  25384. begin
  25385. if thebits = 0 then
  25386. pTDefRegMap(@Self)^.clr := $00000400
  25387. else
  25388. pTDefRegMap(@Self)^.&set := $00000400;
  25389. end;
  25390. function TSPI1A_SPI1ACON.getMODE16 : TBits_1; inline;
  25391. begin
  25392. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25393. end;
  25394. procedure TSPI1A_SPI1ACON.setMODE32; inline;
  25395. begin
  25396. pTDefRegMap(@Self)^.&set := $00000800;
  25397. end;
  25398. procedure TSPI1A_SPI1ACON.clearMODE32; inline;
  25399. begin
  25400. pTDefRegMap(@Self)^.clr := $00000800;
  25401. end;
  25402. procedure TSPI1A_SPI1ACON.setMODE32(thebits : TBits_1); inline;
  25403. begin
  25404. if thebits = 0 then
  25405. pTDefRegMap(@Self)^.clr := $00000800
  25406. else
  25407. pTDefRegMap(@Self)^.&set := $00000800;
  25408. end;
  25409. function TSPI1A_SPI1ACON.getMODE32 : TBits_1; inline;
  25410. begin
  25411. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25412. end;
  25413. procedure TSPI1A_SPI1ACON.setDISSDO; inline;
  25414. begin
  25415. pTDefRegMap(@Self)^.&set := $00001000;
  25416. end;
  25417. procedure TSPI1A_SPI1ACON.clearDISSDO; inline;
  25418. begin
  25419. pTDefRegMap(@Self)^.clr := $00001000;
  25420. end;
  25421. procedure TSPI1A_SPI1ACON.setDISSDO(thebits : TBits_1); inline;
  25422. begin
  25423. if thebits = 0 then
  25424. pTDefRegMap(@Self)^.clr := $00001000
  25425. else
  25426. pTDefRegMap(@Self)^.&set := $00001000;
  25427. end;
  25428. function TSPI1A_SPI1ACON.getDISSDO : TBits_1; inline;
  25429. begin
  25430. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25431. end;
  25432. procedure TSPI1A_SPI1ACON.setSIDL; inline;
  25433. begin
  25434. pTDefRegMap(@Self)^.&set := $00002000;
  25435. end;
  25436. procedure TSPI1A_SPI1ACON.clearSIDL; inline;
  25437. begin
  25438. pTDefRegMap(@Self)^.clr := $00002000;
  25439. end;
  25440. procedure TSPI1A_SPI1ACON.setSIDL(thebits : TBits_1); inline;
  25441. begin
  25442. if thebits = 0 then
  25443. pTDefRegMap(@Self)^.clr := $00002000
  25444. else
  25445. pTDefRegMap(@Self)^.&set := $00002000;
  25446. end;
  25447. function TSPI1A_SPI1ACON.getSIDL : TBits_1; inline;
  25448. begin
  25449. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25450. end;
  25451. procedure TSPI1A_SPI1ACON.setON; inline;
  25452. begin
  25453. pTDefRegMap(@Self)^.&set := $00008000;
  25454. end;
  25455. procedure TSPI1A_SPI1ACON.clearON; inline;
  25456. begin
  25457. pTDefRegMap(@Self)^.clr := $00008000;
  25458. end;
  25459. procedure TSPI1A_SPI1ACON.setON(thebits : TBits_1); inline;
  25460. begin
  25461. if thebits = 0 then
  25462. pTDefRegMap(@Self)^.clr := $00008000
  25463. else
  25464. pTDefRegMap(@Self)^.&set := $00008000;
  25465. end;
  25466. function TSPI1A_SPI1ACON.getON : TBits_1; inline;
  25467. begin
  25468. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25469. end;
  25470. procedure TSPI1A_SPI1ACON.setENHBUF; inline;
  25471. begin
  25472. pTDefRegMap(@Self)^.&set := $00010000;
  25473. end;
  25474. procedure TSPI1A_SPI1ACON.clearENHBUF; inline;
  25475. begin
  25476. pTDefRegMap(@Self)^.clr := $00010000;
  25477. end;
  25478. procedure TSPI1A_SPI1ACON.setENHBUF(thebits : TBits_1); inline;
  25479. begin
  25480. if thebits = 0 then
  25481. pTDefRegMap(@Self)^.clr := $00010000
  25482. else
  25483. pTDefRegMap(@Self)^.&set := $00010000;
  25484. end;
  25485. function TSPI1A_SPI1ACON.getENHBUF : TBits_1; inline;
  25486. begin
  25487. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25488. end;
  25489. procedure TSPI1A_SPI1ACON.setSPIFE; inline;
  25490. begin
  25491. pTDefRegMap(@Self)^.&set := $00020000;
  25492. end;
  25493. procedure TSPI1A_SPI1ACON.clearSPIFE; inline;
  25494. begin
  25495. pTDefRegMap(@Self)^.clr := $00020000;
  25496. end;
  25497. procedure TSPI1A_SPI1ACON.setSPIFE(thebits : TBits_1); inline;
  25498. begin
  25499. if thebits = 0 then
  25500. pTDefRegMap(@Self)^.clr := $00020000
  25501. else
  25502. pTDefRegMap(@Self)^.&set := $00020000;
  25503. end;
  25504. function TSPI1A_SPI1ACON.getSPIFE : TBits_1; inline;
  25505. begin
  25506. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25507. end;
  25508. procedure TSPI1A_SPI1ACON.setFRMCNT(thebits : TBits_3); inline;
  25509. begin
  25510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25511. end;
  25512. function TSPI1A_SPI1ACON.getFRMCNT : TBits_3; inline;
  25513. begin
  25514. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25515. end;
  25516. procedure TSPI1A_SPI1ACON.setFRMSYPW; inline;
  25517. begin
  25518. pTDefRegMap(@Self)^.&set := $08000000;
  25519. end;
  25520. procedure TSPI1A_SPI1ACON.clearFRMSYPW; inline;
  25521. begin
  25522. pTDefRegMap(@Self)^.clr := $08000000;
  25523. end;
  25524. procedure TSPI1A_SPI1ACON.setFRMSYPW(thebits : TBits_1); inline;
  25525. begin
  25526. if thebits = 0 then
  25527. pTDefRegMap(@Self)^.clr := $08000000
  25528. else
  25529. pTDefRegMap(@Self)^.&set := $08000000;
  25530. end;
  25531. function TSPI1A_SPI1ACON.getFRMSYPW : TBits_1; inline;
  25532. begin
  25533. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25534. end;
  25535. procedure TSPI1A_SPI1ACON.setMSSEN; inline;
  25536. begin
  25537. pTDefRegMap(@Self)^.&set := $10000000;
  25538. end;
  25539. procedure TSPI1A_SPI1ACON.clearMSSEN; inline;
  25540. begin
  25541. pTDefRegMap(@Self)^.clr := $10000000;
  25542. end;
  25543. procedure TSPI1A_SPI1ACON.setMSSEN(thebits : TBits_1); inline;
  25544. begin
  25545. if thebits = 0 then
  25546. pTDefRegMap(@Self)^.clr := $10000000
  25547. else
  25548. pTDefRegMap(@Self)^.&set := $10000000;
  25549. end;
  25550. function TSPI1A_SPI1ACON.getMSSEN : TBits_1; inline;
  25551. begin
  25552. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25553. end;
  25554. procedure TSPI1A_SPI1ACON.setFRMPOL; inline;
  25555. begin
  25556. pTDefRegMap(@Self)^.&set := $20000000;
  25557. end;
  25558. procedure TSPI1A_SPI1ACON.clearFRMPOL; inline;
  25559. begin
  25560. pTDefRegMap(@Self)^.clr := $20000000;
  25561. end;
  25562. procedure TSPI1A_SPI1ACON.setFRMPOL(thebits : TBits_1); inline;
  25563. begin
  25564. if thebits = 0 then
  25565. pTDefRegMap(@Self)^.clr := $20000000
  25566. else
  25567. pTDefRegMap(@Self)^.&set := $20000000;
  25568. end;
  25569. function TSPI1A_SPI1ACON.getFRMPOL : TBits_1; inline;
  25570. begin
  25571. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25572. end;
  25573. procedure TSPI1A_SPI1ACON.setFRMSYNC; inline;
  25574. begin
  25575. pTDefRegMap(@Self)^.&set := $40000000;
  25576. end;
  25577. procedure TSPI1A_SPI1ACON.clearFRMSYNC; inline;
  25578. begin
  25579. pTDefRegMap(@Self)^.clr := $40000000;
  25580. end;
  25581. procedure TSPI1A_SPI1ACON.setFRMSYNC(thebits : TBits_1); inline;
  25582. begin
  25583. if thebits = 0 then
  25584. pTDefRegMap(@Self)^.clr := $40000000
  25585. else
  25586. pTDefRegMap(@Self)^.&set := $40000000;
  25587. end;
  25588. function TSPI1A_SPI1ACON.getFRMSYNC : TBits_1; inline;
  25589. begin
  25590. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25591. end;
  25592. procedure TSPI1A_SPI1ACON.setFRMEN; inline;
  25593. begin
  25594. pTDefRegMap(@Self)^.&set := $80000000;
  25595. end;
  25596. procedure TSPI1A_SPI1ACON.clearFRMEN; inline;
  25597. begin
  25598. pTDefRegMap(@Self)^.clr := $80000000;
  25599. end;
  25600. procedure TSPI1A_SPI1ACON.setFRMEN(thebits : TBits_1); inline;
  25601. begin
  25602. if thebits = 0 then
  25603. pTDefRegMap(@Self)^.clr := $80000000
  25604. else
  25605. pTDefRegMap(@Self)^.&set := $80000000;
  25606. end;
  25607. function TSPI1A_SPI1ACON.getFRMEN : TBits_1; inline;
  25608. begin
  25609. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25610. end;
  25611. procedure TSPI1A_SPI1ACON.setw(thebits : TBits_32); inline;
  25612. begin
  25613. pTDefRegMap(@Self)^.val := thebits;
  25614. end;
  25615. function TSPI1A_SPI1ACON.getw : TBits_32; inline;
  25616. begin
  25617. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25618. end;
  25619. procedure TSPI1A_SPI3CON.setSRXISEL(thebits : TBits_2); inline;
  25620. begin
  25621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  25622. end;
  25623. function TSPI1A_SPI3CON.getSRXISEL : TBits_2; inline;
  25624. begin
  25625. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  25626. end;
  25627. procedure TSPI1A_SPI3CON.setSTXISEL(thebits : TBits_2); inline;
  25628. begin
  25629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  25630. end;
  25631. function TSPI1A_SPI3CON.getSTXISEL : TBits_2; inline;
  25632. begin
  25633. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  25634. end;
  25635. procedure TSPI1A_SPI3CON.setMSTEN; inline;
  25636. begin
  25637. pTDefRegMap(@Self)^.&set := $00000020;
  25638. end;
  25639. procedure TSPI1A_SPI3CON.clearMSTEN; inline;
  25640. begin
  25641. pTDefRegMap(@Self)^.clr := $00000020;
  25642. end;
  25643. procedure TSPI1A_SPI3CON.setMSTEN(thebits : TBits_1); inline;
  25644. begin
  25645. if thebits = 0 then
  25646. pTDefRegMap(@Self)^.clr := $00000020
  25647. else
  25648. pTDefRegMap(@Self)^.&set := $00000020;
  25649. end;
  25650. function TSPI1A_SPI3CON.getMSTEN : TBits_1; inline;
  25651. begin
  25652. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25653. end;
  25654. procedure TSPI1A_SPI3CON.setCKP; inline;
  25655. begin
  25656. pTDefRegMap(@Self)^.&set := $00000040;
  25657. end;
  25658. procedure TSPI1A_SPI3CON.clearCKP; inline;
  25659. begin
  25660. pTDefRegMap(@Self)^.clr := $00000040;
  25661. end;
  25662. procedure TSPI1A_SPI3CON.setCKP(thebits : TBits_1); inline;
  25663. begin
  25664. if thebits = 0 then
  25665. pTDefRegMap(@Self)^.clr := $00000040
  25666. else
  25667. pTDefRegMap(@Self)^.&set := $00000040;
  25668. end;
  25669. function TSPI1A_SPI3CON.getCKP : TBits_1; inline;
  25670. begin
  25671. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25672. end;
  25673. procedure TSPI1A_SPI3CON.setSSEN; inline;
  25674. begin
  25675. pTDefRegMap(@Self)^.&set := $00000080;
  25676. end;
  25677. procedure TSPI1A_SPI3CON.clearSSEN; inline;
  25678. begin
  25679. pTDefRegMap(@Self)^.clr := $00000080;
  25680. end;
  25681. procedure TSPI1A_SPI3CON.setSSEN(thebits : TBits_1); inline;
  25682. begin
  25683. if thebits = 0 then
  25684. pTDefRegMap(@Self)^.clr := $00000080
  25685. else
  25686. pTDefRegMap(@Self)^.&set := $00000080;
  25687. end;
  25688. function TSPI1A_SPI3CON.getSSEN : TBits_1; inline;
  25689. begin
  25690. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25691. end;
  25692. procedure TSPI1A_SPI3CON.setCKE; inline;
  25693. begin
  25694. pTDefRegMap(@Self)^.&set := $00000100;
  25695. end;
  25696. procedure TSPI1A_SPI3CON.clearCKE; inline;
  25697. begin
  25698. pTDefRegMap(@Self)^.clr := $00000100;
  25699. end;
  25700. procedure TSPI1A_SPI3CON.setCKE(thebits : TBits_1); inline;
  25701. begin
  25702. if thebits = 0 then
  25703. pTDefRegMap(@Self)^.clr := $00000100
  25704. else
  25705. pTDefRegMap(@Self)^.&set := $00000100;
  25706. end;
  25707. function TSPI1A_SPI3CON.getCKE : TBits_1; inline;
  25708. begin
  25709. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25710. end;
  25711. procedure TSPI1A_SPI3CON.setSMP; inline;
  25712. begin
  25713. pTDefRegMap(@Self)^.&set := $00000200;
  25714. end;
  25715. procedure TSPI1A_SPI3CON.clearSMP; inline;
  25716. begin
  25717. pTDefRegMap(@Self)^.clr := $00000200;
  25718. end;
  25719. procedure TSPI1A_SPI3CON.setSMP(thebits : TBits_1); inline;
  25720. begin
  25721. if thebits = 0 then
  25722. pTDefRegMap(@Self)^.clr := $00000200
  25723. else
  25724. pTDefRegMap(@Self)^.&set := $00000200;
  25725. end;
  25726. function TSPI1A_SPI3CON.getSMP : TBits_1; inline;
  25727. begin
  25728. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25729. end;
  25730. procedure TSPI1A_SPI3CON.setMODE16; inline;
  25731. begin
  25732. pTDefRegMap(@Self)^.&set := $00000400;
  25733. end;
  25734. procedure TSPI1A_SPI3CON.clearMODE16; inline;
  25735. begin
  25736. pTDefRegMap(@Self)^.clr := $00000400;
  25737. end;
  25738. procedure TSPI1A_SPI3CON.setMODE16(thebits : TBits_1); inline;
  25739. begin
  25740. if thebits = 0 then
  25741. pTDefRegMap(@Self)^.clr := $00000400
  25742. else
  25743. pTDefRegMap(@Self)^.&set := $00000400;
  25744. end;
  25745. function TSPI1A_SPI3CON.getMODE16 : TBits_1; inline;
  25746. begin
  25747. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25748. end;
  25749. procedure TSPI1A_SPI3CON.setMODE32; inline;
  25750. begin
  25751. pTDefRegMap(@Self)^.&set := $00000800;
  25752. end;
  25753. procedure TSPI1A_SPI3CON.clearMODE32; inline;
  25754. begin
  25755. pTDefRegMap(@Self)^.clr := $00000800;
  25756. end;
  25757. procedure TSPI1A_SPI3CON.setMODE32(thebits : TBits_1); inline;
  25758. begin
  25759. if thebits = 0 then
  25760. pTDefRegMap(@Self)^.clr := $00000800
  25761. else
  25762. pTDefRegMap(@Self)^.&set := $00000800;
  25763. end;
  25764. function TSPI1A_SPI3CON.getMODE32 : TBits_1; inline;
  25765. begin
  25766. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25767. end;
  25768. procedure TSPI1A_SPI3CON.setDISSDO; inline;
  25769. begin
  25770. pTDefRegMap(@Self)^.&set := $00001000;
  25771. end;
  25772. procedure TSPI1A_SPI3CON.clearDISSDO; inline;
  25773. begin
  25774. pTDefRegMap(@Self)^.clr := $00001000;
  25775. end;
  25776. procedure TSPI1A_SPI3CON.setDISSDO(thebits : TBits_1); inline;
  25777. begin
  25778. if thebits = 0 then
  25779. pTDefRegMap(@Self)^.clr := $00001000
  25780. else
  25781. pTDefRegMap(@Self)^.&set := $00001000;
  25782. end;
  25783. function TSPI1A_SPI3CON.getDISSDO : TBits_1; inline;
  25784. begin
  25785. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25786. end;
  25787. procedure TSPI1A_SPI3CON.setSIDL; inline;
  25788. begin
  25789. pTDefRegMap(@Self)^.&set := $00002000;
  25790. end;
  25791. procedure TSPI1A_SPI3CON.clearSIDL; inline;
  25792. begin
  25793. pTDefRegMap(@Self)^.clr := $00002000;
  25794. end;
  25795. procedure TSPI1A_SPI3CON.setSIDL(thebits : TBits_1); inline;
  25796. begin
  25797. if thebits = 0 then
  25798. pTDefRegMap(@Self)^.clr := $00002000
  25799. else
  25800. pTDefRegMap(@Self)^.&set := $00002000;
  25801. end;
  25802. function TSPI1A_SPI3CON.getSIDL : TBits_1; inline;
  25803. begin
  25804. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25805. end;
  25806. procedure TSPI1A_SPI3CON.setON; inline;
  25807. begin
  25808. pTDefRegMap(@Self)^.&set := $00008000;
  25809. end;
  25810. procedure TSPI1A_SPI3CON.clearON; inline;
  25811. begin
  25812. pTDefRegMap(@Self)^.clr := $00008000;
  25813. end;
  25814. procedure TSPI1A_SPI3CON.setON(thebits : TBits_1); inline;
  25815. begin
  25816. if thebits = 0 then
  25817. pTDefRegMap(@Self)^.clr := $00008000
  25818. else
  25819. pTDefRegMap(@Self)^.&set := $00008000;
  25820. end;
  25821. function TSPI1A_SPI3CON.getON : TBits_1; inline;
  25822. begin
  25823. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25824. end;
  25825. procedure TSPI1A_SPI3CON.setENHBUF; inline;
  25826. begin
  25827. pTDefRegMap(@Self)^.&set := $00010000;
  25828. end;
  25829. procedure TSPI1A_SPI3CON.clearENHBUF; inline;
  25830. begin
  25831. pTDefRegMap(@Self)^.clr := $00010000;
  25832. end;
  25833. procedure TSPI1A_SPI3CON.setENHBUF(thebits : TBits_1); inline;
  25834. begin
  25835. if thebits = 0 then
  25836. pTDefRegMap(@Self)^.clr := $00010000
  25837. else
  25838. pTDefRegMap(@Self)^.&set := $00010000;
  25839. end;
  25840. function TSPI1A_SPI3CON.getENHBUF : TBits_1; inline;
  25841. begin
  25842. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25843. end;
  25844. procedure TSPI1A_SPI3CON.setSPIFE; inline;
  25845. begin
  25846. pTDefRegMap(@Self)^.&set := $00020000;
  25847. end;
  25848. procedure TSPI1A_SPI3CON.clearSPIFE; inline;
  25849. begin
  25850. pTDefRegMap(@Self)^.clr := $00020000;
  25851. end;
  25852. procedure TSPI1A_SPI3CON.setSPIFE(thebits : TBits_1); inline;
  25853. begin
  25854. if thebits = 0 then
  25855. pTDefRegMap(@Self)^.clr := $00020000
  25856. else
  25857. pTDefRegMap(@Self)^.&set := $00020000;
  25858. end;
  25859. function TSPI1A_SPI3CON.getSPIFE : TBits_1; inline;
  25860. begin
  25861. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25862. end;
  25863. procedure TSPI1A_SPI3CON.setFRMCNT(thebits : TBits_3); inline;
  25864. begin
  25865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25866. end;
  25867. function TSPI1A_SPI3CON.getFRMCNT : TBits_3; inline;
  25868. begin
  25869. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25870. end;
  25871. procedure TSPI1A_SPI3CON.setFRMSYPW; inline;
  25872. begin
  25873. pTDefRegMap(@Self)^.&set := $08000000;
  25874. end;
  25875. procedure TSPI1A_SPI3CON.clearFRMSYPW; inline;
  25876. begin
  25877. pTDefRegMap(@Self)^.clr := $08000000;
  25878. end;
  25879. procedure TSPI1A_SPI3CON.setFRMSYPW(thebits : TBits_1); inline;
  25880. begin
  25881. if thebits = 0 then
  25882. pTDefRegMap(@Self)^.clr := $08000000
  25883. else
  25884. pTDefRegMap(@Self)^.&set := $08000000;
  25885. end;
  25886. function TSPI1A_SPI3CON.getFRMSYPW : TBits_1; inline;
  25887. begin
  25888. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25889. end;
  25890. procedure TSPI1A_SPI3CON.setMSSEN; inline;
  25891. begin
  25892. pTDefRegMap(@Self)^.&set := $10000000;
  25893. end;
  25894. procedure TSPI1A_SPI3CON.clearMSSEN; inline;
  25895. begin
  25896. pTDefRegMap(@Self)^.clr := $10000000;
  25897. end;
  25898. procedure TSPI1A_SPI3CON.setMSSEN(thebits : TBits_1); inline;
  25899. begin
  25900. if thebits = 0 then
  25901. pTDefRegMap(@Self)^.clr := $10000000
  25902. else
  25903. pTDefRegMap(@Self)^.&set := $10000000;
  25904. end;
  25905. function TSPI1A_SPI3CON.getMSSEN : TBits_1; inline;
  25906. begin
  25907. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25908. end;
  25909. procedure TSPI1A_SPI3CON.setFRMPOL; inline;
  25910. begin
  25911. pTDefRegMap(@Self)^.&set := $20000000;
  25912. end;
  25913. procedure TSPI1A_SPI3CON.clearFRMPOL; inline;
  25914. begin
  25915. pTDefRegMap(@Self)^.clr := $20000000;
  25916. end;
  25917. procedure TSPI1A_SPI3CON.setFRMPOL(thebits : TBits_1); inline;
  25918. begin
  25919. if thebits = 0 then
  25920. pTDefRegMap(@Self)^.clr := $20000000
  25921. else
  25922. pTDefRegMap(@Self)^.&set := $20000000;
  25923. end;
  25924. function TSPI1A_SPI3CON.getFRMPOL : TBits_1; inline;
  25925. begin
  25926. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25927. end;
  25928. procedure TSPI1A_SPI3CON.setFRMSYNC; inline;
  25929. begin
  25930. pTDefRegMap(@Self)^.&set := $40000000;
  25931. end;
  25932. procedure TSPI1A_SPI3CON.clearFRMSYNC; inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.clr := $40000000;
  25935. end;
  25936. procedure TSPI1A_SPI3CON.setFRMSYNC(thebits : TBits_1); inline;
  25937. begin
  25938. if thebits = 0 then
  25939. pTDefRegMap(@Self)^.clr := $40000000
  25940. else
  25941. pTDefRegMap(@Self)^.&set := $40000000;
  25942. end;
  25943. function TSPI1A_SPI3CON.getFRMSYNC : TBits_1; inline;
  25944. begin
  25945. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  25946. end;
  25947. procedure TSPI1A_SPI3CON.setFRMEN; inline;
  25948. begin
  25949. pTDefRegMap(@Self)^.&set := $80000000;
  25950. end;
  25951. procedure TSPI1A_SPI3CON.clearFRMEN; inline;
  25952. begin
  25953. pTDefRegMap(@Self)^.clr := $80000000;
  25954. end;
  25955. procedure TSPI1A_SPI3CON.setFRMEN(thebits : TBits_1); inline;
  25956. begin
  25957. if thebits = 0 then
  25958. pTDefRegMap(@Self)^.clr := $80000000
  25959. else
  25960. pTDefRegMap(@Self)^.&set := $80000000;
  25961. end;
  25962. function TSPI1A_SPI3CON.getFRMEN : TBits_1; inline;
  25963. begin
  25964. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25965. end;
  25966. procedure TSPI1A_SPI3CON.setw(thebits : TBits_32); inline;
  25967. begin
  25968. pTDefRegMap(@Self)^.val := thebits;
  25969. end;
  25970. function TSPI1A_SPI3CON.getw : TBits_32; inline;
  25971. begin
  25972. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25973. end;
  25974. procedure TSPI1A_SPI1ASTAT.setSPIRBF; inline;
  25975. begin
  25976. pTDefRegMap(@Self)^.&set := $00000001;
  25977. end;
  25978. procedure TSPI1A_SPI1ASTAT.clearSPIRBF; inline;
  25979. begin
  25980. pTDefRegMap(@Self)^.clr := $00000001;
  25981. end;
  25982. procedure TSPI1A_SPI1ASTAT.setSPIRBF(thebits : TBits_1); inline;
  25983. begin
  25984. if thebits = 0 then
  25985. pTDefRegMap(@Self)^.clr := $00000001
  25986. else
  25987. pTDefRegMap(@Self)^.&set := $00000001;
  25988. end;
  25989. function TSPI1A_SPI1ASTAT.getSPIRBF : TBits_1; inline;
  25990. begin
  25991. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25992. end;
  25993. procedure TSPI1A_SPI1ASTAT.setSPITBF; inline;
  25994. begin
  25995. pTDefRegMap(@Self)^.&set := $00000002;
  25996. end;
  25997. procedure TSPI1A_SPI1ASTAT.clearSPITBF; inline;
  25998. begin
  25999. pTDefRegMap(@Self)^.clr := $00000002;
  26000. end;
  26001. procedure TSPI1A_SPI1ASTAT.setSPITBF(thebits : TBits_1); inline;
  26002. begin
  26003. if thebits = 0 then
  26004. pTDefRegMap(@Self)^.clr := $00000002
  26005. else
  26006. pTDefRegMap(@Self)^.&set := $00000002;
  26007. end;
  26008. function TSPI1A_SPI1ASTAT.getSPITBF : TBits_1; inline;
  26009. begin
  26010. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26011. end;
  26012. procedure TSPI1A_SPI1ASTAT.setSPITBE; inline;
  26013. begin
  26014. pTDefRegMap(@Self)^.&set := $00000008;
  26015. end;
  26016. procedure TSPI1A_SPI1ASTAT.clearSPITBE; inline;
  26017. begin
  26018. pTDefRegMap(@Self)^.clr := $00000008;
  26019. end;
  26020. procedure TSPI1A_SPI1ASTAT.setSPITBE(thebits : TBits_1); inline;
  26021. begin
  26022. if thebits = 0 then
  26023. pTDefRegMap(@Self)^.clr := $00000008
  26024. else
  26025. pTDefRegMap(@Self)^.&set := $00000008;
  26026. end;
  26027. function TSPI1A_SPI1ASTAT.getSPITBE : TBits_1; inline;
  26028. begin
  26029. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26030. end;
  26031. procedure TSPI1A_SPI1ASTAT.setSPIRBE; inline;
  26032. begin
  26033. pTDefRegMap(@Self)^.&set := $00000020;
  26034. end;
  26035. procedure TSPI1A_SPI1ASTAT.clearSPIRBE; inline;
  26036. begin
  26037. pTDefRegMap(@Self)^.clr := $00000020;
  26038. end;
  26039. procedure TSPI1A_SPI1ASTAT.setSPIRBE(thebits : TBits_1); inline;
  26040. begin
  26041. if thebits = 0 then
  26042. pTDefRegMap(@Self)^.clr := $00000020
  26043. else
  26044. pTDefRegMap(@Self)^.&set := $00000020;
  26045. end;
  26046. function TSPI1A_SPI1ASTAT.getSPIRBE : TBits_1; inline;
  26047. begin
  26048. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26049. end;
  26050. procedure TSPI1A_SPI1ASTAT.setSPIROV; inline;
  26051. begin
  26052. pTDefRegMap(@Self)^.&set := $00000040;
  26053. end;
  26054. procedure TSPI1A_SPI1ASTAT.clearSPIROV; inline;
  26055. begin
  26056. pTDefRegMap(@Self)^.clr := $00000040;
  26057. end;
  26058. procedure TSPI1A_SPI1ASTAT.setSPIROV(thebits : TBits_1); inline;
  26059. begin
  26060. if thebits = 0 then
  26061. pTDefRegMap(@Self)^.clr := $00000040
  26062. else
  26063. pTDefRegMap(@Self)^.&set := $00000040;
  26064. end;
  26065. function TSPI1A_SPI1ASTAT.getSPIROV : TBits_1; inline;
  26066. begin
  26067. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26068. end;
  26069. procedure TSPI1A_SPI1ASTAT.setSRMT; inline;
  26070. begin
  26071. pTDefRegMap(@Self)^.&set := $00000080;
  26072. end;
  26073. procedure TSPI1A_SPI1ASTAT.clearSRMT; inline;
  26074. begin
  26075. pTDefRegMap(@Self)^.clr := $00000080;
  26076. end;
  26077. procedure TSPI1A_SPI1ASTAT.setSRMT(thebits : TBits_1); inline;
  26078. begin
  26079. if thebits = 0 then
  26080. pTDefRegMap(@Self)^.clr := $00000080
  26081. else
  26082. pTDefRegMap(@Self)^.&set := $00000080;
  26083. end;
  26084. function TSPI1A_SPI1ASTAT.getSRMT : TBits_1; inline;
  26085. begin
  26086. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26087. end;
  26088. procedure TSPI1A_SPI1ASTAT.setSPITUR; inline;
  26089. begin
  26090. pTDefRegMap(@Self)^.&set := $00000100;
  26091. end;
  26092. procedure TSPI1A_SPI1ASTAT.clearSPITUR; inline;
  26093. begin
  26094. pTDefRegMap(@Self)^.clr := $00000100;
  26095. end;
  26096. procedure TSPI1A_SPI1ASTAT.setSPITUR(thebits : TBits_1); inline;
  26097. begin
  26098. if thebits = 0 then
  26099. pTDefRegMap(@Self)^.clr := $00000100
  26100. else
  26101. pTDefRegMap(@Self)^.&set := $00000100;
  26102. end;
  26103. function TSPI1A_SPI1ASTAT.getSPITUR : TBits_1; inline;
  26104. begin
  26105. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26106. end;
  26107. procedure TSPI1A_SPI1ASTAT.setSPIBUSY; inline;
  26108. begin
  26109. pTDefRegMap(@Self)^.&set := $00000800;
  26110. end;
  26111. procedure TSPI1A_SPI1ASTAT.clearSPIBUSY; inline;
  26112. begin
  26113. pTDefRegMap(@Self)^.clr := $00000800;
  26114. end;
  26115. procedure TSPI1A_SPI1ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  26116. begin
  26117. if thebits = 0 then
  26118. pTDefRegMap(@Self)^.clr := $00000800
  26119. else
  26120. pTDefRegMap(@Self)^.&set := $00000800;
  26121. end;
  26122. function TSPI1A_SPI1ASTAT.getSPIBUSY : TBits_1; inline;
  26123. begin
  26124. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26125. end;
  26126. procedure TSPI1A_SPI1ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  26127. begin
  26128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26129. end;
  26130. function TSPI1A_SPI1ASTAT.getTXBUFELM : TBits_5; inline;
  26131. begin
  26132. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26133. end;
  26134. procedure TSPI1A_SPI1ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  26135. begin
  26136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26137. end;
  26138. function TSPI1A_SPI1ASTAT.getRXBUFELM : TBits_5; inline;
  26139. begin
  26140. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26141. end;
  26142. procedure TSPI1A_SPI1ASTAT.setw(thebits : TBits_32); inline;
  26143. begin
  26144. pTDefRegMap(@Self)^.val := thebits;
  26145. end;
  26146. function TSPI1A_SPI1ASTAT.getw : TBits_32; inline;
  26147. begin
  26148. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26149. end;
  26150. procedure TSPI1A_SPI3STAT.setSPIRBF; inline;
  26151. begin
  26152. pTDefRegMap(@Self)^.&set := $00000001;
  26153. end;
  26154. procedure TSPI1A_SPI3STAT.clearSPIRBF; inline;
  26155. begin
  26156. pTDefRegMap(@Self)^.clr := $00000001;
  26157. end;
  26158. procedure TSPI1A_SPI3STAT.setSPIRBF(thebits : TBits_1); inline;
  26159. begin
  26160. if thebits = 0 then
  26161. pTDefRegMap(@Self)^.clr := $00000001
  26162. else
  26163. pTDefRegMap(@Self)^.&set := $00000001;
  26164. end;
  26165. function TSPI1A_SPI3STAT.getSPIRBF : TBits_1; inline;
  26166. begin
  26167. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26168. end;
  26169. procedure TSPI1A_SPI3STAT.setSPITBF; inline;
  26170. begin
  26171. pTDefRegMap(@Self)^.&set := $00000002;
  26172. end;
  26173. procedure TSPI1A_SPI3STAT.clearSPITBF; inline;
  26174. begin
  26175. pTDefRegMap(@Self)^.clr := $00000002;
  26176. end;
  26177. procedure TSPI1A_SPI3STAT.setSPITBF(thebits : TBits_1); inline;
  26178. begin
  26179. if thebits = 0 then
  26180. pTDefRegMap(@Self)^.clr := $00000002
  26181. else
  26182. pTDefRegMap(@Self)^.&set := $00000002;
  26183. end;
  26184. function TSPI1A_SPI3STAT.getSPITBF : TBits_1; inline;
  26185. begin
  26186. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26187. end;
  26188. procedure TSPI1A_SPI3STAT.setSPITBE; inline;
  26189. begin
  26190. pTDefRegMap(@Self)^.&set := $00000008;
  26191. end;
  26192. procedure TSPI1A_SPI3STAT.clearSPITBE; inline;
  26193. begin
  26194. pTDefRegMap(@Self)^.clr := $00000008;
  26195. end;
  26196. procedure TSPI1A_SPI3STAT.setSPITBE(thebits : TBits_1); inline;
  26197. begin
  26198. if thebits = 0 then
  26199. pTDefRegMap(@Self)^.clr := $00000008
  26200. else
  26201. pTDefRegMap(@Self)^.&set := $00000008;
  26202. end;
  26203. function TSPI1A_SPI3STAT.getSPITBE : TBits_1; inline;
  26204. begin
  26205. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26206. end;
  26207. procedure TSPI1A_SPI3STAT.setSPIRBE; inline;
  26208. begin
  26209. pTDefRegMap(@Self)^.&set := $00000020;
  26210. end;
  26211. procedure TSPI1A_SPI3STAT.clearSPIRBE; inline;
  26212. begin
  26213. pTDefRegMap(@Self)^.clr := $00000020;
  26214. end;
  26215. procedure TSPI1A_SPI3STAT.setSPIRBE(thebits : TBits_1); inline;
  26216. begin
  26217. if thebits = 0 then
  26218. pTDefRegMap(@Self)^.clr := $00000020
  26219. else
  26220. pTDefRegMap(@Self)^.&set := $00000020;
  26221. end;
  26222. function TSPI1A_SPI3STAT.getSPIRBE : TBits_1; inline;
  26223. begin
  26224. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26225. end;
  26226. procedure TSPI1A_SPI3STAT.setSPIROV; inline;
  26227. begin
  26228. pTDefRegMap(@Self)^.&set := $00000040;
  26229. end;
  26230. procedure TSPI1A_SPI3STAT.clearSPIROV; inline;
  26231. begin
  26232. pTDefRegMap(@Self)^.clr := $00000040;
  26233. end;
  26234. procedure TSPI1A_SPI3STAT.setSPIROV(thebits : TBits_1); inline;
  26235. begin
  26236. if thebits = 0 then
  26237. pTDefRegMap(@Self)^.clr := $00000040
  26238. else
  26239. pTDefRegMap(@Self)^.&set := $00000040;
  26240. end;
  26241. function TSPI1A_SPI3STAT.getSPIROV : TBits_1; inline;
  26242. begin
  26243. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26244. end;
  26245. procedure TSPI1A_SPI3STAT.setSRMT; inline;
  26246. begin
  26247. pTDefRegMap(@Self)^.&set := $00000080;
  26248. end;
  26249. procedure TSPI1A_SPI3STAT.clearSRMT; inline;
  26250. begin
  26251. pTDefRegMap(@Self)^.clr := $00000080;
  26252. end;
  26253. procedure TSPI1A_SPI3STAT.setSRMT(thebits : TBits_1); inline;
  26254. begin
  26255. if thebits = 0 then
  26256. pTDefRegMap(@Self)^.clr := $00000080
  26257. else
  26258. pTDefRegMap(@Self)^.&set := $00000080;
  26259. end;
  26260. function TSPI1A_SPI3STAT.getSRMT : TBits_1; inline;
  26261. begin
  26262. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26263. end;
  26264. procedure TSPI1A_SPI3STAT.setSPITUR; inline;
  26265. begin
  26266. pTDefRegMap(@Self)^.&set := $00000100;
  26267. end;
  26268. procedure TSPI1A_SPI3STAT.clearSPITUR; inline;
  26269. begin
  26270. pTDefRegMap(@Self)^.clr := $00000100;
  26271. end;
  26272. procedure TSPI1A_SPI3STAT.setSPITUR(thebits : TBits_1); inline;
  26273. begin
  26274. if thebits = 0 then
  26275. pTDefRegMap(@Self)^.clr := $00000100
  26276. else
  26277. pTDefRegMap(@Self)^.&set := $00000100;
  26278. end;
  26279. function TSPI1A_SPI3STAT.getSPITUR : TBits_1; inline;
  26280. begin
  26281. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26282. end;
  26283. procedure TSPI1A_SPI3STAT.setSPIBUSY; inline;
  26284. begin
  26285. pTDefRegMap(@Self)^.&set := $00000800;
  26286. end;
  26287. procedure TSPI1A_SPI3STAT.clearSPIBUSY; inline;
  26288. begin
  26289. pTDefRegMap(@Self)^.clr := $00000800;
  26290. end;
  26291. procedure TSPI1A_SPI3STAT.setSPIBUSY(thebits : TBits_1); inline;
  26292. begin
  26293. if thebits = 0 then
  26294. pTDefRegMap(@Self)^.clr := $00000800
  26295. else
  26296. pTDefRegMap(@Self)^.&set := $00000800;
  26297. end;
  26298. function TSPI1A_SPI3STAT.getSPIBUSY : TBits_1; inline;
  26299. begin
  26300. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26301. end;
  26302. procedure TSPI1A_SPI3STAT.setTXBUFELM(thebits : TBits_5); inline;
  26303. begin
  26304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  26305. end;
  26306. function TSPI1A_SPI3STAT.getTXBUFELM : TBits_5; inline;
  26307. begin
  26308. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  26309. end;
  26310. procedure TSPI1A_SPI3STAT.setRXBUFELM(thebits : TBits_5); inline;
  26311. begin
  26312. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  26313. end;
  26314. function TSPI1A_SPI3STAT.getRXBUFELM : TBits_5; inline;
  26315. begin
  26316. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  26317. end;
  26318. procedure TSPI1A_SPI3STAT.setw(thebits : TBits_32); inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.val := thebits;
  26321. end;
  26322. function TSPI1A_SPI3STAT.getw : TBits_32; inline;
  26323. begin
  26324. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26325. end;
  26326. procedure TSPI2_SPI2ACON.setSRXISEL(thebits : TBits_2); inline;
  26327. begin
  26328. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26329. end;
  26330. function TSPI2_SPI2ACON.getSRXISEL : TBits_2; inline;
  26331. begin
  26332. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26333. end;
  26334. procedure TSPI2_SPI2ACON.setSTXISEL(thebits : TBits_2); inline;
  26335. begin
  26336. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26337. end;
  26338. function TSPI2_SPI2ACON.getSTXISEL : TBits_2; inline;
  26339. begin
  26340. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26341. end;
  26342. procedure TSPI2_SPI2ACON.setMSTEN; inline;
  26343. begin
  26344. pTDefRegMap(@Self)^.&set := $00000020;
  26345. end;
  26346. procedure TSPI2_SPI2ACON.clearMSTEN; inline;
  26347. begin
  26348. pTDefRegMap(@Self)^.clr := $00000020;
  26349. end;
  26350. procedure TSPI2_SPI2ACON.setMSTEN(thebits : TBits_1); inline;
  26351. begin
  26352. if thebits = 0 then
  26353. pTDefRegMap(@Self)^.clr := $00000020
  26354. else
  26355. pTDefRegMap(@Self)^.&set := $00000020;
  26356. end;
  26357. function TSPI2_SPI2ACON.getMSTEN : TBits_1; inline;
  26358. begin
  26359. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26360. end;
  26361. procedure TSPI2_SPI2ACON.setCKP; inline;
  26362. begin
  26363. pTDefRegMap(@Self)^.&set := $00000040;
  26364. end;
  26365. procedure TSPI2_SPI2ACON.clearCKP; inline;
  26366. begin
  26367. pTDefRegMap(@Self)^.clr := $00000040;
  26368. end;
  26369. procedure TSPI2_SPI2ACON.setCKP(thebits : TBits_1); inline;
  26370. begin
  26371. if thebits = 0 then
  26372. pTDefRegMap(@Self)^.clr := $00000040
  26373. else
  26374. pTDefRegMap(@Self)^.&set := $00000040;
  26375. end;
  26376. function TSPI2_SPI2ACON.getCKP : TBits_1; inline;
  26377. begin
  26378. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26379. end;
  26380. procedure TSPI2_SPI2ACON.setSSEN; inline;
  26381. begin
  26382. pTDefRegMap(@Self)^.&set := $00000080;
  26383. end;
  26384. procedure TSPI2_SPI2ACON.clearSSEN; inline;
  26385. begin
  26386. pTDefRegMap(@Self)^.clr := $00000080;
  26387. end;
  26388. procedure TSPI2_SPI2ACON.setSSEN(thebits : TBits_1); inline;
  26389. begin
  26390. if thebits = 0 then
  26391. pTDefRegMap(@Self)^.clr := $00000080
  26392. else
  26393. pTDefRegMap(@Self)^.&set := $00000080;
  26394. end;
  26395. function TSPI2_SPI2ACON.getSSEN : TBits_1; inline;
  26396. begin
  26397. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26398. end;
  26399. procedure TSPI2_SPI2ACON.setCKE; inline;
  26400. begin
  26401. pTDefRegMap(@Self)^.&set := $00000100;
  26402. end;
  26403. procedure TSPI2_SPI2ACON.clearCKE; inline;
  26404. begin
  26405. pTDefRegMap(@Self)^.clr := $00000100;
  26406. end;
  26407. procedure TSPI2_SPI2ACON.setCKE(thebits : TBits_1); inline;
  26408. begin
  26409. if thebits = 0 then
  26410. pTDefRegMap(@Self)^.clr := $00000100
  26411. else
  26412. pTDefRegMap(@Self)^.&set := $00000100;
  26413. end;
  26414. function TSPI2_SPI2ACON.getCKE : TBits_1; inline;
  26415. begin
  26416. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26417. end;
  26418. procedure TSPI2_SPI2ACON.setSMP; inline;
  26419. begin
  26420. pTDefRegMap(@Self)^.&set := $00000200;
  26421. end;
  26422. procedure TSPI2_SPI2ACON.clearSMP; inline;
  26423. begin
  26424. pTDefRegMap(@Self)^.clr := $00000200;
  26425. end;
  26426. procedure TSPI2_SPI2ACON.setSMP(thebits : TBits_1); inline;
  26427. begin
  26428. if thebits = 0 then
  26429. pTDefRegMap(@Self)^.clr := $00000200
  26430. else
  26431. pTDefRegMap(@Self)^.&set := $00000200;
  26432. end;
  26433. function TSPI2_SPI2ACON.getSMP : TBits_1; inline;
  26434. begin
  26435. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26436. end;
  26437. procedure TSPI2_SPI2ACON.setMODE16; inline;
  26438. begin
  26439. pTDefRegMap(@Self)^.&set := $00000400;
  26440. end;
  26441. procedure TSPI2_SPI2ACON.clearMODE16; inline;
  26442. begin
  26443. pTDefRegMap(@Self)^.clr := $00000400;
  26444. end;
  26445. procedure TSPI2_SPI2ACON.setMODE16(thebits : TBits_1); inline;
  26446. begin
  26447. if thebits = 0 then
  26448. pTDefRegMap(@Self)^.clr := $00000400
  26449. else
  26450. pTDefRegMap(@Self)^.&set := $00000400;
  26451. end;
  26452. function TSPI2_SPI2ACON.getMODE16 : TBits_1; inline;
  26453. begin
  26454. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26455. end;
  26456. procedure TSPI2_SPI2ACON.setMODE32; inline;
  26457. begin
  26458. pTDefRegMap(@Self)^.&set := $00000800;
  26459. end;
  26460. procedure TSPI2_SPI2ACON.clearMODE32; inline;
  26461. begin
  26462. pTDefRegMap(@Self)^.clr := $00000800;
  26463. end;
  26464. procedure TSPI2_SPI2ACON.setMODE32(thebits : TBits_1); inline;
  26465. begin
  26466. if thebits = 0 then
  26467. pTDefRegMap(@Self)^.clr := $00000800
  26468. else
  26469. pTDefRegMap(@Self)^.&set := $00000800;
  26470. end;
  26471. function TSPI2_SPI2ACON.getMODE32 : TBits_1; inline;
  26472. begin
  26473. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26474. end;
  26475. procedure TSPI2_SPI2ACON.setDISSDO; inline;
  26476. begin
  26477. pTDefRegMap(@Self)^.&set := $00001000;
  26478. end;
  26479. procedure TSPI2_SPI2ACON.clearDISSDO; inline;
  26480. begin
  26481. pTDefRegMap(@Self)^.clr := $00001000;
  26482. end;
  26483. procedure TSPI2_SPI2ACON.setDISSDO(thebits : TBits_1); inline;
  26484. begin
  26485. if thebits = 0 then
  26486. pTDefRegMap(@Self)^.clr := $00001000
  26487. else
  26488. pTDefRegMap(@Self)^.&set := $00001000;
  26489. end;
  26490. function TSPI2_SPI2ACON.getDISSDO : TBits_1; inline;
  26491. begin
  26492. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26493. end;
  26494. procedure TSPI2_SPI2ACON.setSIDL; inline;
  26495. begin
  26496. pTDefRegMap(@Self)^.&set := $00002000;
  26497. end;
  26498. procedure TSPI2_SPI2ACON.clearSIDL; inline;
  26499. begin
  26500. pTDefRegMap(@Self)^.clr := $00002000;
  26501. end;
  26502. procedure TSPI2_SPI2ACON.setSIDL(thebits : TBits_1); inline;
  26503. begin
  26504. if thebits = 0 then
  26505. pTDefRegMap(@Self)^.clr := $00002000
  26506. else
  26507. pTDefRegMap(@Self)^.&set := $00002000;
  26508. end;
  26509. function TSPI2_SPI2ACON.getSIDL : TBits_1; inline;
  26510. begin
  26511. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26512. end;
  26513. procedure TSPI2_SPI2ACON.setON; inline;
  26514. begin
  26515. pTDefRegMap(@Self)^.&set := $00008000;
  26516. end;
  26517. procedure TSPI2_SPI2ACON.clearON; inline;
  26518. begin
  26519. pTDefRegMap(@Self)^.clr := $00008000;
  26520. end;
  26521. procedure TSPI2_SPI2ACON.setON(thebits : TBits_1); inline;
  26522. begin
  26523. if thebits = 0 then
  26524. pTDefRegMap(@Self)^.clr := $00008000
  26525. else
  26526. pTDefRegMap(@Self)^.&set := $00008000;
  26527. end;
  26528. function TSPI2_SPI2ACON.getON : TBits_1; inline;
  26529. begin
  26530. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26531. end;
  26532. procedure TSPI2_SPI2ACON.setENHBUF; inline;
  26533. begin
  26534. pTDefRegMap(@Self)^.&set := $00010000;
  26535. end;
  26536. procedure TSPI2_SPI2ACON.clearENHBUF; inline;
  26537. begin
  26538. pTDefRegMap(@Self)^.clr := $00010000;
  26539. end;
  26540. procedure TSPI2_SPI2ACON.setENHBUF(thebits : TBits_1); inline;
  26541. begin
  26542. if thebits = 0 then
  26543. pTDefRegMap(@Self)^.clr := $00010000
  26544. else
  26545. pTDefRegMap(@Self)^.&set := $00010000;
  26546. end;
  26547. function TSPI2_SPI2ACON.getENHBUF : TBits_1; inline;
  26548. begin
  26549. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26550. end;
  26551. procedure TSPI2_SPI2ACON.setSPIFE; inline;
  26552. begin
  26553. pTDefRegMap(@Self)^.&set := $00020000;
  26554. end;
  26555. procedure TSPI2_SPI2ACON.clearSPIFE; inline;
  26556. begin
  26557. pTDefRegMap(@Self)^.clr := $00020000;
  26558. end;
  26559. procedure TSPI2_SPI2ACON.setSPIFE(thebits : TBits_1); inline;
  26560. begin
  26561. if thebits = 0 then
  26562. pTDefRegMap(@Self)^.clr := $00020000
  26563. else
  26564. pTDefRegMap(@Self)^.&set := $00020000;
  26565. end;
  26566. function TSPI2_SPI2ACON.getSPIFE : TBits_1; inline;
  26567. begin
  26568. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26569. end;
  26570. procedure TSPI2_SPI2ACON.setFRMCNT(thebits : TBits_3); inline;
  26571. begin
  26572. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26573. end;
  26574. function TSPI2_SPI2ACON.getFRMCNT : TBits_3; inline;
  26575. begin
  26576. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26577. end;
  26578. procedure TSPI2_SPI2ACON.setFRMSYPW; inline;
  26579. begin
  26580. pTDefRegMap(@Self)^.&set := $08000000;
  26581. end;
  26582. procedure TSPI2_SPI2ACON.clearFRMSYPW; inline;
  26583. begin
  26584. pTDefRegMap(@Self)^.clr := $08000000;
  26585. end;
  26586. procedure TSPI2_SPI2ACON.setFRMSYPW(thebits : TBits_1); inline;
  26587. begin
  26588. if thebits = 0 then
  26589. pTDefRegMap(@Self)^.clr := $08000000
  26590. else
  26591. pTDefRegMap(@Self)^.&set := $08000000;
  26592. end;
  26593. function TSPI2_SPI2ACON.getFRMSYPW : TBits_1; inline;
  26594. begin
  26595. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26596. end;
  26597. procedure TSPI2_SPI2ACON.setMSSEN; inline;
  26598. begin
  26599. pTDefRegMap(@Self)^.&set := $10000000;
  26600. end;
  26601. procedure TSPI2_SPI2ACON.clearMSSEN; inline;
  26602. begin
  26603. pTDefRegMap(@Self)^.clr := $10000000;
  26604. end;
  26605. procedure TSPI2_SPI2ACON.setMSSEN(thebits : TBits_1); inline;
  26606. begin
  26607. if thebits = 0 then
  26608. pTDefRegMap(@Self)^.clr := $10000000
  26609. else
  26610. pTDefRegMap(@Self)^.&set := $10000000;
  26611. end;
  26612. function TSPI2_SPI2ACON.getMSSEN : TBits_1; inline;
  26613. begin
  26614. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26615. end;
  26616. procedure TSPI2_SPI2ACON.setFRMPOL; inline;
  26617. begin
  26618. pTDefRegMap(@Self)^.&set := $20000000;
  26619. end;
  26620. procedure TSPI2_SPI2ACON.clearFRMPOL; inline;
  26621. begin
  26622. pTDefRegMap(@Self)^.clr := $20000000;
  26623. end;
  26624. procedure TSPI2_SPI2ACON.setFRMPOL(thebits : TBits_1); inline;
  26625. begin
  26626. if thebits = 0 then
  26627. pTDefRegMap(@Self)^.clr := $20000000
  26628. else
  26629. pTDefRegMap(@Self)^.&set := $20000000;
  26630. end;
  26631. function TSPI2_SPI2ACON.getFRMPOL : TBits_1; inline;
  26632. begin
  26633. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26634. end;
  26635. procedure TSPI2_SPI2ACON.setFRMSYNC; inline;
  26636. begin
  26637. pTDefRegMap(@Self)^.&set := $40000000;
  26638. end;
  26639. procedure TSPI2_SPI2ACON.clearFRMSYNC; inline;
  26640. begin
  26641. pTDefRegMap(@Self)^.clr := $40000000;
  26642. end;
  26643. procedure TSPI2_SPI2ACON.setFRMSYNC(thebits : TBits_1); inline;
  26644. begin
  26645. if thebits = 0 then
  26646. pTDefRegMap(@Self)^.clr := $40000000
  26647. else
  26648. pTDefRegMap(@Self)^.&set := $40000000;
  26649. end;
  26650. function TSPI2_SPI2ACON.getFRMSYNC : TBits_1; inline;
  26651. begin
  26652. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26653. end;
  26654. procedure TSPI2_SPI2ACON.setFRMEN; inline;
  26655. begin
  26656. pTDefRegMap(@Self)^.&set := $80000000;
  26657. end;
  26658. procedure TSPI2_SPI2ACON.clearFRMEN; inline;
  26659. begin
  26660. pTDefRegMap(@Self)^.clr := $80000000;
  26661. end;
  26662. procedure TSPI2_SPI2ACON.setFRMEN(thebits : TBits_1); inline;
  26663. begin
  26664. if thebits = 0 then
  26665. pTDefRegMap(@Self)^.clr := $80000000
  26666. else
  26667. pTDefRegMap(@Self)^.&set := $80000000;
  26668. end;
  26669. function TSPI2_SPI2ACON.getFRMEN : TBits_1; inline;
  26670. begin
  26671. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26672. end;
  26673. procedure TSPI2_SPI2ACON.setw(thebits : TBits_32); inline;
  26674. begin
  26675. pTDefRegMap(@Self)^.val := thebits;
  26676. end;
  26677. function TSPI2_SPI2ACON.getw : TBits_32; inline;
  26678. begin
  26679. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26680. end;
  26681. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  26682. begin
  26683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  26684. end;
  26685. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  26686. begin
  26687. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  26688. end;
  26689. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  26690. begin
  26691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  26692. end;
  26693. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  26694. begin
  26695. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  26696. end;
  26697. procedure TSPI2_SPI2CON.setMSTEN; inline;
  26698. begin
  26699. pTDefRegMap(@Self)^.&set := $00000020;
  26700. end;
  26701. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  26702. begin
  26703. pTDefRegMap(@Self)^.clr := $00000020;
  26704. end;
  26705. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  26706. begin
  26707. if thebits = 0 then
  26708. pTDefRegMap(@Self)^.clr := $00000020
  26709. else
  26710. pTDefRegMap(@Self)^.&set := $00000020;
  26711. end;
  26712. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  26713. begin
  26714. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26715. end;
  26716. procedure TSPI2_SPI2CON.setCKP; inline;
  26717. begin
  26718. pTDefRegMap(@Self)^.&set := $00000040;
  26719. end;
  26720. procedure TSPI2_SPI2CON.clearCKP; inline;
  26721. begin
  26722. pTDefRegMap(@Self)^.clr := $00000040;
  26723. end;
  26724. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  26725. begin
  26726. if thebits = 0 then
  26727. pTDefRegMap(@Self)^.clr := $00000040
  26728. else
  26729. pTDefRegMap(@Self)^.&set := $00000040;
  26730. end;
  26731. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  26732. begin
  26733. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26734. end;
  26735. procedure TSPI2_SPI2CON.setSSEN; inline;
  26736. begin
  26737. pTDefRegMap(@Self)^.&set := $00000080;
  26738. end;
  26739. procedure TSPI2_SPI2CON.clearSSEN; inline;
  26740. begin
  26741. pTDefRegMap(@Self)^.clr := $00000080;
  26742. end;
  26743. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  26744. begin
  26745. if thebits = 0 then
  26746. pTDefRegMap(@Self)^.clr := $00000080
  26747. else
  26748. pTDefRegMap(@Self)^.&set := $00000080;
  26749. end;
  26750. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  26751. begin
  26752. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26753. end;
  26754. procedure TSPI2_SPI2CON.setCKE; inline;
  26755. begin
  26756. pTDefRegMap(@Self)^.&set := $00000100;
  26757. end;
  26758. procedure TSPI2_SPI2CON.clearCKE; inline;
  26759. begin
  26760. pTDefRegMap(@Self)^.clr := $00000100;
  26761. end;
  26762. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  26763. begin
  26764. if thebits = 0 then
  26765. pTDefRegMap(@Self)^.clr := $00000100
  26766. else
  26767. pTDefRegMap(@Self)^.&set := $00000100;
  26768. end;
  26769. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  26770. begin
  26771. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26772. end;
  26773. procedure TSPI2_SPI2CON.setSMP; inline;
  26774. begin
  26775. pTDefRegMap(@Self)^.&set := $00000200;
  26776. end;
  26777. procedure TSPI2_SPI2CON.clearSMP; inline;
  26778. begin
  26779. pTDefRegMap(@Self)^.clr := $00000200;
  26780. end;
  26781. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  26782. begin
  26783. if thebits = 0 then
  26784. pTDefRegMap(@Self)^.clr := $00000200
  26785. else
  26786. pTDefRegMap(@Self)^.&set := $00000200;
  26787. end;
  26788. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  26789. begin
  26790. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26791. end;
  26792. procedure TSPI2_SPI2CON.setMODE16; inline;
  26793. begin
  26794. pTDefRegMap(@Self)^.&set := $00000400;
  26795. end;
  26796. procedure TSPI2_SPI2CON.clearMODE16; inline;
  26797. begin
  26798. pTDefRegMap(@Self)^.clr := $00000400;
  26799. end;
  26800. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  26801. begin
  26802. if thebits = 0 then
  26803. pTDefRegMap(@Self)^.clr := $00000400
  26804. else
  26805. pTDefRegMap(@Self)^.&set := $00000400;
  26806. end;
  26807. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  26808. begin
  26809. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26810. end;
  26811. procedure TSPI2_SPI2CON.setMODE32; inline;
  26812. begin
  26813. pTDefRegMap(@Self)^.&set := $00000800;
  26814. end;
  26815. procedure TSPI2_SPI2CON.clearMODE32; inline;
  26816. begin
  26817. pTDefRegMap(@Self)^.clr := $00000800;
  26818. end;
  26819. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  26820. begin
  26821. if thebits = 0 then
  26822. pTDefRegMap(@Self)^.clr := $00000800
  26823. else
  26824. pTDefRegMap(@Self)^.&set := $00000800;
  26825. end;
  26826. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  26827. begin
  26828. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26829. end;
  26830. procedure TSPI2_SPI2CON.setDISSDO; inline;
  26831. begin
  26832. pTDefRegMap(@Self)^.&set := $00001000;
  26833. end;
  26834. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  26835. begin
  26836. pTDefRegMap(@Self)^.clr := $00001000;
  26837. end;
  26838. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  26839. begin
  26840. if thebits = 0 then
  26841. pTDefRegMap(@Self)^.clr := $00001000
  26842. else
  26843. pTDefRegMap(@Self)^.&set := $00001000;
  26844. end;
  26845. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  26846. begin
  26847. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26848. end;
  26849. procedure TSPI2_SPI2CON.setSIDL; inline;
  26850. begin
  26851. pTDefRegMap(@Self)^.&set := $00002000;
  26852. end;
  26853. procedure TSPI2_SPI2CON.clearSIDL; inline;
  26854. begin
  26855. pTDefRegMap(@Self)^.clr := $00002000;
  26856. end;
  26857. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  26858. begin
  26859. if thebits = 0 then
  26860. pTDefRegMap(@Self)^.clr := $00002000
  26861. else
  26862. pTDefRegMap(@Self)^.&set := $00002000;
  26863. end;
  26864. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  26865. begin
  26866. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26867. end;
  26868. procedure TSPI2_SPI2CON.setON; inline;
  26869. begin
  26870. pTDefRegMap(@Self)^.&set := $00008000;
  26871. end;
  26872. procedure TSPI2_SPI2CON.clearON; inline;
  26873. begin
  26874. pTDefRegMap(@Self)^.clr := $00008000;
  26875. end;
  26876. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  26877. begin
  26878. if thebits = 0 then
  26879. pTDefRegMap(@Self)^.clr := $00008000
  26880. else
  26881. pTDefRegMap(@Self)^.&set := $00008000;
  26882. end;
  26883. function TSPI2_SPI2CON.getON : TBits_1; inline;
  26884. begin
  26885. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26886. end;
  26887. procedure TSPI2_SPI2CON.setENHBUF; inline;
  26888. begin
  26889. pTDefRegMap(@Self)^.&set := $00010000;
  26890. end;
  26891. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  26892. begin
  26893. pTDefRegMap(@Self)^.clr := $00010000;
  26894. end;
  26895. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  26896. begin
  26897. if thebits = 0 then
  26898. pTDefRegMap(@Self)^.clr := $00010000
  26899. else
  26900. pTDefRegMap(@Self)^.&set := $00010000;
  26901. end;
  26902. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  26903. begin
  26904. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26905. end;
  26906. procedure TSPI2_SPI2CON.setSPIFE; inline;
  26907. begin
  26908. pTDefRegMap(@Self)^.&set := $00020000;
  26909. end;
  26910. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  26911. begin
  26912. pTDefRegMap(@Self)^.clr := $00020000;
  26913. end;
  26914. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  26915. begin
  26916. if thebits = 0 then
  26917. pTDefRegMap(@Self)^.clr := $00020000
  26918. else
  26919. pTDefRegMap(@Self)^.&set := $00020000;
  26920. end;
  26921. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  26922. begin
  26923. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26924. end;
  26925. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  26926. begin
  26927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  26928. end;
  26929. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  26930. begin
  26931. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  26932. end;
  26933. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  26934. begin
  26935. pTDefRegMap(@Self)^.&set := $08000000;
  26936. end;
  26937. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  26938. begin
  26939. pTDefRegMap(@Self)^.clr := $08000000;
  26940. end;
  26941. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  26942. begin
  26943. if thebits = 0 then
  26944. pTDefRegMap(@Self)^.clr := $08000000
  26945. else
  26946. pTDefRegMap(@Self)^.&set := $08000000;
  26947. end;
  26948. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  26949. begin
  26950. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26951. end;
  26952. procedure TSPI2_SPI2CON.setMSSEN; inline;
  26953. begin
  26954. pTDefRegMap(@Self)^.&set := $10000000;
  26955. end;
  26956. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  26957. begin
  26958. pTDefRegMap(@Self)^.clr := $10000000;
  26959. end;
  26960. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  26961. begin
  26962. if thebits = 0 then
  26963. pTDefRegMap(@Self)^.clr := $10000000
  26964. else
  26965. pTDefRegMap(@Self)^.&set := $10000000;
  26966. end;
  26967. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  26968. begin
  26969. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26970. end;
  26971. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  26972. begin
  26973. pTDefRegMap(@Self)^.&set := $20000000;
  26974. end;
  26975. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  26976. begin
  26977. pTDefRegMap(@Self)^.clr := $20000000;
  26978. end;
  26979. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  26980. begin
  26981. if thebits = 0 then
  26982. pTDefRegMap(@Self)^.clr := $20000000
  26983. else
  26984. pTDefRegMap(@Self)^.&set := $20000000;
  26985. end;
  26986. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  26987. begin
  26988. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26989. end;
  26990. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  26991. begin
  26992. pTDefRegMap(@Self)^.&set := $40000000;
  26993. end;
  26994. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  26995. begin
  26996. pTDefRegMap(@Self)^.clr := $40000000;
  26997. end;
  26998. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  26999. begin
  27000. if thebits = 0 then
  27001. pTDefRegMap(@Self)^.clr := $40000000
  27002. else
  27003. pTDefRegMap(@Self)^.&set := $40000000;
  27004. end;
  27005. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  27006. begin
  27007. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27008. end;
  27009. procedure TSPI2_SPI2CON.setFRMEN; inline;
  27010. begin
  27011. pTDefRegMap(@Self)^.&set := $80000000;
  27012. end;
  27013. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  27014. begin
  27015. pTDefRegMap(@Self)^.clr := $80000000;
  27016. end;
  27017. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  27018. begin
  27019. if thebits = 0 then
  27020. pTDefRegMap(@Self)^.clr := $80000000
  27021. else
  27022. pTDefRegMap(@Self)^.&set := $80000000;
  27023. end;
  27024. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  27025. begin
  27026. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27027. end;
  27028. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  27029. begin
  27030. pTDefRegMap(@Self)^.val := thebits;
  27031. end;
  27032. function TSPI2_SPI2CON.getw : TBits_32; inline;
  27033. begin
  27034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27035. end;
  27036. procedure TSPI2_SPI2ASTAT.setSPIRBF; inline;
  27037. begin
  27038. pTDefRegMap(@Self)^.&set := $00000001;
  27039. end;
  27040. procedure TSPI2_SPI2ASTAT.clearSPIRBF; inline;
  27041. begin
  27042. pTDefRegMap(@Self)^.clr := $00000001;
  27043. end;
  27044. procedure TSPI2_SPI2ASTAT.setSPIRBF(thebits : TBits_1); inline;
  27045. begin
  27046. if thebits = 0 then
  27047. pTDefRegMap(@Self)^.clr := $00000001
  27048. else
  27049. pTDefRegMap(@Self)^.&set := $00000001;
  27050. end;
  27051. function TSPI2_SPI2ASTAT.getSPIRBF : TBits_1; inline;
  27052. begin
  27053. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27054. end;
  27055. procedure TSPI2_SPI2ASTAT.setSPITBF; inline;
  27056. begin
  27057. pTDefRegMap(@Self)^.&set := $00000002;
  27058. end;
  27059. procedure TSPI2_SPI2ASTAT.clearSPITBF; inline;
  27060. begin
  27061. pTDefRegMap(@Self)^.clr := $00000002;
  27062. end;
  27063. procedure TSPI2_SPI2ASTAT.setSPITBF(thebits : TBits_1); inline;
  27064. begin
  27065. if thebits = 0 then
  27066. pTDefRegMap(@Self)^.clr := $00000002
  27067. else
  27068. pTDefRegMap(@Self)^.&set := $00000002;
  27069. end;
  27070. function TSPI2_SPI2ASTAT.getSPITBF : TBits_1; inline;
  27071. begin
  27072. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27073. end;
  27074. procedure TSPI2_SPI2ASTAT.setSPITBE; inline;
  27075. begin
  27076. pTDefRegMap(@Self)^.&set := $00000008;
  27077. end;
  27078. procedure TSPI2_SPI2ASTAT.clearSPITBE; inline;
  27079. begin
  27080. pTDefRegMap(@Self)^.clr := $00000008;
  27081. end;
  27082. procedure TSPI2_SPI2ASTAT.setSPITBE(thebits : TBits_1); inline;
  27083. begin
  27084. if thebits = 0 then
  27085. pTDefRegMap(@Self)^.clr := $00000008
  27086. else
  27087. pTDefRegMap(@Self)^.&set := $00000008;
  27088. end;
  27089. function TSPI2_SPI2ASTAT.getSPITBE : TBits_1; inline;
  27090. begin
  27091. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27092. end;
  27093. procedure TSPI2_SPI2ASTAT.setSPIRBE; inline;
  27094. begin
  27095. pTDefRegMap(@Self)^.&set := $00000020;
  27096. end;
  27097. procedure TSPI2_SPI2ASTAT.clearSPIRBE; inline;
  27098. begin
  27099. pTDefRegMap(@Self)^.clr := $00000020;
  27100. end;
  27101. procedure TSPI2_SPI2ASTAT.setSPIRBE(thebits : TBits_1); inline;
  27102. begin
  27103. if thebits = 0 then
  27104. pTDefRegMap(@Self)^.clr := $00000020
  27105. else
  27106. pTDefRegMap(@Self)^.&set := $00000020;
  27107. end;
  27108. function TSPI2_SPI2ASTAT.getSPIRBE : TBits_1; inline;
  27109. begin
  27110. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27111. end;
  27112. procedure TSPI2_SPI2ASTAT.setSPIROV; inline;
  27113. begin
  27114. pTDefRegMap(@Self)^.&set := $00000040;
  27115. end;
  27116. procedure TSPI2_SPI2ASTAT.clearSPIROV; inline;
  27117. begin
  27118. pTDefRegMap(@Self)^.clr := $00000040;
  27119. end;
  27120. procedure TSPI2_SPI2ASTAT.setSPIROV(thebits : TBits_1); inline;
  27121. begin
  27122. if thebits = 0 then
  27123. pTDefRegMap(@Self)^.clr := $00000040
  27124. else
  27125. pTDefRegMap(@Self)^.&set := $00000040;
  27126. end;
  27127. function TSPI2_SPI2ASTAT.getSPIROV : TBits_1; inline;
  27128. begin
  27129. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27130. end;
  27131. procedure TSPI2_SPI2ASTAT.setSRMT; inline;
  27132. begin
  27133. pTDefRegMap(@Self)^.&set := $00000080;
  27134. end;
  27135. procedure TSPI2_SPI2ASTAT.clearSRMT; inline;
  27136. begin
  27137. pTDefRegMap(@Self)^.clr := $00000080;
  27138. end;
  27139. procedure TSPI2_SPI2ASTAT.setSRMT(thebits : TBits_1); inline;
  27140. begin
  27141. if thebits = 0 then
  27142. pTDefRegMap(@Self)^.clr := $00000080
  27143. else
  27144. pTDefRegMap(@Self)^.&set := $00000080;
  27145. end;
  27146. function TSPI2_SPI2ASTAT.getSRMT : TBits_1; inline;
  27147. begin
  27148. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27149. end;
  27150. procedure TSPI2_SPI2ASTAT.setSPITUR; inline;
  27151. begin
  27152. pTDefRegMap(@Self)^.&set := $00000100;
  27153. end;
  27154. procedure TSPI2_SPI2ASTAT.clearSPITUR; inline;
  27155. begin
  27156. pTDefRegMap(@Self)^.clr := $00000100;
  27157. end;
  27158. procedure TSPI2_SPI2ASTAT.setSPITUR(thebits : TBits_1); inline;
  27159. begin
  27160. if thebits = 0 then
  27161. pTDefRegMap(@Self)^.clr := $00000100
  27162. else
  27163. pTDefRegMap(@Self)^.&set := $00000100;
  27164. end;
  27165. function TSPI2_SPI2ASTAT.getSPITUR : TBits_1; inline;
  27166. begin
  27167. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27168. end;
  27169. procedure TSPI2_SPI2ASTAT.setSPIBUSY; inline;
  27170. begin
  27171. pTDefRegMap(@Self)^.&set := $00000800;
  27172. end;
  27173. procedure TSPI2_SPI2ASTAT.clearSPIBUSY; inline;
  27174. begin
  27175. pTDefRegMap(@Self)^.clr := $00000800;
  27176. end;
  27177. procedure TSPI2_SPI2ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  27178. begin
  27179. if thebits = 0 then
  27180. pTDefRegMap(@Self)^.clr := $00000800
  27181. else
  27182. pTDefRegMap(@Self)^.&set := $00000800;
  27183. end;
  27184. function TSPI2_SPI2ASTAT.getSPIBUSY : TBits_1; inline;
  27185. begin
  27186. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27187. end;
  27188. procedure TSPI2_SPI2ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  27189. begin
  27190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27191. end;
  27192. function TSPI2_SPI2ASTAT.getTXBUFELM : TBits_5; inline;
  27193. begin
  27194. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27195. end;
  27196. procedure TSPI2_SPI2ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  27197. begin
  27198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27199. end;
  27200. function TSPI2_SPI2ASTAT.getRXBUFELM : TBits_5; inline;
  27201. begin
  27202. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27203. end;
  27204. procedure TSPI2_SPI2ASTAT.setw(thebits : TBits_32); inline;
  27205. begin
  27206. pTDefRegMap(@Self)^.val := thebits;
  27207. end;
  27208. function TSPI2_SPI2ASTAT.getw : TBits_32; inline;
  27209. begin
  27210. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27211. end;
  27212. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  27213. begin
  27214. pTDefRegMap(@Self)^.&set := $00000001;
  27215. end;
  27216. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  27217. begin
  27218. pTDefRegMap(@Self)^.clr := $00000001;
  27219. end;
  27220. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  27221. begin
  27222. if thebits = 0 then
  27223. pTDefRegMap(@Self)^.clr := $00000001
  27224. else
  27225. pTDefRegMap(@Self)^.&set := $00000001;
  27226. end;
  27227. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  27228. begin
  27229. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27230. end;
  27231. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  27232. begin
  27233. pTDefRegMap(@Self)^.&set := $00000002;
  27234. end;
  27235. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  27236. begin
  27237. pTDefRegMap(@Self)^.clr := $00000002;
  27238. end;
  27239. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  27240. begin
  27241. if thebits = 0 then
  27242. pTDefRegMap(@Self)^.clr := $00000002
  27243. else
  27244. pTDefRegMap(@Self)^.&set := $00000002;
  27245. end;
  27246. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  27247. begin
  27248. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27249. end;
  27250. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  27251. begin
  27252. pTDefRegMap(@Self)^.&set := $00000008;
  27253. end;
  27254. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  27255. begin
  27256. pTDefRegMap(@Self)^.clr := $00000008;
  27257. end;
  27258. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  27259. begin
  27260. if thebits = 0 then
  27261. pTDefRegMap(@Self)^.clr := $00000008
  27262. else
  27263. pTDefRegMap(@Self)^.&set := $00000008;
  27264. end;
  27265. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  27266. begin
  27267. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27268. end;
  27269. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  27270. begin
  27271. pTDefRegMap(@Self)^.&set := $00000020;
  27272. end;
  27273. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  27274. begin
  27275. pTDefRegMap(@Self)^.clr := $00000020;
  27276. end;
  27277. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  27278. begin
  27279. if thebits = 0 then
  27280. pTDefRegMap(@Self)^.clr := $00000020
  27281. else
  27282. pTDefRegMap(@Self)^.&set := $00000020;
  27283. end;
  27284. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  27285. begin
  27286. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27287. end;
  27288. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  27289. begin
  27290. pTDefRegMap(@Self)^.&set := $00000040;
  27291. end;
  27292. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  27293. begin
  27294. pTDefRegMap(@Self)^.clr := $00000040;
  27295. end;
  27296. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  27297. begin
  27298. if thebits = 0 then
  27299. pTDefRegMap(@Self)^.clr := $00000040
  27300. else
  27301. pTDefRegMap(@Self)^.&set := $00000040;
  27302. end;
  27303. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  27304. begin
  27305. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27306. end;
  27307. procedure TSPI2_SPI2STAT.setSRMT; inline;
  27308. begin
  27309. pTDefRegMap(@Self)^.&set := $00000080;
  27310. end;
  27311. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  27312. begin
  27313. pTDefRegMap(@Self)^.clr := $00000080;
  27314. end;
  27315. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  27316. begin
  27317. if thebits = 0 then
  27318. pTDefRegMap(@Self)^.clr := $00000080
  27319. else
  27320. pTDefRegMap(@Self)^.&set := $00000080;
  27321. end;
  27322. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  27323. begin
  27324. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27325. end;
  27326. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  27327. begin
  27328. pTDefRegMap(@Self)^.&set := $00000100;
  27329. end;
  27330. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  27331. begin
  27332. pTDefRegMap(@Self)^.clr := $00000100;
  27333. end;
  27334. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  27335. begin
  27336. if thebits = 0 then
  27337. pTDefRegMap(@Self)^.clr := $00000100
  27338. else
  27339. pTDefRegMap(@Self)^.&set := $00000100;
  27340. end;
  27341. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  27342. begin
  27343. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27344. end;
  27345. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  27346. begin
  27347. pTDefRegMap(@Self)^.&set := $00000800;
  27348. end;
  27349. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  27350. begin
  27351. pTDefRegMap(@Self)^.clr := $00000800;
  27352. end;
  27353. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  27354. begin
  27355. if thebits = 0 then
  27356. pTDefRegMap(@Self)^.clr := $00000800
  27357. else
  27358. pTDefRegMap(@Self)^.&set := $00000800;
  27359. end;
  27360. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  27361. begin
  27362. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27363. end;
  27364. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  27365. begin
  27366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  27367. end;
  27368. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  27369. begin
  27370. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  27371. end;
  27372. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  27373. begin
  27374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  27375. end;
  27376. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  27377. begin
  27378. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  27379. end;
  27380. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  27381. begin
  27382. pTDefRegMap(@Self)^.val := thebits;
  27383. end;
  27384. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  27385. begin
  27386. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27387. end;
  27388. procedure TSPI4_SPI3ACON.setSRXISEL(thebits : TBits_2); inline;
  27389. begin
  27390. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27391. end;
  27392. function TSPI4_SPI3ACON.getSRXISEL : TBits_2; inline;
  27393. begin
  27394. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27395. end;
  27396. procedure TSPI4_SPI3ACON.setSTXISEL(thebits : TBits_2); inline;
  27397. begin
  27398. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27399. end;
  27400. function TSPI4_SPI3ACON.getSTXISEL : TBits_2; inline;
  27401. begin
  27402. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27403. end;
  27404. procedure TSPI4_SPI3ACON.setMSTEN; inline;
  27405. begin
  27406. pTDefRegMap(@Self)^.&set := $00000020;
  27407. end;
  27408. procedure TSPI4_SPI3ACON.clearMSTEN; inline;
  27409. begin
  27410. pTDefRegMap(@Self)^.clr := $00000020;
  27411. end;
  27412. procedure TSPI4_SPI3ACON.setMSTEN(thebits : TBits_1); inline;
  27413. begin
  27414. if thebits = 0 then
  27415. pTDefRegMap(@Self)^.clr := $00000020
  27416. else
  27417. pTDefRegMap(@Self)^.&set := $00000020;
  27418. end;
  27419. function TSPI4_SPI3ACON.getMSTEN : TBits_1; inline;
  27420. begin
  27421. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27422. end;
  27423. procedure TSPI4_SPI3ACON.setCKP; inline;
  27424. begin
  27425. pTDefRegMap(@Self)^.&set := $00000040;
  27426. end;
  27427. procedure TSPI4_SPI3ACON.clearCKP; inline;
  27428. begin
  27429. pTDefRegMap(@Self)^.clr := $00000040;
  27430. end;
  27431. procedure TSPI4_SPI3ACON.setCKP(thebits : TBits_1); inline;
  27432. begin
  27433. if thebits = 0 then
  27434. pTDefRegMap(@Self)^.clr := $00000040
  27435. else
  27436. pTDefRegMap(@Self)^.&set := $00000040;
  27437. end;
  27438. function TSPI4_SPI3ACON.getCKP : TBits_1; inline;
  27439. begin
  27440. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27441. end;
  27442. procedure TSPI4_SPI3ACON.setSSEN; inline;
  27443. begin
  27444. pTDefRegMap(@Self)^.&set := $00000080;
  27445. end;
  27446. procedure TSPI4_SPI3ACON.clearSSEN; inline;
  27447. begin
  27448. pTDefRegMap(@Self)^.clr := $00000080;
  27449. end;
  27450. procedure TSPI4_SPI3ACON.setSSEN(thebits : TBits_1); inline;
  27451. begin
  27452. if thebits = 0 then
  27453. pTDefRegMap(@Self)^.clr := $00000080
  27454. else
  27455. pTDefRegMap(@Self)^.&set := $00000080;
  27456. end;
  27457. function TSPI4_SPI3ACON.getSSEN : TBits_1; inline;
  27458. begin
  27459. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27460. end;
  27461. procedure TSPI4_SPI3ACON.setCKE; inline;
  27462. begin
  27463. pTDefRegMap(@Self)^.&set := $00000100;
  27464. end;
  27465. procedure TSPI4_SPI3ACON.clearCKE; inline;
  27466. begin
  27467. pTDefRegMap(@Self)^.clr := $00000100;
  27468. end;
  27469. procedure TSPI4_SPI3ACON.setCKE(thebits : TBits_1); inline;
  27470. begin
  27471. if thebits = 0 then
  27472. pTDefRegMap(@Self)^.clr := $00000100
  27473. else
  27474. pTDefRegMap(@Self)^.&set := $00000100;
  27475. end;
  27476. function TSPI4_SPI3ACON.getCKE : TBits_1; inline;
  27477. begin
  27478. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27479. end;
  27480. procedure TSPI4_SPI3ACON.setSMP; inline;
  27481. begin
  27482. pTDefRegMap(@Self)^.&set := $00000200;
  27483. end;
  27484. procedure TSPI4_SPI3ACON.clearSMP; inline;
  27485. begin
  27486. pTDefRegMap(@Self)^.clr := $00000200;
  27487. end;
  27488. procedure TSPI4_SPI3ACON.setSMP(thebits : TBits_1); inline;
  27489. begin
  27490. if thebits = 0 then
  27491. pTDefRegMap(@Self)^.clr := $00000200
  27492. else
  27493. pTDefRegMap(@Self)^.&set := $00000200;
  27494. end;
  27495. function TSPI4_SPI3ACON.getSMP : TBits_1; inline;
  27496. begin
  27497. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27498. end;
  27499. procedure TSPI4_SPI3ACON.setMODE16; inline;
  27500. begin
  27501. pTDefRegMap(@Self)^.&set := $00000400;
  27502. end;
  27503. procedure TSPI4_SPI3ACON.clearMODE16; inline;
  27504. begin
  27505. pTDefRegMap(@Self)^.clr := $00000400;
  27506. end;
  27507. procedure TSPI4_SPI3ACON.setMODE16(thebits : TBits_1); inline;
  27508. begin
  27509. if thebits = 0 then
  27510. pTDefRegMap(@Self)^.clr := $00000400
  27511. else
  27512. pTDefRegMap(@Self)^.&set := $00000400;
  27513. end;
  27514. function TSPI4_SPI3ACON.getMODE16 : TBits_1; inline;
  27515. begin
  27516. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27517. end;
  27518. procedure TSPI4_SPI3ACON.setMODE32; inline;
  27519. begin
  27520. pTDefRegMap(@Self)^.&set := $00000800;
  27521. end;
  27522. procedure TSPI4_SPI3ACON.clearMODE32; inline;
  27523. begin
  27524. pTDefRegMap(@Self)^.clr := $00000800;
  27525. end;
  27526. procedure TSPI4_SPI3ACON.setMODE32(thebits : TBits_1); inline;
  27527. begin
  27528. if thebits = 0 then
  27529. pTDefRegMap(@Self)^.clr := $00000800
  27530. else
  27531. pTDefRegMap(@Self)^.&set := $00000800;
  27532. end;
  27533. function TSPI4_SPI3ACON.getMODE32 : TBits_1; inline;
  27534. begin
  27535. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27536. end;
  27537. procedure TSPI4_SPI3ACON.setDISSDO; inline;
  27538. begin
  27539. pTDefRegMap(@Self)^.&set := $00001000;
  27540. end;
  27541. procedure TSPI4_SPI3ACON.clearDISSDO; inline;
  27542. begin
  27543. pTDefRegMap(@Self)^.clr := $00001000;
  27544. end;
  27545. procedure TSPI4_SPI3ACON.setDISSDO(thebits : TBits_1); inline;
  27546. begin
  27547. if thebits = 0 then
  27548. pTDefRegMap(@Self)^.clr := $00001000
  27549. else
  27550. pTDefRegMap(@Self)^.&set := $00001000;
  27551. end;
  27552. function TSPI4_SPI3ACON.getDISSDO : TBits_1; inline;
  27553. begin
  27554. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27555. end;
  27556. procedure TSPI4_SPI3ACON.setSIDL; inline;
  27557. begin
  27558. pTDefRegMap(@Self)^.&set := $00002000;
  27559. end;
  27560. procedure TSPI4_SPI3ACON.clearSIDL; inline;
  27561. begin
  27562. pTDefRegMap(@Self)^.clr := $00002000;
  27563. end;
  27564. procedure TSPI4_SPI3ACON.setSIDL(thebits : TBits_1); inline;
  27565. begin
  27566. if thebits = 0 then
  27567. pTDefRegMap(@Self)^.clr := $00002000
  27568. else
  27569. pTDefRegMap(@Self)^.&set := $00002000;
  27570. end;
  27571. function TSPI4_SPI3ACON.getSIDL : TBits_1; inline;
  27572. begin
  27573. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27574. end;
  27575. procedure TSPI4_SPI3ACON.setON; inline;
  27576. begin
  27577. pTDefRegMap(@Self)^.&set := $00008000;
  27578. end;
  27579. procedure TSPI4_SPI3ACON.clearON; inline;
  27580. begin
  27581. pTDefRegMap(@Self)^.clr := $00008000;
  27582. end;
  27583. procedure TSPI4_SPI3ACON.setON(thebits : TBits_1); inline;
  27584. begin
  27585. if thebits = 0 then
  27586. pTDefRegMap(@Self)^.clr := $00008000
  27587. else
  27588. pTDefRegMap(@Self)^.&set := $00008000;
  27589. end;
  27590. function TSPI4_SPI3ACON.getON : TBits_1; inline;
  27591. begin
  27592. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27593. end;
  27594. procedure TSPI4_SPI3ACON.setENHBUF; inline;
  27595. begin
  27596. pTDefRegMap(@Self)^.&set := $00010000;
  27597. end;
  27598. procedure TSPI4_SPI3ACON.clearENHBUF; inline;
  27599. begin
  27600. pTDefRegMap(@Self)^.clr := $00010000;
  27601. end;
  27602. procedure TSPI4_SPI3ACON.setENHBUF(thebits : TBits_1); inline;
  27603. begin
  27604. if thebits = 0 then
  27605. pTDefRegMap(@Self)^.clr := $00010000
  27606. else
  27607. pTDefRegMap(@Self)^.&set := $00010000;
  27608. end;
  27609. function TSPI4_SPI3ACON.getENHBUF : TBits_1; inline;
  27610. begin
  27611. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27612. end;
  27613. procedure TSPI4_SPI3ACON.setSPIFE; inline;
  27614. begin
  27615. pTDefRegMap(@Self)^.&set := $00020000;
  27616. end;
  27617. procedure TSPI4_SPI3ACON.clearSPIFE; inline;
  27618. begin
  27619. pTDefRegMap(@Self)^.clr := $00020000;
  27620. end;
  27621. procedure TSPI4_SPI3ACON.setSPIFE(thebits : TBits_1); inline;
  27622. begin
  27623. if thebits = 0 then
  27624. pTDefRegMap(@Self)^.clr := $00020000
  27625. else
  27626. pTDefRegMap(@Self)^.&set := $00020000;
  27627. end;
  27628. function TSPI4_SPI3ACON.getSPIFE : TBits_1; inline;
  27629. begin
  27630. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27631. end;
  27632. procedure TSPI4_SPI3ACON.setFRMCNT(thebits : TBits_3); inline;
  27633. begin
  27634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27635. end;
  27636. function TSPI4_SPI3ACON.getFRMCNT : TBits_3; inline;
  27637. begin
  27638. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27639. end;
  27640. procedure TSPI4_SPI3ACON.setFRMSYPW; inline;
  27641. begin
  27642. pTDefRegMap(@Self)^.&set := $08000000;
  27643. end;
  27644. procedure TSPI4_SPI3ACON.clearFRMSYPW; inline;
  27645. begin
  27646. pTDefRegMap(@Self)^.clr := $08000000;
  27647. end;
  27648. procedure TSPI4_SPI3ACON.setFRMSYPW(thebits : TBits_1); inline;
  27649. begin
  27650. if thebits = 0 then
  27651. pTDefRegMap(@Self)^.clr := $08000000
  27652. else
  27653. pTDefRegMap(@Self)^.&set := $08000000;
  27654. end;
  27655. function TSPI4_SPI3ACON.getFRMSYPW : TBits_1; inline;
  27656. begin
  27657. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27658. end;
  27659. procedure TSPI4_SPI3ACON.setMSSEN; inline;
  27660. begin
  27661. pTDefRegMap(@Self)^.&set := $10000000;
  27662. end;
  27663. procedure TSPI4_SPI3ACON.clearMSSEN; inline;
  27664. begin
  27665. pTDefRegMap(@Self)^.clr := $10000000;
  27666. end;
  27667. procedure TSPI4_SPI3ACON.setMSSEN(thebits : TBits_1); inline;
  27668. begin
  27669. if thebits = 0 then
  27670. pTDefRegMap(@Self)^.clr := $10000000
  27671. else
  27672. pTDefRegMap(@Self)^.&set := $10000000;
  27673. end;
  27674. function TSPI4_SPI3ACON.getMSSEN : TBits_1; inline;
  27675. begin
  27676. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27677. end;
  27678. procedure TSPI4_SPI3ACON.setFRMPOL; inline;
  27679. begin
  27680. pTDefRegMap(@Self)^.&set := $20000000;
  27681. end;
  27682. procedure TSPI4_SPI3ACON.clearFRMPOL; inline;
  27683. begin
  27684. pTDefRegMap(@Self)^.clr := $20000000;
  27685. end;
  27686. procedure TSPI4_SPI3ACON.setFRMPOL(thebits : TBits_1); inline;
  27687. begin
  27688. if thebits = 0 then
  27689. pTDefRegMap(@Self)^.clr := $20000000
  27690. else
  27691. pTDefRegMap(@Self)^.&set := $20000000;
  27692. end;
  27693. function TSPI4_SPI3ACON.getFRMPOL : TBits_1; inline;
  27694. begin
  27695. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27696. end;
  27697. procedure TSPI4_SPI3ACON.setFRMSYNC; inline;
  27698. begin
  27699. pTDefRegMap(@Self)^.&set := $40000000;
  27700. end;
  27701. procedure TSPI4_SPI3ACON.clearFRMSYNC; inline;
  27702. begin
  27703. pTDefRegMap(@Self)^.clr := $40000000;
  27704. end;
  27705. procedure TSPI4_SPI3ACON.setFRMSYNC(thebits : TBits_1); inline;
  27706. begin
  27707. if thebits = 0 then
  27708. pTDefRegMap(@Self)^.clr := $40000000
  27709. else
  27710. pTDefRegMap(@Self)^.&set := $40000000;
  27711. end;
  27712. function TSPI4_SPI3ACON.getFRMSYNC : TBits_1; inline;
  27713. begin
  27714. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27715. end;
  27716. procedure TSPI4_SPI3ACON.setFRMEN; inline;
  27717. begin
  27718. pTDefRegMap(@Self)^.&set := $80000000;
  27719. end;
  27720. procedure TSPI4_SPI3ACON.clearFRMEN; inline;
  27721. begin
  27722. pTDefRegMap(@Self)^.clr := $80000000;
  27723. end;
  27724. procedure TSPI4_SPI3ACON.setFRMEN(thebits : TBits_1); inline;
  27725. begin
  27726. if thebits = 0 then
  27727. pTDefRegMap(@Self)^.clr := $80000000
  27728. else
  27729. pTDefRegMap(@Self)^.&set := $80000000;
  27730. end;
  27731. function TSPI4_SPI3ACON.getFRMEN : TBits_1; inline;
  27732. begin
  27733. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27734. end;
  27735. procedure TSPI4_SPI3ACON.setw(thebits : TBits_32); inline;
  27736. begin
  27737. pTDefRegMap(@Self)^.val := thebits;
  27738. end;
  27739. function TSPI4_SPI3ACON.getw : TBits_32; inline;
  27740. begin
  27741. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27742. end;
  27743. procedure TSPI4_SPI4CON.setSRXISEL(thebits : TBits_2); inline;
  27744. begin
  27745. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  27746. end;
  27747. function TSPI4_SPI4CON.getSRXISEL : TBits_2; inline;
  27748. begin
  27749. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  27750. end;
  27751. procedure TSPI4_SPI4CON.setSTXISEL(thebits : TBits_2); inline;
  27752. begin
  27753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  27754. end;
  27755. function TSPI4_SPI4CON.getSTXISEL : TBits_2; inline;
  27756. begin
  27757. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  27758. end;
  27759. procedure TSPI4_SPI4CON.setMSTEN; inline;
  27760. begin
  27761. pTDefRegMap(@Self)^.&set := $00000020;
  27762. end;
  27763. procedure TSPI4_SPI4CON.clearMSTEN; inline;
  27764. begin
  27765. pTDefRegMap(@Self)^.clr := $00000020;
  27766. end;
  27767. procedure TSPI4_SPI4CON.setMSTEN(thebits : TBits_1); inline;
  27768. begin
  27769. if thebits = 0 then
  27770. pTDefRegMap(@Self)^.clr := $00000020
  27771. else
  27772. pTDefRegMap(@Self)^.&set := $00000020;
  27773. end;
  27774. function TSPI4_SPI4CON.getMSTEN : TBits_1; inline;
  27775. begin
  27776. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27777. end;
  27778. procedure TSPI4_SPI4CON.setCKP; inline;
  27779. begin
  27780. pTDefRegMap(@Self)^.&set := $00000040;
  27781. end;
  27782. procedure TSPI4_SPI4CON.clearCKP; inline;
  27783. begin
  27784. pTDefRegMap(@Self)^.clr := $00000040;
  27785. end;
  27786. procedure TSPI4_SPI4CON.setCKP(thebits : TBits_1); inline;
  27787. begin
  27788. if thebits = 0 then
  27789. pTDefRegMap(@Self)^.clr := $00000040
  27790. else
  27791. pTDefRegMap(@Self)^.&set := $00000040;
  27792. end;
  27793. function TSPI4_SPI4CON.getCKP : TBits_1; inline;
  27794. begin
  27795. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27796. end;
  27797. procedure TSPI4_SPI4CON.setSSEN; inline;
  27798. begin
  27799. pTDefRegMap(@Self)^.&set := $00000080;
  27800. end;
  27801. procedure TSPI4_SPI4CON.clearSSEN; inline;
  27802. begin
  27803. pTDefRegMap(@Self)^.clr := $00000080;
  27804. end;
  27805. procedure TSPI4_SPI4CON.setSSEN(thebits : TBits_1); inline;
  27806. begin
  27807. if thebits = 0 then
  27808. pTDefRegMap(@Self)^.clr := $00000080
  27809. else
  27810. pTDefRegMap(@Self)^.&set := $00000080;
  27811. end;
  27812. function TSPI4_SPI4CON.getSSEN : TBits_1; inline;
  27813. begin
  27814. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27815. end;
  27816. procedure TSPI4_SPI4CON.setCKE; inline;
  27817. begin
  27818. pTDefRegMap(@Self)^.&set := $00000100;
  27819. end;
  27820. procedure TSPI4_SPI4CON.clearCKE; inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.clr := $00000100;
  27823. end;
  27824. procedure TSPI4_SPI4CON.setCKE(thebits : TBits_1); inline;
  27825. begin
  27826. if thebits = 0 then
  27827. pTDefRegMap(@Self)^.clr := $00000100
  27828. else
  27829. pTDefRegMap(@Self)^.&set := $00000100;
  27830. end;
  27831. function TSPI4_SPI4CON.getCKE : TBits_1; inline;
  27832. begin
  27833. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27834. end;
  27835. procedure TSPI4_SPI4CON.setSMP; inline;
  27836. begin
  27837. pTDefRegMap(@Self)^.&set := $00000200;
  27838. end;
  27839. procedure TSPI4_SPI4CON.clearSMP; inline;
  27840. begin
  27841. pTDefRegMap(@Self)^.clr := $00000200;
  27842. end;
  27843. procedure TSPI4_SPI4CON.setSMP(thebits : TBits_1); inline;
  27844. begin
  27845. if thebits = 0 then
  27846. pTDefRegMap(@Self)^.clr := $00000200
  27847. else
  27848. pTDefRegMap(@Self)^.&set := $00000200;
  27849. end;
  27850. function TSPI4_SPI4CON.getSMP : TBits_1; inline;
  27851. begin
  27852. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27853. end;
  27854. procedure TSPI4_SPI4CON.setMODE16; inline;
  27855. begin
  27856. pTDefRegMap(@Self)^.&set := $00000400;
  27857. end;
  27858. procedure TSPI4_SPI4CON.clearMODE16; inline;
  27859. begin
  27860. pTDefRegMap(@Self)^.clr := $00000400;
  27861. end;
  27862. procedure TSPI4_SPI4CON.setMODE16(thebits : TBits_1); inline;
  27863. begin
  27864. if thebits = 0 then
  27865. pTDefRegMap(@Self)^.clr := $00000400
  27866. else
  27867. pTDefRegMap(@Self)^.&set := $00000400;
  27868. end;
  27869. function TSPI4_SPI4CON.getMODE16 : TBits_1; inline;
  27870. begin
  27871. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27872. end;
  27873. procedure TSPI4_SPI4CON.setMODE32; inline;
  27874. begin
  27875. pTDefRegMap(@Self)^.&set := $00000800;
  27876. end;
  27877. procedure TSPI4_SPI4CON.clearMODE32; inline;
  27878. begin
  27879. pTDefRegMap(@Self)^.clr := $00000800;
  27880. end;
  27881. procedure TSPI4_SPI4CON.setMODE32(thebits : TBits_1); inline;
  27882. begin
  27883. if thebits = 0 then
  27884. pTDefRegMap(@Self)^.clr := $00000800
  27885. else
  27886. pTDefRegMap(@Self)^.&set := $00000800;
  27887. end;
  27888. function TSPI4_SPI4CON.getMODE32 : TBits_1; inline;
  27889. begin
  27890. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27891. end;
  27892. procedure TSPI4_SPI4CON.setDISSDO; inline;
  27893. begin
  27894. pTDefRegMap(@Self)^.&set := $00001000;
  27895. end;
  27896. procedure TSPI4_SPI4CON.clearDISSDO; inline;
  27897. begin
  27898. pTDefRegMap(@Self)^.clr := $00001000;
  27899. end;
  27900. procedure TSPI4_SPI4CON.setDISSDO(thebits : TBits_1); inline;
  27901. begin
  27902. if thebits = 0 then
  27903. pTDefRegMap(@Self)^.clr := $00001000
  27904. else
  27905. pTDefRegMap(@Self)^.&set := $00001000;
  27906. end;
  27907. function TSPI4_SPI4CON.getDISSDO : TBits_1; inline;
  27908. begin
  27909. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27910. end;
  27911. procedure TSPI4_SPI4CON.setSIDL; inline;
  27912. begin
  27913. pTDefRegMap(@Self)^.&set := $00002000;
  27914. end;
  27915. procedure TSPI4_SPI4CON.clearSIDL; inline;
  27916. begin
  27917. pTDefRegMap(@Self)^.clr := $00002000;
  27918. end;
  27919. procedure TSPI4_SPI4CON.setSIDL(thebits : TBits_1); inline;
  27920. begin
  27921. if thebits = 0 then
  27922. pTDefRegMap(@Self)^.clr := $00002000
  27923. else
  27924. pTDefRegMap(@Self)^.&set := $00002000;
  27925. end;
  27926. function TSPI4_SPI4CON.getSIDL : TBits_1; inline;
  27927. begin
  27928. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27929. end;
  27930. procedure TSPI4_SPI4CON.setON; inline;
  27931. begin
  27932. pTDefRegMap(@Self)^.&set := $00008000;
  27933. end;
  27934. procedure TSPI4_SPI4CON.clearON; inline;
  27935. begin
  27936. pTDefRegMap(@Self)^.clr := $00008000;
  27937. end;
  27938. procedure TSPI4_SPI4CON.setON(thebits : TBits_1); inline;
  27939. begin
  27940. if thebits = 0 then
  27941. pTDefRegMap(@Self)^.clr := $00008000
  27942. else
  27943. pTDefRegMap(@Self)^.&set := $00008000;
  27944. end;
  27945. function TSPI4_SPI4CON.getON : TBits_1; inline;
  27946. begin
  27947. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27948. end;
  27949. procedure TSPI4_SPI4CON.setENHBUF; inline;
  27950. begin
  27951. pTDefRegMap(@Self)^.&set := $00010000;
  27952. end;
  27953. procedure TSPI4_SPI4CON.clearENHBUF; inline;
  27954. begin
  27955. pTDefRegMap(@Self)^.clr := $00010000;
  27956. end;
  27957. procedure TSPI4_SPI4CON.setENHBUF(thebits : TBits_1); inline;
  27958. begin
  27959. if thebits = 0 then
  27960. pTDefRegMap(@Self)^.clr := $00010000
  27961. else
  27962. pTDefRegMap(@Self)^.&set := $00010000;
  27963. end;
  27964. function TSPI4_SPI4CON.getENHBUF : TBits_1; inline;
  27965. begin
  27966. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27967. end;
  27968. procedure TSPI4_SPI4CON.setSPIFE; inline;
  27969. begin
  27970. pTDefRegMap(@Self)^.&set := $00020000;
  27971. end;
  27972. procedure TSPI4_SPI4CON.clearSPIFE; inline;
  27973. begin
  27974. pTDefRegMap(@Self)^.clr := $00020000;
  27975. end;
  27976. procedure TSPI4_SPI4CON.setSPIFE(thebits : TBits_1); inline;
  27977. begin
  27978. if thebits = 0 then
  27979. pTDefRegMap(@Self)^.clr := $00020000
  27980. else
  27981. pTDefRegMap(@Self)^.&set := $00020000;
  27982. end;
  27983. function TSPI4_SPI4CON.getSPIFE : TBits_1; inline;
  27984. begin
  27985. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27986. end;
  27987. procedure TSPI4_SPI4CON.setFRMCNT(thebits : TBits_3); inline;
  27988. begin
  27989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  27990. end;
  27991. function TSPI4_SPI4CON.getFRMCNT : TBits_3; inline;
  27992. begin
  27993. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  27994. end;
  27995. procedure TSPI4_SPI4CON.setFRMSYPW; inline;
  27996. begin
  27997. pTDefRegMap(@Self)^.&set := $08000000;
  27998. end;
  27999. procedure TSPI4_SPI4CON.clearFRMSYPW; inline;
  28000. begin
  28001. pTDefRegMap(@Self)^.clr := $08000000;
  28002. end;
  28003. procedure TSPI4_SPI4CON.setFRMSYPW(thebits : TBits_1); inline;
  28004. begin
  28005. if thebits = 0 then
  28006. pTDefRegMap(@Self)^.clr := $08000000
  28007. else
  28008. pTDefRegMap(@Self)^.&set := $08000000;
  28009. end;
  28010. function TSPI4_SPI4CON.getFRMSYPW : TBits_1; inline;
  28011. begin
  28012. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28013. end;
  28014. procedure TSPI4_SPI4CON.setMSSEN; inline;
  28015. begin
  28016. pTDefRegMap(@Self)^.&set := $10000000;
  28017. end;
  28018. procedure TSPI4_SPI4CON.clearMSSEN; inline;
  28019. begin
  28020. pTDefRegMap(@Self)^.clr := $10000000;
  28021. end;
  28022. procedure TSPI4_SPI4CON.setMSSEN(thebits : TBits_1); inline;
  28023. begin
  28024. if thebits = 0 then
  28025. pTDefRegMap(@Self)^.clr := $10000000
  28026. else
  28027. pTDefRegMap(@Self)^.&set := $10000000;
  28028. end;
  28029. function TSPI4_SPI4CON.getMSSEN : TBits_1; inline;
  28030. begin
  28031. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28032. end;
  28033. procedure TSPI4_SPI4CON.setFRMPOL; inline;
  28034. begin
  28035. pTDefRegMap(@Self)^.&set := $20000000;
  28036. end;
  28037. procedure TSPI4_SPI4CON.clearFRMPOL; inline;
  28038. begin
  28039. pTDefRegMap(@Self)^.clr := $20000000;
  28040. end;
  28041. procedure TSPI4_SPI4CON.setFRMPOL(thebits : TBits_1); inline;
  28042. begin
  28043. if thebits = 0 then
  28044. pTDefRegMap(@Self)^.clr := $20000000
  28045. else
  28046. pTDefRegMap(@Self)^.&set := $20000000;
  28047. end;
  28048. function TSPI4_SPI4CON.getFRMPOL : TBits_1; inline;
  28049. begin
  28050. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28051. end;
  28052. procedure TSPI4_SPI4CON.setFRMSYNC; inline;
  28053. begin
  28054. pTDefRegMap(@Self)^.&set := $40000000;
  28055. end;
  28056. procedure TSPI4_SPI4CON.clearFRMSYNC; inline;
  28057. begin
  28058. pTDefRegMap(@Self)^.clr := $40000000;
  28059. end;
  28060. procedure TSPI4_SPI4CON.setFRMSYNC(thebits : TBits_1); inline;
  28061. begin
  28062. if thebits = 0 then
  28063. pTDefRegMap(@Self)^.clr := $40000000
  28064. else
  28065. pTDefRegMap(@Self)^.&set := $40000000;
  28066. end;
  28067. function TSPI4_SPI4CON.getFRMSYNC : TBits_1; inline;
  28068. begin
  28069. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28070. end;
  28071. procedure TSPI4_SPI4CON.setFRMEN; inline;
  28072. begin
  28073. pTDefRegMap(@Self)^.&set := $80000000;
  28074. end;
  28075. procedure TSPI4_SPI4CON.clearFRMEN; inline;
  28076. begin
  28077. pTDefRegMap(@Self)^.clr := $80000000;
  28078. end;
  28079. procedure TSPI4_SPI4CON.setFRMEN(thebits : TBits_1); inline;
  28080. begin
  28081. if thebits = 0 then
  28082. pTDefRegMap(@Self)^.clr := $80000000
  28083. else
  28084. pTDefRegMap(@Self)^.&set := $80000000;
  28085. end;
  28086. function TSPI4_SPI4CON.getFRMEN : TBits_1; inline;
  28087. begin
  28088. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28089. end;
  28090. procedure TSPI4_SPI4CON.setw(thebits : TBits_32); inline;
  28091. begin
  28092. pTDefRegMap(@Self)^.val := thebits;
  28093. end;
  28094. function TSPI4_SPI4CON.getw : TBits_32; inline;
  28095. begin
  28096. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28097. end;
  28098. procedure TSPI4_SPI3ASTAT.setSPIRBF; inline;
  28099. begin
  28100. pTDefRegMap(@Self)^.&set := $00000001;
  28101. end;
  28102. procedure TSPI4_SPI3ASTAT.clearSPIRBF; inline;
  28103. begin
  28104. pTDefRegMap(@Self)^.clr := $00000001;
  28105. end;
  28106. procedure TSPI4_SPI3ASTAT.setSPIRBF(thebits : TBits_1); inline;
  28107. begin
  28108. if thebits = 0 then
  28109. pTDefRegMap(@Self)^.clr := $00000001
  28110. else
  28111. pTDefRegMap(@Self)^.&set := $00000001;
  28112. end;
  28113. function TSPI4_SPI3ASTAT.getSPIRBF : TBits_1; inline;
  28114. begin
  28115. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28116. end;
  28117. procedure TSPI4_SPI3ASTAT.setSPITBF; inline;
  28118. begin
  28119. pTDefRegMap(@Self)^.&set := $00000002;
  28120. end;
  28121. procedure TSPI4_SPI3ASTAT.clearSPITBF; inline;
  28122. begin
  28123. pTDefRegMap(@Self)^.clr := $00000002;
  28124. end;
  28125. procedure TSPI4_SPI3ASTAT.setSPITBF(thebits : TBits_1); inline;
  28126. begin
  28127. if thebits = 0 then
  28128. pTDefRegMap(@Self)^.clr := $00000002
  28129. else
  28130. pTDefRegMap(@Self)^.&set := $00000002;
  28131. end;
  28132. function TSPI4_SPI3ASTAT.getSPITBF : TBits_1; inline;
  28133. begin
  28134. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28135. end;
  28136. procedure TSPI4_SPI3ASTAT.setSPITBE; inline;
  28137. begin
  28138. pTDefRegMap(@Self)^.&set := $00000008;
  28139. end;
  28140. procedure TSPI4_SPI3ASTAT.clearSPITBE; inline;
  28141. begin
  28142. pTDefRegMap(@Self)^.clr := $00000008;
  28143. end;
  28144. procedure TSPI4_SPI3ASTAT.setSPITBE(thebits : TBits_1); inline;
  28145. begin
  28146. if thebits = 0 then
  28147. pTDefRegMap(@Self)^.clr := $00000008
  28148. else
  28149. pTDefRegMap(@Self)^.&set := $00000008;
  28150. end;
  28151. function TSPI4_SPI3ASTAT.getSPITBE : TBits_1; inline;
  28152. begin
  28153. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28154. end;
  28155. procedure TSPI4_SPI3ASTAT.setSPIRBE; inline;
  28156. begin
  28157. pTDefRegMap(@Self)^.&set := $00000020;
  28158. end;
  28159. procedure TSPI4_SPI3ASTAT.clearSPIRBE; inline;
  28160. begin
  28161. pTDefRegMap(@Self)^.clr := $00000020;
  28162. end;
  28163. procedure TSPI4_SPI3ASTAT.setSPIRBE(thebits : TBits_1); inline;
  28164. begin
  28165. if thebits = 0 then
  28166. pTDefRegMap(@Self)^.clr := $00000020
  28167. else
  28168. pTDefRegMap(@Self)^.&set := $00000020;
  28169. end;
  28170. function TSPI4_SPI3ASTAT.getSPIRBE : TBits_1; inline;
  28171. begin
  28172. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28173. end;
  28174. procedure TSPI4_SPI3ASTAT.setSPIROV; inline;
  28175. begin
  28176. pTDefRegMap(@Self)^.&set := $00000040;
  28177. end;
  28178. procedure TSPI4_SPI3ASTAT.clearSPIROV; inline;
  28179. begin
  28180. pTDefRegMap(@Self)^.clr := $00000040;
  28181. end;
  28182. procedure TSPI4_SPI3ASTAT.setSPIROV(thebits : TBits_1); inline;
  28183. begin
  28184. if thebits = 0 then
  28185. pTDefRegMap(@Self)^.clr := $00000040
  28186. else
  28187. pTDefRegMap(@Self)^.&set := $00000040;
  28188. end;
  28189. function TSPI4_SPI3ASTAT.getSPIROV : TBits_1; inline;
  28190. begin
  28191. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28192. end;
  28193. procedure TSPI4_SPI3ASTAT.setSRMT; inline;
  28194. begin
  28195. pTDefRegMap(@Self)^.&set := $00000080;
  28196. end;
  28197. procedure TSPI4_SPI3ASTAT.clearSRMT; inline;
  28198. begin
  28199. pTDefRegMap(@Self)^.clr := $00000080;
  28200. end;
  28201. procedure TSPI4_SPI3ASTAT.setSRMT(thebits : TBits_1); inline;
  28202. begin
  28203. if thebits = 0 then
  28204. pTDefRegMap(@Self)^.clr := $00000080
  28205. else
  28206. pTDefRegMap(@Self)^.&set := $00000080;
  28207. end;
  28208. function TSPI4_SPI3ASTAT.getSRMT : TBits_1; inline;
  28209. begin
  28210. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28211. end;
  28212. procedure TSPI4_SPI3ASTAT.setSPITUR; inline;
  28213. begin
  28214. pTDefRegMap(@Self)^.&set := $00000100;
  28215. end;
  28216. procedure TSPI4_SPI3ASTAT.clearSPITUR; inline;
  28217. begin
  28218. pTDefRegMap(@Self)^.clr := $00000100;
  28219. end;
  28220. procedure TSPI4_SPI3ASTAT.setSPITUR(thebits : TBits_1); inline;
  28221. begin
  28222. if thebits = 0 then
  28223. pTDefRegMap(@Self)^.clr := $00000100
  28224. else
  28225. pTDefRegMap(@Self)^.&set := $00000100;
  28226. end;
  28227. function TSPI4_SPI3ASTAT.getSPITUR : TBits_1; inline;
  28228. begin
  28229. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28230. end;
  28231. procedure TSPI4_SPI3ASTAT.setSPIBUSY; inline;
  28232. begin
  28233. pTDefRegMap(@Self)^.&set := $00000800;
  28234. end;
  28235. procedure TSPI4_SPI3ASTAT.clearSPIBUSY; inline;
  28236. begin
  28237. pTDefRegMap(@Self)^.clr := $00000800;
  28238. end;
  28239. procedure TSPI4_SPI3ASTAT.setSPIBUSY(thebits : TBits_1); inline;
  28240. begin
  28241. if thebits = 0 then
  28242. pTDefRegMap(@Self)^.clr := $00000800
  28243. else
  28244. pTDefRegMap(@Self)^.&set := $00000800;
  28245. end;
  28246. function TSPI4_SPI3ASTAT.getSPIBUSY : TBits_1; inline;
  28247. begin
  28248. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28249. end;
  28250. procedure TSPI4_SPI3ASTAT.setTXBUFELM(thebits : TBits_5); inline;
  28251. begin
  28252. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28253. end;
  28254. function TSPI4_SPI3ASTAT.getTXBUFELM : TBits_5; inline;
  28255. begin
  28256. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28257. end;
  28258. procedure TSPI4_SPI3ASTAT.setRXBUFELM(thebits : TBits_5); inline;
  28259. begin
  28260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28261. end;
  28262. function TSPI4_SPI3ASTAT.getRXBUFELM : TBits_5; inline;
  28263. begin
  28264. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28265. end;
  28266. procedure TSPI4_SPI3ASTAT.setw(thebits : TBits_32); inline;
  28267. begin
  28268. pTDefRegMap(@Self)^.val := thebits;
  28269. end;
  28270. function TSPI4_SPI3ASTAT.getw : TBits_32; inline;
  28271. begin
  28272. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28273. end;
  28274. procedure TSPI4_SPI4STAT.setSPIRBF; inline;
  28275. begin
  28276. pTDefRegMap(@Self)^.&set := $00000001;
  28277. end;
  28278. procedure TSPI4_SPI4STAT.clearSPIRBF; inline;
  28279. begin
  28280. pTDefRegMap(@Self)^.clr := $00000001;
  28281. end;
  28282. procedure TSPI4_SPI4STAT.setSPIRBF(thebits : TBits_1); inline;
  28283. begin
  28284. if thebits = 0 then
  28285. pTDefRegMap(@Self)^.clr := $00000001
  28286. else
  28287. pTDefRegMap(@Self)^.&set := $00000001;
  28288. end;
  28289. function TSPI4_SPI4STAT.getSPIRBF : TBits_1; inline;
  28290. begin
  28291. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28292. end;
  28293. procedure TSPI4_SPI4STAT.setSPITBF; inline;
  28294. begin
  28295. pTDefRegMap(@Self)^.&set := $00000002;
  28296. end;
  28297. procedure TSPI4_SPI4STAT.clearSPITBF; inline;
  28298. begin
  28299. pTDefRegMap(@Self)^.clr := $00000002;
  28300. end;
  28301. procedure TSPI4_SPI4STAT.setSPITBF(thebits : TBits_1); inline;
  28302. begin
  28303. if thebits = 0 then
  28304. pTDefRegMap(@Self)^.clr := $00000002
  28305. else
  28306. pTDefRegMap(@Self)^.&set := $00000002;
  28307. end;
  28308. function TSPI4_SPI4STAT.getSPITBF : TBits_1; inline;
  28309. begin
  28310. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28311. end;
  28312. procedure TSPI4_SPI4STAT.setSPITBE; inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.&set := $00000008;
  28315. end;
  28316. procedure TSPI4_SPI4STAT.clearSPITBE; inline;
  28317. begin
  28318. pTDefRegMap(@Self)^.clr := $00000008;
  28319. end;
  28320. procedure TSPI4_SPI4STAT.setSPITBE(thebits : TBits_1); inline;
  28321. begin
  28322. if thebits = 0 then
  28323. pTDefRegMap(@Self)^.clr := $00000008
  28324. else
  28325. pTDefRegMap(@Self)^.&set := $00000008;
  28326. end;
  28327. function TSPI4_SPI4STAT.getSPITBE : TBits_1; inline;
  28328. begin
  28329. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28330. end;
  28331. procedure TSPI4_SPI4STAT.setSPIRBE; inline;
  28332. begin
  28333. pTDefRegMap(@Self)^.&set := $00000020;
  28334. end;
  28335. procedure TSPI4_SPI4STAT.clearSPIRBE; inline;
  28336. begin
  28337. pTDefRegMap(@Self)^.clr := $00000020;
  28338. end;
  28339. procedure TSPI4_SPI4STAT.setSPIRBE(thebits : TBits_1); inline;
  28340. begin
  28341. if thebits = 0 then
  28342. pTDefRegMap(@Self)^.clr := $00000020
  28343. else
  28344. pTDefRegMap(@Self)^.&set := $00000020;
  28345. end;
  28346. function TSPI4_SPI4STAT.getSPIRBE : TBits_1; inline;
  28347. begin
  28348. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28349. end;
  28350. procedure TSPI4_SPI4STAT.setSPIROV; inline;
  28351. begin
  28352. pTDefRegMap(@Self)^.&set := $00000040;
  28353. end;
  28354. procedure TSPI4_SPI4STAT.clearSPIROV; inline;
  28355. begin
  28356. pTDefRegMap(@Self)^.clr := $00000040;
  28357. end;
  28358. procedure TSPI4_SPI4STAT.setSPIROV(thebits : TBits_1); inline;
  28359. begin
  28360. if thebits = 0 then
  28361. pTDefRegMap(@Self)^.clr := $00000040
  28362. else
  28363. pTDefRegMap(@Self)^.&set := $00000040;
  28364. end;
  28365. function TSPI4_SPI4STAT.getSPIROV : TBits_1; inline;
  28366. begin
  28367. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28368. end;
  28369. procedure TSPI4_SPI4STAT.setSRMT; inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.&set := $00000080;
  28372. end;
  28373. procedure TSPI4_SPI4STAT.clearSRMT; inline;
  28374. begin
  28375. pTDefRegMap(@Self)^.clr := $00000080;
  28376. end;
  28377. procedure TSPI4_SPI4STAT.setSRMT(thebits : TBits_1); inline;
  28378. begin
  28379. if thebits = 0 then
  28380. pTDefRegMap(@Self)^.clr := $00000080
  28381. else
  28382. pTDefRegMap(@Self)^.&set := $00000080;
  28383. end;
  28384. function TSPI4_SPI4STAT.getSRMT : TBits_1; inline;
  28385. begin
  28386. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28387. end;
  28388. procedure TSPI4_SPI4STAT.setSPITUR; inline;
  28389. begin
  28390. pTDefRegMap(@Self)^.&set := $00000100;
  28391. end;
  28392. procedure TSPI4_SPI4STAT.clearSPITUR; inline;
  28393. begin
  28394. pTDefRegMap(@Self)^.clr := $00000100;
  28395. end;
  28396. procedure TSPI4_SPI4STAT.setSPITUR(thebits : TBits_1); inline;
  28397. begin
  28398. if thebits = 0 then
  28399. pTDefRegMap(@Self)^.clr := $00000100
  28400. else
  28401. pTDefRegMap(@Self)^.&set := $00000100;
  28402. end;
  28403. function TSPI4_SPI4STAT.getSPITUR : TBits_1; inline;
  28404. begin
  28405. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28406. end;
  28407. procedure TSPI4_SPI4STAT.setSPIBUSY; inline;
  28408. begin
  28409. pTDefRegMap(@Self)^.&set := $00000800;
  28410. end;
  28411. procedure TSPI4_SPI4STAT.clearSPIBUSY; inline;
  28412. begin
  28413. pTDefRegMap(@Self)^.clr := $00000800;
  28414. end;
  28415. procedure TSPI4_SPI4STAT.setSPIBUSY(thebits : TBits_1); inline;
  28416. begin
  28417. if thebits = 0 then
  28418. pTDefRegMap(@Self)^.clr := $00000800
  28419. else
  28420. pTDefRegMap(@Self)^.&set := $00000800;
  28421. end;
  28422. function TSPI4_SPI4STAT.getSPIBUSY : TBits_1; inline;
  28423. begin
  28424. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28425. end;
  28426. procedure TSPI4_SPI4STAT.setTXBUFELM(thebits : TBits_5); inline;
  28427. begin
  28428. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28429. end;
  28430. function TSPI4_SPI4STAT.getTXBUFELM : TBits_5; inline;
  28431. begin
  28432. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28433. end;
  28434. procedure TSPI4_SPI4STAT.setRXBUFELM(thebits : TBits_5); inline;
  28435. begin
  28436. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28437. end;
  28438. function TSPI4_SPI4STAT.getRXBUFELM : TBits_5; inline;
  28439. begin
  28440. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28441. end;
  28442. procedure TSPI4_SPI4STAT.setw(thebits : TBits_32); inline;
  28443. begin
  28444. pTDefRegMap(@Self)^.val := thebits;
  28445. end;
  28446. function TSPI4_SPI4STAT.getw : TBits_32; inline;
  28447. begin
  28448. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28449. end;
  28450. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  28451. begin
  28452. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28453. end;
  28454. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  28455. begin
  28456. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28457. end;
  28458. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  28459. begin
  28460. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  28461. end;
  28462. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  28463. begin
  28464. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  28465. end;
  28466. procedure TSPI1_SPI1CON.setMSTEN; inline;
  28467. begin
  28468. pTDefRegMap(@Self)^.&set := $00000020;
  28469. end;
  28470. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  28471. begin
  28472. pTDefRegMap(@Self)^.clr := $00000020;
  28473. end;
  28474. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  28475. begin
  28476. if thebits = 0 then
  28477. pTDefRegMap(@Self)^.clr := $00000020
  28478. else
  28479. pTDefRegMap(@Self)^.&set := $00000020;
  28480. end;
  28481. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  28482. begin
  28483. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28484. end;
  28485. procedure TSPI1_SPI1CON.setCKP; inline;
  28486. begin
  28487. pTDefRegMap(@Self)^.&set := $00000040;
  28488. end;
  28489. procedure TSPI1_SPI1CON.clearCKP; inline;
  28490. begin
  28491. pTDefRegMap(@Self)^.clr := $00000040;
  28492. end;
  28493. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  28494. begin
  28495. if thebits = 0 then
  28496. pTDefRegMap(@Self)^.clr := $00000040
  28497. else
  28498. pTDefRegMap(@Self)^.&set := $00000040;
  28499. end;
  28500. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  28501. begin
  28502. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28503. end;
  28504. procedure TSPI1_SPI1CON.setSSEN; inline;
  28505. begin
  28506. pTDefRegMap(@Self)^.&set := $00000080;
  28507. end;
  28508. procedure TSPI1_SPI1CON.clearSSEN; inline;
  28509. begin
  28510. pTDefRegMap(@Self)^.clr := $00000080;
  28511. end;
  28512. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  28513. begin
  28514. if thebits = 0 then
  28515. pTDefRegMap(@Self)^.clr := $00000080
  28516. else
  28517. pTDefRegMap(@Self)^.&set := $00000080;
  28518. end;
  28519. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  28520. begin
  28521. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28522. end;
  28523. procedure TSPI1_SPI1CON.setCKE; inline;
  28524. begin
  28525. pTDefRegMap(@Self)^.&set := $00000100;
  28526. end;
  28527. procedure TSPI1_SPI1CON.clearCKE; inline;
  28528. begin
  28529. pTDefRegMap(@Self)^.clr := $00000100;
  28530. end;
  28531. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  28532. begin
  28533. if thebits = 0 then
  28534. pTDefRegMap(@Self)^.clr := $00000100
  28535. else
  28536. pTDefRegMap(@Self)^.&set := $00000100;
  28537. end;
  28538. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  28539. begin
  28540. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28541. end;
  28542. procedure TSPI1_SPI1CON.setSMP; inline;
  28543. begin
  28544. pTDefRegMap(@Self)^.&set := $00000200;
  28545. end;
  28546. procedure TSPI1_SPI1CON.clearSMP; inline;
  28547. begin
  28548. pTDefRegMap(@Self)^.clr := $00000200;
  28549. end;
  28550. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  28551. begin
  28552. if thebits = 0 then
  28553. pTDefRegMap(@Self)^.clr := $00000200
  28554. else
  28555. pTDefRegMap(@Self)^.&set := $00000200;
  28556. end;
  28557. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  28558. begin
  28559. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28560. end;
  28561. procedure TSPI1_SPI1CON.setMODE16; inline;
  28562. begin
  28563. pTDefRegMap(@Self)^.&set := $00000400;
  28564. end;
  28565. procedure TSPI1_SPI1CON.clearMODE16; inline;
  28566. begin
  28567. pTDefRegMap(@Self)^.clr := $00000400;
  28568. end;
  28569. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  28570. begin
  28571. if thebits = 0 then
  28572. pTDefRegMap(@Self)^.clr := $00000400
  28573. else
  28574. pTDefRegMap(@Self)^.&set := $00000400;
  28575. end;
  28576. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  28577. begin
  28578. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28579. end;
  28580. procedure TSPI1_SPI1CON.setMODE32; inline;
  28581. begin
  28582. pTDefRegMap(@Self)^.&set := $00000800;
  28583. end;
  28584. procedure TSPI1_SPI1CON.clearMODE32; inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.clr := $00000800;
  28587. end;
  28588. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  28589. begin
  28590. if thebits = 0 then
  28591. pTDefRegMap(@Self)^.clr := $00000800
  28592. else
  28593. pTDefRegMap(@Self)^.&set := $00000800;
  28594. end;
  28595. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  28596. begin
  28597. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28598. end;
  28599. procedure TSPI1_SPI1CON.setDISSDO; inline;
  28600. begin
  28601. pTDefRegMap(@Self)^.&set := $00001000;
  28602. end;
  28603. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  28604. begin
  28605. pTDefRegMap(@Self)^.clr := $00001000;
  28606. end;
  28607. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  28608. begin
  28609. if thebits = 0 then
  28610. pTDefRegMap(@Self)^.clr := $00001000
  28611. else
  28612. pTDefRegMap(@Self)^.&set := $00001000;
  28613. end;
  28614. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  28615. begin
  28616. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28617. end;
  28618. procedure TSPI1_SPI1CON.setSIDL; inline;
  28619. begin
  28620. pTDefRegMap(@Self)^.&set := $00002000;
  28621. end;
  28622. procedure TSPI1_SPI1CON.clearSIDL; inline;
  28623. begin
  28624. pTDefRegMap(@Self)^.clr := $00002000;
  28625. end;
  28626. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  28627. begin
  28628. if thebits = 0 then
  28629. pTDefRegMap(@Self)^.clr := $00002000
  28630. else
  28631. pTDefRegMap(@Self)^.&set := $00002000;
  28632. end;
  28633. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  28634. begin
  28635. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28636. end;
  28637. procedure TSPI1_SPI1CON.setON; inline;
  28638. begin
  28639. pTDefRegMap(@Self)^.&set := $00008000;
  28640. end;
  28641. procedure TSPI1_SPI1CON.clearON; inline;
  28642. begin
  28643. pTDefRegMap(@Self)^.clr := $00008000;
  28644. end;
  28645. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  28646. begin
  28647. if thebits = 0 then
  28648. pTDefRegMap(@Self)^.clr := $00008000
  28649. else
  28650. pTDefRegMap(@Self)^.&set := $00008000;
  28651. end;
  28652. function TSPI1_SPI1CON.getON : TBits_1; inline;
  28653. begin
  28654. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28655. end;
  28656. procedure TSPI1_SPI1CON.setENHBUF; inline;
  28657. begin
  28658. pTDefRegMap(@Self)^.&set := $00010000;
  28659. end;
  28660. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  28661. begin
  28662. pTDefRegMap(@Self)^.clr := $00010000;
  28663. end;
  28664. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  28665. begin
  28666. if thebits = 0 then
  28667. pTDefRegMap(@Self)^.clr := $00010000
  28668. else
  28669. pTDefRegMap(@Self)^.&set := $00010000;
  28670. end;
  28671. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  28672. begin
  28673. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28674. end;
  28675. procedure TSPI1_SPI1CON.setSPIFE; inline;
  28676. begin
  28677. pTDefRegMap(@Self)^.&set := $00020000;
  28678. end;
  28679. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  28680. begin
  28681. pTDefRegMap(@Self)^.clr := $00020000;
  28682. end;
  28683. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  28684. begin
  28685. if thebits = 0 then
  28686. pTDefRegMap(@Self)^.clr := $00020000
  28687. else
  28688. pTDefRegMap(@Self)^.&set := $00020000;
  28689. end;
  28690. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  28691. begin
  28692. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28693. end;
  28694. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  28695. begin
  28696. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  28697. end;
  28698. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  28699. begin
  28700. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  28701. end;
  28702. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  28703. begin
  28704. pTDefRegMap(@Self)^.&set := $08000000;
  28705. end;
  28706. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  28707. begin
  28708. pTDefRegMap(@Self)^.clr := $08000000;
  28709. end;
  28710. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  28711. begin
  28712. if thebits = 0 then
  28713. pTDefRegMap(@Self)^.clr := $08000000
  28714. else
  28715. pTDefRegMap(@Self)^.&set := $08000000;
  28716. end;
  28717. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  28718. begin
  28719. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28720. end;
  28721. procedure TSPI1_SPI1CON.setMSSEN; inline;
  28722. begin
  28723. pTDefRegMap(@Self)^.&set := $10000000;
  28724. end;
  28725. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  28726. begin
  28727. pTDefRegMap(@Self)^.clr := $10000000;
  28728. end;
  28729. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  28730. begin
  28731. if thebits = 0 then
  28732. pTDefRegMap(@Self)^.clr := $10000000
  28733. else
  28734. pTDefRegMap(@Self)^.&set := $10000000;
  28735. end;
  28736. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  28737. begin
  28738. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28739. end;
  28740. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  28741. begin
  28742. pTDefRegMap(@Self)^.&set := $20000000;
  28743. end;
  28744. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.clr := $20000000;
  28747. end;
  28748. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  28749. begin
  28750. if thebits = 0 then
  28751. pTDefRegMap(@Self)^.clr := $20000000
  28752. else
  28753. pTDefRegMap(@Self)^.&set := $20000000;
  28754. end;
  28755. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  28756. begin
  28757. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28758. end;
  28759. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  28760. begin
  28761. pTDefRegMap(@Self)^.&set := $40000000;
  28762. end;
  28763. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  28764. begin
  28765. pTDefRegMap(@Self)^.clr := $40000000;
  28766. end;
  28767. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  28768. begin
  28769. if thebits = 0 then
  28770. pTDefRegMap(@Self)^.clr := $40000000
  28771. else
  28772. pTDefRegMap(@Self)^.&set := $40000000;
  28773. end;
  28774. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  28775. begin
  28776. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28777. end;
  28778. procedure TSPI1_SPI1CON.setFRMEN; inline;
  28779. begin
  28780. pTDefRegMap(@Self)^.&set := $80000000;
  28781. end;
  28782. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  28783. begin
  28784. pTDefRegMap(@Self)^.clr := $80000000;
  28785. end;
  28786. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  28787. begin
  28788. if thebits = 0 then
  28789. pTDefRegMap(@Self)^.clr := $80000000
  28790. else
  28791. pTDefRegMap(@Self)^.&set := $80000000;
  28792. end;
  28793. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  28794. begin
  28795. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28796. end;
  28797. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  28798. begin
  28799. pTDefRegMap(@Self)^.val := thebits;
  28800. end;
  28801. function TSPI1_SPI1CON.getw : TBits_32; inline;
  28802. begin
  28803. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28804. end;
  28805. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  28806. begin
  28807. pTDefRegMap(@Self)^.&set := $00000001;
  28808. end;
  28809. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  28810. begin
  28811. pTDefRegMap(@Self)^.clr := $00000001;
  28812. end;
  28813. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  28814. begin
  28815. if thebits = 0 then
  28816. pTDefRegMap(@Self)^.clr := $00000001
  28817. else
  28818. pTDefRegMap(@Self)^.&set := $00000001;
  28819. end;
  28820. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  28821. begin
  28822. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28823. end;
  28824. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.&set := $00000002;
  28827. end;
  28828. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  28829. begin
  28830. pTDefRegMap(@Self)^.clr := $00000002;
  28831. end;
  28832. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  28833. begin
  28834. if thebits = 0 then
  28835. pTDefRegMap(@Self)^.clr := $00000002
  28836. else
  28837. pTDefRegMap(@Self)^.&set := $00000002;
  28838. end;
  28839. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  28840. begin
  28841. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28842. end;
  28843. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  28844. begin
  28845. pTDefRegMap(@Self)^.&set := $00000008;
  28846. end;
  28847. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  28848. begin
  28849. pTDefRegMap(@Self)^.clr := $00000008;
  28850. end;
  28851. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  28852. begin
  28853. if thebits = 0 then
  28854. pTDefRegMap(@Self)^.clr := $00000008
  28855. else
  28856. pTDefRegMap(@Self)^.&set := $00000008;
  28857. end;
  28858. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  28859. begin
  28860. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  28861. end;
  28862. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  28863. begin
  28864. pTDefRegMap(@Self)^.&set := $00000020;
  28865. end;
  28866. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  28867. begin
  28868. pTDefRegMap(@Self)^.clr := $00000020;
  28869. end;
  28870. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  28871. begin
  28872. if thebits = 0 then
  28873. pTDefRegMap(@Self)^.clr := $00000020
  28874. else
  28875. pTDefRegMap(@Self)^.&set := $00000020;
  28876. end;
  28877. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  28878. begin
  28879. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28880. end;
  28881. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.&set := $00000040;
  28884. end;
  28885. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  28886. begin
  28887. pTDefRegMap(@Self)^.clr := $00000040;
  28888. end;
  28889. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  28890. begin
  28891. if thebits = 0 then
  28892. pTDefRegMap(@Self)^.clr := $00000040
  28893. else
  28894. pTDefRegMap(@Self)^.&set := $00000040;
  28895. end;
  28896. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  28897. begin
  28898. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28899. end;
  28900. procedure TSPI1_SPI1STAT.setSRMT; inline;
  28901. begin
  28902. pTDefRegMap(@Self)^.&set := $00000080;
  28903. end;
  28904. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  28905. begin
  28906. pTDefRegMap(@Self)^.clr := $00000080;
  28907. end;
  28908. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  28909. begin
  28910. if thebits = 0 then
  28911. pTDefRegMap(@Self)^.clr := $00000080
  28912. else
  28913. pTDefRegMap(@Self)^.&set := $00000080;
  28914. end;
  28915. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  28916. begin
  28917. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28918. end;
  28919. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  28920. begin
  28921. pTDefRegMap(@Self)^.&set := $00000100;
  28922. end;
  28923. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  28924. begin
  28925. pTDefRegMap(@Self)^.clr := $00000100;
  28926. end;
  28927. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  28928. begin
  28929. if thebits = 0 then
  28930. pTDefRegMap(@Self)^.clr := $00000100
  28931. else
  28932. pTDefRegMap(@Self)^.&set := $00000100;
  28933. end;
  28934. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  28935. begin
  28936. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28937. end;
  28938. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  28939. begin
  28940. pTDefRegMap(@Self)^.&set := $00000800;
  28941. end;
  28942. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  28943. begin
  28944. pTDefRegMap(@Self)^.clr := $00000800;
  28945. end;
  28946. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  28947. begin
  28948. if thebits = 0 then
  28949. pTDefRegMap(@Self)^.clr := $00000800
  28950. else
  28951. pTDefRegMap(@Self)^.&set := $00000800;
  28952. end;
  28953. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  28954. begin
  28955. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28956. end;
  28957. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  28958. begin
  28959. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  28960. end;
  28961. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  28962. begin
  28963. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  28964. end;
  28965. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  28966. begin
  28967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  28968. end;
  28969. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  28970. begin
  28971. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  28972. end;
  28973. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  28974. begin
  28975. pTDefRegMap(@Self)^.val := thebits;
  28976. end;
  28977. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  28978. begin
  28979. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28980. end;
  28981. procedure TUART1A_U1AMODE.setSTSEL; inline;
  28982. begin
  28983. pTDefRegMap(@Self)^.&set := $00000001;
  28984. end;
  28985. procedure TUART1A_U1AMODE.clearSTSEL; inline;
  28986. begin
  28987. pTDefRegMap(@Self)^.clr := $00000001;
  28988. end;
  28989. procedure TUART1A_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  28990. begin
  28991. if thebits = 0 then
  28992. pTDefRegMap(@Self)^.clr := $00000001
  28993. else
  28994. pTDefRegMap(@Self)^.&set := $00000001;
  28995. end;
  28996. function TUART1A_U1AMODE.getSTSEL : TBits_1; inline;
  28997. begin
  28998. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28999. end;
  29000. procedure TUART1A_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  29001. begin
  29002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29003. end;
  29004. function TUART1A_U1AMODE.getPDSEL : TBits_2; inline;
  29005. begin
  29006. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29007. end;
  29008. procedure TUART1A_U1AMODE.setBRGH; inline;
  29009. begin
  29010. pTDefRegMap(@Self)^.&set := $00000008;
  29011. end;
  29012. procedure TUART1A_U1AMODE.clearBRGH; inline;
  29013. begin
  29014. pTDefRegMap(@Self)^.clr := $00000008;
  29015. end;
  29016. procedure TUART1A_U1AMODE.setBRGH(thebits : TBits_1); inline;
  29017. begin
  29018. if thebits = 0 then
  29019. pTDefRegMap(@Self)^.clr := $00000008
  29020. else
  29021. pTDefRegMap(@Self)^.&set := $00000008;
  29022. end;
  29023. function TUART1A_U1AMODE.getBRGH : TBits_1; inline;
  29024. begin
  29025. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29026. end;
  29027. procedure TUART1A_U1AMODE.setRXINV; inline;
  29028. begin
  29029. pTDefRegMap(@Self)^.&set := $00000010;
  29030. end;
  29031. procedure TUART1A_U1AMODE.clearRXINV; inline;
  29032. begin
  29033. pTDefRegMap(@Self)^.clr := $00000010;
  29034. end;
  29035. procedure TUART1A_U1AMODE.setRXINV(thebits : TBits_1); inline;
  29036. begin
  29037. if thebits = 0 then
  29038. pTDefRegMap(@Self)^.clr := $00000010
  29039. else
  29040. pTDefRegMap(@Self)^.&set := $00000010;
  29041. end;
  29042. function TUART1A_U1AMODE.getRXINV : TBits_1; inline;
  29043. begin
  29044. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29045. end;
  29046. procedure TUART1A_U1AMODE.setABAUD; inline;
  29047. begin
  29048. pTDefRegMap(@Self)^.&set := $00000020;
  29049. end;
  29050. procedure TUART1A_U1AMODE.clearABAUD; inline;
  29051. begin
  29052. pTDefRegMap(@Self)^.clr := $00000020;
  29053. end;
  29054. procedure TUART1A_U1AMODE.setABAUD(thebits : TBits_1); inline;
  29055. begin
  29056. if thebits = 0 then
  29057. pTDefRegMap(@Self)^.clr := $00000020
  29058. else
  29059. pTDefRegMap(@Self)^.&set := $00000020;
  29060. end;
  29061. function TUART1A_U1AMODE.getABAUD : TBits_1; inline;
  29062. begin
  29063. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29064. end;
  29065. procedure TUART1A_U1AMODE.setLPBACK; inline;
  29066. begin
  29067. pTDefRegMap(@Self)^.&set := $00000040;
  29068. end;
  29069. procedure TUART1A_U1AMODE.clearLPBACK; inline;
  29070. begin
  29071. pTDefRegMap(@Self)^.clr := $00000040;
  29072. end;
  29073. procedure TUART1A_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  29074. begin
  29075. if thebits = 0 then
  29076. pTDefRegMap(@Self)^.clr := $00000040
  29077. else
  29078. pTDefRegMap(@Self)^.&set := $00000040;
  29079. end;
  29080. function TUART1A_U1AMODE.getLPBACK : TBits_1; inline;
  29081. begin
  29082. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29083. end;
  29084. procedure TUART1A_U1AMODE.setWAKE; inline;
  29085. begin
  29086. pTDefRegMap(@Self)^.&set := $00000080;
  29087. end;
  29088. procedure TUART1A_U1AMODE.clearWAKE; inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.clr := $00000080;
  29091. end;
  29092. procedure TUART1A_U1AMODE.setWAKE(thebits : TBits_1); inline;
  29093. begin
  29094. if thebits = 0 then
  29095. pTDefRegMap(@Self)^.clr := $00000080
  29096. else
  29097. pTDefRegMap(@Self)^.&set := $00000080;
  29098. end;
  29099. function TUART1A_U1AMODE.getWAKE : TBits_1; inline;
  29100. begin
  29101. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29102. end;
  29103. procedure TUART1A_U1AMODE.setUEN(thebits : TBits_2); inline;
  29104. begin
  29105. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29106. end;
  29107. function TUART1A_U1AMODE.getUEN : TBits_2; inline;
  29108. begin
  29109. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29110. end;
  29111. procedure TUART1A_U1AMODE.setRTSMD; inline;
  29112. begin
  29113. pTDefRegMap(@Self)^.&set := $00000800;
  29114. end;
  29115. procedure TUART1A_U1AMODE.clearRTSMD; inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.clr := $00000800;
  29118. end;
  29119. procedure TUART1A_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  29120. begin
  29121. if thebits = 0 then
  29122. pTDefRegMap(@Self)^.clr := $00000800
  29123. else
  29124. pTDefRegMap(@Self)^.&set := $00000800;
  29125. end;
  29126. function TUART1A_U1AMODE.getRTSMD : TBits_1; inline;
  29127. begin
  29128. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29129. end;
  29130. procedure TUART1A_U1AMODE.setIREN; inline;
  29131. begin
  29132. pTDefRegMap(@Self)^.&set := $00001000;
  29133. end;
  29134. procedure TUART1A_U1AMODE.clearIREN; inline;
  29135. begin
  29136. pTDefRegMap(@Self)^.clr := $00001000;
  29137. end;
  29138. procedure TUART1A_U1AMODE.setIREN(thebits : TBits_1); inline;
  29139. begin
  29140. if thebits = 0 then
  29141. pTDefRegMap(@Self)^.clr := $00001000
  29142. else
  29143. pTDefRegMap(@Self)^.&set := $00001000;
  29144. end;
  29145. function TUART1A_U1AMODE.getIREN : TBits_1; inline;
  29146. begin
  29147. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29148. end;
  29149. procedure TUART1A_U1AMODE.setSIDL; inline;
  29150. begin
  29151. pTDefRegMap(@Self)^.&set := $00002000;
  29152. end;
  29153. procedure TUART1A_U1AMODE.clearSIDL; inline;
  29154. begin
  29155. pTDefRegMap(@Self)^.clr := $00002000;
  29156. end;
  29157. procedure TUART1A_U1AMODE.setSIDL(thebits : TBits_1); inline;
  29158. begin
  29159. if thebits = 0 then
  29160. pTDefRegMap(@Self)^.clr := $00002000
  29161. else
  29162. pTDefRegMap(@Self)^.&set := $00002000;
  29163. end;
  29164. function TUART1A_U1AMODE.getSIDL : TBits_1; inline;
  29165. begin
  29166. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29167. end;
  29168. procedure TUART1A_U1AMODE.setON; inline;
  29169. begin
  29170. pTDefRegMap(@Self)^.&set := $00008000;
  29171. end;
  29172. procedure TUART1A_U1AMODE.clearON; inline;
  29173. begin
  29174. pTDefRegMap(@Self)^.clr := $00008000;
  29175. end;
  29176. procedure TUART1A_U1AMODE.setON(thebits : TBits_1); inline;
  29177. begin
  29178. if thebits = 0 then
  29179. pTDefRegMap(@Self)^.clr := $00008000
  29180. else
  29181. pTDefRegMap(@Self)^.&set := $00008000;
  29182. end;
  29183. function TUART1A_U1AMODE.getON : TBits_1; inline;
  29184. begin
  29185. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29186. end;
  29187. procedure TUART1A_U1AMODE.setPDSEL0; inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.&set := $00000002;
  29190. end;
  29191. procedure TUART1A_U1AMODE.clearPDSEL0; inline;
  29192. begin
  29193. pTDefRegMap(@Self)^.clr := $00000002;
  29194. end;
  29195. procedure TUART1A_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  29196. begin
  29197. if thebits = 0 then
  29198. pTDefRegMap(@Self)^.clr := $00000002
  29199. else
  29200. pTDefRegMap(@Self)^.&set := $00000002;
  29201. end;
  29202. function TUART1A_U1AMODE.getPDSEL0 : TBits_1; inline;
  29203. begin
  29204. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29205. end;
  29206. procedure TUART1A_U1AMODE.setPDSEL1; inline;
  29207. begin
  29208. pTDefRegMap(@Self)^.&set := $00000004;
  29209. end;
  29210. procedure TUART1A_U1AMODE.clearPDSEL1; inline;
  29211. begin
  29212. pTDefRegMap(@Self)^.clr := $00000004;
  29213. end;
  29214. procedure TUART1A_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  29215. begin
  29216. if thebits = 0 then
  29217. pTDefRegMap(@Self)^.clr := $00000004
  29218. else
  29219. pTDefRegMap(@Self)^.&set := $00000004;
  29220. end;
  29221. function TUART1A_U1AMODE.getPDSEL1 : TBits_1; inline;
  29222. begin
  29223. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29224. end;
  29225. procedure TUART1A_U1AMODE.setUEN0; inline;
  29226. begin
  29227. pTDefRegMap(@Self)^.&set := $00000100;
  29228. end;
  29229. procedure TUART1A_U1AMODE.clearUEN0; inline;
  29230. begin
  29231. pTDefRegMap(@Self)^.clr := $00000100;
  29232. end;
  29233. procedure TUART1A_U1AMODE.setUEN0(thebits : TBits_1); inline;
  29234. begin
  29235. if thebits = 0 then
  29236. pTDefRegMap(@Self)^.clr := $00000100
  29237. else
  29238. pTDefRegMap(@Self)^.&set := $00000100;
  29239. end;
  29240. function TUART1A_U1AMODE.getUEN0 : TBits_1; inline;
  29241. begin
  29242. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29243. end;
  29244. procedure TUART1A_U1AMODE.setUEN1; inline;
  29245. begin
  29246. pTDefRegMap(@Self)^.&set := $00000200;
  29247. end;
  29248. procedure TUART1A_U1AMODE.clearUEN1; inline;
  29249. begin
  29250. pTDefRegMap(@Self)^.clr := $00000200;
  29251. end;
  29252. procedure TUART1A_U1AMODE.setUEN1(thebits : TBits_1); inline;
  29253. begin
  29254. if thebits = 0 then
  29255. pTDefRegMap(@Self)^.clr := $00000200
  29256. else
  29257. pTDefRegMap(@Self)^.&set := $00000200;
  29258. end;
  29259. function TUART1A_U1AMODE.getUEN1 : TBits_1; inline;
  29260. begin
  29261. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29262. end;
  29263. procedure TUART1A_U1AMODE.setUSIDL; inline;
  29264. begin
  29265. pTDefRegMap(@Self)^.&set := $00002000;
  29266. end;
  29267. procedure TUART1A_U1AMODE.clearUSIDL; inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.clr := $00002000;
  29270. end;
  29271. procedure TUART1A_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  29272. begin
  29273. if thebits = 0 then
  29274. pTDefRegMap(@Self)^.clr := $00002000
  29275. else
  29276. pTDefRegMap(@Self)^.&set := $00002000;
  29277. end;
  29278. function TUART1A_U1AMODE.getUSIDL : TBits_1; inline;
  29279. begin
  29280. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29281. end;
  29282. procedure TUART1A_U1AMODE.setUARTEN; inline;
  29283. begin
  29284. pTDefRegMap(@Self)^.&set := $00008000;
  29285. end;
  29286. procedure TUART1A_U1AMODE.clearUARTEN; inline;
  29287. begin
  29288. pTDefRegMap(@Self)^.clr := $00008000;
  29289. end;
  29290. procedure TUART1A_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  29291. begin
  29292. if thebits = 0 then
  29293. pTDefRegMap(@Self)^.clr := $00008000
  29294. else
  29295. pTDefRegMap(@Self)^.&set := $00008000;
  29296. end;
  29297. function TUART1A_U1AMODE.getUARTEN : TBits_1; inline;
  29298. begin
  29299. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29300. end;
  29301. procedure TUART1A_U1AMODE.setw(thebits : TBits_32); inline;
  29302. begin
  29303. pTDefRegMap(@Self)^.val := thebits;
  29304. end;
  29305. function TUART1A_U1AMODE.getw : TBits_32; inline;
  29306. begin
  29307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29308. end;
  29309. procedure TUART1A_U1MODE.setSTSEL; inline;
  29310. begin
  29311. pTDefRegMap(@Self)^.&set := $00000001;
  29312. end;
  29313. procedure TUART1A_U1MODE.clearSTSEL; inline;
  29314. begin
  29315. pTDefRegMap(@Self)^.clr := $00000001;
  29316. end;
  29317. procedure TUART1A_U1MODE.setSTSEL(thebits : TBits_1); inline;
  29318. begin
  29319. if thebits = 0 then
  29320. pTDefRegMap(@Self)^.clr := $00000001
  29321. else
  29322. pTDefRegMap(@Self)^.&set := $00000001;
  29323. end;
  29324. function TUART1A_U1MODE.getSTSEL : TBits_1; inline;
  29325. begin
  29326. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29327. end;
  29328. procedure TUART1A_U1MODE.setPDSEL(thebits : TBits_2); inline;
  29329. begin
  29330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  29331. end;
  29332. function TUART1A_U1MODE.getPDSEL : TBits_2; inline;
  29333. begin
  29334. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  29335. end;
  29336. procedure TUART1A_U1MODE.setBRGH; inline;
  29337. begin
  29338. pTDefRegMap(@Self)^.&set := $00000008;
  29339. end;
  29340. procedure TUART1A_U1MODE.clearBRGH; inline;
  29341. begin
  29342. pTDefRegMap(@Self)^.clr := $00000008;
  29343. end;
  29344. procedure TUART1A_U1MODE.setBRGH(thebits : TBits_1); inline;
  29345. begin
  29346. if thebits = 0 then
  29347. pTDefRegMap(@Self)^.clr := $00000008
  29348. else
  29349. pTDefRegMap(@Self)^.&set := $00000008;
  29350. end;
  29351. function TUART1A_U1MODE.getBRGH : TBits_1; inline;
  29352. begin
  29353. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29354. end;
  29355. procedure TUART1A_U1MODE.setRXINV; inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.&set := $00000010;
  29358. end;
  29359. procedure TUART1A_U1MODE.clearRXINV; inline;
  29360. begin
  29361. pTDefRegMap(@Self)^.clr := $00000010;
  29362. end;
  29363. procedure TUART1A_U1MODE.setRXINV(thebits : TBits_1); inline;
  29364. begin
  29365. if thebits = 0 then
  29366. pTDefRegMap(@Self)^.clr := $00000010
  29367. else
  29368. pTDefRegMap(@Self)^.&set := $00000010;
  29369. end;
  29370. function TUART1A_U1MODE.getRXINV : TBits_1; inline;
  29371. begin
  29372. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29373. end;
  29374. procedure TUART1A_U1MODE.setABAUD; inline;
  29375. begin
  29376. pTDefRegMap(@Self)^.&set := $00000020;
  29377. end;
  29378. procedure TUART1A_U1MODE.clearABAUD; inline;
  29379. begin
  29380. pTDefRegMap(@Self)^.clr := $00000020;
  29381. end;
  29382. procedure TUART1A_U1MODE.setABAUD(thebits : TBits_1); inline;
  29383. begin
  29384. if thebits = 0 then
  29385. pTDefRegMap(@Self)^.clr := $00000020
  29386. else
  29387. pTDefRegMap(@Self)^.&set := $00000020;
  29388. end;
  29389. function TUART1A_U1MODE.getABAUD : TBits_1; inline;
  29390. begin
  29391. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29392. end;
  29393. procedure TUART1A_U1MODE.setLPBACK; inline;
  29394. begin
  29395. pTDefRegMap(@Self)^.&set := $00000040;
  29396. end;
  29397. procedure TUART1A_U1MODE.clearLPBACK; inline;
  29398. begin
  29399. pTDefRegMap(@Self)^.clr := $00000040;
  29400. end;
  29401. procedure TUART1A_U1MODE.setLPBACK(thebits : TBits_1); inline;
  29402. begin
  29403. if thebits = 0 then
  29404. pTDefRegMap(@Self)^.clr := $00000040
  29405. else
  29406. pTDefRegMap(@Self)^.&set := $00000040;
  29407. end;
  29408. function TUART1A_U1MODE.getLPBACK : TBits_1; inline;
  29409. begin
  29410. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29411. end;
  29412. procedure TUART1A_U1MODE.setWAKE; inline;
  29413. begin
  29414. pTDefRegMap(@Self)^.&set := $00000080;
  29415. end;
  29416. procedure TUART1A_U1MODE.clearWAKE; inline;
  29417. begin
  29418. pTDefRegMap(@Self)^.clr := $00000080;
  29419. end;
  29420. procedure TUART1A_U1MODE.setWAKE(thebits : TBits_1); inline;
  29421. begin
  29422. if thebits = 0 then
  29423. pTDefRegMap(@Self)^.clr := $00000080
  29424. else
  29425. pTDefRegMap(@Self)^.&set := $00000080;
  29426. end;
  29427. function TUART1A_U1MODE.getWAKE : TBits_1; inline;
  29428. begin
  29429. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29430. end;
  29431. procedure TUART1A_U1MODE.setUEN(thebits : TBits_2); inline;
  29432. begin
  29433. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29434. end;
  29435. function TUART1A_U1MODE.getUEN : TBits_2; inline;
  29436. begin
  29437. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29438. end;
  29439. procedure TUART1A_U1MODE.setRTSMD; inline;
  29440. begin
  29441. pTDefRegMap(@Self)^.&set := $00000800;
  29442. end;
  29443. procedure TUART1A_U1MODE.clearRTSMD; inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.clr := $00000800;
  29446. end;
  29447. procedure TUART1A_U1MODE.setRTSMD(thebits : TBits_1); inline;
  29448. begin
  29449. if thebits = 0 then
  29450. pTDefRegMap(@Self)^.clr := $00000800
  29451. else
  29452. pTDefRegMap(@Self)^.&set := $00000800;
  29453. end;
  29454. function TUART1A_U1MODE.getRTSMD : TBits_1; inline;
  29455. begin
  29456. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29457. end;
  29458. procedure TUART1A_U1MODE.setIREN; inline;
  29459. begin
  29460. pTDefRegMap(@Self)^.&set := $00001000;
  29461. end;
  29462. procedure TUART1A_U1MODE.clearIREN; inline;
  29463. begin
  29464. pTDefRegMap(@Self)^.clr := $00001000;
  29465. end;
  29466. procedure TUART1A_U1MODE.setIREN(thebits : TBits_1); inline;
  29467. begin
  29468. if thebits = 0 then
  29469. pTDefRegMap(@Self)^.clr := $00001000
  29470. else
  29471. pTDefRegMap(@Self)^.&set := $00001000;
  29472. end;
  29473. function TUART1A_U1MODE.getIREN : TBits_1; inline;
  29474. begin
  29475. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29476. end;
  29477. procedure TUART1A_U1MODE.setSIDL; inline;
  29478. begin
  29479. pTDefRegMap(@Self)^.&set := $00002000;
  29480. end;
  29481. procedure TUART1A_U1MODE.clearSIDL; inline;
  29482. begin
  29483. pTDefRegMap(@Self)^.clr := $00002000;
  29484. end;
  29485. procedure TUART1A_U1MODE.setSIDL(thebits : TBits_1); inline;
  29486. begin
  29487. if thebits = 0 then
  29488. pTDefRegMap(@Self)^.clr := $00002000
  29489. else
  29490. pTDefRegMap(@Self)^.&set := $00002000;
  29491. end;
  29492. function TUART1A_U1MODE.getSIDL : TBits_1; inline;
  29493. begin
  29494. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29495. end;
  29496. procedure TUART1A_U1MODE.setON; inline;
  29497. begin
  29498. pTDefRegMap(@Self)^.&set := $00008000;
  29499. end;
  29500. procedure TUART1A_U1MODE.clearON; inline;
  29501. begin
  29502. pTDefRegMap(@Self)^.clr := $00008000;
  29503. end;
  29504. procedure TUART1A_U1MODE.setON(thebits : TBits_1); inline;
  29505. begin
  29506. if thebits = 0 then
  29507. pTDefRegMap(@Self)^.clr := $00008000
  29508. else
  29509. pTDefRegMap(@Self)^.&set := $00008000;
  29510. end;
  29511. function TUART1A_U1MODE.getON : TBits_1; inline;
  29512. begin
  29513. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29514. end;
  29515. procedure TUART1A_U1MODE.setPDSEL0; inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.&set := $00000002;
  29518. end;
  29519. procedure TUART1A_U1MODE.clearPDSEL0; inline;
  29520. begin
  29521. pTDefRegMap(@Self)^.clr := $00000002;
  29522. end;
  29523. procedure TUART1A_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  29524. begin
  29525. if thebits = 0 then
  29526. pTDefRegMap(@Self)^.clr := $00000002
  29527. else
  29528. pTDefRegMap(@Self)^.&set := $00000002;
  29529. end;
  29530. function TUART1A_U1MODE.getPDSEL0 : TBits_1; inline;
  29531. begin
  29532. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29533. end;
  29534. procedure TUART1A_U1MODE.setPDSEL1; inline;
  29535. begin
  29536. pTDefRegMap(@Self)^.&set := $00000004;
  29537. end;
  29538. procedure TUART1A_U1MODE.clearPDSEL1; inline;
  29539. begin
  29540. pTDefRegMap(@Self)^.clr := $00000004;
  29541. end;
  29542. procedure TUART1A_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  29543. begin
  29544. if thebits = 0 then
  29545. pTDefRegMap(@Self)^.clr := $00000004
  29546. else
  29547. pTDefRegMap(@Self)^.&set := $00000004;
  29548. end;
  29549. function TUART1A_U1MODE.getPDSEL1 : TBits_1; inline;
  29550. begin
  29551. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29552. end;
  29553. procedure TUART1A_U1MODE.setUEN0; inline;
  29554. begin
  29555. pTDefRegMap(@Self)^.&set := $00000100;
  29556. end;
  29557. procedure TUART1A_U1MODE.clearUEN0; inline;
  29558. begin
  29559. pTDefRegMap(@Self)^.clr := $00000100;
  29560. end;
  29561. procedure TUART1A_U1MODE.setUEN0(thebits : TBits_1); inline;
  29562. begin
  29563. if thebits = 0 then
  29564. pTDefRegMap(@Self)^.clr := $00000100
  29565. else
  29566. pTDefRegMap(@Self)^.&set := $00000100;
  29567. end;
  29568. function TUART1A_U1MODE.getUEN0 : TBits_1; inline;
  29569. begin
  29570. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29571. end;
  29572. procedure TUART1A_U1MODE.setUEN1; inline;
  29573. begin
  29574. pTDefRegMap(@Self)^.&set := $00000200;
  29575. end;
  29576. procedure TUART1A_U1MODE.clearUEN1; inline;
  29577. begin
  29578. pTDefRegMap(@Self)^.clr := $00000200;
  29579. end;
  29580. procedure TUART1A_U1MODE.setUEN1(thebits : TBits_1); inline;
  29581. begin
  29582. if thebits = 0 then
  29583. pTDefRegMap(@Self)^.clr := $00000200
  29584. else
  29585. pTDefRegMap(@Self)^.&set := $00000200;
  29586. end;
  29587. function TUART1A_U1MODE.getUEN1 : TBits_1; inline;
  29588. begin
  29589. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29590. end;
  29591. procedure TUART1A_U1MODE.setUSIDL; inline;
  29592. begin
  29593. pTDefRegMap(@Self)^.&set := $00002000;
  29594. end;
  29595. procedure TUART1A_U1MODE.clearUSIDL; inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.clr := $00002000;
  29598. end;
  29599. procedure TUART1A_U1MODE.setUSIDL(thebits : TBits_1); inline;
  29600. begin
  29601. if thebits = 0 then
  29602. pTDefRegMap(@Self)^.clr := $00002000
  29603. else
  29604. pTDefRegMap(@Self)^.&set := $00002000;
  29605. end;
  29606. function TUART1A_U1MODE.getUSIDL : TBits_1; inline;
  29607. begin
  29608. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29609. end;
  29610. procedure TUART1A_U1MODE.setUARTEN; inline;
  29611. begin
  29612. pTDefRegMap(@Self)^.&set := $00008000;
  29613. end;
  29614. procedure TUART1A_U1MODE.clearUARTEN; inline;
  29615. begin
  29616. pTDefRegMap(@Self)^.clr := $00008000;
  29617. end;
  29618. procedure TUART1A_U1MODE.setUARTEN(thebits : TBits_1); inline;
  29619. begin
  29620. if thebits = 0 then
  29621. pTDefRegMap(@Self)^.clr := $00008000
  29622. else
  29623. pTDefRegMap(@Self)^.&set := $00008000;
  29624. end;
  29625. function TUART1A_U1MODE.getUARTEN : TBits_1; inline;
  29626. begin
  29627. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29628. end;
  29629. procedure TUART1A_U1MODE.setw(thebits : TBits_32); inline;
  29630. begin
  29631. pTDefRegMap(@Self)^.val := thebits;
  29632. end;
  29633. function TUART1A_U1MODE.getw : TBits_32; inline;
  29634. begin
  29635. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29636. end;
  29637. procedure TUART1A_U1ASTA.setURXDA; inline;
  29638. begin
  29639. pTDefRegMap(@Self)^.&set := $00000001;
  29640. end;
  29641. procedure TUART1A_U1ASTA.clearURXDA; inline;
  29642. begin
  29643. pTDefRegMap(@Self)^.clr := $00000001;
  29644. end;
  29645. procedure TUART1A_U1ASTA.setURXDA(thebits : TBits_1); inline;
  29646. begin
  29647. if thebits = 0 then
  29648. pTDefRegMap(@Self)^.clr := $00000001
  29649. else
  29650. pTDefRegMap(@Self)^.&set := $00000001;
  29651. end;
  29652. function TUART1A_U1ASTA.getURXDA : TBits_1; inline;
  29653. begin
  29654. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29655. end;
  29656. procedure TUART1A_U1ASTA.setOERR; inline;
  29657. begin
  29658. pTDefRegMap(@Self)^.&set := $00000002;
  29659. end;
  29660. procedure TUART1A_U1ASTA.clearOERR; inline;
  29661. begin
  29662. pTDefRegMap(@Self)^.clr := $00000002;
  29663. end;
  29664. procedure TUART1A_U1ASTA.setOERR(thebits : TBits_1); inline;
  29665. begin
  29666. if thebits = 0 then
  29667. pTDefRegMap(@Self)^.clr := $00000002
  29668. else
  29669. pTDefRegMap(@Self)^.&set := $00000002;
  29670. end;
  29671. function TUART1A_U1ASTA.getOERR : TBits_1; inline;
  29672. begin
  29673. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29674. end;
  29675. procedure TUART1A_U1ASTA.setFERR; inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.&set := $00000004;
  29678. end;
  29679. procedure TUART1A_U1ASTA.clearFERR; inline;
  29680. begin
  29681. pTDefRegMap(@Self)^.clr := $00000004;
  29682. end;
  29683. procedure TUART1A_U1ASTA.setFERR(thebits : TBits_1); inline;
  29684. begin
  29685. if thebits = 0 then
  29686. pTDefRegMap(@Self)^.clr := $00000004
  29687. else
  29688. pTDefRegMap(@Self)^.&set := $00000004;
  29689. end;
  29690. function TUART1A_U1ASTA.getFERR : TBits_1; inline;
  29691. begin
  29692. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29693. end;
  29694. procedure TUART1A_U1ASTA.setPERR; inline;
  29695. begin
  29696. pTDefRegMap(@Self)^.&set := $00000008;
  29697. end;
  29698. procedure TUART1A_U1ASTA.clearPERR; inline;
  29699. begin
  29700. pTDefRegMap(@Self)^.clr := $00000008;
  29701. end;
  29702. procedure TUART1A_U1ASTA.setPERR(thebits : TBits_1); inline;
  29703. begin
  29704. if thebits = 0 then
  29705. pTDefRegMap(@Self)^.clr := $00000008
  29706. else
  29707. pTDefRegMap(@Self)^.&set := $00000008;
  29708. end;
  29709. function TUART1A_U1ASTA.getPERR : TBits_1; inline;
  29710. begin
  29711. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29712. end;
  29713. procedure TUART1A_U1ASTA.setRIDLE; inline;
  29714. begin
  29715. pTDefRegMap(@Self)^.&set := $00000010;
  29716. end;
  29717. procedure TUART1A_U1ASTA.clearRIDLE; inline;
  29718. begin
  29719. pTDefRegMap(@Self)^.clr := $00000010;
  29720. end;
  29721. procedure TUART1A_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  29722. begin
  29723. if thebits = 0 then
  29724. pTDefRegMap(@Self)^.clr := $00000010
  29725. else
  29726. pTDefRegMap(@Self)^.&set := $00000010;
  29727. end;
  29728. function TUART1A_U1ASTA.getRIDLE : TBits_1; inline;
  29729. begin
  29730. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29731. end;
  29732. procedure TUART1A_U1ASTA.setADDEN; inline;
  29733. begin
  29734. pTDefRegMap(@Self)^.&set := $00000020;
  29735. end;
  29736. procedure TUART1A_U1ASTA.clearADDEN; inline;
  29737. begin
  29738. pTDefRegMap(@Self)^.clr := $00000020;
  29739. end;
  29740. procedure TUART1A_U1ASTA.setADDEN(thebits : TBits_1); inline;
  29741. begin
  29742. if thebits = 0 then
  29743. pTDefRegMap(@Self)^.clr := $00000020
  29744. else
  29745. pTDefRegMap(@Self)^.&set := $00000020;
  29746. end;
  29747. function TUART1A_U1ASTA.getADDEN : TBits_1; inline;
  29748. begin
  29749. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29750. end;
  29751. procedure TUART1A_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  29752. begin
  29753. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  29754. end;
  29755. function TUART1A_U1ASTA.getURXISEL : TBits_2; inline;
  29756. begin
  29757. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  29758. end;
  29759. procedure TUART1A_U1ASTA.setTRMT; inline;
  29760. begin
  29761. pTDefRegMap(@Self)^.&set := $00000100;
  29762. end;
  29763. procedure TUART1A_U1ASTA.clearTRMT; inline;
  29764. begin
  29765. pTDefRegMap(@Self)^.clr := $00000100;
  29766. end;
  29767. procedure TUART1A_U1ASTA.setTRMT(thebits : TBits_1); inline;
  29768. begin
  29769. if thebits = 0 then
  29770. pTDefRegMap(@Self)^.clr := $00000100
  29771. else
  29772. pTDefRegMap(@Self)^.&set := $00000100;
  29773. end;
  29774. function TUART1A_U1ASTA.getTRMT : TBits_1; inline;
  29775. begin
  29776. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29777. end;
  29778. procedure TUART1A_U1ASTA.setUTXBF; inline;
  29779. begin
  29780. pTDefRegMap(@Self)^.&set := $00000200;
  29781. end;
  29782. procedure TUART1A_U1ASTA.clearUTXBF; inline;
  29783. begin
  29784. pTDefRegMap(@Self)^.clr := $00000200;
  29785. end;
  29786. procedure TUART1A_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  29787. begin
  29788. if thebits = 0 then
  29789. pTDefRegMap(@Self)^.clr := $00000200
  29790. else
  29791. pTDefRegMap(@Self)^.&set := $00000200;
  29792. end;
  29793. function TUART1A_U1ASTA.getUTXBF : TBits_1; inline;
  29794. begin
  29795. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  29796. end;
  29797. procedure TUART1A_U1ASTA.setUTXEN; inline;
  29798. begin
  29799. pTDefRegMap(@Self)^.&set := $00000400;
  29800. end;
  29801. procedure TUART1A_U1ASTA.clearUTXEN; inline;
  29802. begin
  29803. pTDefRegMap(@Self)^.clr := $00000400;
  29804. end;
  29805. procedure TUART1A_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  29806. begin
  29807. if thebits = 0 then
  29808. pTDefRegMap(@Self)^.clr := $00000400
  29809. else
  29810. pTDefRegMap(@Self)^.&set := $00000400;
  29811. end;
  29812. function TUART1A_U1ASTA.getUTXEN : TBits_1; inline;
  29813. begin
  29814. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  29815. end;
  29816. procedure TUART1A_U1ASTA.setUTXBRK; inline;
  29817. begin
  29818. pTDefRegMap(@Self)^.&set := $00000800;
  29819. end;
  29820. procedure TUART1A_U1ASTA.clearUTXBRK; inline;
  29821. begin
  29822. pTDefRegMap(@Self)^.clr := $00000800;
  29823. end;
  29824. procedure TUART1A_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  29825. begin
  29826. if thebits = 0 then
  29827. pTDefRegMap(@Self)^.clr := $00000800
  29828. else
  29829. pTDefRegMap(@Self)^.&set := $00000800;
  29830. end;
  29831. function TUART1A_U1ASTA.getUTXBRK : TBits_1; inline;
  29832. begin
  29833. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29834. end;
  29835. procedure TUART1A_U1ASTA.setURXEN; inline;
  29836. begin
  29837. pTDefRegMap(@Self)^.&set := $00001000;
  29838. end;
  29839. procedure TUART1A_U1ASTA.clearURXEN; inline;
  29840. begin
  29841. pTDefRegMap(@Self)^.clr := $00001000;
  29842. end;
  29843. procedure TUART1A_U1ASTA.setURXEN(thebits : TBits_1); inline;
  29844. begin
  29845. if thebits = 0 then
  29846. pTDefRegMap(@Self)^.clr := $00001000
  29847. else
  29848. pTDefRegMap(@Self)^.&set := $00001000;
  29849. end;
  29850. function TUART1A_U1ASTA.getURXEN : TBits_1; inline;
  29851. begin
  29852. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29853. end;
  29854. procedure TUART1A_U1ASTA.setUTXINV; inline;
  29855. begin
  29856. pTDefRegMap(@Self)^.&set := $00002000;
  29857. end;
  29858. procedure TUART1A_U1ASTA.clearUTXINV; inline;
  29859. begin
  29860. pTDefRegMap(@Self)^.clr := $00002000;
  29861. end;
  29862. procedure TUART1A_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  29863. begin
  29864. if thebits = 0 then
  29865. pTDefRegMap(@Self)^.clr := $00002000
  29866. else
  29867. pTDefRegMap(@Self)^.&set := $00002000;
  29868. end;
  29869. function TUART1A_U1ASTA.getUTXINV : TBits_1; inline;
  29870. begin
  29871. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  29872. end;
  29873. procedure TUART1A_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  29874. begin
  29875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29876. end;
  29877. function TUART1A_U1ASTA.getUTXISEL : TBits_2; inline;
  29878. begin
  29879. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29880. end;
  29881. procedure TUART1A_U1ASTA.setADDR(thebits : TBits_8); inline;
  29882. begin
  29883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29884. end;
  29885. function TUART1A_U1ASTA.getADDR : TBits_8; inline;
  29886. begin
  29887. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29888. end;
  29889. procedure TUART1A_U1ASTA.setADM_EN; inline;
  29890. begin
  29891. pTDefRegMap(@Self)^.&set := $01000000;
  29892. end;
  29893. procedure TUART1A_U1ASTA.clearADM_EN; inline;
  29894. begin
  29895. pTDefRegMap(@Self)^.clr := $01000000;
  29896. end;
  29897. procedure TUART1A_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  29898. begin
  29899. if thebits = 0 then
  29900. pTDefRegMap(@Self)^.clr := $01000000
  29901. else
  29902. pTDefRegMap(@Self)^.&set := $01000000;
  29903. end;
  29904. function TUART1A_U1ASTA.getADM_EN : TBits_1; inline;
  29905. begin
  29906. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29907. end;
  29908. procedure TUART1A_U1ASTA.setURXISEL0; inline;
  29909. begin
  29910. pTDefRegMap(@Self)^.&set := $00000040;
  29911. end;
  29912. procedure TUART1A_U1ASTA.clearURXISEL0; inline;
  29913. begin
  29914. pTDefRegMap(@Self)^.clr := $00000040;
  29915. end;
  29916. procedure TUART1A_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  29917. begin
  29918. if thebits = 0 then
  29919. pTDefRegMap(@Self)^.clr := $00000040
  29920. else
  29921. pTDefRegMap(@Self)^.&set := $00000040;
  29922. end;
  29923. function TUART1A_U1ASTA.getURXISEL0 : TBits_1; inline;
  29924. begin
  29925. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29926. end;
  29927. procedure TUART1A_U1ASTA.setURXISEL1; inline;
  29928. begin
  29929. pTDefRegMap(@Self)^.&set := $00000080;
  29930. end;
  29931. procedure TUART1A_U1ASTA.clearURXISEL1; inline;
  29932. begin
  29933. pTDefRegMap(@Self)^.clr := $00000080;
  29934. end;
  29935. procedure TUART1A_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  29936. begin
  29937. if thebits = 0 then
  29938. pTDefRegMap(@Self)^.clr := $00000080
  29939. else
  29940. pTDefRegMap(@Self)^.&set := $00000080;
  29941. end;
  29942. function TUART1A_U1ASTA.getURXISEL1 : TBits_1; inline;
  29943. begin
  29944. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29945. end;
  29946. procedure TUART1A_U1ASTA.setUTXISEL0; inline;
  29947. begin
  29948. pTDefRegMap(@Self)^.&set := $00004000;
  29949. end;
  29950. procedure TUART1A_U1ASTA.clearUTXISEL0; inline;
  29951. begin
  29952. pTDefRegMap(@Self)^.clr := $00004000;
  29953. end;
  29954. procedure TUART1A_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  29955. begin
  29956. if thebits = 0 then
  29957. pTDefRegMap(@Self)^.clr := $00004000
  29958. else
  29959. pTDefRegMap(@Self)^.&set := $00004000;
  29960. end;
  29961. function TUART1A_U1ASTA.getUTXISEL0 : TBits_1; inline;
  29962. begin
  29963. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  29964. end;
  29965. procedure TUART1A_U1ASTA.setUTXISEL1; inline;
  29966. begin
  29967. pTDefRegMap(@Self)^.&set := $00008000;
  29968. end;
  29969. procedure TUART1A_U1ASTA.clearUTXISEL1; inline;
  29970. begin
  29971. pTDefRegMap(@Self)^.clr := $00008000;
  29972. end;
  29973. procedure TUART1A_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  29974. begin
  29975. if thebits = 0 then
  29976. pTDefRegMap(@Self)^.clr := $00008000
  29977. else
  29978. pTDefRegMap(@Self)^.&set := $00008000;
  29979. end;
  29980. function TUART1A_U1ASTA.getUTXISEL1 : TBits_1; inline;
  29981. begin
  29982. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29983. end;
  29984. procedure TUART1A_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  29985. begin
  29986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  29987. end;
  29988. function TUART1A_U1ASTA.getUTXSEL : TBits_2; inline;
  29989. begin
  29990. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  29991. end;
  29992. procedure TUART1A_U1ASTA.setw(thebits : TBits_32); inline;
  29993. begin
  29994. pTDefRegMap(@Self)^.val := thebits;
  29995. end;
  29996. function TUART1A_U1ASTA.getw : TBits_32; inline;
  29997. begin
  29998. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29999. end;
  30000. procedure TUART1A_U1STA.setURXDA; inline;
  30001. begin
  30002. pTDefRegMap(@Self)^.&set := $00000001;
  30003. end;
  30004. procedure TUART1A_U1STA.clearURXDA; inline;
  30005. begin
  30006. pTDefRegMap(@Self)^.clr := $00000001;
  30007. end;
  30008. procedure TUART1A_U1STA.setURXDA(thebits : TBits_1); inline;
  30009. begin
  30010. if thebits = 0 then
  30011. pTDefRegMap(@Self)^.clr := $00000001
  30012. else
  30013. pTDefRegMap(@Self)^.&set := $00000001;
  30014. end;
  30015. function TUART1A_U1STA.getURXDA : TBits_1; inline;
  30016. begin
  30017. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30018. end;
  30019. procedure TUART1A_U1STA.setOERR; inline;
  30020. begin
  30021. pTDefRegMap(@Self)^.&set := $00000002;
  30022. end;
  30023. procedure TUART1A_U1STA.clearOERR; inline;
  30024. begin
  30025. pTDefRegMap(@Self)^.clr := $00000002;
  30026. end;
  30027. procedure TUART1A_U1STA.setOERR(thebits : TBits_1); inline;
  30028. begin
  30029. if thebits = 0 then
  30030. pTDefRegMap(@Self)^.clr := $00000002
  30031. else
  30032. pTDefRegMap(@Self)^.&set := $00000002;
  30033. end;
  30034. function TUART1A_U1STA.getOERR : TBits_1; inline;
  30035. begin
  30036. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30037. end;
  30038. procedure TUART1A_U1STA.setFERR; inline;
  30039. begin
  30040. pTDefRegMap(@Self)^.&set := $00000004;
  30041. end;
  30042. procedure TUART1A_U1STA.clearFERR; inline;
  30043. begin
  30044. pTDefRegMap(@Self)^.clr := $00000004;
  30045. end;
  30046. procedure TUART1A_U1STA.setFERR(thebits : TBits_1); inline;
  30047. begin
  30048. if thebits = 0 then
  30049. pTDefRegMap(@Self)^.clr := $00000004
  30050. else
  30051. pTDefRegMap(@Self)^.&set := $00000004;
  30052. end;
  30053. function TUART1A_U1STA.getFERR : TBits_1; inline;
  30054. begin
  30055. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30056. end;
  30057. procedure TUART1A_U1STA.setPERR; inline;
  30058. begin
  30059. pTDefRegMap(@Self)^.&set := $00000008;
  30060. end;
  30061. procedure TUART1A_U1STA.clearPERR; inline;
  30062. begin
  30063. pTDefRegMap(@Self)^.clr := $00000008;
  30064. end;
  30065. procedure TUART1A_U1STA.setPERR(thebits : TBits_1); inline;
  30066. begin
  30067. if thebits = 0 then
  30068. pTDefRegMap(@Self)^.clr := $00000008
  30069. else
  30070. pTDefRegMap(@Self)^.&set := $00000008;
  30071. end;
  30072. function TUART1A_U1STA.getPERR : TBits_1; inline;
  30073. begin
  30074. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30075. end;
  30076. procedure TUART1A_U1STA.setRIDLE; inline;
  30077. begin
  30078. pTDefRegMap(@Self)^.&set := $00000010;
  30079. end;
  30080. procedure TUART1A_U1STA.clearRIDLE; inline;
  30081. begin
  30082. pTDefRegMap(@Self)^.clr := $00000010;
  30083. end;
  30084. procedure TUART1A_U1STA.setRIDLE(thebits : TBits_1); inline;
  30085. begin
  30086. if thebits = 0 then
  30087. pTDefRegMap(@Self)^.clr := $00000010
  30088. else
  30089. pTDefRegMap(@Self)^.&set := $00000010;
  30090. end;
  30091. function TUART1A_U1STA.getRIDLE : TBits_1; inline;
  30092. begin
  30093. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30094. end;
  30095. procedure TUART1A_U1STA.setADDEN; inline;
  30096. begin
  30097. pTDefRegMap(@Self)^.&set := $00000020;
  30098. end;
  30099. procedure TUART1A_U1STA.clearADDEN; inline;
  30100. begin
  30101. pTDefRegMap(@Self)^.clr := $00000020;
  30102. end;
  30103. procedure TUART1A_U1STA.setADDEN(thebits : TBits_1); inline;
  30104. begin
  30105. if thebits = 0 then
  30106. pTDefRegMap(@Self)^.clr := $00000020
  30107. else
  30108. pTDefRegMap(@Self)^.&set := $00000020;
  30109. end;
  30110. function TUART1A_U1STA.getADDEN : TBits_1; inline;
  30111. begin
  30112. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30113. end;
  30114. procedure TUART1A_U1STA.setURXISEL(thebits : TBits_2); inline;
  30115. begin
  30116. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  30117. end;
  30118. function TUART1A_U1STA.getURXISEL : TBits_2; inline;
  30119. begin
  30120. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  30121. end;
  30122. procedure TUART1A_U1STA.setTRMT; inline;
  30123. begin
  30124. pTDefRegMap(@Self)^.&set := $00000100;
  30125. end;
  30126. procedure TUART1A_U1STA.clearTRMT; inline;
  30127. begin
  30128. pTDefRegMap(@Self)^.clr := $00000100;
  30129. end;
  30130. procedure TUART1A_U1STA.setTRMT(thebits : TBits_1); inline;
  30131. begin
  30132. if thebits = 0 then
  30133. pTDefRegMap(@Self)^.clr := $00000100
  30134. else
  30135. pTDefRegMap(@Self)^.&set := $00000100;
  30136. end;
  30137. function TUART1A_U1STA.getTRMT : TBits_1; inline;
  30138. begin
  30139. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30140. end;
  30141. procedure TUART1A_U1STA.setUTXBF; inline;
  30142. begin
  30143. pTDefRegMap(@Self)^.&set := $00000200;
  30144. end;
  30145. procedure TUART1A_U1STA.clearUTXBF; inline;
  30146. begin
  30147. pTDefRegMap(@Self)^.clr := $00000200;
  30148. end;
  30149. procedure TUART1A_U1STA.setUTXBF(thebits : TBits_1); inline;
  30150. begin
  30151. if thebits = 0 then
  30152. pTDefRegMap(@Self)^.clr := $00000200
  30153. else
  30154. pTDefRegMap(@Self)^.&set := $00000200;
  30155. end;
  30156. function TUART1A_U1STA.getUTXBF : TBits_1; inline;
  30157. begin
  30158. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  30159. end;
  30160. procedure TUART1A_U1STA.setUTXEN; inline;
  30161. begin
  30162. pTDefRegMap(@Self)^.&set := $00000400;
  30163. end;
  30164. procedure TUART1A_U1STA.clearUTXEN; inline;
  30165. begin
  30166. pTDefRegMap(@Self)^.clr := $00000400;
  30167. end;
  30168. procedure TUART1A_U1STA.setUTXEN(thebits : TBits_1); inline;
  30169. begin
  30170. if thebits = 0 then
  30171. pTDefRegMap(@Self)^.clr := $00000400
  30172. else
  30173. pTDefRegMap(@Self)^.&set := $00000400;
  30174. end;
  30175. function TUART1A_U1STA.getUTXEN : TBits_1; inline;
  30176. begin
  30177. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  30178. end;
  30179. procedure TUART1A_U1STA.setUTXBRK; inline;
  30180. begin
  30181. pTDefRegMap(@Self)^.&set := $00000800;
  30182. end;
  30183. procedure TUART1A_U1STA.clearUTXBRK; inline;
  30184. begin
  30185. pTDefRegMap(@Self)^.clr := $00000800;
  30186. end;
  30187. procedure TUART1A_U1STA.setUTXBRK(thebits : TBits_1); inline;
  30188. begin
  30189. if thebits = 0 then
  30190. pTDefRegMap(@Self)^.clr := $00000800
  30191. else
  30192. pTDefRegMap(@Self)^.&set := $00000800;
  30193. end;
  30194. function TUART1A_U1STA.getUTXBRK : TBits_1; inline;
  30195. begin
  30196. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  30197. end;
  30198. procedure TUART1A_U1STA.setURXEN; inline;
  30199. begin
  30200. pTDefRegMap(@Self)^.&set := $00001000;
  30201. end;
  30202. procedure TUART1A_U1STA.clearURXEN; inline;
  30203. begin
  30204. pTDefRegMap(@Self)^.clr := $00001000;
  30205. end;
  30206. procedure TUART1A_U1STA.setURXEN(thebits : TBits_1); inline;
  30207. begin
  30208. if thebits = 0 then
  30209. pTDefRegMap(@Self)^.clr := $00001000
  30210. else
  30211. pTDefRegMap(@Self)^.&set := $00001000;
  30212. end;
  30213. function TUART1A_U1STA.getURXEN : TBits_1; inline;
  30214. begin
  30215. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30216. end;
  30217. procedure TUART1A_U1STA.setUTXINV; inline;
  30218. begin
  30219. pTDefRegMap(@Self)^.&set := $00002000;
  30220. end;
  30221. procedure TUART1A_U1STA.clearUTXINV; inline;
  30222. begin
  30223. pTDefRegMap(@Self)^.clr := $00002000;
  30224. end;
  30225. procedure TUART1A_U1STA.setUTXINV(thebits : TBits_1); inline;
  30226. begin
  30227. if thebits = 0 then
  30228. pTDefRegMap(@Self)^.clr := $00002000
  30229. else
  30230. pTDefRegMap(@Self)^.&set := $00002000;
  30231. end;
  30232. function TUART1A_U1STA.getUTXINV : TBits_1; inline;
  30233. begin
  30234. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30235. end;
  30236. procedure TUART1A_U1STA.setUTXISEL(thebits : TBits_2); inline;
  30237. begin
  30238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30239. end;
  30240. function TUART1A_U1STA.getUTXISEL : TBits_2; inline;
  30241. begin
  30242. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30243. end;
  30244. procedure TUART1A_U1STA.setADDR(thebits : TBits_8); inline;
  30245. begin
  30246. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30247. end;
  30248. function TUART1A_U1STA.getADDR : TBits_8; inline;
  30249. begin
  30250. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30251. end;
  30252. procedure TUART1A_U1STA.setADM_EN; inline;
  30253. begin
  30254. pTDefRegMap(@Self)^.&set := $01000000;
  30255. end;
  30256. procedure TUART1A_U1STA.clearADM_EN; inline;
  30257. begin
  30258. pTDefRegMap(@Self)^.clr := $01000000;
  30259. end;
  30260. procedure TUART1A_U1STA.setADM_EN(thebits : TBits_1); inline;
  30261. begin
  30262. if thebits = 0 then
  30263. pTDefRegMap(@Self)^.clr := $01000000
  30264. else
  30265. pTDefRegMap(@Self)^.&set := $01000000;
  30266. end;
  30267. function TUART1A_U1STA.getADM_EN : TBits_1; inline;
  30268. begin
  30269. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30270. end;
  30271. procedure TUART1A_U1STA.setURXISEL0; inline;
  30272. begin
  30273. pTDefRegMap(@Self)^.&set := $00000040;
  30274. end;
  30275. procedure TUART1A_U1STA.clearURXISEL0; inline;
  30276. begin
  30277. pTDefRegMap(@Self)^.clr := $00000040;
  30278. end;
  30279. procedure TUART1A_U1STA.setURXISEL0(thebits : TBits_1); inline;
  30280. begin
  30281. if thebits = 0 then
  30282. pTDefRegMap(@Self)^.clr := $00000040
  30283. else
  30284. pTDefRegMap(@Self)^.&set := $00000040;
  30285. end;
  30286. function TUART1A_U1STA.getURXISEL0 : TBits_1; inline;
  30287. begin
  30288. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30289. end;
  30290. procedure TUART1A_U1STA.setURXISEL1; inline;
  30291. begin
  30292. pTDefRegMap(@Self)^.&set := $00000080;
  30293. end;
  30294. procedure TUART1A_U1STA.clearURXISEL1; inline;
  30295. begin
  30296. pTDefRegMap(@Self)^.clr := $00000080;
  30297. end;
  30298. procedure TUART1A_U1STA.setURXISEL1(thebits : TBits_1); inline;
  30299. begin
  30300. if thebits = 0 then
  30301. pTDefRegMap(@Self)^.clr := $00000080
  30302. else
  30303. pTDefRegMap(@Self)^.&set := $00000080;
  30304. end;
  30305. function TUART1A_U1STA.getURXISEL1 : TBits_1; inline;
  30306. begin
  30307. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30308. end;
  30309. procedure TUART1A_U1STA.setUTXISEL0; inline;
  30310. begin
  30311. pTDefRegMap(@Self)^.&set := $00004000;
  30312. end;
  30313. procedure TUART1A_U1STA.clearUTXISEL0; inline;
  30314. begin
  30315. pTDefRegMap(@Self)^.clr := $00004000;
  30316. end;
  30317. procedure TUART1A_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  30318. begin
  30319. if thebits = 0 then
  30320. pTDefRegMap(@Self)^.clr := $00004000
  30321. else
  30322. pTDefRegMap(@Self)^.&set := $00004000;
  30323. end;
  30324. function TUART1A_U1STA.getUTXISEL0 : TBits_1; inline;
  30325. begin
  30326. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  30327. end;
  30328. procedure TUART1A_U1STA.setUTXISEL1; inline;
  30329. begin
  30330. pTDefRegMap(@Self)^.&set := $00008000;
  30331. end;
  30332. procedure TUART1A_U1STA.clearUTXISEL1; inline;
  30333. begin
  30334. pTDefRegMap(@Self)^.clr := $00008000;
  30335. end;
  30336. procedure TUART1A_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  30337. begin
  30338. if thebits = 0 then
  30339. pTDefRegMap(@Self)^.clr := $00008000
  30340. else
  30341. pTDefRegMap(@Self)^.&set := $00008000;
  30342. end;
  30343. function TUART1A_U1STA.getUTXISEL1 : TBits_1; inline;
  30344. begin
  30345. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30346. end;
  30347. procedure TUART1A_U1STA.setUTXSEL(thebits : TBits_2); inline;
  30348. begin
  30349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  30350. end;
  30351. function TUART1A_U1STA.getUTXSEL : TBits_2; inline;
  30352. begin
  30353. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  30354. end;
  30355. procedure TUART1A_U1STA.setw(thebits : TBits_32); inline;
  30356. begin
  30357. pTDefRegMap(@Self)^.val := thebits;
  30358. end;
  30359. function TUART1A_U1STA.getw : TBits_32; inline;
  30360. begin
  30361. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30362. end;
  30363. procedure TUART4_U1BMODE.setSTSEL; inline;
  30364. begin
  30365. pTDefRegMap(@Self)^.&set := $00000001;
  30366. end;
  30367. procedure TUART4_U1BMODE.clearSTSEL; inline;
  30368. begin
  30369. pTDefRegMap(@Self)^.clr := $00000001;
  30370. end;
  30371. procedure TUART4_U1BMODE.setSTSEL(thebits : TBits_1); inline;
  30372. begin
  30373. if thebits = 0 then
  30374. pTDefRegMap(@Self)^.clr := $00000001
  30375. else
  30376. pTDefRegMap(@Self)^.&set := $00000001;
  30377. end;
  30378. function TUART4_U1BMODE.getSTSEL : TBits_1; inline;
  30379. begin
  30380. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30381. end;
  30382. procedure TUART4_U1BMODE.setPDSEL(thebits : TBits_2); inline;
  30383. begin
  30384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30385. end;
  30386. function TUART4_U1BMODE.getPDSEL : TBits_2; inline;
  30387. begin
  30388. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30389. end;
  30390. procedure TUART4_U1BMODE.setBRGH; inline;
  30391. begin
  30392. pTDefRegMap(@Self)^.&set := $00000008;
  30393. end;
  30394. procedure TUART4_U1BMODE.clearBRGH; inline;
  30395. begin
  30396. pTDefRegMap(@Self)^.clr := $00000008;
  30397. end;
  30398. procedure TUART4_U1BMODE.setBRGH(thebits : TBits_1); inline;
  30399. begin
  30400. if thebits = 0 then
  30401. pTDefRegMap(@Self)^.clr := $00000008
  30402. else
  30403. pTDefRegMap(@Self)^.&set := $00000008;
  30404. end;
  30405. function TUART4_U1BMODE.getBRGH : TBits_1; inline;
  30406. begin
  30407. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30408. end;
  30409. procedure TUART4_U1BMODE.setRXINV; inline;
  30410. begin
  30411. pTDefRegMap(@Self)^.&set := $00000010;
  30412. end;
  30413. procedure TUART4_U1BMODE.clearRXINV; inline;
  30414. begin
  30415. pTDefRegMap(@Self)^.clr := $00000010;
  30416. end;
  30417. procedure TUART4_U1BMODE.setRXINV(thebits : TBits_1); inline;
  30418. begin
  30419. if thebits = 0 then
  30420. pTDefRegMap(@Self)^.clr := $00000010
  30421. else
  30422. pTDefRegMap(@Self)^.&set := $00000010;
  30423. end;
  30424. function TUART4_U1BMODE.getRXINV : TBits_1; inline;
  30425. begin
  30426. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30427. end;
  30428. procedure TUART4_U1BMODE.setABAUD; inline;
  30429. begin
  30430. pTDefRegMap(@Self)^.&set := $00000020;
  30431. end;
  30432. procedure TUART4_U1BMODE.clearABAUD; inline;
  30433. begin
  30434. pTDefRegMap(@Self)^.clr := $00000020;
  30435. end;
  30436. procedure TUART4_U1BMODE.setABAUD(thebits : TBits_1); inline;
  30437. begin
  30438. if thebits = 0 then
  30439. pTDefRegMap(@Self)^.clr := $00000020
  30440. else
  30441. pTDefRegMap(@Self)^.&set := $00000020;
  30442. end;
  30443. function TUART4_U1BMODE.getABAUD : TBits_1; inline;
  30444. begin
  30445. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30446. end;
  30447. procedure TUART4_U1BMODE.setLPBACK; inline;
  30448. begin
  30449. pTDefRegMap(@Self)^.&set := $00000040;
  30450. end;
  30451. procedure TUART4_U1BMODE.clearLPBACK; inline;
  30452. begin
  30453. pTDefRegMap(@Self)^.clr := $00000040;
  30454. end;
  30455. procedure TUART4_U1BMODE.setLPBACK(thebits : TBits_1); inline;
  30456. begin
  30457. if thebits = 0 then
  30458. pTDefRegMap(@Self)^.clr := $00000040
  30459. else
  30460. pTDefRegMap(@Self)^.&set := $00000040;
  30461. end;
  30462. function TUART4_U1BMODE.getLPBACK : TBits_1; inline;
  30463. begin
  30464. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30465. end;
  30466. procedure TUART4_U1BMODE.setWAKE; inline;
  30467. begin
  30468. pTDefRegMap(@Self)^.&set := $00000080;
  30469. end;
  30470. procedure TUART4_U1BMODE.clearWAKE; inline;
  30471. begin
  30472. pTDefRegMap(@Self)^.clr := $00000080;
  30473. end;
  30474. procedure TUART4_U1BMODE.setWAKE(thebits : TBits_1); inline;
  30475. begin
  30476. if thebits = 0 then
  30477. pTDefRegMap(@Self)^.clr := $00000080
  30478. else
  30479. pTDefRegMap(@Self)^.&set := $00000080;
  30480. end;
  30481. function TUART4_U1BMODE.getWAKE : TBits_1; inline;
  30482. begin
  30483. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30484. end;
  30485. procedure TUART4_U1BMODE.setIREN; inline;
  30486. begin
  30487. pTDefRegMap(@Self)^.&set := $00001000;
  30488. end;
  30489. procedure TUART4_U1BMODE.clearIREN; inline;
  30490. begin
  30491. pTDefRegMap(@Self)^.clr := $00001000;
  30492. end;
  30493. procedure TUART4_U1BMODE.setIREN(thebits : TBits_1); inline;
  30494. begin
  30495. if thebits = 0 then
  30496. pTDefRegMap(@Self)^.clr := $00001000
  30497. else
  30498. pTDefRegMap(@Self)^.&set := $00001000;
  30499. end;
  30500. function TUART4_U1BMODE.getIREN : TBits_1; inline;
  30501. begin
  30502. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30503. end;
  30504. procedure TUART4_U1BMODE.setSIDL; inline;
  30505. begin
  30506. pTDefRegMap(@Self)^.&set := $00002000;
  30507. end;
  30508. procedure TUART4_U1BMODE.clearSIDL; inline;
  30509. begin
  30510. pTDefRegMap(@Self)^.clr := $00002000;
  30511. end;
  30512. procedure TUART4_U1BMODE.setSIDL(thebits : TBits_1); inline;
  30513. begin
  30514. if thebits = 0 then
  30515. pTDefRegMap(@Self)^.clr := $00002000
  30516. else
  30517. pTDefRegMap(@Self)^.&set := $00002000;
  30518. end;
  30519. function TUART4_U1BMODE.getSIDL : TBits_1; inline;
  30520. begin
  30521. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30522. end;
  30523. procedure TUART4_U1BMODE.setON; inline;
  30524. begin
  30525. pTDefRegMap(@Self)^.&set := $00008000;
  30526. end;
  30527. procedure TUART4_U1BMODE.clearON; inline;
  30528. begin
  30529. pTDefRegMap(@Self)^.clr := $00008000;
  30530. end;
  30531. procedure TUART4_U1BMODE.setON(thebits : TBits_1); inline;
  30532. begin
  30533. if thebits = 0 then
  30534. pTDefRegMap(@Self)^.clr := $00008000
  30535. else
  30536. pTDefRegMap(@Self)^.&set := $00008000;
  30537. end;
  30538. function TUART4_U1BMODE.getON : TBits_1; inline;
  30539. begin
  30540. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30541. end;
  30542. procedure TUART4_U1BMODE.setPDSEL0; inline;
  30543. begin
  30544. pTDefRegMap(@Self)^.&set := $00000002;
  30545. end;
  30546. procedure TUART4_U1BMODE.clearPDSEL0; inline;
  30547. begin
  30548. pTDefRegMap(@Self)^.clr := $00000002;
  30549. end;
  30550. procedure TUART4_U1BMODE.setPDSEL0(thebits : TBits_1); inline;
  30551. begin
  30552. if thebits = 0 then
  30553. pTDefRegMap(@Self)^.clr := $00000002
  30554. else
  30555. pTDefRegMap(@Self)^.&set := $00000002;
  30556. end;
  30557. function TUART4_U1BMODE.getPDSEL0 : TBits_1; inline;
  30558. begin
  30559. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30560. end;
  30561. procedure TUART4_U1BMODE.setPDSEL1; inline;
  30562. begin
  30563. pTDefRegMap(@Self)^.&set := $00000004;
  30564. end;
  30565. procedure TUART4_U1BMODE.clearPDSEL1; inline;
  30566. begin
  30567. pTDefRegMap(@Self)^.clr := $00000004;
  30568. end;
  30569. procedure TUART4_U1BMODE.setPDSEL1(thebits : TBits_1); inline;
  30570. begin
  30571. if thebits = 0 then
  30572. pTDefRegMap(@Self)^.clr := $00000004
  30573. else
  30574. pTDefRegMap(@Self)^.&set := $00000004;
  30575. end;
  30576. function TUART4_U1BMODE.getPDSEL1 : TBits_1; inline;
  30577. begin
  30578. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30579. end;
  30580. procedure TUART4_U1BMODE.setUSIDL; inline;
  30581. begin
  30582. pTDefRegMap(@Self)^.&set := $00002000;
  30583. end;
  30584. procedure TUART4_U1BMODE.clearUSIDL; inline;
  30585. begin
  30586. pTDefRegMap(@Self)^.clr := $00002000;
  30587. end;
  30588. procedure TUART4_U1BMODE.setUSIDL(thebits : TBits_1); inline;
  30589. begin
  30590. if thebits = 0 then
  30591. pTDefRegMap(@Self)^.clr := $00002000
  30592. else
  30593. pTDefRegMap(@Self)^.&set := $00002000;
  30594. end;
  30595. function TUART4_U1BMODE.getUSIDL : TBits_1; inline;
  30596. begin
  30597. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30598. end;
  30599. procedure TUART4_U1BMODE.setUARTEN; inline;
  30600. begin
  30601. pTDefRegMap(@Self)^.&set := $00008000;
  30602. end;
  30603. procedure TUART4_U1BMODE.clearUARTEN; inline;
  30604. begin
  30605. pTDefRegMap(@Self)^.clr := $00008000;
  30606. end;
  30607. procedure TUART4_U1BMODE.setUARTEN(thebits : TBits_1); inline;
  30608. begin
  30609. if thebits = 0 then
  30610. pTDefRegMap(@Self)^.clr := $00008000
  30611. else
  30612. pTDefRegMap(@Self)^.&set := $00008000;
  30613. end;
  30614. function TUART4_U1BMODE.getUARTEN : TBits_1; inline;
  30615. begin
  30616. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30617. end;
  30618. procedure TUART4_U1BMODE.setw(thebits : TBits_32); inline;
  30619. begin
  30620. pTDefRegMap(@Self)^.val := thebits;
  30621. end;
  30622. function TUART4_U1BMODE.getw : TBits_32; inline;
  30623. begin
  30624. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30625. end;
  30626. procedure TUART4_U4MODE.setSTSEL; inline;
  30627. begin
  30628. pTDefRegMap(@Self)^.&set := $00000001;
  30629. end;
  30630. procedure TUART4_U4MODE.clearSTSEL; inline;
  30631. begin
  30632. pTDefRegMap(@Self)^.clr := $00000001;
  30633. end;
  30634. procedure TUART4_U4MODE.setSTSEL(thebits : TBits_1); inline;
  30635. begin
  30636. if thebits = 0 then
  30637. pTDefRegMap(@Self)^.clr := $00000001
  30638. else
  30639. pTDefRegMap(@Self)^.&set := $00000001;
  30640. end;
  30641. function TUART4_U4MODE.getSTSEL : TBits_1; inline;
  30642. begin
  30643. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30644. end;
  30645. procedure TUART4_U4MODE.setPDSEL(thebits : TBits_2); inline;
  30646. begin
  30647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  30648. end;
  30649. function TUART4_U4MODE.getPDSEL : TBits_2; inline;
  30650. begin
  30651. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  30652. end;
  30653. procedure TUART4_U4MODE.setBRGH; inline;
  30654. begin
  30655. pTDefRegMap(@Self)^.&set := $00000008;
  30656. end;
  30657. procedure TUART4_U4MODE.clearBRGH; inline;
  30658. begin
  30659. pTDefRegMap(@Self)^.clr := $00000008;
  30660. end;
  30661. procedure TUART4_U4MODE.setBRGH(thebits : TBits_1); inline;
  30662. begin
  30663. if thebits = 0 then
  30664. pTDefRegMap(@Self)^.clr := $00000008
  30665. else
  30666. pTDefRegMap(@Self)^.&set := $00000008;
  30667. end;
  30668. function TUART4_U4MODE.getBRGH : TBits_1; inline;
  30669. begin
  30670. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30671. end;
  30672. procedure TUART4_U4MODE.setRXINV; inline;
  30673. begin
  30674. pTDefRegMap(@Self)^.&set := $00000010;
  30675. end;
  30676. procedure TUART4_U4MODE.clearRXINV; inline;
  30677. begin
  30678. pTDefRegMap(@Self)^.clr := $00000010;
  30679. end;
  30680. procedure TUART4_U4MODE.setRXINV(thebits : TBits_1); inline;
  30681. begin
  30682. if thebits = 0 then
  30683. pTDefRegMap(@Self)^.clr := $00000010
  30684. else
  30685. pTDefRegMap(@Self)^.&set := $00000010;
  30686. end;
  30687. function TUART4_U4MODE.getRXINV : TBits_1; inline;
  30688. begin
  30689. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30690. end;
  30691. procedure TUART4_U4MODE.setABAUD; inline;
  30692. begin
  30693. pTDefRegMap(@Self)^.&set := $00000020;
  30694. end;
  30695. procedure TUART4_U4MODE.clearABAUD; inline;
  30696. begin
  30697. pTDefRegMap(@Self)^.clr := $00000020;
  30698. end;
  30699. procedure TUART4_U4MODE.setABAUD(thebits : TBits_1); inline;
  30700. begin
  30701. if thebits = 0 then
  30702. pTDefRegMap(@Self)^.clr := $00000020
  30703. else
  30704. pTDefRegMap(@Self)^.&set := $00000020;
  30705. end;
  30706. function TUART4_U4MODE.getABAUD : TBits_1; inline;
  30707. begin
  30708. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30709. end;
  30710. procedure TUART4_U4MODE.setLPBACK; inline;
  30711. begin
  30712. pTDefRegMap(@Self)^.&set := $00000040;
  30713. end;
  30714. procedure TUART4_U4MODE.clearLPBACK; inline;
  30715. begin
  30716. pTDefRegMap(@Self)^.clr := $00000040;
  30717. end;
  30718. procedure TUART4_U4MODE.setLPBACK(thebits : TBits_1); inline;
  30719. begin
  30720. if thebits = 0 then
  30721. pTDefRegMap(@Self)^.clr := $00000040
  30722. else
  30723. pTDefRegMap(@Self)^.&set := $00000040;
  30724. end;
  30725. function TUART4_U4MODE.getLPBACK : TBits_1; inline;
  30726. begin
  30727. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30728. end;
  30729. procedure TUART4_U4MODE.setWAKE; inline;
  30730. begin
  30731. pTDefRegMap(@Self)^.&set := $00000080;
  30732. end;
  30733. procedure TUART4_U4MODE.clearWAKE; inline;
  30734. begin
  30735. pTDefRegMap(@Self)^.clr := $00000080;
  30736. end;
  30737. procedure TUART4_U4MODE.setWAKE(thebits : TBits_1); inline;
  30738. begin
  30739. if thebits = 0 then
  30740. pTDefRegMap(@Self)^.clr := $00000080
  30741. else
  30742. pTDefRegMap(@Self)^.&set := $00000080;
  30743. end;
  30744. function TUART4_U4MODE.getWAKE : TBits_1; inline;
  30745. begin
  30746. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30747. end;
  30748. procedure TUART4_U4MODE.setIREN; inline;
  30749. begin
  30750. pTDefRegMap(@Self)^.&set := $00001000;
  30751. end;
  30752. procedure TUART4_U4MODE.clearIREN; inline;
  30753. begin
  30754. pTDefRegMap(@Self)^.clr := $00001000;
  30755. end;
  30756. procedure TUART4_U4MODE.setIREN(thebits : TBits_1); inline;
  30757. begin
  30758. if thebits = 0 then
  30759. pTDefRegMap(@Self)^.clr := $00001000
  30760. else
  30761. pTDefRegMap(@Self)^.&set := $00001000;
  30762. end;
  30763. function TUART4_U4MODE.getIREN : TBits_1; inline;
  30764. begin
  30765. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  30766. end;
  30767. procedure TUART4_U4MODE.setSIDL; inline;
  30768. begin
  30769. pTDefRegMap(@Self)^.&set := $00002000;
  30770. end;
  30771. procedure TUART4_U4MODE.clearSIDL; inline;
  30772. begin
  30773. pTDefRegMap(@Self)^.clr := $00002000;
  30774. end;
  30775. procedure TUART4_U4MODE.setSIDL(thebits : TBits_1); inline;
  30776. begin
  30777. if thebits = 0 then
  30778. pTDefRegMap(@Self)^.clr := $00002000
  30779. else
  30780. pTDefRegMap(@Self)^.&set := $00002000;
  30781. end;
  30782. function TUART4_U4MODE.getSIDL : TBits_1; inline;
  30783. begin
  30784. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30785. end;
  30786. procedure TUART4_U4MODE.setON; inline;
  30787. begin
  30788. pTDefRegMap(@Self)^.&set := $00008000;
  30789. end;
  30790. procedure TUART4_U4MODE.clearON; inline;
  30791. begin
  30792. pTDefRegMap(@Self)^.clr := $00008000;
  30793. end;
  30794. procedure TUART4_U4MODE.setON(thebits : TBits_1); inline;
  30795. begin
  30796. if thebits = 0 then
  30797. pTDefRegMap(@Self)^.clr := $00008000
  30798. else
  30799. pTDefRegMap(@Self)^.&set := $00008000;
  30800. end;
  30801. function TUART4_U4MODE.getON : TBits_1; inline;
  30802. begin
  30803. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30804. end;
  30805. procedure TUART4_U4MODE.setPDSEL0; inline;
  30806. begin
  30807. pTDefRegMap(@Self)^.&set := $00000002;
  30808. end;
  30809. procedure TUART4_U4MODE.clearPDSEL0; inline;
  30810. begin
  30811. pTDefRegMap(@Self)^.clr := $00000002;
  30812. end;
  30813. procedure TUART4_U4MODE.setPDSEL0(thebits : TBits_1); inline;
  30814. begin
  30815. if thebits = 0 then
  30816. pTDefRegMap(@Self)^.clr := $00000002
  30817. else
  30818. pTDefRegMap(@Self)^.&set := $00000002;
  30819. end;
  30820. function TUART4_U4MODE.getPDSEL0 : TBits_1; inline;
  30821. begin
  30822. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30823. end;
  30824. procedure TUART4_U4MODE.setPDSEL1; inline;
  30825. begin
  30826. pTDefRegMap(@Self)^.&set := $00000004;
  30827. end;
  30828. procedure TUART4_U4MODE.clearPDSEL1; inline;
  30829. begin
  30830. pTDefRegMap(@Self)^.clr := $00000004;
  30831. end;
  30832. procedure TUART4_U4MODE.setPDSEL1(thebits : TBits_1); inline;
  30833. begin
  30834. if thebits = 0 then
  30835. pTDefRegMap(@Self)^.clr := $00000004
  30836. else
  30837. pTDefRegMap(@Self)^.&set := $00000004;
  30838. end;
  30839. function TUART4_U4MODE.getPDSEL1 : TBits_1; inline;
  30840. begin
  30841. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30842. end;
  30843. procedure TUART4_U4MODE.setUSIDL; inline;
  30844. begin
  30845. pTDefRegMap(@Self)^.&set := $00002000;
  30846. end;
  30847. procedure TUART4_U4MODE.clearUSIDL; inline;
  30848. begin
  30849. pTDefRegMap(@Self)^.clr := $00002000;
  30850. end;
  30851. procedure TUART4_U4MODE.setUSIDL(thebits : TBits_1); inline;
  30852. begin
  30853. if thebits = 0 then
  30854. pTDefRegMap(@Self)^.clr := $00002000
  30855. else
  30856. pTDefRegMap(@Self)^.&set := $00002000;
  30857. end;
  30858. function TUART4_U4MODE.getUSIDL : TBits_1; inline;
  30859. begin
  30860. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  30861. end;
  30862. procedure TUART4_U4MODE.setUARTEN; inline;
  30863. begin
  30864. pTDefRegMap(@Self)^.&set := $00008000;
  30865. end;
  30866. procedure TUART4_U4MODE.clearUARTEN; inline;
  30867. begin
  30868. pTDefRegMap(@Self)^.clr := $00008000;
  30869. end;
  30870. procedure TUART4_U4MODE.setUARTEN(thebits : TBits_1); inline;
  30871. begin
  30872. if thebits = 0 then
  30873. pTDefRegMap(@Self)^.clr := $00008000
  30874. else
  30875. pTDefRegMap(@Self)^.&set := $00008000;
  30876. end;
  30877. function TUART4_U4MODE.getUARTEN : TBits_1; inline;
  30878. begin
  30879. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30880. end;
  30881. procedure TUART4_U4MODE.setw(thebits : TBits_32); inline;
  30882. begin
  30883. pTDefRegMap(@Self)^.val := thebits;
  30884. end;
  30885. function TUART4_U4MODE.getw : TBits_32; inline;
  30886. begin
  30887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30888. end;
  30889. procedure TUART4_U1BSTA.setURXDA; inline;
  30890. begin
  30891. pTDefRegMap(@Self)^.&set := $00000001;
  30892. end;
  30893. procedure TUART4_U1BSTA.clearURXDA; inline;
  30894. begin
  30895. pTDefRegMap(@Self)^.clr := $00000001;
  30896. end;
  30897. procedure TUART4_U1BSTA.setURXDA(thebits : TBits_1); inline;
  30898. begin
  30899. if thebits = 0 then
  30900. pTDefRegMap(@Self)^.clr := $00000001
  30901. else
  30902. pTDefRegMap(@Self)^.&set := $00000001;
  30903. end;
  30904. function TUART4_U1BSTA.getURXDA : TBits_1; inline;
  30905. begin
  30906. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30907. end;
  30908. procedure TUART4_U1BSTA.setOERR; inline;
  30909. begin
  30910. pTDefRegMap(@Self)^.&set := $00000002;
  30911. end;
  30912. procedure TUART4_U1BSTA.clearOERR; inline;
  30913. begin
  30914. pTDefRegMap(@Self)^.clr := $00000002;
  30915. end;
  30916. procedure TUART4_U1BSTA.setOERR(thebits : TBits_1); inline;
  30917. begin
  30918. if thebits = 0 then
  30919. pTDefRegMap(@Self)^.clr := $00000002
  30920. else
  30921. pTDefRegMap(@Self)^.&set := $00000002;
  30922. end;
  30923. function TUART4_U1BSTA.getOERR : TBits_1; inline;
  30924. begin
  30925. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30926. end;
  30927. procedure TUART4_U1BSTA.setFERR; inline;
  30928. begin
  30929. pTDefRegMap(@Self)^.&set := $00000004;
  30930. end;
  30931. procedure TUART4_U1BSTA.clearFERR; inline;
  30932. begin
  30933. pTDefRegMap(@Self)^.clr := $00000004;
  30934. end;
  30935. procedure TUART4_U1BSTA.setFERR(thebits : TBits_1); inline;
  30936. begin
  30937. if thebits = 0 then
  30938. pTDefRegMap(@Self)^.clr := $00000004
  30939. else
  30940. pTDefRegMap(@Self)^.&set := $00000004;
  30941. end;
  30942. function TUART4_U1BSTA.getFERR : TBits_1; inline;
  30943. begin
  30944. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30945. end;
  30946. procedure TUART4_U1BSTA.setPERR; inline;
  30947. begin
  30948. pTDefRegMap(@Self)^.&set := $00000008;
  30949. end;
  30950. procedure TUART4_U1BSTA.clearPERR; inline;
  30951. begin
  30952. pTDefRegMap(@Self)^.clr := $00000008;
  30953. end;
  30954. procedure TUART4_U1BSTA.setPERR(thebits : TBits_1); inline;
  30955. begin
  30956. if thebits = 0 then
  30957. pTDefRegMap(@Self)^.clr := $00000008
  30958. else
  30959. pTDefRegMap(@Self)^.&set := $00000008;
  30960. end;
  30961. function TUART4_U1BSTA.getPERR : TBits_1; inline;
  30962. begin
  30963. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30964. end;
  30965. procedure TUART4_U1BSTA.setRIDLE; inline;
  30966. begin
  30967. pTDefRegMap(@Self)^.&set := $00000010;
  30968. end;
  30969. procedure TUART4_U1BSTA.clearRIDLE; inline;
  30970. begin
  30971. pTDefRegMap(@Self)^.clr := $00000010;
  30972. end;
  30973. procedure TUART4_U1BSTA.setRIDLE(thebits : TBits_1); inline;
  30974. begin
  30975. if thebits = 0 then
  30976. pTDefRegMap(@Self)^.clr := $00000010
  30977. else
  30978. pTDefRegMap(@Self)^.&set := $00000010;
  30979. end;
  30980. function TUART4_U1BSTA.getRIDLE : TBits_1; inline;
  30981. begin
  30982. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30983. end;
  30984. procedure TUART4_U1BSTA.setADDEN; inline;
  30985. begin
  30986. pTDefRegMap(@Self)^.&set := $00000020;
  30987. end;
  30988. procedure TUART4_U1BSTA.clearADDEN; inline;
  30989. begin
  30990. pTDefRegMap(@Self)^.clr := $00000020;
  30991. end;
  30992. procedure TUART4_U1BSTA.setADDEN(thebits : TBits_1); inline;
  30993. begin
  30994. if thebits = 0 then
  30995. pTDefRegMap(@Self)^.clr := $00000020
  30996. else
  30997. pTDefRegMap(@Self)^.&set := $00000020;
  30998. end;
  30999. function TUART4_U1BSTA.getADDEN : TBits_1; inline;
  31000. begin
  31001. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31002. end;
  31003. procedure TUART4_U1BSTA.setURXISEL(thebits : TBits_2); inline;
  31004. begin
  31005. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31006. end;
  31007. function TUART4_U1BSTA.getURXISEL : TBits_2; inline;
  31008. begin
  31009. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31010. end;
  31011. procedure TUART4_U1BSTA.setTRMT; inline;
  31012. begin
  31013. pTDefRegMap(@Self)^.&set := $00000100;
  31014. end;
  31015. procedure TUART4_U1BSTA.clearTRMT; inline;
  31016. begin
  31017. pTDefRegMap(@Self)^.clr := $00000100;
  31018. end;
  31019. procedure TUART4_U1BSTA.setTRMT(thebits : TBits_1); inline;
  31020. begin
  31021. if thebits = 0 then
  31022. pTDefRegMap(@Self)^.clr := $00000100
  31023. else
  31024. pTDefRegMap(@Self)^.&set := $00000100;
  31025. end;
  31026. function TUART4_U1BSTA.getTRMT : TBits_1; inline;
  31027. begin
  31028. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31029. end;
  31030. procedure TUART4_U1BSTA.setUTXBF; inline;
  31031. begin
  31032. pTDefRegMap(@Self)^.&set := $00000200;
  31033. end;
  31034. procedure TUART4_U1BSTA.clearUTXBF; inline;
  31035. begin
  31036. pTDefRegMap(@Self)^.clr := $00000200;
  31037. end;
  31038. procedure TUART4_U1BSTA.setUTXBF(thebits : TBits_1); inline;
  31039. begin
  31040. if thebits = 0 then
  31041. pTDefRegMap(@Self)^.clr := $00000200
  31042. else
  31043. pTDefRegMap(@Self)^.&set := $00000200;
  31044. end;
  31045. function TUART4_U1BSTA.getUTXBF : TBits_1; inline;
  31046. begin
  31047. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31048. end;
  31049. procedure TUART4_U1BSTA.setUTXEN; inline;
  31050. begin
  31051. pTDefRegMap(@Self)^.&set := $00000400;
  31052. end;
  31053. procedure TUART4_U1BSTA.clearUTXEN; inline;
  31054. begin
  31055. pTDefRegMap(@Self)^.clr := $00000400;
  31056. end;
  31057. procedure TUART4_U1BSTA.setUTXEN(thebits : TBits_1); inline;
  31058. begin
  31059. if thebits = 0 then
  31060. pTDefRegMap(@Self)^.clr := $00000400
  31061. else
  31062. pTDefRegMap(@Self)^.&set := $00000400;
  31063. end;
  31064. function TUART4_U1BSTA.getUTXEN : TBits_1; inline;
  31065. begin
  31066. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31067. end;
  31068. procedure TUART4_U1BSTA.setUTXBRK; inline;
  31069. begin
  31070. pTDefRegMap(@Self)^.&set := $00000800;
  31071. end;
  31072. procedure TUART4_U1BSTA.clearUTXBRK; inline;
  31073. begin
  31074. pTDefRegMap(@Self)^.clr := $00000800;
  31075. end;
  31076. procedure TUART4_U1BSTA.setUTXBRK(thebits : TBits_1); inline;
  31077. begin
  31078. if thebits = 0 then
  31079. pTDefRegMap(@Self)^.clr := $00000800
  31080. else
  31081. pTDefRegMap(@Self)^.&set := $00000800;
  31082. end;
  31083. function TUART4_U1BSTA.getUTXBRK : TBits_1; inline;
  31084. begin
  31085. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31086. end;
  31087. procedure TUART4_U1BSTA.setURXEN; inline;
  31088. begin
  31089. pTDefRegMap(@Self)^.&set := $00001000;
  31090. end;
  31091. procedure TUART4_U1BSTA.clearURXEN; inline;
  31092. begin
  31093. pTDefRegMap(@Self)^.clr := $00001000;
  31094. end;
  31095. procedure TUART4_U1BSTA.setURXEN(thebits : TBits_1); inline;
  31096. begin
  31097. if thebits = 0 then
  31098. pTDefRegMap(@Self)^.clr := $00001000
  31099. else
  31100. pTDefRegMap(@Self)^.&set := $00001000;
  31101. end;
  31102. function TUART4_U1BSTA.getURXEN : TBits_1; inline;
  31103. begin
  31104. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31105. end;
  31106. procedure TUART4_U1BSTA.setUTXINV; inline;
  31107. begin
  31108. pTDefRegMap(@Self)^.&set := $00002000;
  31109. end;
  31110. procedure TUART4_U1BSTA.clearUTXINV; inline;
  31111. begin
  31112. pTDefRegMap(@Self)^.clr := $00002000;
  31113. end;
  31114. procedure TUART4_U1BSTA.setUTXINV(thebits : TBits_1); inline;
  31115. begin
  31116. if thebits = 0 then
  31117. pTDefRegMap(@Self)^.clr := $00002000
  31118. else
  31119. pTDefRegMap(@Self)^.&set := $00002000;
  31120. end;
  31121. function TUART4_U1BSTA.getUTXINV : TBits_1; inline;
  31122. begin
  31123. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31124. end;
  31125. procedure TUART4_U1BSTA.setUTXISEL(thebits : TBits_2); inline;
  31126. begin
  31127. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31128. end;
  31129. function TUART4_U1BSTA.getUTXISEL : TBits_2; inline;
  31130. begin
  31131. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31132. end;
  31133. procedure TUART4_U1BSTA.setADDR(thebits : TBits_8); inline;
  31134. begin
  31135. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31136. end;
  31137. function TUART4_U1BSTA.getADDR : TBits_8; inline;
  31138. begin
  31139. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31140. end;
  31141. procedure TUART4_U1BSTA.setADM_EN; inline;
  31142. begin
  31143. pTDefRegMap(@Self)^.&set := $01000000;
  31144. end;
  31145. procedure TUART4_U1BSTA.clearADM_EN; inline;
  31146. begin
  31147. pTDefRegMap(@Self)^.clr := $01000000;
  31148. end;
  31149. procedure TUART4_U1BSTA.setADM_EN(thebits : TBits_1); inline;
  31150. begin
  31151. if thebits = 0 then
  31152. pTDefRegMap(@Self)^.clr := $01000000
  31153. else
  31154. pTDefRegMap(@Self)^.&set := $01000000;
  31155. end;
  31156. function TUART4_U1BSTA.getADM_EN : TBits_1; inline;
  31157. begin
  31158. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31159. end;
  31160. procedure TUART4_U1BSTA.setURXISEL0; inline;
  31161. begin
  31162. pTDefRegMap(@Self)^.&set := $00000040;
  31163. end;
  31164. procedure TUART4_U1BSTA.clearURXISEL0; inline;
  31165. begin
  31166. pTDefRegMap(@Self)^.clr := $00000040;
  31167. end;
  31168. procedure TUART4_U1BSTA.setURXISEL0(thebits : TBits_1); inline;
  31169. begin
  31170. if thebits = 0 then
  31171. pTDefRegMap(@Self)^.clr := $00000040
  31172. else
  31173. pTDefRegMap(@Self)^.&set := $00000040;
  31174. end;
  31175. function TUART4_U1BSTA.getURXISEL0 : TBits_1; inline;
  31176. begin
  31177. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31178. end;
  31179. procedure TUART4_U1BSTA.setURXISEL1; inline;
  31180. begin
  31181. pTDefRegMap(@Self)^.&set := $00000080;
  31182. end;
  31183. procedure TUART4_U1BSTA.clearURXISEL1; inline;
  31184. begin
  31185. pTDefRegMap(@Self)^.clr := $00000080;
  31186. end;
  31187. procedure TUART4_U1BSTA.setURXISEL1(thebits : TBits_1); inline;
  31188. begin
  31189. if thebits = 0 then
  31190. pTDefRegMap(@Self)^.clr := $00000080
  31191. else
  31192. pTDefRegMap(@Self)^.&set := $00000080;
  31193. end;
  31194. function TUART4_U1BSTA.getURXISEL1 : TBits_1; inline;
  31195. begin
  31196. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31197. end;
  31198. procedure TUART4_U1BSTA.setUTXISEL0; inline;
  31199. begin
  31200. pTDefRegMap(@Self)^.&set := $00004000;
  31201. end;
  31202. procedure TUART4_U1BSTA.clearUTXISEL0; inline;
  31203. begin
  31204. pTDefRegMap(@Self)^.clr := $00004000;
  31205. end;
  31206. procedure TUART4_U1BSTA.setUTXISEL0(thebits : TBits_1); inline;
  31207. begin
  31208. if thebits = 0 then
  31209. pTDefRegMap(@Self)^.clr := $00004000
  31210. else
  31211. pTDefRegMap(@Self)^.&set := $00004000;
  31212. end;
  31213. function TUART4_U1BSTA.getUTXISEL0 : TBits_1; inline;
  31214. begin
  31215. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31216. end;
  31217. procedure TUART4_U1BSTA.setUTXISEL1; inline;
  31218. begin
  31219. pTDefRegMap(@Self)^.&set := $00008000;
  31220. end;
  31221. procedure TUART4_U1BSTA.clearUTXISEL1; inline;
  31222. begin
  31223. pTDefRegMap(@Self)^.clr := $00008000;
  31224. end;
  31225. procedure TUART4_U1BSTA.setUTXISEL1(thebits : TBits_1); inline;
  31226. begin
  31227. if thebits = 0 then
  31228. pTDefRegMap(@Self)^.clr := $00008000
  31229. else
  31230. pTDefRegMap(@Self)^.&set := $00008000;
  31231. end;
  31232. function TUART4_U1BSTA.getUTXISEL1 : TBits_1; inline;
  31233. begin
  31234. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31235. end;
  31236. procedure TUART4_U1BSTA.setUTXSEL(thebits : TBits_2); inline;
  31237. begin
  31238. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31239. end;
  31240. function TUART4_U1BSTA.getUTXSEL : TBits_2; inline;
  31241. begin
  31242. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31243. end;
  31244. procedure TUART4_U1BSTA.setw(thebits : TBits_32); inline;
  31245. begin
  31246. pTDefRegMap(@Self)^.val := thebits;
  31247. end;
  31248. function TUART4_U1BSTA.getw : TBits_32; inline;
  31249. begin
  31250. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31251. end;
  31252. procedure TUART4_U4STA.setURXDA; inline;
  31253. begin
  31254. pTDefRegMap(@Self)^.&set := $00000001;
  31255. end;
  31256. procedure TUART4_U4STA.clearURXDA; inline;
  31257. begin
  31258. pTDefRegMap(@Self)^.clr := $00000001;
  31259. end;
  31260. procedure TUART4_U4STA.setURXDA(thebits : TBits_1); inline;
  31261. begin
  31262. if thebits = 0 then
  31263. pTDefRegMap(@Self)^.clr := $00000001
  31264. else
  31265. pTDefRegMap(@Self)^.&set := $00000001;
  31266. end;
  31267. function TUART4_U4STA.getURXDA : TBits_1; inline;
  31268. begin
  31269. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31270. end;
  31271. procedure TUART4_U4STA.setOERR; inline;
  31272. begin
  31273. pTDefRegMap(@Self)^.&set := $00000002;
  31274. end;
  31275. procedure TUART4_U4STA.clearOERR; inline;
  31276. begin
  31277. pTDefRegMap(@Self)^.clr := $00000002;
  31278. end;
  31279. procedure TUART4_U4STA.setOERR(thebits : TBits_1); inline;
  31280. begin
  31281. if thebits = 0 then
  31282. pTDefRegMap(@Self)^.clr := $00000002
  31283. else
  31284. pTDefRegMap(@Self)^.&set := $00000002;
  31285. end;
  31286. function TUART4_U4STA.getOERR : TBits_1; inline;
  31287. begin
  31288. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31289. end;
  31290. procedure TUART4_U4STA.setFERR; inline;
  31291. begin
  31292. pTDefRegMap(@Self)^.&set := $00000004;
  31293. end;
  31294. procedure TUART4_U4STA.clearFERR; inline;
  31295. begin
  31296. pTDefRegMap(@Self)^.clr := $00000004;
  31297. end;
  31298. procedure TUART4_U4STA.setFERR(thebits : TBits_1); inline;
  31299. begin
  31300. if thebits = 0 then
  31301. pTDefRegMap(@Self)^.clr := $00000004
  31302. else
  31303. pTDefRegMap(@Self)^.&set := $00000004;
  31304. end;
  31305. function TUART4_U4STA.getFERR : TBits_1; inline;
  31306. begin
  31307. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31308. end;
  31309. procedure TUART4_U4STA.setPERR; inline;
  31310. begin
  31311. pTDefRegMap(@Self)^.&set := $00000008;
  31312. end;
  31313. procedure TUART4_U4STA.clearPERR; inline;
  31314. begin
  31315. pTDefRegMap(@Self)^.clr := $00000008;
  31316. end;
  31317. procedure TUART4_U4STA.setPERR(thebits : TBits_1); inline;
  31318. begin
  31319. if thebits = 0 then
  31320. pTDefRegMap(@Self)^.clr := $00000008
  31321. else
  31322. pTDefRegMap(@Self)^.&set := $00000008;
  31323. end;
  31324. function TUART4_U4STA.getPERR : TBits_1; inline;
  31325. begin
  31326. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31327. end;
  31328. procedure TUART4_U4STA.setRIDLE; inline;
  31329. begin
  31330. pTDefRegMap(@Self)^.&set := $00000010;
  31331. end;
  31332. procedure TUART4_U4STA.clearRIDLE; inline;
  31333. begin
  31334. pTDefRegMap(@Self)^.clr := $00000010;
  31335. end;
  31336. procedure TUART4_U4STA.setRIDLE(thebits : TBits_1); inline;
  31337. begin
  31338. if thebits = 0 then
  31339. pTDefRegMap(@Self)^.clr := $00000010
  31340. else
  31341. pTDefRegMap(@Self)^.&set := $00000010;
  31342. end;
  31343. function TUART4_U4STA.getRIDLE : TBits_1; inline;
  31344. begin
  31345. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31346. end;
  31347. procedure TUART4_U4STA.setADDEN; inline;
  31348. begin
  31349. pTDefRegMap(@Self)^.&set := $00000020;
  31350. end;
  31351. procedure TUART4_U4STA.clearADDEN; inline;
  31352. begin
  31353. pTDefRegMap(@Self)^.clr := $00000020;
  31354. end;
  31355. procedure TUART4_U4STA.setADDEN(thebits : TBits_1); inline;
  31356. begin
  31357. if thebits = 0 then
  31358. pTDefRegMap(@Self)^.clr := $00000020
  31359. else
  31360. pTDefRegMap(@Self)^.&set := $00000020;
  31361. end;
  31362. function TUART4_U4STA.getADDEN : TBits_1; inline;
  31363. begin
  31364. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31365. end;
  31366. procedure TUART4_U4STA.setURXISEL(thebits : TBits_2); inline;
  31367. begin
  31368. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  31369. end;
  31370. function TUART4_U4STA.getURXISEL : TBits_2; inline;
  31371. begin
  31372. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  31373. end;
  31374. procedure TUART4_U4STA.setTRMT; inline;
  31375. begin
  31376. pTDefRegMap(@Self)^.&set := $00000100;
  31377. end;
  31378. procedure TUART4_U4STA.clearTRMT; inline;
  31379. begin
  31380. pTDefRegMap(@Self)^.clr := $00000100;
  31381. end;
  31382. procedure TUART4_U4STA.setTRMT(thebits : TBits_1); inline;
  31383. begin
  31384. if thebits = 0 then
  31385. pTDefRegMap(@Self)^.clr := $00000100
  31386. else
  31387. pTDefRegMap(@Self)^.&set := $00000100;
  31388. end;
  31389. function TUART4_U4STA.getTRMT : TBits_1; inline;
  31390. begin
  31391. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31392. end;
  31393. procedure TUART4_U4STA.setUTXBF; inline;
  31394. begin
  31395. pTDefRegMap(@Self)^.&set := $00000200;
  31396. end;
  31397. procedure TUART4_U4STA.clearUTXBF; inline;
  31398. begin
  31399. pTDefRegMap(@Self)^.clr := $00000200;
  31400. end;
  31401. procedure TUART4_U4STA.setUTXBF(thebits : TBits_1); inline;
  31402. begin
  31403. if thebits = 0 then
  31404. pTDefRegMap(@Self)^.clr := $00000200
  31405. else
  31406. pTDefRegMap(@Self)^.&set := $00000200;
  31407. end;
  31408. function TUART4_U4STA.getUTXBF : TBits_1; inline;
  31409. begin
  31410. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31411. end;
  31412. procedure TUART4_U4STA.setUTXEN; inline;
  31413. begin
  31414. pTDefRegMap(@Self)^.&set := $00000400;
  31415. end;
  31416. procedure TUART4_U4STA.clearUTXEN; inline;
  31417. begin
  31418. pTDefRegMap(@Self)^.clr := $00000400;
  31419. end;
  31420. procedure TUART4_U4STA.setUTXEN(thebits : TBits_1); inline;
  31421. begin
  31422. if thebits = 0 then
  31423. pTDefRegMap(@Self)^.clr := $00000400
  31424. else
  31425. pTDefRegMap(@Self)^.&set := $00000400;
  31426. end;
  31427. function TUART4_U4STA.getUTXEN : TBits_1; inline;
  31428. begin
  31429. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  31430. end;
  31431. procedure TUART4_U4STA.setUTXBRK; inline;
  31432. begin
  31433. pTDefRegMap(@Self)^.&set := $00000800;
  31434. end;
  31435. procedure TUART4_U4STA.clearUTXBRK; inline;
  31436. begin
  31437. pTDefRegMap(@Self)^.clr := $00000800;
  31438. end;
  31439. procedure TUART4_U4STA.setUTXBRK(thebits : TBits_1); inline;
  31440. begin
  31441. if thebits = 0 then
  31442. pTDefRegMap(@Self)^.clr := $00000800
  31443. else
  31444. pTDefRegMap(@Self)^.&set := $00000800;
  31445. end;
  31446. function TUART4_U4STA.getUTXBRK : TBits_1; inline;
  31447. begin
  31448. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31449. end;
  31450. procedure TUART4_U4STA.setURXEN; inline;
  31451. begin
  31452. pTDefRegMap(@Self)^.&set := $00001000;
  31453. end;
  31454. procedure TUART4_U4STA.clearURXEN; inline;
  31455. begin
  31456. pTDefRegMap(@Self)^.clr := $00001000;
  31457. end;
  31458. procedure TUART4_U4STA.setURXEN(thebits : TBits_1); inline;
  31459. begin
  31460. if thebits = 0 then
  31461. pTDefRegMap(@Self)^.clr := $00001000
  31462. else
  31463. pTDefRegMap(@Self)^.&set := $00001000;
  31464. end;
  31465. function TUART4_U4STA.getURXEN : TBits_1; inline;
  31466. begin
  31467. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31468. end;
  31469. procedure TUART4_U4STA.setUTXINV; inline;
  31470. begin
  31471. pTDefRegMap(@Self)^.&set := $00002000;
  31472. end;
  31473. procedure TUART4_U4STA.clearUTXINV; inline;
  31474. begin
  31475. pTDefRegMap(@Self)^.clr := $00002000;
  31476. end;
  31477. procedure TUART4_U4STA.setUTXINV(thebits : TBits_1); inline;
  31478. begin
  31479. if thebits = 0 then
  31480. pTDefRegMap(@Self)^.clr := $00002000
  31481. else
  31482. pTDefRegMap(@Self)^.&set := $00002000;
  31483. end;
  31484. function TUART4_U4STA.getUTXINV : TBits_1; inline;
  31485. begin
  31486. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31487. end;
  31488. procedure TUART4_U4STA.setUTXISEL(thebits : TBits_2); inline;
  31489. begin
  31490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31491. end;
  31492. function TUART4_U4STA.getUTXISEL : TBits_2; inline;
  31493. begin
  31494. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31495. end;
  31496. procedure TUART4_U4STA.setADDR(thebits : TBits_8); inline;
  31497. begin
  31498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31499. end;
  31500. function TUART4_U4STA.getADDR : TBits_8; inline;
  31501. begin
  31502. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31503. end;
  31504. procedure TUART4_U4STA.setADM_EN; inline;
  31505. begin
  31506. pTDefRegMap(@Self)^.&set := $01000000;
  31507. end;
  31508. procedure TUART4_U4STA.clearADM_EN; inline;
  31509. begin
  31510. pTDefRegMap(@Self)^.clr := $01000000;
  31511. end;
  31512. procedure TUART4_U4STA.setADM_EN(thebits : TBits_1); inline;
  31513. begin
  31514. if thebits = 0 then
  31515. pTDefRegMap(@Self)^.clr := $01000000
  31516. else
  31517. pTDefRegMap(@Self)^.&set := $01000000;
  31518. end;
  31519. function TUART4_U4STA.getADM_EN : TBits_1; inline;
  31520. begin
  31521. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  31522. end;
  31523. procedure TUART4_U4STA.setURXISEL0; inline;
  31524. begin
  31525. pTDefRegMap(@Self)^.&set := $00000040;
  31526. end;
  31527. procedure TUART4_U4STA.clearURXISEL0; inline;
  31528. begin
  31529. pTDefRegMap(@Self)^.clr := $00000040;
  31530. end;
  31531. procedure TUART4_U4STA.setURXISEL0(thebits : TBits_1); inline;
  31532. begin
  31533. if thebits = 0 then
  31534. pTDefRegMap(@Self)^.clr := $00000040
  31535. else
  31536. pTDefRegMap(@Self)^.&set := $00000040;
  31537. end;
  31538. function TUART4_U4STA.getURXISEL0 : TBits_1; inline;
  31539. begin
  31540. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31541. end;
  31542. procedure TUART4_U4STA.setURXISEL1; inline;
  31543. begin
  31544. pTDefRegMap(@Self)^.&set := $00000080;
  31545. end;
  31546. procedure TUART4_U4STA.clearURXISEL1; inline;
  31547. begin
  31548. pTDefRegMap(@Self)^.clr := $00000080;
  31549. end;
  31550. procedure TUART4_U4STA.setURXISEL1(thebits : TBits_1); inline;
  31551. begin
  31552. if thebits = 0 then
  31553. pTDefRegMap(@Self)^.clr := $00000080
  31554. else
  31555. pTDefRegMap(@Self)^.&set := $00000080;
  31556. end;
  31557. function TUART4_U4STA.getURXISEL1 : TBits_1; inline;
  31558. begin
  31559. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31560. end;
  31561. procedure TUART4_U4STA.setUTXISEL0; inline;
  31562. begin
  31563. pTDefRegMap(@Self)^.&set := $00004000;
  31564. end;
  31565. procedure TUART4_U4STA.clearUTXISEL0; inline;
  31566. begin
  31567. pTDefRegMap(@Self)^.clr := $00004000;
  31568. end;
  31569. procedure TUART4_U4STA.setUTXISEL0(thebits : TBits_1); inline;
  31570. begin
  31571. if thebits = 0 then
  31572. pTDefRegMap(@Self)^.clr := $00004000
  31573. else
  31574. pTDefRegMap(@Self)^.&set := $00004000;
  31575. end;
  31576. function TUART4_U4STA.getUTXISEL0 : TBits_1; inline;
  31577. begin
  31578. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  31579. end;
  31580. procedure TUART4_U4STA.setUTXISEL1; inline;
  31581. begin
  31582. pTDefRegMap(@Self)^.&set := $00008000;
  31583. end;
  31584. procedure TUART4_U4STA.clearUTXISEL1; inline;
  31585. begin
  31586. pTDefRegMap(@Self)^.clr := $00008000;
  31587. end;
  31588. procedure TUART4_U4STA.setUTXISEL1(thebits : TBits_1); inline;
  31589. begin
  31590. if thebits = 0 then
  31591. pTDefRegMap(@Self)^.clr := $00008000
  31592. else
  31593. pTDefRegMap(@Self)^.&set := $00008000;
  31594. end;
  31595. function TUART4_U4STA.getUTXISEL1 : TBits_1; inline;
  31596. begin
  31597. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31598. end;
  31599. procedure TUART4_U4STA.setUTXSEL(thebits : TBits_2); inline;
  31600. begin
  31601. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  31602. end;
  31603. function TUART4_U4STA.getUTXSEL : TBits_2; inline;
  31604. begin
  31605. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  31606. end;
  31607. procedure TUART4_U4STA.setw(thebits : TBits_32); inline;
  31608. begin
  31609. pTDefRegMap(@Self)^.val := thebits;
  31610. end;
  31611. function TUART4_U4STA.getw : TBits_32; inline;
  31612. begin
  31613. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31614. end;
  31615. procedure TUART3_U2AMODE.setSTSEL; inline;
  31616. begin
  31617. pTDefRegMap(@Self)^.&set := $00000001;
  31618. end;
  31619. procedure TUART3_U2AMODE.clearSTSEL; inline;
  31620. begin
  31621. pTDefRegMap(@Self)^.clr := $00000001;
  31622. end;
  31623. procedure TUART3_U2AMODE.setSTSEL(thebits : TBits_1); inline;
  31624. begin
  31625. if thebits = 0 then
  31626. pTDefRegMap(@Self)^.clr := $00000001
  31627. else
  31628. pTDefRegMap(@Self)^.&set := $00000001;
  31629. end;
  31630. function TUART3_U2AMODE.getSTSEL : TBits_1; inline;
  31631. begin
  31632. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31633. end;
  31634. procedure TUART3_U2AMODE.setPDSEL(thebits : TBits_2); inline;
  31635. begin
  31636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31637. end;
  31638. function TUART3_U2AMODE.getPDSEL : TBits_2; inline;
  31639. begin
  31640. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31641. end;
  31642. procedure TUART3_U2AMODE.setBRGH; inline;
  31643. begin
  31644. pTDefRegMap(@Self)^.&set := $00000008;
  31645. end;
  31646. procedure TUART3_U2AMODE.clearBRGH; inline;
  31647. begin
  31648. pTDefRegMap(@Self)^.clr := $00000008;
  31649. end;
  31650. procedure TUART3_U2AMODE.setBRGH(thebits : TBits_1); inline;
  31651. begin
  31652. if thebits = 0 then
  31653. pTDefRegMap(@Self)^.clr := $00000008
  31654. else
  31655. pTDefRegMap(@Self)^.&set := $00000008;
  31656. end;
  31657. function TUART3_U2AMODE.getBRGH : TBits_1; inline;
  31658. begin
  31659. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31660. end;
  31661. procedure TUART3_U2AMODE.setRXINV; inline;
  31662. begin
  31663. pTDefRegMap(@Self)^.&set := $00000010;
  31664. end;
  31665. procedure TUART3_U2AMODE.clearRXINV; inline;
  31666. begin
  31667. pTDefRegMap(@Self)^.clr := $00000010;
  31668. end;
  31669. procedure TUART3_U2AMODE.setRXINV(thebits : TBits_1); inline;
  31670. begin
  31671. if thebits = 0 then
  31672. pTDefRegMap(@Self)^.clr := $00000010
  31673. else
  31674. pTDefRegMap(@Self)^.&set := $00000010;
  31675. end;
  31676. function TUART3_U2AMODE.getRXINV : TBits_1; inline;
  31677. begin
  31678. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31679. end;
  31680. procedure TUART3_U2AMODE.setABAUD; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.&set := $00000020;
  31683. end;
  31684. procedure TUART3_U2AMODE.clearABAUD; inline;
  31685. begin
  31686. pTDefRegMap(@Self)^.clr := $00000020;
  31687. end;
  31688. procedure TUART3_U2AMODE.setABAUD(thebits : TBits_1); inline;
  31689. begin
  31690. if thebits = 0 then
  31691. pTDefRegMap(@Self)^.clr := $00000020
  31692. else
  31693. pTDefRegMap(@Self)^.&set := $00000020;
  31694. end;
  31695. function TUART3_U2AMODE.getABAUD : TBits_1; inline;
  31696. begin
  31697. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31698. end;
  31699. procedure TUART3_U2AMODE.setLPBACK; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.&set := $00000040;
  31702. end;
  31703. procedure TUART3_U2AMODE.clearLPBACK; inline;
  31704. begin
  31705. pTDefRegMap(@Self)^.clr := $00000040;
  31706. end;
  31707. procedure TUART3_U2AMODE.setLPBACK(thebits : TBits_1); inline;
  31708. begin
  31709. if thebits = 0 then
  31710. pTDefRegMap(@Self)^.clr := $00000040
  31711. else
  31712. pTDefRegMap(@Self)^.&set := $00000040;
  31713. end;
  31714. function TUART3_U2AMODE.getLPBACK : TBits_1; inline;
  31715. begin
  31716. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31717. end;
  31718. procedure TUART3_U2AMODE.setWAKE; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.&set := $00000080;
  31721. end;
  31722. procedure TUART3_U2AMODE.clearWAKE; inline;
  31723. begin
  31724. pTDefRegMap(@Self)^.clr := $00000080;
  31725. end;
  31726. procedure TUART3_U2AMODE.setWAKE(thebits : TBits_1); inline;
  31727. begin
  31728. if thebits = 0 then
  31729. pTDefRegMap(@Self)^.clr := $00000080
  31730. else
  31731. pTDefRegMap(@Self)^.&set := $00000080;
  31732. end;
  31733. function TUART3_U2AMODE.getWAKE : TBits_1; inline;
  31734. begin
  31735. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31736. end;
  31737. procedure TUART3_U2AMODE.setUEN(thebits : TBits_2); inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  31740. end;
  31741. function TUART3_U2AMODE.getUEN : TBits_2; inline;
  31742. begin
  31743. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  31744. end;
  31745. procedure TUART3_U2AMODE.setRTSMD; inline;
  31746. begin
  31747. pTDefRegMap(@Self)^.&set := $00000800;
  31748. end;
  31749. procedure TUART3_U2AMODE.clearRTSMD; inline;
  31750. begin
  31751. pTDefRegMap(@Self)^.clr := $00000800;
  31752. end;
  31753. procedure TUART3_U2AMODE.setRTSMD(thebits : TBits_1); inline;
  31754. begin
  31755. if thebits = 0 then
  31756. pTDefRegMap(@Self)^.clr := $00000800
  31757. else
  31758. pTDefRegMap(@Self)^.&set := $00000800;
  31759. end;
  31760. function TUART3_U2AMODE.getRTSMD : TBits_1; inline;
  31761. begin
  31762. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  31763. end;
  31764. procedure TUART3_U2AMODE.setIREN; inline;
  31765. begin
  31766. pTDefRegMap(@Self)^.&set := $00001000;
  31767. end;
  31768. procedure TUART3_U2AMODE.clearIREN; inline;
  31769. begin
  31770. pTDefRegMap(@Self)^.clr := $00001000;
  31771. end;
  31772. procedure TUART3_U2AMODE.setIREN(thebits : TBits_1); inline;
  31773. begin
  31774. if thebits = 0 then
  31775. pTDefRegMap(@Self)^.clr := $00001000
  31776. else
  31777. pTDefRegMap(@Self)^.&set := $00001000;
  31778. end;
  31779. function TUART3_U2AMODE.getIREN : TBits_1; inline;
  31780. begin
  31781. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  31782. end;
  31783. procedure TUART3_U2AMODE.setSIDL; inline;
  31784. begin
  31785. pTDefRegMap(@Self)^.&set := $00002000;
  31786. end;
  31787. procedure TUART3_U2AMODE.clearSIDL; inline;
  31788. begin
  31789. pTDefRegMap(@Self)^.clr := $00002000;
  31790. end;
  31791. procedure TUART3_U2AMODE.setSIDL(thebits : TBits_1); inline;
  31792. begin
  31793. if thebits = 0 then
  31794. pTDefRegMap(@Self)^.clr := $00002000
  31795. else
  31796. pTDefRegMap(@Self)^.&set := $00002000;
  31797. end;
  31798. function TUART3_U2AMODE.getSIDL : TBits_1; inline;
  31799. begin
  31800. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31801. end;
  31802. procedure TUART3_U2AMODE.setON; inline;
  31803. begin
  31804. pTDefRegMap(@Self)^.&set := $00008000;
  31805. end;
  31806. procedure TUART3_U2AMODE.clearON; inline;
  31807. begin
  31808. pTDefRegMap(@Self)^.clr := $00008000;
  31809. end;
  31810. procedure TUART3_U2AMODE.setON(thebits : TBits_1); inline;
  31811. begin
  31812. if thebits = 0 then
  31813. pTDefRegMap(@Self)^.clr := $00008000
  31814. else
  31815. pTDefRegMap(@Self)^.&set := $00008000;
  31816. end;
  31817. function TUART3_U2AMODE.getON : TBits_1; inline;
  31818. begin
  31819. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31820. end;
  31821. procedure TUART3_U2AMODE.setPDSEL0; inline;
  31822. begin
  31823. pTDefRegMap(@Self)^.&set := $00000002;
  31824. end;
  31825. procedure TUART3_U2AMODE.clearPDSEL0; inline;
  31826. begin
  31827. pTDefRegMap(@Self)^.clr := $00000002;
  31828. end;
  31829. procedure TUART3_U2AMODE.setPDSEL0(thebits : TBits_1); inline;
  31830. begin
  31831. if thebits = 0 then
  31832. pTDefRegMap(@Self)^.clr := $00000002
  31833. else
  31834. pTDefRegMap(@Self)^.&set := $00000002;
  31835. end;
  31836. function TUART3_U2AMODE.getPDSEL0 : TBits_1; inline;
  31837. begin
  31838. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31839. end;
  31840. procedure TUART3_U2AMODE.setPDSEL1; inline;
  31841. begin
  31842. pTDefRegMap(@Self)^.&set := $00000004;
  31843. end;
  31844. procedure TUART3_U2AMODE.clearPDSEL1; inline;
  31845. begin
  31846. pTDefRegMap(@Self)^.clr := $00000004;
  31847. end;
  31848. procedure TUART3_U2AMODE.setPDSEL1(thebits : TBits_1); inline;
  31849. begin
  31850. if thebits = 0 then
  31851. pTDefRegMap(@Self)^.clr := $00000004
  31852. else
  31853. pTDefRegMap(@Self)^.&set := $00000004;
  31854. end;
  31855. function TUART3_U2AMODE.getPDSEL1 : TBits_1; inline;
  31856. begin
  31857. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31858. end;
  31859. procedure TUART3_U2AMODE.setUEN0; inline;
  31860. begin
  31861. pTDefRegMap(@Self)^.&set := $00000100;
  31862. end;
  31863. procedure TUART3_U2AMODE.clearUEN0; inline;
  31864. begin
  31865. pTDefRegMap(@Self)^.clr := $00000100;
  31866. end;
  31867. procedure TUART3_U2AMODE.setUEN0(thebits : TBits_1); inline;
  31868. begin
  31869. if thebits = 0 then
  31870. pTDefRegMap(@Self)^.clr := $00000100
  31871. else
  31872. pTDefRegMap(@Self)^.&set := $00000100;
  31873. end;
  31874. function TUART3_U2AMODE.getUEN0 : TBits_1; inline;
  31875. begin
  31876. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31877. end;
  31878. procedure TUART3_U2AMODE.setUEN1; inline;
  31879. begin
  31880. pTDefRegMap(@Self)^.&set := $00000200;
  31881. end;
  31882. procedure TUART3_U2AMODE.clearUEN1; inline;
  31883. begin
  31884. pTDefRegMap(@Self)^.clr := $00000200;
  31885. end;
  31886. procedure TUART3_U2AMODE.setUEN1(thebits : TBits_1); inline;
  31887. begin
  31888. if thebits = 0 then
  31889. pTDefRegMap(@Self)^.clr := $00000200
  31890. else
  31891. pTDefRegMap(@Self)^.&set := $00000200;
  31892. end;
  31893. function TUART3_U2AMODE.getUEN1 : TBits_1; inline;
  31894. begin
  31895. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  31896. end;
  31897. procedure TUART3_U2AMODE.setUSIDL; inline;
  31898. begin
  31899. pTDefRegMap(@Self)^.&set := $00002000;
  31900. end;
  31901. procedure TUART3_U2AMODE.clearUSIDL; inline;
  31902. begin
  31903. pTDefRegMap(@Self)^.clr := $00002000;
  31904. end;
  31905. procedure TUART3_U2AMODE.setUSIDL(thebits : TBits_1); inline;
  31906. begin
  31907. if thebits = 0 then
  31908. pTDefRegMap(@Self)^.clr := $00002000
  31909. else
  31910. pTDefRegMap(@Self)^.&set := $00002000;
  31911. end;
  31912. function TUART3_U2AMODE.getUSIDL : TBits_1; inline;
  31913. begin
  31914. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  31915. end;
  31916. procedure TUART3_U2AMODE.setUARTEN; inline;
  31917. begin
  31918. pTDefRegMap(@Self)^.&set := $00008000;
  31919. end;
  31920. procedure TUART3_U2AMODE.clearUARTEN; inline;
  31921. begin
  31922. pTDefRegMap(@Self)^.clr := $00008000;
  31923. end;
  31924. procedure TUART3_U2AMODE.setUARTEN(thebits : TBits_1); inline;
  31925. begin
  31926. if thebits = 0 then
  31927. pTDefRegMap(@Self)^.clr := $00008000
  31928. else
  31929. pTDefRegMap(@Self)^.&set := $00008000;
  31930. end;
  31931. function TUART3_U2AMODE.getUARTEN : TBits_1; inline;
  31932. begin
  31933. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31934. end;
  31935. procedure TUART3_U2AMODE.setw(thebits : TBits_32); inline;
  31936. begin
  31937. pTDefRegMap(@Self)^.val := thebits;
  31938. end;
  31939. function TUART3_U2AMODE.getw : TBits_32; inline;
  31940. begin
  31941. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31942. end;
  31943. procedure TUART3_U3MODE.setSTSEL; inline;
  31944. begin
  31945. pTDefRegMap(@Self)^.&set := $00000001;
  31946. end;
  31947. procedure TUART3_U3MODE.clearSTSEL; inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.clr := $00000001;
  31950. end;
  31951. procedure TUART3_U3MODE.setSTSEL(thebits : TBits_1); inline;
  31952. begin
  31953. if thebits = 0 then
  31954. pTDefRegMap(@Self)^.clr := $00000001
  31955. else
  31956. pTDefRegMap(@Self)^.&set := $00000001;
  31957. end;
  31958. function TUART3_U3MODE.getSTSEL : TBits_1; inline;
  31959. begin
  31960. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31961. end;
  31962. procedure TUART3_U3MODE.setPDSEL(thebits : TBits_2); inline;
  31963. begin
  31964. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  31965. end;
  31966. function TUART3_U3MODE.getPDSEL : TBits_2; inline;
  31967. begin
  31968. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  31969. end;
  31970. procedure TUART3_U3MODE.setBRGH; inline;
  31971. begin
  31972. pTDefRegMap(@Self)^.&set := $00000008;
  31973. end;
  31974. procedure TUART3_U3MODE.clearBRGH; inline;
  31975. begin
  31976. pTDefRegMap(@Self)^.clr := $00000008;
  31977. end;
  31978. procedure TUART3_U3MODE.setBRGH(thebits : TBits_1); inline;
  31979. begin
  31980. if thebits = 0 then
  31981. pTDefRegMap(@Self)^.clr := $00000008
  31982. else
  31983. pTDefRegMap(@Self)^.&set := $00000008;
  31984. end;
  31985. function TUART3_U3MODE.getBRGH : TBits_1; inline;
  31986. begin
  31987. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31988. end;
  31989. procedure TUART3_U3MODE.setRXINV; inline;
  31990. begin
  31991. pTDefRegMap(@Self)^.&set := $00000010;
  31992. end;
  31993. procedure TUART3_U3MODE.clearRXINV; inline;
  31994. begin
  31995. pTDefRegMap(@Self)^.clr := $00000010;
  31996. end;
  31997. procedure TUART3_U3MODE.setRXINV(thebits : TBits_1); inline;
  31998. begin
  31999. if thebits = 0 then
  32000. pTDefRegMap(@Self)^.clr := $00000010
  32001. else
  32002. pTDefRegMap(@Self)^.&set := $00000010;
  32003. end;
  32004. function TUART3_U3MODE.getRXINV : TBits_1; inline;
  32005. begin
  32006. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32007. end;
  32008. procedure TUART3_U3MODE.setABAUD; inline;
  32009. begin
  32010. pTDefRegMap(@Self)^.&set := $00000020;
  32011. end;
  32012. procedure TUART3_U3MODE.clearABAUD; inline;
  32013. begin
  32014. pTDefRegMap(@Self)^.clr := $00000020;
  32015. end;
  32016. procedure TUART3_U3MODE.setABAUD(thebits : TBits_1); inline;
  32017. begin
  32018. if thebits = 0 then
  32019. pTDefRegMap(@Self)^.clr := $00000020
  32020. else
  32021. pTDefRegMap(@Self)^.&set := $00000020;
  32022. end;
  32023. function TUART3_U3MODE.getABAUD : TBits_1; inline;
  32024. begin
  32025. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32026. end;
  32027. procedure TUART3_U3MODE.setLPBACK; inline;
  32028. begin
  32029. pTDefRegMap(@Self)^.&set := $00000040;
  32030. end;
  32031. procedure TUART3_U3MODE.clearLPBACK; inline;
  32032. begin
  32033. pTDefRegMap(@Self)^.clr := $00000040;
  32034. end;
  32035. procedure TUART3_U3MODE.setLPBACK(thebits : TBits_1); inline;
  32036. begin
  32037. if thebits = 0 then
  32038. pTDefRegMap(@Self)^.clr := $00000040
  32039. else
  32040. pTDefRegMap(@Self)^.&set := $00000040;
  32041. end;
  32042. function TUART3_U3MODE.getLPBACK : TBits_1; inline;
  32043. begin
  32044. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32045. end;
  32046. procedure TUART3_U3MODE.setWAKE; inline;
  32047. begin
  32048. pTDefRegMap(@Self)^.&set := $00000080;
  32049. end;
  32050. procedure TUART3_U3MODE.clearWAKE; inline;
  32051. begin
  32052. pTDefRegMap(@Self)^.clr := $00000080;
  32053. end;
  32054. procedure TUART3_U3MODE.setWAKE(thebits : TBits_1); inline;
  32055. begin
  32056. if thebits = 0 then
  32057. pTDefRegMap(@Self)^.clr := $00000080
  32058. else
  32059. pTDefRegMap(@Self)^.&set := $00000080;
  32060. end;
  32061. function TUART3_U3MODE.getWAKE : TBits_1; inline;
  32062. begin
  32063. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32064. end;
  32065. procedure TUART3_U3MODE.setUEN(thebits : TBits_2); inline;
  32066. begin
  32067. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  32068. end;
  32069. function TUART3_U3MODE.getUEN : TBits_2; inline;
  32070. begin
  32071. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  32072. end;
  32073. procedure TUART3_U3MODE.setRTSMD; inline;
  32074. begin
  32075. pTDefRegMap(@Self)^.&set := $00000800;
  32076. end;
  32077. procedure TUART3_U3MODE.clearRTSMD; inline;
  32078. begin
  32079. pTDefRegMap(@Self)^.clr := $00000800;
  32080. end;
  32081. procedure TUART3_U3MODE.setRTSMD(thebits : TBits_1); inline;
  32082. begin
  32083. if thebits = 0 then
  32084. pTDefRegMap(@Self)^.clr := $00000800
  32085. else
  32086. pTDefRegMap(@Self)^.&set := $00000800;
  32087. end;
  32088. function TUART3_U3MODE.getRTSMD : TBits_1; inline;
  32089. begin
  32090. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32091. end;
  32092. procedure TUART3_U3MODE.setIREN; inline;
  32093. begin
  32094. pTDefRegMap(@Self)^.&set := $00001000;
  32095. end;
  32096. procedure TUART3_U3MODE.clearIREN; inline;
  32097. begin
  32098. pTDefRegMap(@Self)^.clr := $00001000;
  32099. end;
  32100. procedure TUART3_U3MODE.setIREN(thebits : TBits_1); inline;
  32101. begin
  32102. if thebits = 0 then
  32103. pTDefRegMap(@Self)^.clr := $00001000
  32104. else
  32105. pTDefRegMap(@Self)^.&set := $00001000;
  32106. end;
  32107. function TUART3_U3MODE.getIREN : TBits_1; inline;
  32108. begin
  32109. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32110. end;
  32111. procedure TUART3_U3MODE.setSIDL; inline;
  32112. begin
  32113. pTDefRegMap(@Self)^.&set := $00002000;
  32114. end;
  32115. procedure TUART3_U3MODE.clearSIDL; inline;
  32116. begin
  32117. pTDefRegMap(@Self)^.clr := $00002000;
  32118. end;
  32119. procedure TUART3_U3MODE.setSIDL(thebits : TBits_1); inline;
  32120. begin
  32121. if thebits = 0 then
  32122. pTDefRegMap(@Self)^.clr := $00002000
  32123. else
  32124. pTDefRegMap(@Self)^.&set := $00002000;
  32125. end;
  32126. function TUART3_U3MODE.getSIDL : TBits_1; inline;
  32127. begin
  32128. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32129. end;
  32130. procedure TUART3_U3MODE.setON; inline;
  32131. begin
  32132. pTDefRegMap(@Self)^.&set := $00008000;
  32133. end;
  32134. procedure TUART3_U3MODE.clearON; inline;
  32135. begin
  32136. pTDefRegMap(@Self)^.clr := $00008000;
  32137. end;
  32138. procedure TUART3_U3MODE.setON(thebits : TBits_1); inline;
  32139. begin
  32140. if thebits = 0 then
  32141. pTDefRegMap(@Self)^.clr := $00008000
  32142. else
  32143. pTDefRegMap(@Self)^.&set := $00008000;
  32144. end;
  32145. function TUART3_U3MODE.getON : TBits_1; inline;
  32146. begin
  32147. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32148. end;
  32149. procedure TUART3_U3MODE.setPDSEL0; inline;
  32150. begin
  32151. pTDefRegMap(@Self)^.&set := $00000002;
  32152. end;
  32153. procedure TUART3_U3MODE.clearPDSEL0; inline;
  32154. begin
  32155. pTDefRegMap(@Self)^.clr := $00000002;
  32156. end;
  32157. procedure TUART3_U3MODE.setPDSEL0(thebits : TBits_1); inline;
  32158. begin
  32159. if thebits = 0 then
  32160. pTDefRegMap(@Self)^.clr := $00000002
  32161. else
  32162. pTDefRegMap(@Self)^.&set := $00000002;
  32163. end;
  32164. function TUART3_U3MODE.getPDSEL0 : TBits_1; inline;
  32165. begin
  32166. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32167. end;
  32168. procedure TUART3_U3MODE.setPDSEL1; inline;
  32169. begin
  32170. pTDefRegMap(@Self)^.&set := $00000004;
  32171. end;
  32172. procedure TUART3_U3MODE.clearPDSEL1; inline;
  32173. begin
  32174. pTDefRegMap(@Self)^.clr := $00000004;
  32175. end;
  32176. procedure TUART3_U3MODE.setPDSEL1(thebits : TBits_1); inline;
  32177. begin
  32178. if thebits = 0 then
  32179. pTDefRegMap(@Self)^.clr := $00000004
  32180. else
  32181. pTDefRegMap(@Self)^.&set := $00000004;
  32182. end;
  32183. function TUART3_U3MODE.getPDSEL1 : TBits_1; inline;
  32184. begin
  32185. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32186. end;
  32187. procedure TUART3_U3MODE.setUEN0; inline;
  32188. begin
  32189. pTDefRegMap(@Self)^.&set := $00000100;
  32190. end;
  32191. procedure TUART3_U3MODE.clearUEN0; inline;
  32192. begin
  32193. pTDefRegMap(@Self)^.clr := $00000100;
  32194. end;
  32195. procedure TUART3_U3MODE.setUEN0(thebits : TBits_1); inline;
  32196. begin
  32197. if thebits = 0 then
  32198. pTDefRegMap(@Self)^.clr := $00000100
  32199. else
  32200. pTDefRegMap(@Self)^.&set := $00000100;
  32201. end;
  32202. function TUART3_U3MODE.getUEN0 : TBits_1; inline;
  32203. begin
  32204. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32205. end;
  32206. procedure TUART3_U3MODE.setUEN1; inline;
  32207. begin
  32208. pTDefRegMap(@Self)^.&set := $00000200;
  32209. end;
  32210. procedure TUART3_U3MODE.clearUEN1; inline;
  32211. begin
  32212. pTDefRegMap(@Self)^.clr := $00000200;
  32213. end;
  32214. procedure TUART3_U3MODE.setUEN1(thebits : TBits_1); inline;
  32215. begin
  32216. if thebits = 0 then
  32217. pTDefRegMap(@Self)^.clr := $00000200
  32218. else
  32219. pTDefRegMap(@Self)^.&set := $00000200;
  32220. end;
  32221. function TUART3_U3MODE.getUEN1 : TBits_1; inline;
  32222. begin
  32223. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32224. end;
  32225. procedure TUART3_U3MODE.setUSIDL; inline;
  32226. begin
  32227. pTDefRegMap(@Self)^.&set := $00002000;
  32228. end;
  32229. procedure TUART3_U3MODE.clearUSIDL; inline;
  32230. begin
  32231. pTDefRegMap(@Self)^.clr := $00002000;
  32232. end;
  32233. procedure TUART3_U3MODE.setUSIDL(thebits : TBits_1); inline;
  32234. begin
  32235. if thebits = 0 then
  32236. pTDefRegMap(@Self)^.clr := $00002000
  32237. else
  32238. pTDefRegMap(@Self)^.&set := $00002000;
  32239. end;
  32240. function TUART3_U3MODE.getUSIDL : TBits_1; inline;
  32241. begin
  32242. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32243. end;
  32244. procedure TUART3_U3MODE.setUARTEN; inline;
  32245. begin
  32246. pTDefRegMap(@Self)^.&set := $00008000;
  32247. end;
  32248. procedure TUART3_U3MODE.clearUARTEN; inline;
  32249. begin
  32250. pTDefRegMap(@Self)^.clr := $00008000;
  32251. end;
  32252. procedure TUART3_U3MODE.setUARTEN(thebits : TBits_1); inline;
  32253. begin
  32254. if thebits = 0 then
  32255. pTDefRegMap(@Self)^.clr := $00008000
  32256. else
  32257. pTDefRegMap(@Self)^.&set := $00008000;
  32258. end;
  32259. function TUART3_U3MODE.getUARTEN : TBits_1; inline;
  32260. begin
  32261. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32262. end;
  32263. procedure TUART3_U3MODE.setw(thebits : TBits_32); inline;
  32264. begin
  32265. pTDefRegMap(@Self)^.val := thebits;
  32266. end;
  32267. function TUART3_U3MODE.getw : TBits_32; inline;
  32268. begin
  32269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32270. end;
  32271. procedure TUART3_U2ASTA.setURXDA; inline;
  32272. begin
  32273. pTDefRegMap(@Self)^.&set := $00000001;
  32274. end;
  32275. procedure TUART3_U2ASTA.clearURXDA; inline;
  32276. begin
  32277. pTDefRegMap(@Self)^.clr := $00000001;
  32278. end;
  32279. procedure TUART3_U2ASTA.setURXDA(thebits : TBits_1); inline;
  32280. begin
  32281. if thebits = 0 then
  32282. pTDefRegMap(@Self)^.clr := $00000001
  32283. else
  32284. pTDefRegMap(@Self)^.&set := $00000001;
  32285. end;
  32286. function TUART3_U2ASTA.getURXDA : TBits_1; inline;
  32287. begin
  32288. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32289. end;
  32290. procedure TUART3_U2ASTA.setOERR; inline;
  32291. begin
  32292. pTDefRegMap(@Self)^.&set := $00000002;
  32293. end;
  32294. procedure TUART3_U2ASTA.clearOERR; inline;
  32295. begin
  32296. pTDefRegMap(@Self)^.clr := $00000002;
  32297. end;
  32298. procedure TUART3_U2ASTA.setOERR(thebits : TBits_1); inline;
  32299. begin
  32300. if thebits = 0 then
  32301. pTDefRegMap(@Self)^.clr := $00000002
  32302. else
  32303. pTDefRegMap(@Self)^.&set := $00000002;
  32304. end;
  32305. function TUART3_U2ASTA.getOERR : TBits_1; inline;
  32306. begin
  32307. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32308. end;
  32309. procedure TUART3_U2ASTA.setFERR; inline;
  32310. begin
  32311. pTDefRegMap(@Self)^.&set := $00000004;
  32312. end;
  32313. procedure TUART3_U2ASTA.clearFERR; inline;
  32314. begin
  32315. pTDefRegMap(@Self)^.clr := $00000004;
  32316. end;
  32317. procedure TUART3_U2ASTA.setFERR(thebits : TBits_1); inline;
  32318. begin
  32319. if thebits = 0 then
  32320. pTDefRegMap(@Self)^.clr := $00000004
  32321. else
  32322. pTDefRegMap(@Self)^.&set := $00000004;
  32323. end;
  32324. function TUART3_U2ASTA.getFERR : TBits_1; inline;
  32325. begin
  32326. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32327. end;
  32328. procedure TUART3_U2ASTA.setPERR; inline;
  32329. begin
  32330. pTDefRegMap(@Self)^.&set := $00000008;
  32331. end;
  32332. procedure TUART3_U2ASTA.clearPERR; inline;
  32333. begin
  32334. pTDefRegMap(@Self)^.clr := $00000008;
  32335. end;
  32336. procedure TUART3_U2ASTA.setPERR(thebits : TBits_1); inline;
  32337. begin
  32338. if thebits = 0 then
  32339. pTDefRegMap(@Self)^.clr := $00000008
  32340. else
  32341. pTDefRegMap(@Self)^.&set := $00000008;
  32342. end;
  32343. function TUART3_U2ASTA.getPERR : TBits_1; inline;
  32344. begin
  32345. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32346. end;
  32347. procedure TUART3_U2ASTA.setRIDLE; inline;
  32348. begin
  32349. pTDefRegMap(@Self)^.&set := $00000010;
  32350. end;
  32351. procedure TUART3_U2ASTA.clearRIDLE; inline;
  32352. begin
  32353. pTDefRegMap(@Self)^.clr := $00000010;
  32354. end;
  32355. procedure TUART3_U2ASTA.setRIDLE(thebits : TBits_1); inline;
  32356. begin
  32357. if thebits = 0 then
  32358. pTDefRegMap(@Self)^.clr := $00000010
  32359. else
  32360. pTDefRegMap(@Self)^.&set := $00000010;
  32361. end;
  32362. function TUART3_U2ASTA.getRIDLE : TBits_1; inline;
  32363. begin
  32364. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32365. end;
  32366. procedure TUART3_U2ASTA.setADDEN; inline;
  32367. begin
  32368. pTDefRegMap(@Self)^.&set := $00000020;
  32369. end;
  32370. procedure TUART3_U2ASTA.clearADDEN; inline;
  32371. begin
  32372. pTDefRegMap(@Self)^.clr := $00000020;
  32373. end;
  32374. procedure TUART3_U2ASTA.setADDEN(thebits : TBits_1); inline;
  32375. begin
  32376. if thebits = 0 then
  32377. pTDefRegMap(@Self)^.clr := $00000020
  32378. else
  32379. pTDefRegMap(@Self)^.&set := $00000020;
  32380. end;
  32381. function TUART3_U2ASTA.getADDEN : TBits_1; inline;
  32382. begin
  32383. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32384. end;
  32385. procedure TUART3_U2ASTA.setURXISEL(thebits : TBits_2); inline;
  32386. begin
  32387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32388. end;
  32389. function TUART3_U2ASTA.getURXISEL : TBits_2; inline;
  32390. begin
  32391. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32392. end;
  32393. procedure TUART3_U2ASTA.setTRMT; inline;
  32394. begin
  32395. pTDefRegMap(@Self)^.&set := $00000100;
  32396. end;
  32397. procedure TUART3_U2ASTA.clearTRMT; inline;
  32398. begin
  32399. pTDefRegMap(@Self)^.clr := $00000100;
  32400. end;
  32401. procedure TUART3_U2ASTA.setTRMT(thebits : TBits_1); inline;
  32402. begin
  32403. if thebits = 0 then
  32404. pTDefRegMap(@Self)^.clr := $00000100
  32405. else
  32406. pTDefRegMap(@Self)^.&set := $00000100;
  32407. end;
  32408. function TUART3_U2ASTA.getTRMT : TBits_1; inline;
  32409. begin
  32410. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32411. end;
  32412. procedure TUART3_U2ASTA.setUTXBF; inline;
  32413. begin
  32414. pTDefRegMap(@Self)^.&set := $00000200;
  32415. end;
  32416. procedure TUART3_U2ASTA.clearUTXBF; inline;
  32417. begin
  32418. pTDefRegMap(@Self)^.clr := $00000200;
  32419. end;
  32420. procedure TUART3_U2ASTA.setUTXBF(thebits : TBits_1); inline;
  32421. begin
  32422. if thebits = 0 then
  32423. pTDefRegMap(@Self)^.clr := $00000200
  32424. else
  32425. pTDefRegMap(@Self)^.&set := $00000200;
  32426. end;
  32427. function TUART3_U2ASTA.getUTXBF : TBits_1; inline;
  32428. begin
  32429. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32430. end;
  32431. procedure TUART3_U2ASTA.setUTXEN; inline;
  32432. begin
  32433. pTDefRegMap(@Self)^.&set := $00000400;
  32434. end;
  32435. procedure TUART3_U2ASTA.clearUTXEN; inline;
  32436. begin
  32437. pTDefRegMap(@Self)^.clr := $00000400;
  32438. end;
  32439. procedure TUART3_U2ASTA.setUTXEN(thebits : TBits_1); inline;
  32440. begin
  32441. if thebits = 0 then
  32442. pTDefRegMap(@Self)^.clr := $00000400
  32443. else
  32444. pTDefRegMap(@Self)^.&set := $00000400;
  32445. end;
  32446. function TUART3_U2ASTA.getUTXEN : TBits_1; inline;
  32447. begin
  32448. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32449. end;
  32450. procedure TUART3_U2ASTA.setUTXBRK; inline;
  32451. begin
  32452. pTDefRegMap(@Self)^.&set := $00000800;
  32453. end;
  32454. procedure TUART3_U2ASTA.clearUTXBRK; inline;
  32455. begin
  32456. pTDefRegMap(@Self)^.clr := $00000800;
  32457. end;
  32458. procedure TUART3_U2ASTA.setUTXBRK(thebits : TBits_1); inline;
  32459. begin
  32460. if thebits = 0 then
  32461. pTDefRegMap(@Self)^.clr := $00000800
  32462. else
  32463. pTDefRegMap(@Self)^.&set := $00000800;
  32464. end;
  32465. function TUART3_U2ASTA.getUTXBRK : TBits_1; inline;
  32466. begin
  32467. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32468. end;
  32469. procedure TUART3_U2ASTA.setURXEN; inline;
  32470. begin
  32471. pTDefRegMap(@Self)^.&set := $00001000;
  32472. end;
  32473. procedure TUART3_U2ASTA.clearURXEN; inline;
  32474. begin
  32475. pTDefRegMap(@Self)^.clr := $00001000;
  32476. end;
  32477. procedure TUART3_U2ASTA.setURXEN(thebits : TBits_1); inline;
  32478. begin
  32479. if thebits = 0 then
  32480. pTDefRegMap(@Self)^.clr := $00001000
  32481. else
  32482. pTDefRegMap(@Self)^.&set := $00001000;
  32483. end;
  32484. function TUART3_U2ASTA.getURXEN : TBits_1; inline;
  32485. begin
  32486. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32487. end;
  32488. procedure TUART3_U2ASTA.setUTXINV; inline;
  32489. begin
  32490. pTDefRegMap(@Self)^.&set := $00002000;
  32491. end;
  32492. procedure TUART3_U2ASTA.clearUTXINV; inline;
  32493. begin
  32494. pTDefRegMap(@Self)^.clr := $00002000;
  32495. end;
  32496. procedure TUART3_U2ASTA.setUTXINV(thebits : TBits_1); inline;
  32497. begin
  32498. if thebits = 0 then
  32499. pTDefRegMap(@Self)^.clr := $00002000
  32500. else
  32501. pTDefRegMap(@Self)^.&set := $00002000;
  32502. end;
  32503. function TUART3_U2ASTA.getUTXINV : TBits_1; inline;
  32504. begin
  32505. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32506. end;
  32507. procedure TUART3_U2ASTA.setUTXISEL(thebits : TBits_2); inline;
  32508. begin
  32509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32510. end;
  32511. function TUART3_U2ASTA.getUTXISEL : TBits_2; inline;
  32512. begin
  32513. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32514. end;
  32515. procedure TUART3_U2ASTA.setADDR(thebits : TBits_8); inline;
  32516. begin
  32517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32518. end;
  32519. function TUART3_U2ASTA.getADDR : TBits_8; inline;
  32520. begin
  32521. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32522. end;
  32523. procedure TUART3_U2ASTA.setADM_EN; inline;
  32524. begin
  32525. pTDefRegMap(@Self)^.&set := $01000000;
  32526. end;
  32527. procedure TUART3_U2ASTA.clearADM_EN; inline;
  32528. begin
  32529. pTDefRegMap(@Self)^.clr := $01000000;
  32530. end;
  32531. procedure TUART3_U2ASTA.setADM_EN(thebits : TBits_1); inline;
  32532. begin
  32533. if thebits = 0 then
  32534. pTDefRegMap(@Self)^.clr := $01000000
  32535. else
  32536. pTDefRegMap(@Self)^.&set := $01000000;
  32537. end;
  32538. function TUART3_U2ASTA.getADM_EN : TBits_1; inline;
  32539. begin
  32540. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32541. end;
  32542. procedure TUART3_U2ASTA.setURXISEL0; inline;
  32543. begin
  32544. pTDefRegMap(@Self)^.&set := $00000040;
  32545. end;
  32546. procedure TUART3_U2ASTA.clearURXISEL0; inline;
  32547. begin
  32548. pTDefRegMap(@Self)^.clr := $00000040;
  32549. end;
  32550. procedure TUART3_U2ASTA.setURXISEL0(thebits : TBits_1); inline;
  32551. begin
  32552. if thebits = 0 then
  32553. pTDefRegMap(@Self)^.clr := $00000040
  32554. else
  32555. pTDefRegMap(@Self)^.&set := $00000040;
  32556. end;
  32557. function TUART3_U2ASTA.getURXISEL0 : TBits_1; inline;
  32558. begin
  32559. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32560. end;
  32561. procedure TUART3_U2ASTA.setURXISEL1; inline;
  32562. begin
  32563. pTDefRegMap(@Self)^.&set := $00000080;
  32564. end;
  32565. procedure TUART3_U2ASTA.clearURXISEL1; inline;
  32566. begin
  32567. pTDefRegMap(@Self)^.clr := $00000080;
  32568. end;
  32569. procedure TUART3_U2ASTA.setURXISEL1(thebits : TBits_1); inline;
  32570. begin
  32571. if thebits = 0 then
  32572. pTDefRegMap(@Self)^.clr := $00000080
  32573. else
  32574. pTDefRegMap(@Self)^.&set := $00000080;
  32575. end;
  32576. function TUART3_U2ASTA.getURXISEL1 : TBits_1; inline;
  32577. begin
  32578. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32579. end;
  32580. procedure TUART3_U2ASTA.setUTXISEL0; inline;
  32581. begin
  32582. pTDefRegMap(@Self)^.&set := $00004000;
  32583. end;
  32584. procedure TUART3_U2ASTA.clearUTXISEL0; inline;
  32585. begin
  32586. pTDefRegMap(@Self)^.clr := $00004000;
  32587. end;
  32588. procedure TUART3_U2ASTA.setUTXISEL0(thebits : TBits_1); inline;
  32589. begin
  32590. if thebits = 0 then
  32591. pTDefRegMap(@Self)^.clr := $00004000
  32592. else
  32593. pTDefRegMap(@Self)^.&set := $00004000;
  32594. end;
  32595. function TUART3_U2ASTA.getUTXISEL0 : TBits_1; inline;
  32596. begin
  32597. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32598. end;
  32599. procedure TUART3_U2ASTA.setUTXISEL1; inline;
  32600. begin
  32601. pTDefRegMap(@Self)^.&set := $00008000;
  32602. end;
  32603. procedure TUART3_U2ASTA.clearUTXISEL1; inline;
  32604. begin
  32605. pTDefRegMap(@Self)^.clr := $00008000;
  32606. end;
  32607. procedure TUART3_U2ASTA.setUTXISEL1(thebits : TBits_1); inline;
  32608. begin
  32609. if thebits = 0 then
  32610. pTDefRegMap(@Self)^.clr := $00008000
  32611. else
  32612. pTDefRegMap(@Self)^.&set := $00008000;
  32613. end;
  32614. function TUART3_U2ASTA.getUTXISEL1 : TBits_1; inline;
  32615. begin
  32616. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32617. end;
  32618. procedure TUART3_U2ASTA.setUTXSEL(thebits : TBits_2); inline;
  32619. begin
  32620. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32621. end;
  32622. function TUART3_U2ASTA.getUTXSEL : TBits_2; inline;
  32623. begin
  32624. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32625. end;
  32626. procedure TUART3_U2ASTA.setw(thebits : TBits_32); inline;
  32627. begin
  32628. pTDefRegMap(@Self)^.val := thebits;
  32629. end;
  32630. function TUART3_U2ASTA.getw : TBits_32; inline;
  32631. begin
  32632. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32633. end;
  32634. procedure TUART3_U3STA.setURXDA; inline;
  32635. begin
  32636. pTDefRegMap(@Self)^.&set := $00000001;
  32637. end;
  32638. procedure TUART3_U3STA.clearURXDA; inline;
  32639. begin
  32640. pTDefRegMap(@Self)^.clr := $00000001;
  32641. end;
  32642. procedure TUART3_U3STA.setURXDA(thebits : TBits_1); inline;
  32643. begin
  32644. if thebits = 0 then
  32645. pTDefRegMap(@Self)^.clr := $00000001
  32646. else
  32647. pTDefRegMap(@Self)^.&set := $00000001;
  32648. end;
  32649. function TUART3_U3STA.getURXDA : TBits_1; inline;
  32650. begin
  32651. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32652. end;
  32653. procedure TUART3_U3STA.setOERR; inline;
  32654. begin
  32655. pTDefRegMap(@Self)^.&set := $00000002;
  32656. end;
  32657. procedure TUART3_U3STA.clearOERR; inline;
  32658. begin
  32659. pTDefRegMap(@Self)^.clr := $00000002;
  32660. end;
  32661. procedure TUART3_U3STA.setOERR(thebits : TBits_1); inline;
  32662. begin
  32663. if thebits = 0 then
  32664. pTDefRegMap(@Self)^.clr := $00000002
  32665. else
  32666. pTDefRegMap(@Self)^.&set := $00000002;
  32667. end;
  32668. function TUART3_U3STA.getOERR : TBits_1; inline;
  32669. begin
  32670. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32671. end;
  32672. procedure TUART3_U3STA.setFERR; inline;
  32673. begin
  32674. pTDefRegMap(@Self)^.&set := $00000004;
  32675. end;
  32676. procedure TUART3_U3STA.clearFERR; inline;
  32677. begin
  32678. pTDefRegMap(@Self)^.clr := $00000004;
  32679. end;
  32680. procedure TUART3_U3STA.setFERR(thebits : TBits_1); inline;
  32681. begin
  32682. if thebits = 0 then
  32683. pTDefRegMap(@Self)^.clr := $00000004
  32684. else
  32685. pTDefRegMap(@Self)^.&set := $00000004;
  32686. end;
  32687. function TUART3_U3STA.getFERR : TBits_1; inline;
  32688. begin
  32689. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32690. end;
  32691. procedure TUART3_U3STA.setPERR; inline;
  32692. begin
  32693. pTDefRegMap(@Self)^.&set := $00000008;
  32694. end;
  32695. procedure TUART3_U3STA.clearPERR; inline;
  32696. begin
  32697. pTDefRegMap(@Self)^.clr := $00000008;
  32698. end;
  32699. procedure TUART3_U3STA.setPERR(thebits : TBits_1); inline;
  32700. begin
  32701. if thebits = 0 then
  32702. pTDefRegMap(@Self)^.clr := $00000008
  32703. else
  32704. pTDefRegMap(@Self)^.&set := $00000008;
  32705. end;
  32706. function TUART3_U3STA.getPERR : TBits_1; inline;
  32707. begin
  32708. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32709. end;
  32710. procedure TUART3_U3STA.setRIDLE; inline;
  32711. begin
  32712. pTDefRegMap(@Self)^.&set := $00000010;
  32713. end;
  32714. procedure TUART3_U3STA.clearRIDLE; inline;
  32715. begin
  32716. pTDefRegMap(@Self)^.clr := $00000010;
  32717. end;
  32718. procedure TUART3_U3STA.setRIDLE(thebits : TBits_1); inline;
  32719. begin
  32720. if thebits = 0 then
  32721. pTDefRegMap(@Self)^.clr := $00000010
  32722. else
  32723. pTDefRegMap(@Self)^.&set := $00000010;
  32724. end;
  32725. function TUART3_U3STA.getRIDLE : TBits_1; inline;
  32726. begin
  32727. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32728. end;
  32729. procedure TUART3_U3STA.setADDEN; inline;
  32730. begin
  32731. pTDefRegMap(@Self)^.&set := $00000020;
  32732. end;
  32733. procedure TUART3_U3STA.clearADDEN; inline;
  32734. begin
  32735. pTDefRegMap(@Self)^.clr := $00000020;
  32736. end;
  32737. procedure TUART3_U3STA.setADDEN(thebits : TBits_1); inline;
  32738. begin
  32739. if thebits = 0 then
  32740. pTDefRegMap(@Self)^.clr := $00000020
  32741. else
  32742. pTDefRegMap(@Self)^.&set := $00000020;
  32743. end;
  32744. function TUART3_U3STA.getADDEN : TBits_1; inline;
  32745. begin
  32746. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32747. end;
  32748. procedure TUART3_U3STA.setURXISEL(thebits : TBits_2); inline;
  32749. begin
  32750. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  32751. end;
  32752. function TUART3_U3STA.getURXISEL : TBits_2; inline;
  32753. begin
  32754. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  32755. end;
  32756. procedure TUART3_U3STA.setTRMT; inline;
  32757. begin
  32758. pTDefRegMap(@Self)^.&set := $00000100;
  32759. end;
  32760. procedure TUART3_U3STA.clearTRMT; inline;
  32761. begin
  32762. pTDefRegMap(@Self)^.clr := $00000100;
  32763. end;
  32764. procedure TUART3_U3STA.setTRMT(thebits : TBits_1); inline;
  32765. begin
  32766. if thebits = 0 then
  32767. pTDefRegMap(@Self)^.clr := $00000100
  32768. else
  32769. pTDefRegMap(@Self)^.&set := $00000100;
  32770. end;
  32771. function TUART3_U3STA.getTRMT : TBits_1; inline;
  32772. begin
  32773. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  32774. end;
  32775. procedure TUART3_U3STA.setUTXBF; inline;
  32776. begin
  32777. pTDefRegMap(@Self)^.&set := $00000200;
  32778. end;
  32779. procedure TUART3_U3STA.clearUTXBF; inline;
  32780. begin
  32781. pTDefRegMap(@Self)^.clr := $00000200;
  32782. end;
  32783. procedure TUART3_U3STA.setUTXBF(thebits : TBits_1); inline;
  32784. begin
  32785. if thebits = 0 then
  32786. pTDefRegMap(@Self)^.clr := $00000200
  32787. else
  32788. pTDefRegMap(@Self)^.&set := $00000200;
  32789. end;
  32790. function TUART3_U3STA.getUTXBF : TBits_1; inline;
  32791. begin
  32792. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  32793. end;
  32794. procedure TUART3_U3STA.setUTXEN; inline;
  32795. begin
  32796. pTDefRegMap(@Self)^.&set := $00000400;
  32797. end;
  32798. procedure TUART3_U3STA.clearUTXEN; inline;
  32799. begin
  32800. pTDefRegMap(@Self)^.clr := $00000400;
  32801. end;
  32802. procedure TUART3_U3STA.setUTXEN(thebits : TBits_1); inline;
  32803. begin
  32804. if thebits = 0 then
  32805. pTDefRegMap(@Self)^.clr := $00000400
  32806. else
  32807. pTDefRegMap(@Self)^.&set := $00000400;
  32808. end;
  32809. function TUART3_U3STA.getUTXEN : TBits_1; inline;
  32810. begin
  32811. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  32812. end;
  32813. procedure TUART3_U3STA.setUTXBRK; inline;
  32814. begin
  32815. pTDefRegMap(@Self)^.&set := $00000800;
  32816. end;
  32817. procedure TUART3_U3STA.clearUTXBRK; inline;
  32818. begin
  32819. pTDefRegMap(@Self)^.clr := $00000800;
  32820. end;
  32821. procedure TUART3_U3STA.setUTXBRK(thebits : TBits_1); inline;
  32822. begin
  32823. if thebits = 0 then
  32824. pTDefRegMap(@Self)^.clr := $00000800
  32825. else
  32826. pTDefRegMap(@Self)^.&set := $00000800;
  32827. end;
  32828. function TUART3_U3STA.getUTXBRK : TBits_1; inline;
  32829. begin
  32830. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  32831. end;
  32832. procedure TUART3_U3STA.setURXEN; inline;
  32833. begin
  32834. pTDefRegMap(@Self)^.&set := $00001000;
  32835. end;
  32836. procedure TUART3_U3STA.clearURXEN; inline;
  32837. begin
  32838. pTDefRegMap(@Self)^.clr := $00001000;
  32839. end;
  32840. procedure TUART3_U3STA.setURXEN(thebits : TBits_1); inline;
  32841. begin
  32842. if thebits = 0 then
  32843. pTDefRegMap(@Self)^.clr := $00001000
  32844. else
  32845. pTDefRegMap(@Self)^.&set := $00001000;
  32846. end;
  32847. function TUART3_U3STA.getURXEN : TBits_1; inline;
  32848. begin
  32849. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  32850. end;
  32851. procedure TUART3_U3STA.setUTXINV; inline;
  32852. begin
  32853. pTDefRegMap(@Self)^.&set := $00002000;
  32854. end;
  32855. procedure TUART3_U3STA.clearUTXINV; inline;
  32856. begin
  32857. pTDefRegMap(@Self)^.clr := $00002000;
  32858. end;
  32859. procedure TUART3_U3STA.setUTXINV(thebits : TBits_1); inline;
  32860. begin
  32861. if thebits = 0 then
  32862. pTDefRegMap(@Self)^.clr := $00002000
  32863. else
  32864. pTDefRegMap(@Self)^.&set := $00002000;
  32865. end;
  32866. function TUART3_U3STA.getUTXINV : TBits_1; inline;
  32867. begin
  32868. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  32869. end;
  32870. procedure TUART3_U3STA.setUTXISEL(thebits : TBits_2); inline;
  32871. begin
  32872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32873. end;
  32874. function TUART3_U3STA.getUTXISEL : TBits_2; inline;
  32875. begin
  32876. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32877. end;
  32878. procedure TUART3_U3STA.setADDR(thebits : TBits_8); inline;
  32879. begin
  32880. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32881. end;
  32882. function TUART3_U3STA.getADDR : TBits_8; inline;
  32883. begin
  32884. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32885. end;
  32886. procedure TUART3_U3STA.setADM_EN; inline;
  32887. begin
  32888. pTDefRegMap(@Self)^.&set := $01000000;
  32889. end;
  32890. procedure TUART3_U3STA.clearADM_EN; inline;
  32891. begin
  32892. pTDefRegMap(@Self)^.clr := $01000000;
  32893. end;
  32894. procedure TUART3_U3STA.setADM_EN(thebits : TBits_1); inline;
  32895. begin
  32896. if thebits = 0 then
  32897. pTDefRegMap(@Self)^.clr := $01000000
  32898. else
  32899. pTDefRegMap(@Self)^.&set := $01000000;
  32900. end;
  32901. function TUART3_U3STA.getADM_EN : TBits_1; inline;
  32902. begin
  32903. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  32904. end;
  32905. procedure TUART3_U3STA.setURXISEL0; inline;
  32906. begin
  32907. pTDefRegMap(@Self)^.&set := $00000040;
  32908. end;
  32909. procedure TUART3_U3STA.clearURXISEL0; inline;
  32910. begin
  32911. pTDefRegMap(@Self)^.clr := $00000040;
  32912. end;
  32913. procedure TUART3_U3STA.setURXISEL0(thebits : TBits_1); inline;
  32914. begin
  32915. if thebits = 0 then
  32916. pTDefRegMap(@Self)^.clr := $00000040
  32917. else
  32918. pTDefRegMap(@Self)^.&set := $00000040;
  32919. end;
  32920. function TUART3_U3STA.getURXISEL0 : TBits_1; inline;
  32921. begin
  32922. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32923. end;
  32924. procedure TUART3_U3STA.setURXISEL1; inline;
  32925. begin
  32926. pTDefRegMap(@Self)^.&set := $00000080;
  32927. end;
  32928. procedure TUART3_U3STA.clearURXISEL1; inline;
  32929. begin
  32930. pTDefRegMap(@Self)^.clr := $00000080;
  32931. end;
  32932. procedure TUART3_U3STA.setURXISEL1(thebits : TBits_1); inline;
  32933. begin
  32934. if thebits = 0 then
  32935. pTDefRegMap(@Self)^.clr := $00000080
  32936. else
  32937. pTDefRegMap(@Self)^.&set := $00000080;
  32938. end;
  32939. function TUART3_U3STA.getURXISEL1 : TBits_1; inline;
  32940. begin
  32941. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32942. end;
  32943. procedure TUART3_U3STA.setUTXISEL0; inline;
  32944. begin
  32945. pTDefRegMap(@Self)^.&set := $00004000;
  32946. end;
  32947. procedure TUART3_U3STA.clearUTXISEL0; inline;
  32948. begin
  32949. pTDefRegMap(@Self)^.clr := $00004000;
  32950. end;
  32951. procedure TUART3_U3STA.setUTXISEL0(thebits : TBits_1); inline;
  32952. begin
  32953. if thebits = 0 then
  32954. pTDefRegMap(@Self)^.clr := $00004000
  32955. else
  32956. pTDefRegMap(@Self)^.&set := $00004000;
  32957. end;
  32958. function TUART3_U3STA.getUTXISEL0 : TBits_1; inline;
  32959. begin
  32960. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  32961. end;
  32962. procedure TUART3_U3STA.setUTXISEL1; inline;
  32963. begin
  32964. pTDefRegMap(@Self)^.&set := $00008000;
  32965. end;
  32966. procedure TUART3_U3STA.clearUTXISEL1; inline;
  32967. begin
  32968. pTDefRegMap(@Self)^.clr := $00008000;
  32969. end;
  32970. procedure TUART3_U3STA.setUTXISEL1(thebits : TBits_1); inline;
  32971. begin
  32972. if thebits = 0 then
  32973. pTDefRegMap(@Self)^.clr := $00008000
  32974. else
  32975. pTDefRegMap(@Self)^.&set := $00008000;
  32976. end;
  32977. function TUART3_U3STA.getUTXISEL1 : TBits_1; inline;
  32978. begin
  32979. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  32980. end;
  32981. procedure TUART3_U3STA.setUTXSEL(thebits : TBits_2); inline;
  32982. begin
  32983. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  32984. end;
  32985. function TUART3_U3STA.getUTXSEL : TBits_2; inline;
  32986. begin
  32987. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  32988. end;
  32989. procedure TUART3_U3STA.setw(thebits : TBits_32); inline;
  32990. begin
  32991. pTDefRegMap(@Self)^.val := thebits;
  32992. end;
  32993. function TUART3_U3STA.getw : TBits_32; inline;
  32994. begin
  32995. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32996. end;
  32997. procedure TUART6_U2BMODE.setSTSEL; inline;
  32998. begin
  32999. pTDefRegMap(@Self)^.&set := $00000001;
  33000. end;
  33001. procedure TUART6_U2BMODE.clearSTSEL; inline;
  33002. begin
  33003. pTDefRegMap(@Self)^.clr := $00000001;
  33004. end;
  33005. procedure TUART6_U2BMODE.setSTSEL(thebits : TBits_1); inline;
  33006. begin
  33007. if thebits = 0 then
  33008. pTDefRegMap(@Self)^.clr := $00000001
  33009. else
  33010. pTDefRegMap(@Self)^.&set := $00000001;
  33011. end;
  33012. function TUART6_U2BMODE.getSTSEL : TBits_1; inline;
  33013. begin
  33014. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33015. end;
  33016. procedure TUART6_U2BMODE.setPDSEL(thebits : TBits_2); inline;
  33017. begin
  33018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33019. end;
  33020. function TUART6_U2BMODE.getPDSEL : TBits_2; inline;
  33021. begin
  33022. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33023. end;
  33024. procedure TUART6_U2BMODE.setBRGH; inline;
  33025. begin
  33026. pTDefRegMap(@Self)^.&set := $00000008;
  33027. end;
  33028. procedure TUART6_U2BMODE.clearBRGH; inline;
  33029. begin
  33030. pTDefRegMap(@Self)^.clr := $00000008;
  33031. end;
  33032. procedure TUART6_U2BMODE.setBRGH(thebits : TBits_1); inline;
  33033. begin
  33034. if thebits = 0 then
  33035. pTDefRegMap(@Self)^.clr := $00000008
  33036. else
  33037. pTDefRegMap(@Self)^.&set := $00000008;
  33038. end;
  33039. function TUART6_U2BMODE.getBRGH : TBits_1; inline;
  33040. begin
  33041. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33042. end;
  33043. procedure TUART6_U2BMODE.setRXINV; inline;
  33044. begin
  33045. pTDefRegMap(@Self)^.&set := $00000010;
  33046. end;
  33047. procedure TUART6_U2BMODE.clearRXINV; inline;
  33048. begin
  33049. pTDefRegMap(@Self)^.clr := $00000010;
  33050. end;
  33051. procedure TUART6_U2BMODE.setRXINV(thebits : TBits_1); inline;
  33052. begin
  33053. if thebits = 0 then
  33054. pTDefRegMap(@Self)^.clr := $00000010
  33055. else
  33056. pTDefRegMap(@Self)^.&set := $00000010;
  33057. end;
  33058. function TUART6_U2BMODE.getRXINV : TBits_1; inline;
  33059. begin
  33060. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33061. end;
  33062. procedure TUART6_U2BMODE.setABAUD; inline;
  33063. begin
  33064. pTDefRegMap(@Self)^.&set := $00000020;
  33065. end;
  33066. procedure TUART6_U2BMODE.clearABAUD; inline;
  33067. begin
  33068. pTDefRegMap(@Self)^.clr := $00000020;
  33069. end;
  33070. procedure TUART6_U2BMODE.setABAUD(thebits : TBits_1); inline;
  33071. begin
  33072. if thebits = 0 then
  33073. pTDefRegMap(@Self)^.clr := $00000020
  33074. else
  33075. pTDefRegMap(@Self)^.&set := $00000020;
  33076. end;
  33077. function TUART6_U2BMODE.getABAUD : TBits_1; inline;
  33078. begin
  33079. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33080. end;
  33081. procedure TUART6_U2BMODE.setLPBACK; inline;
  33082. begin
  33083. pTDefRegMap(@Self)^.&set := $00000040;
  33084. end;
  33085. procedure TUART6_U2BMODE.clearLPBACK; inline;
  33086. begin
  33087. pTDefRegMap(@Self)^.clr := $00000040;
  33088. end;
  33089. procedure TUART6_U2BMODE.setLPBACK(thebits : TBits_1); inline;
  33090. begin
  33091. if thebits = 0 then
  33092. pTDefRegMap(@Self)^.clr := $00000040
  33093. else
  33094. pTDefRegMap(@Self)^.&set := $00000040;
  33095. end;
  33096. function TUART6_U2BMODE.getLPBACK : TBits_1; inline;
  33097. begin
  33098. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33099. end;
  33100. procedure TUART6_U2BMODE.setWAKE; inline;
  33101. begin
  33102. pTDefRegMap(@Self)^.&set := $00000080;
  33103. end;
  33104. procedure TUART6_U2BMODE.clearWAKE; inline;
  33105. begin
  33106. pTDefRegMap(@Self)^.clr := $00000080;
  33107. end;
  33108. procedure TUART6_U2BMODE.setWAKE(thebits : TBits_1); inline;
  33109. begin
  33110. if thebits = 0 then
  33111. pTDefRegMap(@Self)^.clr := $00000080
  33112. else
  33113. pTDefRegMap(@Self)^.&set := $00000080;
  33114. end;
  33115. function TUART6_U2BMODE.getWAKE : TBits_1; inline;
  33116. begin
  33117. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33118. end;
  33119. procedure TUART6_U2BMODE.setIREN; inline;
  33120. begin
  33121. pTDefRegMap(@Self)^.&set := $00001000;
  33122. end;
  33123. procedure TUART6_U2BMODE.clearIREN; inline;
  33124. begin
  33125. pTDefRegMap(@Self)^.clr := $00001000;
  33126. end;
  33127. procedure TUART6_U2BMODE.setIREN(thebits : TBits_1); inline;
  33128. begin
  33129. if thebits = 0 then
  33130. pTDefRegMap(@Self)^.clr := $00001000
  33131. else
  33132. pTDefRegMap(@Self)^.&set := $00001000;
  33133. end;
  33134. function TUART6_U2BMODE.getIREN : TBits_1; inline;
  33135. begin
  33136. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33137. end;
  33138. procedure TUART6_U2BMODE.setSIDL; inline;
  33139. begin
  33140. pTDefRegMap(@Self)^.&set := $00002000;
  33141. end;
  33142. procedure TUART6_U2BMODE.clearSIDL; inline;
  33143. begin
  33144. pTDefRegMap(@Self)^.clr := $00002000;
  33145. end;
  33146. procedure TUART6_U2BMODE.setSIDL(thebits : TBits_1); inline;
  33147. begin
  33148. if thebits = 0 then
  33149. pTDefRegMap(@Self)^.clr := $00002000
  33150. else
  33151. pTDefRegMap(@Self)^.&set := $00002000;
  33152. end;
  33153. function TUART6_U2BMODE.getSIDL : TBits_1; inline;
  33154. begin
  33155. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33156. end;
  33157. procedure TUART6_U2BMODE.setON; inline;
  33158. begin
  33159. pTDefRegMap(@Self)^.&set := $00008000;
  33160. end;
  33161. procedure TUART6_U2BMODE.clearON; inline;
  33162. begin
  33163. pTDefRegMap(@Self)^.clr := $00008000;
  33164. end;
  33165. procedure TUART6_U2BMODE.setON(thebits : TBits_1); inline;
  33166. begin
  33167. if thebits = 0 then
  33168. pTDefRegMap(@Self)^.clr := $00008000
  33169. else
  33170. pTDefRegMap(@Self)^.&set := $00008000;
  33171. end;
  33172. function TUART6_U2BMODE.getON : TBits_1; inline;
  33173. begin
  33174. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33175. end;
  33176. procedure TUART6_U2BMODE.setPDSEL0; inline;
  33177. begin
  33178. pTDefRegMap(@Self)^.&set := $00000002;
  33179. end;
  33180. procedure TUART6_U2BMODE.clearPDSEL0; inline;
  33181. begin
  33182. pTDefRegMap(@Self)^.clr := $00000002;
  33183. end;
  33184. procedure TUART6_U2BMODE.setPDSEL0(thebits : TBits_1); inline;
  33185. begin
  33186. if thebits = 0 then
  33187. pTDefRegMap(@Self)^.clr := $00000002
  33188. else
  33189. pTDefRegMap(@Self)^.&set := $00000002;
  33190. end;
  33191. function TUART6_U2BMODE.getPDSEL0 : TBits_1; inline;
  33192. begin
  33193. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33194. end;
  33195. procedure TUART6_U2BMODE.setPDSEL1; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.&set := $00000004;
  33198. end;
  33199. procedure TUART6_U2BMODE.clearPDSEL1; inline;
  33200. begin
  33201. pTDefRegMap(@Self)^.clr := $00000004;
  33202. end;
  33203. procedure TUART6_U2BMODE.setPDSEL1(thebits : TBits_1); inline;
  33204. begin
  33205. if thebits = 0 then
  33206. pTDefRegMap(@Self)^.clr := $00000004
  33207. else
  33208. pTDefRegMap(@Self)^.&set := $00000004;
  33209. end;
  33210. function TUART6_U2BMODE.getPDSEL1 : TBits_1; inline;
  33211. begin
  33212. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33213. end;
  33214. procedure TUART6_U2BMODE.setUSIDL; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.&set := $00002000;
  33217. end;
  33218. procedure TUART6_U2BMODE.clearUSIDL; inline;
  33219. begin
  33220. pTDefRegMap(@Self)^.clr := $00002000;
  33221. end;
  33222. procedure TUART6_U2BMODE.setUSIDL(thebits : TBits_1); inline;
  33223. begin
  33224. if thebits = 0 then
  33225. pTDefRegMap(@Self)^.clr := $00002000
  33226. else
  33227. pTDefRegMap(@Self)^.&set := $00002000;
  33228. end;
  33229. function TUART6_U2BMODE.getUSIDL : TBits_1; inline;
  33230. begin
  33231. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33232. end;
  33233. procedure TUART6_U2BMODE.setUARTEN; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.&set := $00008000;
  33236. end;
  33237. procedure TUART6_U2BMODE.clearUARTEN; inline;
  33238. begin
  33239. pTDefRegMap(@Self)^.clr := $00008000;
  33240. end;
  33241. procedure TUART6_U2BMODE.setUARTEN(thebits : TBits_1); inline;
  33242. begin
  33243. if thebits = 0 then
  33244. pTDefRegMap(@Self)^.clr := $00008000
  33245. else
  33246. pTDefRegMap(@Self)^.&set := $00008000;
  33247. end;
  33248. function TUART6_U2BMODE.getUARTEN : TBits_1; inline;
  33249. begin
  33250. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33251. end;
  33252. procedure TUART6_U2BMODE.setw(thebits : TBits_32); inline;
  33253. begin
  33254. pTDefRegMap(@Self)^.val := thebits;
  33255. end;
  33256. function TUART6_U2BMODE.getw : TBits_32; inline;
  33257. begin
  33258. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33259. end;
  33260. procedure TUART6_U6MODE.setSTSEL; inline;
  33261. begin
  33262. pTDefRegMap(@Self)^.&set := $00000001;
  33263. end;
  33264. procedure TUART6_U6MODE.clearSTSEL; inline;
  33265. begin
  33266. pTDefRegMap(@Self)^.clr := $00000001;
  33267. end;
  33268. procedure TUART6_U6MODE.setSTSEL(thebits : TBits_1); inline;
  33269. begin
  33270. if thebits = 0 then
  33271. pTDefRegMap(@Self)^.clr := $00000001
  33272. else
  33273. pTDefRegMap(@Self)^.&set := $00000001;
  33274. end;
  33275. function TUART6_U6MODE.getSTSEL : TBits_1; inline;
  33276. begin
  33277. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33278. end;
  33279. procedure TUART6_U6MODE.setPDSEL(thebits : TBits_2); inline;
  33280. begin
  33281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  33282. end;
  33283. function TUART6_U6MODE.getPDSEL : TBits_2; inline;
  33284. begin
  33285. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  33286. end;
  33287. procedure TUART6_U6MODE.setBRGH; inline;
  33288. begin
  33289. pTDefRegMap(@Self)^.&set := $00000008;
  33290. end;
  33291. procedure TUART6_U6MODE.clearBRGH; inline;
  33292. begin
  33293. pTDefRegMap(@Self)^.clr := $00000008;
  33294. end;
  33295. procedure TUART6_U6MODE.setBRGH(thebits : TBits_1); inline;
  33296. begin
  33297. if thebits = 0 then
  33298. pTDefRegMap(@Self)^.clr := $00000008
  33299. else
  33300. pTDefRegMap(@Self)^.&set := $00000008;
  33301. end;
  33302. function TUART6_U6MODE.getBRGH : TBits_1; inline;
  33303. begin
  33304. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33305. end;
  33306. procedure TUART6_U6MODE.setRXINV; inline;
  33307. begin
  33308. pTDefRegMap(@Self)^.&set := $00000010;
  33309. end;
  33310. procedure TUART6_U6MODE.clearRXINV; inline;
  33311. begin
  33312. pTDefRegMap(@Self)^.clr := $00000010;
  33313. end;
  33314. procedure TUART6_U6MODE.setRXINV(thebits : TBits_1); inline;
  33315. begin
  33316. if thebits = 0 then
  33317. pTDefRegMap(@Self)^.clr := $00000010
  33318. else
  33319. pTDefRegMap(@Self)^.&set := $00000010;
  33320. end;
  33321. function TUART6_U6MODE.getRXINV : TBits_1; inline;
  33322. begin
  33323. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33324. end;
  33325. procedure TUART6_U6MODE.setABAUD; inline;
  33326. begin
  33327. pTDefRegMap(@Self)^.&set := $00000020;
  33328. end;
  33329. procedure TUART6_U6MODE.clearABAUD; inline;
  33330. begin
  33331. pTDefRegMap(@Self)^.clr := $00000020;
  33332. end;
  33333. procedure TUART6_U6MODE.setABAUD(thebits : TBits_1); inline;
  33334. begin
  33335. if thebits = 0 then
  33336. pTDefRegMap(@Self)^.clr := $00000020
  33337. else
  33338. pTDefRegMap(@Self)^.&set := $00000020;
  33339. end;
  33340. function TUART6_U6MODE.getABAUD : TBits_1; inline;
  33341. begin
  33342. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33343. end;
  33344. procedure TUART6_U6MODE.setLPBACK; inline;
  33345. begin
  33346. pTDefRegMap(@Self)^.&set := $00000040;
  33347. end;
  33348. procedure TUART6_U6MODE.clearLPBACK; inline;
  33349. begin
  33350. pTDefRegMap(@Self)^.clr := $00000040;
  33351. end;
  33352. procedure TUART6_U6MODE.setLPBACK(thebits : TBits_1); inline;
  33353. begin
  33354. if thebits = 0 then
  33355. pTDefRegMap(@Self)^.clr := $00000040
  33356. else
  33357. pTDefRegMap(@Self)^.&set := $00000040;
  33358. end;
  33359. function TUART6_U6MODE.getLPBACK : TBits_1; inline;
  33360. begin
  33361. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33362. end;
  33363. procedure TUART6_U6MODE.setWAKE; inline;
  33364. begin
  33365. pTDefRegMap(@Self)^.&set := $00000080;
  33366. end;
  33367. procedure TUART6_U6MODE.clearWAKE; inline;
  33368. begin
  33369. pTDefRegMap(@Self)^.clr := $00000080;
  33370. end;
  33371. procedure TUART6_U6MODE.setWAKE(thebits : TBits_1); inline;
  33372. begin
  33373. if thebits = 0 then
  33374. pTDefRegMap(@Self)^.clr := $00000080
  33375. else
  33376. pTDefRegMap(@Self)^.&set := $00000080;
  33377. end;
  33378. function TUART6_U6MODE.getWAKE : TBits_1; inline;
  33379. begin
  33380. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33381. end;
  33382. procedure TUART6_U6MODE.setIREN; inline;
  33383. begin
  33384. pTDefRegMap(@Self)^.&set := $00001000;
  33385. end;
  33386. procedure TUART6_U6MODE.clearIREN; inline;
  33387. begin
  33388. pTDefRegMap(@Self)^.clr := $00001000;
  33389. end;
  33390. procedure TUART6_U6MODE.setIREN(thebits : TBits_1); inline;
  33391. begin
  33392. if thebits = 0 then
  33393. pTDefRegMap(@Self)^.clr := $00001000
  33394. else
  33395. pTDefRegMap(@Self)^.&set := $00001000;
  33396. end;
  33397. function TUART6_U6MODE.getIREN : TBits_1; inline;
  33398. begin
  33399. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33400. end;
  33401. procedure TUART6_U6MODE.setSIDL; inline;
  33402. begin
  33403. pTDefRegMap(@Self)^.&set := $00002000;
  33404. end;
  33405. procedure TUART6_U6MODE.clearSIDL; inline;
  33406. begin
  33407. pTDefRegMap(@Self)^.clr := $00002000;
  33408. end;
  33409. procedure TUART6_U6MODE.setSIDL(thebits : TBits_1); inline;
  33410. begin
  33411. if thebits = 0 then
  33412. pTDefRegMap(@Self)^.clr := $00002000
  33413. else
  33414. pTDefRegMap(@Self)^.&set := $00002000;
  33415. end;
  33416. function TUART6_U6MODE.getSIDL : TBits_1; inline;
  33417. begin
  33418. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33419. end;
  33420. procedure TUART6_U6MODE.setON; inline;
  33421. begin
  33422. pTDefRegMap(@Self)^.&set := $00008000;
  33423. end;
  33424. procedure TUART6_U6MODE.clearON; inline;
  33425. begin
  33426. pTDefRegMap(@Self)^.clr := $00008000;
  33427. end;
  33428. procedure TUART6_U6MODE.setON(thebits : TBits_1); inline;
  33429. begin
  33430. if thebits = 0 then
  33431. pTDefRegMap(@Self)^.clr := $00008000
  33432. else
  33433. pTDefRegMap(@Self)^.&set := $00008000;
  33434. end;
  33435. function TUART6_U6MODE.getON : TBits_1; inline;
  33436. begin
  33437. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33438. end;
  33439. procedure TUART6_U6MODE.setPDSEL0; inline;
  33440. begin
  33441. pTDefRegMap(@Self)^.&set := $00000002;
  33442. end;
  33443. procedure TUART6_U6MODE.clearPDSEL0; inline;
  33444. begin
  33445. pTDefRegMap(@Self)^.clr := $00000002;
  33446. end;
  33447. procedure TUART6_U6MODE.setPDSEL0(thebits : TBits_1); inline;
  33448. begin
  33449. if thebits = 0 then
  33450. pTDefRegMap(@Self)^.clr := $00000002
  33451. else
  33452. pTDefRegMap(@Self)^.&set := $00000002;
  33453. end;
  33454. function TUART6_U6MODE.getPDSEL0 : TBits_1; inline;
  33455. begin
  33456. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33457. end;
  33458. procedure TUART6_U6MODE.setPDSEL1; inline;
  33459. begin
  33460. pTDefRegMap(@Self)^.&set := $00000004;
  33461. end;
  33462. procedure TUART6_U6MODE.clearPDSEL1; inline;
  33463. begin
  33464. pTDefRegMap(@Self)^.clr := $00000004;
  33465. end;
  33466. procedure TUART6_U6MODE.setPDSEL1(thebits : TBits_1); inline;
  33467. begin
  33468. if thebits = 0 then
  33469. pTDefRegMap(@Self)^.clr := $00000004
  33470. else
  33471. pTDefRegMap(@Self)^.&set := $00000004;
  33472. end;
  33473. function TUART6_U6MODE.getPDSEL1 : TBits_1; inline;
  33474. begin
  33475. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33476. end;
  33477. procedure TUART6_U6MODE.setUSIDL; inline;
  33478. begin
  33479. pTDefRegMap(@Self)^.&set := $00002000;
  33480. end;
  33481. procedure TUART6_U6MODE.clearUSIDL; inline;
  33482. begin
  33483. pTDefRegMap(@Self)^.clr := $00002000;
  33484. end;
  33485. procedure TUART6_U6MODE.setUSIDL(thebits : TBits_1); inline;
  33486. begin
  33487. if thebits = 0 then
  33488. pTDefRegMap(@Self)^.clr := $00002000
  33489. else
  33490. pTDefRegMap(@Self)^.&set := $00002000;
  33491. end;
  33492. function TUART6_U6MODE.getUSIDL : TBits_1; inline;
  33493. begin
  33494. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33495. end;
  33496. procedure TUART6_U6MODE.setUARTEN; inline;
  33497. begin
  33498. pTDefRegMap(@Self)^.&set := $00008000;
  33499. end;
  33500. procedure TUART6_U6MODE.clearUARTEN; inline;
  33501. begin
  33502. pTDefRegMap(@Self)^.clr := $00008000;
  33503. end;
  33504. procedure TUART6_U6MODE.setUARTEN(thebits : TBits_1); inline;
  33505. begin
  33506. if thebits = 0 then
  33507. pTDefRegMap(@Self)^.clr := $00008000
  33508. else
  33509. pTDefRegMap(@Self)^.&set := $00008000;
  33510. end;
  33511. function TUART6_U6MODE.getUARTEN : TBits_1; inline;
  33512. begin
  33513. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33514. end;
  33515. procedure TUART6_U6MODE.setw(thebits : TBits_32); inline;
  33516. begin
  33517. pTDefRegMap(@Self)^.val := thebits;
  33518. end;
  33519. function TUART6_U6MODE.getw : TBits_32; inline;
  33520. begin
  33521. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33522. end;
  33523. procedure TUART6_U2BSTA.setURXDA; inline;
  33524. begin
  33525. pTDefRegMap(@Self)^.&set := $00000001;
  33526. end;
  33527. procedure TUART6_U2BSTA.clearURXDA; inline;
  33528. begin
  33529. pTDefRegMap(@Self)^.clr := $00000001;
  33530. end;
  33531. procedure TUART6_U2BSTA.setURXDA(thebits : TBits_1); inline;
  33532. begin
  33533. if thebits = 0 then
  33534. pTDefRegMap(@Self)^.clr := $00000001
  33535. else
  33536. pTDefRegMap(@Self)^.&set := $00000001;
  33537. end;
  33538. function TUART6_U2BSTA.getURXDA : TBits_1; inline;
  33539. begin
  33540. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33541. end;
  33542. procedure TUART6_U2BSTA.setOERR; inline;
  33543. begin
  33544. pTDefRegMap(@Self)^.&set := $00000002;
  33545. end;
  33546. procedure TUART6_U2BSTA.clearOERR; inline;
  33547. begin
  33548. pTDefRegMap(@Self)^.clr := $00000002;
  33549. end;
  33550. procedure TUART6_U2BSTA.setOERR(thebits : TBits_1); inline;
  33551. begin
  33552. if thebits = 0 then
  33553. pTDefRegMap(@Self)^.clr := $00000002
  33554. else
  33555. pTDefRegMap(@Self)^.&set := $00000002;
  33556. end;
  33557. function TUART6_U2BSTA.getOERR : TBits_1; inline;
  33558. begin
  33559. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33560. end;
  33561. procedure TUART6_U2BSTA.setFERR; inline;
  33562. begin
  33563. pTDefRegMap(@Self)^.&set := $00000004;
  33564. end;
  33565. procedure TUART6_U2BSTA.clearFERR; inline;
  33566. begin
  33567. pTDefRegMap(@Self)^.clr := $00000004;
  33568. end;
  33569. procedure TUART6_U2BSTA.setFERR(thebits : TBits_1); inline;
  33570. begin
  33571. if thebits = 0 then
  33572. pTDefRegMap(@Self)^.clr := $00000004
  33573. else
  33574. pTDefRegMap(@Self)^.&set := $00000004;
  33575. end;
  33576. function TUART6_U2BSTA.getFERR : TBits_1; inline;
  33577. begin
  33578. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33579. end;
  33580. procedure TUART6_U2BSTA.setPERR; inline;
  33581. begin
  33582. pTDefRegMap(@Self)^.&set := $00000008;
  33583. end;
  33584. procedure TUART6_U2BSTA.clearPERR; inline;
  33585. begin
  33586. pTDefRegMap(@Self)^.clr := $00000008;
  33587. end;
  33588. procedure TUART6_U2BSTA.setPERR(thebits : TBits_1); inline;
  33589. begin
  33590. if thebits = 0 then
  33591. pTDefRegMap(@Self)^.clr := $00000008
  33592. else
  33593. pTDefRegMap(@Self)^.&set := $00000008;
  33594. end;
  33595. function TUART6_U2BSTA.getPERR : TBits_1; inline;
  33596. begin
  33597. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33598. end;
  33599. procedure TUART6_U2BSTA.setRIDLE; inline;
  33600. begin
  33601. pTDefRegMap(@Self)^.&set := $00000010;
  33602. end;
  33603. procedure TUART6_U2BSTA.clearRIDLE; inline;
  33604. begin
  33605. pTDefRegMap(@Self)^.clr := $00000010;
  33606. end;
  33607. procedure TUART6_U2BSTA.setRIDLE(thebits : TBits_1); inline;
  33608. begin
  33609. if thebits = 0 then
  33610. pTDefRegMap(@Self)^.clr := $00000010
  33611. else
  33612. pTDefRegMap(@Self)^.&set := $00000010;
  33613. end;
  33614. function TUART6_U2BSTA.getRIDLE : TBits_1; inline;
  33615. begin
  33616. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33617. end;
  33618. procedure TUART6_U2BSTA.setADDEN; inline;
  33619. begin
  33620. pTDefRegMap(@Self)^.&set := $00000020;
  33621. end;
  33622. procedure TUART6_U2BSTA.clearADDEN; inline;
  33623. begin
  33624. pTDefRegMap(@Self)^.clr := $00000020;
  33625. end;
  33626. procedure TUART6_U2BSTA.setADDEN(thebits : TBits_1); inline;
  33627. begin
  33628. if thebits = 0 then
  33629. pTDefRegMap(@Self)^.clr := $00000020
  33630. else
  33631. pTDefRegMap(@Self)^.&set := $00000020;
  33632. end;
  33633. function TUART6_U2BSTA.getADDEN : TBits_1; inline;
  33634. begin
  33635. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33636. end;
  33637. procedure TUART6_U2BSTA.setURXISEL(thebits : TBits_2); inline;
  33638. begin
  33639. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  33640. end;
  33641. function TUART6_U2BSTA.getURXISEL : TBits_2; inline;
  33642. begin
  33643. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  33644. end;
  33645. procedure TUART6_U2BSTA.setTRMT; inline;
  33646. begin
  33647. pTDefRegMap(@Self)^.&set := $00000100;
  33648. end;
  33649. procedure TUART6_U2BSTA.clearTRMT; inline;
  33650. begin
  33651. pTDefRegMap(@Self)^.clr := $00000100;
  33652. end;
  33653. procedure TUART6_U2BSTA.setTRMT(thebits : TBits_1); inline;
  33654. begin
  33655. if thebits = 0 then
  33656. pTDefRegMap(@Self)^.clr := $00000100
  33657. else
  33658. pTDefRegMap(@Self)^.&set := $00000100;
  33659. end;
  33660. function TUART6_U2BSTA.getTRMT : TBits_1; inline;
  33661. begin
  33662. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  33663. end;
  33664. procedure TUART6_U2BSTA.setUTXBF; inline;
  33665. begin
  33666. pTDefRegMap(@Self)^.&set := $00000200;
  33667. end;
  33668. procedure TUART6_U2BSTA.clearUTXBF; inline;
  33669. begin
  33670. pTDefRegMap(@Self)^.clr := $00000200;
  33671. end;
  33672. procedure TUART6_U2BSTA.setUTXBF(thebits : TBits_1); inline;
  33673. begin
  33674. if thebits = 0 then
  33675. pTDefRegMap(@Self)^.clr := $00000200
  33676. else
  33677. pTDefRegMap(@Self)^.&set := $00000200;
  33678. end;
  33679. function TUART6_U2BSTA.getUTXBF : TBits_1; inline;
  33680. begin
  33681. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  33682. end;
  33683. procedure TUART6_U2BSTA.setUTXEN; inline;
  33684. begin
  33685. pTDefRegMap(@Self)^.&set := $00000400;
  33686. end;
  33687. procedure TUART6_U2BSTA.clearUTXEN; inline;
  33688. begin
  33689. pTDefRegMap(@Self)^.clr := $00000400;
  33690. end;
  33691. procedure TUART6_U2BSTA.setUTXEN(thebits : TBits_1); inline;
  33692. begin
  33693. if thebits = 0 then
  33694. pTDefRegMap(@Self)^.clr := $00000400
  33695. else
  33696. pTDefRegMap(@Self)^.&set := $00000400;
  33697. end;
  33698. function TUART6_U2BSTA.getUTXEN : TBits_1; inline;
  33699. begin
  33700. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  33701. end;
  33702. procedure TUART6_U2BSTA.setUTXBRK; inline;
  33703. begin
  33704. pTDefRegMap(@Self)^.&set := $00000800;
  33705. end;
  33706. procedure TUART6_U2BSTA.clearUTXBRK; inline;
  33707. begin
  33708. pTDefRegMap(@Self)^.clr := $00000800;
  33709. end;
  33710. procedure TUART6_U2BSTA.setUTXBRK(thebits : TBits_1); inline;
  33711. begin
  33712. if thebits = 0 then
  33713. pTDefRegMap(@Self)^.clr := $00000800
  33714. else
  33715. pTDefRegMap(@Self)^.&set := $00000800;
  33716. end;
  33717. function TUART6_U2BSTA.getUTXBRK : TBits_1; inline;
  33718. begin
  33719. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  33720. end;
  33721. procedure TUART6_U2BSTA.setURXEN; inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.&set := $00001000;
  33724. end;
  33725. procedure TUART6_U2BSTA.clearURXEN; inline;
  33726. begin
  33727. pTDefRegMap(@Self)^.clr := $00001000;
  33728. end;
  33729. procedure TUART6_U2BSTA.setURXEN(thebits : TBits_1); inline;
  33730. begin
  33731. if thebits = 0 then
  33732. pTDefRegMap(@Self)^.clr := $00001000
  33733. else
  33734. pTDefRegMap(@Self)^.&set := $00001000;
  33735. end;
  33736. function TUART6_U2BSTA.getURXEN : TBits_1; inline;
  33737. begin
  33738. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  33739. end;
  33740. procedure TUART6_U2BSTA.setUTXINV; inline;
  33741. begin
  33742. pTDefRegMap(@Self)^.&set := $00002000;
  33743. end;
  33744. procedure TUART6_U2BSTA.clearUTXINV; inline;
  33745. begin
  33746. pTDefRegMap(@Self)^.clr := $00002000;
  33747. end;
  33748. procedure TUART6_U2BSTA.setUTXINV(thebits : TBits_1); inline;
  33749. begin
  33750. if thebits = 0 then
  33751. pTDefRegMap(@Self)^.clr := $00002000
  33752. else
  33753. pTDefRegMap(@Self)^.&set := $00002000;
  33754. end;
  33755. function TUART6_U2BSTA.getUTXINV : TBits_1; inline;
  33756. begin
  33757. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33758. end;
  33759. procedure TUART6_U2BSTA.setUTXISEL(thebits : TBits_2); inline;
  33760. begin
  33761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33762. end;
  33763. function TUART6_U2BSTA.getUTXISEL : TBits_2; inline;
  33764. begin
  33765. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33766. end;
  33767. procedure TUART6_U2BSTA.setADDR(thebits : TBits_8); inline;
  33768. begin
  33769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  33770. end;
  33771. function TUART6_U2BSTA.getADDR : TBits_8; inline;
  33772. begin
  33773. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  33774. end;
  33775. procedure TUART6_U2BSTA.setADM_EN; inline;
  33776. begin
  33777. pTDefRegMap(@Self)^.&set := $01000000;
  33778. end;
  33779. procedure TUART6_U2BSTA.clearADM_EN; inline;
  33780. begin
  33781. pTDefRegMap(@Self)^.clr := $01000000;
  33782. end;
  33783. procedure TUART6_U2BSTA.setADM_EN(thebits : TBits_1); inline;
  33784. begin
  33785. if thebits = 0 then
  33786. pTDefRegMap(@Self)^.clr := $01000000
  33787. else
  33788. pTDefRegMap(@Self)^.&set := $01000000;
  33789. end;
  33790. function TUART6_U2BSTA.getADM_EN : TBits_1; inline;
  33791. begin
  33792. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  33793. end;
  33794. procedure TUART6_U2BSTA.setURXISEL0; inline;
  33795. begin
  33796. pTDefRegMap(@Self)^.&set := $00000040;
  33797. end;
  33798. procedure TUART6_U2BSTA.clearURXISEL0; inline;
  33799. begin
  33800. pTDefRegMap(@Self)^.clr := $00000040;
  33801. end;
  33802. procedure TUART6_U2BSTA.setURXISEL0(thebits : TBits_1); inline;
  33803. begin
  33804. if thebits = 0 then
  33805. pTDefRegMap(@Self)^.clr := $00000040
  33806. else
  33807. pTDefRegMap(@Self)^.&set := $00000040;
  33808. end;
  33809. function TUART6_U2BSTA.getURXISEL0 : TBits_1; inline;
  33810. begin
  33811. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33812. end;
  33813. procedure TUART6_U2BSTA.setURXISEL1; inline;
  33814. begin
  33815. pTDefRegMap(@Self)^.&set := $00000080;
  33816. end;
  33817. procedure TUART6_U2BSTA.clearURXISEL1; inline;
  33818. begin
  33819. pTDefRegMap(@Self)^.clr := $00000080;
  33820. end;
  33821. procedure TUART6_U2BSTA.setURXISEL1(thebits : TBits_1); inline;
  33822. begin
  33823. if thebits = 0 then
  33824. pTDefRegMap(@Self)^.clr := $00000080
  33825. else
  33826. pTDefRegMap(@Self)^.&set := $00000080;
  33827. end;
  33828. function TUART6_U2BSTA.getURXISEL1 : TBits_1; inline;
  33829. begin
  33830. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33831. end;
  33832. procedure TUART6_U2BSTA.setUTXISEL0; inline;
  33833. begin
  33834. pTDefRegMap(@Self)^.&set := $00004000;
  33835. end;
  33836. procedure TUART6_U2BSTA.clearUTXISEL0; inline;
  33837. begin
  33838. pTDefRegMap(@Self)^.clr := $00004000;
  33839. end;
  33840. procedure TUART6_U2BSTA.setUTXISEL0(thebits : TBits_1); inline;
  33841. begin
  33842. if thebits = 0 then
  33843. pTDefRegMap(@Self)^.clr := $00004000
  33844. else
  33845. pTDefRegMap(@Self)^.&set := $00004000;
  33846. end;
  33847. function TUART6_U2BSTA.getUTXISEL0 : TBits_1; inline;
  33848. begin
  33849. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  33850. end;
  33851. procedure TUART6_U2BSTA.setUTXISEL1; inline;
  33852. begin
  33853. pTDefRegMap(@Self)^.&set := $00008000;
  33854. end;
  33855. procedure TUART6_U2BSTA.clearUTXISEL1; inline;
  33856. begin
  33857. pTDefRegMap(@Self)^.clr := $00008000;
  33858. end;
  33859. procedure TUART6_U2BSTA.setUTXISEL1(thebits : TBits_1); inline;
  33860. begin
  33861. if thebits = 0 then
  33862. pTDefRegMap(@Self)^.clr := $00008000
  33863. else
  33864. pTDefRegMap(@Self)^.&set := $00008000;
  33865. end;
  33866. function TUART6_U2BSTA.getUTXISEL1 : TBits_1; inline;
  33867. begin
  33868. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33869. end;
  33870. procedure TUART6_U2BSTA.setUTXSEL(thebits : TBits_2); inline;
  33871. begin
  33872. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  33873. end;
  33874. function TUART6_U2BSTA.getUTXSEL : TBits_2; inline;
  33875. begin
  33876. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  33877. end;
  33878. procedure TUART6_U2BSTA.setw(thebits : TBits_32); inline;
  33879. begin
  33880. pTDefRegMap(@Self)^.val := thebits;
  33881. end;
  33882. function TUART6_U2BSTA.getw : TBits_32; inline;
  33883. begin
  33884. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33885. end;
  33886. procedure TUART6_U6STA.setURXDA; inline;
  33887. begin
  33888. pTDefRegMap(@Self)^.&set := $00000001;
  33889. end;
  33890. procedure TUART6_U6STA.clearURXDA; inline;
  33891. begin
  33892. pTDefRegMap(@Self)^.clr := $00000001;
  33893. end;
  33894. procedure TUART6_U6STA.setURXDA(thebits : TBits_1); inline;
  33895. begin
  33896. if thebits = 0 then
  33897. pTDefRegMap(@Self)^.clr := $00000001
  33898. else
  33899. pTDefRegMap(@Self)^.&set := $00000001;
  33900. end;
  33901. function TUART6_U6STA.getURXDA : TBits_1; inline;
  33902. begin
  33903. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33904. end;
  33905. procedure TUART6_U6STA.setOERR; inline;
  33906. begin
  33907. pTDefRegMap(@Self)^.&set := $00000002;
  33908. end;
  33909. procedure TUART6_U6STA.clearOERR; inline;
  33910. begin
  33911. pTDefRegMap(@Self)^.clr := $00000002;
  33912. end;
  33913. procedure TUART6_U6STA.setOERR(thebits : TBits_1); inline;
  33914. begin
  33915. if thebits = 0 then
  33916. pTDefRegMap(@Self)^.clr := $00000002
  33917. else
  33918. pTDefRegMap(@Self)^.&set := $00000002;
  33919. end;
  33920. function TUART6_U6STA.getOERR : TBits_1; inline;
  33921. begin
  33922. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33923. end;
  33924. procedure TUART6_U6STA.setFERR; inline;
  33925. begin
  33926. pTDefRegMap(@Self)^.&set := $00000004;
  33927. end;
  33928. procedure TUART6_U6STA.clearFERR; inline;
  33929. begin
  33930. pTDefRegMap(@Self)^.clr := $00000004;
  33931. end;
  33932. procedure TUART6_U6STA.setFERR(thebits : TBits_1); inline;
  33933. begin
  33934. if thebits = 0 then
  33935. pTDefRegMap(@Self)^.clr := $00000004
  33936. else
  33937. pTDefRegMap(@Self)^.&set := $00000004;
  33938. end;
  33939. function TUART6_U6STA.getFERR : TBits_1; inline;
  33940. begin
  33941. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33942. end;
  33943. procedure TUART6_U6STA.setPERR; inline;
  33944. begin
  33945. pTDefRegMap(@Self)^.&set := $00000008;
  33946. end;
  33947. procedure TUART6_U6STA.clearPERR; inline;
  33948. begin
  33949. pTDefRegMap(@Self)^.clr := $00000008;
  33950. end;
  33951. procedure TUART6_U6STA.setPERR(thebits : TBits_1); inline;
  33952. begin
  33953. if thebits = 0 then
  33954. pTDefRegMap(@Self)^.clr := $00000008
  33955. else
  33956. pTDefRegMap(@Self)^.&set := $00000008;
  33957. end;
  33958. function TUART6_U6STA.getPERR : TBits_1; inline;
  33959. begin
  33960. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33961. end;
  33962. procedure TUART6_U6STA.setRIDLE; inline;
  33963. begin
  33964. pTDefRegMap(@Self)^.&set := $00000010;
  33965. end;
  33966. procedure TUART6_U6STA.clearRIDLE; inline;
  33967. begin
  33968. pTDefRegMap(@Self)^.clr := $00000010;
  33969. end;
  33970. procedure TUART6_U6STA.setRIDLE(thebits : TBits_1); inline;
  33971. begin
  33972. if thebits = 0 then
  33973. pTDefRegMap(@Self)^.clr := $00000010
  33974. else
  33975. pTDefRegMap(@Self)^.&set := $00000010;
  33976. end;
  33977. function TUART6_U6STA.getRIDLE : TBits_1; inline;
  33978. begin
  33979. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33980. end;
  33981. procedure TUART6_U6STA.setADDEN; inline;
  33982. begin
  33983. pTDefRegMap(@Self)^.&set := $00000020;
  33984. end;
  33985. procedure TUART6_U6STA.clearADDEN; inline;
  33986. begin
  33987. pTDefRegMap(@Self)^.clr := $00000020;
  33988. end;
  33989. procedure TUART6_U6STA.setADDEN(thebits : TBits_1); inline;
  33990. begin
  33991. if thebits = 0 then
  33992. pTDefRegMap(@Self)^.clr := $00000020
  33993. else
  33994. pTDefRegMap(@Self)^.&set := $00000020;
  33995. end;
  33996. function TUART6_U6STA.getADDEN : TBits_1; inline;
  33997. begin
  33998. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33999. end;
  34000. procedure TUART6_U6STA.setURXISEL(thebits : TBits_2); inline;
  34001. begin
  34002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  34003. end;
  34004. function TUART6_U6STA.getURXISEL : TBits_2; inline;
  34005. begin
  34006. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  34007. end;
  34008. procedure TUART6_U6STA.setTRMT; inline;
  34009. begin
  34010. pTDefRegMap(@Self)^.&set := $00000100;
  34011. end;
  34012. procedure TUART6_U6STA.clearTRMT; inline;
  34013. begin
  34014. pTDefRegMap(@Self)^.clr := $00000100;
  34015. end;
  34016. procedure TUART6_U6STA.setTRMT(thebits : TBits_1); inline;
  34017. begin
  34018. if thebits = 0 then
  34019. pTDefRegMap(@Self)^.clr := $00000100
  34020. else
  34021. pTDefRegMap(@Self)^.&set := $00000100;
  34022. end;
  34023. function TUART6_U6STA.getTRMT : TBits_1; inline;
  34024. begin
  34025. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34026. end;
  34027. procedure TUART6_U6STA.setUTXBF; inline;
  34028. begin
  34029. pTDefRegMap(@Self)^.&set := $00000200;
  34030. end;
  34031. procedure TUART6_U6STA.clearUTXBF; inline;
  34032. begin
  34033. pTDefRegMap(@Self)^.clr := $00000200;
  34034. end;
  34035. procedure TUART6_U6STA.setUTXBF(thebits : TBits_1); inline;
  34036. begin
  34037. if thebits = 0 then
  34038. pTDefRegMap(@Self)^.clr := $00000200
  34039. else
  34040. pTDefRegMap(@Self)^.&set := $00000200;
  34041. end;
  34042. function TUART6_U6STA.getUTXBF : TBits_1; inline;
  34043. begin
  34044. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34045. end;
  34046. procedure TUART6_U6STA.setUTXEN; inline;
  34047. begin
  34048. pTDefRegMap(@Self)^.&set := $00000400;
  34049. end;
  34050. procedure TUART6_U6STA.clearUTXEN; inline;
  34051. begin
  34052. pTDefRegMap(@Self)^.clr := $00000400;
  34053. end;
  34054. procedure TUART6_U6STA.setUTXEN(thebits : TBits_1); inline;
  34055. begin
  34056. if thebits = 0 then
  34057. pTDefRegMap(@Self)^.clr := $00000400
  34058. else
  34059. pTDefRegMap(@Self)^.&set := $00000400;
  34060. end;
  34061. function TUART6_U6STA.getUTXEN : TBits_1; inline;
  34062. begin
  34063. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34064. end;
  34065. procedure TUART6_U6STA.setUTXBRK; inline;
  34066. begin
  34067. pTDefRegMap(@Self)^.&set := $00000800;
  34068. end;
  34069. procedure TUART6_U6STA.clearUTXBRK; inline;
  34070. begin
  34071. pTDefRegMap(@Self)^.clr := $00000800;
  34072. end;
  34073. procedure TUART6_U6STA.setUTXBRK(thebits : TBits_1); inline;
  34074. begin
  34075. if thebits = 0 then
  34076. pTDefRegMap(@Self)^.clr := $00000800
  34077. else
  34078. pTDefRegMap(@Self)^.&set := $00000800;
  34079. end;
  34080. function TUART6_U6STA.getUTXBRK : TBits_1; inline;
  34081. begin
  34082. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34083. end;
  34084. procedure TUART6_U6STA.setURXEN; inline;
  34085. begin
  34086. pTDefRegMap(@Self)^.&set := $00001000;
  34087. end;
  34088. procedure TUART6_U6STA.clearURXEN; inline;
  34089. begin
  34090. pTDefRegMap(@Self)^.clr := $00001000;
  34091. end;
  34092. procedure TUART6_U6STA.setURXEN(thebits : TBits_1); inline;
  34093. begin
  34094. if thebits = 0 then
  34095. pTDefRegMap(@Self)^.clr := $00001000
  34096. else
  34097. pTDefRegMap(@Self)^.&set := $00001000;
  34098. end;
  34099. function TUART6_U6STA.getURXEN : TBits_1; inline;
  34100. begin
  34101. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34102. end;
  34103. procedure TUART6_U6STA.setUTXINV; inline;
  34104. begin
  34105. pTDefRegMap(@Self)^.&set := $00002000;
  34106. end;
  34107. procedure TUART6_U6STA.clearUTXINV; inline;
  34108. begin
  34109. pTDefRegMap(@Self)^.clr := $00002000;
  34110. end;
  34111. procedure TUART6_U6STA.setUTXINV(thebits : TBits_1); inline;
  34112. begin
  34113. if thebits = 0 then
  34114. pTDefRegMap(@Self)^.clr := $00002000
  34115. else
  34116. pTDefRegMap(@Self)^.&set := $00002000;
  34117. end;
  34118. function TUART6_U6STA.getUTXINV : TBits_1; inline;
  34119. begin
  34120. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34121. end;
  34122. procedure TUART6_U6STA.setUTXISEL(thebits : TBits_2); inline;
  34123. begin
  34124. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34125. end;
  34126. function TUART6_U6STA.getUTXISEL : TBits_2; inline;
  34127. begin
  34128. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34129. end;
  34130. procedure TUART6_U6STA.setADDR(thebits : TBits_8); inline;
  34131. begin
  34132. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  34133. end;
  34134. function TUART6_U6STA.getADDR : TBits_8; inline;
  34135. begin
  34136. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  34137. end;
  34138. procedure TUART6_U6STA.setADM_EN; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.&set := $01000000;
  34141. end;
  34142. procedure TUART6_U6STA.clearADM_EN; inline;
  34143. begin
  34144. pTDefRegMap(@Self)^.clr := $01000000;
  34145. end;
  34146. procedure TUART6_U6STA.setADM_EN(thebits : TBits_1); inline;
  34147. begin
  34148. if thebits = 0 then
  34149. pTDefRegMap(@Self)^.clr := $01000000
  34150. else
  34151. pTDefRegMap(@Self)^.&set := $01000000;
  34152. end;
  34153. function TUART6_U6STA.getADM_EN : TBits_1; inline;
  34154. begin
  34155. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  34156. end;
  34157. procedure TUART6_U6STA.setURXISEL0; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.&set := $00000040;
  34160. end;
  34161. procedure TUART6_U6STA.clearURXISEL0; inline;
  34162. begin
  34163. pTDefRegMap(@Self)^.clr := $00000040;
  34164. end;
  34165. procedure TUART6_U6STA.setURXISEL0(thebits : TBits_1); inline;
  34166. begin
  34167. if thebits = 0 then
  34168. pTDefRegMap(@Self)^.clr := $00000040
  34169. else
  34170. pTDefRegMap(@Self)^.&set := $00000040;
  34171. end;
  34172. function TUART6_U6STA.getURXISEL0 : TBits_1; inline;
  34173. begin
  34174. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34175. end;
  34176. procedure TUART6_U6STA.setURXISEL1; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.&set := $00000080;
  34179. end;
  34180. procedure TUART6_U6STA.clearURXISEL1; inline;
  34181. begin
  34182. pTDefRegMap(@Self)^.clr := $00000080;
  34183. end;
  34184. procedure TUART6_U6STA.setURXISEL1(thebits : TBits_1); inline;
  34185. begin
  34186. if thebits = 0 then
  34187. pTDefRegMap(@Self)^.clr := $00000080
  34188. else
  34189. pTDefRegMap(@Self)^.&set := $00000080;
  34190. end;
  34191. function TUART6_U6STA.getURXISEL1 : TBits_1; inline;
  34192. begin
  34193. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34194. end;
  34195. procedure TUART6_U6STA.setUTXISEL0; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.&set := $00004000;
  34198. end;
  34199. procedure TUART6_U6STA.clearUTXISEL0; inline;
  34200. begin
  34201. pTDefRegMap(@Self)^.clr := $00004000;
  34202. end;
  34203. procedure TUART6_U6STA.setUTXISEL0(thebits : TBits_1); inline;
  34204. begin
  34205. if thebits = 0 then
  34206. pTDefRegMap(@Self)^.clr := $00004000
  34207. else
  34208. pTDefRegMap(@Self)^.&set := $00004000;
  34209. end;
  34210. function TUART6_U6STA.getUTXISEL0 : TBits_1; inline;
  34211. begin
  34212. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34213. end;
  34214. procedure TUART6_U6STA.setUTXISEL1; inline;
  34215. begin
  34216. pTDefRegMap(@Self)^.&set := $00008000;
  34217. end;
  34218. procedure TUART6_U6STA.clearUTXISEL1; inline;
  34219. begin
  34220. pTDefRegMap(@Self)^.clr := $00008000;
  34221. end;
  34222. procedure TUART6_U6STA.setUTXISEL1(thebits : TBits_1); inline;
  34223. begin
  34224. if thebits = 0 then
  34225. pTDefRegMap(@Self)^.clr := $00008000
  34226. else
  34227. pTDefRegMap(@Self)^.&set := $00008000;
  34228. end;
  34229. function TUART6_U6STA.getUTXISEL1 : TBits_1; inline;
  34230. begin
  34231. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34232. end;
  34233. procedure TUART6_U6STA.setUTXSEL(thebits : TBits_2); inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  34236. end;
  34237. function TUART6_U6STA.getUTXSEL : TBits_2; inline;
  34238. begin
  34239. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  34240. end;
  34241. procedure TUART6_U6STA.setw(thebits : TBits_32); inline;
  34242. begin
  34243. pTDefRegMap(@Self)^.val := thebits;
  34244. end;
  34245. function TUART6_U6STA.getw : TBits_32; inline;
  34246. begin
  34247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34248. end;
  34249. procedure TUART3A_U2MODE.setSTSEL; inline;
  34250. begin
  34251. pTDefRegMap(@Self)^.&set := $00000001;
  34252. end;
  34253. procedure TUART3A_U2MODE.clearSTSEL; inline;
  34254. begin
  34255. pTDefRegMap(@Self)^.clr := $00000001;
  34256. end;
  34257. procedure TUART3A_U2MODE.setSTSEL(thebits : TBits_1); inline;
  34258. begin
  34259. if thebits = 0 then
  34260. pTDefRegMap(@Self)^.clr := $00000001
  34261. else
  34262. pTDefRegMap(@Self)^.&set := $00000001;
  34263. end;
  34264. function TUART3A_U2MODE.getSTSEL : TBits_1; inline;
  34265. begin
  34266. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34267. end;
  34268. procedure TUART3A_U2MODE.setPDSEL(thebits : TBits_2); inline;
  34269. begin
  34270. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34271. end;
  34272. function TUART3A_U2MODE.getPDSEL : TBits_2; inline;
  34273. begin
  34274. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34275. end;
  34276. procedure TUART3A_U2MODE.setBRGH; inline;
  34277. begin
  34278. pTDefRegMap(@Self)^.&set := $00000008;
  34279. end;
  34280. procedure TUART3A_U2MODE.clearBRGH; inline;
  34281. begin
  34282. pTDefRegMap(@Self)^.clr := $00000008;
  34283. end;
  34284. procedure TUART3A_U2MODE.setBRGH(thebits : TBits_1); inline;
  34285. begin
  34286. if thebits = 0 then
  34287. pTDefRegMap(@Self)^.clr := $00000008
  34288. else
  34289. pTDefRegMap(@Self)^.&set := $00000008;
  34290. end;
  34291. function TUART3A_U2MODE.getBRGH : TBits_1; inline;
  34292. begin
  34293. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34294. end;
  34295. procedure TUART3A_U2MODE.setRXINV; inline;
  34296. begin
  34297. pTDefRegMap(@Self)^.&set := $00000010;
  34298. end;
  34299. procedure TUART3A_U2MODE.clearRXINV; inline;
  34300. begin
  34301. pTDefRegMap(@Self)^.clr := $00000010;
  34302. end;
  34303. procedure TUART3A_U2MODE.setRXINV(thebits : TBits_1); inline;
  34304. begin
  34305. if thebits = 0 then
  34306. pTDefRegMap(@Self)^.clr := $00000010
  34307. else
  34308. pTDefRegMap(@Self)^.&set := $00000010;
  34309. end;
  34310. function TUART3A_U2MODE.getRXINV : TBits_1; inline;
  34311. begin
  34312. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34313. end;
  34314. procedure TUART3A_U2MODE.setABAUD; inline;
  34315. begin
  34316. pTDefRegMap(@Self)^.&set := $00000020;
  34317. end;
  34318. procedure TUART3A_U2MODE.clearABAUD; inline;
  34319. begin
  34320. pTDefRegMap(@Self)^.clr := $00000020;
  34321. end;
  34322. procedure TUART3A_U2MODE.setABAUD(thebits : TBits_1); inline;
  34323. begin
  34324. if thebits = 0 then
  34325. pTDefRegMap(@Self)^.clr := $00000020
  34326. else
  34327. pTDefRegMap(@Self)^.&set := $00000020;
  34328. end;
  34329. function TUART3A_U2MODE.getABAUD : TBits_1; inline;
  34330. begin
  34331. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34332. end;
  34333. procedure TUART3A_U2MODE.setLPBACK; inline;
  34334. begin
  34335. pTDefRegMap(@Self)^.&set := $00000040;
  34336. end;
  34337. procedure TUART3A_U2MODE.clearLPBACK; inline;
  34338. begin
  34339. pTDefRegMap(@Self)^.clr := $00000040;
  34340. end;
  34341. procedure TUART3A_U2MODE.setLPBACK(thebits : TBits_1); inline;
  34342. begin
  34343. if thebits = 0 then
  34344. pTDefRegMap(@Self)^.clr := $00000040
  34345. else
  34346. pTDefRegMap(@Self)^.&set := $00000040;
  34347. end;
  34348. function TUART3A_U2MODE.getLPBACK : TBits_1; inline;
  34349. begin
  34350. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34351. end;
  34352. procedure TUART3A_U2MODE.setWAKE; inline;
  34353. begin
  34354. pTDefRegMap(@Self)^.&set := $00000080;
  34355. end;
  34356. procedure TUART3A_U2MODE.clearWAKE; inline;
  34357. begin
  34358. pTDefRegMap(@Self)^.clr := $00000080;
  34359. end;
  34360. procedure TUART3A_U2MODE.setWAKE(thebits : TBits_1); inline;
  34361. begin
  34362. if thebits = 0 then
  34363. pTDefRegMap(@Self)^.clr := $00000080
  34364. else
  34365. pTDefRegMap(@Self)^.&set := $00000080;
  34366. end;
  34367. function TUART3A_U2MODE.getWAKE : TBits_1; inline;
  34368. begin
  34369. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34370. end;
  34371. procedure TUART3A_U2MODE.setUEN(thebits : TBits_2); inline;
  34372. begin
  34373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34374. end;
  34375. function TUART3A_U2MODE.getUEN : TBits_2; inline;
  34376. begin
  34377. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34378. end;
  34379. procedure TUART3A_U2MODE.setRTSMD; inline;
  34380. begin
  34381. pTDefRegMap(@Self)^.&set := $00000800;
  34382. end;
  34383. procedure TUART3A_U2MODE.clearRTSMD; inline;
  34384. begin
  34385. pTDefRegMap(@Self)^.clr := $00000800;
  34386. end;
  34387. procedure TUART3A_U2MODE.setRTSMD(thebits : TBits_1); inline;
  34388. begin
  34389. if thebits = 0 then
  34390. pTDefRegMap(@Self)^.clr := $00000800
  34391. else
  34392. pTDefRegMap(@Self)^.&set := $00000800;
  34393. end;
  34394. function TUART3A_U2MODE.getRTSMD : TBits_1; inline;
  34395. begin
  34396. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34397. end;
  34398. procedure TUART3A_U2MODE.setIREN; inline;
  34399. begin
  34400. pTDefRegMap(@Self)^.&set := $00001000;
  34401. end;
  34402. procedure TUART3A_U2MODE.clearIREN; inline;
  34403. begin
  34404. pTDefRegMap(@Self)^.clr := $00001000;
  34405. end;
  34406. procedure TUART3A_U2MODE.setIREN(thebits : TBits_1); inline;
  34407. begin
  34408. if thebits = 0 then
  34409. pTDefRegMap(@Self)^.clr := $00001000
  34410. else
  34411. pTDefRegMap(@Self)^.&set := $00001000;
  34412. end;
  34413. function TUART3A_U2MODE.getIREN : TBits_1; inline;
  34414. begin
  34415. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34416. end;
  34417. procedure TUART3A_U2MODE.setSIDL; inline;
  34418. begin
  34419. pTDefRegMap(@Self)^.&set := $00002000;
  34420. end;
  34421. procedure TUART3A_U2MODE.clearSIDL; inline;
  34422. begin
  34423. pTDefRegMap(@Self)^.clr := $00002000;
  34424. end;
  34425. procedure TUART3A_U2MODE.setSIDL(thebits : TBits_1); inline;
  34426. begin
  34427. if thebits = 0 then
  34428. pTDefRegMap(@Self)^.clr := $00002000
  34429. else
  34430. pTDefRegMap(@Self)^.&set := $00002000;
  34431. end;
  34432. function TUART3A_U2MODE.getSIDL : TBits_1; inline;
  34433. begin
  34434. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34435. end;
  34436. procedure TUART3A_U2MODE.setON; inline;
  34437. begin
  34438. pTDefRegMap(@Self)^.&set := $00008000;
  34439. end;
  34440. procedure TUART3A_U2MODE.clearON; inline;
  34441. begin
  34442. pTDefRegMap(@Self)^.clr := $00008000;
  34443. end;
  34444. procedure TUART3A_U2MODE.setON(thebits : TBits_1); inline;
  34445. begin
  34446. if thebits = 0 then
  34447. pTDefRegMap(@Self)^.clr := $00008000
  34448. else
  34449. pTDefRegMap(@Self)^.&set := $00008000;
  34450. end;
  34451. function TUART3A_U2MODE.getON : TBits_1; inline;
  34452. begin
  34453. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34454. end;
  34455. procedure TUART3A_U2MODE.setPDSEL0; inline;
  34456. begin
  34457. pTDefRegMap(@Self)^.&set := $00000002;
  34458. end;
  34459. procedure TUART3A_U2MODE.clearPDSEL0; inline;
  34460. begin
  34461. pTDefRegMap(@Self)^.clr := $00000002;
  34462. end;
  34463. procedure TUART3A_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  34464. begin
  34465. if thebits = 0 then
  34466. pTDefRegMap(@Self)^.clr := $00000002
  34467. else
  34468. pTDefRegMap(@Self)^.&set := $00000002;
  34469. end;
  34470. function TUART3A_U2MODE.getPDSEL0 : TBits_1; inline;
  34471. begin
  34472. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34473. end;
  34474. procedure TUART3A_U2MODE.setPDSEL1; inline;
  34475. begin
  34476. pTDefRegMap(@Self)^.&set := $00000004;
  34477. end;
  34478. procedure TUART3A_U2MODE.clearPDSEL1; inline;
  34479. begin
  34480. pTDefRegMap(@Self)^.clr := $00000004;
  34481. end;
  34482. procedure TUART3A_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  34483. begin
  34484. if thebits = 0 then
  34485. pTDefRegMap(@Self)^.clr := $00000004
  34486. else
  34487. pTDefRegMap(@Self)^.&set := $00000004;
  34488. end;
  34489. function TUART3A_U2MODE.getPDSEL1 : TBits_1; inline;
  34490. begin
  34491. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34492. end;
  34493. procedure TUART3A_U2MODE.setUEN0; inline;
  34494. begin
  34495. pTDefRegMap(@Self)^.&set := $00000100;
  34496. end;
  34497. procedure TUART3A_U2MODE.clearUEN0; inline;
  34498. begin
  34499. pTDefRegMap(@Self)^.clr := $00000100;
  34500. end;
  34501. procedure TUART3A_U2MODE.setUEN0(thebits : TBits_1); inline;
  34502. begin
  34503. if thebits = 0 then
  34504. pTDefRegMap(@Self)^.clr := $00000100
  34505. else
  34506. pTDefRegMap(@Self)^.&set := $00000100;
  34507. end;
  34508. function TUART3A_U2MODE.getUEN0 : TBits_1; inline;
  34509. begin
  34510. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34511. end;
  34512. procedure TUART3A_U2MODE.setUEN1; inline;
  34513. begin
  34514. pTDefRegMap(@Self)^.&set := $00000200;
  34515. end;
  34516. procedure TUART3A_U2MODE.clearUEN1; inline;
  34517. begin
  34518. pTDefRegMap(@Self)^.clr := $00000200;
  34519. end;
  34520. procedure TUART3A_U2MODE.setUEN1(thebits : TBits_1); inline;
  34521. begin
  34522. if thebits = 0 then
  34523. pTDefRegMap(@Self)^.clr := $00000200
  34524. else
  34525. pTDefRegMap(@Self)^.&set := $00000200;
  34526. end;
  34527. function TUART3A_U2MODE.getUEN1 : TBits_1; inline;
  34528. begin
  34529. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34530. end;
  34531. procedure TUART3A_U2MODE.setUSIDL; inline;
  34532. begin
  34533. pTDefRegMap(@Self)^.&set := $00002000;
  34534. end;
  34535. procedure TUART3A_U2MODE.clearUSIDL; inline;
  34536. begin
  34537. pTDefRegMap(@Self)^.clr := $00002000;
  34538. end;
  34539. procedure TUART3A_U2MODE.setUSIDL(thebits : TBits_1); inline;
  34540. begin
  34541. if thebits = 0 then
  34542. pTDefRegMap(@Self)^.clr := $00002000
  34543. else
  34544. pTDefRegMap(@Self)^.&set := $00002000;
  34545. end;
  34546. function TUART3A_U2MODE.getUSIDL : TBits_1; inline;
  34547. begin
  34548. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34549. end;
  34550. procedure TUART3A_U2MODE.setUARTEN; inline;
  34551. begin
  34552. pTDefRegMap(@Self)^.&set := $00008000;
  34553. end;
  34554. procedure TUART3A_U2MODE.clearUARTEN; inline;
  34555. begin
  34556. pTDefRegMap(@Self)^.clr := $00008000;
  34557. end;
  34558. procedure TUART3A_U2MODE.setUARTEN(thebits : TBits_1); inline;
  34559. begin
  34560. if thebits = 0 then
  34561. pTDefRegMap(@Self)^.clr := $00008000
  34562. else
  34563. pTDefRegMap(@Self)^.&set := $00008000;
  34564. end;
  34565. function TUART3A_U2MODE.getUARTEN : TBits_1; inline;
  34566. begin
  34567. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34568. end;
  34569. procedure TUART3A_U2MODE.setw(thebits : TBits_32); inline;
  34570. begin
  34571. pTDefRegMap(@Self)^.val := thebits;
  34572. end;
  34573. function TUART3A_U2MODE.getw : TBits_32; inline;
  34574. begin
  34575. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34576. end;
  34577. procedure TUART3A_U3AMODE.setSTSEL; inline;
  34578. begin
  34579. pTDefRegMap(@Self)^.&set := $00000001;
  34580. end;
  34581. procedure TUART3A_U3AMODE.clearSTSEL; inline;
  34582. begin
  34583. pTDefRegMap(@Self)^.clr := $00000001;
  34584. end;
  34585. procedure TUART3A_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  34586. begin
  34587. if thebits = 0 then
  34588. pTDefRegMap(@Self)^.clr := $00000001
  34589. else
  34590. pTDefRegMap(@Self)^.&set := $00000001;
  34591. end;
  34592. function TUART3A_U3AMODE.getSTSEL : TBits_1; inline;
  34593. begin
  34594. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34595. end;
  34596. procedure TUART3A_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  34597. begin
  34598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  34599. end;
  34600. function TUART3A_U3AMODE.getPDSEL : TBits_2; inline;
  34601. begin
  34602. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  34603. end;
  34604. procedure TUART3A_U3AMODE.setBRGH; inline;
  34605. begin
  34606. pTDefRegMap(@Self)^.&set := $00000008;
  34607. end;
  34608. procedure TUART3A_U3AMODE.clearBRGH; inline;
  34609. begin
  34610. pTDefRegMap(@Self)^.clr := $00000008;
  34611. end;
  34612. procedure TUART3A_U3AMODE.setBRGH(thebits : TBits_1); inline;
  34613. begin
  34614. if thebits = 0 then
  34615. pTDefRegMap(@Self)^.clr := $00000008
  34616. else
  34617. pTDefRegMap(@Self)^.&set := $00000008;
  34618. end;
  34619. function TUART3A_U3AMODE.getBRGH : TBits_1; inline;
  34620. begin
  34621. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34622. end;
  34623. procedure TUART3A_U3AMODE.setRXINV; inline;
  34624. begin
  34625. pTDefRegMap(@Self)^.&set := $00000010;
  34626. end;
  34627. procedure TUART3A_U3AMODE.clearRXINV; inline;
  34628. begin
  34629. pTDefRegMap(@Self)^.clr := $00000010;
  34630. end;
  34631. procedure TUART3A_U3AMODE.setRXINV(thebits : TBits_1); inline;
  34632. begin
  34633. if thebits = 0 then
  34634. pTDefRegMap(@Self)^.clr := $00000010
  34635. else
  34636. pTDefRegMap(@Self)^.&set := $00000010;
  34637. end;
  34638. function TUART3A_U3AMODE.getRXINV : TBits_1; inline;
  34639. begin
  34640. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34641. end;
  34642. procedure TUART3A_U3AMODE.setABAUD; inline;
  34643. begin
  34644. pTDefRegMap(@Self)^.&set := $00000020;
  34645. end;
  34646. procedure TUART3A_U3AMODE.clearABAUD; inline;
  34647. begin
  34648. pTDefRegMap(@Self)^.clr := $00000020;
  34649. end;
  34650. procedure TUART3A_U3AMODE.setABAUD(thebits : TBits_1); inline;
  34651. begin
  34652. if thebits = 0 then
  34653. pTDefRegMap(@Self)^.clr := $00000020
  34654. else
  34655. pTDefRegMap(@Self)^.&set := $00000020;
  34656. end;
  34657. function TUART3A_U3AMODE.getABAUD : TBits_1; inline;
  34658. begin
  34659. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34660. end;
  34661. procedure TUART3A_U3AMODE.setLPBACK; inline;
  34662. begin
  34663. pTDefRegMap(@Self)^.&set := $00000040;
  34664. end;
  34665. procedure TUART3A_U3AMODE.clearLPBACK; inline;
  34666. begin
  34667. pTDefRegMap(@Self)^.clr := $00000040;
  34668. end;
  34669. procedure TUART3A_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  34670. begin
  34671. if thebits = 0 then
  34672. pTDefRegMap(@Self)^.clr := $00000040
  34673. else
  34674. pTDefRegMap(@Self)^.&set := $00000040;
  34675. end;
  34676. function TUART3A_U3AMODE.getLPBACK : TBits_1; inline;
  34677. begin
  34678. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34679. end;
  34680. procedure TUART3A_U3AMODE.setWAKE; inline;
  34681. begin
  34682. pTDefRegMap(@Self)^.&set := $00000080;
  34683. end;
  34684. procedure TUART3A_U3AMODE.clearWAKE; inline;
  34685. begin
  34686. pTDefRegMap(@Self)^.clr := $00000080;
  34687. end;
  34688. procedure TUART3A_U3AMODE.setWAKE(thebits : TBits_1); inline;
  34689. begin
  34690. if thebits = 0 then
  34691. pTDefRegMap(@Self)^.clr := $00000080
  34692. else
  34693. pTDefRegMap(@Self)^.&set := $00000080;
  34694. end;
  34695. function TUART3A_U3AMODE.getWAKE : TBits_1; inline;
  34696. begin
  34697. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34698. end;
  34699. procedure TUART3A_U3AMODE.setUEN(thebits : TBits_2); inline;
  34700. begin
  34701. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  34702. end;
  34703. function TUART3A_U3AMODE.getUEN : TBits_2; inline;
  34704. begin
  34705. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  34706. end;
  34707. procedure TUART3A_U3AMODE.setRTSMD; inline;
  34708. begin
  34709. pTDefRegMap(@Self)^.&set := $00000800;
  34710. end;
  34711. procedure TUART3A_U3AMODE.clearRTSMD; inline;
  34712. begin
  34713. pTDefRegMap(@Self)^.clr := $00000800;
  34714. end;
  34715. procedure TUART3A_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  34716. begin
  34717. if thebits = 0 then
  34718. pTDefRegMap(@Self)^.clr := $00000800
  34719. else
  34720. pTDefRegMap(@Self)^.&set := $00000800;
  34721. end;
  34722. function TUART3A_U3AMODE.getRTSMD : TBits_1; inline;
  34723. begin
  34724. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34725. end;
  34726. procedure TUART3A_U3AMODE.setIREN; inline;
  34727. begin
  34728. pTDefRegMap(@Self)^.&set := $00001000;
  34729. end;
  34730. procedure TUART3A_U3AMODE.clearIREN; inline;
  34731. begin
  34732. pTDefRegMap(@Self)^.clr := $00001000;
  34733. end;
  34734. procedure TUART3A_U3AMODE.setIREN(thebits : TBits_1); inline;
  34735. begin
  34736. if thebits = 0 then
  34737. pTDefRegMap(@Self)^.clr := $00001000
  34738. else
  34739. pTDefRegMap(@Self)^.&set := $00001000;
  34740. end;
  34741. function TUART3A_U3AMODE.getIREN : TBits_1; inline;
  34742. begin
  34743. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34744. end;
  34745. procedure TUART3A_U3AMODE.setSIDL; inline;
  34746. begin
  34747. pTDefRegMap(@Self)^.&set := $00002000;
  34748. end;
  34749. procedure TUART3A_U3AMODE.clearSIDL; inline;
  34750. begin
  34751. pTDefRegMap(@Self)^.clr := $00002000;
  34752. end;
  34753. procedure TUART3A_U3AMODE.setSIDL(thebits : TBits_1); inline;
  34754. begin
  34755. if thebits = 0 then
  34756. pTDefRegMap(@Self)^.clr := $00002000
  34757. else
  34758. pTDefRegMap(@Self)^.&set := $00002000;
  34759. end;
  34760. function TUART3A_U3AMODE.getSIDL : TBits_1; inline;
  34761. begin
  34762. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34763. end;
  34764. procedure TUART3A_U3AMODE.setON; inline;
  34765. begin
  34766. pTDefRegMap(@Self)^.&set := $00008000;
  34767. end;
  34768. procedure TUART3A_U3AMODE.clearON; inline;
  34769. begin
  34770. pTDefRegMap(@Self)^.clr := $00008000;
  34771. end;
  34772. procedure TUART3A_U3AMODE.setON(thebits : TBits_1); inline;
  34773. begin
  34774. if thebits = 0 then
  34775. pTDefRegMap(@Self)^.clr := $00008000
  34776. else
  34777. pTDefRegMap(@Self)^.&set := $00008000;
  34778. end;
  34779. function TUART3A_U3AMODE.getON : TBits_1; inline;
  34780. begin
  34781. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34782. end;
  34783. procedure TUART3A_U3AMODE.setPDSEL0; inline;
  34784. begin
  34785. pTDefRegMap(@Self)^.&set := $00000002;
  34786. end;
  34787. procedure TUART3A_U3AMODE.clearPDSEL0; inline;
  34788. begin
  34789. pTDefRegMap(@Self)^.clr := $00000002;
  34790. end;
  34791. procedure TUART3A_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  34792. begin
  34793. if thebits = 0 then
  34794. pTDefRegMap(@Self)^.clr := $00000002
  34795. else
  34796. pTDefRegMap(@Self)^.&set := $00000002;
  34797. end;
  34798. function TUART3A_U3AMODE.getPDSEL0 : TBits_1; inline;
  34799. begin
  34800. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34801. end;
  34802. procedure TUART3A_U3AMODE.setPDSEL1; inline;
  34803. begin
  34804. pTDefRegMap(@Self)^.&set := $00000004;
  34805. end;
  34806. procedure TUART3A_U3AMODE.clearPDSEL1; inline;
  34807. begin
  34808. pTDefRegMap(@Self)^.clr := $00000004;
  34809. end;
  34810. procedure TUART3A_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  34811. begin
  34812. if thebits = 0 then
  34813. pTDefRegMap(@Self)^.clr := $00000004
  34814. else
  34815. pTDefRegMap(@Self)^.&set := $00000004;
  34816. end;
  34817. function TUART3A_U3AMODE.getPDSEL1 : TBits_1; inline;
  34818. begin
  34819. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34820. end;
  34821. procedure TUART3A_U3AMODE.setUEN0; inline;
  34822. begin
  34823. pTDefRegMap(@Self)^.&set := $00000100;
  34824. end;
  34825. procedure TUART3A_U3AMODE.clearUEN0; inline;
  34826. begin
  34827. pTDefRegMap(@Self)^.clr := $00000100;
  34828. end;
  34829. procedure TUART3A_U3AMODE.setUEN0(thebits : TBits_1); inline;
  34830. begin
  34831. if thebits = 0 then
  34832. pTDefRegMap(@Self)^.clr := $00000100
  34833. else
  34834. pTDefRegMap(@Self)^.&set := $00000100;
  34835. end;
  34836. function TUART3A_U3AMODE.getUEN0 : TBits_1; inline;
  34837. begin
  34838. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34839. end;
  34840. procedure TUART3A_U3AMODE.setUEN1; inline;
  34841. begin
  34842. pTDefRegMap(@Self)^.&set := $00000200;
  34843. end;
  34844. procedure TUART3A_U3AMODE.clearUEN1; inline;
  34845. begin
  34846. pTDefRegMap(@Self)^.clr := $00000200;
  34847. end;
  34848. procedure TUART3A_U3AMODE.setUEN1(thebits : TBits_1); inline;
  34849. begin
  34850. if thebits = 0 then
  34851. pTDefRegMap(@Self)^.clr := $00000200
  34852. else
  34853. pTDefRegMap(@Self)^.&set := $00000200;
  34854. end;
  34855. function TUART3A_U3AMODE.getUEN1 : TBits_1; inline;
  34856. begin
  34857. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34858. end;
  34859. procedure TUART3A_U3AMODE.setUSIDL; inline;
  34860. begin
  34861. pTDefRegMap(@Self)^.&set := $00002000;
  34862. end;
  34863. procedure TUART3A_U3AMODE.clearUSIDL; inline;
  34864. begin
  34865. pTDefRegMap(@Self)^.clr := $00002000;
  34866. end;
  34867. procedure TUART3A_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  34868. begin
  34869. if thebits = 0 then
  34870. pTDefRegMap(@Self)^.clr := $00002000
  34871. else
  34872. pTDefRegMap(@Self)^.&set := $00002000;
  34873. end;
  34874. function TUART3A_U3AMODE.getUSIDL : TBits_1; inline;
  34875. begin
  34876. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34877. end;
  34878. procedure TUART3A_U3AMODE.setUARTEN; inline;
  34879. begin
  34880. pTDefRegMap(@Self)^.&set := $00008000;
  34881. end;
  34882. procedure TUART3A_U3AMODE.clearUARTEN; inline;
  34883. begin
  34884. pTDefRegMap(@Self)^.clr := $00008000;
  34885. end;
  34886. procedure TUART3A_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  34887. begin
  34888. if thebits = 0 then
  34889. pTDefRegMap(@Self)^.clr := $00008000
  34890. else
  34891. pTDefRegMap(@Self)^.&set := $00008000;
  34892. end;
  34893. function TUART3A_U3AMODE.getUARTEN : TBits_1; inline;
  34894. begin
  34895. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34896. end;
  34897. procedure TUART3A_U3AMODE.setw(thebits : TBits_32); inline;
  34898. begin
  34899. pTDefRegMap(@Self)^.val := thebits;
  34900. end;
  34901. function TUART3A_U3AMODE.getw : TBits_32; inline;
  34902. begin
  34903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34904. end;
  34905. procedure TUART3A_U2STA.setURXDA; inline;
  34906. begin
  34907. pTDefRegMap(@Self)^.&set := $00000001;
  34908. end;
  34909. procedure TUART3A_U2STA.clearURXDA; inline;
  34910. begin
  34911. pTDefRegMap(@Self)^.clr := $00000001;
  34912. end;
  34913. procedure TUART3A_U2STA.setURXDA(thebits : TBits_1); inline;
  34914. begin
  34915. if thebits = 0 then
  34916. pTDefRegMap(@Self)^.clr := $00000001
  34917. else
  34918. pTDefRegMap(@Self)^.&set := $00000001;
  34919. end;
  34920. function TUART3A_U2STA.getURXDA : TBits_1; inline;
  34921. begin
  34922. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34923. end;
  34924. procedure TUART3A_U2STA.setOERR; inline;
  34925. begin
  34926. pTDefRegMap(@Self)^.&set := $00000002;
  34927. end;
  34928. procedure TUART3A_U2STA.clearOERR; inline;
  34929. begin
  34930. pTDefRegMap(@Self)^.clr := $00000002;
  34931. end;
  34932. procedure TUART3A_U2STA.setOERR(thebits : TBits_1); inline;
  34933. begin
  34934. if thebits = 0 then
  34935. pTDefRegMap(@Self)^.clr := $00000002
  34936. else
  34937. pTDefRegMap(@Self)^.&set := $00000002;
  34938. end;
  34939. function TUART3A_U2STA.getOERR : TBits_1; inline;
  34940. begin
  34941. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34942. end;
  34943. procedure TUART3A_U2STA.setFERR; inline;
  34944. begin
  34945. pTDefRegMap(@Self)^.&set := $00000004;
  34946. end;
  34947. procedure TUART3A_U2STA.clearFERR; inline;
  34948. begin
  34949. pTDefRegMap(@Self)^.clr := $00000004;
  34950. end;
  34951. procedure TUART3A_U2STA.setFERR(thebits : TBits_1); inline;
  34952. begin
  34953. if thebits = 0 then
  34954. pTDefRegMap(@Self)^.clr := $00000004
  34955. else
  34956. pTDefRegMap(@Self)^.&set := $00000004;
  34957. end;
  34958. function TUART3A_U2STA.getFERR : TBits_1; inline;
  34959. begin
  34960. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34961. end;
  34962. procedure TUART3A_U2STA.setPERR; inline;
  34963. begin
  34964. pTDefRegMap(@Self)^.&set := $00000008;
  34965. end;
  34966. procedure TUART3A_U2STA.clearPERR; inline;
  34967. begin
  34968. pTDefRegMap(@Self)^.clr := $00000008;
  34969. end;
  34970. procedure TUART3A_U2STA.setPERR(thebits : TBits_1); inline;
  34971. begin
  34972. if thebits = 0 then
  34973. pTDefRegMap(@Self)^.clr := $00000008
  34974. else
  34975. pTDefRegMap(@Self)^.&set := $00000008;
  34976. end;
  34977. function TUART3A_U2STA.getPERR : TBits_1; inline;
  34978. begin
  34979. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34980. end;
  34981. procedure TUART3A_U2STA.setRIDLE; inline;
  34982. begin
  34983. pTDefRegMap(@Self)^.&set := $00000010;
  34984. end;
  34985. procedure TUART3A_U2STA.clearRIDLE; inline;
  34986. begin
  34987. pTDefRegMap(@Self)^.clr := $00000010;
  34988. end;
  34989. procedure TUART3A_U2STA.setRIDLE(thebits : TBits_1); inline;
  34990. begin
  34991. if thebits = 0 then
  34992. pTDefRegMap(@Self)^.clr := $00000010
  34993. else
  34994. pTDefRegMap(@Self)^.&set := $00000010;
  34995. end;
  34996. function TUART3A_U2STA.getRIDLE : TBits_1; inline;
  34997. begin
  34998. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34999. end;
  35000. procedure TUART3A_U2STA.setADDEN; inline;
  35001. begin
  35002. pTDefRegMap(@Self)^.&set := $00000020;
  35003. end;
  35004. procedure TUART3A_U2STA.clearADDEN; inline;
  35005. begin
  35006. pTDefRegMap(@Self)^.clr := $00000020;
  35007. end;
  35008. procedure TUART3A_U2STA.setADDEN(thebits : TBits_1); inline;
  35009. begin
  35010. if thebits = 0 then
  35011. pTDefRegMap(@Self)^.clr := $00000020
  35012. else
  35013. pTDefRegMap(@Self)^.&set := $00000020;
  35014. end;
  35015. function TUART3A_U2STA.getADDEN : TBits_1; inline;
  35016. begin
  35017. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35018. end;
  35019. procedure TUART3A_U2STA.setURXISEL(thebits : TBits_2); inline;
  35020. begin
  35021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35022. end;
  35023. function TUART3A_U2STA.getURXISEL : TBits_2; inline;
  35024. begin
  35025. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35026. end;
  35027. procedure TUART3A_U2STA.setTRMT; inline;
  35028. begin
  35029. pTDefRegMap(@Self)^.&set := $00000100;
  35030. end;
  35031. procedure TUART3A_U2STA.clearTRMT; inline;
  35032. begin
  35033. pTDefRegMap(@Self)^.clr := $00000100;
  35034. end;
  35035. procedure TUART3A_U2STA.setTRMT(thebits : TBits_1); inline;
  35036. begin
  35037. if thebits = 0 then
  35038. pTDefRegMap(@Self)^.clr := $00000100
  35039. else
  35040. pTDefRegMap(@Self)^.&set := $00000100;
  35041. end;
  35042. function TUART3A_U2STA.getTRMT : TBits_1; inline;
  35043. begin
  35044. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35045. end;
  35046. procedure TUART3A_U2STA.setUTXBF; inline;
  35047. begin
  35048. pTDefRegMap(@Self)^.&set := $00000200;
  35049. end;
  35050. procedure TUART3A_U2STA.clearUTXBF; inline;
  35051. begin
  35052. pTDefRegMap(@Self)^.clr := $00000200;
  35053. end;
  35054. procedure TUART3A_U2STA.setUTXBF(thebits : TBits_1); inline;
  35055. begin
  35056. if thebits = 0 then
  35057. pTDefRegMap(@Self)^.clr := $00000200
  35058. else
  35059. pTDefRegMap(@Self)^.&set := $00000200;
  35060. end;
  35061. function TUART3A_U2STA.getUTXBF : TBits_1; inline;
  35062. begin
  35063. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35064. end;
  35065. procedure TUART3A_U2STA.setUTXEN; inline;
  35066. begin
  35067. pTDefRegMap(@Self)^.&set := $00000400;
  35068. end;
  35069. procedure TUART3A_U2STA.clearUTXEN; inline;
  35070. begin
  35071. pTDefRegMap(@Self)^.clr := $00000400;
  35072. end;
  35073. procedure TUART3A_U2STA.setUTXEN(thebits : TBits_1); inline;
  35074. begin
  35075. if thebits = 0 then
  35076. pTDefRegMap(@Self)^.clr := $00000400
  35077. else
  35078. pTDefRegMap(@Self)^.&set := $00000400;
  35079. end;
  35080. function TUART3A_U2STA.getUTXEN : TBits_1; inline;
  35081. begin
  35082. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35083. end;
  35084. procedure TUART3A_U2STA.setUTXBRK; inline;
  35085. begin
  35086. pTDefRegMap(@Self)^.&set := $00000800;
  35087. end;
  35088. procedure TUART3A_U2STA.clearUTXBRK; inline;
  35089. begin
  35090. pTDefRegMap(@Self)^.clr := $00000800;
  35091. end;
  35092. procedure TUART3A_U2STA.setUTXBRK(thebits : TBits_1); inline;
  35093. begin
  35094. if thebits = 0 then
  35095. pTDefRegMap(@Self)^.clr := $00000800
  35096. else
  35097. pTDefRegMap(@Self)^.&set := $00000800;
  35098. end;
  35099. function TUART3A_U2STA.getUTXBRK : TBits_1; inline;
  35100. begin
  35101. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35102. end;
  35103. procedure TUART3A_U2STA.setURXEN; inline;
  35104. begin
  35105. pTDefRegMap(@Self)^.&set := $00001000;
  35106. end;
  35107. procedure TUART3A_U2STA.clearURXEN; inline;
  35108. begin
  35109. pTDefRegMap(@Self)^.clr := $00001000;
  35110. end;
  35111. procedure TUART3A_U2STA.setURXEN(thebits : TBits_1); inline;
  35112. begin
  35113. if thebits = 0 then
  35114. pTDefRegMap(@Self)^.clr := $00001000
  35115. else
  35116. pTDefRegMap(@Self)^.&set := $00001000;
  35117. end;
  35118. function TUART3A_U2STA.getURXEN : TBits_1; inline;
  35119. begin
  35120. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35121. end;
  35122. procedure TUART3A_U2STA.setUTXINV; inline;
  35123. begin
  35124. pTDefRegMap(@Self)^.&set := $00002000;
  35125. end;
  35126. procedure TUART3A_U2STA.clearUTXINV; inline;
  35127. begin
  35128. pTDefRegMap(@Self)^.clr := $00002000;
  35129. end;
  35130. procedure TUART3A_U2STA.setUTXINV(thebits : TBits_1); inline;
  35131. begin
  35132. if thebits = 0 then
  35133. pTDefRegMap(@Self)^.clr := $00002000
  35134. else
  35135. pTDefRegMap(@Self)^.&set := $00002000;
  35136. end;
  35137. function TUART3A_U2STA.getUTXINV : TBits_1; inline;
  35138. begin
  35139. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35140. end;
  35141. procedure TUART3A_U2STA.setUTXISEL(thebits : TBits_2); inline;
  35142. begin
  35143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35144. end;
  35145. function TUART3A_U2STA.getUTXISEL : TBits_2; inline;
  35146. begin
  35147. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35148. end;
  35149. procedure TUART3A_U2STA.setADDR(thebits : TBits_8); inline;
  35150. begin
  35151. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35152. end;
  35153. function TUART3A_U2STA.getADDR : TBits_8; inline;
  35154. begin
  35155. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35156. end;
  35157. procedure TUART3A_U2STA.setADM_EN; inline;
  35158. begin
  35159. pTDefRegMap(@Self)^.&set := $01000000;
  35160. end;
  35161. procedure TUART3A_U2STA.clearADM_EN; inline;
  35162. begin
  35163. pTDefRegMap(@Self)^.clr := $01000000;
  35164. end;
  35165. procedure TUART3A_U2STA.setADM_EN(thebits : TBits_1); inline;
  35166. begin
  35167. if thebits = 0 then
  35168. pTDefRegMap(@Self)^.clr := $01000000
  35169. else
  35170. pTDefRegMap(@Self)^.&set := $01000000;
  35171. end;
  35172. function TUART3A_U2STA.getADM_EN : TBits_1; inline;
  35173. begin
  35174. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35175. end;
  35176. procedure TUART3A_U2STA.setURXISEL0; inline;
  35177. begin
  35178. pTDefRegMap(@Self)^.&set := $00000040;
  35179. end;
  35180. procedure TUART3A_U2STA.clearURXISEL0; inline;
  35181. begin
  35182. pTDefRegMap(@Self)^.clr := $00000040;
  35183. end;
  35184. procedure TUART3A_U2STA.setURXISEL0(thebits : TBits_1); inline;
  35185. begin
  35186. if thebits = 0 then
  35187. pTDefRegMap(@Self)^.clr := $00000040
  35188. else
  35189. pTDefRegMap(@Self)^.&set := $00000040;
  35190. end;
  35191. function TUART3A_U2STA.getURXISEL0 : TBits_1; inline;
  35192. begin
  35193. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35194. end;
  35195. procedure TUART3A_U2STA.setURXISEL1; inline;
  35196. begin
  35197. pTDefRegMap(@Self)^.&set := $00000080;
  35198. end;
  35199. procedure TUART3A_U2STA.clearURXISEL1; inline;
  35200. begin
  35201. pTDefRegMap(@Self)^.clr := $00000080;
  35202. end;
  35203. procedure TUART3A_U2STA.setURXISEL1(thebits : TBits_1); inline;
  35204. begin
  35205. if thebits = 0 then
  35206. pTDefRegMap(@Self)^.clr := $00000080
  35207. else
  35208. pTDefRegMap(@Self)^.&set := $00000080;
  35209. end;
  35210. function TUART3A_U2STA.getURXISEL1 : TBits_1; inline;
  35211. begin
  35212. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35213. end;
  35214. procedure TUART3A_U2STA.setUTXISEL0; inline;
  35215. begin
  35216. pTDefRegMap(@Self)^.&set := $00004000;
  35217. end;
  35218. procedure TUART3A_U2STA.clearUTXISEL0; inline;
  35219. begin
  35220. pTDefRegMap(@Self)^.clr := $00004000;
  35221. end;
  35222. procedure TUART3A_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  35223. begin
  35224. if thebits = 0 then
  35225. pTDefRegMap(@Self)^.clr := $00004000
  35226. else
  35227. pTDefRegMap(@Self)^.&set := $00004000;
  35228. end;
  35229. function TUART3A_U2STA.getUTXISEL0 : TBits_1; inline;
  35230. begin
  35231. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35232. end;
  35233. procedure TUART3A_U2STA.setUTXISEL1; inline;
  35234. begin
  35235. pTDefRegMap(@Self)^.&set := $00008000;
  35236. end;
  35237. procedure TUART3A_U2STA.clearUTXISEL1; inline;
  35238. begin
  35239. pTDefRegMap(@Self)^.clr := $00008000;
  35240. end;
  35241. procedure TUART3A_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  35242. begin
  35243. if thebits = 0 then
  35244. pTDefRegMap(@Self)^.clr := $00008000
  35245. else
  35246. pTDefRegMap(@Self)^.&set := $00008000;
  35247. end;
  35248. function TUART3A_U2STA.getUTXISEL1 : TBits_1; inline;
  35249. begin
  35250. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35251. end;
  35252. procedure TUART3A_U2STA.setUTXSEL(thebits : TBits_2); inline;
  35253. begin
  35254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35255. end;
  35256. function TUART3A_U2STA.getUTXSEL : TBits_2; inline;
  35257. begin
  35258. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35259. end;
  35260. procedure TUART3A_U2STA.setw(thebits : TBits_32); inline;
  35261. begin
  35262. pTDefRegMap(@Self)^.val := thebits;
  35263. end;
  35264. function TUART3A_U2STA.getw : TBits_32; inline;
  35265. begin
  35266. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35267. end;
  35268. procedure TUART3A_U3ASTA.setURXDA; inline;
  35269. begin
  35270. pTDefRegMap(@Self)^.&set := $00000001;
  35271. end;
  35272. procedure TUART3A_U3ASTA.clearURXDA; inline;
  35273. begin
  35274. pTDefRegMap(@Self)^.clr := $00000001;
  35275. end;
  35276. procedure TUART3A_U3ASTA.setURXDA(thebits : TBits_1); inline;
  35277. begin
  35278. if thebits = 0 then
  35279. pTDefRegMap(@Self)^.clr := $00000001
  35280. else
  35281. pTDefRegMap(@Self)^.&set := $00000001;
  35282. end;
  35283. function TUART3A_U3ASTA.getURXDA : TBits_1; inline;
  35284. begin
  35285. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35286. end;
  35287. procedure TUART3A_U3ASTA.setOERR; inline;
  35288. begin
  35289. pTDefRegMap(@Self)^.&set := $00000002;
  35290. end;
  35291. procedure TUART3A_U3ASTA.clearOERR; inline;
  35292. begin
  35293. pTDefRegMap(@Self)^.clr := $00000002;
  35294. end;
  35295. procedure TUART3A_U3ASTA.setOERR(thebits : TBits_1); inline;
  35296. begin
  35297. if thebits = 0 then
  35298. pTDefRegMap(@Self)^.clr := $00000002
  35299. else
  35300. pTDefRegMap(@Self)^.&set := $00000002;
  35301. end;
  35302. function TUART3A_U3ASTA.getOERR : TBits_1; inline;
  35303. begin
  35304. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35305. end;
  35306. procedure TUART3A_U3ASTA.setFERR; inline;
  35307. begin
  35308. pTDefRegMap(@Self)^.&set := $00000004;
  35309. end;
  35310. procedure TUART3A_U3ASTA.clearFERR; inline;
  35311. begin
  35312. pTDefRegMap(@Self)^.clr := $00000004;
  35313. end;
  35314. procedure TUART3A_U3ASTA.setFERR(thebits : TBits_1); inline;
  35315. begin
  35316. if thebits = 0 then
  35317. pTDefRegMap(@Self)^.clr := $00000004
  35318. else
  35319. pTDefRegMap(@Self)^.&set := $00000004;
  35320. end;
  35321. function TUART3A_U3ASTA.getFERR : TBits_1; inline;
  35322. begin
  35323. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35324. end;
  35325. procedure TUART3A_U3ASTA.setPERR; inline;
  35326. begin
  35327. pTDefRegMap(@Self)^.&set := $00000008;
  35328. end;
  35329. procedure TUART3A_U3ASTA.clearPERR; inline;
  35330. begin
  35331. pTDefRegMap(@Self)^.clr := $00000008;
  35332. end;
  35333. procedure TUART3A_U3ASTA.setPERR(thebits : TBits_1); inline;
  35334. begin
  35335. if thebits = 0 then
  35336. pTDefRegMap(@Self)^.clr := $00000008
  35337. else
  35338. pTDefRegMap(@Self)^.&set := $00000008;
  35339. end;
  35340. function TUART3A_U3ASTA.getPERR : TBits_1; inline;
  35341. begin
  35342. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35343. end;
  35344. procedure TUART3A_U3ASTA.setRIDLE; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.&set := $00000010;
  35347. end;
  35348. procedure TUART3A_U3ASTA.clearRIDLE; inline;
  35349. begin
  35350. pTDefRegMap(@Self)^.clr := $00000010;
  35351. end;
  35352. procedure TUART3A_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  35353. begin
  35354. if thebits = 0 then
  35355. pTDefRegMap(@Self)^.clr := $00000010
  35356. else
  35357. pTDefRegMap(@Self)^.&set := $00000010;
  35358. end;
  35359. function TUART3A_U3ASTA.getRIDLE : TBits_1; inline;
  35360. begin
  35361. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35362. end;
  35363. procedure TUART3A_U3ASTA.setADDEN; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.&set := $00000020;
  35366. end;
  35367. procedure TUART3A_U3ASTA.clearADDEN; inline;
  35368. begin
  35369. pTDefRegMap(@Self)^.clr := $00000020;
  35370. end;
  35371. procedure TUART3A_U3ASTA.setADDEN(thebits : TBits_1); inline;
  35372. begin
  35373. if thebits = 0 then
  35374. pTDefRegMap(@Self)^.clr := $00000020
  35375. else
  35376. pTDefRegMap(@Self)^.&set := $00000020;
  35377. end;
  35378. function TUART3A_U3ASTA.getADDEN : TBits_1; inline;
  35379. begin
  35380. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35381. end;
  35382. procedure TUART3A_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  35383. begin
  35384. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  35385. end;
  35386. function TUART3A_U3ASTA.getURXISEL : TBits_2; inline;
  35387. begin
  35388. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  35389. end;
  35390. procedure TUART3A_U3ASTA.setTRMT; inline;
  35391. begin
  35392. pTDefRegMap(@Self)^.&set := $00000100;
  35393. end;
  35394. procedure TUART3A_U3ASTA.clearTRMT; inline;
  35395. begin
  35396. pTDefRegMap(@Self)^.clr := $00000100;
  35397. end;
  35398. procedure TUART3A_U3ASTA.setTRMT(thebits : TBits_1); inline;
  35399. begin
  35400. if thebits = 0 then
  35401. pTDefRegMap(@Self)^.clr := $00000100
  35402. else
  35403. pTDefRegMap(@Self)^.&set := $00000100;
  35404. end;
  35405. function TUART3A_U3ASTA.getTRMT : TBits_1; inline;
  35406. begin
  35407. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35408. end;
  35409. procedure TUART3A_U3ASTA.setUTXBF; inline;
  35410. begin
  35411. pTDefRegMap(@Self)^.&set := $00000200;
  35412. end;
  35413. procedure TUART3A_U3ASTA.clearUTXBF; inline;
  35414. begin
  35415. pTDefRegMap(@Self)^.clr := $00000200;
  35416. end;
  35417. procedure TUART3A_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  35418. begin
  35419. if thebits = 0 then
  35420. pTDefRegMap(@Self)^.clr := $00000200
  35421. else
  35422. pTDefRegMap(@Self)^.&set := $00000200;
  35423. end;
  35424. function TUART3A_U3ASTA.getUTXBF : TBits_1; inline;
  35425. begin
  35426. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35427. end;
  35428. procedure TUART3A_U3ASTA.setUTXEN; inline;
  35429. begin
  35430. pTDefRegMap(@Self)^.&set := $00000400;
  35431. end;
  35432. procedure TUART3A_U3ASTA.clearUTXEN; inline;
  35433. begin
  35434. pTDefRegMap(@Self)^.clr := $00000400;
  35435. end;
  35436. procedure TUART3A_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  35437. begin
  35438. if thebits = 0 then
  35439. pTDefRegMap(@Self)^.clr := $00000400
  35440. else
  35441. pTDefRegMap(@Self)^.&set := $00000400;
  35442. end;
  35443. function TUART3A_U3ASTA.getUTXEN : TBits_1; inline;
  35444. begin
  35445. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35446. end;
  35447. procedure TUART3A_U3ASTA.setUTXBRK; inline;
  35448. begin
  35449. pTDefRegMap(@Self)^.&set := $00000800;
  35450. end;
  35451. procedure TUART3A_U3ASTA.clearUTXBRK; inline;
  35452. begin
  35453. pTDefRegMap(@Self)^.clr := $00000800;
  35454. end;
  35455. procedure TUART3A_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  35456. begin
  35457. if thebits = 0 then
  35458. pTDefRegMap(@Self)^.clr := $00000800
  35459. else
  35460. pTDefRegMap(@Self)^.&set := $00000800;
  35461. end;
  35462. function TUART3A_U3ASTA.getUTXBRK : TBits_1; inline;
  35463. begin
  35464. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35465. end;
  35466. procedure TUART3A_U3ASTA.setURXEN; inline;
  35467. begin
  35468. pTDefRegMap(@Self)^.&set := $00001000;
  35469. end;
  35470. procedure TUART3A_U3ASTA.clearURXEN; inline;
  35471. begin
  35472. pTDefRegMap(@Self)^.clr := $00001000;
  35473. end;
  35474. procedure TUART3A_U3ASTA.setURXEN(thebits : TBits_1); inline;
  35475. begin
  35476. if thebits = 0 then
  35477. pTDefRegMap(@Self)^.clr := $00001000
  35478. else
  35479. pTDefRegMap(@Self)^.&set := $00001000;
  35480. end;
  35481. function TUART3A_U3ASTA.getURXEN : TBits_1; inline;
  35482. begin
  35483. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35484. end;
  35485. procedure TUART3A_U3ASTA.setUTXINV; inline;
  35486. begin
  35487. pTDefRegMap(@Self)^.&set := $00002000;
  35488. end;
  35489. procedure TUART3A_U3ASTA.clearUTXINV; inline;
  35490. begin
  35491. pTDefRegMap(@Self)^.clr := $00002000;
  35492. end;
  35493. procedure TUART3A_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  35494. begin
  35495. if thebits = 0 then
  35496. pTDefRegMap(@Self)^.clr := $00002000
  35497. else
  35498. pTDefRegMap(@Self)^.&set := $00002000;
  35499. end;
  35500. function TUART3A_U3ASTA.getUTXINV : TBits_1; inline;
  35501. begin
  35502. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35503. end;
  35504. procedure TUART3A_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  35505. begin
  35506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35507. end;
  35508. function TUART3A_U3ASTA.getUTXISEL : TBits_2; inline;
  35509. begin
  35510. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35511. end;
  35512. procedure TUART3A_U3ASTA.setADDR(thebits : TBits_8); inline;
  35513. begin
  35514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  35515. end;
  35516. function TUART3A_U3ASTA.getADDR : TBits_8; inline;
  35517. begin
  35518. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  35519. end;
  35520. procedure TUART3A_U3ASTA.setADM_EN; inline;
  35521. begin
  35522. pTDefRegMap(@Self)^.&set := $01000000;
  35523. end;
  35524. procedure TUART3A_U3ASTA.clearADM_EN; inline;
  35525. begin
  35526. pTDefRegMap(@Self)^.clr := $01000000;
  35527. end;
  35528. procedure TUART3A_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  35529. begin
  35530. if thebits = 0 then
  35531. pTDefRegMap(@Self)^.clr := $01000000
  35532. else
  35533. pTDefRegMap(@Self)^.&set := $01000000;
  35534. end;
  35535. function TUART3A_U3ASTA.getADM_EN : TBits_1; inline;
  35536. begin
  35537. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  35538. end;
  35539. procedure TUART3A_U3ASTA.setURXISEL0; inline;
  35540. begin
  35541. pTDefRegMap(@Self)^.&set := $00000040;
  35542. end;
  35543. procedure TUART3A_U3ASTA.clearURXISEL0; inline;
  35544. begin
  35545. pTDefRegMap(@Self)^.clr := $00000040;
  35546. end;
  35547. procedure TUART3A_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  35548. begin
  35549. if thebits = 0 then
  35550. pTDefRegMap(@Self)^.clr := $00000040
  35551. else
  35552. pTDefRegMap(@Self)^.&set := $00000040;
  35553. end;
  35554. function TUART3A_U3ASTA.getURXISEL0 : TBits_1; inline;
  35555. begin
  35556. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35557. end;
  35558. procedure TUART3A_U3ASTA.setURXISEL1; inline;
  35559. begin
  35560. pTDefRegMap(@Self)^.&set := $00000080;
  35561. end;
  35562. procedure TUART3A_U3ASTA.clearURXISEL1; inline;
  35563. begin
  35564. pTDefRegMap(@Self)^.clr := $00000080;
  35565. end;
  35566. procedure TUART3A_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  35567. begin
  35568. if thebits = 0 then
  35569. pTDefRegMap(@Self)^.clr := $00000080
  35570. else
  35571. pTDefRegMap(@Self)^.&set := $00000080;
  35572. end;
  35573. function TUART3A_U3ASTA.getURXISEL1 : TBits_1; inline;
  35574. begin
  35575. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35576. end;
  35577. procedure TUART3A_U3ASTA.setUTXISEL0; inline;
  35578. begin
  35579. pTDefRegMap(@Self)^.&set := $00004000;
  35580. end;
  35581. procedure TUART3A_U3ASTA.clearUTXISEL0; inline;
  35582. begin
  35583. pTDefRegMap(@Self)^.clr := $00004000;
  35584. end;
  35585. procedure TUART3A_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  35586. begin
  35587. if thebits = 0 then
  35588. pTDefRegMap(@Self)^.clr := $00004000
  35589. else
  35590. pTDefRegMap(@Self)^.&set := $00004000;
  35591. end;
  35592. function TUART3A_U3ASTA.getUTXISEL0 : TBits_1; inline;
  35593. begin
  35594. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35595. end;
  35596. procedure TUART3A_U3ASTA.setUTXISEL1; inline;
  35597. begin
  35598. pTDefRegMap(@Self)^.&set := $00008000;
  35599. end;
  35600. procedure TUART3A_U3ASTA.clearUTXISEL1; inline;
  35601. begin
  35602. pTDefRegMap(@Self)^.clr := $00008000;
  35603. end;
  35604. procedure TUART3A_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  35605. begin
  35606. if thebits = 0 then
  35607. pTDefRegMap(@Self)^.clr := $00008000
  35608. else
  35609. pTDefRegMap(@Self)^.&set := $00008000;
  35610. end;
  35611. function TUART3A_U3ASTA.getUTXISEL1 : TBits_1; inline;
  35612. begin
  35613. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35614. end;
  35615. procedure TUART3A_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  35616. begin
  35617. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  35618. end;
  35619. function TUART3A_U3ASTA.getUTXSEL : TBits_2; inline;
  35620. begin
  35621. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  35622. end;
  35623. procedure TUART3A_U3ASTA.setw(thebits : TBits_32); inline;
  35624. begin
  35625. pTDefRegMap(@Self)^.val := thebits;
  35626. end;
  35627. function TUART3A_U3ASTA.getw : TBits_32; inline;
  35628. begin
  35629. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35630. end;
  35631. procedure TUART3B_U3BMODE.setSTSEL; inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.&set := $00000001;
  35634. end;
  35635. procedure TUART3B_U3BMODE.clearSTSEL; inline;
  35636. begin
  35637. pTDefRegMap(@Self)^.clr := $00000001;
  35638. end;
  35639. procedure TUART3B_U3BMODE.setSTSEL(thebits : TBits_1); inline;
  35640. begin
  35641. if thebits = 0 then
  35642. pTDefRegMap(@Self)^.clr := $00000001
  35643. else
  35644. pTDefRegMap(@Self)^.&set := $00000001;
  35645. end;
  35646. function TUART3B_U3BMODE.getSTSEL : TBits_1; inline;
  35647. begin
  35648. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35649. end;
  35650. procedure TUART3B_U3BMODE.setPDSEL(thebits : TBits_2); inline;
  35651. begin
  35652. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35653. end;
  35654. function TUART3B_U3BMODE.getPDSEL : TBits_2; inline;
  35655. begin
  35656. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35657. end;
  35658. procedure TUART3B_U3BMODE.setBRGH; inline;
  35659. begin
  35660. pTDefRegMap(@Self)^.&set := $00000008;
  35661. end;
  35662. procedure TUART3B_U3BMODE.clearBRGH; inline;
  35663. begin
  35664. pTDefRegMap(@Self)^.clr := $00000008;
  35665. end;
  35666. procedure TUART3B_U3BMODE.setBRGH(thebits : TBits_1); inline;
  35667. begin
  35668. if thebits = 0 then
  35669. pTDefRegMap(@Self)^.clr := $00000008
  35670. else
  35671. pTDefRegMap(@Self)^.&set := $00000008;
  35672. end;
  35673. function TUART3B_U3BMODE.getBRGH : TBits_1; inline;
  35674. begin
  35675. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35676. end;
  35677. procedure TUART3B_U3BMODE.setRXINV; inline;
  35678. begin
  35679. pTDefRegMap(@Self)^.&set := $00000010;
  35680. end;
  35681. procedure TUART3B_U3BMODE.clearRXINV; inline;
  35682. begin
  35683. pTDefRegMap(@Self)^.clr := $00000010;
  35684. end;
  35685. procedure TUART3B_U3BMODE.setRXINV(thebits : TBits_1); inline;
  35686. begin
  35687. if thebits = 0 then
  35688. pTDefRegMap(@Self)^.clr := $00000010
  35689. else
  35690. pTDefRegMap(@Self)^.&set := $00000010;
  35691. end;
  35692. function TUART3B_U3BMODE.getRXINV : TBits_1; inline;
  35693. begin
  35694. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35695. end;
  35696. procedure TUART3B_U3BMODE.setABAUD; inline;
  35697. begin
  35698. pTDefRegMap(@Self)^.&set := $00000020;
  35699. end;
  35700. procedure TUART3B_U3BMODE.clearABAUD; inline;
  35701. begin
  35702. pTDefRegMap(@Self)^.clr := $00000020;
  35703. end;
  35704. procedure TUART3B_U3BMODE.setABAUD(thebits : TBits_1); inline;
  35705. begin
  35706. if thebits = 0 then
  35707. pTDefRegMap(@Self)^.clr := $00000020
  35708. else
  35709. pTDefRegMap(@Self)^.&set := $00000020;
  35710. end;
  35711. function TUART3B_U3BMODE.getABAUD : TBits_1; inline;
  35712. begin
  35713. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35714. end;
  35715. procedure TUART3B_U3BMODE.setLPBACK; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.&set := $00000040;
  35718. end;
  35719. procedure TUART3B_U3BMODE.clearLPBACK; inline;
  35720. begin
  35721. pTDefRegMap(@Self)^.clr := $00000040;
  35722. end;
  35723. procedure TUART3B_U3BMODE.setLPBACK(thebits : TBits_1); inline;
  35724. begin
  35725. if thebits = 0 then
  35726. pTDefRegMap(@Self)^.clr := $00000040
  35727. else
  35728. pTDefRegMap(@Self)^.&set := $00000040;
  35729. end;
  35730. function TUART3B_U3BMODE.getLPBACK : TBits_1; inline;
  35731. begin
  35732. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35733. end;
  35734. procedure TUART3B_U3BMODE.setWAKE; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.&set := $00000080;
  35737. end;
  35738. procedure TUART3B_U3BMODE.clearWAKE; inline;
  35739. begin
  35740. pTDefRegMap(@Self)^.clr := $00000080;
  35741. end;
  35742. procedure TUART3B_U3BMODE.setWAKE(thebits : TBits_1); inline;
  35743. begin
  35744. if thebits = 0 then
  35745. pTDefRegMap(@Self)^.clr := $00000080
  35746. else
  35747. pTDefRegMap(@Self)^.&set := $00000080;
  35748. end;
  35749. function TUART3B_U3BMODE.getWAKE : TBits_1; inline;
  35750. begin
  35751. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35752. end;
  35753. procedure TUART3B_U3BMODE.setIREN; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.&set := $00001000;
  35756. end;
  35757. procedure TUART3B_U3BMODE.clearIREN; inline;
  35758. begin
  35759. pTDefRegMap(@Self)^.clr := $00001000;
  35760. end;
  35761. procedure TUART3B_U3BMODE.setIREN(thebits : TBits_1); inline;
  35762. begin
  35763. if thebits = 0 then
  35764. pTDefRegMap(@Self)^.clr := $00001000
  35765. else
  35766. pTDefRegMap(@Self)^.&set := $00001000;
  35767. end;
  35768. function TUART3B_U3BMODE.getIREN : TBits_1; inline;
  35769. begin
  35770. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35771. end;
  35772. procedure TUART3B_U3BMODE.setSIDL; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.&set := $00002000;
  35775. end;
  35776. procedure TUART3B_U3BMODE.clearSIDL; inline;
  35777. begin
  35778. pTDefRegMap(@Self)^.clr := $00002000;
  35779. end;
  35780. procedure TUART3B_U3BMODE.setSIDL(thebits : TBits_1); inline;
  35781. begin
  35782. if thebits = 0 then
  35783. pTDefRegMap(@Self)^.clr := $00002000
  35784. else
  35785. pTDefRegMap(@Self)^.&set := $00002000;
  35786. end;
  35787. function TUART3B_U3BMODE.getSIDL : TBits_1; inline;
  35788. begin
  35789. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35790. end;
  35791. procedure TUART3B_U3BMODE.setON; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.&set := $00008000;
  35794. end;
  35795. procedure TUART3B_U3BMODE.clearON; inline;
  35796. begin
  35797. pTDefRegMap(@Self)^.clr := $00008000;
  35798. end;
  35799. procedure TUART3B_U3BMODE.setON(thebits : TBits_1); inline;
  35800. begin
  35801. if thebits = 0 then
  35802. pTDefRegMap(@Self)^.clr := $00008000
  35803. else
  35804. pTDefRegMap(@Self)^.&set := $00008000;
  35805. end;
  35806. function TUART3B_U3BMODE.getON : TBits_1; inline;
  35807. begin
  35808. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35809. end;
  35810. procedure TUART3B_U3BMODE.setPDSEL0; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.&set := $00000002;
  35813. end;
  35814. procedure TUART3B_U3BMODE.clearPDSEL0; inline;
  35815. begin
  35816. pTDefRegMap(@Self)^.clr := $00000002;
  35817. end;
  35818. procedure TUART3B_U3BMODE.setPDSEL0(thebits : TBits_1); inline;
  35819. begin
  35820. if thebits = 0 then
  35821. pTDefRegMap(@Self)^.clr := $00000002
  35822. else
  35823. pTDefRegMap(@Self)^.&set := $00000002;
  35824. end;
  35825. function TUART3B_U3BMODE.getPDSEL0 : TBits_1; inline;
  35826. begin
  35827. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35828. end;
  35829. procedure TUART3B_U3BMODE.setPDSEL1; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.&set := $00000004;
  35832. end;
  35833. procedure TUART3B_U3BMODE.clearPDSEL1; inline;
  35834. begin
  35835. pTDefRegMap(@Self)^.clr := $00000004;
  35836. end;
  35837. procedure TUART3B_U3BMODE.setPDSEL1(thebits : TBits_1); inline;
  35838. begin
  35839. if thebits = 0 then
  35840. pTDefRegMap(@Self)^.clr := $00000004
  35841. else
  35842. pTDefRegMap(@Self)^.&set := $00000004;
  35843. end;
  35844. function TUART3B_U3BMODE.getPDSEL1 : TBits_1; inline;
  35845. begin
  35846. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35847. end;
  35848. procedure TUART3B_U3BMODE.setUSIDL; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.&set := $00002000;
  35851. end;
  35852. procedure TUART3B_U3BMODE.clearUSIDL; inline;
  35853. begin
  35854. pTDefRegMap(@Self)^.clr := $00002000;
  35855. end;
  35856. procedure TUART3B_U3BMODE.setUSIDL(thebits : TBits_1); inline;
  35857. begin
  35858. if thebits = 0 then
  35859. pTDefRegMap(@Self)^.clr := $00002000
  35860. else
  35861. pTDefRegMap(@Self)^.&set := $00002000;
  35862. end;
  35863. function TUART3B_U3BMODE.getUSIDL : TBits_1; inline;
  35864. begin
  35865. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35866. end;
  35867. procedure TUART3B_U3BMODE.setUARTEN; inline;
  35868. begin
  35869. pTDefRegMap(@Self)^.&set := $00008000;
  35870. end;
  35871. procedure TUART3B_U3BMODE.clearUARTEN; inline;
  35872. begin
  35873. pTDefRegMap(@Self)^.clr := $00008000;
  35874. end;
  35875. procedure TUART3B_U3BMODE.setUARTEN(thebits : TBits_1); inline;
  35876. begin
  35877. if thebits = 0 then
  35878. pTDefRegMap(@Self)^.clr := $00008000
  35879. else
  35880. pTDefRegMap(@Self)^.&set := $00008000;
  35881. end;
  35882. function TUART3B_U3BMODE.getUARTEN : TBits_1; inline;
  35883. begin
  35884. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35885. end;
  35886. procedure TUART3B_U3BMODE.setw(thebits : TBits_32); inline;
  35887. begin
  35888. pTDefRegMap(@Self)^.val := thebits;
  35889. end;
  35890. function TUART3B_U3BMODE.getw : TBits_32; inline;
  35891. begin
  35892. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35893. end;
  35894. procedure TUART3B_U5MODE.setSTSEL; inline;
  35895. begin
  35896. pTDefRegMap(@Self)^.&set := $00000001;
  35897. end;
  35898. procedure TUART3B_U5MODE.clearSTSEL; inline;
  35899. begin
  35900. pTDefRegMap(@Self)^.clr := $00000001;
  35901. end;
  35902. procedure TUART3B_U5MODE.setSTSEL(thebits : TBits_1); inline;
  35903. begin
  35904. if thebits = 0 then
  35905. pTDefRegMap(@Self)^.clr := $00000001
  35906. else
  35907. pTDefRegMap(@Self)^.&set := $00000001;
  35908. end;
  35909. function TUART3B_U5MODE.getSTSEL : TBits_1; inline;
  35910. begin
  35911. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35912. end;
  35913. procedure TUART3B_U5MODE.setPDSEL(thebits : TBits_2); inline;
  35914. begin
  35915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  35916. end;
  35917. function TUART3B_U5MODE.getPDSEL : TBits_2; inline;
  35918. begin
  35919. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  35920. end;
  35921. procedure TUART3B_U5MODE.setBRGH; inline;
  35922. begin
  35923. pTDefRegMap(@Self)^.&set := $00000008;
  35924. end;
  35925. procedure TUART3B_U5MODE.clearBRGH; inline;
  35926. begin
  35927. pTDefRegMap(@Self)^.clr := $00000008;
  35928. end;
  35929. procedure TUART3B_U5MODE.setBRGH(thebits : TBits_1); inline;
  35930. begin
  35931. if thebits = 0 then
  35932. pTDefRegMap(@Self)^.clr := $00000008
  35933. else
  35934. pTDefRegMap(@Self)^.&set := $00000008;
  35935. end;
  35936. function TUART3B_U5MODE.getBRGH : TBits_1; inline;
  35937. begin
  35938. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35939. end;
  35940. procedure TUART3B_U5MODE.setRXINV; inline;
  35941. begin
  35942. pTDefRegMap(@Self)^.&set := $00000010;
  35943. end;
  35944. procedure TUART3B_U5MODE.clearRXINV; inline;
  35945. begin
  35946. pTDefRegMap(@Self)^.clr := $00000010;
  35947. end;
  35948. procedure TUART3B_U5MODE.setRXINV(thebits : TBits_1); inline;
  35949. begin
  35950. if thebits = 0 then
  35951. pTDefRegMap(@Self)^.clr := $00000010
  35952. else
  35953. pTDefRegMap(@Self)^.&set := $00000010;
  35954. end;
  35955. function TUART3B_U5MODE.getRXINV : TBits_1; inline;
  35956. begin
  35957. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35958. end;
  35959. procedure TUART3B_U5MODE.setABAUD; inline;
  35960. begin
  35961. pTDefRegMap(@Self)^.&set := $00000020;
  35962. end;
  35963. procedure TUART3B_U5MODE.clearABAUD; inline;
  35964. begin
  35965. pTDefRegMap(@Self)^.clr := $00000020;
  35966. end;
  35967. procedure TUART3B_U5MODE.setABAUD(thebits : TBits_1); inline;
  35968. begin
  35969. if thebits = 0 then
  35970. pTDefRegMap(@Self)^.clr := $00000020
  35971. else
  35972. pTDefRegMap(@Self)^.&set := $00000020;
  35973. end;
  35974. function TUART3B_U5MODE.getABAUD : TBits_1; inline;
  35975. begin
  35976. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35977. end;
  35978. procedure TUART3B_U5MODE.setLPBACK; inline;
  35979. begin
  35980. pTDefRegMap(@Self)^.&set := $00000040;
  35981. end;
  35982. procedure TUART3B_U5MODE.clearLPBACK; inline;
  35983. begin
  35984. pTDefRegMap(@Self)^.clr := $00000040;
  35985. end;
  35986. procedure TUART3B_U5MODE.setLPBACK(thebits : TBits_1); inline;
  35987. begin
  35988. if thebits = 0 then
  35989. pTDefRegMap(@Self)^.clr := $00000040
  35990. else
  35991. pTDefRegMap(@Self)^.&set := $00000040;
  35992. end;
  35993. function TUART3B_U5MODE.getLPBACK : TBits_1; inline;
  35994. begin
  35995. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35996. end;
  35997. procedure TUART3B_U5MODE.setWAKE; inline;
  35998. begin
  35999. pTDefRegMap(@Self)^.&set := $00000080;
  36000. end;
  36001. procedure TUART3B_U5MODE.clearWAKE; inline;
  36002. begin
  36003. pTDefRegMap(@Self)^.clr := $00000080;
  36004. end;
  36005. procedure TUART3B_U5MODE.setWAKE(thebits : TBits_1); inline;
  36006. begin
  36007. if thebits = 0 then
  36008. pTDefRegMap(@Self)^.clr := $00000080
  36009. else
  36010. pTDefRegMap(@Self)^.&set := $00000080;
  36011. end;
  36012. function TUART3B_U5MODE.getWAKE : TBits_1; inline;
  36013. begin
  36014. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36015. end;
  36016. procedure TUART3B_U5MODE.setIREN; inline;
  36017. begin
  36018. pTDefRegMap(@Self)^.&set := $00001000;
  36019. end;
  36020. procedure TUART3B_U5MODE.clearIREN; inline;
  36021. begin
  36022. pTDefRegMap(@Self)^.clr := $00001000;
  36023. end;
  36024. procedure TUART3B_U5MODE.setIREN(thebits : TBits_1); inline;
  36025. begin
  36026. if thebits = 0 then
  36027. pTDefRegMap(@Self)^.clr := $00001000
  36028. else
  36029. pTDefRegMap(@Self)^.&set := $00001000;
  36030. end;
  36031. function TUART3B_U5MODE.getIREN : TBits_1; inline;
  36032. begin
  36033. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36034. end;
  36035. procedure TUART3B_U5MODE.setSIDL; inline;
  36036. begin
  36037. pTDefRegMap(@Self)^.&set := $00002000;
  36038. end;
  36039. procedure TUART3B_U5MODE.clearSIDL; inline;
  36040. begin
  36041. pTDefRegMap(@Self)^.clr := $00002000;
  36042. end;
  36043. procedure TUART3B_U5MODE.setSIDL(thebits : TBits_1); inline;
  36044. begin
  36045. if thebits = 0 then
  36046. pTDefRegMap(@Self)^.clr := $00002000
  36047. else
  36048. pTDefRegMap(@Self)^.&set := $00002000;
  36049. end;
  36050. function TUART3B_U5MODE.getSIDL : TBits_1; inline;
  36051. begin
  36052. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36053. end;
  36054. procedure TUART3B_U5MODE.setON; inline;
  36055. begin
  36056. pTDefRegMap(@Self)^.&set := $00008000;
  36057. end;
  36058. procedure TUART3B_U5MODE.clearON; inline;
  36059. begin
  36060. pTDefRegMap(@Self)^.clr := $00008000;
  36061. end;
  36062. procedure TUART3B_U5MODE.setON(thebits : TBits_1); inline;
  36063. begin
  36064. if thebits = 0 then
  36065. pTDefRegMap(@Self)^.clr := $00008000
  36066. else
  36067. pTDefRegMap(@Self)^.&set := $00008000;
  36068. end;
  36069. function TUART3B_U5MODE.getON : TBits_1; inline;
  36070. begin
  36071. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36072. end;
  36073. procedure TUART3B_U5MODE.setPDSEL0; inline;
  36074. begin
  36075. pTDefRegMap(@Self)^.&set := $00000002;
  36076. end;
  36077. procedure TUART3B_U5MODE.clearPDSEL0; inline;
  36078. begin
  36079. pTDefRegMap(@Self)^.clr := $00000002;
  36080. end;
  36081. procedure TUART3B_U5MODE.setPDSEL0(thebits : TBits_1); inline;
  36082. begin
  36083. if thebits = 0 then
  36084. pTDefRegMap(@Self)^.clr := $00000002
  36085. else
  36086. pTDefRegMap(@Self)^.&set := $00000002;
  36087. end;
  36088. function TUART3B_U5MODE.getPDSEL0 : TBits_1; inline;
  36089. begin
  36090. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36091. end;
  36092. procedure TUART3B_U5MODE.setPDSEL1; inline;
  36093. begin
  36094. pTDefRegMap(@Self)^.&set := $00000004;
  36095. end;
  36096. procedure TUART3B_U5MODE.clearPDSEL1; inline;
  36097. begin
  36098. pTDefRegMap(@Self)^.clr := $00000004;
  36099. end;
  36100. procedure TUART3B_U5MODE.setPDSEL1(thebits : TBits_1); inline;
  36101. begin
  36102. if thebits = 0 then
  36103. pTDefRegMap(@Self)^.clr := $00000004
  36104. else
  36105. pTDefRegMap(@Self)^.&set := $00000004;
  36106. end;
  36107. function TUART3B_U5MODE.getPDSEL1 : TBits_1; inline;
  36108. begin
  36109. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36110. end;
  36111. procedure TUART3B_U5MODE.setUSIDL; inline;
  36112. begin
  36113. pTDefRegMap(@Self)^.&set := $00002000;
  36114. end;
  36115. procedure TUART3B_U5MODE.clearUSIDL; inline;
  36116. begin
  36117. pTDefRegMap(@Self)^.clr := $00002000;
  36118. end;
  36119. procedure TUART3B_U5MODE.setUSIDL(thebits : TBits_1); inline;
  36120. begin
  36121. if thebits = 0 then
  36122. pTDefRegMap(@Self)^.clr := $00002000
  36123. else
  36124. pTDefRegMap(@Self)^.&set := $00002000;
  36125. end;
  36126. function TUART3B_U5MODE.getUSIDL : TBits_1; inline;
  36127. begin
  36128. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36129. end;
  36130. procedure TUART3B_U5MODE.setUARTEN; inline;
  36131. begin
  36132. pTDefRegMap(@Self)^.&set := $00008000;
  36133. end;
  36134. procedure TUART3B_U5MODE.clearUARTEN; inline;
  36135. begin
  36136. pTDefRegMap(@Self)^.clr := $00008000;
  36137. end;
  36138. procedure TUART3B_U5MODE.setUARTEN(thebits : TBits_1); inline;
  36139. begin
  36140. if thebits = 0 then
  36141. pTDefRegMap(@Self)^.clr := $00008000
  36142. else
  36143. pTDefRegMap(@Self)^.&set := $00008000;
  36144. end;
  36145. function TUART3B_U5MODE.getUARTEN : TBits_1; inline;
  36146. begin
  36147. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36148. end;
  36149. procedure TUART3B_U5MODE.setw(thebits : TBits_32); inline;
  36150. begin
  36151. pTDefRegMap(@Self)^.val := thebits;
  36152. end;
  36153. function TUART3B_U5MODE.getw : TBits_32; inline;
  36154. begin
  36155. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36156. end;
  36157. procedure TUART3B_U3BSTA.setURXDA; inline;
  36158. begin
  36159. pTDefRegMap(@Self)^.&set := $00000001;
  36160. end;
  36161. procedure TUART3B_U3BSTA.clearURXDA; inline;
  36162. begin
  36163. pTDefRegMap(@Self)^.clr := $00000001;
  36164. end;
  36165. procedure TUART3B_U3BSTA.setURXDA(thebits : TBits_1); inline;
  36166. begin
  36167. if thebits = 0 then
  36168. pTDefRegMap(@Self)^.clr := $00000001
  36169. else
  36170. pTDefRegMap(@Self)^.&set := $00000001;
  36171. end;
  36172. function TUART3B_U3BSTA.getURXDA : TBits_1; inline;
  36173. begin
  36174. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36175. end;
  36176. procedure TUART3B_U3BSTA.setOERR; inline;
  36177. begin
  36178. pTDefRegMap(@Self)^.&set := $00000002;
  36179. end;
  36180. procedure TUART3B_U3BSTA.clearOERR; inline;
  36181. begin
  36182. pTDefRegMap(@Self)^.clr := $00000002;
  36183. end;
  36184. procedure TUART3B_U3BSTA.setOERR(thebits : TBits_1); inline;
  36185. begin
  36186. if thebits = 0 then
  36187. pTDefRegMap(@Self)^.clr := $00000002
  36188. else
  36189. pTDefRegMap(@Self)^.&set := $00000002;
  36190. end;
  36191. function TUART3B_U3BSTA.getOERR : TBits_1; inline;
  36192. begin
  36193. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36194. end;
  36195. procedure TUART3B_U3BSTA.setFERR; inline;
  36196. begin
  36197. pTDefRegMap(@Self)^.&set := $00000004;
  36198. end;
  36199. procedure TUART3B_U3BSTA.clearFERR; inline;
  36200. begin
  36201. pTDefRegMap(@Self)^.clr := $00000004;
  36202. end;
  36203. procedure TUART3B_U3BSTA.setFERR(thebits : TBits_1); inline;
  36204. begin
  36205. if thebits = 0 then
  36206. pTDefRegMap(@Self)^.clr := $00000004
  36207. else
  36208. pTDefRegMap(@Self)^.&set := $00000004;
  36209. end;
  36210. function TUART3B_U3BSTA.getFERR : TBits_1; inline;
  36211. begin
  36212. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36213. end;
  36214. procedure TUART3B_U3BSTA.setPERR; inline;
  36215. begin
  36216. pTDefRegMap(@Self)^.&set := $00000008;
  36217. end;
  36218. procedure TUART3B_U3BSTA.clearPERR; inline;
  36219. begin
  36220. pTDefRegMap(@Self)^.clr := $00000008;
  36221. end;
  36222. procedure TUART3B_U3BSTA.setPERR(thebits : TBits_1); inline;
  36223. begin
  36224. if thebits = 0 then
  36225. pTDefRegMap(@Self)^.clr := $00000008
  36226. else
  36227. pTDefRegMap(@Self)^.&set := $00000008;
  36228. end;
  36229. function TUART3B_U3BSTA.getPERR : TBits_1; inline;
  36230. begin
  36231. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36232. end;
  36233. procedure TUART3B_U3BSTA.setRIDLE; inline;
  36234. begin
  36235. pTDefRegMap(@Self)^.&set := $00000010;
  36236. end;
  36237. procedure TUART3B_U3BSTA.clearRIDLE; inline;
  36238. begin
  36239. pTDefRegMap(@Self)^.clr := $00000010;
  36240. end;
  36241. procedure TUART3B_U3BSTA.setRIDLE(thebits : TBits_1); inline;
  36242. begin
  36243. if thebits = 0 then
  36244. pTDefRegMap(@Self)^.clr := $00000010
  36245. else
  36246. pTDefRegMap(@Self)^.&set := $00000010;
  36247. end;
  36248. function TUART3B_U3BSTA.getRIDLE : TBits_1; inline;
  36249. begin
  36250. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36251. end;
  36252. procedure TUART3B_U3BSTA.setADDEN; inline;
  36253. begin
  36254. pTDefRegMap(@Self)^.&set := $00000020;
  36255. end;
  36256. procedure TUART3B_U3BSTA.clearADDEN; inline;
  36257. begin
  36258. pTDefRegMap(@Self)^.clr := $00000020;
  36259. end;
  36260. procedure TUART3B_U3BSTA.setADDEN(thebits : TBits_1); inline;
  36261. begin
  36262. if thebits = 0 then
  36263. pTDefRegMap(@Self)^.clr := $00000020
  36264. else
  36265. pTDefRegMap(@Self)^.&set := $00000020;
  36266. end;
  36267. function TUART3B_U3BSTA.getADDEN : TBits_1; inline;
  36268. begin
  36269. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36270. end;
  36271. procedure TUART3B_U3BSTA.setURXISEL(thebits : TBits_2); inline;
  36272. begin
  36273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36274. end;
  36275. function TUART3B_U3BSTA.getURXISEL : TBits_2; inline;
  36276. begin
  36277. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36278. end;
  36279. procedure TUART3B_U3BSTA.setTRMT; inline;
  36280. begin
  36281. pTDefRegMap(@Self)^.&set := $00000100;
  36282. end;
  36283. procedure TUART3B_U3BSTA.clearTRMT; inline;
  36284. begin
  36285. pTDefRegMap(@Self)^.clr := $00000100;
  36286. end;
  36287. procedure TUART3B_U3BSTA.setTRMT(thebits : TBits_1); inline;
  36288. begin
  36289. if thebits = 0 then
  36290. pTDefRegMap(@Self)^.clr := $00000100
  36291. else
  36292. pTDefRegMap(@Self)^.&set := $00000100;
  36293. end;
  36294. function TUART3B_U3BSTA.getTRMT : TBits_1; inline;
  36295. begin
  36296. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36297. end;
  36298. procedure TUART3B_U3BSTA.setUTXBF; inline;
  36299. begin
  36300. pTDefRegMap(@Self)^.&set := $00000200;
  36301. end;
  36302. procedure TUART3B_U3BSTA.clearUTXBF; inline;
  36303. begin
  36304. pTDefRegMap(@Self)^.clr := $00000200;
  36305. end;
  36306. procedure TUART3B_U3BSTA.setUTXBF(thebits : TBits_1); inline;
  36307. begin
  36308. if thebits = 0 then
  36309. pTDefRegMap(@Self)^.clr := $00000200
  36310. else
  36311. pTDefRegMap(@Self)^.&set := $00000200;
  36312. end;
  36313. function TUART3B_U3BSTA.getUTXBF : TBits_1; inline;
  36314. begin
  36315. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36316. end;
  36317. procedure TUART3B_U3BSTA.setUTXEN; inline;
  36318. begin
  36319. pTDefRegMap(@Self)^.&set := $00000400;
  36320. end;
  36321. procedure TUART3B_U3BSTA.clearUTXEN; inline;
  36322. begin
  36323. pTDefRegMap(@Self)^.clr := $00000400;
  36324. end;
  36325. procedure TUART3B_U3BSTA.setUTXEN(thebits : TBits_1); inline;
  36326. begin
  36327. if thebits = 0 then
  36328. pTDefRegMap(@Self)^.clr := $00000400
  36329. else
  36330. pTDefRegMap(@Self)^.&set := $00000400;
  36331. end;
  36332. function TUART3B_U3BSTA.getUTXEN : TBits_1; inline;
  36333. begin
  36334. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36335. end;
  36336. procedure TUART3B_U3BSTA.setUTXBRK; inline;
  36337. begin
  36338. pTDefRegMap(@Self)^.&set := $00000800;
  36339. end;
  36340. procedure TUART3B_U3BSTA.clearUTXBRK; inline;
  36341. begin
  36342. pTDefRegMap(@Self)^.clr := $00000800;
  36343. end;
  36344. procedure TUART3B_U3BSTA.setUTXBRK(thebits : TBits_1); inline;
  36345. begin
  36346. if thebits = 0 then
  36347. pTDefRegMap(@Self)^.clr := $00000800
  36348. else
  36349. pTDefRegMap(@Self)^.&set := $00000800;
  36350. end;
  36351. function TUART3B_U3BSTA.getUTXBRK : TBits_1; inline;
  36352. begin
  36353. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36354. end;
  36355. procedure TUART3B_U3BSTA.setURXEN; inline;
  36356. begin
  36357. pTDefRegMap(@Self)^.&set := $00001000;
  36358. end;
  36359. procedure TUART3B_U3BSTA.clearURXEN; inline;
  36360. begin
  36361. pTDefRegMap(@Self)^.clr := $00001000;
  36362. end;
  36363. procedure TUART3B_U3BSTA.setURXEN(thebits : TBits_1); inline;
  36364. begin
  36365. if thebits = 0 then
  36366. pTDefRegMap(@Self)^.clr := $00001000
  36367. else
  36368. pTDefRegMap(@Self)^.&set := $00001000;
  36369. end;
  36370. function TUART3B_U3BSTA.getURXEN : TBits_1; inline;
  36371. begin
  36372. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36373. end;
  36374. procedure TUART3B_U3BSTA.setUTXINV; inline;
  36375. begin
  36376. pTDefRegMap(@Self)^.&set := $00002000;
  36377. end;
  36378. procedure TUART3B_U3BSTA.clearUTXINV; inline;
  36379. begin
  36380. pTDefRegMap(@Self)^.clr := $00002000;
  36381. end;
  36382. procedure TUART3B_U3BSTA.setUTXINV(thebits : TBits_1); inline;
  36383. begin
  36384. if thebits = 0 then
  36385. pTDefRegMap(@Self)^.clr := $00002000
  36386. else
  36387. pTDefRegMap(@Self)^.&set := $00002000;
  36388. end;
  36389. function TUART3B_U3BSTA.getUTXINV : TBits_1; inline;
  36390. begin
  36391. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36392. end;
  36393. procedure TUART3B_U3BSTA.setUTXISEL(thebits : TBits_2); inline;
  36394. begin
  36395. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36396. end;
  36397. function TUART3B_U3BSTA.getUTXISEL : TBits_2; inline;
  36398. begin
  36399. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36400. end;
  36401. procedure TUART3B_U3BSTA.setADDR(thebits : TBits_8); inline;
  36402. begin
  36403. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36404. end;
  36405. function TUART3B_U3BSTA.getADDR : TBits_8; inline;
  36406. begin
  36407. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36408. end;
  36409. procedure TUART3B_U3BSTA.setADM_EN; inline;
  36410. begin
  36411. pTDefRegMap(@Self)^.&set := $01000000;
  36412. end;
  36413. procedure TUART3B_U3BSTA.clearADM_EN; inline;
  36414. begin
  36415. pTDefRegMap(@Self)^.clr := $01000000;
  36416. end;
  36417. procedure TUART3B_U3BSTA.setADM_EN(thebits : TBits_1); inline;
  36418. begin
  36419. if thebits = 0 then
  36420. pTDefRegMap(@Self)^.clr := $01000000
  36421. else
  36422. pTDefRegMap(@Self)^.&set := $01000000;
  36423. end;
  36424. function TUART3B_U3BSTA.getADM_EN : TBits_1; inline;
  36425. begin
  36426. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36427. end;
  36428. procedure TUART3B_U3BSTA.setURXISEL0; inline;
  36429. begin
  36430. pTDefRegMap(@Self)^.&set := $00000040;
  36431. end;
  36432. procedure TUART3B_U3BSTA.clearURXISEL0; inline;
  36433. begin
  36434. pTDefRegMap(@Self)^.clr := $00000040;
  36435. end;
  36436. procedure TUART3B_U3BSTA.setURXISEL0(thebits : TBits_1); inline;
  36437. begin
  36438. if thebits = 0 then
  36439. pTDefRegMap(@Self)^.clr := $00000040
  36440. else
  36441. pTDefRegMap(@Self)^.&set := $00000040;
  36442. end;
  36443. function TUART3B_U3BSTA.getURXISEL0 : TBits_1; inline;
  36444. begin
  36445. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36446. end;
  36447. procedure TUART3B_U3BSTA.setURXISEL1; inline;
  36448. begin
  36449. pTDefRegMap(@Self)^.&set := $00000080;
  36450. end;
  36451. procedure TUART3B_U3BSTA.clearURXISEL1; inline;
  36452. begin
  36453. pTDefRegMap(@Self)^.clr := $00000080;
  36454. end;
  36455. procedure TUART3B_U3BSTA.setURXISEL1(thebits : TBits_1); inline;
  36456. begin
  36457. if thebits = 0 then
  36458. pTDefRegMap(@Self)^.clr := $00000080
  36459. else
  36460. pTDefRegMap(@Self)^.&set := $00000080;
  36461. end;
  36462. function TUART3B_U3BSTA.getURXISEL1 : TBits_1; inline;
  36463. begin
  36464. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36465. end;
  36466. procedure TUART3B_U3BSTA.setUTXISEL0; inline;
  36467. begin
  36468. pTDefRegMap(@Self)^.&set := $00004000;
  36469. end;
  36470. procedure TUART3B_U3BSTA.clearUTXISEL0; inline;
  36471. begin
  36472. pTDefRegMap(@Self)^.clr := $00004000;
  36473. end;
  36474. procedure TUART3B_U3BSTA.setUTXISEL0(thebits : TBits_1); inline;
  36475. begin
  36476. if thebits = 0 then
  36477. pTDefRegMap(@Self)^.clr := $00004000
  36478. else
  36479. pTDefRegMap(@Self)^.&set := $00004000;
  36480. end;
  36481. function TUART3B_U3BSTA.getUTXISEL0 : TBits_1; inline;
  36482. begin
  36483. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36484. end;
  36485. procedure TUART3B_U3BSTA.setUTXISEL1; inline;
  36486. begin
  36487. pTDefRegMap(@Self)^.&set := $00008000;
  36488. end;
  36489. procedure TUART3B_U3BSTA.clearUTXISEL1; inline;
  36490. begin
  36491. pTDefRegMap(@Self)^.clr := $00008000;
  36492. end;
  36493. procedure TUART3B_U3BSTA.setUTXISEL1(thebits : TBits_1); inline;
  36494. begin
  36495. if thebits = 0 then
  36496. pTDefRegMap(@Self)^.clr := $00008000
  36497. else
  36498. pTDefRegMap(@Self)^.&set := $00008000;
  36499. end;
  36500. function TUART3B_U3BSTA.getUTXISEL1 : TBits_1; inline;
  36501. begin
  36502. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36503. end;
  36504. procedure TUART3B_U3BSTA.setUTXSEL(thebits : TBits_2); inline;
  36505. begin
  36506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36507. end;
  36508. function TUART3B_U3BSTA.getUTXSEL : TBits_2; inline;
  36509. begin
  36510. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36511. end;
  36512. procedure TUART3B_U3BSTA.setw(thebits : TBits_32); inline;
  36513. begin
  36514. pTDefRegMap(@Self)^.val := thebits;
  36515. end;
  36516. function TUART3B_U3BSTA.getw : TBits_32; inline;
  36517. begin
  36518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36519. end;
  36520. procedure TUART3B_U5STA.setURXDA; inline;
  36521. begin
  36522. pTDefRegMap(@Self)^.&set := $00000001;
  36523. end;
  36524. procedure TUART3B_U5STA.clearURXDA; inline;
  36525. begin
  36526. pTDefRegMap(@Self)^.clr := $00000001;
  36527. end;
  36528. procedure TUART3B_U5STA.setURXDA(thebits : TBits_1); inline;
  36529. begin
  36530. if thebits = 0 then
  36531. pTDefRegMap(@Self)^.clr := $00000001
  36532. else
  36533. pTDefRegMap(@Self)^.&set := $00000001;
  36534. end;
  36535. function TUART3B_U5STA.getURXDA : TBits_1; inline;
  36536. begin
  36537. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36538. end;
  36539. procedure TUART3B_U5STA.setOERR; inline;
  36540. begin
  36541. pTDefRegMap(@Self)^.&set := $00000002;
  36542. end;
  36543. procedure TUART3B_U5STA.clearOERR; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.clr := $00000002;
  36546. end;
  36547. procedure TUART3B_U5STA.setOERR(thebits : TBits_1); inline;
  36548. begin
  36549. if thebits = 0 then
  36550. pTDefRegMap(@Self)^.clr := $00000002
  36551. else
  36552. pTDefRegMap(@Self)^.&set := $00000002;
  36553. end;
  36554. function TUART3B_U5STA.getOERR : TBits_1; inline;
  36555. begin
  36556. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36557. end;
  36558. procedure TUART3B_U5STA.setFERR; inline;
  36559. begin
  36560. pTDefRegMap(@Self)^.&set := $00000004;
  36561. end;
  36562. procedure TUART3B_U5STA.clearFERR; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.clr := $00000004;
  36565. end;
  36566. procedure TUART3B_U5STA.setFERR(thebits : TBits_1); inline;
  36567. begin
  36568. if thebits = 0 then
  36569. pTDefRegMap(@Self)^.clr := $00000004
  36570. else
  36571. pTDefRegMap(@Self)^.&set := $00000004;
  36572. end;
  36573. function TUART3B_U5STA.getFERR : TBits_1; inline;
  36574. begin
  36575. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36576. end;
  36577. procedure TUART3B_U5STA.setPERR; inline;
  36578. begin
  36579. pTDefRegMap(@Self)^.&set := $00000008;
  36580. end;
  36581. procedure TUART3B_U5STA.clearPERR; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.clr := $00000008;
  36584. end;
  36585. procedure TUART3B_U5STA.setPERR(thebits : TBits_1); inline;
  36586. begin
  36587. if thebits = 0 then
  36588. pTDefRegMap(@Self)^.clr := $00000008
  36589. else
  36590. pTDefRegMap(@Self)^.&set := $00000008;
  36591. end;
  36592. function TUART3B_U5STA.getPERR : TBits_1; inline;
  36593. begin
  36594. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36595. end;
  36596. procedure TUART3B_U5STA.setRIDLE; inline;
  36597. begin
  36598. pTDefRegMap(@Self)^.&set := $00000010;
  36599. end;
  36600. procedure TUART3B_U5STA.clearRIDLE; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.clr := $00000010;
  36603. end;
  36604. procedure TUART3B_U5STA.setRIDLE(thebits : TBits_1); inline;
  36605. begin
  36606. if thebits = 0 then
  36607. pTDefRegMap(@Self)^.clr := $00000010
  36608. else
  36609. pTDefRegMap(@Self)^.&set := $00000010;
  36610. end;
  36611. function TUART3B_U5STA.getRIDLE : TBits_1; inline;
  36612. begin
  36613. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36614. end;
  36615. procedure TUART3B_U5STA.setADDEN; inline;
  36616. begin
  36617. pTDefRegMap(@Self)^.&set := $00000020;
  36618. end;
  36619. procedure TUART3B_U5STA.clearADDEN; inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.clr := $00000020;
  36622. end;
  36623. procedure TUART3B_U5STA.setADDEN(thebits : TBits_1); inline;
  36624. begin
  36625. if thebits = 0 then
  36626. pTDefRegMap(@Self)^.clr := $00000020
  36627. else
  36628. pTDefRegMap(@Self)^.&set := $00000020;
  36629. end;
  36630. function TUART3B_U5STA.getADDEN : TBits_1; inline;
  36631. begin
  36632. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36633. end;
  36634. procedure TUART3B_U5STA.setURXISEL(thebits : TBits_2); inline;
  36635. begin
  36636. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36637. end;
  36638. function TUART3B_U5STA.getURXISEL : TBits_2; inline;
  36639. begin
  36640. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36641. end;
  36642. procedure TUART3B_U5STA.setTRMT; inline;
  36643. begin
  36644. pTDefRegMap(@Self)^.&set := $00000100;
  36645. end;
  36646. procedure TUART3B_U5STA.clearTRMT; inline;
  36647. begin
  36648. pTDefRegMap(@Self)^.clr := $00000100;
  36649. end;
  36650. procedure TUART3B_U5STA.setTRMT(thebits : TBits_1); inline;
  36651. begin
  36652. if thebits = 0 then
  36653. pTDefRegMap(@Self)^.clr := $00000100
  36654. else
  36655. pTDefRegMap(@Self)^.&set := $00000100;
  36656. end;
  36657. function TUART3B_U5STA.getTRMT : TBits_1; inline;
  36658. begin
  36659. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36660. end;
  36661. procedure TUART3B_U5STA.setUTXBF; inline;
  36662. begin
  36663. pTDefRegMap(@Self)^.&set := $00000200;
  36664. end;
  36665. procedure TUART3B_U5STA.clearUTXBF; inline;
  36666. begin
  36667. pTDefRegMap(@Self)^.clr := $00000200;
  36668. end;
  36669. procedure TUART3B_U5STA.setUTXBF(thebits : TBits_1); inline;
  36670. begin
  36671. if thebits = 0 then
  36672. pTDefRegMap(@Self)^.clr := $00000200
  36673. else
  36674. pTDefRegMap(@Self)^.&set := $00000200;
  36675. end;
  36676. function TUART3B_U5STA.getUTXBF : TBits_1; inline;
  36677. begin
  36678. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36679. end;
  36680. procedure TUART3B_U5STA.setUTXEN; inline;
  36681. begin
  36682. pTDefRegMap(@Self)^.&set := $00000400;
  36683. end;
  36684. procedure TUART3B_U5STA.clearUTXEN; inline;
  36685. begin
  36686. pTDefRegMap(@Self)^.clr := $00000400;
  36687. end;
  36688. procedure TUART3B_U5STA.setUTXEN(thebits : TBits_1); inline;
  36689. begin
  36690. if thebits = 0 then
  36691. pTDefRegMap(@Self)^.clr := $00000400
  36692. else
  36693. pTDefRegMap(@Self)^.&set := $00000400;
  36694. end;
  36695. function TUART3B_U5STA.getUTXEN : TBits_1; inline;
  36696. begin
  36697. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36698. end;
  36699. procedure TUART3B_U5STA.setUTXBRK; inline;
  36700. begin
  36701. pTDefRegMap(@Self)^.&set := $00000800;
  36702. end;
  36703. procedure TUART3B_U5STA.clearUTXBRK; inline;
  36704. begin
  36705. pTDefRegMap(@Self)^.clr := $00000800;
  36706. end;
  36707. procedure TUART3B_U5STA.setUTXBRK(thebits : TBits_1); inline;
  36708. begin
  36709. if thebits = 0 then
  36710. pTDefRegMap(@Self)^.clr := $00000800
  36711. else
  36712. pTDefRegMap(@Self)^.&set := $00000800;
  36713. end;
  36714. function TUART3B_U5STA.getUTXBRK : TBits_1; inline;
  36715. begin
  36716. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36717. end;
  36718. procedure TUART3B_U5STA.setURXEN; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.&set := $00001000;
  36721. end;
  36722. procedure TUART3B_U5STA.clearURXEN; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.clr := $00001000;
  36725. end;
  36726. procedure TUART3B_U5STA.setURXEN(thebits : TBits_1); inline;
  36727. begin
  36728. if thebits = 0 then
  36729. pTDefRegMap(@Self)^.clr := $00001000
  36730. else
  36731. pTDefRegMap(@Self)^.&set := $00001000;
  36732. end;
  36733. function TUART3B_U5STA.getURXEN : TBits_1; inline;
  36734. begin
  36735. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36736. end;
  36737. procedure TUART3B_U5STA.setUTXINV; inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.&set := $00002000;
  36740. end;
  36741. procedure TUART3B_U5STA.clearUTXINV; inline;
  36742. begin
  36743. pTDefRegMap(@Self)^.clr := $00002000;
  36744. end;
  36745. procedure TUART3B_U5STA.setUTXINV(thebits : TBits_1); inline;
  36746. begin
  36747. if thebits = 0 then
  36748. pTDefRegMap(@Self)^.clr := $00002000
  36749. else
  36750. pTDefRegMap(@Self)^.&set := $00002000;
  36751. end;
  36752. function TUART3B_U5STA.getUTXINV : TBits_1; inline;
  36753. begin
  36754. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36755. end;
  36756. procedure TUART3B_U5STA.setUTXISEL(thebits : TBits_2); inline;
  36757. begin
  36758. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36759. end;
  36760. function TUART3B_U5STA.getUTXISEL : TBits_2; inline;
  36761. begin
  36762. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36763. end;
  36764. procedure TUART3B_U5STA.setADDR(thebits : TBits_8); inline;
  36765. begin
  36766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  36767. end;
  36768. function TUART3B_U5STA.getADDR : TBits_8; inline;
  36769. begin
  36770. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  36771. end;
  36772. procedure TUART3B_U5STA.setADM_EN; inline;
  36773. begin
  36774. pTDefRegMap(@Self)^.&set := $01000000;
  36775. end;
  36776. procedure TUART3B_U5STA.clearADM_EN; inline;
  36777. begin
  36778. pTDefRegMap(@Self)^.clr := $01000000;
  36779. end;
  36780. procedure TUART3B_U5STA.setADM_EN(thebits : TBits_1); inline;
  36781. begin
  36782. if thebits = 0 then
  36783. pTDefRegMap(@Self)^.clr := $01000000
  36784. else
  36785. pTDefRegMap(@Self)^.&set := $01000000;
  36786. end;
  36787. function TUART3B_U5STA.getADM_EN : TBits_1; inline;
  36788. begin
  36789. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  36790. end;
  36791. procedure TUART3B_U5STA.setURXISEL0; inline;
  36792. begin
  36793. pTDefRegMap(@Self)^.&set := $00000040;
  36794. end;
  36795. procedure TUART3B_U5STA.clearURXISEL0; inline;
  36796. begin
  36797. pTDefRegMap(@Self)^.clr := $00000040;
  36798. end;
  36799. procedure TUART3B_U5STA.setURXISEL0(thebits : TBits_1); inline;
  36800. begin
  36801. if thebits = 0 then
  36802. pTDefRegMap(@Self)^.clr := $00000040
  36803. else
  36804. pTDefRegMap(@Self)^.&set := $00000040;
  36805. end;
  36806. function TUART3B_U5STA.getURXISEL0 : TBits_1; inline;
  36807. begin
  36808. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36809. end;
  36810. procedure TUART3B_U5STA.setURXISEL1; inline;
  36811. begin
  36812. pTDefRegMap(@Self)^.&set := $00000080;
  36813. end;
  36814. procedure TUART3B_U5STA.clearURXISEL1; inline;
  36815. begin
  36816. pTDefRegMap(@Self)^.clr := $00000080;
  36817. end;
  36818. procedure TUART3B_U5STA.setURXISEL1(thebits : TBits_1); inline;
  36819. begin
  36820. if thebits = 0 then
  36821. pTDefRegMap(@Self)^.clr := $00000080
  36822. else
  36823. pTDefRegMap(@Self)^.&set := $00000080;
  36824. end;
  36825. function TUART3B_U5STA.getURXISEL1 : TBits_1; inline;
  36826. begin
  36827. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36828. end;
  36829. procedure TUART3B_U5STA.setUTXISEL0; inline;
  36830. begin
  36831. pTDefRegMap(@Self)^.&set := $00004000;
  36832. end;
  36833. procedure TUART3B_U5STA.clearUTXISEL0; inline;
  36834. begin
  36835. pTDefRegMap(@Self)^.clr := $00004000;
  36836. end;
  36837. procedure TUART3B_U5STA.setUTXISEL0(thebits : TBits_1); inline;
  36838. begin
  36839. if thebits = 0 then
  36840. pTDefRegMap(@Self)^.clr := $00004000
  36841. else
  36842. pTDefRegMap(@Self)^.&set := $00004000;
  36843. end;
  36844. function TUART3B_U5STA.getUTXISEL0 : TBits_1; inline;
  36845. begin
  36846. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36847. end;
  36848. procedure TUART3B_U5STA.setUTXISEL1; inline;
  36849. begin
  36850. pTDefRegMap(@Self)^.&set := $00008000;
  36851. end;
  36852. procedure TUART3B_U5STA.clearUTXISEL1; inline;
  36853. begin
  36854. pTDefRegMap(@Self)^.clr := $00008000;
  36855. end;
  36856. procedure TUART3B_U5STA.setUTXISEL1(thebits : TBits_1); inline;
  36857. begin
  36858. if thebits = 0 then
  36859. pTDefRegMap(@Self)^.clr := $00008000
  36860. else
  36861. pTDefRegMap(@Self)^.&set := $00008000;
  36862. end;
  36863. function TUART3B_U5STA.getUTXISEL1 : TBits_1; inline;
  36864. begin
  36865. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36866. end;
  36867. procedure TUART3B_U5STA.setUTXSEL(thebits : TBits_2); inline;
  36868. begin
  36869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36870. end;
  36871. function TUART3B_U5STA.getUTXSEL : TBits_2; inline;
  36872. begin
  36873. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36874. end;
  36875. procedure TUART3B_U5STA.setw(thebits : TBits_32); inline;
  36876. begin
  36877. pTDefRegMap(@Self)^.val := thebits;
  36878. end;
  36879. function TUART3B_U5STA.getw : TBits_32; inline;
  36880. begin
  36881. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36882. end;
  36883. procedure TPMP_PMCON.setRDSP; inline;
  36884. begin
  36885. pTDefRegMap(@Self)^.&set := $00000001;
  36886. end;
  36887. procedure TPMP_PMCON.clearRDSP; inline;
  36888. begin
  36889. pTDefRegMap(@Self)^.clr := $00000001;
  36890. end;
  36891. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  36892. begin
  36893. if thebits = 0 then
  36894. pTDefRegMap(@Self)^.clr := $00000001
  36895. else
  36896. pTDefRegMap(@Self)^.&set := $00000001;
  36897. end;
  36898. function TPMP_PMCON.getRDSP : TBits_1; inline;
  36899. begin
  36900. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36901. end;
  36902. procedure TPMP_PMCON.setWRSP; inline;
  36903. begin
  36904. pTDefRegMap(@Self)^.&set := $00000002;
  36905. end;
  36906. procedure TPMP_PMCON.clearWRSP; inline;
  36907. begin
  36908. pTDefRegMap(@Self)^.clr := $00000002;
  36909. end;
  36910. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  36911. begin
  36912. if thebits = 0 then
  36913. pTDefRegMap(@Self)^.clr := $00000002
  36914. else
  36915. pTDefRegMap(@Self)^.&set := $00000002;
  36916. end;
  36917. function TPMP_PMCON.getWRSP : TBits_1; inline;
  36918. begin
  36919. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36920. end;
  36921. procedure TPMP_PMCON.setCS1P; inline;
  36922. begin
  36923. pTDefRegMap(@Self)^.&set := $00000008;
  36924. end;
  36925. procedure TPMP_PMCON.clearCS1P; inline;
  36926. begin
  36927. pTDefRegMap(@Self)^.clr := $00000008;
  36928. end;
  36929. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  36930. begin
  36931. if thebits = 0 then
  36932. pTDefRegMap(@Self)^.clr := $00000008
  36933. else
  36934. pTDefRegMap(@Self)^.&set := $00000008;
  36935. end;
  36936. function TPMP_PMCON.getCS1P : TBits_1; inline;
  36937. begin
  36938. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36939. end;
  36940. procedure TPMP_PMCON.setCS2P; inline;
  36941. begin
  36942. pTDefRegMap(@Self)^.&set := $00000010;
  36943. end;
  36944. procedure TPMP_PMCON.clearCS2P; inline;
  36945. begin
  36946. pTDefRegMap(@Self)^.clr := $00000010;
  36947. end;
  36948. procedure TPMP_PMCON.setCS2P(thebits : TBits_1); inline;
  36949. begin
  36950. if thebits = 0 then
  36951. pTDefRegMap(@Self)^.clr := $00000010
  36952. else
  36953. pTDefRegMap(@Self)^.&set := $00000010;
  36954. end;
  36955. function TPMP_PMCON.getCS2P : TBits_1; inline;
  36956. begin
  36957. getCS2P := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36958. end;
  36959. procedure TPMP_PMCON.setALP; inline;
  36960. begin
  36961. pTDefRegMap(@Self)^.&set := $00000020;
  36962. end;
  36963. procedure TPMP_PMCON.clearALP; inline;
  36964. begin
  36965. pTDefRegMap(@Self)^.clr := $00000020;
  36966. end;
  36967. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  36968. begin
  36969. if thebits = 0 then
  36970. pTDefRegMap(@Self)^.clr := $00000020
  36971. else
  36972. pTDefRegMap(@Self)^.&set := $00000020;
  36973. end;
  36974. function TPMP_PMCON.getALP : TBits_1; inline;
  36975. begin
  36976. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36977. end;
  36978. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  36979. begin
  36980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  36981. end;
  36982. function TPMP_PMCON.getCSF : TBits_2; inline;
  36983. begin
  36984. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  36985. end;
  36986. procedure TPMP_PMCON.setPTRDEN; inline;
  36987. begin
  36988. pTDefRegMap(@Self)^.&set := $00000100;
  36989. end;
  36990. procedure TPMP_PMCON.clearPTRDEN; inline;
  36991. begin
  36992. pTDefRegMap(@Self)^.clr := $00000100;
  36993. end;
  36994. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  36995. begin
  36996. if thebits = 0 then
  36997. pTDefRegMap(@Self)^.clr := $00000100
  36998. else
  36999. pTDefRegMap(@Self)^.&set := $00000100;
  37000. end;
  37001. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  37002. begin
  37003. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37004. end;
  37005. procedure TPMP_PMCON.setPTWREN; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.&set := $00000200;
  37008. end;
  37009. procedure TPMP_PMCON.clearPTWREN; inline;
  37010. begin
  37011. pTDefRegMap(@Self)^.clr := $00000200;
  37012. end;
  37013. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  37014. begin
  37015. if thebits = 0 then
  37016. pTDefRegMap(@Self)^.clr := $00000200
  37017. else
  37018. pTDefRegMap(@Self)^.&set := $00000200;
  37019. end;
  37020. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  37021. begin
  37022. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37023. end;
  37024. procedure TPMP_PMCON.setPMPTTL; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.&set := $00000400;
  37027. end;
  37028. procedure TPMP_PMCON.clearPMPTTL; inline;
  37029. begin
  37030. pTDefRegMap(@Self)^.clr := $00000400;
  37031. end;
  37032. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  37033. begin
  37034. if thebits = 0 then
  37035. pTDefRegMap(@Self)^.clr := $00000400
  37036. else
  37037. pTDefRegMap(@Self)^.&set := $00000400;
  37038. end;
  37039. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  37040. begin
  37041. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37042. end;
  37043. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  37044. begin
  37045. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  37046. end;
  37047. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  37048. begin
  37049. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  37050. end;
  37051. procedure TPMP_PMCON.setSIDL; inline;
  37052. begin
  37053. pTDefRegMap(@Self)^.&set := $00002000;
  37054. end;
  37055. procedure TPMP_PMCON.clearSIDL; inline;
  37056. begin
  37057. pTDefRegMap(@Self)^.clr := $00002000;
  37058. end;
  37059. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  37060. begin
  37061. if thebits = 0 then
  37062. pTDefRegMap(@Self)^.clr := $00002000
  37063. else
  37064. pTDefRegMap(@Self)^.&set := $00002000;
  37065. end;
  37066. function TPMP_PMCON.getSIDL : TBits_1; inline;
  37067. begin
  37068. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37069. end;
  37070. procedure TPMP_PMCON.setON; inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.&set := $00008000;
  37073. end;
  37074. procedure TPMP_PMCON.clearON; inline;
  37075. begin
  37076. pTDefRegMap(@Self)^.clr := $00008000;
  37077. end;
  37078. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  37079. begin
  37080. if thebits = 0 then
  37081. pTDefRegMap(@Self)^.clr := $00008000
  37082. else
  37083. pTDefRegMap(@Self)^.&set := $00008000;
  37084. end;
  37085. function TPMP_PMCON.getON : TBits_1; inline;
  37086. begin
  37087. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37088. end;
  37089. procedure TPMP_PMCON.setCSF0; inline;
  37090. begin
  37091. pTDefRegMap(@Self)^.&set := $00000040;
  37092. end;
  37093. procedure TPMP_PMCON.clearCSF0; inline;
  37094. begin
  37095. pTDefRegMap(@Self)^.clr := $00000040;
  37096. end;
  37097. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  37098. begin
  37099. if thebits = 0 then
  37100. pTDefRegMap(@Self)^.clr := $00000040
  37101. else
  37102. pTDefRegMap(@Self)^.&set := $00000040;
  37103. end;
  37104. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  37105. begin
  37106. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37107. end;
  37108. procedure TPMP_PMCON.setCSF1; inline;
  37109. begin
  37110. pTDefRegMap(@Self)^.&set := $00000080;
  37111. end;
  37112. procedure TPMP_PMCON.clearCSF1; inline;
  37113. begin
  37114. pTDefRegMap(@Self)^.clr := $00000080;
  37115. end;
  37116. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  37117. begin
  37118. if thebits = 0 then
  37119. pTDefRegMap(@Self)^.clr := $00000080
  37120. else
  37121. pTDefRegMap(@Self)^.&set := $00000080;
  37122. end;
  37123. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  37124. begin
  37125. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37126. end;
  37127. procedure TPMP_PMCON.setADRMUX0; inline;
  37128. begin
  37129. pTDefRegMap(@Self)^.&set := $00000800;
  37130. end;
  37131. procedure TPMP_PMCON.clearADRMUX0; inline;
  37132. begin
  37133. pTDefRegMap(@Self)^.clr := $00000800;
  37134. end;
  37135. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  37136. begin
  37137. if thebits = 0 then
  37138. pTDefRegMap(@Self)^.clr := $00000800
  37139. else
  37140. pTDefRegMap(@Self)^.&set := $00000800;
  37141. end;
  37142. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  37143. begin
  37144. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37145. end;
  37146. procedure TPMP_PMCON.setADRMUX1; inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.&set := $00001000;
  37149. end;
  37150. procedure TPMP_PMCON.clearADRMUX1; inline;
  37151. begin
  37152. pTDefRegMap(@Self)^.clr := $00001000;
  37153. end;
  37154. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  37155. begin
  37156. if thebits = 0 then
  37157. pTDefRegMap(@Self)^.clr := $00001000
  37158. else
  37159. pTDefRegMap(@Self)^.&set := $00001000;
  37160. end;
  37161. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  37162. begin
  37163. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37164. end;
  37165. procedure TPMP_PMCON.setPSIDL; inline;
  37166. begin
  37167. pTDefRegMap(@Self)^.&set := $00002000;
  37168. end;
  37169. procedure TPMP_PMCON.clearPSIDL; inline;
  37170. begin
  37171. pTDefRegMap(@Self)^.clr := $00002000;
  37172. end;
  37173. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  37174. begin
  37175. if thebits = 0 then
  37176. pTDefRegMap(@Self)^.clr := $00002000
  37177. else
  37178. pTDefRegMap(@Self)^.&set := $00002000;
  37179. end;
  37180. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  37181. begin
  37182. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37183. end;
  37184. procedure TPMP_PMCON.setPMPEN; inline;
  37185. begin
  37186. pTDefRegMap(@Self)^.&set := $00008000;
  37187. end;
  37188. procedure TPMP_PMCON.clearPMPEN; inline;
  37189. begin
  37190. pTDefRegMap(@Self)^.clr := $00008000;
  37191. end;
  37192. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  37193. begin
  37194. if thebits = 0 then
  37195. pTDefRegMap(@Self)^.clr := $00008000
  37196. else
  37197. pTDefRegMap(@Self)^.&set := $00008000;
  37198. end;
  37199. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  37200. begin
  37201. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37202. end;
  37203. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  37204. begin
  37205. pTDefRegMap(@Self)^.val := thebits;
  37206. end;
  37207. function TPMP_PMCON.getw : TBits_32; inline;
  37208. begin
  37209. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37210. end;
  37211. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  37212. begin
  37213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37214. end;
  37215. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  37216. begin
  37217. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37218. end;
  37219. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  37220. begin
  37221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  37222. end;
  37223. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  37224. begin
  37225. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  37226. end;
  37227. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  37228. begin
  37229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  37230. end;
  37231. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  37232. begin
  37233. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  37234. end;
  37235. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  37236. begin
  37237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37238. end;
  37239. function TPMP_PMMODE.getMODE : TBits_2; inline;
  37240. begin
  37241. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37242. end;
  37243. procedure TPMP_PMMODE.setMODE16; inline;
  37244. begin
  37245. pTDefRegMap(@Self)^.&set := $00000400;
  37246. end;
  37247. procedure TPMP_PMMODE.clearMODE16; inline;
  37248. begin
  37249. pTDefRegMap(@Self)^.clr := $00000400;
  37250. end;
  37251. procedure TPMP_PMMODE.setMODE16(thebits : TBits_1); inline;
  37252. begin
  37253. if thebits = 0 then
  37254. pTDefRegMap(@Self)^.clr := $00000400
  37255. else
  37256. pTDefRegMap(@Self)^.&set := $00000400;
  37257. end;
  37258. function TPMP_PMMODE.getMODE16 : TBits_1; inline;
  37259. begin
  37260. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37261. end;
  37262. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  37263. begin
  37264. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  37265. end;
  37266. function TPMP_PMMODE.getINCM : TBits_2; inline;
  37267. begin
  37268. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  37269. end;
  37270. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  37271. begin
  37272. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  37273. end;
  37274. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  37275. begin
  37276. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  37277. end;
  37278. procedure TPMP_PMMODE.setBUSY; inline;
  37279. begin
  37280. pTDefRegMap(@Self)^.&set := $00008000;
  37281. end;
  37282. procedure TPMP_PMMODE.clearBUSY; inline;
  37283. begin
  37284. pTDefRegMap(@Self)^.clr := $00008000;
  37285. end;
  37286. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  37287. begin
  37288. if thebits = 0 then
  37289. pTDefRegMap(@Self)^.clr := $00008000
  37290. else
  37291. pTDefRegMap(@Self)^.&set := $00008000;
  37292. end;
  37293. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  37294. begin
  37295. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37296. end;
  37297. procedure TPMP_PMMODE.setWAITE0; inline;
  37298. begin
  37299. pTDefRegMap(@Self)^.&set := $00000001;
  37300. end;
  37301. procedure TPMP_PMMODE.clearWAITE0; inline;
  37302. begin
  37303. pTDefRegMap(@Self)^.clr := $00000001;
  37304. end;
  37305. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  37306. begin
  37307. if thebits = 0 then
  37308. pTDefRegMap(@Self)^.clr := $00000001
  37309. else
  37310. pTDefRegMap(@Self)^.&set := $00000001;
  37311. end;
  37312. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  37313. begin
  37314. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37315. end;
  37316. procedure TPMP_PMMODE.setWAITE1; inline;
  37317. begin
  37318. pTDefRegMap(@Self)^.&set := $00000002;
  37319. end;
  37320. procedure TPMP_PMMODE.clearWAITE1; inline;
  37321. begin
  37322. pTDefRegMap(@Self)^.clr := $00000002;
  37323. end;
  37324. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  37325. begin
  37326. if thebits = 0 then
  37327. pTDefRegMap(@Self)^.clr := $00000002
  37328. else
  37329. pTDefRegMap(@Self)^.&set := $00000002;
  37330. end;
  37331. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  37332. begin
  37333. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37334. end;
  37335. procedure TPMP_PMMODE.setWAITM0; inline;
  37336. begin
  37337. pTDefRegMap(@Self)^.&set := $00000004;
  37338. end;
  37339. procedure TPMP_PMMODE.clearWAITM0; inline;
  37340. begin
  37341. pTDefRegMap(@Self)^.clr := $00000004;
  37342. end;
  37343. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  37344. begin
  37345. if thebits = 0 then
  37346. pTDefRegMap(@Self)^.clr := $00000004
  37347. else
  37348. pTDefRegMap(@Self)^.&set := $00000004;
  37349. end;
  37350. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  37351. begin
  37352. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37353. end;
  37354. procedure TPMP_PMMODE.setWAITM1; inline;
  37355. begin
  37356. pTDefRegMap(@Self)^.&set := $00000008;
  37357. end;
  37358. procedure TPMP_PMMODE.clearWAITM1; inline;
  37359. begin
  37360. pTDefRegMap(@Self)^.clr := $00000008;
  37361. end;
  37362. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  37363. begin
  37364. if thebits = 0 then
  37365. pTDefRegMap(@Self)^.clr := $00000008
  37366. else
  37367. pTDefRegMap(@Self)^.&set := $00000008;
  37368. end;
  37369. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  37370. begin
  37371. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37372. end;
  37373. procedure TPMP_PMMODE.setWAITM2; inline;
  37374. begin
  37375. pTDefRegMap(@Self)^.&set := $00000010;
  37376. end;
  37377. procedure TPMP_PMMODE.clearWAITM2; inline;
  37378. begin
  37379. pTDefRegMap(@Self)^.clr := $00000010;
  37380. end;
  37381. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  37382. begin
  37383. if thebits = 0 then
  37384. pTDefRegMap(@Self)^.clr := $00000010
  37385. else
  37386. pTDefRegMap(@Self)^.&set := $00000010;
  37387. end;
  37388. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  37389. begin
  37390. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37391. end;
  37392. procedure TPMP_PMMODE.setWAITM3; inline;
  37393. begin
  37394. pTDefRegMap(@Self)^.&set := $00000020;
  37395. end;
  37396. procedure TPMP_PMMODE.clearWAITM3; inline;
  37397. begin
  37398. pTDefRegMap(@Self)^.clr := $00000020;
  37399. end;
  37400. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  37401. begin
  37402. if thebits = 0 then
  37403. pTDefRegMap(@Self)^.clr := $00000020
  37404. else
  37405. pTDefRegMap(@Self)^.&set := $00000020;
  37406. end;
  37407. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  37408. begin
  37409. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37410. end;
  37411. procedure TPMP_PMMODE.setWAITB0; inline;
  37412. begin
  37413. pTDefRegMap(@Self)^.&set := $00000040;
  37414. end;
  37415. procedure TPMP_PMMODE.clearWAITB0; inline;
  37416. begin
  37417. pTDefRegMap(@Self)^.clr := $00000040;
  37418. end;
  37419. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  37420. begin
  37421. if thebits = 0 then
  37422. pTDefRegMap(@Self)^.clr := $00000040
  37423. else
  37424. pTDefRegMap(@Self)^.&set := $00000040;
  37425. end;
  37426. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  37427. begin
  37428. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37429. end;
  37430. procedure TPMP_PMMODE.setWAITB1; inline;
  37431. begin
  37432. pTDefRegMap(@Self)^.&set := $00000080;
  37433. end;
  37434. procedure TPMP_PMMODE.clearWAITB1; inline;
  37435. begin
  37436. pTDefRegMap(@Self)^.clr := $00000080;
  37437. end;
  37438. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  37439. begin
  37440. if thebits = 0 then
  37441. pTDefRegMap(@Self)^.clr := $00000080
  37442. else
  37443. pTDefRegMap(@Self)^.&set := $00000080;
  37444. end;
  37445. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  37446. begin
  37447. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37448. end;
  37449. procedure TPMP_PMMODE.setMODE0; inline;
  37450. begin
  37451. pTDefRegMap(@Self)^.&set := $00000100;
  37452. end;
  37453. procedure TPMP_PMMODE.clearMODE0; inline;
  37454. begin
  37455. pTDefRegMap(@Self)^.clr := $00000100;
  37456. end;
  37457. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  37458. begin
  37459. if thebits = 0 then
  37460. pTDefRegMap(@Self)^.clr := $00000100
  37461. else
  37462. pTDefRegMap(@Self)^.&set := $00000100;
  37463. end;
  37464. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  37465. begin
  37466. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37467. end;
  37468. procedure TPMP_PMMODE.setMODE1; inline;
  37469. begin
  37470. pTDefRegMap(@Self)^.&set := $00000200;
  37471. end;
  37472. procedure TPMP_PMMODE.clearMODE1; inline;
  37473. begin
  37474. pTDefRegMap(@Self)^.clr := $00000200;
  37475. end;
  37476. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  37477. begin
  37478. if thebits = 0 then
  37479. pTDefRegMap(@Self)^.clr := $00000200
  37480. else
  37481. pTDefRegMap(@Self)^.&set := $00000200;
  37482. end;
  37483. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  37484. begin
  37485. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37486. end;
  37487. procedure TPMP_PMMODE.setINCM0; inline;
  37488. begin
  37489. pTDefRegMap(@Self)^.&set := $00000800;
  37490. end;
  37491. procedure TPMP_PMMODE.clearINCM0; inline;
  37492. begin
  37493. pTDefRegMap(@Self)^.clr := $00000800;
  37494. end;
  37495. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  37496. begin
  37497. if thebits = 0 then
  37498. pTDefRegMap(@Self)^.clr := $00000800
  37499. else
  37500. pTDefRegMap(@Self)^.&set := $00000800;
  37501. end;
  37502. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  37503. begin
  37504. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37505. end;
  37506. procedure TPMP_PMMODE.setINCM1; inline;
  37507. begin
  37508. pTDefRegMap(@Self)^.&set := $00001000;
  37509. end;
  37510. procedure TPMP_PMMODE.clearINCM1; inline;
  37511. begin
  37512. pTDefRegMap(@Self)^.clr := $00001000;
  37513. end;
  37514. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  37515. begin
  37516. if thebits = 0 then
  37517. pTDefRegMap(@Self)^.clr := $00001000
  37518. else
  37519. pTDefRegMap(@Self)^.&set := $00001000;
  37520. end;
  37521. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  37522. begin
  37523. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37524. end;
  37525. procedure TPMP_PMMODE.setIRQM0; inline;
  37526. begin
  37527. pTDefRegMap(@Self)^.&set := $00002000;
  37528. end;
  37529. procedure TPMP_PMMODE.clearIRQM0; inline;
  37530. begin
  37531. pTDefRegMap(@Self)^.clr := $00002000;
  37532. end;
  37533. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  37534. begin
  37535. if thebits = 0 then
  37536. pTDefRegMap(@Self)^.clr := $00002000
  37537. else
  37538. pTDefRegMap(@Self)^.&set := $00002000;
  37539. end;
  37540. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  37541. begin
  37542. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37543. end;
  37544. procedure TPMP_PMMODE.setIRQM1; inline;
  37545. begin
  37546. pTDefRegMap(@Self)^.&set := $00004000;
  37547. end;
  37548. procedure TPMP_PMMODE.clearIRQM1; inline;
  37549. begin
  37550. pTDefRegMap(@Self)^.clr := $00004000;
  37551. end;
  37552. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  37553. begin
  37554. if thebits = 0 then
  37555. pTDefRegMap(@Self)^.clr := $00004000
  37556. else
  37557. pTDefRegMap(@Self)^.&set := $00004000;
  37558. end;
  37559. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  37560. begin
  37561. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37562. end;
  37563. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  37564. begin
  37565. pTDefRegMap(@Self)^.val := thebits;
  37566. end;
  37567. function TPMP_PMMODE.getw : TBits_32; inline;
  37568. begin
  37569. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37570. end;
  37571. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  37572. begin
  37573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  37574. end;
  37575. function TPMP_PMADDR.getADDR : TBits_14; inline;
  37576. begin
  37577. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  37578. end;
  37579. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  37580. begin
  37581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37582. end;
  37583. function TPMP_PMADDR.getCS : TBits_2; inline;
  37584. begin
  37585. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37586. end;
  37587. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  37588. begin
  37589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  37590. end;
  37591. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  37592. begin
  37593. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  37594. end;
  37595. procedure TPMP_PMADDR.setCS1; inline;
  37596. begin
  37597. pTDefRegMap(@Self)^.&set := $00004000;
  37598. end;
  37599. procedure TPMP_PMADDR.clearCS1; inline;
  37600. begin
  37601. pTDefRegMap(@Self)^.clr := $00004000;
  37602. end;
  37603. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  37604. begin
  37605. if thebits = 0 then
  37606. pTDefRegMap(@Self)^.clr := $00004000
  37607. else
  37608. pTDefRegMap(@Self)^.&set := $00004000;
  37609. end;
  37610. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  37611. begin
  37612. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37613. end;
  37614. procedure TPMP_PMADDR.setCS2; inline;
  37615. begin
  37616. pTDefRegMap(@Self)^.&set := $00008000;
  37617. end;
  37618. procedure TPMP_PMADDR.clearCS2; inline;
  37619. begin
  37620. pTDefRegMap(@Self)^.clr := $00008000;
  37621. end;
  37622. procedure TPMP_PMADDR.setCS2(thebits : TBits_1); inline;
  37623. begin
  37624. if thebits = 0 then
  37625. pTDefRegMap(@Self)^.clr := $00008000
  37626. else
  37627. pTDefRegMap(@Self)^.&set := $00008000;
  37628. end;
  37629. function TPMP_PMADDR.getCS2 : TBits_1; inline;
  37630. begin
  37631. getCS2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37632. end;
  37633. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  37634. begin
  37635. pTDefRegMap(@Self)^.val := thebits;
  37636. end;
  37637. function TPMP_PMADDR.getw : TBits_32; inline;
  37638. begin
  37639. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37640. end;
  37641. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  37642. begin
  37643. pTDefRegMap(@Self)^.val := thebits;
  37644. end;
  37645. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  37646. begin
  37647. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37648. end;
  37649. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  37650. begin
  37651. pTDefRegMap(@Self)^.val := thebits;
  37652. end;
  37653. function TPMP_PMDOUT.getw : TBits_32; inline;
  37654. begin
  37655. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37656. end;
  37657. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  37658. begin
  37659. pTDefRegMap(@Self)^.val := thebits;
  37660. end;
  37661. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  37662. begin
  37663. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37664. end;
  37665. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  37666. begin
  37667. pTDefRegMap(@Self)^.val := thebits;
  37668. end;
  37669. function TPMP_PMDIN.getw : TBits_32; inline;
  37670. begin
  37671. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37672. end;
  37673. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  37674. begin
  37675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37676. end;
  37677. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  37678. begin
  37679. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37680. end;
  37681. procedure TPMP_PMAEN.setPTEN0; inline;
  37682. begin
  37683. pTDefRegMap(@Self)^.&set := $00000001;
  37684. end;
  37685. procedure TPMP_PMAEN.clearPTEN0; inline;
  37686. begin
  37687. pTDefRegMap(@Self)^.clr := $00000001;
  37688. end;
  37689. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  37690. begin
  37691. if thebits = 0 then
  37692. pTDefRegMap(@Self)^.clr := $00000001
  37693. else
  37694. pTDefRegMap(@Self)^.&set := $00000001;
  37695. end;
  37696. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  37697. begin
  37698. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37699. end;
  37700. procedure TPMP_PMAEN.setPTEN1; inline;
  37701. begin
  37702. pTDefRegMap(@Self)^.&set := $00000002;
  37703. end;
  37704. procedure TPMP_PMAEN.clearPTEN1; inline;
  37705. begin
  37706. pTDefRegMap(@Self)^.clr := $00000002;
  37707. end;
  37708. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  37709. begin
  37710. if thebits = 0 then
  37711. pTDefRegMap(@Self)^.clr := $00000002
  37712. else
  37713. pTDefRegMap(@Self)^.&set := $00000002;
  37714. end;
  37715. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  37716. begin
  37717. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37718. end;
  37719. procedure TPMP_PMAEN.setPTEN2; inline;
  37720. begin
  37721. pTDefRegMap(@Self)^.&set := $00000004;
  37722. end;
  37723. procedure TPMP_PMAEN.clearPTEN2; inline;
  37724. begin
  37725. pTDefRegMap(@Self)^.clr := $00000004;
  37726. end;
  37727. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  37728. begin
  37729. if thebits = 0 then
  37730. pTDefRegMap(@Self)^.clr := $00000004
  37731. else
  37732. pTDefRegMap(@Self)^.&set := $00000004;
  37733. end;
  37734. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  37735. begin
  37736. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37737. end;
  37738. procedure TPMP_PMAEN.setPTEN3; inline;
  37739. begin
  37740. pTDefRegMap(@Self)^.&set := $00000008;
  37741. end;
  37742. procedure TPMP_PMAEN.clearPTEN3; inline;
  37743. begin
  37744. pTDefRegMap(@Self)^.clr := $00000008;
  37745. end;
  37746. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  37747. begin
  37748. if thebits = 0 then
  37749. pTDefRegMap(@Self)^.clr := $00000008
  37750. else
  37751. pTDefRegMap(@Self)^.&set := $00000008;
  37752. end;
  37753. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  37754. begin
  37755. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37756. end;
  37757. procedure TPMP_PMAEN.setPTEN4; inline;
  37758. begin
  37759. pTDefRegMap(@Self)^.&set := $00000010;
  37760. end;
  37761. procedure TPMP_PMAEN.clearPTEN4; inline;
  37762. begin
  37763. pTDefRegMap(@Self)^.clr := $00000010;
  37764. end;
  37765. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  37766. begin
  37767. if thebits = 0 then
  37768. pTDefRegMap(@Self)^.clr := $00000010
  37769. else
  37770. pTDefRegMap(@Self)^.&set := $00000010;
  37771. end;
  37772. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  37773. begin
  37774. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37775. end;
  37776. procedure TPMP_PMAEN.setPTEN5; inline;
  37777. begin
  37778. pTDefRegMap(@Self)^.&set := $00000020;
  37779. end;
  37780. procedure TPMP_PMAEN.clearPTEN5; inline;
  37781. begin
  37782. pTDefRegMap(@Self)^.clr := $00000020;
  37783. end;
  37784. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  37785. begin
  37786. if thebits = 0 then
  37787. pTDefRegMap(@Self)^.clr := $00000020
  37788. else
  37789. pTDefRegMap(@Self)^.&set := $00000020;
  37790. end;
  37791. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  37792. begin
  37793. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37794. end;
  37795. procedure TPMP_PMAEN.setPTEN6; inline;
  37796. begin
  37797. pTDefRegMap(@Self)^.&set := $00000040;
  37798. end;
  37799. procedure TPMP_PMAEN.clearPTEN6; inline;
  37800. begin
  37801. pTDefRegMap(@Self)^.clr := $00000040;
  37802. end;
  37803. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  37804. begin
  37805. if thebits = 0 then
  37806. pTDefRegMap(@Self)^.clr := $00000040
  37807. else
  37808. pTDefRegMap(@Self)^.&set := $00000040;
  37809. end;
  37810. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  37811. begin
  37812. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37813. end;
  37814. procedure TPMP_PMAEN.setPTEN7; inline;
  37815. begin
  37816. pTDefRegMap(@Self)^.&set := $00000080;
  37817. end;
  37818. procedure TPMP_PMAEN.clearPTEN7; inline;
  37819. begin
  37820. pTDefRegMap(@Self)^.clr := $00000080;
  37821. end;
  37822. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  37823. begin
  37824. if thebits = 0 then
  37825. pTDefRegMap(@Self)^.clr := $00000080
  37826. else
  37827. pTDefRegMap(@Self)^.&set := $00000080;
  37828. end;
  37829. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  37830. begin
  37831. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37832. end;
  37833. procedure TPMP_PMAEN.setPTEN8; inline;
  37834. begin
  37835. pTDefRegMap(@Self)^.&set := $00000100;
  37836. end;
  37837. procedure TPMP_PMAEN.clearPTEN8; inline;
  37838. begin
  37839. pTDefRegMap(@Self)^.clr := $00000100;
  37840. end;
  37841. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  37842. begin
  37843. if thebits = 0 then
  37844. pTDefRegMap(@Self)^.clr := $00000100
  37845. else
  37846. pTDefRegMap(@Self)^.&set := $00000100;
  37847. end;
  37848. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  37849. begin
  37850. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37851. end;
  37852. procedure TPMP_PMAEN.setPTEN9; inline;
  37853. begin
  37854. pTDefRegMap(@Self)^.&set := $00000200;
  37855. end;
  37856. procedure TPMP_PMAEN.clearPTEN9; inline;
  37857. begin
  37858. pTDefRegMap(@Self)^.clr := $00000200;
  37859. end;
  37860. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  37861. begin
  37862. if thebits = 0 then
  37863. pTDefRegMap(@Self)^.clr := $00000200
  37864. else
  37865. pTDefRegMap(@Self)^.&set := $00000200;
  37866. end;
  37867. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  37868. begin
  37869. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37870. end;
  37871. procedure TPMP_PMAEN.setPTEN10; inline;
  37872. begin
  37873. pTDefRegMap(@Self)^.&set := $00000400;
  37874. end;
  37875. procedure TPMP_PMAEN.clearPTEN10; inline;
  37876. begin
  37877. pTDefRegMap(@Self)^.clr := $00000400;
  37878. end;
  37879. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  37880. begin
  37881. if thebits = 0 then
  37882. pTDefRegMap(@Self)^.clr := $00000400
  37883. else
  37884. pTDefRegMap(@Self)^.&set := $00000400;
  37885. end;
  37886. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  37887. begin
  37888. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37889. end;
  37890. procedure TPMP_PMAEN.setPTEN11; inline;
  37891. begin
  37892. pTDefRegMap(@Self)^.&set := $00000800;
  37893. end;
  37894. procedure TPMP_PMAEN.clearPTEN11; inline;
  37895. begin
  37896. pTDefRegMap(@Self)^.clr := $00000800;
  37897. end;
  37898. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  37899. begin
  37900. if thebits = 0 then
  37901. pTDefRegMap(@Self)^.clr := $00000800
  37902. else
  37903. pTDefRegMap(@Self)^.&set := $00000800;
  37904. end;
  37905. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  37906. begin
  37907. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37908. end;
  37909. procedure TPMP_PMAEN.setPTEN12; inline;
  37910. begin
  37911. pTDefRegMap(@Self)^.&set := $00001000;
  37912. end;
  37913. procedure TPMP_PMAEN.clearPTEN12; inline;
  37914. begin
  37915. pTDefRegMap(@Self)^.clr := $00001000;
  37916. end;
  37917. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  37918. begin
  37919. if thebits = 0 then
  37920. pTDefRegMap(@Self)^.clr := $00001000
  37921. else
  37922. pTDefRegMap(@Self)^.&set := $00001000;
  37923. end;
  37924. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  37925. begin
  37926. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37927. end;
  37928. procedure TPMP_PMAEN.setPTEN13; inline;
  37929. begin
  37930. pTDefRegMap(@Self)^.&set := $00002000;
  37931. end;
  37932. procedure TPMP_PMAEN.clearPTEN13; inline;
  37933. begin
  37934. pTDefRegMap(@Self)^.clr := $00002000;
  37935. end;
  37936. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  37937. begin
  37938. if thebits = 0 then
  37939. pTDefRegMap(@Self)^.clr := $00002000
  37940. else
  37941. pTDefRegMap(@Self)^.&set := $00002000;
  37942. end;
  37943. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  37944. begin
  37945. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37946. end;
  37947. procedure TPMP_PMAEN.setPTEN14; inline;
  37948. begin
  37949. pTDefRegMap(@Self)^.&set := $00004000;
  37950. end;
  37951. procedure TPMP_PMAEN.clearPTEN14; inline;
  37952. begin
  37953. pTDefRegMap(@Self)^.clr := $00004000;
  37954. end;
  37955. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  37956. begin
  37957. if thebits = 0 then
  37958. pTDefRegMap(@Self)^.clr := $00004000
  37959. else
  37960. pTDefRegMap(@Self)^.&set := $00004000;
  37961. end;
  37962. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  37963. begin
  37964. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37965. end;
  37966. procedure TPMP_PMAEN.setPTEN15; inline;
  37967. begin
  37968. pTDefRegMap(@Self)^.&set := $00008000;
  37969. end;
  37970. procedure TPMP_PMAEN.clearPTEN15; inline;
  37971. begin
  37972. pTDefRegMap(@Self)^.clr := $00008000;
  37973. end;
  37974. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  37975. begin
  37976. if thebits = 0 then
  37977. pTDefRegMap(@Self)^.clr := $00008000
  37978. else
  37979. pTDefRegMap(@Self)^.&set := $00008000;
  37980. end;
  37981. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  37982. begin
  37983. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37984. end;
  37985. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  37986. begin
  37987. pTDefRegMap(@Self)^.val := thebits;
  37988. end;
  37989. function TPMP_PMAEN.getw : TBits_32; inline;
  37990. begin
  37991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37992. end;
  37993. procedure TPMP_PMSTAT.setOB0E; inline;
  37994. begin
  37995. pTDefRegMap(@Self)^.&set := $00000001;
  37996. end;
  37997. procedure TPMP_PMSTAT.clearOB0E; inline;
  37998. begin
  37999. pTDefRegMap(@Self)^.clr := $00000001;
  38000. end;
  38001. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  38002. begin
  38003. if thebits = 0 then
  38004. pTDefRegMap(@Self)^.clr := $00000001
  38005. else
  38006. pTDefRegMap(@Self)^.&set := $00000001;
  38007. end;
  38008. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  38009. begin
  38010. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38011. end;
  38012. procedure TPMP_PMSTAT.setOB1E; inline;
  38013. begin
  38014. pTDefRegMap(@Self)^.&set := $00000002;
  38015. end;
  38016. procedure TPMP_PMSTAT.clearOB1E; inline;
  38017. begin
  38018. pTDefRegMap(@Self)^.clr := $00000002;
  38019. end;
  38020. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  38021. begin
  38022. if thebits = 0 then
  38023. pTDefRegMap(@Self)^.clr := $00000002
  38024. else
  38025. pTDefRegMap(@Self)^.&set := $00000002;
  38026. end;
  38027. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  38028. begin
  38029. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38030. end;
  38031. procedure TPMP_PMSTAT.setOB2E; inline;
  38032. begin
  38033. pTDefRegMap(@Self)^.&set := $00000004;
  38034. end;
  38035. procedure TPMP_PMSTAT.clearOB2E; inline;
  38036. begin
  38037. pTDefRegMap(@Self)^.clr := $00000004;
  38038. end;
  38039. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  38040. begin
  38041. if thebits = 0 then
  38042. pTDefRegMap(@Self)^.clr := $00000004
  38043. else
  38044. pTDefRegMap(@Self)^.&set := $00000004;
  38045. end;
  38046. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  38047. begin
  38048. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38049. end;
  38050. procedure TPMP_PMSTAT.setOB3E; inline;
  38051. begin
  38052. pTDefRegMap(@Self)^.&set := $00000008;
  38053. end;
  38054. procedure TPMP_PMSTAT.clearOB3E; inline;
  38055. begin
  38056. pTDefRegMap(@Self)^.clr := $00000008;
  38057. end;
  38058. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  38059. begin
  38060. if thebits = 0 then
  38061. pTDefRegMap(@Self)^.clr := $00000008
  38062. else
  38063. pTDefRegMap(@Self)^.&set := $00000008;
  38064. end;
  38065. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  38066. begin
  38067. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38068. end;
  38069. procedure TPMP_PMSTAT.setOBUF; inline;
  38070. begin
  38071. pTDefRegMap(@Self)^.&set := $00000040;
  38072. end;
  38073. procedure TPMP_PMSTAT.clearOBUF; inline;
  38074. begin
  38075. pTDefRegMap(@Self)^.clr := $00000040;
  38076. end;
  38077. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  38078. begin
  38079. if thebits = 0 then
  38080. pTDefRegMap(@Self)^.clr := $00000040
  38081. else
  38082. pTDefRegMap(@Self)^.&set := $00000040;
  38083. end;
  38084. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  38085. begin
  38086. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38087. end;
  38088. procedure TPMP_PMSTAT.setOBE; inline;
  38089. begin
  38090. pTDefRegMap(@Self)^.&set := $00000080;
  38091. end;
  38092. procedure TPMP_PMSTAT.clearOBE; inline;
  38093. begin
  38094. pTDefRegMap(@Self)^.clr := $00000080;
  38095. end;
  38096. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  38097. begin
  38098. if thebits = 0 then
  38099. pTDefRegMap(@Self)^.clr := $00000080
  38100. else
  38101. pTDefRegMap(@Self)^.&set := $00000080;
  38102. end;
  38103. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  38104. begin
  38105. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38106. end;
  38107. procedure TPMP_PMSTAT.setIB0F; inline;
  38108. begin
  38109. pTDefRegMap(@Self)^.&set := $00000100;
  38110. end;
  38111. procedure TPMP_PMSTAT.clearIB0F; inline;
  38112. begin
  38113. pTDefRegMap(@Self)^.clr := $00000100;
  38114. end;
  38115. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  38116. begin
  38117. if thebits = 0 then
  38118. pTDefRegMap(@Self)^.clr := $00000100
  38119. else
  38120. pTDefRegMap(@Self)^.&set := $00000100;
  38121. end;
  38122. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  38123. begin
  38124. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38125. end;
  38126. procedure TPMP_PMSTAT.setIB1F; inline;
  38127. begin
  38128. pTDefRegMap(@Self)^.&set := $00000200;
  38129. end;
  38130. procedure TPMP_PMSTAT.clearIB1F; inline;
  38131. begin
  38132. pTDefRegMap(@Self)^.clr := $00000200;
  38133. end;
  38134. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  38135. begin
  38136. if thebits = 0 then
  38137. pTDefRegMap(@Self)^.clr := $00000200
  38138. else
  38139. pTDefRegMap(@Self)^.&set := $00000200;
  38140. end;
  38141. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  38142. begin
  38143. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38144. end;
  38145. procedure TPMP_PMSTAT.setIB2F; inline;
  38146. begin
  38147. pTDefRegMap(@Self)^.&set := $00000400;
  38148. end;
  38149. procedure TPMP_PMSTAT.clearIB2F; inline;
  38150. begin
  38151. pTDefRegMap(@Self)^.clr := $00000400;
  38152. end;
  38153. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  38154. begin
  38155. if thebits = 0 then
  38156. pTDefRegMap(@Self)^.clr := $00000400
  38157. else
  38158. pTDefRegMap(@Self)^.&set := $00000400;
  38159. end;
  38160. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  38161. begin
  38162. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38163. end;
  38164. procedure TPMP_PMSTAT.setIB3F; inline;
  38165. begin
  38166. pTDefRegMap(@Self)^.&set := $00000800;
  38167. end;
  38168. procedure TPMP_PMSTAT.clearIB3F; inline;
  38169. begin
  38170. pTDefRegMap(@Self)^.clr := $00000800;
  38171. end;
  38172. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  38173. begin
  38174. if thebits = 0 then
  38175. pTDefRegMap(@Self)^.clr := $00000800
  38176. else
  38177. pTDefRegMap(@Self)^.&set := $00000800;
  38178. end;
  38179. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  38180. begin
  38181. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  38182. end;
  38183. procedure TPMP_PMSTAT.setIBOV; inline;
  38184. begin
  38185. pTDefRegMap(@Self)^.&set := $00004000;
  38186. end;
  38187. procedure TPMP_PMSTAT.clearIBOV; inline;
  38188. begin
  38189. pTDefRegMap(@Self)^.clr := $00004000;
  38190. end;
  38191. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  38192. begin
  38193. if thebits = 0 then
  38194. pTDefRegMap(@Self)^.clr := $00004000
  38195. else
  38196. pTDefRegMap(@Self)^.&set := $00004000;
  38197. end;
  38198. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  38199. begin
  38200. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38201. end;
  38202. procedure TPMP_PMSTAT.setIBF; inline;
  38203. begin
  38204. pTDefRegMap(@Self)^.&set := $00008000;
  38205. end;
  38206. procedure TPMP_PMSTAT.clearIBF; inline;
  38207. begin
  38208. pTDefRegMap(@Self)^.clr := $00008000;
  38209. end;
  38210. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  38211. begin
  38212. if thebits = 0 then
  38213. pTDefRegMap(@Self)^.clr := $00008000
  38214. else
  38215. pTDefRegMap(@Self)^.&set := $00008000;
  38216. end;
  38217. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  38218. begin
  38219. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38220. end;
  38221. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  38222. begin
  38223. pTDefRegMap(@Self)^.val := thebits;
  38224. end;
  38225. function TPMP_PMSTAT.getw : TBits_32; inline;
  38226. begin
  38227. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38228. end;
  38229. procedure TADC10_AD1CON1.setDONE; inline;
  38230. begin
  38231. pTDefRegMap(@Self)^.&set := $00000001;
  38232. end;
  38233. procedure TADC10_AD1CON1.clearDONE; inline;
  38234. begin
  38235. pTDefRegMap(@Self)^.clr := $00000001;
  38236. end;
  38237. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  38238. begin
  38239. if thebits = 0 then
  38240. pTDefRegMap(@Self)^.clr := $00000001
  38241. else
  38242. pTDefRegMap(@Self)^.&set := $00000001;
  38243. end;
  38244. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  38245. begin
  38246. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38247. end;
  38248. procedure TADC10_AD1CON1.setSAMP; inline;
  38249. begin
  38250. pTDefRegMap(@Self)^.&set := $00000002;
  38251. end;
  38252. procedure TADC10_AD1CON1.clearSAMP; inline;
  38253. begin
  38254. pTDefRegMap(@Self)^.clr := $00000002;
  38255. end;
  38256. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  38257. begin
  38258. if thebits = 0 then
  38259. pTDefRegMap(@Self)^.clr := $00000002
  38260. else
  38261. pTDefRegMap(@Self)^.&set := $00000002;
  38262. end;
  38263. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  38264. begin
  38265. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38266. end;
  38267. procedure TADC10_AD1CON1.setASAM; inline;
  38268. begin
  38269. pTDefRegMap(@Self)^.&set := $00000004;
  38270. end;
  38271. procedure TADC10_AD1CON1.clearASAM; inline;
  38272. begin
  38273. pTDefRegMap(@Self)^.clr := $00000004;
  38274. end;
  38275. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  38276. begin
  38277. if thebits = 0 then
  38278. pTDefRegMap(@Self)^.clr := $00000004
  38279. else
  38280. pTDefRegMap(@Self)^.&set := $00000004;
  38281. end;
  38282. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  38283. begin
  38284. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38285. end;
  38286. procedure TADC10_AD1CON1.setCLRASAM; inline;
  38287. begin
  38288. pTDefRegMap(@Self)^.&set := $00000010;
  38289. end;
  38290. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  38291. begin
  38292. pTDefRegMap(@Self)^.clr := $00000010;
  38293. end;
  38294. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  38295. begin
  38296. if thebits = 0 then
  38297. pTDefRegMap(@Self)^.clr := $00000010
  38298. else
  38299. pTDefRegMap(@Self)^.&set := $00000010;
  38300. end;
  38301. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  38302. begin
  38303. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38304. end;
  38305. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  38306. begin
  38307. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  38308. end;
  38309. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  38310. begin
  38311. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  38312. end;
  38313. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  38314. begin
  38315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  38316. end;
  38317. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  38318. begin
  38319. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  38320. end;
  38321. procedure TADC10_AD1CON1.setSIDL; inline;
  38322. begin
  38323. pTDefRegMap(@Self)^.&set := $00002000;
  38324. end;
  38325. procedure TADC10_AD1CON1.clearSIDL; inline;
  38326. begin
  38327. pTDefRegMap(@Self)^.clr := $00002000;
  38328. end;
  38329. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  38330. begin
  38331. if thebits = 0 then
  38332. pTDefRegMap(@Self)^.clr := $00002000
  38333. else
  38334. pTDefRegMap(@Self)^.&set := $00002000;
  38335. end;
  38336. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  38337. begin
  38338. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38339. end;
  38340. procedure TADC10_AD1CON1.setON; inline;
  38341. begin
  38342. pTDefRegMap(@Self)^.&set := $00008000;
  38343. end;
  38344. procedure TADC10_AD1CON1.clearON; inline;
  38345. begin
  38346. pTDefRegMap(@Self)^.clr := $00008000;
  38347. end;
  38348. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  38349. begin
  38350. if thebits = 0 then
  38351. pTDefRegMap(@Self)^.clr := $00008000
  38352. else
  38353. pTDefRegMap(@Self)^.&set := $00008000;
  38354. end;
  38355. function TADC10_AD1CON1.getON : TBits_1; inline;
  38356. begin
  38357. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38358. end;
  38359. procedure TADC10_AD1CON1.setSSRC0; inline;
  38360. begin
  38361. pTDefRegMap(@Self)^.&set := $00000020;
  38362. end;
  38363. procedure TADC10_AD1CON1.clearSSRC0; inline;
  38364. begin
  38365. pTDefRegMap(@Self)^.clr := $00000020;
  38366. end;
  38367. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  38368. begin
  38369. if thebits = 0 then
  38370. pTDefRegMap(@Self)^.clr := $00000020
  38371. else
  38372. pTDefRegMap(@Self)^.&set := $00000020;
  38373. end;
  38374. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  38375. begin
  38376. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38377. end;
  38378. procedure TADC10_AD1CON1.setSSRC1; inline;
  38379. begin
  38380. pTDefRegMap(@Self)^.&set := $00000040;
  38381. end;
  38382. procedure TADC10_AD1CON1.clearSSRC1; inline;
  38383. begin
  38384. pTDefRegMap(@Self)^.clr := $00000040;
  38385. end;
  38386. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  38387. begin
  38388. if thebits = 0 then
  38389. pTDefRegMap(@Self)^.clr := $00000040
  38390. else
  38391. pTDefRegMap(@Self)^.&set := $00000040;
  38392. end;
  38393. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  38394. begin
  38395. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38396. end;
  38397. procedure TADC10_AD1CON1.setSSRC2; inline;
  38398. begin
  38399. pTDefRegMap(@Self)^.&set := $00000080;
  38400. end;
  38401. procedure TADC10_AD1CON1.clearSSRC2; inline;
  38402. begin
  38403. pTDefRegMap(@Self)^.clr := $00000080;
  38404. end;
  38405. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  38406. begin
  38407. if thebits = 0 then
  38408. pTDefRegMap(@Self)^.clr := $00000080
  38409. else
  38410. pTDefRegMap(@Self)^.&set := $00000080;
  38411. end;
  38412. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  38413. begin
  38414. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38415. end;
  38416. procedure TADC10_AD1CON1.setFORM0; inline;
  38417. begin
  38418. pTDefRegMap(@Self)^.&set := $00000100;
  38419. end;
  38420. procedure TADC10_AD1CON1.clearFORM0; inline;
  38421. begin
  38422. pTDefRegMap(@Self)^.clr := $00000100;
  38423. end;
  38424. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  38425. begin
  38426. if thebits = 0 then
  38427. pTDefRegMap(@Self)^.clr := $00000100
  38428. else
  38429. pTDefRegMap(@Self)^.&set := $00000100;
  38430. end;
  38431. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  38432. begin
  38433. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38434. end;
  38435. procedure TADC10_AD1CON1.setFORM1; inline;
  38436. begin
  38437. pTDefRegMap(@Self)^.&set := $00000200;
  38438. end;
  38439. procedure TADC10_AD1CON1.clearFORM1; inline;
  38440. begin
  38441. pTDefRegMap(@Self)^.clr := $00000200;
  38442. end;
  38443. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  38444. begin
  38445. if thebits = 0 then
  38446. pTDefRegMap(@Self)^.clr := $00000200
  38447. else
  38448. pTDefRegMap(@Self)^.&set := $00000200;
  38449. end;
  38450. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  38451. begin
  38452. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38453. end;
  38454. procedure TADC10_AD1CON1.setFORM2; inline;
  38455. begin
  38456. pTDefRegMap(@Self)^.&set := $00000400;
  38457. end;
  38458. procedure TADC10_AD1CON1.clearFORM2; inline;
  38459. begin
  38460. pTDefRegMap(@Self)^.clr := $00000400;
  38461. end;
  38462. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  38463. begin
  38464. if thebits = 0 then
  38465. pTDefRegMap(@Self)^.clr := $00000400
  38466. else
  38467. pTDefRegMap(@Self)^.&set := $00000400;
  38468. end;
  38469. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  38470. begin
  38471. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38472. end;
  38473. procedure TADC10_AD1CON1.setADSIDL; inline;
  38474. begin
  38475. pTDefRegMap(@Self)^.&set := $00002000;
  38476. end;
  38477. procedure TADC10_AD1CON1.clearADSIDL; inline;
  38478. begin
  38479. pTDefRegMap(@Self)^.clr := $00002000;
  38480. end;
  38481. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  38482. begin
  38483. if thebits = 0 then
  38484. pTDefRegMap(@Self)^.clr := $00002000
  38485. else
  38486. pTDefRegMap(@Self)^.&set := $00002000;
  38487. end;
  38488. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  38489. begin
  38490. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38491. end;
  38492. procedure TADC10_AD1CON1.setADON; inline;
  38493. begin
  38494. pTDefRegMap(@Self)^.&set := $00008000;
  38495. end;
  38496. procedure TADC10_AD1CON1.clearADON; inline;
  38497. begin
  38498. pTDefRegMap(@Self)^.clr := $00008000;
  38499. end;
  38500. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  38501. begin
  38502. if thebits = 0 then
  38503. pTDefRegMap(@Self)^.clr := $00008000
  38504. else
  38505. pTDefRegMap(@Self)^.&set := $00008000;
  38506. end;
  38507. function TADC10_AD1CON1.getADON : TBits_1; inline;
  38508. begin
  38509. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38510. end;
  38511. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  38512. begin
  38513. pTDefRegMap(@Self)^.val := thebits;
  38514. end;
  38515. function TADC10_AD1CON1.getw : TBits_32; inline;
  38516. begin
  38517. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38518. end;
  38519. procedure TADC10_AD1CON2.setALTS; inline;
  38520. begin
  38521. pTDefRegMap(@Self)^.&set := $00000001;
  38522. end;
  38523. procedure TADC10_AD1CON2.clearALTS; inline;
  38524. begin
  38525. pTDefRegMap(@Self)^.clr := $00000001;
  38526. end;
  38527. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  38528. begin
  38529. if thebits = 0 then
  38530. pTDefRegMap(@Self)^.clr := $00000001
  38531. else
  38532. pTDefRegMap(@Self)^.&set := $00000001;
  38533. end;
  38534. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  38535. begin
  38536. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38537. end;
  38538. procedure TADC10_AD1CON2.setBUFM; inline;
  38539. begin
  38540. pTDefRegMap(@Self)^.&set := $00000002;
  38541. end;
  38542. procedure TADC10_AD1CON2.clearBUFM; inline;
  38543. begin
  38544. pTDefRegMap(@Self)^.clr := $00000002;
  38545. end;
  38546. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  38547. begin
  38548. if thebits = 0 then
  38549. pTDefRegMap(@Self)^.clr := $00000002
  38550. else
  38551. pTDefRegMap(@Self)^.&set := $00000002;
  38552. end;
  38553. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  38554. begin
  38555. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38556. end;
  38557. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  38558. begin
  38559. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  38560. end;
  38561. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  38562. begin
  38563. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  38564. end;
  38565. procedure TADC10_AD1CON2.setBUFS; inline;
  38566. begin
  38567. pTDefRegMap(@Self)^.&set := $00000080;
  38568. end;
  38569. procedure TADC10_AD1CON2.clearBUFS; inline;
  38570. begin
  38571. pTDefRegMap(@Self)^.clr := $00000080;
  38572. end;
  38573. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  38574. begin
  38575. if thebits = 0 then
  38576. pTDefRegMap(@Self)^.clr := $00000080
  38577. else
  38578. pTDefRegMap(@Self)^.&set := $00000080;
  38579. end;
  38580. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  38581. begin
  38582. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38583. end;
  38584. procedure TADC10_AD1CON2.setCSCNA; inline;
  38585. begin
  38586. pTDefRegMap(@Self)^.&set := $00000400;
  38587. end;
  38588. procedure TADC10_AD1CON2.clearCSCNA; inline;
  38589. begin
  38590. pTDefRegMap(@Self)^.clr := $00000400;
  38591. end;
  38592. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  38593. begin
  38594. if thebits = 0 then
  38595. pTDefRegMap(@Self)^.clr := $00000400
  38596. else
  38597. pTDefRegMap(@Self)^.&set := $00000400;
  38598. end;
  38599. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  38600. begin
  38601. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  38602. end;
  38603. procedure TADC10_AD1CON2.setOFFCAL; inline;
  38604. begin
  38605. pTDefRegMap(@Self)^.&set := $00001000;
  38606. end;
  38607. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  38608. begin
  38609. pTDefRegMap(@Self)^.clr := $00001000;
  38610. end;
  38611. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  38612. begin
  38613. if thebits = 0 then
  38614. pTDefRegMap(@Self)^.clr := $00001000
  38615. else
  38616. pTDefRegMap(@Self)^.&set := $00001000;
  38617. end;
  38618. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  38619. begin
  38620. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  38621. end;
  38622. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  38623. begin
  38624. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  38625. end;
  38626. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  38627. begin
  38628. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  38629. end;
  38630. procedure TADC10_AD1CON2.setSMPI0; inline;
  38631. begin
  38632. pTDefRegMap(@Self)^.&set := $00000004;
  38633. end;
  38634. procedure TADC10_AD1CON2.clearSMPI0; inline;
  38635. begin
  38636. pTDefRegMap(@Self)^.clr := $00000004;
  38637. end;
  38638. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  38639. begin
  38640. if thebits = 0 then
  38641. pTDefRegMap(@Self)^.clr := $00000004
  38642. else
  38643. pTDefRegMap(@Self)^.&set := $00000004;
  38644. end;
  38645. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  38646. begin
  38647. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38648. end;
  38649. procedure TADC10_AD1CON2.setSMPI1; inline;
  38650. begin
  38651. pTDefRegMap(@Self)^.&set := $00000008;
  38652. end;
  38653. procedure TADC10_AD1CON2.clearSMPI1; inline;
  38654. begin
  38655. pTDefRegMap(@Self)^.clr := $00000008;
  38656. end;
  38657. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  38658. begin
  38659. if thebits = 0 then
  38660. pTDefRegMap(@Self)^.clr := $00000008
  38661. else
  38662. pTDefRegMap(@Self)^.&set := $00000008;
  38663. end;
  38664. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  38665. begin
  38666. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38667. end;
  38668. procedure TADC10_AD1CON2.setSMPI2; inline;
  38669. begin
  38670. pTDefRegMap(@Self)^.&set := $00000010;
  38671. end;
  38672. procedure TADC10_AD1CON2.clearSMPI2; inline;
  38673. begin
  38674. pTDefRegMap(@Self)^.clr := $00000010;
  38675. end;
  38676. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  38677. begin
  38678. if thebits = 0 then
  38679. pTDefRegMap(@Self)^.clr := $00000010
  38680. else
  38681. pTDefRegMap(@Self)^.&set := $00000010;
  38682. end;
  38683. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  38684. begin
  38685. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38686. end;
  38687. procedure TADC10_AD1CON2.setSMPI3; inline;
  38688. begin
  38689. pTDefRegMap(@Self)^.&set := $00000020;
  38690. end;
  38691. procedure TADC10_AD1CON2.clearSMPI3; inline;
  38692. begin
  38693. pTDefRegMap(@Self)^.clr := $00000020;
  38694. end;
  38695. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  38696. begin
  38697. if thebits = 0 then
  38698. pTDefRegMap(@Self)^.clr := $00000020
  38699. else
  38700. pTDefRegMap(@Self)^.&set := $00000020;
  38701. end;
  38702. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  38703. begin
  38704. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38705. end;
  38706. procedure TADC10_AD1CON2.setVCFG0; inline;
  38707. begin
  38708. pTDefRegMap(@Self)^.&set := $00002000;
  38709. end;
  38710. procedure TADC10_AD1CON2.clearVCFG0; inline;
  38711. begin
  38712. pTDefRegMap(@Self)^.clr := $00002000;
  38713. end;
  38714. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  38715. begin
  38716. if thebits = 0 then
  38717. pTDefRegMap(@Self)^.clr := $00002000
  38718. else
  38719. pTDefRegMap(@Self)^.&set := $00002000;
  38720. end;
  38721. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  38722. begin
  38723. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  38724. end;
  38725. procedure TADC10_AD1CON2.setVCFG1; inline;
  38726. begin
  38727. pTDefRegMap(@Self)^.&set := $00004000;
  38728. end;
  38729. procedure TADC10_AD1CON2.clearVCFG1; inline;
  38730. begin
  38731. pTDefRegMap(@Self)^.clr := $00004000;
  38732. end;
  38733. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  38734. begin
  38735. if thebits = 0 then
  38736. pTDefRegMap(@Self)^.clr := $00004000
  38737. else
  38738. pTDefRegMap(@Self)^.&set := $00004000;
  38739. end;
  38740. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  38741. begin
  38742. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38743. end;
  38744. procedure TADC10_AD1CON2.setVCFG2; inline;
  38745. begin
  38746. pTDefRegMap(@Self)^.&set := $00008000;
  38747. end;
  38748. procedure TADC10_AD1CON2.clearVCFG2; inline;
  38749. begin
  38750. pTDefRegMap(@Self)^.clr := $00008000;
  38751. end;
  38752. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  38753. begin
  38754. if thebits = 0 then
  38755. pTDefRegMap(@Self)^.clr := $00008000
  38756. else
  38757. pTDefRegMap(@Self)^.&set := $00008000;
  38758. end;
  38759. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  38760. begin
  38761. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38762. end;
  38763. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  38764. begin
  38765. pTDefRegMap(@Self)^.val := thebits;
  38766. end;
  38767. function TADC10_AD1CON2.getw : TBits_32; inline;
  38768. begin
  38769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38770. end;
  38771. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  38772. begin
  38773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  38774. end;
  38775. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  38776. begin
  38777. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  38778. end;
  38779. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  38780. begin
  38781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  38782. end;
  38783. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  38784. begin
  38785. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  38786. end;
  38787. procedure TADC10_AD1CON3.setADRC; inline;
  38788. begin
  38789. pTDefRegMap(@Self)^.&set := $00008000;
  38790. end;
  38791. procedure TADC10_AD1CON3.clearADRC; inline;
  38792. begin
  38793. pTDefRegMap(@Self)^.clr := $00008000;
  38794. end;
  38795. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  38796. begin
  38797. if thebits = 0 then
  38798. pTDefRegMap(@Self)^.clr := $00008000
  38799. else
  38800. pTDefRegMap(@Self)^.&set := $00008000;
  38801. end;
  38802. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  38803. begin
  38804. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38805. end;
  38806. procedure TADC10_AD1CON3.setADCS0; inline;
  38807. begin
  38808. pTDefRegMap(@Self)^.&set := $00000001;
  38809. end;
  38810. procedure TADC10_AD1CON3.clearADCS0; inline;
  38811. begin
  38812. pTDefRegMap(@Self)^.clr := $00000001;
  38813. end;
  38814. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  38815. begin
  38816. if thebits = 0 then
  38817. pTDefRegMap(@Self)^.clr := $00000001
  38818. else
  38819. pTDefRegMap(@Self)^.&set := $00000001;
  38820. end;
  38821. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  38822. begin
  38823. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38824. end;
  38825. procedure TADC10_AD1CON3.setADCS1; inline;
  38826. begin
  38827. pTDefRegMap(@Self)^.&set := $00000002;
  38828. end;
  38829. procedure TADC10_AD1CON3.clearADCS1; inline;
  38830. begin
  38831. pTDefRegMap(@Self)^.clr := $00000002;
  38832. end;
  38833. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  38834. begin
  38835. if thebits = 0 then
  38836. pTDefRegMap(@Self)^.clr := $00000002
  38837. else
  38838. pTDefRegMap(@Self)^.&set := $00000002;
  38839. end;
  38840. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  38841. begin
  38842. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38843. end;
  38844. procedure TADC10_AD1CON3.setADCS2; inline;
  38845. begin
  38846. pTDefRegMap(@Self)^.&set := $00000004;
  38847. end;
  38848. procedure TADC10_AD1CON3.clearADCS2; inline;
  38849. begin
  38850. pTDefRegMap(@Self)^.clr := $00000004;
  38851. end;
  38852. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  38853. begin
  38854. if thebits = 0 then
  38855. pTDefRegMap(@Self)^.clr := $00000004
  38856. else
  38857. pTDefRegMap(@Self)^.&set := $00000004;
  38858. end;
  38859. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  38860. begin
  38861. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38862. end;
  38863. procedure TADC10_AD1CON3.setADCS3; inline;
  38864. begin
  38865. pTDefRegMap(@Self)^.&set := $00000008;
  38866. end;
  38867. procedure TADC10_AD1CON3.clearADCS3; inline;
  38868. begin
  38869. pTDefRegMap(@Self)^.clr := $00000008;
  38870. end;
  38871. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  38872. begin
  38873. if thebits = 0 then
  38874. pTDefRegMap(@Self)^.clr := $00000008
  38875. else
  38876. pTDefRegMap(@Self)^.&set := $00000008;
  38877. end;
  38878. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  38879. begin
  38880. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38881. end;
  38882. procedure TADC10_AD1CON3.setADCS4; inline;
  38883. begin
  38884. pTDefRegMap(@Self)^.&set := $00000010;
  38885. end;
  38886. procedure TADC10_AD1CON3.clearADCS4; inline;
  38887. begin
  38888. pTDefRegMap(@Self)^.clr := $00000010;
  38889. end;
  38890. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  38891. begin
  38892. if thebits = 0 then
  38893. pTDefRegMap(@Self)^.clr := $00000010
  38894. else
  38895. pTDefRegMap(@Self)^.&set := $00000010;
  38896. end;
  38897. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  38898. begin
  38899. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38900. end;
  38901. procedure TADC10_AD1CON3.setADCS5; inline;
  38902. begin
  38903. pTDefRegMap(@Self)^.&set := $00000020;
  38904. end;
  38905. procedure TADC10_AD1CON3.clearADCS5; inline;
  38906. begin
  38907. pTDefRegMap(@Self)^.clr := $00000020;
  38908. end;
  38909. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  38910. begin
  38911. if thebits = 0 then
  38912. pTDefRegMap(@Self)^.clr := $00000020
  38913. else
  38914. pTDefRegMap(@Self)^.&set := $00000020;
  38915. end;
  38916. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  38917. begin
  38918. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38919. end;
  38920. procedure TADC10_AD1CON3.setADCS6; inline;
  38921. begin
  38922. pTDefRegMap(@Self)^.&set := $00000040;
  38923. end;
  38924. procedure TADC10_AD1CON3.clearADCS6; inline;
  38925. begin
  38926. pTDefRegMap(@Self)^.clr := $00000040;
  38927. end;
  38928. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  38929. begin
  38930. if thebits = 0 then
  38931. pTDefRegMap(@Self)^.clr := $00000040
  38932. else
  38933. pTDefRegMap(@Self)^.&set := $00000040;
  38934. end;
  38935. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  38936. begin
  38937. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38938. end;
  38939. procedure TADC10_AD1CON3.setADCS7; inline;
  38940. begin
  38941. pTDefRegMap(@Self)^.&set := $00000080;
  38942. end;
  38943. procedure TADC10_AD1CON3.clearADCS7; inline;
  38944. begin
  38945. pTDefRegMap(@Self)^.clr := $00000080;
  38946. end;
  38947. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  38948. begin
  38949. if thebits = 0 then
  38950. pTDefRegMap(@Self)^.clr := $00000080
  38951. else
  38952. pTDefRegMap(@Self)^.&set := $00000080;
  38953. end;
  38954. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  38955. begin
  38956. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38957. end;
  38958. procedure TADC10_AD1CON3.setSAMC0; inline;
  38959. begin
  38960. pTDefRegMap(@Self)^.&set := $00000100;
  38961. end;
  38962. procedure TADC10_AD1CON3.clearSAMC0; inline;
  38963. begin
  38964. pTDefRegMap(@Self)^.clr := $00000100;
  38965. end;
  38966. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  38967. begin
  38968. if thebits = 0 then
  38969. pTDefRegMap(@Self)^.clr := $00000100
  38970. else
  38971. pTDefRegMap(@Self)^.&set := $00000100;
  38972. end;
  38973. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  38974. begin
  38975. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38976. end;
  38977. procedure TADC10_AD1CON3.setSAMC1; inline;
  38978. begin
  38979. pTDefRegMap(@Self)^.&set := $00000200;
  38980. end;
  38981. procedure TADC10_AD1CON3.clearSAMC1; inline;
  38982. begin
  38983. pTDefRegMap(@Self)^.clr := $00000200;
  38984. end;
  38985. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  38986. begin
  38987. if thebits = 0 then
  38988. pTDefRegMap(@Self)^.clr := $00000200
  38989. else
  38990. pTDefRegMap(@Self)^.&set := $00000200;
  38991. end;
  38992. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  38993. begin
  38994. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38995. end;
  38996. procedure TADC10_AD1CON3.setSAMC2; inline;
  38997. begin
  38998. pTDefRegMap(@Self)^.&set := $00000400;
  38999. end;
  39000. procedure TADC10_AD1CON3.clearSAMC2; inline;
  39001. begin
  39002. pTDefRegMap(@Self)^.clr := $00000400;
  39003. end;
  39004. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  39005. begin
  39006. if thebits = 0 then
  39007. pTDefRegMap(@Self)^.clr := $00000400
  39008. else
  39009. pTDefRegMap(@Self)^.&set := $00000400;
  39010. end;
  39011. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  39012. begin
  39013. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39014. end;
  39015. procedure TADC10_AD1CON3.setSAMC3; inline;
  39016. begin
  39017. pTDefRegMap(@Self)^.&set := $00000800;
  39018. end;
  39019. procedure TADC10_AD1CON3.clearSAMC3; inline;
  39020. begin
  39021. pTDefRegMap(@Self)^.clr := $00000800;
  39022. end;
  39023. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  39024. begin
  39025. if thebits = 0 then
  39026. pTDefRegMap(@Self)^.clr := $00000800
  39027. else
  39028. pTDefRegMap(@Self)^.&set := $00000800;
  39029. end;
  39030. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  39031. begin
  39032. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39033. end;
  39034. procedure TADC10_AD1CON3.setSAMC4; inline;
  39035. begin
  39036. pTDefRegMap(@Self)^.&set := $00001000;
  39037. end;
  39038. procedure TADC10_AD1CON3.clearSAMC4; inline;
  39039. begin
  39040. pTDefRegMap(@Self)^.clr := $00001000;
  39041. end;
  39042. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  39043. begin
  39044. if thebits = 0 then
  39045. pTDefRegMap(@Self)^.clr := $00001000
  39046. else
  39047. pTDefRegMap(@Self)^.&set := $00001000;
  39048. end;
  39049. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  39050. begin
  39051. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39052. end;
  39053. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  39054. begin
  39055. pTDefRegMap(@Self)^.val := thebits;
  39056. end;
  39057. function TADC10_AD1CON3.getw : TBits_32; inline;
  39058. begin
  39059. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39060. end;
  39061. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  39062. begin
  39063. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  39064. end;
  39065. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  39066. begin
  39067. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  39068. end;
  39069. procedure TADC10_AD1CHS.setCH0NA; inline;
  39070. begin
  39071. pTDefRegMap(@Self)^.&set := $00800000;
  39072. end;
  39073. procedure TADC10_AD1CHS.clearCH0NA; inline;
  39074. begin
  39075. pTDefRegMap(@Self)^.clr := $00800000;
  39076. end;
  39077. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  39078. begin
  39079. if thebits = 0 then
  39080. pTDefRegMap(@Self)^.clr := $00800000
  39081. else
  39082. pTDefRegMap(@Self)^.&set := $00800000;
  39083. end;
  39084. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  39085. begin
  39086. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39087. end;
  39088. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  39089. begin
  39090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  39091. end;
  39092. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  39093. begin
  39094. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  39095. end;
  39096. procedure TADC10_AD1CHS.setCH0NB; inline;
  39097. begin
  39098. pTDefRegMap(@Self)^.&set := $80000000;
  39099. end;
  39100. procedure TADC10_AD1CHS.clearCH0NB; inline;
  39101. begin
  39102. pTDefRegMap(@Self)^.clr := $80000000;
  39103. end;
  39104. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  39105. begin
  39106. if thebits = 0 then
  39107. pTDefRegMap(@Self)^.clr := $80000000
  39108. else
  39109. pTDefRegMap(@Self)^.&set := $80000000;
  39110. end;
  39111. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  39112. begin
  39113. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  39114. end;
  39115. procedure TADC10_AD1CHS.setCH0SA0; inline;
  39116. begin
  39117. pTDefRegMap(@Self)^.&set := $00010000;
  39118. end;
  39119. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  39120. begin
  39121. pTDefRegMap(@Self)^.clr := $00010000;
  39122. end;
  39123. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  39124. begin
  39125. if thebits = 0 then
  39126. pTDefRegMap(@Self)^.clr := $00010000
  39127. else
  39128. pTDefRegMap(@Self)^.&set := $00010000;
  39129. end;
  39130. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  39131. begin
  39132. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  39133. end;
  39134. procedure TADC10_AD1CHS.setCH0SA1; inline;
  39135. begin
  39136. pTDefRegMap(@Self)^.&set := $00020000;
  39137. end;
  39138. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  39139. begin
  39140. pTDefRegMap(@Self)^.clr := $00020000;
  39141. end;
  39142. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  39143. begin
  39144. if thebits = 0 then
  39145. pTDefRegMap(@Self)^.clr := $00020000
  39146. else
  39147. pTDefRegMap(@Self)^.&set := $00020000;
  39148. end;
  39149. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  39150. begin
  39151. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  39152. end;
  39153. procedure TADC10_AD1CHS.setCH0SA2; inline;
  39154. begin
  39155. pTDefRegMap(@Self)^.&set := $00040000;
  39156. end;
  39157. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  39158. begin
  39159. pTDefRegMap(@Self)^.clr := $00040000;
  39160. end;
  39161. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  39162. begin
  39163. if thebits = 0 then
  39164. pTDefRegMap(@Self)^.clr := $00040000
  39165. else
  39166. pTDefRegMap(@Self)^.&set := $00040000;
  39167. end;
  39168. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  39169. begin
  39170. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  39171. end;
  39172. procedure TADC10_AD1CHS.setCH0SA3; inline;
  39173. begin
  39174. pTDefRegMap(@Self)^.&set := $00080000;
  39175. end;
  39176. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  39177. begin
  39178. pTDefRegMap(@Self)^.clr := $00080000;
  39179. end;
  39180. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  39181. begin
  39182. if thebits = 0 then
  39183. pTDefRegMap(@Self)^.clr := $00080000
  39184. else
  39185. pTDefRegMap(@Self)^.&set := $00080000;
  39186. end;
  39187. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  39188. begin
  39189. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  39190. end;
  39191. procedure TADC10_AD1CHS.setCH0SB0; inline;
  39192. begin
  39193. pTDefRegMap(@Self)^.&set := $01000000;
  39194. end;
  39195. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  39196. begin
  39197. pTDefRegMap(@Self)^.clr := $01000000;
  39198. end;
  39199. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  39200. begin
  39201. if thebits = 0 then
  39202. pTDefRegMap(@Self)^.clr := $01000000
  39203. else
  39204. pTDefRegMap(@Self)^.&set := $01000000;
  39205. end;
  39206. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  39207. begin
  39208. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  39209. end;
  39210. procedure TADC10_AD1CHS.setCH0SB1; inline;
  39211. begin
  39212. pTDefRegMap(@Self)^.&set := $02000000;
  39213. end;
  39214. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  39215. begin
  39216. pTDefRegMap(@Self)^.clr := $02000000;
  39217. end;
  39218. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  39219. begin
  39220. if thebits = 0 then
  39221. pTDefRegMap(@Self)^.clr := $02000000
  39222. else
  39223. pTDefRegMap(@Self)^.&set := $02000000;
  39224. end;
  39225. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  39226. begin
  39227. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  39228. end;
  39229. procedure TADC10_AD1CHS.setCH0SB2; inline;
  39230. begin
  39231. pTDefRegMap(@Self)^.&set := $04000000;
  39232. end;
  39233. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  39234. begin
  39235. pTDefRegMap(@Self)^.clr := $04000000;
  39236. end;
  39237. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  39238. begin
  39239. if thebits = 0 then
  39240. pTDefRegMap(@Self)^.clr := $04000000
  39241. else
  39242. pTDefRegMap(@Self)^.&set := $04000000;
  39243. end;
  39244. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  39245. begin
  39246. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  39247. end;
  39248. procedure TADC10_AD1CHS.setCH0SB3; inline;
  39249. begin
  39250. pTDefRegMap(@Self)^.&set := $08000000;
  39251. end;
  39252. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  39253. begin
  39254. pTDefRegMap(@Self)^.clr := $08000000;
  39255. end;
  39256. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  39257. begin
  39258. if thebits = 0 then
  39259. pTDefRegMap(@Self)^.clr := $08000000
  39260. else
  39261. pTDefRegMap(@Self)^.&set := $08000000;
  39262. end;
  39263. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  39264. begin
  39265. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  39266. end;
  39267. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  39268. begin
  39269. pTDefRegMap(@Self)^.val := thebits;
  39270. end;
  39271. function TADC10_AD1CHS.getw : TBits_32; inline;
  39272. begin
  39273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39274. end;
  39275. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  39276. begin
  39277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39278. end;
  39279. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  39280. begin
  39281. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39282. end;
  39283. procedure TADC10_AD1CSSL.setCSSL0; inline;
  39284. begin
  39285. pTDefRegMap(@Self)^.&set := $00000001;
  39286. end;
  39287. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  39288. begin
  39289. pTDefRegMap(@Self)^.clr := $00000001;
  39290. end;
  39291. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  39292. begin
  39293. if thebits = 0 then
  39294. pTDefRegMap(@Self)^.clr := $00000001
  39295. else
  39296. pTDefRegMap(@Self)^.&set := $00000001;
  39297. end;
  39298. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  39299. begin
  39300. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39301. end;
  39302. procedure TADC10_AD1CSSL.setCSSL1; inline;
  39303. begin
  39304. pTDefRegMap(@Self)^.&set := $00000002;
  39305. end;
  39306. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  39307. begin
  39308. pTDefRegMap(@Self)^.clr := $00000002;
  39309. end;
  39310. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  39311. begin
  39312. if thebits = 0 then
  39313. pTDefRegMap(@Self)^.clr := $00000002
  39314. else
  39315. pTDefRegMap(@Self)^.&set := $00000002;
  39316. end;
  39317. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  39318. begin
  39319. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39320. end;
  39321. procedure TADC10_AD1CSSL.setCSSL2; inline;
  39322. begin
  39323. pTDefRegMap(@Self)^.&set := $00000004;
  39324. end;
  39325. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  39326. begin
  39327. pTDefRegMap(@Self)^.clr := $00000004;
  39328. end;
  39329. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  39330. begin
  39331. if thebits = 0 then
  39332. pTDefRegMap(@Self)^.clr := $00000004
  39333. else
  39334. pTDefRegMap(@Self)^.&set := $00000004;
  39335. end;
  39336. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  39337. begin
  39338. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39339. end;
  39340. procedure TADC10_AD1CSSL.setCSSL3; inline;
  39341. begin
  39342. pTDefRegMap(@Self)^.&set := $00000008;
  39343. end;
  39344. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  39345. begin
  39346. pTDefRegMap(@Self)^.clr := $00000008;
  39347. end;
  39348. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  39349. begin
  39350. if thebits = 0 then
  39351. pTDefRegMap(@Self)^.clr := $00000008
  39352. else
  39353. pTDefRegMap(@Self)^.&set := $00000008;
  39354. end;
  39355. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  39356. begin
  39357. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39358. end;
  39359. procedure TADC10_AD1CSSL.setCSSL4; inline;
  39360. begin
  39361. pTDefRegMap(@Self)^.&set := $00000010;
  39362. end;
  39363. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  39364. begin
  39365. pTDefRegMap(@Self)^.clr := $00000010;
  39366. end;
  39367. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  39368. begin
  39369. if thebits = 0 then
  39370. pTDefRegMap(@Self)^.clr := $00000010
  39371. else
  39372. pTDefRegMap(@Self)^.&set := $00000010;
  39373. end;
  39374. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  39375. begin
  39376. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39377. end;
  39378. procedure TADC10_AD1CSSL.setCSSL5; inline;
  39379. begin
  39380. pTDefRegMap(@Self)^.&set := $00000020;
  39381. end;
  39382. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  39383. begin
  39384. pTDefRegMap(@Self)^.clr := $00000020;
  39385. end;
  39386. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  39387. begin
  39388. if thebits = 0 then
  39389. pTDefRegMap(@Self)^.clr := $00000020
  39390. else
  39391. pTDefRegMap(@Self)^.&set := $00000020;
  39392. end;
  39393. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  39394. begin
  39395. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39396. end;
  39397. procedure TADC10_AD1CSSL.setCSSL6; inline;
  39398. begin
  39399. pTDefRegMap(@Self)^.&set := $00000040;
  39400. end;
  39401. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  39402. begin
  39403. pTDefRegMap(@Self)^.clr := $00000040;
  39404. end;
  39405. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  39406. begin
  39407. if thebits = 0 then
  39408. pTDefRegMap(@Self)^.clr := $00000040
  39409. else
  39410. pTDefRegMap(@Self)^.&set := $00000040;
  39411. end;
  39412. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  39413. begin
  39414. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39415. end;
  39416. procedure TADC10_AD1CSSL.setCSSL7; inline;
  39417. begin
  39418. pTDefRegMap(@Self)^.&set := $00000080;
  39419. end;
  39420. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  39421. begin
  39422. pTDefRegMap(@Self)^.clr := $00000080;
  39423. end;
  39424. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  39425. begin
  39426. if thebits = 0 then
  39427. pTDefRegMap(@Self)^.clr := $00000080
  39428. else
  39429. pTDefRegMap(@Self)^.&set := $00000080;
  39430. end;
  39431. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  39432. begin
  39433. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39434. end;
  39435. procedure TADC10_AD1CSSL.setCSSL8; inline;
  39436. begin
  39437. pTDefRegMap(@Self)^.&set := $00000100;
  39438. end;
  39439. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  39440. begin
  39441. pTDefRegMap(@Self)^.clr := $00000100;
  39442. end;
  39443. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  39444. begin
  39445. if thebits = 0 then
  39446. pTDefRegMap(@Self)^.clr := $00000100
  39447. else
  39448. pTDefRegMap(@Self)^.&set := $00000100;
  39449. end;
  39450. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  39451. begin
  39452. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39453. end;
  39454. procedure TADC10_AD1CSSL.setCSSL9; inline;
  39455. begin
  39456. pTDefRegMap(@Self)^.&set := $00000200;
  39457. end;
  39458. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  39459. begin
  39460. pTDefRegMap(@Self)^.clr := $00000200;
  39461. end;
  39462. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  39463. begin
  39464. if thebits = 0 then
  39465. pTDefRegMap(@Self)^.clr := $00000200
  39466. else
  39467. pTDefRegMap(@Self)^.&set := $00000200;
  39468. end;
  39469. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  39470. begin
  39471. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39472. end;
  39473. procedure TADC10_AD1CSSL.setCSSL10; inline;
  39474. begin
  39475. pTDefRegMap(@Self)^.&set := $00000400;
  39476. end;
  39477. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  39478. begin
  39479. pTDefRegMap(@Self)^.clr := $00000400;
  39480. end;
  39481. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  39482. begin
  39483. if thebits = 0 then
  39484. pTDefRegMap(@Self)^.clr := $00000400
  39485. else
  39486. pTDefRegMap(@Self)^.&set := $00000400;
  39487. end;
  39488. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  39489. begin
  39490. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39491. end;
  39492. procedure TADC10_AD1CSSL.setCSSL11; inline;
  39493. begin
  39494. pTDefRegMap(@Self)^.&set := $00000800;
  39495. end;
  39496. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  39497. begin
  39498. pTDefRegMap(@Self)^.clr := $00000800;
  39499. end;
  39500. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  39501. begin
  39502. if thebits = 0 then
  39503. pTDefRegMap(@Self)^.clr := $00000800
  39504. else
  39505. pTDefRegMap(@Self)^.&set := $00000800;
  39506. end;
  39507. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  39508. begin
  39509. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39510. end;
  39511. procedure TADC10_AD1CSSL.setCSSL12; inline;
  39512. begin
  39513. pTDefRegMap(@Self)^.&set := $00001000;
  39514. end;
  39515. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  39516. begin
  39517. pTDefRegMap(@Self)^.clr := $00001000;
  39518. end;
  39519. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  39520. begin
  39521. if thebits = 0 then
  39522. pTDefRegMap(@Self)^.clr := $00001000
  39523. else
  39524. pTDefRegMap(@Self)^.&set := $00001000;
  39525. end;
  39526. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  39527. begin
  39528. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39529. end;
  39530. procedure TADC10_AD1CSSL.setCSSL13; inline;
  39531. begin
  39532. pTDefRegMap(@Self)^.&set := $00002000;
  39533. end;
  39534. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  39535. begin
  39536. pTDefRegMap(@Self)^.clr := $00002000;
  39537. end;
  39538. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  39539. begin
  39540. if thebits = 0 then
  39541. pTDefRegMap(@Self)^.clr := $00002000
  39542. else
  39543. pTDefRegMap(@Self)^.&set := $00002000;
  39544. end;
  39545. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  39546. begin
  39547. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39548. end;
  39549. procedure TADC10_AD1CSSL.setCSSL14; inline;
  39550. begin
  39551. pTDefRegMap(@Self)^.&set := $00004000;
  39552. end;
  39553. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  39554. begin
  39555. pTDefRegMap(@Self)^.clr := $00004000;
  39556. end;
  39557. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  39558. begin
  39559. if thebits = 0 then
  39560. pTDefRegMap(@Self)^.clr := $00004000
  39561. else
  39562. pTDefRegMap(@Self)^.&set := $00004000;
  39563. end;
  39564. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  39565. begin
  39566. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39567. end;
  39568. procedure TADC10_AD1CSSL.setCSSL15; inline;
  39569. begin
  39570. pTDefRegMap(@Self)^.&set := $00008000;
  39571. end;
  39572. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  39573. begin
  39574. pTDefRegMap(@Self)^.clr := $00008000;
  39575. end;
  39576. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  39577. begin
  39578. if thebits = 0 then
  39579. pTDefRegMap(@Self)^.clr := $00008000
  39580. else
  39581. pTDefRegMap(@Self)^.&set := $00008000;
  39582. end;
  39583. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  39584. begin
  39585. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39586. end;
  39587. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  39588. begin
  39589. pTDefRegMap(@Self)^.val := thebits;
  39590. end;
  39591. function TADC10_AD1CSSL.getw : TBits_32; inline;
  39592. begin
  39593. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39594. end;
  39595. procedure TADC10_AD1PCFG.setPCFG(thebits : TBits_16); inline;
  39596. begin
  39597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39598. end;
  39599. function TADC10_AD1PCFG.getPCFG : TBits_16; inline;
  39600. begin
  39601. getPCFG := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39602. end;
  39603. procedure TADC10_AD1PCFG.setPCFG0; inline;
  39604. begin
  39605. pTDefRegMap(@Self)^.&set := $00000001;
  39606. end;
  39607. procedure TADC10_AD1PCFG.clearPCFG0; inline;
  39608. begin
  39609. pTDefRegMap(@Self)^.clr := $00000001;
  39610. end;
  39611. procedure TADC10_AD1PCFG.setPCFG0(thebits : TBits_1); inline;
  39612. begin
  39613. if thebits = 0 then
  39614. pTDefRegMap(@Self)^.clr := $00000001
  39615. else
  39616. pTDefRegMap(@Self)^.&set := $00000001;
  39617. end;
  39618. function TADC10_AD1PCFG.getPCFG0 : TBits_1; inline;
  39619. begin
  39620. getPCFG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39621. end;
  39622. procedure TADC10_AD1PCFG.setPCFG1; inline;
  39623. begin
  39624. pTDefRegMap(@Self)^.&set := $00000002;
  39625. end;
  39626. procedure TADC10_AD1PCFG.clearPCFG1; inline;
  39627. begin
  39628. pTDefRegMap(@Self)^.clr := $00000002;
  39629. end;
  39630. procedure TADC10_AD1PCFG.setPCFG1(thebits : TBits_1); inline;
  39631. begin
  39632. if thebits = 0 then
  39633. pTDefRegMap(@Self)^.clr := $00000002
  39634. else
  39635. pTDefRegMap(@Self)^.&set := $00000002;
  39636. end;
  39637. function TADC10_AD1PCFG.getPCFG1 : TBits_1; inline;
  39638. begin
  39639. getPCFG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39640. end;
  39641. procedure TADC10_AD1PCFG.setPCFG2; inline;
  39642. begin
  39643. pTDefRegMap(@Self)^.&set := $00000004;
  39644. end;
  39645. procedure TADC10_AD1PCFG.clearPCFG2; inline;
  39646. begin
  39647. pTDefRegMap(@Self)^.clr := $00000004;
  39648. end;
  39649. procedure TADC10_AD1PCFG.setPCFG2(thebits : TBits_1); inline;
  39650. begin
  39651. if thebits = 0 then
  39652. pTDefRegMap(@Self)^.clr := $00000004
  39653. else
  39654. pTDefRegMap(@Self)^.&set := $00000004;
  39655. end;
  39656. function TADC10_AD1PCFG.getPCFG2 : TBits_1; inline;
  39657. begin
  39658. getPCFG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39659. end;
  39660. procedure TADC10_AD1PCFG.setPCFG3; inline;
  39661. begin
  39662. pTDefRegMap(@Self)^.&set := $00000008;
  39663. end;
  39664. procedure TADC10_AD1PCFG.clearPCFG3; inline;
  39665. begin
  39666. pTDefRegMap(@Self)^.clr := $00000008;
  39667. end;
  39668. procedure TADC10_AD1PCFG.setPCFG3(thebits : TBits_1); inline;
  39669. begin
  39670. if thebits = 0 then
  39671. pTDefRegMap(@Self)^.clr := $00000008
  39672. else
  39673. pTDefRegMap(@Self)^.&set := $00000008;
  39674. end;
  39675. function TADC10_AD1PCFG.getPCFG3 : TBits_1; inline;
  39676. begin
  39677. getPCFG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39678. end;
  39679. procedure TADC10_AD1PCFG.setPCFG4; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.&set := $00000010;
  39682. end;
  39683. procedure TADC10_AD1PCFG.clearPCFG4; inline;
  39684. begin
  39685. pTDefRegMap(@Self)^.clr := $00000010;
  39686. end;
  39687. procedure TADC10_AD1PCFG.setPCFG4(thebits : TBits_1); inline;
  39688. begin
  39689. if thebits = 0 then
  39690. pTDefRegMap(@Self)^.clr := $00000010
  39691. else
  39692. pTDefRegMap(@Self)^.&set := $00000010;
  39693. end;
  39694. function TADC10_AD1PCFG.getPCFG4 : TBits_1; inline;
  39695. begin
  39696. getPCFG4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39697. end;
  39698. procedure TADC10_AD1PCFG.setPCFG5; inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.&set := $00000020;
  39701. end;
  39702. procedure TADC10_AD1PCFG.clearPCFG5; inline;
  39703. begin
  39704. pTDefRegMap(@Self)^.clr := $00000020;
  39705. end;
  39706. procedure TADC10_AD1PCFG.setPCFG5(thebits : TBits_1); inline;
  39707. begin
  39708. if thebits = 0 then
  39709. pTDefRegMap(@Self)^.clr := $00000020
  39710. else
  39711. pTDefRegMap(@Self)^.&set := $00000020;
  39712. end;
  39713. function TADC10_AD1PCFG.getPCFG5 : TBits_1; inline;
  39714. begin
  39715. getPCFG5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39716. end;
  39717. procedure TADC10_AD1PCFG.setPCFG6; inline;
  39718. begin
  39719. pTDefRegMap(@Self)^.&set := $00000040;
  39720. end;
  39721. procedure TADC10_AD1PCFG.clearPCFG6; inline;
  39722. begin
  39723. pTDefRegMap(@Self)^.clr := $00000040;
  39724. end;
  39725. procedure TADC10_AD1PCFG.setPCFG6(thebits : TBits_1); inline;
  39726. begin
  39727. if thebits = 0 then
  39728. pTDefRegMap(@Self)^.clr := $00000040
  39729. else
  39730. pTDefRegMap(@Self)^.&set := $00000040;
  39731. end;
  39732. function TADC10_AD1PCFG.getPCFG6 : TBits_1; inline;
  39733. begin
  39734. getPCFG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39735. end;
  39736. procedure TADC10_AD1PCFG.setPCFG7; inline;
  39737. begin
  39738. pTDefRegMap(@Self)^.&set := $00000080;
  39739. end;
  39740. procedure TADC10_AD1PCFG.clearPCFG7; inline;
  39741. begin
  39742. pTDefRegMap(@Self)^.clr := $00000080;
  39743. end;
  39744. procedure TADC10_AD1PCFG.setPCFG7(thebits : TBits_1); inline;
  39745. begin
  39746. if thebits = 0 then
  39747. pTDefRegMap(@Self)^.clr := $00000080
  39748. else
  39749. pTDefRegMap(@Self)^.&set := $00000080;
  39750. end;
  39751. function TADC10_AD1PCFG.getPCFG7 : TBits_1; inline;
  39752. begin
  39753. getPCFG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39754. end;
  39755. procedure TADC10_AD1PCFG.setPCFG8; inline;
  39756. begin
  39757. pTDefRegMap(@Self)^.&set := $00000100;
  39758. end;
  39759. procedure TADC10_AD1PCFG.clearPCFG8; inline;
  39760. begin
  39761. pTDefRegMap(@Self)^.clr := $00000100;
  39762. end;
  39763. procedure TADC10_AD1PCFG.setPCFG8(thebits : TBits_1); inline;
  39764. begin
  39765. if thebits = 0 then
  39766. pTDefRegMap(@Self)^.clr := $00000100
  39767. else
  39768. pTDefRegMap(@Self)^.&set := $00000100;
  39769. end;
  39770. function TADC10_AD1PCFG.getPCFG8 : TBits_1; inline;
  39771. begin
  39772. getPCFG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39773. end;
  39774. procedure TADC10_AD1PCFG.setPCFG9; inline;
  39775. begin
  39776. pTDefRegMap(@Self)^.&set := $00000200;
  39777. end;
  39778. procedure TADC10_AD1PCFG.clearPCFG9; inline;
  39779. begin
  39780. pTDefRegMap(@Self)^.clr := $00000200;
  39781. end;
  39782. procedure TADC10_AD1PCFG.setPCFG9(thebits : TBits_1); inline;
  39783. begin
  39784. if thebits = 0 then
  39785. pTDefRegMap(@Self)^.clr := $00000200
  39786. else
  39787. pTDefRegMap(@Self)^.&set := $00000200;
  39788. end;
  39789. function TADC10_AD1PCFG.getPCFG9 : TBits_1; inline;
  39790. begin
  39791. getPCFG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39792. end;
  39793. procedure TADC10_AD1PCFG.setPCFG10; inline;
  39794. begin
  39795. pTDefRegMap(@Self)^.&set := $00000400;
  39796. end;
  39797. procedure TADC10_AD1PCFG.clearPCFG10; inline;
  39798. begin
  39799. pTDefRegMap(@Self)^.clr := $00000400;
  39800. end;
  39801. procedure TADC10_AD1PCFG.setPCFG10(thebits : TBits_1); inline;
  39802. begin
  39803. if thebits = 0 then
  39804. pTDefRegMap(@Self)^.clr := $00000400
  39805. else
  39806. pTDefRegMap(@Self)^.&set := $00000400;
  39807. end;
  39808. function TADC10_AD1PCFG.getPCFG10 : TBits_1; inline;
  39809. begin
  39810. getPCFG10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39811. end;
  39812. procedure TADC10_AD1PCFG.setPCFG11; inline;
  39813. begin
  39814. pTDefRegMap(@Self)^.&set := $00000800;
  39815. end;
  39816. procedure TADC10_AD1PCFG.clearPCFG11; inline;
  39817. begin
  39818. pTDefRegMap(@Self)^.clr := $00000800;
  39819. end;
  39820. procedure TADC10_AD1PCFG.setPCFG11(thebits : TBits_1); inline;
  39821. begin
  39822. if thebits = 0 then
  39823. pTDefRegMap(@Self)^.clr := $00000800
  39824. else
  39825. pTDefRegMap(@Self)^.&set := $00000800;
  39826. end;
  39827. function TADC10_AD1PCFG.getPCFG11 : TBits_1; inline;
  39828. begin
  39829. getPCFG11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  39830. end;
  39831. procedure TADC10_AD1PCFG.setPCFG12; inline;
  39832. begin
  39833. pTDefRegMap(@Self)^.&set := $00001000;
  39834. end;
  39835. procedure TADC10_AD1PCFG.clearPCFG12; inline;
  39836. begin
  39837. pTDefRegMap(@Self)^.clr := $00001000;
  39838. end;
  39839. procedure TADC10_AD1PCFG.setPCFG12(thebits : TBits_1); inline;
  39840. begin
  39841. if thebits = 0 then
  39842. pTDefRegMap(@Self)^.clr := $00001000
  39843. else
  39844. pTDefRegMap(@Self)^.&set := $00001000;
  39845. end;
  39846. function TADC10_AD1PCFG.getPCFG12 : TBits_1; inline;
  39847. begin
  39848. getPCFG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  39849. end;
  39850. procedure TADC10_AD1PCFG.setPCFG13; inline;
  39851. begin
  39852. pTDefRegMap(@Self)^.&set := $00002000;
  39853. end;
  39854. procedure TADC10_AD1PCFG.clearPCFG13; inline;
  39855. begin
  39856. pTDefRegMap(@Self)^.clr := $00002000;
  39857. end;
  39858. procedure TADC10_AD1PCFG.setPCFG13(thebits : TBits_1); inline;
  39859. begin
  39860. if thebits = 0 then
  39861. pTDefRegMap(@Self)^.clr := $00002000
  39862. else
  39863. pTDefRegMap(@Self)^.&set := $00002000;
  39864. end;
  39865. function TADC10_AD1PCFG.getPCFG13 : TBits_1; inline;
  39866. begin
  39867. getPCFG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39868. end;
  39869. procedure TADC10_AD1PCFG.setPCFG14; inline;
  39870. begin
  39871. pTDefRegMap(@Self)^.&set := $00004000;
  39872. end;
  39873. procedure TADC10_AD1PCFG.clearPCFG14; inline;
  39874. begin
  39875. pTDefRegMap(@Self)^.clr := $00004000;
  39876. end;
  39877. procedure TADC10_AD1PCFG.setPCFG14(thebits : TBits_1); inline;
  39878. begin
  39879. if thebits = 0 then
  39880. pTDefRegMap(@Self)^.clr := $00004000
  39881. else
  39882. pTDefRegMap(@Self)^.&set := $00004000;
  39883. end;
  39884. function TADC10_AD1PCFG.getPCFG14 : TBits_1; inline;
  39885. begin
  39886. getPCFG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  39887. end;
  39888. procedure TADC10_AD1PCFG.setPCFG15; inline;
  39889. begin
  39890. pTDefRegMap(@Self)^.&set := $00008000;
  39891. end;
  39892. procedure TADC10_AD1PCFG.clearPCFG15; inline;
  39893. begin
  39894. pTDefRegMap(@Self)^.clr := $00008000;
  39895. end;
  39896. procedure TADC10_AD1PCFG.setPCFG15(thebits : TBits_1); inline;
  39897. begin
  39898. if thebits = 0 then
  39899. pTDefRegMap(@Self)^.clr := $00008000
  39900. else
  39901. pTDefRegMap(@Self)^.&set := $00008000;
  39902. end;
  39903. function TADC10_AD1PCFG.getPCFG15 : TBits_1; inline;
  39904. begin
  39905. getPCFG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39906. end;
  39907. procedure TADC10_AD1PCFG.setw(thebits : TBits_32); inline;
  39908. begin
  39909. pTDefRegMap(@Self)^.val := thebits;
  39910. end;
  39911. function TADC10_AD1PCFG.getw : TBits_32; inline;
  39912. begin
  39913. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39914. end;
  39915. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  39916. begin
  39917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  39918. end;
  39919. function TCVR_CVRCON.getCVR : TBits_4; inline;
  39920. begin
  39921. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  39922. end;
  39923. procedure TCVR_CVRCON.setCVRSS; inline;
  39924. begin
  39925. pTDefRegMap(@Self)^.&set := $00000010;
  39926. end;
  39927. procedure TCVR_CVRCON.clearCVRSS; inline;
  39928. begin
  39929. pTDefRegMap(@Self)^.clr := $00000010;
  39930. end;
  39931. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  39932. begin
  39933. if thebits = 0 then
  39934. pTDefRegMap(@Self)^.clr := $00000010
  39935. else
  39936. pTDefRegMap(@Self)^.&set := $00000010;
  39937. end;
  39938. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  39939. begin
  39940. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39941. end;
  39942. procedure TCVR_CVRCON.setCVRR; inline;
  39943. begin
  39944. pTDefRegMap(@Self)^.&set := $00000020;
  39945. end;
  39946. procedure TCVR_CVRCON.clearCVRR; inline;
  39947. begin
  39948. pTDefRegMap(@Self)^.clr := $00000020;
  39949. end;
  39950. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  39951. begin
  39952. if thebits = 0 then
  39953. pTDefRegMap(@Self)^.clr := $00000020
  39954. else
  39955. pTDefRegMap(@Self)^.&set := $00000020;
  39956. end;
  39957. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  39958. begin
  39959. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39960. end;
  39961. procedure TCVR_CVRCON.setCVROE; inline;
  39962. begin
  39963. pTDefRegMap(@Self)^.&set := $00000040;
  39964. end;
  39965. procedure TCVR_CVRCON.clearCVROE; inline;
  39966. begin
  39967. pTDefRegMap(@Self)^.clr := $00000040;
  39968. end;
  39969. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  39970. begin
  39971. if thebits = 0 then
  39972. pTDefRegMap(@Self)^.clr := $00000040
  39973. else
  39974. pTDefRegMap(@Self)^.&set := $00000040;
  39975. end;
  39976. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  39977. begin
  39978. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39979. end;
  39980. procedure TCVR_CVRCON.setBGSEL(thebits : TBits_2); inline;
  39981. begin
  39982. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  39983. end;
  39984. function TCVR_CVRCON.getBGSEL : TBits_2; inline;
  39985. begin
  39986. getBGSEL := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  39987. end;
  39988. procedure TCVR_CVRCON.setVREFSEL; inline;
  39989. begin
  39990. pTDefRegMap(@Self)^.&set := $00000400;
  39991. end;
  39992. procedure TCVR_CVRCON.clearVREFSEL; inline;
  39993. begin
  39994. pTDefRegMap(@Self)^.clr := $00000400;
  39995. end;
  39996. procedure TCVR_CVRCON.setVREFSEL(thebits : TBits_1); inline;
  39997. begin
  39998. if thebits = 0 then
  39999. pTDefRegMap(@Self)^.clr := $00000400
  40000. else
  40001. pTDefRegMap(@Self)^.&set := $00000400;
  40002. end;
  40003. function TCVR_CVRCON.getVREFSEL : TBits_1; inline;
  40004. begin
  40005. getVREFSEL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40006. end;
  40007. procedure TCVR_CVRCON.setON; inline;
  40008. begin
  40009. pTDefRegMap(@Self)^.&set := $00008000;
  40010. end;
  40011. procedure TCVR_CVRCON.clearON; inline;
  40012. begin
  40013. pTDefRegMap(@Self)^.clr := $00008000;
  40014. end;
  40015. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  40016. begin
  40017. if thebits = 0 then
  40018. pTDefRegMap(@Self)^.clr := $00008000
  40019. else
  40020. pTDefRegMap(@Self)^.&set := $00008000;
  40021. end;
  40022. function TCVR_CVRCON.getON : TBits_1; inline;
  40023. begin
  40024. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40025. end;
  40026. procedure TCVR_CVRCON.setCVR0; inline;
  40027. begin
  40028. pTDefRegMap(@Self)^.&set := $00000001;
  40029. end;
  40030. procedure TCVR_CVRCON.clearCVR0; inline;
  40031. begin
  40032. pTDefRegMap(@Self)^.clr := $00000001;
  40033. end;
  40034. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  40035. begin
  40036. if thebits = 0 then
  40037. pTDefRegMap(@Self)^.clr := $00000001
  40038. else
  40039. pTDefRegMap(@Self)^.&set := $00000001;
  40040. end;
  40041. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  40042. begin
  40043. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40044. end;
  40045. procedure TCVR_CVRCON.setCVR1; inline;
  40046. begin
  40047. pTDefRegMap(@Self)^.&set := $00000002;
  40048. end;
  40049. procedure TCVR_CVRCON.clearCVR1; inline;
  40050. begin
  40051. pTDefRegMap(@Self)^.clr := $00000002;
  40052. end;
  40053. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  40054. begin
  40055. if thebits = 0 then
  40056. pTDefRegMap(@Self)^.clr := $00000002
  40057. else
  40058. pTDefRegMap(@Self)^.&set := $00000002;
  40059. end;
  40060. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  40061. begin
  40062. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40063. end;
  40064. procedure TCVR_CVRCON.setCVR2; inline;
  40065. begin
  40066. pTDefRegMap(@Self)^.&set := $00000004;
  40067. end;
  40068. procedure TCVR_CVRCON.clearCVR2; inline;
  40069. begin
  40070. pTDefRegMap(@Self)^.clr := $00000004;
  40071. end;
  40072. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  40073. begin
  40074. if thebits = 0 then
  40075. pTDefRegMap(@Self)^.clr := $00000004
  40076. else
  40077. pTDefRegMap(@Self)^.&set := $00000004;
  40078. end;
  40079. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  40080. begin
  40081. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40082. end;
  40083. procedure TCVR_CVRCON.setCVR3; inline;
  40084. begin
  40085. pTDefRegMap(@Self)^.&set := $00000008;
  40086. end;
  40087. procedure TCVR_CVRCON.clearCVR3; inline;
  40088. begin
  40089. pTDefRegMap(@Self)^.clr := $00000008;
  40090. end;
  40091. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  40092. begin
  40093. if thebits = 0 then
  40094. pTDefRegMap(@Self)^.clr := $00000008
  40095. else
  40096. pTDefRegMap(@Self)^.&set := $00000008;
  40097. end;
  40098. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  40099. begin
  40100. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40101. end;
  40102. procedure TCVR_CVRCON.setBGSEL0; inline;
  40103. begin
  40104. pTDefRegMap(@Self)^.&set := $00000100;
  40105. end;
  40106. procedure TCVR_CVRCON.clearBGSEL0; inline;
  40107. begin
  40108. pTDefRegMap(@Self)^.clr := $00000100;
  40109. end;
  40110. procedure TCVR_CVRCON.setBGSEL0(thebits : TBits_1); inline;
  40111. begin
  40112. if thebits = 0 then
  40113. pTDefRegMap(@Self)^.clr := $00000100
  40114. else
  40115. pTDefRegMap(@Self)^.&set := $00000100;
  40116. end;
  40117. function TCVR_CVRCON.getBGSEL0 : TBits_1; inline;
  40118. begin
  40119. getBGSEL0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40120. end;
  40121. procedure TCVR_CVRCON.setBGSEL1; inline;
  40122. begin
  40123. pTDefRegMap(@Self)^.&set := $00000200;
  40124. end;
  40125. procedure TCVR_CVRCON.clearBGSEL1; inline;
  40126. begin
  40127. pTDefRegMap(@Self)^.clr := $00000200;
  40128. end;
  40129. procedure TCVR_CVRCON.setBGSEL1(thebits : TBits_1); inline;
  40130. begin
  40131. if thebits = 0 then
  40132. pTDefRegMap(@Self)^.clr := $00000200
  40133. else
  40134. pTDefRegMap(@Self)^.&set := $00000200;
  40135. end;
  40136. function TCVR_CVRCON.getBGSEL1 : TBits_1; inline;
  40137. begin
  40138. getBGSEL1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40139. end;
  40140. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  40141. begin
  40142. pTDefRegMap(@Self)^.val := thebits;
  40143. end;
  40144. function TCVR_CVRCON.getw : TBits_32; inline;
  40145. begin
  40146. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40147. end;
  40148. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  40149. begin
  40150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40151. end;
  40152. function TCMP_CM1CON.getCCH : TBits_2; inline;
  40153. begin
  40154. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40155. end;
  40156. procedure TCMP_CM1CON.setCREF; inline;
  40157. begin
  40158. pTDefRegMap(@Self)^.&set := $00000010;
  40159. end;
  40160. procedure TCMP_CM1CON.clearCREF; inline;
  40161. begin
  40162. pTDefRegMap(@Self)^.clr := $00000010;
  40163. end;
  40164. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  40165. begin
  40166. if thebits = 0 then
  40167. pTDefRegMap(@Self)^.clr := $00000010
  40168. else
  40169. pTDefRegMap(@Self)^.&set := $00000010;
  40170. end;
  40171. function TCMP_CM1CON.getCREF : TBits_1; inline;
  40172. begin
  40173. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40174. end;
  40175. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  40176. begin
  40177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  40178. end;
  40179. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  40180. begin
  40181. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  40182. end;
  40183. procedure TCMP_CM1CON.setCOUT; inline;
  40184. begin
  40185. pTDefRegMap(@Self)^.&set := $00000100;
  40186. end;
  40187. procedure TCMP_CM1CON.clearCOUT; inline;
  40188. begin
  40189. pTDefRegMap(@Self)^.clr := $00000100;
  40190. end;
  40191. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  40192. begin
  40193. if thebits = 0 then
  40194. pTDefRegMap(@Self)^.clr := $00000100
  40195. else
  40196. pTDefRegMap(@Self)^.&set := $00000100;
  40197. end;
  40198. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  40199. begin
  40200. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40201. end;
  40202. procedure TCMP_CM1CON.setCPOL; inline;
  40203. begin
  40204. pTDefRegMap(@Self)^.&set := $00002000;
  40205. end;
  40206. procedure TCMP_CM1CON.clearCPOL; inline;
  40207. begin
  40208. pTDefRegMap(@Self)^.clr := $00002000;
  40209. end;
  40210. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  40211. begin
  40212. if thebits = 0 then
  40213. pTDefRegMap(@Self)^.clr := $00002000
  40214. else
  40215. pTDefRegMap(@Self)^.&set := $00002000;
  40216. end;
  40217. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  40218. begin
  40219. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40220. end;
  40221. procedure TCMP_CM1CON.setCOE; inline;
  40222. begin
  40223. pTDefRegMap(@Self)^.&set := $00004000;
  40224. end;
  40225. procedure TCMP_CM1CON.clearCOE; inline;
  40226. begin
  40227. pTDefRegMap(@Self)^.clr := $00004000;
  40228. end;
  40229. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  40230. begin
  40231. if thebits = 0 then
  40232. pTDefRegMap(@Self)^.clr := $00004000
  40233. else
  40234. pTDefRegMap(@Self)^.&set := $00004000;
  40235. end;
  40236. function TCMP_CM1CON.getCOE : TBits_1; inline;
  40237. begin
  40238. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40239. end;
  40240. procedure TCMP_CM1CON.setON; inline;
  40241. begin
  40242. pTDefRegMap(@Self)^.&set := $00008000;
  40243. end;
  40244. procedure TCMP_CM1CON.clearON; inline;
  40245. begin
  40246. pTDefRegMap(@Self)^.clr := $00008000;
  40247. end;
  40248. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  40249. begin
  40250. if thebits = 0 then
  40251. pTDefRegMap(@Self)^.clr := $00008000
  40252. else
  40253. pTDefRegMap(@Self)^.&set := $00008000;
  40254. end;
  40255. function TCMP_CM1CON.getON : TBits_1; inline;
  40256. begin
  40257. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40258. end;
  40259. procedure TCMP_CM1CON.setCCH0; inline;
  40260. begin
  40261. pTDefRegMap(@Self)^.&set := $00000001;
  40262. end;
  40263. procedure TCMP_CM1CON.clearCCH0; inline;
  40264. begin
  40265. pTDefRegMap(@Self)^.clr := $00000001;
  40266. end;
  40267. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  40268. begin
  40269. if thebits = 0 then
  40270. pTDefRegMap(@Self)^.clr := $00000001
  40271. else
  40272. pTDefRegMap(@Self)^.&set := $00000001;
  40273. end;
  40274. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  40275. begin
  40276. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40277. end;
  40278. procedure TCMP_CM1CON.setCCH1; inline;
  40279. begin
  40280. pTDefRegMap(@Self)^.&set := $00000002;
  40281. end;
  40282. procedure TCMP_CM1CON.clearCCH1; inline;
  40283. begin
  40284. pTDefRegMap(@Self)^.clr := $00000002;
  40285. end;
  40286. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  40287. begin
  40288. if thebits = 0 then
  40289. pTDefRegMap(@Self)^.clr := $00000002
  40290. else
  40291. pTDefRegMap(@Self)^.&set := $00000002;
  40292. end;
  40293. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  40294. begin
  40295. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40296. end;
  40297. procedure TCMP_CM1CON.setEVPOL0; inline;
  40298. begin
  40299. pTDefRegMap(@Self)^.&set := $00000040;
  40300. end;
  40301. procedure TCMP_CM1CON.clearEVPOL0; inline;
  40302. begin
  40303. pTDefRegMap(@Self)^.clr := $00000040;
  40304. end;
  40305. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  40306. begin
  40307. if thebits = 0 then
  40308. pTDefRegMap(@Self)^.clr := $00000040
  40309. else
  40310. pTDefRegMap(@Self)^.&set := $00000040;
  40311. end;
  40312. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  40313. begin
  40314. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40315. end;
  40316. procedure TCMP_CM1CON.setEVPOL1; inline;
  40317. begin
  40318. pTDefRegMap(@Self)^.&set := $00000080;
  40319. end;
  40320. procedure TCMP_CM1CON.clearEVPOL1; inline;
  40321. begin
  40322. pTDefRegMap(@Self)^.clr := $00000080;
  40323. end;
  40324. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  40325. begin
  40326. if thebits = 0 then
  40327. pTDefRegMap(@Self)^.clr := $00000080
  40328. else
  40329. pTDefRegMap(@Self)^.&set := $00000080;
  40330. end;
  40331. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  40332. begin
  40333. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40334. end;
  40335. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  40336. begin
  40337. pTDefRegMap(@Self)^.val := thebits;
  40338. end;
  40339. function TCMP_CM1CON.getw : TBits_32; inline;
  40340. begin
  40341. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40342. end;
  40343. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  40344. begin
  40345. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40346. end;
  40347. function TCMP_CM2CON.getCCH : TBits_2; inline;
  40348. begin
  40349. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40350. end;
  40351. procedure TCMP_CM2CON.setCREF; inline;
  40352. begin
  40353. pTDefRegMap(@Self)^.&set := $00000010;
  40354. end;
  40355. procedure TCMP_CM2CON.clearCREF; inline;
  40356. begin
  40357. pTDefRegMap(@Self)^.clr := $00000010;
  40358. end;
  40359. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  40360. begin
  40361. if thebits = 0 then
  40362. pTDefRegMap(@Self)^.clr := $00000010
  40363. else
  40364. pTDefRegMap(@Self)^.&set := $00000010;
  40365. end;
  40366. function TCMP_CM2CON.getCREF : TBits_1; inline;
  40367. begin
  40368. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40369. end;
  40370. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  40371. begin
  40372. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  40373. end;
  40374. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  40375. begin
  40376. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  40377. end;
  40378. procedure TCMP_CM2CON.setCOUT; inline;
  40379. begin
  40380. pTDefRegMap(@Self)^.&set := $00000100;
  40381. end;
  40382. procedure TCMP_CM2CON.clearCOUT; inline;
  40383. begin
  40384. pTDefRegMap(@Self)^.clr := $00000100;
  40385. end;
  40386. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  40387. begin
  40388. if thebits = 0 then
  40389. pTDefRegMap(@Self)^.clr := $00000100
  40390. else
  40391. pTDefRegMap(@Self)^.&set := $00000100;
  40392. end;
  40393. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  40394. begin
  40395. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40396. end;
  40397. procedure TCMP_CM2CON.setCPOL; inline;
  40398. begin
  40399. pTDefRegMap(@Self)^.&set := $00002000;
  40400. end;
  40401. procedure TCMP_CM2CON.clearCPOL; inline;
  40402. begin
  40403. pTDefRegMap(@Self)^.clr := $00002000;
  40404. end;
  40405. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  40406. begin
  40407. if thebits = 0 then
  40408. pTDefRegMap(@Self)^.clr := $00002000
  40409. else
  40410. pTDefRegMap(@Self)^.&set := $00002000;
  40411. end;
  40412. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  40413. begin
  40414. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40415. end;
  40416. procedure TCMP_CM2CON.setCOE; inline;
  40417. begin
  40418. pTDefRegMap(@Self)^.&set := $00004000;
  40419. end;
  40420. procedure TCMP_CM2CON.clearCOE; inline;
  40421. begin
  40422. pTDefRegMap(@Self)^.clr := $00004000;
  40423. end;
  40424. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  40425. begin
  40426. if thebits = 0 then
  40427. pTDefRegMap(@Self)^.clr := $00004000
  40428. else
  40429. pTDefRegMap(@Self)^.&set := $00004000;
  40430. end;
  40431. function TCMP_CM2CON.getCOE : TBits_1; inline;
  40432. begin
  40433. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40434. end;
  40435. procedure TCMP_CM2CON.setON; inline;
  40436. begin
  40437. pTDefRegMap(@Self)^.&set := $00008000;
  40438. end;
  40439. procedure TCMP_CM2CON.clearON; inline;
  40440. begin
  40441. pTDefRegMap(@Self)^.clr := $00008000;
  40442. end;
  40443. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  40444. begin
  40445. if thebits = 0 then
  40446. pTDefRegMap(@Self)^.clr := $00008000
  40447. else
  40448. pTDefRegMap(@Self)^.&set := $00008000;
  40449. end;
  40450. function TCMP_CM2CON.getON : TBits_1; inline;
  40451. begin
  40452. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  40453. end;
  40454. procedure TCMP_CM2CON.setCCH0; inline;
  40455. begin
  40456. pTDefRegMap(@Self)^.&set := $00000001;
  40457. end;
  40458. procedure TCMP_CM2CON.clearCCH0; inline;
  40459. begin
  40460. pTDefRegMap(@Self)^.clr := $00000001;
  40461. end;
  40462. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  40463. begin
  40464. if thebits = 0 then
  40465. pTDefRegMap(@Self)^.clr := $00000001
  40466. else
  40467. pTDefRegMap(@Self)^.&set := $00000001;
  40468. end;
  40469. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  40470. begin
  40471. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40472. end;
  40473. procedure TCMP_CM2CON.setCCH1; inline;
  40474. begin
  40475. pTDefRegMap(@Self)^.&set := $00000002;
  40476. end;
  40477. procedure TCMP_CM2CON.clearCCH1; inline;
  40478. begin
  40479. pTDefRegMap(@Self)^.clr := $00000002;
  40480. end;
  40481. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  40482. begin
  40483. if thebits = 0 then
  40484. pTDefRegMap(@Self)^.clr := $00000002
  40485. else
  40486. pTDefRegMap(@Self)^.&set := $00000002;
  40487. end;
  40488. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  40489. begin
  40490. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40491. end;
  40492. procedure TCMP_CM2CON.setEVPOL0; inline;
  40493. begin
  40494. pTDefRegMap(@Self)^.&set := $00000040;
  40495. end;
  40496. procedure TCMP_CM2CON.clearEVPOL0; inline;
  40497. begin
  40498. pTDefRegMap(@Self)^.clr := $00000040;
  40499. end;
  40500. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  40501. begin
  40502. if thebits = 0 then
  40503. pTDefRegMap(@Self)^.clr := $00000040
  40504. else
  40505. pTDefRegMap(@Self)^.&set := $00000040;
  40506. end;
  40507. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  40508. begin
  40509. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40510. end;
  40511. procedure TCMP_CM2CON.setEVPOL1; inline;
  40512. begin
  40513. pTDefRegMap(@Self)^.&set := $00000080;
  40514. end;
  40515. procedure TCMP_CM2CON.clearEVPOL1; inline;
  40516. begin
  40517. pTDefRegMap(@Self)^.clr := $00000080;
  40518. end;
  40519. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  40520. begin
  40521. if thebits = 0 then
  40522. pTDefRegMap(@Self)^.clr := $00000080
  40523. else
  40524. pTDefRegMap(@Self)^.&set := $00000080;
  40525. end;
  40526. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  40527. begin
  40528. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40529. end;
  40530. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  40531. begin
  40532. pTDefRegMap(@Self)^.val := thebits;
  40533. end;
  40534. function TCMP_CM2CON.getw : TBits_32; inline;
  40535. begin
  40536. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40537. end;
  40538. procedure TCMP_CMSTAT.setC1OUT; inline;
  40539. begin
  40540. pTDefRegMap(@Self)^.&set := $00000001;
  40541. end;
  40542. procedure TCMP_CMSTAT.clearC1OUT; inline;
  40543. begin
  40544. pTDefRegMap(@Self)^.clr := $00000001;
  40545. end;
  40546. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  40547. begin
  40548. if thebits = 0 then
  40549. pTDefRegMap(@Self)^.clr := $00000001
  40550. else
  40551. pTDefRegMap(@Self)^.&set := $00000001;
  40552. end;
  40553. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  40554. begin
  40555. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40556. end;
  40557. procedure TCMP_CMSTAT.setC2OUT; inline;
  40558. begin
  40559. pTDefRegMap(@Self)^.&set := $00000002;
  40560. end;
  40561. procedure TCMP_CMSTAT.clearC2OUT; inline;
  40562. begin
  40563. pTDefRegMap(@Self)^.clr := $00000002;
  40564. end;
  40565. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  40566. begin
  40567. if thebits = 0 then
  40568. pTDefRegMap(@Self)^.clr := $00000002
  40569. else
  40570. pTDefRegMap(@Self)^.&set := $00000002;
  40571. end;
  40572. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  40573. begin
  40574. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40575. end;
  40576. procedure TCMP_CMSTAT.setSIDL; inline;
  40577. begin
  40578. pTDefRegMap(@Self)^.&set := $00002000;
  40579. end;
  40580. procedure TCMP_CMSTAT.clearSIDL; inline;
  40581. begin
  40582. pTDefRegMap(@Self)^.clr := $00002000;
  40583. end;
  40584. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  40585. begin
  40586. if thebits = 0 then
  40587. pTDefRegMap(@Self)^.clr := $00002000
  40588. else
  40589. pTDefRegMap(@Self)^.&set := $00002000;
  40590. end;
  40591. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  40592. begin
  40593. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40594. end;
  40595. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  40596. begin
  40597. pTDefRegMap(@Self)^.val := thebits;
  40598. end;
  40599. function TCMP_CMSTAT.getw : TBits_32; inline;
  40600. begin
  40601. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40602. end;
  40603. procedure TOSC_OSCCON.setOSWEN; inline;
  40604. begin
  40605. pTDefRegMap(@Self)^.&set := $00000001;
  40606. end;
  40607. procedure TOSC_OSCCON.clearOSWEN; inline;
  40608. begin
  40609. pTDefRegMap(@Self)^.clr := $00000001;
  40610. end;
  40611. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  40612. begin
  40613. if thebits = 0 then
  40614. pTDefRegMap(@Self)^.clr := $00000001
  40615. else
  40616. pTDefRegMap(@Self)^.&set := $00000001;
  40617. end;
  40618. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  40619. begin
  40620. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  40621. end;
  40622. procedure TOSC_OSCCON.setSOSCEN; inline;
  40623. begin
  40624. pTDefRegMap(@Self)^.&set := $00000002;
  40625. end;
  40626. procedure TOSC_OSCCON.clearSOSCEN; inline;
  40627. begin
  40628. pTDefRegMap(@Self)^.clr := $00000002;
  40629. end;
  40630. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  40631. begin
  40632. if thebits = 0 then
  40633. pTDefRegMap(@Self)^.clr := $00000002
  40634. else
  40635. pTDefRegMap(@Self)^.&set := $00000002;
  40636. end;
  40637. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  40638. begin
  40639. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  40640. end;
  40641. procedure TOSC_OSCCON.setUFRCEN; inline;
  40642. begin
  40643. pTDefRegMap(@Self)^.&set := $00000004;
  40644. end;
  40645. procedure TOSC_OSCCON.clearUFRCEN; inline;
  40646. begin
  40647. pTDefRegMap(@Self)^.clr := $00000004;
  40648. end;
  40649. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  40650. begin
  40651. if thebits = 0 then
  40652. pTDefRegMap(@Self)^.clr := $00000004
  40653. else
  40654. pTDefRegMap(@Self)^.&set := $00000004;
  40655. end;
  40656. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  40657. begin
  40658. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  40659. end;
  40660. procedure TOSC_OSCCON.setCF; inline;
  40661. begin
  40662. pTDefRegMap(@Self)^.&set := $00000008;
  40663. end;
  40664. procedure TOSC_OSCCON.clearCF; inline;
  40665. begin
  40666. pTDefRegMap(@Self)^.clr := $00000008;
  40667. end;
  40668. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  40669. begin
  40670. if thebits = 0 then
  40671. pTDefRegMap(@Self)^.clr := $00000008
  40672. else
  40673. pTDefRegMap(@Self)^.&set := $00000008;
  40674. end;
  40675. function TOSC_OSCCON.getCF : TBits_1; inline;
  40676. begin
  40677. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  40678. end;
  40679. procedure TOSC_OSCCON.setSLPEN; inline;
  40680. begin
  40681. pTDefRegMap(@Self)^.&set := $00000010;
  40682. end;
  40683. procedure TOSC_OSCCON.clearSLPEN; inline;
  40684. begin
  40685. pTDefRegMap(@Self)^.clr := $00000010;
  40686. end;
  40687. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  40688. begin
  40689. if thebits = 0 then
  40690. pTDefRegMap(@Self)^.clr := $00000010
  40691. else
  40692. pTDefRegMap(@Self)^.&set := $00000010;
  40693. end;
  40694. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  40695. begin
  40696. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  40697. end;
  40698. procedure TOSC_OSCCON.setSLOCK; inline;
  40699. begin
  40700. pTDefRegMap(@Self)^.&set := $00000020;
  40701. end;
  40702. procedure TOSC_OSCCON.clearSLOCK; inline;
  40703. begin
  40704. pTDefRegMap(@Self)^.clr := $00000020;
  40705. end;
  40706. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  40707. begin
  40708. if thebits = 0 then
  40709. pTDefRegMap(@Self)^.clr := $00000020
  40710. else
  40711. pTDefRegMap(@Self)^.&set := $00000020;
  40712. end;
  40713. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  40714. begin
  40715. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  40716. end;
  40717. procedure TOSC_OSCCON.setULOCK; inline;
  40718. begin
  40719. pTDefRegMap(@Self)^.&set := $00000040;
  40720. end;
  40721. procedure TOSC_OSCCON.clearULOCK; inline;
  40722. begin
  40723. pTDefRegMap(@Self)^.clr := $00000040;
  40724. end;
  40725. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  40726. begin
  40727. if thebits = 0 then
  40728. pTDefRegMap(@Self)^.clr := $00000040
  40729. else
  40730. pTDefRegMap(@Self)^.&set := $00000040;
  40731. end;
  40732. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  40733. begin
  40734. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  40735. end;
  40736. procedure TOSC_OSCCON.setCLKLOCK; inline;
  40737. begin
  40738. pTDefRegMap(@Self)^.&set := $00000080;
  40739. end;
  40740. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  40741. begin
  40742. pTDefRegMap(@Self)^.clr := $00000080;
  40743. end;
  40744. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  40745. begin
  40746. if thebits = 0 then
  40747. pTDefRegMap(@Self)^.clr := $00000080
  40748. else
  40749. pTDefRegMap(@Self)^.&set := $00000080;
  40750. end;
  40751. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  40752. begin
  40753. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  40754. end;
  40755. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  40756. begin
  40757. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  40758. end;
  40759. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  40760. begin
  40761. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  40762. end;
  40763. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  40764. begin
  40765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  40766. end;
  40767. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  40768. begin
  40769. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  40770. end;
  40771. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  40772. begin
  40773. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  40774. end;
  40775. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  40776. begin
  40777. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  40778. end;
  40779. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  40780. begin
  40781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  40782. end;
  40783. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  40784. begin
  40785. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  40786. end;
  40787. procedure TOSC_OSCCON.setSOSCRDY; inline;
  40788. begin
  40789. pTDefRegMap(@Self)^.&set := $00400000;
  40790. end;
  40791. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  40792. begin
  40793. pTDefRegMap(@Self)^.clr := $00400000;
  40794. end;
  40795. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  40796. begin
  40797. if thebits = 0 then
  40798. pTDefRegMap(@Self)^.clr := $00400000
  40799. else
  40800. pTDefRegMap(@Self)^.&set := $00400000;
  40801. end;
  40802. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  40803. begin
  40804. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  40805. end;
  40806. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  40807. begin
  40808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  40809. end;
  40810. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  40811. begin
  40812. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  40813. end;
  40814. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  40815. begin
  40816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  40817. end;
  40818. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  40819. begin
  40820. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  40821. end;
  40822. procedure TOSC_OSCCON.setNOSC0; inline;
  40823. begin
  40824. pTDefRegMap(@Self)^.&set := $00000100;
  40825. end;
  40826. procedure TOSC_OSCCON.clearNOSC0; inline;
  40827. begin
  40828. pTDefRegMap(@Self)^.clr := $00000100;
  40829. end;
  40830. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  40831. begin
  40832. if thebits = 0 then
  40833. pTDefRegMap(@Self)^.clr := $00000100
  40834. else
  40835. pTDefRegMap(@Self)^.&set := $00000100;
  40836. end;
  40837. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  40838. begin
  40839. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  40840. end;
  40841. procedure TOSC_OSCCON.setNOSC1; inline;
  40842. begin
  40843. pTDefRegMap(@Self)^.&set := $00000200;
  40844. end;
  40845. procedure TOSC_OSCCON.clearNOSC1; inline;
  40846. begin
  40847. pTDefRegMap(@Self)^.clr := $00000200;
  40848. end;
  40849. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  40850. begin
  40851. if thebits = 0 then
  40852. pTDefRegMap(@Self)^.clr := $00000200
  40853. else
  40854. pTDefRegMap(@Self)^.&set := $00000200;
  40855. end;
  40856. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  40857. begin
  40858. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  40859. end;
  40860. procedure TOSC_OSCCON.setNOSC2; inline;
  40861. begin
  40862. pTDefRegMap(@Self)^.&set := $00000400;
  40863. end;
  40864. procedure TOSC_OSCCON.clearNOSC2; inline;
  40865. begin
  40866. pTDefRegMap(@Self)^.clr := $00000400;
  40867. end;
  40868. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  40869. begin
  40870. if thebits = 0 then
  40871. pTDefRegMap(@Self)^.clr := $00000400
  40872. else
  40873. pTDefRegMap(@Self)^.&set := $00000400;
  40874. end;
  40875. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  40876. begin
  40877. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  40878. end;
  40879. procedure TOSC_OSCCON.setCOSC0; inline;
  40880. begin
  40881. pTDefRegMap(@Self)^.&set := $00001000;
  40882. end;
  40883. procedure TOSC_OSCCON.clearCOSC0; inline;
  40884. begin
  40885. pTDefRegMap(@Self)^.clr := $00001000;
  40886. end;
  40887. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  40888. begin
  40889. if thebits = 0 then
  40890. pTDefRegMap(@Self)^.clr := $00001000
  40891. else
  40892. pTDefRegMap(@Self)^.&set := $00001000;
  40893. end;
  40894. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  40895. begin
  40896. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  40897. end;
  40898. procedure TOSC_OSCCON.setCOSC1; inline;
  40899. begin
  40900. pTDefRegMap(@Self)^.&set := $00002000;
  40901. end;
  40902. procedure TOSC_OSCCON.clearCOSC1; inline;
  40903. begin
  40904. pTDefRegMap(@Self)^.clr := $00002000;
  40905. end;
  40906. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  40907. begin
  40908. if thebits = 0 then
  40909. pTDefRegMap(@Self)^.clr := $00002000
  40910. else
  40911. pTDefRegMap(@Self)^.&set := $00002000;
  40912. end;
  40913. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  40914. begin
  40915. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  40916. end;
  40917. procedure TOSC_OSCCON.setCOSC2; inline;
  40918. begin
  40919. pTDefRegMap(@Self)^.&set := $00004000;
  40920. end;
  40921. procedure TOSC_OSCCON.clearCOSC2; inline;
  40922. begin
  40923. pTDefRegMap(@Self)^.clr := $00004000;
  40924. end;
  40925. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  40926. begin
  40927. if thebits = 0 then
  40928. pTDefRegMap(@Self)^.clr := $00004000
  40929. else
  40930. pTDefRegMap(@Self)^.&set := $00004000;
  40931. end;
  40932. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  40933. begin
  40934. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  40935. end;
  40936. procedure TOSC_OSCCON.setPLLMULT0; inline;
  40937. begin
  40938. pTDefRegMap(@Self)^.&set := $00010000;
  40939. end;
  40940. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  40941. begin
  40942. pTDefRegMap(@Self)^.clr := $00010000;
  40943. end;
  40944. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  40945. begin
  40946. if thebits = 0 then
  40947. pTDefRegMap(@Self)^.clr := $00010000
  40948. else
  40949. pTDefRegMap(@Self)^.&set := $00010000;
  40950. end;
  40951. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  40952. begin
  40953. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  40954. end;
  40955. procedure TOSC_OSCCON.setPLLMULT1; inline;
  40956. begin
  40957. pTDefRegMap(@Self)^.&set := $00020000;
  40958. end;
  40959. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  40960. begin
  40961. pTDefRegMap(@Self)^.clr := $00020000;
  40962. end;
  40963. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  40964. begin
  40965. if thebits = 0 then
  40966. pTDefRegMap(@Self)^.clr := $00020000
  40967. else
  40968. pTDefRegMap(@Self)^.&set := $00020000;
  40969. end;
  40970. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  40971. begin
  40972. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  40973. end;
  40974. procedure TOSC_OSCCON.setPLLMULT2; inline;
  40975. begin
  40976. pTDefRegMap(@Self)^.&set := $00040000;
  40977. end;
  40978. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  40979. begin
  40980. pTDefRegMap(@Self)^.clr := $00040000;
  40981. end;
  40982. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  40983. begin
  40984. if thebits = 0 then
  40985. pTDefRegMap(@Self)^.clr := $00040000
  40986. else
  40987. pTDefRegMap(@Self)^.&set := $00040000;
  40988. end;
  40989. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  40990. begin
  40991. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  40992. end;
  40993. procedure TOSC_OSCCON.setPBDIV0; inline;
  40994. begin
  40995. pTDefRegMap(@Self)^.&set := $00080000;
  40996. end;
  40997. procedure TOSC_OSCCON.clearPBDIV0; inline;
  40998. begin
  40999. pTDefRegMap(@Self)^.clr := $00080000;
  41000. end;
  41001. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  41002. begin
  41003. if thebits = 0 then
  41004. pTDefRegMap(@Self)^.clr := $00080000
  41005. else
  41006. pTDefRegMap(@Self)^.&set := $00080000;
  41007. end;
  41008. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  41009. begin
  41010. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  41011. end;
  41012. procedure TOSC_OSCCON.setPBDIV1; inline;
  41013. begin
  41014. pTDefRegMap(@Self)^.&set := $00100000;
  41015. end;
  41016. procedure TOSC_OSCCON.clearPBDIV1; inline;
  41017. begin
  41018. pTDefRegMap(@Self)^.clr := $00100000;
  41019. end;
  41020. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  41021. begin
  41022. if thebits = 0 then
  41023. pTDefRegMap(@Self)^.clr := $00100000
  41024. else
  41025. pTDefRegMap(@Self)^.&set := $00100000;
  41026. end;
  41027. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  41028. begin
  41029. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  41030. end;
  41031. procedure TOSC_OSCCON.setFRCDIV0; inline;
  41032. begin
  41033. pTDefRegMap(@Self)^.&set := $01000000;
  41034. end;
  41035. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  41036. begin
  41037. pTDefRegMap(@Self)^.clr := $01000000;
  41038. end;
  41039. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  41040. begin
  41041. if thebits = 0 then
  41042. pTDefRegMap(@Self)^.clr := $01000000
  41043. else
  41044. pTDefRegMap(@Self)^.&set := $01000000;
  41045. end;
  41046. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  41047. begin
  41048. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  41049. end;
  41050. procedure TOSC_OSCCON.setFRCDIV1; inline;
  41051. begin
  41052. pTDefRegMap(@Self)^.&set := $02000000;
  41053. end;
  41054. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  41055. begin
  41056. pTDefRegMap(@Self)^.clr := $02000000;
  41057. end;
  41058. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  41059. begin
  41060. if thebits = 0 then
  41061. pTDefRegMap(@Self)^.clr := $02000000
  41062. else
  41063. pTDefRegMap(@Self)^.&set := $02000000;
  41064. end;
  41065. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  41066. begin
  41067. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  41068. end;
  41069. procedure TOSC_OSCCON.setFRCDIV2; inline;
  41070. begin
  41071. pTDefRegMap(@Self)^.&set := $04000000;
  41072. end;
  41073. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  41074. begin
  41075. pTDefRegMap(@Self)^.clr := $04000000;
  41076. end;
  41077. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  41078. begin
  41079. if thebits = 0 then
  41080. pTDefRegMap(@Self)^.clr := $04000000
  41081. else
  41082. pTDefRegMap(@Self)^.&set := $04000000;
  41083. end;
  41084. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  41085. begin
  41086. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  41087. end;
  41088. procedure TOSC_OSCCON.setPLLODIV0; inline;
  41089. begin
  41090. pTDefRegMap(@Self)^.&set := $08000000;
  41091. end;
  41092. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  41093. begin
  41094. pTDefRegMap(@Self)^.clr := $08000000;
  41095. end;
  41096. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  41097. begin
  41098. if thebits = 0 then
  41099. pTDefRegMap(@Self)^.clr := $08000000
  41100. else
  41101. pTDefRegMap(@Self)^.&set := $08000000;
  41102. end;
  41103. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  41104. begin
  41105. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  41106. end;
  41107. procedure TOSC_OSCCON.setPLLODIV1; inline;
  41108. begin
  41109. pTDefRegMap(@Self)^.&set := $10000000;
  41110. end;
  41111. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  41112. begin
  41113. pTDefRegMap(@Self)^.clr := $10000000;
  41114. end;
  41115. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  41116. begin
  41117. if thebits = 0 then
  41118. pTDefRegMap(@Self)^.clr := $10000000
  41119. else
  41120. pTDefRegMap(@Self)^.&set := $10000000;
  41121. end;
  41122. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  41123. begin
  41124. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  41125. end;
  41126. procedure TOSC_OSCCON.setPLLODIV2; inline;
  41127. begin
  41128. pTDefRegMap(@Self)^.&set := $20000000;
  41129. end;
  41130. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  41131. begin
  41132. pTDefRegMap(@Self)^.clr := $20000000;
  41133. end;
  41134. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  41135. begin
  41136. if thebits = 0 then
  41137. pTDefRegMap(@Self)^.clr := $20000000
  41138. else
  41139. pTDefRegMap(@Self)^.&set := $20000000;
  41140. end;
  41141. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  41142. begin
  41143. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  41144. end;
  41145. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  41146. begin
  41147. pTDefRegMap(@Self)^.val := thebits;
  41148. end;
  41149. function TOSC_OSCCON.getw : TBits_32; inline;
  41150. begin
  41151. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41152. end;
  41153. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  41154. begin
  41155. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  41156. end;
  41157. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  41158. begin
  41159. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  41160. end;
  41161. procedure TOSC_OSCTUN.setTUN0; inline;
  41162. begin
  41163. pTDefRegMap(@Self)^.&set := $00000001;
  41164. end;
  41165. procedure TOSC_OSCTUN.clearTUN0; inline;
  41166. begin
  41167. pTDefRegMap(@Self)^.clr := $00000001;
  41168. end;
  41169. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  41170. begin
  41171. if thebits = 0 then
  41172. pTDefRegMap(@Self)^.clr := $00000001
  41173. else
  41174. pTDefRegMap(@Self)^.&set := $00000001;
  41175. end;
  41176. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  41177. begin
  41178. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41179. end;
  41180. procedure TOSC_OSCTUN.setTUN1; inline;
  41181. begin
  41182. pTDefRegMap(@Self)^.&set := $00000002;
  41183. end;
  41184. procedure TOSC_OSCTUN.clearTUN1; inline;
  41185. begin
  41186. pTDefRegMap(@Self)^.clr := $00000002;
  41187. end;
  41188. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  41189. begin
  41190. if thebits = 0 then
  41191. pTDefRegMap(@Self)^.clr := $00000002
  41192. else
  41193. pTDefRegMap(@Self)^.&set := $00000002;
  41194. end;
  41195. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  41196. begin
  41197. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41198. end;
  41199. procedure TOSC_OSCTUN.setTUN2; inline;
  41200. begin
  41201. pTDefRegMap(@Self)^.&set := $00000004;
  41202. end;
  41203. procedure TOSC_OSCTUN.clearTUN2; inline;
  41204. begin
  41205. pTDefRegMap(@Self)^.clr := $00000004;
  41206. end;
  41207. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  41208. begin
  41209. if thebits = 0 then
  41210. pTDefRegMap(@Self)^.clr := $00000004
  41211. else
  41212. pTDefRegMap(@Self)^.&set := $00000004;
  41213. end;
  41214. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  41215. begin
  41216. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41217. end;
  41218. procedure TOSC_OSCTUN.setTUN3; inline;
  41219. begin
  41220. pTDefRegMap(@Self)^.&set := $00000008;
  41221. end;
  41222. procedure TOSC_OSCTUN.clearTUN3; inline;
  41223. begin
  41224. pTDefRegMap(@Self)^.clr := $00000008;
  41225. end;
  41226. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  41227. begin
  41228. if thebits = 0 then
  41229. pTDefRegMap(@Self)^.clr := $00000008
  41230. else
  41231. pTDefRegMap(@Self)^.&set := $00000008;
  41232. end;
  41233. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  41234. begin
  41235. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41236. end;
  41237. procedure TOSC_OSCTUN.setTUN4; inline;
  41238. begin
  41239. pTDefRegMap(@Self)^.&set := $00000010;
  41240. end;
  41241. procedure TOSC_OSCTUN.clearTUN4; inline;
  41242. begin
  41243. pTDefRegMap(@Self)^.clr := $00000010;
  41244. end;
  41245. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  41246. begin
  41247. if thebits = 0 then
  41248. pTDefRegMap(@Self)^.clr := $00000010
  41249. else
  41250. pTDefRegMap(@Self)^.&set := $00000010;
  41251. end;
  41252. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  41253. begin
  41254. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41255. end;
  41256. procedure TOSC_OSCTUN.setTUN5; inline;
  41257. begin
  41258. pTDefRegMap(@Self)^.&set := $00000020;
  41259. end;
  41260. procedure TOSC_OSCTUN.clearTUN5; inline;
  41261. begin
  41262. pTDefRegMap(@Self)^.clr := $00000020;
  41263. end;
  41264. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  41265. begin
  41266. if thebits = 0 then
  41267. pTDefRegMap(@Self)^.clr := $00000020
  41268. else
  41269. pTDefRegMap(@Self)^.&set := $00000020;
  41270. end;
  41271. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  41272. begin
  41273. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  41274. end;
  41275. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  41276. begin
  41277. pTDefRegMap(@Self)^.val := thebits;
  41278. end;
  41279. function TOSC_OSCTUN.getw : TBits_32; inline;
  41280. begin
  41281. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41282. end;
  41283. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  41284. begin
  41285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  41286. end;
  41287. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  41288. begin
  41289. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  41290. end;
  41291. procedure TNVM_NVMCON.setLVDSTAT; inline;
  41292. begin
  41293. pTDefRegMap(@Self)^.&set := $00000800;
  41294. end;
  41295. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  41296. begin
  41297. pTDefRegMap(@Self)^.clr := $00000800;
  41298. end;
  41299. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  41300. begin
  41301. if thebits = 0 then
  41302. pTDefRegMap(@Self)^.clr := $00000800
  41303. else
  41304. pTDefRegMap(@Self)^.&set := $00000800;
  41305. end;
  41306. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  41307. begin
  41308. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  41309. end;
  41310. procedure TNVM_NVMCON.setLVDERR; inline;
  41311. begin
  41312. pTDefRegMap(@Self)^.&set := $00001000;
  41313. end;
  41314. procedure TNVM_NVMCON.clearLVDERR; inline;
  41315. begin
  41316. pTDefRegMap(@Self)^.clr := $00001000;
  41317. end;
  41318. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  41319. begin
  41320. if thebits = 0 then
  41321. pTDefRegMap(@Self)^.clr := $00001000
  41322. else
  41323. pTDefRegMap(@Self)^.&set := $00001000;
  41324. end;
  41325. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  41326. begin
  41327. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41328. end;
  41329. procedure TNVM_NVMCON.setWRERR; inline;
  41330. begin
  41331. pTDefRegMap(@Self)^.&set := $00002000;
  41332. end;
  41333. procedure TNVM_NVMCON.clearWRERR; inline;
  41334. begin
  41335. pTDefRegMap(@Self)^.clr := $00002000;
  41336. end;
  41337. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  41338. begin
  41339. if thebits = 0 then
  41340. pTDefRegMap(@Self)^.clr := $00002000
  41341. else
  41342. pTDefRegMap(@Self)^.&set := $00002000;
  41343. end;
  41344. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  41345. begin
  41346. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  41347. end;
  41348. procedure TNVM_NVMCON.setWREN; inline;
  41349. begin
  41350. pTDefRegMap(@Self)^.&set := $00004000;
  41351. end;
  41352. procedure TNVM_NVMCON.clearWREN; inline;
  41353. begin
  41354. pTDefRegMap(@Self)^.clr := $00004000;
  41355. end;
  41356. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  41357. begin
  41358. if thebits = 0 then
  41359. pTDefRegMap(@Self)^.clr := $00004000
  41360. else
  41361. pTDefRegMap(@Self)^.&set := $00004000;
  41362. end;
  41363. function TNVM_NVMCON.getWREN : TBits_1; inline;
  41364. begin
  41365. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41366. end;
  41367. procedure TNVM_NVMCON.setWR; inline;
  41368. begin
  41369. pTDefRegMap(@Self)^.&set := $00008000;
  41370. end;
  41371. procedure TNVM_NVMCON.clearWR; inline;
  41372. begin
  41373. pTDefRegMap(@Self)^.clr := $00008000;
  41374. end;
  41375. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  41376. begin
  41377. if thebits = 0 then
  41378. pTDefRegMap(@Self)^.clr := $00008000
  41379. else
  41380. pTDefRegMap(@Self)^.&set := $00008000;
  41381. end;
  41382. function TNVM_NVMCON.getWR : TBits_1; inline;
  41383. begin
  41384. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  41385. end;
  41386. procedure TNVM_NVMCON.setNVMOP0; inline;
  41387. begin
  41388. pTDefRegMap(@Self)^.&set := $00000001;
  41389. end;
  41390. procedure TNVM_NVMCON.clearNVMOP0; inline;
  41391. begin
  41392. pTDefRegMap(@Self)^.clr := $00000001;
  41393. end;
  41394. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  41395. begin
  41396. if thebits = 0 then
  41397. pTDefRegMap(@Self)^.clr := $00000001
  41398. else
  41399. pTDefRegMap(@Self)^.&set := $00000001;
  41400. end;
  41401. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  41402. begin
  41403. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41404. end;
  41405. procedure TNVM_NVMCON.setNVMOP1; inline;
  41406. begin
  41407. pTDefRegMap(@Self)^.&set := $00000002;
  41408. end;
  41409. procedure TNVM_NVMCON.clearNVMOP1; inline;
  41410. begin
  41411. pTDefRegMap(@Self)^.clr := $00000002;
  41412. end;
  41413. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  41414. begin
  41415. if thebits = 0 then
  41416. pTDefRegMap(@Self)^.clr := $00000002
  41417. else
  41418. pTDefRegMap(@Self)^.&set := $00000002;
  41419. end;
  41420. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  41421. begin
  41422. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41423. end;
  41424. procedure TNVM_NVMCON.setNVMOP2; inline;
  41425. begin
  41426. pTDefRegMap(@Self)^.&set := $00000004;
  41427. end;
  41428. procedure TNVM_NVMCON.clearNVMOP2; inline;
  41429. begin
  41430. pTDefRegMap(@Self)^.clr := $00000004;
  41431. end;
  41432. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  41433. begin
  41434. if thebits = 0 then
  41435. pTDefRegMap(@Self)^.clr := $00000004
  41436. else
  41437. pTDefRegMap(@Self)^.&set := $00000004;
  41438. end;
  41439. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  41440. begin
  41441. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41442. end;
  41443. procedure TNVM_NVMCON.setNVMOP3; inline;
  41444. begin
  41445. pTDefRegMap(@Self)^.&set := $00000008;
  41446. end;
  41447. procedure TNVM_NVMCON.clearNVMOP3; inline;
  41448. begin
  41449. pTDefRegMap(@Self)^.clr := $00000008;
  41450. end;
  41451. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  41452. begin
  41453. if thebits = 0 then
  41454. pTDefRegMap(@Self)^.clr := $00000008
  41455. else
  41456. pTDefRegMap(@Self)^.&set := $00000008;
  41457. end;
  41458. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  41459. begin
  41460. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41461. end;
  41462. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  41463. begin
  41464. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  41465. end;
  41466. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  41467. begin
  41468. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  41469. end;
  41470. procedure TNVM_NVMCON.setPROGOP0; inline;
  41471. begin
  41472. pTDefRegMap(@Self)^.&set := $00000001;
  41473. end;
  41474. procedure TNVM_NVMCON.clearPROGOP0; inline;
  41475. begin
  41476. pTDefRegMap(@Self)^.clr := $00000001;
  41477. end;
  41478. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  41479. begin
  41480. if thebits = 0 then
  41481. pTDefRegMap(@Self)^.clr := $00000001
  41482. else
  41483. pTDefRegMap(@Self)^.&set := $00000001;
  41484. end;
  41485. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  41486. begin
  41487. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41488. end;
  41489. procedure TNVM_NVMCON.setPROGOP1; inline;
  41490. begin
  41491. pTDefRegMap(@Self)^.&set := $00000002;
  41492. end;
  41493. procedure TNVM_NVMCON.clearPROGOP1; inline;
  41494. begin
  41495. pTDefRegMap(@Self)^.clr := $00000002;
  41496. end;
  41497. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  41498. begin
  41499. if thebits = 0 then
  41500. pTDefRegMap(@Self)^.clr := $00000002
  41501. else
  41502. pTDefRegMap(@Self)^.&set := $00000002;
  41503. end;
  41504. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  41505. begin
  41506. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41507. end;
  41508. procedure TNVM_NVMCON.setPROGOP2; inline;
  41509. begin
  41510. pTDefRegMap(@Self)^.&set := $00000004;
  41511. end;
  41512. procedure TNVM_NVMCON.clearPROGOP2; inline;
  41513. begin
  41514. pTDefRegMap(@Self)^.clr := $00000004;
  41515. end;
  41516. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  41517. begin
  41518. if thebits = 0 then
  41519. pTDefRegMap(@Self)^.clr := $00000004
  41520. else
  41521. pTDefRegMap(@Self)^.&set := $00000004;
  41522. end;
  41523. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  41524. begin
  41525. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41526. end;
  41527. procedure TNVM_NVMCON.setPROGOP3; inline;
  41528. begin
  41529. pTDefRegMap(@Self)^.&set := $00000008;
  41530. end;
  41531. procedure TNVM_NVMCON.clearPROGOP3; inline;
  41532. begin
  41533. pTDefRegMap(@Self)^.clr := $00000008;
  41534. end;
  41535. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  41536. begin
  41537. if thebits = 0 then
  41538. pTDefRegMap(@Self)^.clr := $00000008
  41539. else
  41540. pTDefRegMap(@Self)^.&set := $00000008;
  41541. end;
  41542. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  41543. begin
  41544. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41545. end;
  41546. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  41547. begin
  41548. pTDefRegMap(@Self)^.val := thebits;
  41549. end;
  41550. function TNVM_NVMCON.getw : TBits_32; inline;
  41551. begin
  41552. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41553. end;
  41554. procedure TRCON_RCON.setPOR; inline;
  41555. begin
  41556. pTDefRegMap(@Self)^.&set := $00000001;
  41557. end;
  41558. procedure TRCON_RCON.clearPOR; inline;
  41559. begin
  41560. pTDefRegMap(@Self)^.clr := $00000001;
  41561. end;
  41562. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  41563. begin
  41564. if thebits = 0 then
  41565. pTDefRegMap(@Self)^.clr := $00000001
  41566. else
  41567. pTDefRegMap(@Self)^.&set := $00000001;
  41568. end;
  41569. function TRCON_RCON.getPOR : TBits_1; inline;
  41570. begin
  41571. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41572. end;
  41573. procedure TRCON_RCON.setBOR; inline;
  41574. begin
  41575. pTDefRegMap(@Self)^.&set := $00000002;
  41576. end;
  41577. procedure TRCON_RCON.clearBOR; inline;
  41578. begin
  41579. pTDefRegMap(@Self)^.clr := $00000002;
  41580. end;
  41581. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  41582. begin
  41583. if thebits = 0 then
  41584. pTDefRegMap(@Self)^.clr := $00000002
  41585. else
  41586. pTDefRegMap(@Self)^.&set := $00000002;
  41587. end;
  41588. function TRCON_RCON.getBOR : TBits_1; inline;
  41589. begin
  41590. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41591. end;
  41592. procedure TRCON_RCON.setIDLE; inline;
  41593. begin
  41594. pTDefRegMap(@Self)^.&set := $00000004;
  41595. end;
  41596. procedure TRCON_RCON.clearIDLE; inline;
  41597. begin
  41598. pTDefRegMap(@Self)^.clr := $00000004;
  41599. end;
  41600. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  41601. begin
  41602. if thebits = 0 then
  41603. pTDefRegMap(@Self)^.clr := $00000004
  41604. else
  41605. pTDefRegMap(@Self)^.&set := $00000004;
  41606. end;
  41607. function TRCON_RCON.getIDLE : TBits_1; inline;
  41608. begin
  41609. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41610. end;
  41611. procedure TRCON_RCON.setSLEEP; inline;
  41612. begin
  41613. pTDefRegMap(@Self)^.&set := $00000008;
  41614. end;
  41615. procedure TRCON_RCON.clearSLEEP; inline;
  41616. begin
  41617. pTDefRegMap(@Self)^.clr := $00000008;
  41618. end;
  41619. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  41620. begin
  41621. if thebits = 0 then
  41622. pTDefRegMap(@Self)^.clr := $00000008
  41623. else
  41624. pTDefRegMap(@Self)^.&set := $00000008;
  41625. end;
  41626. function TRCON_RCON.getSLEEP : TBits_1; inline;
  41627. begin
  41628. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41629. end;
  41630. procedure TRCON_RCON.setWDTO; inline;
  41631. begin
  41632. pTDefRegMap(@Self)^.&set := $00000010;
  41633. end;
  41634. procedure TRCON_RCON.clearWDTO; inline;
  41635. begin
  41636. pTDefRegMap(@Self)^.clr := $00000010;
  41637. end;
  41638. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  41639. begin
  41640. if thebits = 0 then
  41641. pTDefRegMap(@Self)^.clr := $00000010
  41642. else
  41643. pTDefRegMap(@Self)^.&set := $00000010;
  41644. end;
  41645. function TRCON_RCON.getWDTO : TBits_1; inline;
  41646. begin
  41647. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41648. end;
  41649. procedure TRCON_RCON.setSWR; inline;
  41650. begin
  41651. pTDefRegMap(@Self)^.&set := $00000040;
  41652. end;
  41653. procedure TRCON_RCON.clearSWR; inline;
  41654. begin
  41655. pTDefRegMap(@Self)^.clr := $00000040;
  41656. end;
  41657. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  41658. begin
  41659. if thebits = 0 then
  41660. pTDefRegMap(@Self)^.clr := $00000040
  41661. else
  41662. pTDefRegMap(@Self)^.&set := $00000040;
  41663. end;
  41664. function TRCON_RCON.getSWR : TBits_1; inline;
  41665. begin
  41666. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  41667. end;
  41668. procedure TRCON_RCON.setEXTR; inline;
  41669. begin
  41670. pTDefRegMap(@Self)^.&set := $00000080;
  41671. end;
  41672. procedure TRCON_RCON.clearEXTR; inline;
  41673. begin
  41674. pTDefRegMap(@Self)^.clr := $00000080;
  41675. end;
  41676. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  41677. begin
  41678. if thebits = 0 then
  41679. pTDefRegMap(@Self)^.clr := $00000080
  41680. else
  41681. pTDefRegMap(@Self)^.&set := $00000080;
  41682. end;
  41683. function TRCON_RCON.getEXTR : TBits_1; inline;
  41684. begin
  41685. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  41686. end;
  41687. procedure TRCON_RCON.setVREGS; inline;
  41688. begin
  41689. pTDefRegMap(@Self)^.&set := $00000100;
  41690. end;
  41691. procedure TRCON_RCON.clearVREGS; inline;
  41692. begin
  41693. pTDefRegMap(@Self)^.clr := $00000100;
  41694. end;
  41695. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  41696. begin
  41697. if thebits = 0 then
  41698. pTDefRegMap(@Self)^.clr := $00000100
  41699. else
  41700. pTDefRegMap(@Self)^.&set := $00000100;
  41701. end;
  41702. function TRCON_RCON.getVREGS : TBits_1; inline;
  41703. begin
  41704. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  41705. end;
  41706. procedure TRCON_RCON.setCMR; inline;
  41707. begin
  41708. pTDefRegMap(@Self)^.&set := $00000200;
  41709. end;
  41710. procedure TRCON_RCON.clearCMR; inline;
  41711. begin
  41712. pTDefRegMap(@Self)^.clr := $00000200;
  41713. end;
  41714. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  41715. begin
  41716. if thebits = 0 then
  41717. pTDefRegMap(@Self)^.clr := $00000200
  41718. else
  41719. pTDefRegMap(@Self)^.&set := $00000200;
  41720. end;
  41721. function TRCON_RCON.getCMR : TBits_1; inline;
  41722. begin
  41723. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  41724. end;
  41725. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  41726. begin
  41727. pTDefRegMap(@Self)^.val := thebits;
  41728. end;
  41729. function TRCON_RCON.getw : TBits_32; inline;
  41730. begin
  41731. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41732. end;
  41733. procedure TRCON_RSWRST.setSWRST; inline;
  41734. begin
  41735. pTDefRegMap(@Self)^.&set := $00000001;
  41736. end;
  41737. procedure TRCON_RSWRST.clearSWRST; inline;
  41738. begin
  41739. pTDefRegMap(@Self)^.clr := $00000001;
  41740. end;
  41741. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  41742. begin
  41743. if thebits = 0 then
  41744. pTDefRegMap(@Self)^.clr := $00000001
  41745. else
  41746. pTDefRegMap(@Self)^.&set := $00000001;
  41747. end;
  41748. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  41749. begin
  41750. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41751. end;
  41752. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  41753. begin
  41754. pTDefRegMap(@Self)^.val := thebits;
  41755. end;
  41756. function TRCON_RSWRST.getw : TBits_32; inline;
  41757. begin
  41758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41759. end;
  41760. procedure TINT_INTCON.setINT0EP; inline;
  41761. begin
  41762. pTDefRegMap(@Self)^.&set := $00000001;
  41763. end;
  41764. procedure TINT_INTCON.clearINT0EP; inline;
  41765. begin
  41766. pTDefRegMap(@Self)^.clr := $00000001;
  41767. end;
  41768. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  41769. begin
  41770. if thebits = 0 then
  41771. pTDefRegMap(@Self)^.clr := $00000001
  41772. else
  41773. pTDefRegMap(@Self)^.&set := $00000001;
  41774. end;
  41775. function TINT_INTCON.getINT0EP : TBits_1; inline;
  41776. begin
  41777. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41778. end;
  41779. procedure TINT_INTCON.setINT1EP; inline;
  41780. begin
  41781. pTDefRegMap(@Self)^.&set := $00000002;
  41782. end;
  41783. procedure TINT_INTCON.clearINT1EP; inline;
  41784. begin
  41785. pTDefRegMap(@Self)^.clr := $00000002;
  41786. end;
  41787. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  41788. begin
  41789. if thebits = 0 then
  41790. pTDefRegMap(@Self)^.clr := $00000002
  41791. else
  41792. pTDefRegMap(@Self)^.&set := $00000002;
  41793. end;
  41794. function TINT_INTCON.getINT1EP : TBits_1; inline;
  41795. begin
  41796. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41797. end;
  41798. procedure TINT_INTCON.setINT2EP; inline;
  41799. begin
  41800. pTDefRegMap(@Self)^.&set := $00000004;
  41801. end;
  41802. procedure TINT_INTCON.clearINT2EP; inline;
  41803. begin
  41804. pTDefRegMap(@Self)^.clr := $00000004;
  41805. end;
  41806. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  41807. begin
  41808. if thebits = 0 then
  41809. pTDefRegMap(@Self)^.clr := $00000004
  41810. else
  41811. pTDefRegMap(@Self)^.&set := $00000004;
  41812. end;
  41813. function TINT_INTCON.getINT2EP : TBits_1; inline;
  41814. begin
  41815. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41816. end;
  41817. procedure TINT_INTCON.setINT3EP; inline;
  41818. begin
  41819. pTDefRegMap(@Self)^.&set := $00000008;
  41820. end;
  41821. procedure TINT_INTCON.clearINT3EP; inline;
  41822. begin
  41823. pTDefRegMap(@Self)^.clr := $00000008;
  41824. end;
  41825. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  41826. begin
  41827. if thebits = 0 then
  41828. pTDefRegMap(@Self)^.clr := $00000008
  41829. else
  41830. pTDefRegMap(@Self)^.&set := $00000008;
  41831. end;
  41832. function TINT_INTCON.getINT3EP : TBits_1; inline;
  41833. begin
  41834. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  41835. end;
  41836. procedure TINT_INTCON.setINT4EP; inline;
  41837. begin
  41838. pTDefRegMap(@Self)^.&set := $00000010;
  41839. end;
  41840. procedure TINT_INTCON.clearINT4EP; inline;
  41841. begin
  41842. pTDefRegMap(@Self)^.clr := $00000010;
  41843. end;
  41844. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  41845. begin
  41846. if thebits = 0 then
  41847. pTDefRegMap(@Self)^.clr := $00000010
  41848. else
  41849. pTDefRegMap(@Self)^.&set := $00000010;
  41850. end;
  41851. function TINT_INTCON.getINT4EP : TBits_1; inline;
  41852. begin
  41853. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  41854. end;
  41855. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  41856. begin
  41857. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  41858. end;
  41859. function TINT_INTCON.getTPC : TBits_3; inline;
  41860. begin
  41861. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  41862. end;
  41863. procedure TINT_INTCON.setMVEC; inline;
  41864. begin
  41865. pTDefRegMap(@Self)^.&set := $00001000;
  41866. end;
  41867. procedure TINT_INTCON.clearMVEC; inline;
  41868. begin
  41869. pTDefRegMap(@Self)^.clr := $00001000;
  41870. end;
  41871. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  41872. begin
  41873. if thebits = 0 then
  41874. pTDefRegMap(@Self)^.clr := $00001000
  41875. else
  41876. pTDefRegMap(@Self)^.&set := $00001000;
  41877. end;
  41878. function TINT_INTCON.getMVEC : TBits_1; inline;
  41879. begin
  41880. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  41881. end;
  41882. procedure TINT_INTCON.setFRZ; inline;
  41883. begin
  41884. pTDefRegMap(@Self)^.&set := $00004000;
  41885. end;
  41886. procedure TINT_INTCON.clearFRZ; inline;
  41887. begin
  41888. pTDefRegMap(@Self)^.clr := $00004000;
  41889. end;
  41890. procedure TINT_INTCON.setFRZ(thebits : TBits_1); inline;
  41891. begin
  41892. if thebits = 0 then
  41893. pTDefRegMap(@Self)^.clr := $00004000
  41894. else
  41895. pTDefRegMap(@Self)^.&set := $00004000;
  41896. end;
  41897. function TINT_INTCON.getFRZ : TBits_1; inline;
  41898. begin
  41899. getFRZ := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  41900. end;
  41901. procedure TINT_INTCON.setSS0; inline;
  41902. begin
  41903. pTDefRegMap(@Self)^.&set := $00010000;
  41904. end;
  41905. procedure TINT_INTCON.clearSS0; inline;
  41906. begin
  41907. pTDefRegMap(@Self)^.clr := $00010000;
  41908. end;
  41909. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  41910. begin
  41911. if thebits = 0 then
  41912. pTDefRegMap(@Self)^.clr := $00010000
  41913. else
  41914. pTDefRegMap(@Self)^.&set := $00010000;
  41915. end;
  41916. function TINT_INTCON.getSS0 : TBits_1; inline;
  41917. begin
  41918. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  41919. end;
  41920. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  41921. begin
  41922. pTDefRegMap(@Self)^.val := thebits;
  41923. end;
  41924. function TINT_INTCON.getw : TBits_32; inline;
  41925. begin
  41926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  41927. end;
  41928. procedure TINT_IFS0.setCTIF; inline;
  41929. begin
  41930. pTDefRegMap(@Self)^.&set := $00000001;
  41931. end;
  41932. procedure TINT_IFS0.clearCTIF; inline;
  41933. begin
  41934. pTDefRegMap(@Self)^.clr := $00000001;
  41935. end;
  41936. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  41937. begin
  41938. if thebits = 0 then
  41939. pTDefRegMap(@Self)^.clr := $00000001
  41940. else
  41941. pTDefRegMap(@Self)^.&set := $00000001;
  41942. end;
  41943. function TINT_IFS0.getCTIF : TBits_1; inline;
  41944. begin
  41945. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  41946. end;
  41947. procedure TINT_IFS0.setCS0IF; inline;
  41948. begin
  41949. pTDefRegMap(@Self)^.&set := $00000002;
  41950. end;
  41951. procedure TINT_IFS0.clearCS0IF; inline;
  41952. begin
  41953. pTDefRegMap(@Self)^.clr := $00000002;
  41954. end;
  41955. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  41956. begin
  41957. if thebits = 0 then
  41958. pTDefRegMap(@Self)^.clr := $00000002
  41959. else
  41960. pTDefRegMap(@Self)^.&set := $00000002;
  41961. end;
  41962. function TINT_IFS0.getCS0IF : TBits_1; inline;
  41963. begin
  41964. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  41965. end;
  41966. procedure TINT_IFS0.setCS1IF; inline;
  41967. begin
  41968. pTDefRegMap(@Self)^.&set := $00000004;
  41969. end;
  41970. procedure TINT_IFS0.clearCS1IF; inline;
  41971. begin
  41972. pTDefRegMap(@Self)^.clr := $00000004;
  41973. end;
  41974. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  41975. begin
  41976. if thebits = 0 then
  41977. pTDefRegMap(@Self)^.clr := $00000004
  41978. else
  41979. pTDefRegMap(@Self)^.&set := $00000004;
  41980. end;
  41981. function TINT_IFS0.getCS1IF : TBits_1; inline;
  41982. begin
  41983. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  41984. end;
  41985. procedure TINT_IFS0.setINT0IF; inline;
  41986. begin
  41987. pTDefRegMap(@Self)^.&set := $00000008;
  41988. end;
  41989. procedure TINT_IFS0.clearINT0IF; inline;
  41990. begin
  41991. pTDefRegMap(@Self)^.clr := $00000008;
  41992. end;
  41993. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  41994. begin
  41995. if thebits = 0 then
  41996. pTDefRegMap(@Self)^.clr := $00000008
  41997. else
  41998. pTDefRegMap(@Self)^.&set := $00000008;
  41999. end;
  42000. function TINT_IFS0.getINT0IF : TBits_1; inline;
  42001. begin
  42002. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42003. end;
  42004. procedure TINT_IFS0.setT1IF; inline;
  42005. begin
  42006. pTDefRegMap(@Self)^.&set := $00000010;
  42007. end;
  42008. procedure TINT_IFS0.clearT1IF; inline;
  42009. begin
  42010. pTDefRegMap(@Self)^.clr := $00000010;
  42011. end;
  42012. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  42013. begin
  42014. if thebits = 0 then
  42015. pTDefRegMap(@Self)^.clr := $00000010
  42016. else
  42017. pTDefRegMap(@Self)^.&set := $00000010;
  42018. end;
  42019. function TINT_IFS0.getT1IF : TBits_1; inline;
  42020. begin
  42021. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42022. end;
  42023. procedure TINT_IFS0.setIC1IF; inline;
  42024. begin
  42025. pTDefRegMap(@Self)^.&set := $00000020;
  42026. end;
  42027. procedure TINT_IFS0.clearIC1IF; inline;
  42028. begin
  42029. pTDefRegMap(@Self)^.clr := $00000020;
  42030. end;
  42031. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  42032. begin
  42033. if thebits = 0 then
  42034. pTDefRegMap(@Self)^.clr := $00000020
  42035. else
  42036. pTDefRegMap(@Self)^.&set := $00000020;
  42037. end;
  42038. function TINT_IFS0.getIC1IF : TBits_1; inline;
  42039. begin
  42040. getIC1IF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42041. end;
  42042. procedure TINT_IFS0.setOC1IF; inline;
  42043. begin
  42044. pTDefRegMap(@Self)^.&set := $00000040;
  42045. end;
  42046. procedure TINT_IFS0.clearOC1IF; inline;
  42047. begin
  42048. pTDefRegMap(@Self)^.clr := $00000040;
  42049. end;
  42050. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  42051. begin
  42052. if thebits = 0 then
  42053. pTDefRegMap(@Self)^.clr := $00000040
  42054. else
  42055. pTDefRegMap(@Self)^.&set := $00000040;
  42056. end;
  42057. function TINT_IFS0.getOC1IF : TBits_1; inline;
  42058. begin
  42059. getOC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42060. end;
  42061. procedure TINT_IFS0.setINT1IF; inline;
  42062. begin
  42063. pTDefRegMap(@Self)^.&set := $00000080;
  42064. end;
  42065. procedure TINT_IFS0.clearINT1IF; inline;
  42066. begin
  42067. pTDefRegMap(@Self)^.clr := $00000080;
  42068. end;
  42069. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  42070. begin
  42071. if thebits = 0 then
  42072. pTDefRegMap(@Self)^.clr := $00000080
  42073. else
  42074. pTDefRegMap(@Self)^.&set := $00000080;
  42075. end;
  42076. function TINT_IFS0.getINT1IF : TBits_1; inline;
  42077. begin
  42078. getINT1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42079. end;
  42080. procedure TINT_IFS0.setT2IF; inline;
  42081. begin
  42082. pTDefRegMap(@Self)^.&set := $00000100;
  42083. end;
  42084. procedure TINT_IFS0.clearT2IF; inline;
  42085. begin
  42086. pTDefRegMap(@Self)^.clr := $00000100;
  42087. end;
  42088. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  42089. begin
  42090. if thebits = 0 then
  42091. pTDefRegMap(@Self)^.clr := $00000100
  42092. else
  42093. pTDefRegMap(@Self)^.&set := $00000100;
  42094. end;
  42095. function TINT_IFS0.getT2IF : TBits_1; inline;
  42096. begin
  42097. getT2IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42098. end;
  42099. procedure TINT_IFS0.setIC2IF; inline;
  42100. begin
  42101. pTDefRegMap(@Self)^.&set := $00000200;
  42102. end;
  42103. procedure TINT_IFS0.clearIC2IF; inline;
  42104. begin
  42105. pTDefRegMap(@Self)^.clr := $00000200;
  42106. end;
  42107. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  42108. begin
  42109. if thebits = 0 then
  42110. pTDefRegMap(@Self)^.clr := $00000200
  42111. else
  42112. pTDefRegMap(@Self)^.&set := $00000200;
  42113. end;
  42114. function TINT_IFS0.getIC2IF : TBits_1; inline;
  42115. begin
  42116. getIC2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  42117. end;
  42118. procedure TINT_IFS0.setOC2IF; inline;
  42119. begin
  42120. pTDefRegMap(@Self)^.&set := $00000400;
  42121. end;
  42122. procedure TINT_IFS0.clearOC2IF; inline;
  42123. begin
  42124. pTDefRegMap(@Self)^.clr := $00000400;
  42125. end;
  42126. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  42127. begin
  42128. if thebits = 0 then
  42129. pTDefRegMap(@Self)^.clr := $00000400
  42130. else
  42131. pTDefRegMap(@Self)^.&set := $00000400;
  42132. end;
  42133. function TINT_IFS0.getOC2IF : TBits_1; inline;
  42134. begin
  42135. getOC2IF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  42136. end;
  42137. procedure TINT_IFS0.setINT2IF; inline;
  42138. begin
  42139. pTDefRegMap(@Self)^.&set := $00000800;
  42140. end;
  42141. procedure TINT_IFS0.clearINT2IF; inline;
  42142. begin
  42143. pTDefRegMap(@Self)^.clr := $00000800;
  42144. end;
  42145. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  42146. begin
  42147. if thebits = 0 then
  42148. pTDefRegMap(@Self)^.clr := $00000800
  42149. else
  42150. pTDefRegMap(@Self)^.&set := $00000800;
  42151. end;
  42152. function TINT_IFS0.getINT2IF : TBits_1; inline;
  42153. begin
  42154. getINT2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  42155. end;
  42156. procedure TINT_IFS0.setT3IF; inline;
  42157. begin
  42158. pTDefRegMap(@Self)^.&set := $00001000;
  42159. end;
  42160. procedure TINT_IFS0.clearT3IF; inline;
  42161. begin
  42162. pTDefRegMap(@Self)^.clr := $00001000;
  42163. end;
  42164. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  42165. begin
  42166. if thebits = 0 then
  42167. pTDefRegMap(@Self)^.clr := $00001000
  42168. else
  42169. pTDefRegMap(@Self)^.&set := $00001000;
  42170. end;
  42171. function TINT_IFS0.getT3IF : TBits_1; inline;
  42172. begin
  42173. getT3IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  42174. end;
  42175. procedure TINT_IFS0.setIC3IF; inline;
  42176. begin
  42177. pTDefRegMap(@Self)^.&set := $00002000;
  42178. end;
  42179. procedure TINT_IFS0.clearIC3IF; inline;
  42180. begin
  42181. pTDefRegMap(@Self)^.clr := $00002000;
  42182. end;
  42183. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  42184. begin
  42185. if thebits = 0 then
  42186. pTDefRegMap(@Self)^.clr := $00002000
  42187. else
  42188. pTDefRegMap(@Self)^.&set := $00002000;
  42189. end;
  42190. function TINT_IFS0.getIC3IF : TBits_1; inline;
  42191. begin
  42192. getIC3IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  42193. end;
  42194. procedure TINT_IFS0.setOC3IF; inline;
  42195. begin
  42196. pTDefRegMap(@Self)^.&set := $00004000;
  42197. end;
  42198. procedure TINT_IFS0.clearOC3IF; inline;
  42199. begin
  42200. pTDefRegMap(@Self)^.clr := $00004000;
  42201. end;
  42202. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  42203. begin
  42204. if thebits = 0 then
  42205. pTDefRegMap(@Self)^.clr := $00004000
  42206. else
  42207. pTDefRegMap(@Self)^.&set := $00004000;
  42208. end;
  42209. function TINT_IFS0.getOC3IF : TBits_1; inline;
  42210. begin
  42211. getOC3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  42212. end;
  42213. procedure TINT_IFS0.setINT3IF; inline;
  42214. begin
  42215. pTDefRegMap(@Self)^.&set := $00008000;
  42216. end;
  42217. procedure TINT_IFS0.clearINT3IF; inline;
  42218. begin
  42219. pTDefRegMap(@Self)^.clr := $00008000;
  42220. end;
  42221. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  42222. begin
  42223. if thebits = 0 then
  42224. pTDefRegMap(@Self)^.clr := $00008000
  42225. else
  42226. pTDefRegMap(@Self)^.&set := $00008000;
  42227. end;
  42228. function TINT_IFS0.getINT3IF : TBits_1; inline;
  42229. begin
  42230. getINT3IF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  42231. end;
  42232. procedure TINT_IFS0.setT4IF; inline;
  42233. begin
  42234. pTDefRegMap(@Self)^.&set := $00010000;
  42235. end;
  42236. procedure TINT_IFS0.clearT4IF; inline;
  42237. begin
  42238. pTDefRegMap(@Self)^.clr := $00010000;
  42239. end;
  42240. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  42241. begin
  42242. if thebits = 0 then
  42243. pTDefRegMap(@Self)^.clr := $00010000
  42244. else
  42245. pTDefRegMap(@Self)^.&set := $00010000;
  42246. end;
  42247. function TINT_IFS0.getT4IF : TBits_1; inline;
  42248. begin
  42249. getT4IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  42250. end;
  42251. procedure TINT_IFS0.setIC4IF; inline;
  42252. begin
  42253. pTDefRegMap(@Self)^.&set := $00020000;
  42254. end;
  42255. procedure TINT_IFS0.clearIC4IF; inline;
  42256. begin
  42257. pTDefRegMap(@Self)^.clr := $00020000;
  42258. end;
  42259. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  42260. begin
  42261. if thebits = 0 then
  42262. pTDefRegMap(@Self)^.clr := $00020000
  42263. else
  42264. pTDefRegMap(@Self)^.&set := $00020000;
  42265. end;
  42266. function TINT_IFS0.getIC4IF : TBits_1; inline;
  42267. begin
  42268. getIC4IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  42269. end;
  42270. procedure TINT_IFS0.setOC4IF; inline;
  42271. begin
  42272. pTDefRegMap(@Self)^.&set := $00040000;
  42273. end;
  42274. procedure TINT_IFS0.clearOC4IF; inline;
  42275. begin
  42276. pTDefRegMap(@Self)^.clr := $00040000;
  42277. end;
  42278. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  42279. begin
  42280. if thebits = 0 then
  42281. pTDefRegMap(@Self)^.clr := $00040000
  42282. else
  42283. pTDefRegMap(@Self)^.&set := $00040000;
  42284. end;
  42285. function TINT_IFS0.getOC4IF : TBits_1; inline;
  42286. begin
  42287. getOC4IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  42288. end;
  42289. procedure TINT_IFS0.setINT4IF; inline;
  42290. begin
  42291. pTDefRegMap(@Self)^.&set := $00080000;
  42292. end;
  42293. procedure TINT_IFS0.clearINT4IF; inline;
  42294. begin
  42295. pTDefRegMap(@Self)^.clr := $00080000;
  42296. end;
  42297. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  42298. begin
  42299. if thebits = 0 then
  42300. pTDefRegMap(@Self)^.clr := $00080000
  42301. else
  42302. pTDefRegMap(@Self)^.&set := $00080000;
  42303. end;
  42304. function TINT_IFS0.getINT4IF : TBits_1; inline;
  42305. begin
  42306. getINT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  42307. end;
  42308. procedure TINT_IFS0.setT5IF; inline;
  42309. begin
  42310. pTDefRegMap(@Self)^.&set := $00100000;
  42311. end;
  42312. procedure TINT_IFS0.clearT5IF; inline;
  42313. begin
  42314. pTDefRegMap(@Self)^.clr := $00100000;
  42315. end;
  42316. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  42317. begin
  42318. if thebits = 0 then
  42319. pTDefRegMap(@Self)^.clr := $00100000
  42320. else
  42321. pTDefRegMap(@Self)^.&set := $00100000;
  42322. end;
  42323. function TINT_IFS0.getT5IF : TBits_1; inline;
  42324. begin
  42325. getT5IF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  42326. end;
  42327. procedure TINT_IFS0.setIC5IF; inline;
  42328. begin
  42329. pTDefRegMap(@Self)^.&set := $00200000;
  42330. end;
  42331. procedure TINT_IFS0.clearIC5IF; inline;
  42332. begin
  42333. pTDefRegMap(@Self)^.clr := $00200000;
  42334. end;
  42335. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  42336. begin
  42337. if thebits = 0 then
  42338. pTDefRegMap(@Self)^.clr := $00200000
  42339. else
  42340. pTDefRegMap(@Self)^.&set := $00200000;
  42341. end;
  42342. function TINT_IFS0.getIC5IF : TBits_1; inline;
  42343. begin
  42344. getIC5IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  42345. end;
  42346. procedure TINT_IFS0.setOC5IF; inline;
  42347. begin
  42348. pTDefRegMap(@Self)^.&set := $00400000;
  42349. end;
  42350. procedure TINT_IFS0.clearOC5IF; inline;
  42351. begin
  42352. pTDefRegMap(@Self)^.clr := $00400000;
  42353. end;
  42354. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  42355. begin
  42356. if thebits = 0 then
  42357. pTDefRegMap(@Self)^.clr := $00400000
  42358. else
  42359. pTDefRegMap(@Self)^.&set := $00400000;
  42360. end;
  42361. function TINT_IFS0.getOC5IF : TBits_1; inline;
  42362. begin
  42363. getOC5IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  42364. end;
  42365. procedure TINT_IFS0.setSPI1EIF; inline;
  42366. begin
  42367. pTDefRegMap(@Self)^.&set := $00800000;
  42368. end;
  42369. procedure TINT_IFS0.clearSPI1EIF; inline;
  42370. begin
  42371. pTDefRegMap(@Self)^.clr := $00800000;
  42372. end;
  42373. procedure TINT_IFS0.setSPI1EIF(thebits : TBits_1); inline;
  42374. begin
  42375. if thebits = 0 then
  42376. pTDefRegMap(@Self)^.clr := $00800000
  42377. else
  42378. pTDefRegMap(@Self)^.&set := $00800000;
  42379. end;
  42380. function TINT_IFS0.getSPI1EIF : TBits_1; inline;
  42381. begin
  42382. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  42383. end;
  42384. procedure TINT_IFS0.setSPI1RXIF; inline;
  42385. begin
  42386. pTDefRegMap(@Self)^.&set := $01000000;
  42387. end;
  42388. procedure TINT_IFS0.clearSPI1RXIF; inline;
  42389. begin
  42390. pTDefRegMap(@Self)^.clr := $01000000;
  42391. end;
  42392. procedure TINT_IFS0.setSPI1RXIF(thebits : TBits_1); inline;
  42393. begin
  42394. if thebits = 0 then
  42395. pTDefRegMap(@Self)^.clr := $01000000
  42396. else
  42397. pTDefRegMap(@Self)^.&set := $01000000;
  42398. end;
  42399. function TINT_IFS0.getSPI1RXIF : TBits_1; inline;
  42400. begin
  42401. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  42402. end;
  42403. procedure TINT_IFS0.setSPI1TXIF; inline;
  42404. begin
  42405. pTDefRegMap(@Self)^.&set := $02000000;
  42406. end;
  42407. procedure TINT_IFS0.clearSPI1TXIF; inline;
  42408. begin
  42409. pTDefRegMap(@Self)^.clr := $02000000;
  42410. end;
  42411. procedure TINT_IFS0.setSPI1TXIF(thebits : TBits_1); inline;
  42412. begin
  42413. if thebits = 0 then
  42414. pTDefRegMap(@Self)^.clr := $02000000
  42415. else
  42416. pTDefRegMap(@Self)^.&set := $02000000;
  42417. end;
  42418. function TINT_IFS0.getSPI1TXIF : TBits_1; inline;
  42419. begin
  42420. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  42421. end;
  42422. procedure TINT_IFS0.setU1EIF; inline;
  42423. begin
  42424. pTDefRegMap(@Self)^.&set := $04000000;
  42425. end;
  42426. procedure TINT_IFS0.clearU1EIF; inline;
  42427. begin
  42428. pTDefRegMap(@Self)^.clr := $04000000;
  42429. end;
  42430. procedure TINT_IFS0.setU1EIF(thebits : TBits_1); inline;
  42431. begin
  42432. if thebits = 0 then
  42433. pTDefRegMap(@Self)^.clr := $04000000
  42434. else
  42435. pTDefRegMap(@Self)^.&set := $04000000;
  42436. end;
  42437. function TINT_IFS0.getU1EIF : TBits_1; inline;
  42438. begin
  42439. getU1EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42440. end;
  42441. procedure TINT_IFS0.setU1RXIF; inline;
  42442. begin
  42443. pTDefRegMap(@Self)^.&set := $08000000;
  42444. end;
  42445. procedure TINT_IFS0.clearU1RXIF; inline;
  42446. begin
  42447. pTDefRegMap(@Self)^.clr := $08000000;
  42448. end;
  42449. procedure TINT_IFS0.setU1RXIF(thebits : TBits_1); inline;
  42450. begin
  42451. if thebits = 0 then
  42452. pTDefRegMap(@Self)^.clr := $08000000
  42453. else
  42454. pTDefRegMap(@Self)^.&set := $08000000;
  42455. end;
  42456. function TINT_IFS0.getU1RXIF : TBits_1; inline;
  42457. begin
  42458. getU1RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42459. end;
  42460. procedure TINT_IFS0.setU1TXIF; inline;
  42461. begin
  42462. pTDefRegMap(@Self)^.&set := $10000000;
  42463. end;
  42464. procedure TINT_IFS0.clearU1TXIF; inline;
  42465. begin
  42466. pTDefRegMap(@Self)^.clr := $10000000;
  42467. end;
  42468. procedure TINT_IFS0.setU1TXIF(thebits : TBits_1); inline;
  42469. begin
  42470. if thebits = 0 then
  42471. pTDefRegMap(@Self)^.clr := $10000000
  42472. else
  42473. pTDefRegMap(@Self)^.&set := $10000000;
  42474. end;
  42475. function TINT_IFS0.getU1TXIF : TBits_1; inline;
  42476. begin
  42477. getU1TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42478. end;
  42479. procedure TINT_IFS0.setI2C1BIF; inline;
  42480. begin
  42481. pTDefRegMap(@Self)^.&set := $20000000;
  42482. end;
  42483. procedure TINT_IFS0.clearI2C1BIF; inline;
  42484. begin
  42485. pTDefRegMap(@Self)^.clr := $20000000;
  42486. end;
  42487. procedure TINT_IFS0.setI2C1BIF(thebits : TBits_1); inline;
  42488. begin
  42489. if thebits = 0 then
  42490. pTDefRegMap(@Self)^.clr := $20000000
  42491. else
  42492. pTDefRegMap(@Self)^.&set := $20000000;
  42493. end;
  42494. function TINT_IFS0.getI2C1BIF : TBits_1; inline;
  42495. begin
  42496. getI2C1BIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  42497. end;
  42498. procedure TINT_IFS0.setI2C1SIF; inline;
  42499. begin
  42500. pTDefRegMap(@Self)^.&set := $40000000;
  42501. end;
  42502. procedure TINT_IFS0.clearI2C1SIF; inline;
  42503. begin
  42504. pTDefRegMap(@Self)^.clr := $40000000;
  42505. end;
  42506. procedure TINT_IFS0.setI2C1SIF(thebits : TBits_1); inline;
  42507. begin
  42508. if thebits = 0 then
  42509. pTDefRegMap(@Self)^.clr := $40000000
  42510. else
  42511. pTDefRegMap(@Self)^.&set := $40000000;
  42512. end;
  42513. function TINT_IFS0.getI2C1SIF : TBits_1; inline;
  42514. begin
  42515. getI2C1SIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  42516. end;
  42517. procedure TINT_IFS0.setI2C1MIF; inline;
  42518. begin
  42519. pTDefRegMap(@Self)^.&set := $80000000;
  42520. end;
  42521. procedure TINT_IFS0.clearI2C1MIF; inline;
  42522. begin
  42523. pTDefRegMap(@Self)^.clr := $80000000;
  42524. end;
  42525. procedure TINT_IFS0.setI2C1MIF(thebits : TBits_1); inline;
  42526. begin
  42527. if thebits = 0 then
  42528. pTDefRegMap(@Self)^.clr := $80000000
  42529. else
  42530. pTDefRegMap(@Self)^.&set := $80000000;
  42531. end;
  42532. function TINT_IFS0.getI2C1MIF : TBits_1; inline;
  42533. begin
  42534. getI2C1MIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  42535. end;
  42536. procedure TINT_IFS0.setU1AEIF; inline;
  42537. begin
  42538. pTDefRegMap(@Self)^.&set := $04000000;
  42539. end;
  42540. procedure TINT_IFS0.clearU1AEIF; inline;
  42541. begin
  42542. pTDefRegMap(@Self)^.clr := $04000000;
  42543. end;
  42544. procedure TINT_IFS0.setU1AEIF(thebits : TBits_1); inline;
  42545. begin
  42546. if thebits = 0 then
  42547. pTDefRegMap(@Self)^.clr := $04000000
  42548. else
  42549. pTDefRegMap(@Self)^.&set := $04000000;
  42550. end;
  42551. function TINT_IFS0.getU1AEIF : TBits_1; inline;
  42552. begin
  42553. getU1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42554. end;
  42555. procedure TINT_IFS0.setU1ARXIF; inline;
  42556. begin
  42557. pTDefRegMap(@Self)^.&set := $08000000;
  42558. end;
  42559. procedure TINT_IFS0.clearU1ARXIF; inline;
  42560. begin
  42561. pTDefRegMap(@Self)^.clr := $08000000;
  42562. end;
  42563. procedure TINT_IFS0.setU1ARXIF(thebits : TBits_1); inline;
  42564. begin
  42565. if thebits = 0 then
  42566. pTDefRegMap(@Self)^.clr := $08000000
  42567. else
  42568. pTDefRegMap(@Self)^.&set := $08000000;
  42569. end;
  42570. function TINT_IFS0.getU1ARXIF : TBits_1; inline;
  42571. begin
  42572. getU1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42573. end;
  42574. procedure TINT_IFS0.setU1ATXIF; inline;
  42575. begin
  42576. pTDefRegMap(@Self)^.&set := $10000000;
  42577. end;
  42578. procedure TINT_IFS0.clearU1ATXIF; inline;
  42579. begin
  42580. pTDefRegMap(@Self)^.clr := $10000000;
  42581. end;
  42582. procedure TINT_IFS0.setU1ATXIF(thebits : TBits_1); inline;
  42583. begin
  42584. if thebits = 0 then
  42585. pTDefRegMap(@Self)^.clr := $10000000
  42586. else
  42587. pTDefRegMap(@Self)^.&set := $10000000;
  42588. end;
  42589. function TINT_IFS0.getU1ATXIF : TBits_1; inline;
  42590. begin
  42591. getU1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42592. end;
  42593. procedure TINT_IFS0.setSPI3EIF; inline;
  42594. begin
  42595. pTDefRegMap(@Self)^.&set := $04000000;
  42596. end;
  42597. procedure TINT_IFS0.clearSPI3EIF; inline;
  42598. begin
  42599. pTDefRegMap(@Self)^.clr := $04000000;
  42600. end;
  42601. procedure TINT_IFS0.setSPI3EIF(thebits : TBits_1); inline;
  42602. begin
  42603. if thebits = 0 then
  42604. pTDefRegMap(@Self)^.clr := $04000000
  42605. else
  42606. pTDefRegMap(@Self)^.&set := $04000000;
  42607. end;
  42608. function TINT_IFS0.getSPI3EIF : TBits_1; inline;
  42609. begin
  42610. getSPI3EIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42611. end;
  42612. procedure TINT_IFS0.setSPI3RXIF; inline;
  42613. begin
  42614. pTDefRegMap(@Self)^.&set := $08000000;
  42615. end;
  42616. procedure TINT_IFS0.clearSPI3RXIF; inline;
  42617. begin
  42618. pTDefRegMap(@Self)^.clr := $08000000;
  42619. end;
  42620. procedure TINT_IFS0.setSPI3RXIF(thebits : TBits_1); inline;
  42621. begin
  42622. if thebits = 0 then
  42623. pTDefRegMap(@Self)^.clr := $08000000
  42624. else
  42625. pTDefRegMap(@Self)^.&set := $08000000;
  42626. end;
  42627. function TINT_IFS0.getSPI3RXIF : TBits_1; inline;
  42628. begin
  42629. getSPI3RXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42630. end;
  42631. procedure TINT_IFS0.setSPI3TXIF; inline;
  42632. begin
  42633. pTDefRegMap(@Self)^.&set := $10000000;
  42634. end;
  42635. procedure TINT_IFS0.clearSPI3TXIF; inline;
  42636. begin
  42637. pTDefRegMap(@Self)^.clr := $10000000;
  42638. end;
  42639. procedure TINT_IFS0.setSPI3TXIF(thebits : TBits_1); inline;
  42640. begin
  42641. if thebits = 0 then
  42642. pTDefRegMap(@Self)^.clr := $10000000
  42643. else
  42644. pTDefRegMap(@Self)^.&set := $10000000;
  42645. end;
  42646. function TINT_IFS0.getSPI3TXIF : TBits_1; inline;
  42647. begin
  42648. getSPI3TXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42649. end;
  42650. procedure TINT_IFS0.setSPI1AEIF; inline;
  42651. begin
  42652. pTDefRegMap(@Self)^.&set := $04000000;
  42653. end;
  42654. procedure TINT_IFS0.clearSPI1AEIF; inline;
  42655. begin
  42656. pTDefRegMap(@Self)^.clr := $04000000;
  42657. end;
  42658. procedure TINT_IFS0.setSPI1AEIF(thebits : TBits_1); inline;
  42659. begin
  42660. if thebits = 0 then
  42661. pTDefRegMap(@Self)^.clr := $04000000
  42662. else
  42663. pTDefRegMap(@Self)^.&set := $04000000;
  42664. end;
  42665. function TINT_IFS0.getSPI1AEIF : TBits_1; inline;
  42666. begin
  42667. getSPI1AEIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42668. end;
  42669. procedure TINT_IFS0.setSPI1ARXIF; inline;
  42670. begin
  42671. pTDefRegMap(@Self)^.&set := $08000000;
  42672. end;
  42673. procedure TINT_IFS0.clearSPI1ARXIF; inline;
  42674. begin
  42675. pTDefRegMap(@Self)^.clr := $08000000;
  42676. end;
  42677. procedure TINT_IFS0.setSPI1ARXIF(thebits : TBits_1); inline;
  42678. begin
  42679. if thebits = 0 then
  42680. pTDefRegMap(@Self)^.clr := $08000000
  42681. else
  42682. pTDefRegMap(@Self)^.&set := $08000000;
  42683. end;
  42684. function TINT_IFS0.getSPI1ARXIF : TBits_1; inline;
  42685. begin
  42686. getSPI1ARXIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42687. end;
  42688. procedure TINT_IFS0.setSPI1ATXIF; inline;
  42689. begin
  42690. pTDefRegMap(@Self)^.&set := $10000000;
  42691. end;
  42692. procedure TINT_IFS0.clearSPI1ATXIF; inline;
  42693. begin
  42694. pTDefRegMap(@Self)^.clr := $10000000;
  42695. end;
  42696. procedure TINT_IFS0.setSPI1ATXIF(thebits : TBits_1); inline;
  42697. begin
  42698. if thebits = 0 then
  42699. pTDefRegMap(@Self)^.clr := $10000000
  42700. else
  42701. pTDefRegMap(@Self)^.&set := $10000000;
  42702. end;
  42703. function TINT_IFS0.getSPI1ATXIF : TBits_1; inline;
  42704. begin
  42705. getSPI1ATXIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42706. end;
  42707. procedure TINT_IFS0.setI2C3BIF; inline;
  42708. begin
  42709. pTDefRegMap(@Self)^.&set := $04000000;
  42710. end;
  42711. procedure TINT_IFS0.clearI2C3BIF; inline;
  42712. begin
  42713. pTDefRegMap(@Self)^.clr := $04000000;
  42714. end;
  42715. procedure TINT_IFS0.setI2C3BIF(thebits : TBits_1); inline;
  42716. begin
  42717. if thebits = 0 then
  42718. pTDefRegMap(@Self)^.clr := $04000000
  42719. else
  42720. pTDefRegMap(@Self)^.&set := $04000000;
  42721. end;
  42722. function TINT_IFS0.getI2C3BIF : TBits_1; inline;
  42723. begin
  42724. getI2C3BIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42725. end;
  42726. procedure TINT_IFS0.setI2C3SIF; inline;
  42727. begin
  42728. pTDefRegMap(@Self)^.&set := $08000000;
  42729. end;
  42730. procedure TINT_IFS0.clearI2C3SIF; inline;
  42731. begin
  42732. pTDefRegMap(@Self)^.clr := $08000000;
  42733. end;
  42734. procedure TINT_IFS0.setI2C3SIF(thebits : TBits_1); inline;
  42735. begin
  42736. if thebits = 0 then
  42737. pTDefRegMap(@Self)^.clr := $08000000
  42738. else
  42739. pTDefRegMap(@Self)^.&set := $08000000;
  42740. end;
  42741. function TINT_IFS0.getI2C3SIF : TBits_1; inline;
  42742. begin
  42743. getI2C3SIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42744. end;
  42745. procedure TINT_IFS0.setI2C3MIF; inline;
  42746. begin
  42747. pTDefRegMap(@Self)^.&set := $10000000;
  42748. end;
  42749. procedure TINT_IFS0.clearI2C3MIF; inline;
  42750. begin
  42751. pTDefRegMap(@Self)^.clr := $10000000;
  42752. end;
  42753. procedure TINT_IFS0.setI2C3MIF(thebits : TBits_1); inline;
  42754. begin
  42755. if thebits = 0 then
  42756. pTDefRegMap(@Self)^.clr := $10000000
  42757. else
  42758. pTDefRegMap(@Self)^.&set := $10000000;
  42759. end;
  42760. function TINT_IFS0.getI2C3MIF : TBits_1; inline;
  42761. begin
  42762. getI2C3MIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42763. end;
  42764. procedure TINT_IFS0.setI2C1ABIF; inline;
  42765. begin
  42766. pTDefRegMap(@Self)^.&set := $04000000;
  42767. end;
  42768. procedure TINT_IFS0.clearI2C1ABIF; inline;
  42769. begin
  42770. pTDefRegMap(@Self)^.clr := $04000000;
  42771. end;
  42772. procedure TINT_IFS0.setI2C1ABIF(thebits : TBits_1); inline;
  42773. begin
  42774. if thebits = 0 then
  42775. pTDefRegMap(@Self)^.clr := $04000000
  42776. else
  42777. pTDefRegMap(@Self)^.&set := $04000000;
  42778. end;
  42779. function TINT_IFS0.getI2C1ABIF : TBits_1; inline;
  42780. begin
  42781. getI2C1ABIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  42782. end;
  42783. procedure TINT_IFS0.setI2C1ASIF; inline;
  42784. begin
  42785. pTDefRegMap(@Self)^.&set := $08000000;
  42786. end;
  42787. procedure TINT_IFS0.clearI2C1ASIF; inline;
  42788. begin
  42789. pTDefRegMap(@Self)^.clr := $08000000;
  42790. end;
  42791. procedure TINT_IFS0.setI2C1ASIF(thebits : TBits_1); inline;
  42792. begin
  42793. if thebits = 0 then
  42794. pTDefRegMap(@Self)^.clr := $08000000
  42795. else
  42796. pTDefRegMap(@Self)^.&set := $08000000;
  42797. end;
  42798. function TINT_IFS0.getI2C1ASIF : TBits_1; inline;
  42799. begin
  42800. getI2C1ASIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  42801. end;
  42802. procedure TINT_IFS0.setI2C1AMIF; inline;
  42803. begin
  42804. pTDefRegMap(@Self)^.&set := $10000000;
  42805. end;
  42806. procedure TINT_IFS0.clearI2C1AMIF; inline;
  42807. begin
  42808. pTDefRegMap(@Self)^.clr := $10000000;
  42809. end;
  42810. procedure TINT_IFS0.setI2C1AMIF(thebits : TBits_1); inline;
  42811. begin
  42812. if thebits = 0 then
  42813. pTDefRegMap(@Self)^.clr := $10000000
  42814. else
  42815. pTDefRegMap(@Self)^.&set := $10000000;
  42816. end;
  42817. function TINT_IFS0.getI2C1AMIF : TBits_1; inline;
  42818. begin
  42819. getI2C1AMIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  42820. end;
  42821. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  42822. begin
  42823. pTDefRegMap(@Self)^.val := thebits;
  42824. end;
  42825. function TINT_IFS0.getw : TBits_32; inline;
  42826. begin
  42827. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  42828. end;
  42829. procedure TINT_IFS1.setCNIF; inline;
  42830. begin
  42831. pTDefRegMap(@Self)^.&set := $00000001;
  42832. end;
  42833. procedure TINT_IFS1.clearCNIF; inline;
  42834. begin
  42835. pTDefRegMap(@Self)^.clr := $00000001;
  42836. end;
  42837. procedure TINT_IFS1.setCNIF(thebits : TBits_1); inline;
  42838. begin
  42839. if thebits = 0 then
  42840. pTDefRegMap(@Self)^.clr := $00000001
  42841. else
  42842. pTDefRegMap(@Self)^.&set := $00000001;
  42843. end;
  42844. function TINT_IFS1.getCNIF : TBits_1; inline;
  42845. begin
  42846. getCNIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  42847. end;
  42848. procedure TINT_IFS1.setAD1IF; inline;
  42849. begin
  42850. pTDefRegMap(@Self)^.&set := $00000002;
  42851. end;
  42852. procedure TINT_IFS1.clearAD1IF; inline;
  42853. begin
  42854. pTDefRegMap(@Self)^.clr := $00000002;
  42855. end;
  42856. procedure TINT_IFS1.setAD1IF(thebits : TBits_1); inline;
  42857. begin
  42858. if thebits = 0 then
  42859. pTDefRegMap(@Self)^.clr := $00000002
  42860. else
  42861. pTDefRegMap(@Self)^.&set := $00000002;
  42862. end;
  42863. function TINT_IFS1.getAD1IF : TBits_1; inline;
  42864. begin
  42865. getAD1IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  42866. end;
  42867. procedure TINT_IFS1.setPMPIF; inline;
  42868. begin
  42869. pTDefRegMap(@Self)^.&set := $00000004;
  42870. end;
  42871. procedure TINT_IFS1.clearPMPIF; inline;
  42872. begin
  42873. pTDefRegMap(@Self)^.clr := $00000004;
  42874. end;
  42875. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  42876. begin
  42877. if thebits = 0 then
  42878. pTDefRegMap(@Self)^.clr := $00000004
  42879. else
  42880. pTDefRegMap(@Self)^.&set := $00000004;
  42881. end;
  42882. function TINT_IFS1.getPMPIF : TBits_1; inline;
  42883. begin
  42884. getPMPIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  42885. end;
  42886. procedure TINT_IFS1.setCMP1IF; inline;
  42887. begin
  42888. pTDefRegMap(@Self)^.&set := $00000008;
  42889. end;
  42890. procedure TINT_IFS1.clearCMP1IF; inline;
  42891. begin
  42892. pTDefRegMap(@Self)^.clr := $00000008;
  42893. end;
  42894. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  42895. begin
  42896. if thebits = 0 then
  42897. pTDefRegMap(@Self)^.clr := $00000008
  42898. else
  42899. pTDefRegMap(@Self)^.&set := $00000008;
  42900. end;
  42901. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  42902. begin
  42903. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  42904. end;
  42905. procedure TINT_IFS1.setCMP2IF; inline;
  42906. begin
  42907. pTDefRegMap(@Self)^.&set := $00000010;
  42908. end;
  42909. procedure TINT_IFS1.clearCMP2IF; inline;
  42910. begin
  42911. pTDefRegMap(@Self)^.clr := $00000010;
  42912. end;
  42913. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  42914. begin
  42915. if thebits = 0 then
  42916. pTDefRegMap(@Self)^.clr := $00000010
  42917. else
  42918. pTDefRegMap(@Self)^.&set := $00000010;
  42919. end;
  42920. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  42921. begin
  42922. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  42923. end;
  42924. procedure TINT_IFS1.setU3EIF; inline;
  42925. begin
  42926. pTDefRegMap(@Self)^.&set := $00000020;
  42927. end;
  42928. procedure TINT_IFS1.clearU3EIF; inline;
  42929. begin
  42930. pTDefRegMap(@Self)^.clr := $00000020;
  42931. end;
  42932. procedure TINT_IFS1.setU3EIF(thebits : TBits_1); inline;
  42933. begin
  42934. if thebits = 0 then
  42935. pTDefRegMap(@Self)^.clr := $00000020
  42936. else
  42937. pTDefRegMap(@Self)^.&set := $00000020;
  42938. end;
  42939. function TINT_IFS1.getU3EIF : TBits_1; inline;
  42940. begin
  42941. getU3EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  42942. end;
  42943. procedure TINT_IFS1.setU3RXIF; inline;
  42944. begin
  42945. pTDefRegMap(@Self)^.&set := $00000040;
  42946. end;
  42947. procedure TINT_IFS1.clearU3RXIF; inline;
  42948. begin
  42949. pTDefRegMap(@Self)^.clr := $00000040;
  42950. end;
  42951. procedure TINT_IFS1.setU3RXIF(thebits : TBits_1); inline;
  42952. begin
  42953. if thebits = 0 then
  42954. pTDefRegMap(@Self)^.clr := $00000040
  42955. else
  42956. pTDefRegMap(@Self)^.&set := $00000040;
  42957. end;
  42958. function TINT_IFS1.getU3RXIF : TBits_1; inline;
  42959. begin
  42960. getU3RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  42961. end;
  42962. procedure TINT_IFS1.setU3TXIF; inline;
  42963. begin
  42964. pTDefRegMap(@Self)^.&set := $00000080;
  42965. end;
  42966. procedure TINT_IFS1.clearU3TXIF; inline;
  42967. begin
  42968. pTDefRegMap(@Self)^.clr := $00000080;
  42969. end;
  42970. procedure TINT_IFS1.setU3TXIF(thebits : TBits_1); inline;
  42971. begin
  42972. if thebits = 0 then
  42973. pTDefRegMap(@Self)^.clr := $00000080
  42974. else
  42975. pTDefRegMap(@Self)^.&set := $00000080;
  42976. end;
  42977. function TINT_IFS1.getU3TXIF : TBits_1; inline;
  42978. begin
  42979. getU3TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  42980. end;
  42981. procedure TINT_IFS1.setU2EIF; inline;
  42982. begin
  42983. pTDefRegMap(@Self)^.&set := $00000100;
  42984. end;
  42985. procedure TINT_IFS1.clearU2EIF; inline;
  42986. begin
  42987. pTDefRegMap(@Self)^.clr := $00000100;
  42988. end;
  42989. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  42990. begin
  42991. if thebits = 0 then
  42992. pTDefRegMap(@Self)^.clr := $00000100
  42993. else
  42994. pTDefRegMap(@Self)^.&set := $00000100;
  42995. end;
  42996. function TINT_IFS1.getU2EIF : TBits_1; inline;
  42997. begin
  42998. getU2EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  42999. end;
  43000. procedure TINT_IFS1.setU2RXIF; inline;
  43001. begin
  43002. pTDefRegMap(@Self)^.&set := $00000200;
  43003. end;
  43004. procedure TINT_IFS1.clearU2RXIF; inline;
  43005. begin
  43006. pTDefRegMap(@Self)^.clr := $00000200;
  43007. end;
  43008. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  43009. begin
  43010. if thebits = 0 then
  43011. pTDefRegMap(@Self)^.clr := $00000200
  43012. else
  43013. pTDefRegMap(@Self)^.&set := $00000200;
  43014. end;
  43015. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  43016. begin
  43017. getU2RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43018. end;
  43019. procedure TINT_IFS1.setU2TXIF; inline;
  43020. begin
  43021. pTDefRegMap(@Self)^.&set := $00000400;
  43022. end;
  43023. procedure TINT_IFS1.clearU2TXIF; inline;
  43024. begin
  43025. pTDefRegMap(@Self)^.clr := $00000400;
  43026. end;
  43027. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  43028. begin
  43029. if thebits = 0 then
  43030. pTDefRegMap(@Self)^.clr := $00000400
  43031. else
  43032. pTDefRegMap(@Self)^.&set := $00000400;
  43033. end;
  43034. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  43035. begin
  43036. getU2TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43037. end;
  43038. procedure TINT_IFS1.setI2C2BIF; inline;
  43039. begin
  43040. pTDefRegMap(@Self)^.&set := $00000800;
  43041. end;
  43042. procedure TINT_IFS1.clearI2C2BIF; inline;
  43043. begin
  43044. pTDefRegMap(@Self)^.clr := $00000800;
  43045. end;
  43046. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  43047. begin
  43048. if thebits = 0 then
  43049. pTDefRegMap(@Self)^.clr := $00000800
  43050. else
  43051. pTDefRegMap(@Self)^.&set := $00000800;
  43052. end;
  43053. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  43054. begin
  43055. getI2C2BIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  43056. end;
  43057. procedure TINT_IFS1.setI2C2SIF; inline;
  43058. begin
  43059. pTDefRegMap(@Self)^.&set := $00001000;
  43060. end;
  43061. procedure TINT_IFS1.clearI2C2SIF; inline;
  43062. begin
  43063. pTDefRegMap(@Self)^.clr := $00001000;
  43064. end;
  43065. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  43066. begin
  43067. if thebits = 0 then
  43068. pTDefRegMap(@Self)^.clr := $00001000
  43069. else
  43070. pTDefRegMap(@Self)^.&set := $00001000;
  43071. end;
  43072. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  43073. begin
  43074. getI2C2SIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  43075. end;
  43076. procedure TINT_IFS1.setI2C2MIF; inline;
  43077. begin
  43078. pTDefRegMap(@Self)^.&set := $00002000;
  43079. end;
  43080. procedure TINT_IFS1.clearI2C2MIF; inline;
  43081. begin
  43082. pTDefRegMap(@Self)^.clr := $00002000;
  43083. end;
  43084. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  43085. begin
  43086. if thebits = 0 then
  43087. pTDefRegMap(@Self)^.clr := $00002000
  43088. else
  43089. pTDefRegMap(@Self)^.&set := $00002000;
  43090. end;
  43091. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  43092. begin
  43093. getI2C2MIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  43094. end;
  43095. procedure TINT_IFS1.setFSCMIF; inline;
  43096. begin
  43097. pTDefRegMap(@Self)^.&set := $00004000;
  43098. end;
  43099. procedure TINT_IFS1.clearFSCMIF; inline;
  43100. begin
  43101. pTDefRegMap(@Self)^.clr := $00004000;
  43102. end;
  43103. procedure TINT_IFS1.setFSCMIF(thebits : TBits_1); inline;
  43104. begin
  43105. if thebits = 0 then
  43106. pTDefRegMap(@Self)^.clr := $00004000
  43107. else
  43108. pTDefRegMap(@Self)^.&set := $00004000;
  43109. end;
  43110. function TINT_IFS1.getFSCMIF : TBits_1; inline;
  43111. begin
  43112. getFSCMIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  43113. end;
  43114. procedure TINT_IFS1.setRTCCIF; inline;
  43115. begin
  43116. pTDefRegMap(@Self)^.&set := $00008000;
  43117. end;
  43118. procedure TINT_IFS1.clearRTCCIF; inline;
  43119. begin
  43120. pTDefRegMap(@Self)^.clr := $00008000;
  43121. end;
  43122. procedure TINT_IFS1.setRTCCIF(thebits : TBits_1); inline;
  43123. begin
  43124. if thebits = 0 then
  43125. pTDefRegMap(@Self)^.clr := $00008000
  43126. else
  43127. pTDefRegMap(@Self)^.&set := $00008000;
  43128. end;
  43129. function TINT_IFS1.getRTCCIF : TBits_1; inline;
  43130. begin
  43131. getRTCCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  43132. end;
  43133. procedure TINT_IFS1.setDMA0IF; inline;
  43134. begin
  43135. pTDefRegMap(@Self)^.&set := $00010000;
  43136. end;
  43137. procedure TINT_IFS1.clearDMA0IF; inline;
  43138. begin
  43139. pTDefRegMap(@Self)^.clr := $00010000;
  43140. end;
  43141. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  43142. begin
  43143. if thebits = 0 then
  43144. pTDefRegMap(@Self)^.clr := $00010000
  43145. else
  43146. pTDefRegMap(@Self)^.&set := $00010000;
  43147. end;
  43148. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  43149. begin
  43150. getDMA0IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  43151. end;
  43152. procedure TINT_IFS1.setDMA1IF; inline;
  43153. begin
  43154. pTDefRegMap(@Self)^.&set := $00020000;
  43155. end;
  43156. procedure TINT_IFS1.clearDMA1IF; inline;
  43157. begin
  43158. pTDefRegMap(@Self)^.clr := $00020000;
  43159. end;
  43160. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  43161. begin
  43162. if thebits = 0 then
  43163. pTDefRegMap(@Self)^.clr := $00020000
  43164. else
  43165. pTDefRegMap(@Self)^.&set := $00020000;
  43166. end;
  43167. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  43168. begin
  43169. getDMA1IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  43170. end;
  43171. procedure TINT_IFS1.setDMA2IF; inline;
  43172. begin
  43173. pTDefRegMap(@Self)^.&set := $00040000;
  43174. end;
  43175. procedure TINT_IFS1.clearDMA2IF; inline;
  43176. begin
  43177. pTDefRegMap(@Self)^.clr := $00040000;
  43178. end;
  43179. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  43180. begin
  43181. if thebits = 0 then
  43182. pTDefRegMap(@Self)^.clr := $00040000
  43183. else
  43184. pTDefRegMap(@Self)^.&set := $00040000;
  43185. end;
  43186. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  43187. begin
  43188. getDMA2IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  43189. end;
  43190. procedure TINT_IFS1.setDMA3IF; inline;
  43191. begin
  43192. pTDefRegMap(@Self)^.&set := $00080000;
  43193. end;
  43194. procedure TINT_IFS1.clearDMA3IF; inline;
  43195. begin
  43196. pTDefRegMap(@Self)^.clr := $00080000;
  43197. end;
  43198. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  43199. begin
  43200. if thebits = 0 then
  43201. pTDefRegMap(@Self)^.clr := $00080000
  43202. else
  43203. pTDefRegMap(@Self)^.&set := $00080000;
  43204. end;
  43205. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  43206. begin
  43207. getDMA3IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  43208. end;
  43209. procedure TINT_IFS1.setFCEIF; inline;
  43210. begin
  43211. pTDefRegMap(@Self)^.&set := $01000000;
  43212. end;
  43213. procedure TINT_IFS1.clearFCEIF; inline;
  43214. begin
  43215. pTDefRegMap(@Self)^.clr := $01000000;
  43216. end;
  43217. procedure TINT_IFS1.setFCEIF(thebits : TBits_1); inline;
  43218. begin
  43219. if thebits = 0 then
  43220. pTDefRegMap(@Self)^.clr := $01000000
  43221. else
  43222. pTDefRegMap(@Self)^.&set := $01000000;
  43223. end;
  43224. function TINT_IFS1.getFCEIF : TBits_1; inline;
  43225. begin
  43226. getFCEIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  43227. end;
  43228. procedure TINT_IFS1.setUSBIF; inline;
  43229. begin
  43230. pTDefRegMap(@Self)^.&set := $02000000;
  43231. end;
  43232. procedure TINT_IFS1.clearUSBIF; inline;
  43233. begin
  43234. pTDefRegMap(@Self)^.clr := $02000000;
  43235. end;
  43236. procedure TINT_IFS1.setUSBIF(thebits : TBits_1); inline;
  43237. begin
  43238. if thebits = 0 then
  43239. pTDefRegMap(@Self)^.clr := $02000000
  43240. else
  43241. pTDefRegMap(@Self)^.&set := $02000000;
  43242. end;
  43243. function TINT_IFS1.getUSBIF : TBits_1; inline;
  43244. begin
  43245. getUSBIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  43246. end;
  43247. procedure TINT_IFS1.setETHIF; inline;
  43248. begin
  43249. pTDefRegMap(@Self)^.&set := $10000000;
  43250. end;
  43251. procedure TINT_IFS1.clearETHIF; inline;
  43252. begin
  43253. pTDefRegMap(@Self)^.clr := $10000000;
  43254. end;
  43255. procedure TINT_IFS1.setETHIF(thebits : TBits_1); inline;
  43256. begin
  43257. if thebits = 0 then
  43258. pTDefRegMap(@Self)^.clr := $10000000
  43259. else
  43260. pTDefRegMap(@Self)^.&set := $10000000;
  43261. end;
  43262. function TINT_IFS1.getETHIF : TBits_1; inline;
  43263. begin
  43264. getETHIF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  43265. end;
  43266. procedure TINT_IFS1.setIC1EIF; inline;
  43267. begin
  43268. pTDefRegMap(@Self)^.&set := $20000000;
  43269. end;
  43270. procedure TINT_IFS1.clearIC1EIF; inline;
  43271. begin
  43272. pTDefRegMap(@Self)^.clr := $20000000;
  43273. end;
  43274. procedure TINT_IFS1.setIC1EIF(thebits : TBits_1); inline;
  43275. begin
  43276. if thebits = 0 then
  43277. pTDefRegMap(@Self)^.clr := $20000000
  43278. else
  43279. pTDefRegMap(@Self)^.&set := $20000000;
  43280. end;
  43281. function TINT_IFS1.getIC1EIF : TBits_1; inline;
  43282. begin
  43283. getIC1EIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  43284. end;
  43285. procedure TINT_IFS1.setIC2EIF; inline;
  43286. begin
  43287. pTDefRegMap(@Self)^.&set := $40000000;
  43288. end;
  43289. procedure TINT_IFS1.clearIC2EIF; inline;
  43290. begin
  43291. pTDefRegMap(@Self)^.clr := $40000000;
  43292. end;
  43293. procedure TINT_IFS1.setIC2EIF(thebits : TBits_1); inline;
  43294. begin
  43295. if thebits = 0 then
  43296. pTDefRegMap(@Self)^.clr := $40000000
  43297. else
  43298. pTDefRegMap(@Self)^.&set := $40000000;
  43299. end;
  43300. function TINT_IFS1.getIC2EIF : TBits_1; inline;
  43301. begin
  43302. getIC2EIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  43303. end;
  43304. procedure TINT_IFS1.setIC3EIF; inline;
  43305. begin
  43306. pTDefRegMap(@Self)^.&set := $80000000;
  43307. end;
  43308. procedure TINT_IFS1.clearIC3EIF; inline;
  43309. begin
  43310. pTDefRegMap(@Self)^.clr := $80000000;
  43311. end;
  43312. procedure TINT_IFS1.setIC3EIF(thebits : TBits_1); inline;
  43313. begin
  43314. if thebits = 0 then
  43315. pTDefRegMap(@Self)^.clr := $80000000
  43316. else
  43317. pTDefRegMap(@Self)^.&set := $80000000;
  43318. end;
  43319. function TINT_IFS1.getIC3EIF : TBits_1; inline;
  43320. begin
  43321. getIC3EIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  43322. end;
  43323. procedure TINT_IFS1.setU2AEIF; inline;
  43324. begin
  43325. pTDefRegMap(@Self)^.&set := $00000020;
  43326. end;
  43327. procedure TINT_IFS1.clearU2AEIF; inline;
  43328. begin
  43329. pTDefRegMap(@Self)^.clr := $00000020;
  43330. end;
  43331. procedure TINT_IFS1.setU2AEIF(thebits : TBits_1); inline;
  43332. begin
  43333. if thebits = 0 then
  43334. pTDefRegMap(@Self)^.clr := $00000020
  43335. else
  43336. pTDefRegMap(@Self)^.&set := $00000020;
  43337. end;
  43338. function TINT_IFS1.getU2AEIF : TBits_1; inline;
  43339. begin
  43340. getU2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43341. end;
  43342. procedure TINT_IFS1.setU2ARXIF; inline;
  43343. begin
  43344. pTDefRegMap(@Self)^.&set := $00000040;
  43345. end;
  43346. procedure TINT_IFS1.clearU2ARXIF; inline;
  43347. begin
  43348. pTDefRegMap(@Self)^.clr := $00000040;
  43349. end;
  43350. procedure TINT_IFS1.setU2ARXIF(thebits : TBits_1); inline;
  43351. begin
  43352. if thebits = 0 then
  43353. pTDefRegMap(@Self)^.clr := $00000040
  43354. else
  43355. pTDefRegMap(@Self)^.&set := $00000040;
  43356. end;
  43357. function TINT_IFS1.getU2ARXIF : TBits_1; inline;
  43358. begin
  43359. getU2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43360. end;
  43361. procedure TINT_IFS1.setU2ATXIF; inline;
  43362. begin
  43363. pTDefRegMap(@Self)^.&set := $00000080;
  43364. end;
  43365. procedure TINT_IFS1.clearU2ATXIF; inline;
  43366. begin
  43367. pTDefRegMap(@Self)^.clr := $00000080;
  43368. end;
  43369. procedure TINT_IFS1.setU2ATXIF(thebits : TBits_1); inline;
  43370. begin
  43371. if thebits = 0 then
  43372. pTDefRegMap(@Self)^.clr := $00000080
  43373. else
  43374. pTDefRegMap(@Self)^.&set := $00000080;
  43375. end;
  43376. function TINT_IFS1.getU2ATXIF : TBits_1; inline;
  43377. begin
  43378. getU2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43379. end;
  43380. procedure TINT_IFS1.setU3AEIF; inline;
  43381. begin
  43382. pTDefRegMap(@Self)^.&set := $00000100;
  43383. end;
  43384. procedure TINT_IFS1.clearU3AEIF; inline;
  43385. begin
  43386. pTDefRegMap(@Self)^.clr := $00000100;
  43387. end;
  43388. procedure TINT_IFS1.setU3AEIF(thebits : TBits_1); inline;
  43389. begin
  43390. if thebits = 0 then
  43391. pTDefRegMap(@Self)^.clr := $00000100
  43392. else
  43393. pTDefRegMap(@Self)^.&set := $00000100;
  43394. end;
  43395. function TINT_IFS1.getU3AEIF : TBits_1; inline;
  43396. begin
  43397. getU3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43398. end;
  43399. procedure TINT_IFS1.setU3ARXIF; inline;
  43400. begin
  43401. pTDefRegMap(@Self)^.&set := $00000200;
  43402. end;
  43403. procedure TINT_IFS1.clearU3ARXIF; inline;
  43404. begin
  43405. pTDefRegMap(@Self)^.clr := $00000200;
  43406. end;
  43407. procedure TINT_IFS1.setU3ARXIF(thebits : TBits_1); inline;
  43408. begin
  43409. if thebits = 0 then
  43410. pTDefRegMap(@Self)^.clr := $00000200
  43411. else
  43412. pTDefRegMap(@Self)^.&set := $00000200;
  43413. end;
  43414. function TINT_IFS1.getU3ARXIF : TBits_1; inline;
  43415. begin
  43416. getU3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43417. end;
  43418. procedure TINT_IFS1.setU3ATXIF; inline;
  43419. begin
  43420. pTDefRegMap(@Self)^.&set := $00000400;
  43421. end;
  43422. procedure TINT_IFS1.clearU3ATXIF; inline;
  43423. begin
  43424. pTDefRegMap(@Self)^.clr := $00000400;
  43425. end;
  43426. procedure TINT_IFS1.setU3ATXIF(thebits : TBits_1); inline;
  43427. begin
  43428. if thebits = 0 then
  43429. pTDefRegMap(@Self)^.clr := $00000400
  43430. else
  43431. pTDefRegMap(@Self)^.&set := $00000400;
  43432. end;
  43433. function TINT_IFS1.getU3ATXIF : TBits_1; inline;
  43434. begin
  43435. getU3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43436. end;
  43437. procedure TINT_IFS1.setSPI2EIF; inline;
  43438. begin
  43439. pTDefRegMap(@Self)^.&set := $00000020;
  43440. end;
  43441. procedure TINT_IFS1.clearSPI2EIF; inline;
  43442. begin
  43443. pTDefRegMap(@Self)^.clr := $00000020;
  43444. end;
  43445. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  43446. begin
  43447. if thebits = 0 then
  43448. pTDefRegMap(@Self)^.clr := $00000020
  43449. else
  43450. pTDefRegMap(@Self)^.&set := $00000020;
  43451. end;
  43452. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  43453. begin
  43454. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43455. end;
  43456. procedure TINT_IFS1.setSPI2RXIF; inline;
  43457. begin
  43458. pTDefRegMap(@Self)^.&set := $00000040;
  43459. end;
  43460. procedure TINT_IFS1.clearSPI2RXIF; inline;
  43461. begin
  43462. pTDefRegMap(@Self)^.clr := $00000040;
  43463. end;
  43464. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  43465. begin
  43466. if thebits = 0 then
  43467. pTDefRegMap(@Self)^.clr := $00000040
  43468. else
  43469. pTDefRegMap(@Self)^.&set := $00000040;
  43470. end;
  43471. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  43472. begin
  43473. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43474. end;
  43475. procedure TINT_IFS1.setSPI2TXIF; inline;
  43476. begin
  43477. pTDefRegMap(@Self)^.&set := $00000080;
  43478. end;
  43479. procedure TINT_IFS1.clearSPI2TXIF; inline;
  43480. begin
  43481. pTDefRegMap(@Self)^.clr := $00000080;
  43482. end;
  43483. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  43484. begin
  43485. if thebits = 0 then
  43486. pTDefRegMap(@Self)^.clr := $00000080
  43487. else
  43488. pTDefRegMap(@Self)^.&set := $00000080;
  43489. end;
  43490. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  43491. begin
  43492. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43493. end;
  43494. procedure TINT_IFS1.setSPI4EIF; inline;
  43495. begin
  43496. pTDefRegMap(@Self)^.&set := $00000100;
  43497. end;
  43498. procedure TINT_IFS1.clearSPI4EIF; inline;
  43499. begin
  43500. pTDefRegMap(@Self)^.clr := $00000100;
  43501. end;
  43502. procedure TINT_IFS1.setSPI4EIF(thebits : TBits_1); inline;
  43503. begin
  43504. if thebits = 0 then
  43505. pTDefRegMap(@Self)^.clr := $00000100
  43506. else
  43507. pTDefRegMap(@Self)^.&set := $00000100;
  43508. end;
  43509. function TINT_IFS1.getSPI4EIF : TBits_1; inline;
  43510. begin
  43511. getSPI4EIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43512. end;
  43513. procedure TINT_IFS1.setSPI4RXIF; inline;
  43514. begin
  43515. pTDefRegMap(@Self)^.&set := $00000200;
  43516. end;
  43517. procedure TINT_IFS1.clearSPI4RXIF; inline;
  43518. begin
  43519. pTDefRegMap(@Self)^.clr := $00000200;
  43520. end;
  43521. procedure TINT_IFS1.setSPI4RXIF(thebits : TBits_1); inline;
  43522. begin
  43523. if thebits = 0 then
  43524. pTDefRegMap(@Self)^.clr := $00000200
  43525. else
  43526. pTDefRegMap(@Self)^.&set := $00000200;
  43527. end;
  43528. function TINT_IFS1.getSPI4RXIF : TBits_1; inline;
  43529. begin
  43530. getSPI4RXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43531. end;
  43532. procedure TINT_IFS1.setSPI4TXIF; inline;
  43533. begin
  43534. pTDefRegMap(@Self)^.&set := $00000400;
  43535. end;
  43536. procedure TINT_IFS1.clearSPI4TXIF; inline;
  43537. begin
  43538. pTDefRegMap(@Self)^.clr := $00000400;
  43539. end;
  43540. procedure TINT_IFS1.setSPI4TXIF(thebits : TBits_1); inline;
  43541. begin
  43542. if thebits = 0 then
  43543. pTDefRegMap(@Self)^.clr := $00000400
  43544. else
  43545. pTDefRegMap(@Self)^.&set := $00000400;
  43546. end;
  43547. function TINT_IFS1.getSPI4TXIF : TBits_1; inline;
  43548. begin
  43549. getSPI4TXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43550. end;
  43551. procedure TINT_IFS1.setSPI2AEIF; inline;
  43552. begin
  43553. pTDefRegMap(@Self)^.&set := $00000020;
  43554. end;
  43555. procedure TINT_IFS1.clearSPI2AEIF; inline;
  43556. begin
  43557. pTDefRegMap(@Self)^.clr := $00000020;
  43558. end;
  43559. procedure TINT_IFS1.setSPI2AEIF(thebits : TBits_1); inline;
  43560. begin
  43561. if thebits = 0 then
  43562. pTDefRegMap(@Self)^.clr := $00000020
  43563. else
  43564. pTDefRegMap(@Self)^.&set := $00000020;
  43565. end;
  43566. function TINT_IFS1.getSPI2AEIF : TBits_1; inline;
  43567. begin
  43568. getSPI2AEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43569. end;
  43570. procedure TINT_IFS1.setSPI2ARXIF; inline;
  43571. begin
  43572. pTDefRegMap(@Self)^.&set := $00000040;
  43573. end;
  43574. procedure TINT_IFS1.clearSPI2ARXIF; inline;
  43575. begin
  43576. pTDefRegMap(@Self)^.clr := $00000040;
  43577. end;
  43578. procedure TINT_IFS1.setSPI2ARXIF(thebits : TBits_1); inline;
  43579. begin
  43580. if thebits = 0 then
  43581. pTDefRegMap(@Self)^.clr := $00000040
  43582. else
  43583. pTDefRegMap(@Self)^.&set := $00000040;
  43584. end;
  43585. function TINT_IFS1.getSPI2ARXIF : TBits_1; inline;
  43586. begin
  43587. getSPI2ARXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43588. end;
  43589. procedure TINT_IFS1.setSPI2ATXIF; inline;
  43590. begin
  43591. pTDefRegMap(@Self)^.&set := $00000080;
  43592. end;
  43593. procedure TINT_IFS1.clearSPI2ATXIF; inline;
  43594. begin
  43595. pTDefRegMap(@Self)^.clr := $00000080;
  43596. end;
  43597. procedure TINT_IFS1.setSPI2ATXIF(thebits : TBits_1); inline;
  43598. begin
  43599. if thebits = 0 then
  43600. pTDefRegMap(@Self)^.clr := $00000080
  43601. else
  43602. pTDefRegMap(@Self)^.&set := $00000080;
  43603. end;
  43604. function TINT_IFS1.getSPI2ATXIF : TBits_1; inline;
  43605. begin
  43606. getSPI2ATXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43607. end;
  43608. procedure TINT_IFS1.setSPI3AEIF; inline;
  43609. begin
  43610. pTDefRegMap(@Self)^.&set := $00000100;
  43611. end;
  43612. procedure TINT_IFS1.clearSPI3AEIF; inline;
  43613. begin
  43614. pTDefRegMap(@Self)^.clr := $00000100;
  43615. end;
  43616. procedure TINT_IFS1.setSPI3AEIF(thebits : TBits_1); inline;
  43617. begin
  43618. if thebits = 0 then
  43619. pTDefRegMap(@Self)^.clr := $00000100
  43620. else
  43621. pTDefRegMap(@Self)^.&set := $00000100;
  43622. end;
  43623. function TINT_IFS1.getSPI3AEIF : TBits_1; inline;
  43624. begin
  43625. getSPI3AEIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43626. end;
  43627. procedure TINT_IFS1.setSPI3ARXIF; inline;
  43628. begin
  43629. pTDefRegMap(@Self)^.&set := $00000200;
  43630. end;
  43631. procedure TINT_IFS1.clearSPI3ARXIF; inline;
  43632. begin
  43633. pTDefRegMap(@Self)^.clr := $00000200;
  43634. end;
  43635. procedure TINT_IFS1.setSPI3ARXIF(thebits : TBits_1); inline;
  43636. begin
  43637. if thebits = 0 then
  43638. pTDefRegMap(@Self)^.clr := $00000200
  43639. else
  43640. pTDefRegMap(@Self)^.&set := $00000200;
  43641. end;
  43642. function TINT_IFS1.getSPI3ARXIF : TBits_1; inline;
  43643. begin
  43644. getSPI3ARXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43645. end;
  43646. procedure TINT_IFS1.setSPI3ATXIF; inline;
  43647. begin
  43648. pTDefRegMap(@Self)^.&set := $00000400;
  43649. end;
  43650. procedure TINT_IFS1.clearSPI3ATXIF; inline;
  43651. begin
  43652. pTDefRegMap(@Self)^.clr := $00000400;
  43653. end;
  43654. procedure TINT_IFS1.setSPI3ATXIF(thebits : TBits_1); inline;
  43655. begin
  43656. if thebits = 0 then
  43657. pTDefRegMap(@Self)^.clr := $00000400
  43658. else
  43659. pTDefRegMap(@Self)^.&set := $00000400;
  43660. end;
  43661. function TINT_IFS1.getSPI3ATXIF : TBits_1; inline;
  43662. begin
  43663. getSPI3ATXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43664. end;
  43665. procedure TINT_IFS1.setI2C4BIF; inline;
  43666. begin
  43667. pTDefRegMap(@Self)^.&set := $00000020;
  43668. end;
  43669. procedure TINT_IFS1.clearI2C4BIF; inline;
  43670. begin
  43671. pTDefRegMap(@Self)^.clr := $00000020;
  43672. end;
  43673. procedure TINT_IFS1.setI2C4BIF(thebits : TBits_1); inline;
  43674. begin
  43675. if thebits = 0 then
  43676. pTDefRegMap(@Self)^.clr := $00000020
  43677. else
  43678. pTDefRegMap(@Self)^.&set := $00000020;
  43679. end;
  43680. function TINT_IFS1.getI2C4BIF : TBits_1; inline;
  43681. begin
  43682. getI2C4BIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43683. end;
  43684. procedure TINT_IFS1.setI2C4SIF; inline;
  43685. begin
  43686. pTDefRegMap(@Self)^.&set := $00000040;
  43687. end;
  43688. procedure TINT_IFS1.clearI2C4SIF; inline;
  43689. begin
  43690. pTDefRegMap(@Self)^.clr := $00000040;
  43691. end;
  43692. procedure TINT_IFS1.setI2C4SIF(thebits : TBits_1); inline;
  43693. begin
  43694. if thebits = 0 then
  43695. pTDefRegMap(@Self)^.clr := $00000040
  43696. else
  43697. pTDefRegMap(@Self)^.&set := $00000040;
  43698. end;
  43699. function TINT_IFS1.getI2C4SIF : TBits_1; inline;
  43700. begin
  43701. getI2C4SIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43702. end;
  43703. procedure TINT_IFS1.setI2C4MIF; inline;
  43704. begin
  43705. pTDefRegMap(@Self)^.&set := $00000080;
  43706. end;
  43707. procedure TINT_IFS1.clearI2C4MIF; inline;
  43708. begin
  43709. pTDefRegMap(@Self)^.clr := $00000080;
  43710. end;
  43711. procedure TINT_IFS1.setI2C4MIF(thebits : TBits_1); inline;
  43712. begin
  43713. if thebits = 0 then
  43714. pTDefRegMap(@Self)^.clr := $00000080
  43715. else
  43716. pTDefRegMap(@Self)^.&set := $00000080;
  43717. end;
  43718. function TINT_IFS1.getI2C4MIF : TBits_1; inline;
  43719. begin
  43720. getI2C4MIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43721. end;
  43722. procedure TINT_IFS1.setI2C5BIF; inline;
  43723. begin
  43724. pTDefRegMap(@Self)^.&set := $00000100;
  43725. end;
  43726. procedure TINT_IFS1.clearI2C5BIF; inline;
  43727. begin
  43728. pTDefRegMap(@Self)^.clr := $00000100;
  43729. end;
  43730. procedure TINT_IFS1.setI2C5BIF(thebits : TBits_1); inline;
  43731. begin
  43732. if thebits = 0 then
  43733. pTDefRegMap(@Self)^.clr := $00000100
  43734. else
  43735. pTDefRegMap(@Self)^.&set := $00000100;
  43736. end;
  43737. function TINT_IFS1.getI2C5BIF : TBits_1; inline;
  43738. begin
  43739. getI2C5BIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43740. end;
  43741. procedure TINT_IFS1.setI2C5SIF; inline;
  43742. begin
  43743. pTDefRegMap(@Self)^.&set := $00000200;
  43744. end;
  43745. procedure TINT_IFS1.clearI2C5SIF; inline;
  43746. begin
  43747. pTDefRegMap(@Self)^.clr := $00000200;
  43748. end;
  43749. procedure TINT_IFS1.setI2C5SIF(thebits : TBits_1); inline;
  43750. begin
  43751. if thebits = 0 then
  43752. pTDefRegMap(@Self)^.clr := $00000200
  43753. else
  43754. pTDefRegMap(@Self)^.&set := $00000200;
  43755. end;
  43756. function TINT_IFS1.getI2C5SIF : TBits_1; inline;
  43757. begin
  43758. getI2C5SIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43759. end;
  43760. procedure TINT_IFS1.setI2C5MIF; inline;
  43761. begin
  43762. pTDefRegMap(@Self)^.&set := $00000400;
  43763. end;
  43764. procedure TINT_IFS1.clearI2C5MIF; inline;
  43765. begin
  43766. pTDefRegMap(@Self)^.clr := $00000400;
  43767. end;
  43768. procedure TINT_IFS1.setI2C5MIF(thebits : TBits_1); inline;
  43769. begin
  43770. if thebits = 0 then
  43771. pTDefRegMap(@Self)^.clr := $00000400
  43772. else
  43773. pTDefRegMap(@Self)^.&set := $00000400;
  43774. end;
  43775. function TINT_IFS1.getI2C5MIF : TBits_1; inline;
  43776. begin
  43777. getI2C5MIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43778. end;
  43779. procedure TINT_IFS1.setI2C2ABIF; inline;
  43780. begin
  43781. pTDefRegMap(@Self)^.&set := $00000020;
  43782. end;
  43783. procedure TINT_IFS1.clearI2C2ABIF; inline;
  43784. begin
  43785. pTDefRegMap(@Self)^.clr := $00000020;
  43786. end;
  43787. procedure TINT_IFS1.setI2C2ABIF(thebits : TBits_1); inline;
  43788. begin
  43789. if thebits = 0 then
  43790. pTDefRegMap(@Self)^.clr := $00000020
  43791. else
  43792. pTDefRegMap(@Self)^.&set := $00000020;
  43793. end;
  43794. function TINT_IFS1.getI2C2ABIF : TBits_1; inline;
  43795. begin
  43796. getI2C2ABIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  43797. end;
  43798. procedure TINT_IFS1.setI2C2ASIF; inline;
  43799. begin
  43800. pTDefRegMap(@Self)^.&set := $00000040;
  43801. end;
  43802. procedure TINT_IFS1.clearI2C2ASIF; inline;
  43803. begin
  43804. pTDefRegMap(@Self)^.clr := $00000040;
  43805. end;
  43806. procedure TINT_IFS1.setI2C2ASIF(thebits : TBits_1); inline;
  43807. begin
  43808. if thebits = 0 then
  43809. pTDefRegMap(@Self)^.clr := $00000040
  43810. else
  43811. pTDefRegMap(@Self)^.&set := $00000040;
  43812. end;
  43813. function TINT_IFS1.getI2C2ASIF : TBits_1; inline;
  43814. begin
  43815. getI2C2ASIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  43816. end;
  43817. procedure TINT_IFS1.setI2C2AMIF; inline;
  43818. begin
  43819. pTDefRegMap(@Self)^.&set := $00000080;
  43820. end;
  43821. procedure TINT_IFS1.clearI2C2AMIF; inline;
  43822. begin
  43823. pTDefRegMap(@Self)^.clr := $00000080;
  43824. end;
  43825. procedure TINT_IFS1.setI2C2AMIF(thebits : TBits_1); inline;
  43826. begin
  43827. if thebits = 0 then
  43828. pTDefRegMap(@Self)^.clr := $00000080
  43829. else
  43830. pTDefRegMap(@Self)^.&set := $00000080;
  43831. end;
  43832. function TINT_IFS1.getI2C2AMIF : TBits_1; inline;
  43833. begin
  43834. getI2C2AMIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  43835. end;
  43836. procedure TINT_IFS1.setI2C3ABIF; inline;
  43837. begin
  43838. pTDefRegMap(@Self)^.&set := $00000100;
  43839. end;
  43840. procedure TINT_IFS1.clearI2C3ABIF; inline;
  43841. begin
  43842. pTDefRegMap(@Self)^.clr := $00000100;
  43843. end;
  43844. procedure TINT_IFS1.setI2C3ABIF(thebits : TBits_1); inline;
  43845. begin
  43846. if thebits = 0 then
  43847. pTDefRegMap(@Self)^.clr := $00000100
  43848. else
  43849. pTDefRegMap(@Self)^.&set := $00000100;
  43850. end;
  43851. function TINT_IFS1.getI2C3ABIF : TBits_1; inline;
  43852. begin
  43853. getI2C3ABIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  43854. end;
  43855. procedure TINT_IFS1.setI2C3ASIF; inline;
  43856. begin
  43857. pTDefRegMap(@Self)^.&set := $00000200;
  43858. end;
  43859. procedure TINT_IFS1.clearI2C3ASIF; inline;
  43860. begin
  43861. pTDefRegMap(@Self)^.clr := $00000200;
  43862. end;
  43863. procedure TINT_IFS1.setI2C3ASIF(thebits : TBits_1); inline;
  43864. begin
  43865. if thebits = 0 then
  43866. pTDefRegMap(@Self)^.clr := $00000200
  43867. else
  43868. pTDefRegMap(@Self)^.&set := $00000200;
  43869. end;
  43870. function TINT_IFS1.getI2C3ASIF : TBits_1; inline;
  43871. begin
  43872. getI2C3ASIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  43873. end;
  43874. procedure TINT_IFS1.setI2C3AMIF; inline;
  43875. begin
  43876. pTDefRegMap(@Self)^.&set := $00000400;
  43877. end;
  43878. procedure TINT_IFS1.clearI2C3AMIF; inline;
  43879. begin
  43880. pTDefRegMap(@Self)^.clr := $00000400;
  43881. end;
  43882. procedure TINT_IFS1.setI2C3AMIF(thebits : TBits_1); inline;
  43883. begin
  43884. if thebits = 0 then
  43885. pTDefRegMap(@Self)^.clr := $00000400
  43886. else
  43887. pTDefRegMap(@Self)^.&set := $00000400;
  43888. end;
  43889. function TINT_IFS1.getI2C3AMIF : TBits_1; inline;
  43890. begin
  43891. getI2C3AMIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  43892. end;
  43893. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  43894. begin
  43895. pTDefRegMap(@Self)^.val := thebits;
  43896. end;
  43897. function TINT_IFS1.getw : TBits_32; inline;
  43898. begin
  43899. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  43900. end;
  43901. procedure TINT_IFS2.setIC4EIF; inline;
  43902. begin
  43903. pTDefRegMap(@Self)^.&set := $00000001;
  43904. end;
  43905. procedure TINT_IFS2.clearIC4EIF; inline;
  43906. begin
  43907. pTDefRegMap(@Self)^.clr := $00000001;
  43908. end;
  43909. procedure TINT_IFS2.setIC4EIF(thebits : TBits_1); inline;
  43910. begin
  43911. if thebits = 0 then
  43912. pTDefRegMap(@Self)^.clr := $00000001
  43913. else
  43914. pTDefRegMap(@Self)^.&set := $00000001;
  43915. end;
  43916. function TINT_IFS2.getIC4EIF : TBits_1; inline;
  43917. begin
  43918. getIC4EIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  43919. end;
  43920. procedure TINT_IFS2.setIC5EIF; inline;
  43921. begin
  43922. pTDefRegMap(@Self)^.&set := $00000002;
  43923. end;
  43924. procedure TINT_IFS2.clearIC5EIF; inline;
  43925. begin
  43926. pTDefRegMap(@Self)^.clr := $00000002;
  43927. end;
  43928. procedure TINT_IFS2.setIC5EIF(thebits : TBits_1); inline;
  43929. begin
  43930. if thebits = 0 then
  43931. pTDefRegMap(@Self)^.clr := $00000002
  43932. else
  43933. pTDefRegMap(@Self)^.&set := $00000002;
  43934. end;
  43935. function TINT_IFS2.getIC5EIF : TBits_1; inline;
  43936. begin
  43937. getIC5EIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  43938. end;
  43939. procedure TINT_IFS2.setPMPEIF; inline;
  43940. begin
  43941. pTDefRegMap(@Self)^.&set := $00000004;
  43942. end;
  43943. procedure TINT_IFS2.clearPMPEIF; inline;
  43944. begin
  43945. pTDefRegMap(@Self)^.clr := $00000004;
  43946. end;
  43947. procedure TINT_IFS2.setPMPEIF(thebits : TBits_1); inline;
  43948. begin
  43949. if thebits = 0 then
  43950. pTDefRegMap(@Self)^.clr := $00000004
  43951. else
  43952. pTDefRegMap(@Self)^.&set := $00000004;
  43953. end;
  43954. function TINT_IFS2.getPMPEIF : TBits_1; inline;
  43955. begin
  43956. getPMPEIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  43957. end;
  43958. procedure TINT_IFS2.setU1BEIF; inline;
  43959. begin
  43960. pTDefRegMap(@Self)^.&set := $00000008;
  43961. end;
  43962. procedure TINT_IFS2.clearU1BEIF; inline;
  43963. begin
  43964. pTDefRegMap(@Self)^.clr := $00000008;
  43965. end;
  43966. procedure TINT_IFS2.setU1BEIF(thebits : TBits_1); inline;
  43967. begin
  43968. if thebits = 0 then
  43969. pTDefRegMap(@Self)^.clr := $00000008
  43970. else
  43971. pTDefRegMap(@Self)^.&set := $00000008;
  43972. end;
  43973. function TINT_IFS2.getU1BEIF : TBits_1; inline;
  43974. begin
  43975. getU1BEIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  43976. end;
  43977. procedure TINT_IFS2.setU1BRXIF; inline;
  43978. begin
  43979. pTDefRegMap(@Self)^.&set := $00000010;
  43980. end;
  43981. procedure TINT_IFS2.clearU1BRXIF; inline;
  43982. begin
  43983. pTDefRegMap(@Self)^.clr := $00000010;
  43984. end;
  43985. procedure TINT_IFS2.setU1BRXIF(thebits : TBits_1); inline;
  43986. begin
  43987. if thebits = 0 then
  43988. pTDefRegMap(@Self)^.clr := $00000010
  43989. else
  43990. pTDefRegMap(@Self)^.&set := $00000010;
  43991. end;
  43992. function TINT_IFS2.getU1BRXIF : TBits_1; inline;
  43993. begin
  43994. getU1BRXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  43995. end;
  43996. procedure TINT_IFS2.setU1BTXIF; inline;
  43997. begin
  43998. pTDefRegMap(@Self)^.&set := $00000020;
  43999. end;
  44000. procedure TINT_IFS2.clearU1BTXIF; inline;
  44001. begin
  44002. pTDefRegMap(@Self)^.clr := $00000020;
  44003. end;
  44004. procedure TINT_IFS2.setU1BTXIF(thebits : TBits_1); inline;
  44005. begin
  44006. if thebits = 0 then
  44007. pTDefRegMap(@Self)^.clr := $00000020
  44008. else
  44009. pTDefRegMap(@Self)^.&set := $00000020;
  44010. end;
  44011. function TINT_IFS2.getU1BTXIF : TBits_1; inline;
  44012. begin
  44013. getU1BTXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44014. end;
  44015. procedure TINT_IFS2.setU2BEIF; inline;
  44016. begin
  44017. pTDefRegMap(@Self)^.&set := $00000040;
  44018. end;
  44019. procedure TINT_IFS2.clearU2BEIF; inline;
  44020. begin
  44021. pTDefRegMap(@Self)^.clr := $00000040;
  44022. end;
  44023. procedure TINT_IFS2.setU2BEIF(thebits : TBits_1); inline;
  44024. begin
  44025. if thebits = 0 then
  44026. pTDefRegMap(@Self)^.clr := $00000040
  44027. else
  44028. pTDefRegMap(@Self)^.&set := $00000040;
  44029. end;
  44030. function TINT_IFS2.getU2BEIF : TBits_1; inline;
  44031. begin
  44032. getU2BEIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44033. end;
  44034. procedure TINT_IFS2.setU2BRXIF; inline;
  44035. begin
  44036. pTDefRegMap(@Self)^.&set := $00000080;
  44037. end;
  44038. procedure TINT_IFS2.clearU2BRXIF; inline;
  44039. begin
  44040. pTDefRegMap(@Self)^.clr := $00000080;
  44041. end;
  44042. procedure TINT_IFS2.setU2BRXIF(thebits : TBits_1); inline;
  44043. begin
  44044. if thebits = 0 then
  44045. pTDefRegMap(@Self)^.clr := $00000080
  44046. else
  44047. pTDefRegMap(@Self)^.&set := $00000080;
  44048. end;
  44049. function TINT_IFS2.getU2BRXIF : TBits_1; inline;
  44050. begin
  44051. getU2BRXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44052. end;
  44053. procedure TINT_IFS2.setU2BTXIF; inline;
  44054. begin
  44055. pTDefRegMap(@Self)^.&set := $00000100;
  44056. end;
  44057. procedure TINT_IFS2.clearU2BTXIF; inline;
  44058. begin
  44059. pTDefRegMap(@Self)^.clr := $00000100;
  44060. end;
  44061. procedure TINT_IFS2.setU2BTXIF(thebits : TBits_1); inline;
  44062. begin
  44063. if thebits = 0 then
  44064. pTDefRegMap(@Self)^.clr := $00000100
  44065. else
  44066. pTDefRegMap(@Self)^.&set := $00000100;
  44067. end;
  44068. function TINT_IFS2.getU2BTXIF : TBits_1; inline;
  44069. begin
  44070. getU2BTXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44071. end;
  44072. procedure TINT_IFS2.setU3BEIF; inline;
  44073. begin
  44074. pTDefRegMap(@Self)^.&set := $00000200;
  44075. end;
  44076. procedure TINT_IFS2.clearU3BEIF; inline;
  44077. begin
  44078. pTDefRegMap(@Self)^.clr := $00000200;
  44079. end;
  44080. procedure TINT_IFS2.setU3BEIF(thebits : TBits_1); inline;
  44081. begin
  44082. if thebits = 0 then
  44083. pTDefRegMap(@Self)^.clr := $00000200
  44084. else
  44085. pTDefRegMap(@Self)^.&set := $00000200;
  44086. end;
  44087. function TINT_IFS2.getU3BEIF : TBits_1; inline;
  44088. begin
  44089. getU3BEIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44090. end;
  44091. procedure TINT_IFS2.setU3BRXIF; inline;
  44092. begin
  44093. pTDefRegMap(@Self)^.&set := $00000400;
  44094. end;
  44095. procedure TINT_IFS2.clearU3BRXIF; inline;
  44096. begin
  44097. pTDefRegMap(@Self)^.clr := $00000400;
  44098. end;
  44099. procedure TINT_IFS2.setU3BRXIF(thebits : TBits_1); inline;
  44100. begin
  44101. if thebits = 0 then
  44102. pTDefRegMap(@Self)^.clr := $00000400
  44103. else
  44104. pTDefRegMap(@Self)^.&set := $00000400;
  44105. end;
  44106. function TINT_IFS2.getU3BRXIF : TBits_1; inline;
  44107. begin
  44108. getU3BRXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44109. end;
  44110. procedure TINT_IFS2.setU3BTXIF; inline;
  44111. begin
  44112. pTDefRegMap(@Self)^.&set := $00000800;
  44113. end;
  44114. procedure TINT_IFS2.clearU3BTXIF; inline;
  44115. begin
  44116. pTDefRegMap(@Self)^.clr := $00000800;
  44117. end;
  44118. procedure TINT_IFS2.setU3BTXIF(thebits : TBits_1); inline;
  44119. begin
  44120. if thebits = 0 then
  44121. pTDefRegMap(@Self)^.clr := $00000800
  44122. else
  44123. pTDefRegMap(@Self)^.&set := $00000800;
  44124. end;
  44125. function TINT_IFS2.getU3BTXIF : TBits_1; inline;
  44126. begin
  44127. getU3BTXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44128. end;
  44129. procedure TINT_IFS2.setU4EIF; inline;
  44130. begin
  44131. pTDefRegMap(@Self)^.&set := $00000008;
  44132. end;
  44133. procedure TINT_IFS2.clearU4EIF; inline;
  44134. begin
  44135. pTDefRegMap(@Self)^.clr := $00000008;
  44136. end;
  44137. procedure TINT_IFS2.setU4EIF(thebits : TBits_1); inline;
  44138. begin
  44139. if thebits = 0 then
  44140. pTDefRegMap(@Self)^.clr := $00000008
  44141. else
  44142. pTDefRegMap(@Self)^.&set := $00000008;
  44143. end;
  44144. function TINT_IFS2.getU4EIF : TBits_1; inline;
  44145. begin
  44146. getU4EIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44147. end;
  44148. procedure TINT_IFS2.setU4RXIF; inline;
  44149. begin
  44150. pTDefRegMap(@Self)^.&set := $00000010;
  44151. end;
  44152. procedure TINT_IFS2.clearU4RXIF; inline;
  44153. begin
  44154. pTDefRegMap(@Self)^.clr := $00000010;
  44155. end;
  44156. procedure TINT_IFS2.setU4RXIF(thebits : TBits_1); inline;
  44157. begin
  44158. if thebits = 0 then
  44159. pTDefRegMap(@Self)^.clr := $00000010
  44160. else
  44161. pTDefRegMap(@Self)^.&set := $00000010;
  44162. end;
  44163. function TINT_IFS2.getU4RXIF : TBits_1; inline;
  44164. begin
  44165. getU4RXIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44166. end;
  44167. procedure TINT_IFS2.setU4TXIF; inline;
  44168. begin
  44169. pTDefRegMap(@Self)^.&set := $00000020;
  44170. end;
  44171. procedure TINT_IFS2.clearU4TXIF; inline;
  44172. begin
  44173. pTDefRegMap(@Self)^.clr := $00000020;
  44174. end;
  44175. procedure TINT_IFS2.setU4TXIF(thebits : TBits_1); inline;
  44176. begin
  44177. if thebits = 0 then
  44178. pTDefRegMap(@Self)^.clr := $00000020
  44179. else
  44180. pTDefRegMap(@Self)^.&set := $00000020;
  44181. end;
  44182. function TINT_IFS2.getU4TXIF : TBits_1; inline;
  44183. begin
  44184. getU4TXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44185. end;
  44186. procedure TINT_IFS2.setU6EIF; inline;
  44187. begin
  44188. pTDefRegMap(@Self)^.&set := $00000040;
  44189. end;
  44190. procedure TINT_IFS2.clearU6EIF; inline;
  44191. begin
  44192. pTDefRegMap(@Self)^.clr := $00000040;
  44193. end;
  44194. procedure TINT_IFS2.setU6EIF(thebits : TBits_1); inline;
  44195. begin
  44196. if thebits = 0 then
  44197. pTDefRegMap(@Self)^.clr := $00000040
  44198. else
  44199. pTDefRegMap(@Self)^.&set := $00000040;
  44200. end;
  44201. function TINT_IFS2.getU6EIF : TBits_1; inline;
  44202. begin
  44203. getU6EIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44204. end;
  44205. procedure TINT_IFS2.setU6RXIF; inline;
  44206. begin
  44207. pTDefRegMap(@Self)^.&set := $00000080;
  44208. end;
  44209. procedure TINT_IFS2.clearU6RXIF; inline;
  44210. begin
  44211. pTDefRegMap(@Self)^.clr := $00000080;
  44212. end;
  44213. procedure TINT_IFS2.setU6RXIF(thebits : TBits_1); inline;
  44214. begin
  44215. if thebits = 0 then
  44216. pTDefRegMap(@Self)^.clr := $00000080
  44217. else
  44218. pTDefRegMap(@Self)^.&set := $00000080;
  44219. end;
  44220. function TINT_IFS2.getU6RXIF : TBits_1; inline;
  44221. begin
  44222. getU6RXIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44223. end;
  44224. procedure TINT_IFS2.setU6TXIF; inline;
  44225. begin
  44226. pTDefRegMap(@Self)^.&set := $00000100;
  44227. end;
  44228. procedure TINT_IFS2.clearU6TXIF; inline;
  44229. begin
  44230. pTDefRegMap(@Self)^.clr := $00000100;
  44231. end;
  44232. procedure TINT_IFS2.setU6TXIF(thebits : TBits_1); inline;
  44233. begin
  44234. if thebits = 0 then
  44235. pTDefRegMap(@Self)^.clr := $00000100
  44236. else
  44237. pTDefRegMap(@Self)^.&set := $00000100;
  44238. end;
  44239. function TINT_IFS2.getU6TXIF : TBits_1; inline;
  44240. begin
  44241. getU6TXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44242. end;
  44243. procedure TINT_IFS2.setU5EIF; inline;
  44244. begin
  44245. pTDefRegMap(@Self)^.&set := $00000200;
  44246. end;
  44247. procedure TINT_IFS2.clearU5EIF; inline;
  44248. begin
  44249. pTDefRegMap(@Self)^.clr := $00000200;
  44250. end;
  44251. procedure TINT_IFS2.setU5EIF(thebits : TBits_1); inline;
  44252. begin
  44253. if thebits = 0 then
  44254. pTDefRegMap(@Self)^.clr := $00000200
  44255. else
  44256. pTDefRegMap(@Self)^.&set := $00000200;
  44257. end;
  44258. function TINT_IFS2.getU5EIF : TBits_1; inline;
  44259. begin
  44260. getU5EIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44261. end;
  44262. procedure TINT_IFS2.setU5RXIF; inline;
  44263. begin
  44264. pTDefRegMap(@Self)^.&set := $00000400;
  44265. end;
  44266. procedure TINT_IFS2.clearU5RXIF; inline;
  44267. begin
  44268. pTDefRegMap(@Self)^.clr := $00000400;
  44269. end;
  44270. procedure TINT_IFS2.setU5RXIF(thebits : TBits_1); inline;
  44271. begin
  44272. if thebits = 0 then
  44273. pTDefRegMap(@Self)^.clr := $00000400
  44274. else
  44275. pTDefRegMap(@Self)^.&set := $00000400;
  44276. end;
  44277. function TINT_IFS2.getU5RXIF : TBits_1; inline;
  44278. begin
  44279. getU5RXIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44280. end;
  44281. procedure TINT_IFS2.setU5TXIF; inline;
  44282. begin
  44283. pTDefRegMap(@Self)^.&set := $00000800;
  44284. end;
  44285. procedure TINT_IFS2.clearU5TXIF; inline;
  44286. begin
  44287. pTDefRegMap(@Self)^.clr := $00000800;
  44288. end;
  44289. procedure TINT_IFS2.setU5TXIF(thebits : TBits_1); inline;
  44290. begin
  44291. if thebits = 0 then
  44292. pTDefRegMap(@Self)^.clr := $00000800
  44293. else
  44294. pTDefRegMap(@Self)^.&set := $00000800;
  44295. end;
  44296. function TINT_IFS2.getU5TXIF : TBits_1; inline;
  44297. begin
  44298. getU5TXIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44299. end;
  44300. procedure TINT_IFS2.setw(thebits : TBits_32); inline;
  44301. begin
  44302. pTDefRegMap(@Self)^.val := thebits;
  44303. end;
  44304. function TINT_IFS2.getw : TBits_32; inline;
  44305. begin
  44306. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  44307. end;
  44308. procedure TINT_IEC0.setCTIE; inline;
  44309. begin
  44310. pTDefRegMap(@Self)^.&set := $00000001;
  44311. end;
  44312. procedure TINT_IEC0.clearCTIE; inline;
  44313. begin
  44314. pTDefRegMap(@Self)^.clr := $00000001;
  44315. end;
  44316. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  44317. begin
  44318. if thebits = 0 then
  44319. pTDefRegMap(@Self)^.clr := $00000001
  44320. else
  44321. pTDefRegMap(@Self)^.&set := $00000001;
  44322. end;
  44323. function TINT_IEC0.getCTIE : TBits_1; inline;
  44324. begin
  44325. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  44326. end;
  44327. procedure TINT_IEC0.setCS0IE; inline;
  44328. begin
  44329. pTDefRegMap(@Self)^.&set := $00000002;
  44330. end;
  44331. procedure TINT_IEC0.clearCS0IE; inline;
  44332. begin
  44333. pTDefRegMap(@Self)^.clr := $00000002;
  44334. end;
  44335. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  44336. begin
  44337. if thebits = 0 then
  44338. pTDefRegMap(@Self)^.clr := $00000002
  44339. else
  44340. pTDefRegMap(@Self)^.&set := $00000002;
  44341. end;
  44342. function TINT_IEC0.getCS0IE : TBits_1; inline;
  44343. begin
  44344. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  44345. end;
  44346. procedure TINT_IEC0.setCS1IE; inline;
  44347. begin
  44348. pTDefRegMap(@Self)^.&set := $00000004;
  44349. end;
  44350. procedure TINT_IEC0.clearCS1IE; inline;
  44351. begin
  44352. pTDefRegMap(@Self)^.clr := $00000004;
  44353. end;
  44354. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  44355. begin
  44356. if thebits = 0 then
  44357. pTDefRegMap(@Self)^.clr := $00000004
  44358. else
  44359. pTDefRegMap(@Self)^.&set := $00000004;
  44360. end;
  44361. function TINT_IEC0.getCS1IE : TBits_1; inline;
  44362. begin
  44363. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  44364. end;
  44365. procedure TINT_IEC0.setINT0IE; inline;
  44366. begin
  44367. pTDefRegMap(@Self)^.&set := $00000008;
  44368. end;
  44369. procedure TINT_IEC0.clearINT0IE; inline;
  44370. begin
  44371. pTDefRegMap(@Self)^.clr := $00000008;
  44372. end;
  44373. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  44374. begin
  44375. if thebits = 0 then
  44376. pTDefRegMap(@Self)^.clr := $00000008
  44377. else
  44378. pTDefRegMap(@Self)^.&set := $00000008;
  44379. end;
  44380. function TINT_IEC0.getINT0IE : TBits_1; inline;
  44381. begin
  44382. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  44383. end;
  44384. procedure TINT_IEC0.setT1IE; inline;
  44385. begin
  44386. pTDefRegMap(@Self)^.&set := $00000010;
  44387. end;
  44388. procedure TINT_IEC0.clearT1IE; inline;
  44389. begin
  44390. pTDefRegMap(@Self)^.clr := $00000010;
  44391. end;
  44392. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  44393. begin
  44394. if thebits = 0 then
  44395. pTDefRegMap(@Self)^.clr := $00000010
  44396. else
  44397. pTDefRegMap(@Self)^.&set := $00000010;
  44398. end;
  44399. function TINT_IEC0.getT1IE : TBits_1; inline;
  44400. begin
  44401. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  44402. end;
  44403. procedure TINT_IEC0.setIC1IE; inline;
  44404. begin
  44405. pTDefRegMap(@Self)^.&set := $00000020;
  44406. end;
  44407. procedure TINT_IEC0.clearIC1IE; inline;
  44408. begin
  44409. pTDefRegMap(@Self)^.clr := $00000020;
  44410. end;
  44411. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  44412. begin
  44413. if thebits = 0 then
  44414. pTDefRegMap(@Self)^.clr := $00000020
  44415. else
  44416. pTDefRegMap(@Self)^.&set := $00000020;
  44417. end;
  44418. function TINT_IEC0.getIC1IE : TBits_1; inline;
  44419. begin
  44420. getIC1IE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  44421. end;
  44422. procedure TINT_IEC0.setOC1IE; inline;
  44423. begin
  44424. pTDefRegMap(@Self)^.&set := $00000040;
  44425. end;
  44426. procedure TINT_IEC0.clearOC1IE; inline;
  44427. begin
  44428. pTDefRegMap(@Self)^.clr := $00000040;
  44429. end;
  44430. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  44431. begin
  44432. if thebits = 0 then
  44433. pTDefRegMap(@Self)^.clr := $00000040
  44434. else
  44435. pTDefRegMap(@Self)^.&set := $00000040;
  44436. end;
  44437. function TINT_IEC0.getOC1IE : TBits_1; inline;
  44438. begin
  44439. getOC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  44440. end;
  44441. procedure TINT_IEC0.setINT1IE; inline;
  44442. begin
  44443. pTDefRegMap(@Self)^.&set := $00000080;
  44444. end;
  44445. procedure TINT_IEC0.clearINT1IE; inline;
  44446. begin
  44447. pTDefRegMap(@Self)^.clr := $00000080;
  44448. end;
  44449. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  44450. begin
  44451. if thebits = 0 then
  44452. pTDefRegMap(@Self)^.clr := $00000080
  44453. else
  44454. pTDefRegMap(@Self)^.&set := $00000080;
  44455. end;
  44456. function TINT_IEC0.getINT1IE : TBits_1; inline;
  44457. begin
  44458. getINT1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  44459. end;
  44460. procedure TINT_IEC0.setT2IE; inline;
  44461. begin
  44462. pTDefRegMap(@Self)^.&set := $00000100;
  44463. end;
  44464. procedure TINT_IEC0.clearT2IE; inline;
  44465. begin
  44466. pTDefRegMap(@Self)^.clr := $00000100;
  44467. end;
  44468. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  44469. begin
  44470. if thebits = 0 then
  44471. pTDefRegMap(@Self)^.clr := $00000100
  44472. else
  44473. pTDefRegMap(@Self)^.&set := $00000100;
  44474. end;
  44475. function TINT_IEC0.getT2IE : TBits_1; inline;
  44476. begin
  44477. getT2IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  44478. end;
  44479. procedure TINT_IEC0.setIC2IE; inline;
  44480. begin
  44481. pTDefRegMap(@Self)^.&set := $00000200;
  44482. end;
  44483. procedure TINT_IEC0.clearIC2IE; inline;
  44484. begin
  44485. pTDefRegMap(@Self)^.clr := $00000200;
  44486. end;
  44487. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  44488. begin
  44489. if thebits = 0 then
  44490. pTDefRegMap(@Self)^.clr := $00000200
  44491. else
  44492. pTDefRegMap(@Self)^.&set := $00000200;
  44493. end;
  44494. function TINT_IEC0.getIC2IE : TBits_1; inline;
  44495. begin
  44496. getIC2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  44497. end;
  44498. procedure TINT_IEC0.setOC2IE; inline;
  44499. begin
  44500. pTDefRegMap(@Self)^.&set := $00000400;
  44501. end;
  44502. procedure TINT_IEC0.clearOC2IE; inline;
  44503. begin
  44504. pTDefRegMap(@Self)^.clr := $00000400;
  44505. end;
  44506. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  44507. begin
  44508. if thebits = 0 then
  44509. pTDefRegMap(@Self)^.clr := $00000400
  44510. else
  44511. pTDefRegMap(@Self)^.&set := $00000400;
  44512. end;
  44513. function TINT_IEC0.getOC2IE : TBits_1; inline;
  44514. begin
  44515. getOC2IE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  44516. end;
  44517. procedure TINT_IEC0.setINT2IE; inline;
  44518. begin
  44519. pTDefRegMap(@Self)^.&set := $00000800;
  44520. end;
  44521. procedure TINT_IEC0.clearINT2IE; inline;
  44522. begin
  44523. pTDefRegMap(@Self)^.clr := $00000800;
  44524. end;
  44525. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  44526. begin
  44527. if thebits = 0 then
  44528. pTDefRegMap(@Self)^.clr := $00000800
  44529. else
  44530. pTDefRegMap(@Self)^.&set := $00000800;
  44531. end;
  44532. function TINT_IEC0.getINT2IE : TBits_1; inline;
  44533. begin
  44534. getINT2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  44535. end;
  44536. procedure TINT_IEC0.setT3IE; inline;
  44537. begin
  44538. pTDefRegMap(@Self)^.&set := $00001000;
  44539. end;
  44540. procedure TINT_IEC0.clearT3IE; inline;
  44541. begin
  44542. pTDefRegMap(@Self)^.clr := $00001000;
  44543. end;
  44544. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  44545. begin
  44546. if thebits = 0 then
  44547. pTDefRegMap(@Self)^.clr := $00001000
  44548. else
  44549. pTDefRegMap(@Self)^.&set := $00001000;
  44550. end;
  44551. function TINT_IEC0.getT3IE : TBits_1; inline;
  44552. begin
  44553. getT3IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  44554. end;
  44555. procedure TINT_IEC0.setIC3IE; inline;
  44556. begin
  44557. pTDefRegMap(@Self)^.&set := $00002000;
  44558. end;
  44559. procedure TINT_IEC0.clearIC3IE; inline;
  44560. begin
  44561. pTDefRegMap(@Self)^.clr := $00002000;
  44562. end;
  44563. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  44564. begin
  44565. if thebits = 0 then
  44566. pTDefRegMap(@Self)^.clr := $00002000
  44567. else
  44568. pTDefRegMap(@Self)^.&set := $00002000;
  44569. end;
  44570. function TINT_IEC0.getIC3IE : TBits_1; inline;
  44571. begin
  44572. getIC3IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  44573. end;
  44574. procedure TINT_IEC0.setOC3IE; inline;
  44575. begin
  44576. pTDefRegMap(@Self)^.&set := $00004000;
  44577. end;
  44578. procedure TINT_IEC0.clearOC3IE; inline;
  44579. begin
  44580. pTDefRegMap(@Self)^.clr := $00004000;
  44581. end;
  44582. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  44583. begin
  44584. if thebits = 0 then
  44585. pTDefRegMap(@Self)^.clr := $00004000
  44586. else
  44587. pTDefRegMap(@Self)^.&set := $00004000;
  44588. end;
  44589. function TINT_IEC0.getOC3IE : TBits_1; inline;
  44590. begin
  44591. getOC3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  44592. end;
  44593. procedure TINT_IEC0.setINT3IE; inline;
  44594. begin
  44595. pTDefRegMap(@Self)^.&set := $00008000;
  44596. end;
  44597. procedure TINT_IEC0.clearINT3IE; inline;
  44598. begin
  44599. pTDefRegMap(@Self)^.clr := $00008000;
  44600. end;
  44601. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  44602. begin
  44603. if thebits = 0 then
  44604. pTDefRegMap(@Self)^.clr := $00008000
  44605. else
  44606. pTDefRegMap(@Self)^.&set := $00008000;
  44607. end;
  44608. function TINT_IEC0.getINT3IE : TBits_1; inline;
  44609. begin
  44610. getINT3IE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  44611. end;
  44612. procedure TINT_IEC0.setT4IE; inline;
  44613. begin
  44614. pTDefRegMap(@Self)^.&set := $00010000;
  44615. end;
  44616. procedure TINT_IEC0.clearT4IE; inline;
  44617. begin
  44618. pTDefRegMap(@Self)^.clr := $00010000;
  44619. end;
  44620. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  44621. begin
  44622. if thebits = 0 then
  44623. pTDefRegMap(@Self)^.clr := $00010000
  44624. else
  44625. pTDefRegMap(@Self)^.&set := $00010000;
  44626. end;
  44627. function TINT_IEC0.getT4IE : TBits_1; inline;
  44628. begin
  44629. getT4IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  44630. end;
  44631. procedure TINT_IEC0.setIC4IE; inline;
  44632. begin
  44633. pTDefRegMap(@Self)^.&set := $00020000;
  44634. end;
  44635. procedure TINT_IEC0.clearIC4IE; inline;
  44636. begin
  44637. pTDefRegMap(@Self)^.clr := $00020000;
  44638. end;
  44639. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  44640. begin
  44641. if thebits = 0 then
  44642. pTDefRegMap(@Self)^.clr := $00020000
  44643. else
  44644. pTDefRegMap(@Self)^.&set := $00020000;
  44645. end;
  44646. function TINT_IEC0.getIC4IE : TBits_1; inline;
  44647. begin
  44648. getIC4IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  44649. end;
  44650. procedure TINT_IEC0.setOC4IE; inline;
  44651. begin
  44652. pTDefRegMap(@Self)^.&set := $00040000;
  44653. end;
  44654. procedure TINT_IEC0.clearOC4IE; inline;
  44655. begin
  44656. pTDefRegMap(@Self)^.clr := $00040000;
  44657. end;
  44658. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  44659. begin
  44660. if thebits = 0 then
  44661. pTDefRegMap(@Self)^.clr := $00040000
  44662. else
  44663. pTDefRegMap(@Self)^.&set := $00040000;
  44664. end;
  44665. function TINT_IEC0.getOC4IE : TBits_1; inline;
  44666. begin
  44667. getOC4IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  44668. end;
  44669. procedure TINT_IEC0.setINT4IE; inline;
  44670. begin
  44671. pTDefRegMap(@Self)^.&set := $00080000;
  44672. end;
  44673. procedure TINT_IEC0.clearINT4IE; inline;
  44674. begin
  44675. pTDefRegMap(@Self)^.clr := $00080000;
  44676. end;
  44677. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  44678. begin
  44679. if thebits = 0 then
  44680. pTDefRegMap(@Self)^.clr := $00080000
  44681. else
  44682. pTDefRegMap(@Self)^.&set := $00080000;
  44683. end;
  44684. function TINT_IEC0.getINT4IE : TBits_1; inline;
  44685. begin
  44686. getINT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  44687. end;
  44688. procedure TINT_IEC0.setT5IE; inline;
  44689. begin
  44690. pTDefRegMap(@Self)^.&set := $00100000;
  44691. end;
  44692. procedure TINT_IEC0.clearT5IE; inline;
  44693. begin
  44694. pTDefRegMap(@Self)^.clr := $00100000;
  44695. end;
  44696. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  44697. begin
  44698. if thebits = 0 then
  44699. pTDefRegMap(@Self)^.clr := $00100000
  44700. else
  44701. pTDefRegMap(@Self)^.&set := $00100000;
  44702. end;
  44703. function TINT_IEC0.getT5IE : TBits_1; inline;
  44704. begin
  44705. getT5IE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  44706. end;
  44707. procedure TINT_IEC0.setIC5IE; inline;
  44708. begin
  44709. pTDefRegMap(@Self)^.&set := $00200000;
  44710. end;
  44711. procedure TINT_IEC0.clearIC5IE; inline;
  44712. begin
  44713. pTDefRegMap(@Self)^.clr := $00200000;
  44714. end;
  44715. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  44716. begin
  44717. if thebits = 0 then
  44718. pTDefRegMap(@Self)^.clr := $00200000
  44719. else
  44720. pTDefRegMap(@Self)^.&set := $00200000;
  44721. end;
  44722. function TINT_IEC0.getIC5IE : TBits_1; inline;
  44723. begin
  44724. getIC5IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  44725. end;
  44726. procedure TINT_IEC0.setOC5IE; inline;
  44727. begin
  44728. pTDefRegMap(@Self)^.&set := $00400000;
  44729. end;
  44730. procedure TINT_IEC0.clearOC5IE; inline;
  44731. begin
  44732. pTDefRegMap(@Self)^.clr := $00400000;
  44733. end;
  44734. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  44735. begin
  44736. if thebits = 0 then
  44737. pTDefRegMap(@Self)^.clr := $00400000
  44738. else
  44739. pTDefRegMap(@Self)^.&set := $00400000;
  44740. end;
  44741. function TINT_IEC0.getOC5IE : TBits_1; inline;
  44742. begin
  44743. getOC5IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  44744. end;
  44745. procedure TINT_IEC0.setSPI1EIE; inline;
  44746. begin
  44747. pTDefRegMap(@Self)^.&set := $00800000;
  44748. end;
  44749. procedure TINT_IEC0.clearSPI1EIE; inline;
  44750. begin
  44751. pTDefRegMap(@Self)^.clr := $00800000;
  44752. end;
  44753. procedure TINT_IEC0.setSPI1EIE(thebits : TBits_1); inline;
  44754. begin
  44755. if thebits = 0 then
  44756. pTDefRegMap(@Self)^.clr := $00800000
  44757. else
  44758. pTDefRegMap(@Self)^.&set := $00800000;
  44759. end;
  44760. function TINT_IEC0.getSPI1EIE : TBits_1; inline;
  44761. begin
  44762. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  44763. end;
  44764. procedure TINT_IEC0.setSPI1RXIE; inline;
  44765. begin
  44766. pTDefRegMap(@Self)^.&set := $01000000;
  44767. end;
  44768. procedure TINT_IEC0.clearSPI1RXIE; inline;
  44769. begin
  44770. pTDefRegMap(@Self)^.clr := $01000000;
  44771. end;
  44772. procedure TINT_IEC0.setSPI1RXIE(thebits : TBits_1); inline;
  44773. begin
  44774. if thebits = 0 then
  44775. pTDefRegMap(@Self)^.clr := $01000000
  44776. else
  44777. pTDefRegMap(@Self)^.&set := $01000000;
  44778. end;
  44779. function TINT_IEC0.getSPI1RXIE : TBits_1; inline;
  44780. begin
  44781. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  44782. end;
  44783. procedure TINT_IEC0.setSPI1TXIE; inline;
  44784. begin
  44785. pTDefRegMap(@Self)^.&set := $02000000;
  44786. end;
  44787. procedure TINT_IEC0.clearSPI1TXIE; inline;
  44788. begin
  44789. pTDefRegMap(@Self)^.clr := $02000000;
  44790. end;
  44791. procedure TINT_IEC0.setSPI1TXIE(thebits : TBits_1); inline;
  44792. begin
  44793. if thebits = 0 then
  44794. pTDefRegMap(@Self)^.clr := $02000000
  44795. else
  44796. pTDefRegMap(@Self)^.&set := $02000000;
  44797. end;
  44798. function TINT_IEC0.getSPI1TXIE : TBits_1; inline;
  44799. begin
  44800. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  44801. end;
  44802. procedure TINT_IEC0.setU1EIE; inline;
  44803. begin
  44804. pTDefRegMap(@Self)^.&set := $04000000;
  44805. end;
  44806. procedure TINT_IEC0.clearU1EIE; inline;
  44807. begin
  44808. pTDefRegMap(@Self)^.clr := $04000000;
  44809. end;
  44810. procedure TINT_IEC0.setU1EIE(thebits : TBits_1); inline;
  44811. begin
  44812. if thebits = 0 then
  44813. pTDefRegMap(@Self)^.clr := $04000000
  44814. else
  44815. pTDefRegMap(@Self)^.&set := $04000000;
  44816. end;
  44817. function TINT_IEC0.getU1EIE : TBits_1; inline;
  44818. begin
  44819. getU1EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44820. end;
  44821. procedure TINT_IEC0.setU1RXIE; inline;
  44822. begin
  44823. pTDefRegMap(@Self)^.&set := $08000000;
  44824. end;
  44825. procedure TINT_IEC0.clearU1RXIE; inline;
  44826. begin
  44827. pTDefRegMap(@Self)^.clr := $08000000;
  44828. end;
  44829. procedure TINT_IEC0.setU1RXIE(thebits : TBits_1); inline;
  44830. begin
  44831. if thebits = 0 then
  44832. pTDefRegMap(@Self)^.clr := $08000000
  44833. else
  44834. pTDefRegMap(@Self)^.&set := $08000000;
  44835. end;
  44836. function TINT_IEC0.getU1RXIE : TBits_1; inline;
  44837. begin
  44838. getU1RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  44839. end;
  44840. procedure TINT_IEC0.setU1TXIE; inline;
  44841. begin
  44842. pTDefRegMap(@Self)^.&set := $10000000;
  44843. end;
  44844. procedure TINT_IEC0.clearU1TXIE; inline;
  44845. begin
  44846. pTDefRegMap(@Self)^.clr := $10000000;
  44847. end;
  44848. procedure TINT_IEC0.setU1TXIE(thebits : TBits_1); inline;
  44849. begin
  44850. if thebits = 0 then
  44851. pTDefRegMap(@Self)^.clr := $10000000
  44852. else
  44853. pTDefRegMap(@Self)^.&set := $10000000;
  44854. end;
  44855. function TINT_IEC0.getU1TXIE : TBits_1; inline;
  44856. begin
  44857. getU1TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44858. end;
  44859. procedure TINT_IEC0.setI2C1BIE; inline;
  44860. begin
  44861. pTDefRegMap(@Self)^.&set := $20000000;
  44862. end;
  44863. procedure TINT_IEC0.clearI2C1BIE; inline;
  44864. begin
  44865. pTDefRegMap(@Self)^.clr := $20000000;
  44866. end;
  44867. procedure TINT_IEC0.setI2C1BIE(thebits : TBits_1); inline;
  44868. begin
  44869. if thebits = 0 then
  44870. pTDefRegMap(@Self)^.clr := $20000000
  44871. else
  44872. pTDefRegMap(@Self)^.&set := $20000000;
  44873. end;
  44874. function TINT_IEC0.getI2C1BIE : TBits_1; inline;
  44875. begin
  44876. getI2C1BIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  44877. end;
  44878. procedure TINT_IEC0.setI2C1SIE; inline;
  44879. begin
  44880. pTDefRegMap(@Self)^.&set := $40000000;
  44881. end;
  44882. procedure TINT_IEC0.clearI2C1SIE; inline;
  44883. begin
  44884. pTDefRegMap(@Self)^.clr := $40000000;
  44885. end;
  44886. procedure TINT_IEC0.setI2C1SIE(thebits : TBits_1); inline;
  44887. begin
  44888. if thebits = 0 then
  44889. pTDefRegMap(@Self)^.clr := $40000000
  44890. else
  44891. pTDefRegMap(@Self)^.&set := $40000000;
  44892. end;
  44893. function TINT_IEC0.getI2C1SIE : TBits_1; inline;
  44894. begin
  44895. getI2C1SIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  44896. end;
  44897. procedure TINT_IEC0.setI2C1MIE; inline;
  44898. begin
  44899. pTDefRegMap(@Self)^.&set := $80000000;
  44900. end;
  44901. procedure TINT_IEC0.clearI2C1MIE; inline;
  44902. begin
  44903. pTDefRegMap(@Self)^.clr := $80000000;
  44904. end;
  44905. procedure TINT_IEC0.setI2C1MIE(thebits : TBits_1); inline;
  44906. begin
  44907. if thebits = 0 then
  44908. pTDefRegMap(@Self)^.clr := $80000000
  44909. else
  44910. pTDefRegMap(@Self)^.&set := $80000000;
  44911. end;
  44912. function TINT_IEC0.getI2C1MIE : TBits_1; inline;
  44913. begin
  44914. getI2C1MIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  44915. end;
  44916. procedure TINT_IEC0.setU1AEIE; inline;
  44917. begin
  44918. pTDefRegMap(@Self)^.&set := $04000000;
  44919. end;
  44920. procedure TINT_IEC0.clearU1AEIE; inline;
  44921. begin
  44922. pTDefRegMap(@Self)^.clr := $04000000;
  44923. end;
  44924. procedure TINT_IEC0.setU1AEIE(thebits : TBits_1); inline;
  44925. begin
  44926. if thebits = 0 then
  44927. pTDefRegMap(@Self)^.clr := $04000000
  44928. else
  44929. pTDefRegMap(@Self)^.&set := $04000000;
  44930. end;
  44931. function TINT_IEC0.getU1AEIE : TBits_1; inline;
  44932. begin
  44933. getU1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44934. end;
  44935. procedure TINT_IEC0.setU1ARXIE; inline;
  44936. begin
  44937. pTDefRegMap(@Self)^.&set := $08000000;
  44938. end;
  44939. procedure TINT_IEC0.clearU1ARXIE; inline;
  44940. begin
  44941. pTDefRegMap(@Self)^.clr := $08000000;
  44942. end;
  44943. procedure TINT_IEC0.setU1ARXIE(thebits : TBits_1); inline;
  44944. begin
  44945. if thebits = 0 then
  44946. pTDefRegMap(@Self)^.clr := $08000000
  44947. else
  44948. pTDefRegMap(@Self)^.&set := $08000000;
  44949. end;
  44950. function TINT_IEC0.getU1ARXIE : TBits_1; inline;
  44951. begin
  44952. getU1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  44953. end;
  44954. procedure TINT_IEC0.setU1ATXIE; inline;
  44955. begin
  44956. pTDefRegMap(@Self)^.&set := $10000000;
  44957. end;
  44958. procedure TINT_IEC0.clearU1ATXIE; inline;
  44959. begin
  44960. pTDefRegMap(@Self)^.clr := $10000000;
  44961. end;
  44962. procedure TINT_IEC0.setU1ATXIE(thebits : TBits_1); inline;
  44963. begin
  44964. if thebits = 0 then
  44965. pTDefRegMap(@Self)^.clr := $10000000
  44966. else
  44967. pTDefRegMap(@Self)^.&set := $10000000;
  44968. end;
  44969. function TINT_IEC0.getU1ATXIE : TBits_1; inline;
  44970. begin
  44971. getU1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  44972. end;
  44973. procedure TINT_IEC0.setSPI3EIE; inline;
  44974. begin
  44975. pTDefRegMap(@Self)^.&set := $04000000;
  44976. end;
  44977. procedure TINT_IEC0.clearSPI3EIE; inline;
  44978. begin
  44979. pTDefRegMap(@Self)^.clr := $04000000;
  44980. end;
  44981. procedure TINT_IEC0.setSPI3EIE(thebits : TBits_1); inline;
  44982. begin
  44983. if thebits = 0 then
  44984. pTDefRegMap(@Self)^.clr := $04000000
  44985. else
  44986. pTDefRegMap(@Self)^.&set := $04000000;
  44987. end;
  44988. function TINT_IEC0.getSPI3EIE : TBits_1; inline;
  44989. begin
  44990. getSPI3EIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  44991. end;
  44992. procedure TINT_IEC0.setSPI3RXIE; inline;
  44993. begin
  44994. pTDefRegMap(@Self)^.&set := $08000000;
  44995. end;
  44996. procedure TINT_IEC0.clearSPI3RXIE; inline;
  44997. begin
  44998. pTDefRegMap(@Self)^.clr := $08000000;
  44999. end;
  45000. procedure TINT_IEC0.setSPI3RXIE(thebits : TBits_1); inline;
  45001. begin
  45002. if thebits = 0 then
  45003. pTDefRegMap(@Self)^.clr := $08000000
  45004. else
  45005. pTDefRegMap(@Self)^.&set := $08000000;
  45006. end;
  45007. function TINT_IEC0.getSPI3RXIE : TBits_1; inline;
  45008. begin
  45009. getSPI3RXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45010. end;
  45011. procedure TINT_IEC0.setSPI3TXIE; inline;
  45012. begin
  45013. pTDefRegMap(@Self)^.&set := $10000000;
  45014. end;
  45015. procedure TINT_IEC0.clearSPI3TXIE; inline;
  45016. begin
  45017. pTDefRegMap(@Self)^.clr := $10000000;
  45018. end;
  45019. procedure TINT_IEC0.setSPI3TXIE(thebits : TBits_1); inline;
  45020. begin
  45021. if thebits = 0 then
  45022. pTDefRegMap(@Self)^.clr := $10000000
  45023. else
  45024. pTDefRegMap(@Self)^.&set := $10000000;
  45025. end;
  45026. function TINT_IEC0.getSPI3TXIE : TBits_1; inline;
  45027. begin
  45028. getSPI3TXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45029. end;
  45030. procedure TINT_IEC0.setSPI1AEIE; inline;
  45031. begin
  45032. pTDefRegMap(@Self)^.&set := $04000000;
  45033. end;
  45034. procedure TINT_IEC0.clearSPI1AEIE; inline;
  45035. begin
  45036. pTDefRegMap(@Self)^.clr := $04000000;
  45037. end;
  45038. procedure TINT_IEC0.setSPI1AEIE(thebits : TBits_1); inline;
  45039. begin
  45040. if thebits = 0 then
  45041. pTDefRegMap(@Self)^.clr := $04000000
  45042. else
  45043. pTDefRegMap(@Self)^.&set := $04000000;
  45044. end;
  45045. function TINT_IEC0.getSPI1AEIE : TBits_1; inline;
  45046. begin
  45047. getSPI1AEIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45048. end;
  45049. procedure TINT_IEC0.setSPI1ARXIE; inline;
  45050. begin
  45051. pTDefRegMap(@Self)^.&set := $08000000;
  45052. end;
  45053. procedure TINT_IEC0.clearSPI1ARXIE; inline;
  45054. begin
  45055. pTDefRegMap(@Self)^.clr := $08000000;
  45056. end;
  45057. procedure TINT_IEC0.setSPI1ARXIE(thebits : TBits_1); inline;
  45058. begin
  45059. if thebits = 0 then
  45060. pTDefRegMap(@Self)^.clr := $08000000
  45061. else
  45062. pTDefRegMap(@Self)^.&set := $08000000;
  45063. end;
  45064. function TINT_IEC0.getSPI1ARXIE : TBits_1; inline;
  45065. begin
  45066. getSPI1ARXIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45067. end;
  45068. procedure TINT_IEC0.setSPI1ATXIE; inline;
  45069. begin
  45070. pTDefRegMap(@Self)^.&set := $10000000;
  45071. end;
  45072. procedure TINT_IEC0.clearSPI1ATXIE; inline;
  45073. begin
  45074. pTDefRegMap(@Self)^.clr := $10000000;
  45075. end;
  45076. procedure TINT_IEC0.setSPI1ATXIE(thebits : TBits_1); inline;
  45077. begin
  45078. if thebits = 0 then
  45079. pTDefRegMap(@Self)^.clr := $10000000
  45080. else
  45081. pTDefRegMap(@Self)^.&set := $10000000;
  45082. end;
  45083. function TINT_IEC0.getSPI1ATXIE : TBits_1; inline;
  45084. begin
  45085. getSPI1ATXIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45086. end;
  45087. procedure TINT_IEC0.setI2C3BIE; inline;
  45088. begin
  45089. pTDefRegMap(@Self)^.&set := $04000000;
  45090. end;
  45091. procedure TINT_IEC0.clearI2C3BIE; inline;
  45092. begin
  45093. pTDefRegMap(@Self)^.clr := $04000000;
  45094. end;
  45095. procedure TINT_IEC0.setI2C3BIE(thebits : TBits_1); inline;
  45096. begin
  45097. if thebits = 0 then
  45098. pTDefRegMap(@Self)^.clr := $04000000
  45099. else
  45100. pTDefRegMap(@Self)^.&set := $04000000;
  45101. end;
  45102. function TINT_IEC0.getI2C3BIE : TBits_1; inline;
  45103. begin
  45104. getI2C3BIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45105. end;
  45106. procedure TINT_IEC0.setI2C3SIE; inline;
  45107. begin
  45108. pTDefRegMap(@Self)^.&set := $08000000;
  45109. end;
  45110. procedure TINT_IEC0.clearI2C3SIE; inline;
  45111. begin
  45112. pTDefRegMap(@Self)^.clr := $08000000;
  45113. end;
  45114. procedure TINT_IEC0.setI2C3SIE(thebits : TBits_1); inline;
  45115. begin
  45116. if thebits = 0 then
  45117. pTDefRegMap(@Self)^.clr := $08000000
  45118. else
  45119. pTDefRegMap(@Self)^.&set := $08000000;
  45120. end;
  45121. function TINT_IEC0.getI2C3SIE : TBits_1; inline;
  45122. begin
  45123. getI2C3SIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45124. end;
  45125. procedure TINT_IEC0.setI2C3MIE; inline;
  45126. begin
  45127. pTDefRegMap(@Self)^.&set := $10000000;
  45128. end;
  45129. procedure TINT_IEC0.clearI2C3MIE; inline;
  45130. begin
  45131. pTDefRegMap(@Self)^.clr := $10000000;
  45132. end;
  45133. procedure TINT_IEC0.setI2C3MIE(thebits : TBits_1); inline;
  45134. begin
  45135. if thebits = 0 then
  45136. pTDefRegMap(@Self)^.clr := $10000000
  45137. else
  45138. pTDefRegMap(@Self)^.&set := $10000000;
  45139. end;
  45140. function TINT_IEC0.getI2C3MIE : TBits_1; inline;
  45141. begin
  45142. getI2C3MIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45143. end;
  45144. procedure TINT_IEC0.setI2C1ABIE; inline;
  45145. begin
  45146. pTDefRegMap(@Self)^.&set := $04000000;
  45147. end;
  45148. procedure TINT_IEC0.clearI2C1ABIE; inline;
  45149. begin
  45150. pTDefRegMap(@Self)^.clr := $04000000;
  45151. end;
  45152. procedure TINT_IEC0.setI2C1ABIE(thebits : TBits_1); inline;
  45153. begin
  45154. if thebits = 0 then
  45155. pTDefRegMap(@Self)^.clr := $04000000
  45156. else
  45157. pTDefRegMap(@Self)^.&set := $04000000;
  45158. end;
  45159. function TINT_IEC0.getI2C1ABIE : TBits_1; inline;
  45160. begin
  45161. getI2C1ABIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  45162. end;
  45163. procedure TINT_IEC0.setI2C1ASIE; inline;
  45164. begin
  45165. pTDefRegMap(@Self)^.&set := $08000000;
  45166. end;
  45167. procedure TINT_IEC0.clearI2C1ASIE; inline;
  45168. begin
  45169. pTDefRegMap(@Self)^.clr := $08000000;
  45170. end;
  45171. procedure TINT_IEC0.setI2C1ASIE(thebits : TBits_1); inline;
  45172. begin
  45173. if thebits = 0 then
  45174. pTDefRegMap(@Self)^.clr := $08000000
  45175. else
  45176. pTDefRegMap(@Self)^.&set := $08000000;
  45177. end;
  45178. function TINT_IEC0.getI2C1ASIE : TBits_1; inline;
  45179. begin
  45180. getI2C1ASIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  45181. end;
  45182. procedure TINT_IEC0.setI2C1AMIE; inline;
  45183. begin
  45184. pTDefRegMap(@Self)^.&set := $10000000;
  45185. end;
  45186. procedure TINT_IEC0.clearI2C1AMIE; inline;
  45187. begin
  45188. pTDefRegMap(@Self)^.clr := $10000000;
  45189. end;
  45190. procedure TINT_IEC0.setI2C1AMIE(thebits : TBits_1); inline;
  45191. begin
  45192. if thebits = 0 then
  45193. pTDefRegMap(@Self)^.clr := $10000000
  45194. else
  45195. pTDefRegMap(@Self)^.&set := $10000000;
  45196. end;
  45197. function TINT_IEC0.getI2C1AMIE : TBits_1; inline;
  45198. begin
  45199. getI2C1AMIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45200. end;
  45201. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  45202. begin
  45203. pTDefRegMap(@Self)^.val := thebits;
  45204. end;
  45205. function TINT_IEC0.getw : TBits_32; inline;
  45206. begin
  45207. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  45208. end;
  45209. procedure TINT_IEC1.setCNIE; inline;
  45210. begin
  45211. pTDefRegMap(@Self)^.&set := $00000001;
  45212. end;
  45213. procedure TINT_IEC1.clearCNIE; inline;
  45214. begin
  45215. pTDefRegMap(@Self)^.clr := $00000001;
  45216. end;
  45217. procedure TINT_IEC1.setCNIE(thebits : TBits_1); inline;
  45218. begin
  45219. if thebits = 0 then
  45220. pTDefRegMap(@Self)^.clr := $00000001
  45221. else
  45222. pTDefRegMap(@Self)^.&set := $00000001;
  45223. end;
  45224. function TINT_IEC1.getCNIE : TBits_1; inline;
  45225. begin
  45226. getCNIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  45227. end;
  45228. procedure TINT_IEC1.setAD1IE; inline;
  45229. begin
  45230. pTDefRegMap(@Self)^.&set := $00000002;
  45231. end;
  45232. procedure TINT_IEC1.clearAD1IE; inline;
  45233. begin
  45234. pTDefRegMap(@Self)^.clr := $00000002;
  45235. end;
  45236. procedure TINT_IEC1.setAD1IE(thebits : TBits_1); inline;
  45237. begin
  45238. if thebits = 0 then
  45239. pTDefRegMap(@Self)^.clr := $00000002
  45240. else
  45241. pTDefRegMap(@Self)^.&set := $00000002;
  45242. end;
  45243. function TINT_IEC1.getAD1IE : TBits_1; inline;
  45244. begin
  45245. getAD1IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  45246. end;
  45247. procedure TINT_IEC1.setPMPIE; inline;
  45248. begin
  45249. pTDefRegMap(@Self)^.&set := $00000004;
  45250. end;
  45251. procedure TINT_IEC1.clearPMPIE; inline;
  45252. begin
  45253. pTDefRegMap(@Self)^.clr := $00000004;
  45254. end;
  45255. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  45256. begin
  45257. if thebits = 0 then
  45258. pTDefRegMap(@Self)^.clr := $00000004
  45259. else
  45260. pTDefRegMap(@Self)^.&set := $00000004;
  45261. end;
  45262. function TINT_IEC1.getPMPIE : TBits_1; inline;
  45263. begin
  45264. getPMPIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  45265. end;
  45266. procedure TINT_IEC1.setCMP1IE; inline;
  45267. begin
  45268. pTDefRegMap(@Self)^.&set := $00000008;
  45269. end;
  45270. procedure TINT_IEC1.clearCMP1IE; inline;
  45271. begin
  45272. pTDefRegMap(@Self)^.clr := $00000008;
  45273. end;
  45274. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  45275. begin
  45276. if thebits = 0 then
  45277. pTDefRegMap(@Self)^.clr := $00000008
  45278. else
  45279. pTDefRegMap(@Self)^.&set := $00000008;
  45280. end;
  45281. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  45282. begin
  45283. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  45284. end;
  45285. procedure TINT_IEC1.setCMP2IE; inline;
  45286. begin
  45287. pTDefRegMap(@Self)^.&set := $00000010;
  45288. end;
  45289. procedure TINT_IEC1.clearCMP2IE; inline;
  45290. begin
  45291. pTDefRegMap(@Self)^.clr := $00000010;
  45292. end;
  45293. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  45294. begin
  45295. if thebits = 0 then
  45296. pTDefRegMap(@Self)^.clr := $00000010
  45297. else
  45298. pTDefRegMap(@Self)^.&set := $00000010;
  45299. end;
  45300. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  45301. begin
  45302. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  45303. end;
  45304. procedure TINT_IEC1.setU3EIE; inline;
  45305. begin
  45306. pTDefRegMap(@Self)^.&set := $00000020;
  45307. end;
  45308. procedure TINT_IEC1.clearU3EIE; inline;
  45309. begin
  45310. pTDefRegMap(@Self)^.clr := $00000020;
  45311. end;
  45312. procedure TINT_IEC1.setU3EIE(thebits : TBits_1); inline;
  45313. begin
  45314. if thebits = 0 then
  45315. pTDefRegMap(@Self)^.clr := $00000020
  45316. else
  45317. pTDefRegMap(@Self)^.&set := $00000020;
  45318. end;
  45319. function TINT_IEC1.getU3EIE : TBits_1; inline;
  45320. begin
  45321. getU3EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45322. end;
  45323. procedure TINT_IEC1.setU3RXIE; inline;
  45324. begin
  45325. pTDefRegMap(@Self)^.&set := $00000040;
  45326. end;
  45327. procedure TINT_IEC1.clearU3RXIE; inline;
  45328. begin
  45329. pTDefRegMap(@Self)^.clr := $00000040;
  45330. end;
  45331. procedure TINT_IEC1.setU3RXIE(thebits : TBits_1); inline;
  45332. begin
  45333. if thebits = 0 then
  45334. pTDefRegMap(@Self)^.clr := $00000040
  45335. else
  45336. pTDefRegMap(@Self)^.&set := $00000040;
  45337. end;
  45338. function TINT_IEC1.getU3RXIE : TBits_1; inline;
  45339. begin
  45340. getU3RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45341. end;
  45342. procedure TINT_IEC1.setU3TXIE; inline;
  45343. begin
  45344. pTDefRegMap(@Self)^.&set := $00000080;
  45345. end;
  45346. procedure TINT_IEC1.clearU3TXIE; inline;
  45347. begin
  45348. pTDefRegMap(@Self)^.clr := $00000080;
  45349. end;
  45350. procedure TINT_IEC1.setU3TXIE(thebits : TBits_1); inline;
  45351. begin
  45352. if thebits = 0 then
  45353. pTDefRegMap(@Self)^.clr := $00000080
  45354. else
  45355. pTDefRegMap(@Self)^.&set := $00000080;
  45356. end;
  45357. function TINT_IEC1.getU3TXIE : TBits_1; inline;
  45358. begin
  45359. getU3TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45360. end;
  45361. procedure TINT_IEC1.setU2EIE; inline;
  45362. begin
  45363. pTDefRegMap(@Self)^.&set := $00000100;
  45364. end;
  45365. procedure TINT_IEC1.clearU2EIE; inline;
  45366. begin
  45367. pTDefRegMap(@Self)^.clr := $00000100;
  45368. end;
  45369. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  45370. begin
  45371. if thebits = 0 then
  45372. pTDefRegMap(@Self)^.clr := $00000100
  45373. else
  45374. pTDefRegMap(@Self)^.&set := $00000100;
  45375. end;
  45376. function TINT_IEC1.getU2EIE : TBits_1; inline;
  45377. begin
  45378. getU2EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45379. end;
  45380. procedure TINT_IEC1.setU2RXIE; inline;
  45381. begin
  45382. pTDefRegMap(@Self)^.&set := $00000200;
  45383. end;
  45384. procedure TINT_IEC1.clearU2RXIE; inline;
  45385. begin
  45386. pTDefRegMap(@Self)^.clr := $00000200;
  45387. end;
  45388. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  45389. begin
  45390. if thebits = 0 then
  45391. pTDefRegMap(@Self)^.clr := $00000200
  45392. else
  45393. pTDefRegMap(@Self)^.&set := $00000200;
  45394. end;
  45395. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  45396. begin
  45397. getU2RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45398. end;
  45399. procedure TINT_IEC1.setU2TXIE; inline;
  45400. begin
  45401. pTDefRegMap(@Self)^.&set := $00000400;
  45402. end;
  45403. procedure TINT_IEC1.clearU2TXIE; inline;
  45404. begin
  45405. pTDefRegMap(@Self)^.clr := $00000400;
  45406. end;
  45407. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  45408. begin
  45409. if thebits = 0 then
  45410. pTDefRegMap(@Self)^.clr := $00000400
  45411. else
  45412. pTDefRegMap(@Self)^.&set := $00000400;
  45413. end;
  45414. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  45415. begin
  45416. getU2TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45417. end;
  45418. procedure TINT_IEC1.setI2C2BIE; inline;
  45419. begin
  45420. pTDefRegMap(@Self)^.&set := $00000800;
  45421. end;
  45422. procedure TINT_IEC1.clearI2C2BIE; inline;
  45423. begin
  45424. pTDefRegMap(@Self)^.clr := $00000800;
  45425. end;
  45426. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  45427. begin
  45428. if thebits = 0 then
  45429. pTDefRegMap(@Self)^.clr := $00000800
  45430. else
  45431. pTDefRegMap(@Self)^.&set := $00000800;
  45432. end;
  45433. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  45434. begin
  45435. getI2C2BIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  45436. end;
  45437. procedure TINT_IEC1.setI2C2SIE; inline;
  45438. begin
  45439. pTDefRegMap(@Self)^.&set := $00001000;
  45440. end;
  45441. procedure TINT_IEC1.clearI2C2SIE; inline;
  45442. begin
  45443. pTDefRegMap(@Self)^.clr := $00001000;
  45444. end;
  45445. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  45446. begin
  45447. if thebits = 0 then
  45448. pTDefRegMap(@Self)^.clr := $00001000
  45449. else
  45450. pTDefRegMap(@Self)^.&set := $00001000;
  45451. end;
  45452. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  45453. begin
  45454. getI2C2SIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  45455. end;
  45456. procedure TINT_IEC1.setI2C2MIE; inline;
  45457. begin
  45458. pTDefRegMap(@Self)^.&set := $00002000;
  45459. end;
  45460. procedure TINT_IEC1.clearI2C2MIE; inline;
  45461. begin
  45462. pTDefRegMap(@Self)^.clr := $00002000;
  45463. end;
  45464. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  45465. begin
  45466. if thebits = 0 then
  45467. pTDefRegMap(@Self)^.clr := $00002000
  45468. else
  45469. pTDefRegMap(@Self)^.&set := $00002000;
  45470. end;
  45471. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  45472. begin
  45473. getI2C2MIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  45474. end;
  45475. procedure TINT_IEC1.setFSCMIE; inline;
  45476. begin
  45477. pTDefRegMap(@Self)^.&set := $00004000;
  45478. end;
  45479. procedure TINT_IEC1.clearFSCMIE; inline;
  45480. begin
  45481. pTDefRegMap(@Self)^.clr := $00004000;
  45482. end;
  45483. procedure TINT_IEC1.setFSCMIE(thebits : TBits_1); inline;
  45484. begin
  45485. if thebits = 0 then
  45486. pTDefRegMap(@Self)^.clr := $00004000
  45487. else
  45488. pTDefRegMap(@Self)^.&set := $00004000;
  45489. end;
  45490. function TINT_IEC1.getFSCMIE : TBits_1; inline;
  45491. begin
  45492. getFSCMIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  45493. end;
  45494. procedure TINT_IEC1.setRTCCIE; inline;
  45495. begin
  45496. pTDefRegMap(@Self)^.&set := $00008000;
  45497. end;
  45498. procedure TINT_IEC1.clearRTCCIE; inline;
  45499. begin
  45500. pTDefRegMap(@Self)^.clr := $00008000;
  45501. end;
  45502. procedure TINT_IEC1.setRTCCIE(thebits : TBits_1); inline;
  45503. begin
  45504. if thebits = 0 then
  45505. pTDefRegMap(@Self)^.clr := $00008000
  45506. else
  45507. pTDefRegMap(@Self)^.&set := $00008000;
  45508. end;
  45509. function TINT_IEC1.getRTCCIE : TBits_1; inline;
  45510. begin
  45511. getRTCCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  45512. end;
  45513. procedure TINT_IEC1.setDMA0IE; inline;
  45514. begin
  45515. pTDefRegMap(@Self)^.&set := $00010000;
  45516. end;
  45517. procedure TINT_IEC1.clearDMA0IE; inline;
  45518. begin
  45519. pTDefRegMap(@Self)^.clr := $00010000;
  45520. end;
  45521. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  45522. begin
  45523. if thebits = 0 then
  45524. pTDefRegMap(@Self)^.clr := $00010000
  45525. else
  45526. pTDefRegMap(@Self)^.&set := $00010000;
  45527. end;
  45528. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  45529. begin
  45530. getDMA0IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  45531. end;
  45532. procedure TINT_IEC1.setDMA1IE; inline;
  45533. begin
  45534. pTDefRegMap(@Self)^.&set := $00020000;
  45535. end;
  45536. procedure TINT_IEC1.clearDMA1IE; inline;
  45537. begin
  45538. pTDefRegMap(@Self)^.clr := $00020000;
  45539. end;
  45540. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  45541. begin
  45542. if thebits = 0 then
  45543. pTDefRegMap(@Self)^.clr := $00020000
  45544. else
  45545. pTDefRegMap(@Self)^.&set := $00020000;
  45546. end;
  45547. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  45548. begin
  45549. getDMA1IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  45550. end;
  45551. procedure TINT_IEC1.setDMA2IE; inline;
  45552. begin
  45553. pTDefRegMap(@Self)^.&set := $00040000;
  45554. end;
  45555. procedure TINT_IEC1.clearDMA2IE; inline;
  45556. begin
  45557. pTDefRegMap(@Self)^.clr := $00040000;
  45558. end;
  45559. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  45560. begin
  45561. if thebits = 0 then
  45562. pTDefRegMap(@Self)^.clr := $00040000
  45563. else
  45564. pTDefRegMap(@Self)^.&set := $00040000;
  45565. end;
  45566. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  45567. begin
  45568. getDMA2IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  45569. end;
  45570. procedure TINT_IEC1.setDMA3IE; inline;
  45571. begin
  45572. pTDefRegMap(@Self)^.&set := $00080000;
  45573. end;
  45574. procedure TINT_IEC1.clearDMA3IE; inline;
  45575. begin
  45576. pTDefRegMap(@Self)^.clr := $00080000;
  45577. end;
  45578. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  45579. begin
  45580. if thebits = 0 then
  45581. pTDefRegMap(@Self)^.clr := $00080000
  45582. else
  45583. pTDefRegMap(@Self)^.&set := $00080000;
  45584. end;
  45585. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  45586. begin
  45587. getDMA3IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  45588. end;
  45589. procedure TINT_IEC1.setFCEIE; inline;
  45590. begin
  45591. pTDefRegMap(@Self)^.&set := $01000000;
  45592. end;
  45593. procedure TINT_IEC1.clearFCEIE; inline;
  45594. begin
  45595. pTDefRegMap(@Self)^.clr := $01000000;
  45596. end;
  45597. procedure TINT_IEC1.setFCEIE(thebits : TBits_1); inline;
  45598. begin
  45599. if thebits = 0 then
  45600. pTDefRegMap(@Self)^.clr := $01000000
  45601. else
  45602. pTDefRegMap(@Self)^.&set := $01000000;
  45603. end;
  45604. function TINT_IEC1.getFCEIE : TBits_1; inline;
  45605. begin
  45606. getFCEIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  45607. end;
  45608. procedure TINT_IEC1.setUSBIE; inline;
  45609. begin
  45610. pTDefRegMap(@Self)^.&set := $02000000;
  45611. end;
  45612. procedure TINT_IEC1.clearUSBIE; inline;
  45613. begin
  45614. pTDefRegMap(@Self)^.clr := $02000000;
  45615. end;
  45616. procedure TINT_IEC1.setUSBIE(thebits : TBits_1); inline;
  45617. begin
  45618. if thebits = 0 then
  45619. pTDefRegMap(@Self)^.clr := $02000000
  45620. else
  45621. pTDefRegMap(@Self)^.&set := $02000000;
  45622. end;
  45623. function TINT_IEC1.getUSBIE : TBits_1; inline;
  45624. begin
  45625. getUSBIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  45626. end;
  45627. procedure TINT_IEC1.setETHIE; inline;
  45628. begin
  45629. pTDefRegMap(@Self)^.&set := $10000000;
  45630. end;
  45631. procedure TINT_IEC1.clearETHIE; inline;
  45632. begin
  45633. pTDefRegMap(@Self)^.clr := $10000000;
  45634. end;
  45635. procedure TINT_IEC1.setETHIE(thebits : TBits_1); inline;
  45636. begin
  45637. if thebits = 0 then
  45638. pTDefRegMap(@Self)^.clr := $10000000
  45639. else
  45640. pTDefRegMap(@Self)^.&set := $10000000;
  45641. end;
  45642. function TINT_IEC1.getETHIE : TBits_1; inline;
  45643. begin
  45644. getETHIE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  45645. end;
  45646. procedure TINT_IEC1.setIC1EIE; inline;
  45647. begin
  45648. pTDefRegMap(@Self)^.&set := $20000000;
  45649. end;
  45650. procedure TINT_IEC1.clearIC1EIE; inline;
  45651. begin
  45652. pTDefRegMap(@Self)^.clr := $20000000;
  45653. end;
  45654. procedure TINT_IEC1.setIC1EIE(thebits : TBits_1); inline;
  45655. begin
  45656. if thebits = 0 then
  45657. pTDefRegMap(@Self)^.clr := $20000000
  45658. else
  45659. pTDefRegMap(@Self)^.&set := $20000000;
  45660. end;
  45661. function TINT_IEC1.getIC1EIE : TBits_1; inline;
  45662. begin
  45663. getIC1EIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  45664. end;
  45665. procedure TINT_IEC1.setIC2EIE; inline;
  45666. begin
  45667. pTDefRegMap(@Self)^.&set := $40000000;
  45668. end;
  45669. procedure TINT_IEC1.clearIC2EIE; inline;
  45670. begin
  45671. pTDefRegMap(@Self)^.clr := $40000000;
  45672. end;
  45673. procedure TINT_IEC1.setIC2EIE(thebits : TBits_1); inline;
  45674. begin
  45675. if thebits = 0 then
  45676. pTDefRegMap(@Self)^.clr := $40000000
  45677. else
  45678. pTDefRegMap(@Self)^.&set := $40000000;
  45679. end;
  45680. function TINT_IEC1.getIC2EIE : TBits_1; inline;
  45681. begin
  45682. getIC2EIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  45683. end;
  45684. procedure TINT_IEC1.setIC3EIE; inline;
  45685. begin
  45686. pTDefRegMap(@Self)^.&set := $80000000;
  45687. end;
  45688. procedure TINT_IEC1.clearIC3EIE; inline;
  45689. begin
  45690. pTDefRegMap(@Self)^.clr := $80000000;
  45691. end;
  45692. procedure TINT_IEC1.setIC3EIE(thebits : TBits_1); inline;
  45693. begin
  45694. if thebits = 0 then
  45695. pTDefRegMap(@Self)^.clr := $80000000
  45696. else
  45697. pTDefRegMap(@Self)^.&set := $80000000;
  45698. end;
  45699. function TINT_IEC1.getIC3EIE : TBits_1; inline;
  45700. begin
  45701. getIC3EIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  45702. end;
  45703. procedure TINT_IEC1.setU2AEIE; inline;
  45704. begin
  45705. pTDefRegMap(@Self)^.&set := $00000020;
  45706. end;
  45707. procedure TINT_IEC1.clearU2AEIE; inline;
  45708. begin
  45709. pTDefRegMap(@Self)^.clr := $00000020;
  45710. end;
  45711. procedure TINT_IEC1.setU2AEIE(thebits : TBits_1); inline;
  45712. begin
  45713. if thebits = 0 then
  45714. pTDefRegMap(@Self)^.clr := $00000020
  45715. else
  45716. pTDefRegMap(@Self)^.&set := $00000020;
  45717. end;
  45718. function TINT_IEC1.getU2AEIE : TBits_1; inline;
  45719. begin
  45720. getU2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45721. end;
  45722. procedure TINT_IEC1.setU2ARXIE; inline;
  45723. begin
  45724. pTDefRegMap(@Self)^.&set := $00000040;
  45725. end;
  45726. procedure TINT_IEC1.clearU2ARXIE; inline;
  45727. begin
  45728. pTDefRegMap(@Self)^.clr := $00000040;
  45729. end;
  45730. procedure TINT_IEC1.setU2ARXIE(thebits : TBits_1); inline;
  45731. begin
  45732. if thebits = 0 then
  45733. pTDefRegMap(@Self)^.clr := $00000040
  45734. else
  45735. pTDefRegMap(@Self)^.&set := $00000040;
  45736. end;
  45737. function TINT_IEC1.getU2ARXIE : TBits_1; inline;
  45738. begin
  45739. getU2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45740. end;
  45741. procedure TINT_IEC1.setU2ATXIE; inline;
  45742. begin
  45743. pTDefRegMap(@Self)^.&set := $00000080;
  45744. end;
  45745. procedure TINT_IEC1.clearU2ATXIE; inline;
  45746. begin
  45747. pTDefRegMap(@Self)^.clr := $00000080;
  45748. end;
  45749. procedure TINT_IEC1.setU2ATXIE(thebits : TBits_1); inline;
  45750. begin
  45751. if thebits = 0 then
  45752. pTDefRegMap(@Self)^.clr := $00000080
  45753. else
  45754. pTDefRegMap(@Self)^.&set := $00000080;
  45755. end;
  45756. function TINT_IEC1.getU2ATXIE : TBits_1; inline;
  45757. begin
  45758. getU2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45759. end;
  45760. procedure TINT_IEC1.setU3AEIE; inline;
  45761. begin
  45762. pTDefRegMap(@Self)^.&set := $00000100;
  45763. end;
  45764. procedure TINT_IEC1.clearU3AEIE; inline;
  45765. begin
  45766. pTDefRegMap(@Self)^.clr := $00000100;
  45767. end;
  45768. procedure TINT_IEC1.setU3AEIE(thebits : TBits_1); inline;
  45769. begin
  45770. if thebits = 0 then
  45771. pTDefRegMap(@Self)^.clr := $00000100
  45772. else
  45773. pTDefRegMap(@Self)^.&set := $00000100;
  45774. end;
  45775. function TINT_IEC1.getU3AEIE : TBits_1; inline;
  45776. begin
  45777. getU3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45778. end;
  45779. procedure TINT_IEC1.setU3ARXIE; inline;
  45780. begin
  45781. pTDefRegMap(@Self)^.&set := $00000200;
  45782. end;
  45783. procedure TINT_IEC1.clearU3ARXIE; inline;
  45784. begin
  45785. pTDefRegMap(@Self)^.clr := $00000200;
  45786. end;
  45787. procedure TINT_IEC1.setU3ARXIE(thebits : TBits_1); inline;
  45788. begin
  45789. if thebits = 0 then
  45790. pTDefRegMap(@Self)^.clr := $00000200
  45791. else
  45792. pTDefRegMap(@Self)^.&set := $00000200;
  45793. end;
  45794. function TINT_IEC1.getU3ARXIE : TBits_1; inline;
  45795. begin
  45796. getU3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45797. end;
  45798. procedure TINT_IEC1.setU3ATXIE; inline;
  45799. begin
  45800. pTDefRegMap(@Self)^.&set := $00000400;
  45801. end;
  45802. procedure TINT_IEC1.clearU3ATXIE; inline;
  45803. begin
  45804. pTDefRegMap(@Self)^.clr := $00000400;
  45805. end;
  45806. procedure TINT_IEC1.setU3ATXIE(thebits : TBits_1); inline;
  45807. begin
  45808. if thebits = 0 then
  45809. pTDefRegMap(@Self)^.clr := $00000400
  45810. else
  45811. pTDefRegMap(@Self)^.&set := $00000400;
  45812. end;
  45813. function TINT_IEC1.getU3ATXIE : TBits_1; inline;
  45814. begin
  45815. getU3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45816. end;
  45817. procedure TINT_IEC1.setSPI2EIE; inline;
  45818. begin
  45819. pTDefRegMap(@Self)^.&set := $00000020;
  45820. end;
  45821. procedure TINT_IEC1.clearSPI2EIE; inline;
  45822. begin
  45823. pTDefRegMap(@Self)^.clr := $00000020;
  45824. end;
  45825. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  45826. begin
  45827. if thebits = 0 then
  45828. pTDefRegMap(@Self)^.clr := $00000020
  45829. else
  45830. pTDefRegMap(@Self)^.&set := $00000020;
  45831. end;
  45832. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  45833. begin
  45834. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45835. end;
  45836. procedure TINT_IEC1.setSPI2RXIE; inline;
  45837. begin
  45838. pTDefRegMap(@Self)^.&set := $00000040;
  45839. end;
  45840. procedure TINT_IEC1.clearSPI2RXIE; inline;
  45841. begin
  45842. pTDefRegMap(@Self)^.clr := $00000040;
  45843. end;
  45844. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  45845. begin
  45846. if thebits = 0 then
  45847. pTDefRegMap(@Self)^.clr := $00000040
  45848. else
  45849. pTDefRegMap(@Self)^.&set := $00000040;
  45850. end;
  45851. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  45852. begin
  45853. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45854. end;
  45855. procedure TINT_IEC1.setSPI2TXIE; inline;
  45856. begin
  45857. pTDefRegMap(@Self)^.&set := $00000080;
  45858. end;
  45859. procedure TINT_IEC1.clearSPI2TXIE; inline;
  45860. begin
  45861. pTDefRegMap(@Self)^.clr := $00000080;
  45862. end;
  45863. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  45864. begin
  45865. if thebits = 0 then
  45866. pTDefRegMap(@Self)^.clr := $00000080
  45867. else
  45868. pTDefRegMap(@Self)^.&set := $00000080;
  45869. end;
  45870. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  45871. begin
  45872. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45873. end;
  45874. procedure TINT_IEC1.setSPI4EIE; inline;
  45875. begin
  45876. pTDefRegMap(@Self)^.&set := $00000100;
  45877. end;
  45878. procedure TINT_IEC1.clearSPI4EIE; inline;
  45879. begin
  45880. pTDefRegMap(@Self)^.clr := $00000100;
  45881. end;
  45882. procedure TINT_IEC1.setSPI4EIE(thebits : TBits_1); inline;
  45883. begin
  45884. if thebits = 0 then
  45885. pTDefRegMap(@Self)^.clr := $00000100
  45886. else
  45887. pTDefRegMap(@Self)^.&set := $00000100;
  45888. end;
  45889. function TINT_IEC1.getSPI4EIE : TBits_1; inline;
  45890. begin
  45891. getSPI4EIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  45892. end;
  45893. procedure TINT_IEC1.setSPI4RXIE; inline;
  45894. begin
  45895. pTDefRegMap(@Self)^.&set := $00000200;
  45896. end;
  45897. procedure TINT_IEC1.clearSPI4RXIE; inline;
  45898. begin
  45899. pTDefRegMap(@Self)^.clr := $00000200;
  45900. end;
  45901. procedure TINT_IEC1.setSPI4RXIE(thebits : TBits_1); inline;
  45902. begin
  45903. if thebits = 0 then
  45904. pTDefRegMap(@Self)^.clr := $00000200
  45905. else
  45906. pTDefRegMap(@Self)^.&set := $00000200;
  45907. end;
  45908. function TINT_IEC1.getSPI4RXIE : TBits_1; inline;
  45909. begin
  45910. getSPI4RXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  45911. end;
  45912. procedure TINT_IEC1.setSPI4TXIE; inline;
  45913. begin
  45914. pTDefRegMap(@Self)^.&set := $00000400;
  45915. end;
  45916. procedure TINT_IEC1.clearSPI4TXIE; inline;
  45917. begin
  45918. pTDefRegMap(@Self)^.clr := $00000400;
  45919. end;
  45920. procedure TINT_IEC1.setSPI4TXIE(thebits : TBits_1); inline;
  45921. begin
  45922. if thebits = 0 then
  45923. pTDefRegMap(@Self)^.clr := $00000400
  45924. else
  45925. pTDefRegMap(@Self)^.&set := $00000400;
  45926. end;
  45927. function TINT_IEC1.getSPI4TXIE : TBits_1; inline;
  45928. begin
  45929. getSPI4TXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  45930. end;
  45931. procedure TINT_IEC1.setSPI2AEIE; inline;
  45932. begin
  45933. pTDefRegMap(@Self)^.&set := $00000020;
  45934. end;
  45935. procedure TINT_IEC1.clearSPI2AEIE; inline;
  45936. begin
  45937. pTDefRegMap(@Self)^.clr := $00000020;
  45938. end;
  45939. procedure TINT_IEC1.setSPI2AEIE(thebits : TBits_1); inline;
  45940. begin
  45941. if thebits = 0 then
  45942. pTDefRegMap(@Self)^.clr := $00000020
  45943. else
  45944. pTDefRegMap(@Self)^.&set := $00000020;
  45945. end;
  45946. function TINT_IEC1.getSPI2AEIE : TBits_1; inline;
  45947. begin
  45948. getSPI2AEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  45949. end;
  45950. procedure TINT_IEC1.setSPI2ARXIE; inline;
  45951. begin
  45952. pTDefRegMap(@Self)^.&set := $00000040;
  45953. end;
  45954. procedure TINT_IEC1.clearSPI2ARXIE; inline;
  45955. begin
  45956. pTDefRegMap(@Self)^.clr := $00000040;
  45957. end;
  45958. procedure TINT_IEC1.setSPI2ARXIE(thebits : TBits_1); inline;
  45959. begin
  45960. if thebits = 0 then
  45961. pTDefRegMap(@Self)^.clr := $00000040
  45962. else
  45963. pTDefRegMap(@Self)^.&set := $00000040;
  45964. end;
  45965. function TINT_IEC1.getSPI2ARXIE : TBits_1; inline;
  45966. begin
  45967. getSPI2ARXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  45968. end;
  45969. procedure TINT_IEC1.setSPI2ATXIE; inline;
  45970. begin
  45971. pTDefRegMap(@Self)^.&set := $00000080;
  45972. end;
  45973. procedure TINT_IEC1.clearSPI2ATXIE; inline;
  45974. begin
  45975. pTDefRegMap(@Self)^.clr := $00000080;
  45976. end;
  45977. procedure TINT_IEC1.setSPI2ATXIE(thebits : TBits_1); inline;
  45978. begin
  45979. if thebits = 0 then
  45980. pTDefRegMap(@Self)^.clr := $00000080
  45981. else
  45982. pTDefRegMap(@Self)^.&set := $00000080;
  45983. end;
  45984. function TINT_IEC1.getSPI2ATXIE : TBits_1; inline;
  45985. begin
  45986. getSPI2ATXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  45987. end;
  45988. procedure TINT_IEC1.setSPI3AEIE; inline;
  45989. begin
  45990. pTDefRegMap(@Self)^.&set := $00000100;
  45991. end;
  45992. procedure TINT_IEC1.clearSPI3AEIE; inline;
  45993. begin
  45994. pTDefRegMap(@Self)^.clr := $00000100;
  45995. end;
  45996. procedure TINT_IEC1.setSPI3AEIE(thebits : TBits_1); inline;
  45997. begin
  45998. if thebits = 0 then
  45999. pTDefRegMap(@Self)^.clr := $00000100
  46000. else
  46001. pTDefRegMap(@Self)^.&set := $00000100;
  46002. end;
  46003. function TINT_IEC1.getSPI3AEIE : TBits_1; inline;
  46004. begin
  46005. getSPI3AEIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46006. end;
  46007. procedure TINT_IEC1.setSPI3ARXIE; inline;
  46008. begin
  46009. pTDefRegMap(@Self)^.&set := $00000200;
  46010. end;
  46011. procedure TINT_IEC1.clearSPI3ARXIE; inline;
  46012. begin
  46013. pTDefRegMap(@Self)^.clr := $00000200;
  46014. end;
  46015. procedure TINT_IEC1.setSPI3ARXIE(thebits : TBits_1); inline;
  46016. begin
  46017. if thebits = 0 then
  46018. pTDefRegMap(@Self)^.clr := $00000200
  46019. else
  46020. pTDefRegMap(@Self)^.&set := $00000200;
  46021. end;
  46022. function TINT_IEC1.getSPI3ARXIE : TBits_1; inline;
  46023. begin
  46024. getSPI3ARXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46025. end;
  46026. procedure TINT_IEC1.setSPI3ATXIE; inline;
  46027. begin
  46028. pTDefRegMap(@Self)^.&set := $00000400;
  46029. end;
  46030. procedure TINT_IEC1.clearSPI3ATXIE; inline;
  46031. begin
  46032. pTDefRegMap(@Self)^.clr := $00000400;
  46033. end;
  46034. procedure TINT_IEC1.setSPI3ATXIE(thebits : TBits_1); inline;
  46035. begin
  46036. if thebits = 0 then
  46037. pTDefRegMap(@Self)^.clr := $00000400
  46038. else
  46039. pTDefRegMap(@Self)^.&set := $00000400;
  46040. end;
  46041. function TINT_IEC1.getSPI3ATXIE : TBits_1; inline;
  46042. begin
  46043. getSPI3ATXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46044. end;
  46045. procedure TINT_IEC1.setI2C4BIE; inline;
  46046. begin
  46047. pTDefRegMap(@Self)^.&set := $00000020;
  46048. end;
  46049. procedure TINT_IEC1.clearI2C4BIE; inline;
  46050. begin
  46051. pTDefRegMap(@Self)^.clr := $00000020;
  46052. end;
  46053. procedure TINT_IEC1.setI2C4BIE(thebits : TBits_1); inline;
  46054. begin
  46055. if thebits = 0 then
  46056. pTDefRegMap(@Self)^.clr := $00000020
  46057. else
  46058. pTDefRegMap(@Self)^.&set := $00000020;
  46059. end;
  46060. function TINT_IEC1.getI2C4BIE : TBits_1; inline;
  46061. begin
  46062. getI2C4BIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46063. end;
  46064. procedure TINT_IEC1.setI2C4SIE; inline;
  46065. begin
  46066. pTDefRegMap(@Self)^.&set := $00000040;
  46067. end;
  46068. procedure TINT_IEC1.clearI2C4SIE; inline;
  46069. begin
  46070. pTDefRegMap(@Self)^.clr := $00000040;
  46071. end;
  46072. procedure TINT_IEC1.setI2C4SIE(thebits : TBits_1); inline;
  46073. begin
  46074. if thebits = 0 then
  46075. pTDefRegMap(@Self)^.clr := $00000040
  46076. else
  46077. pTDefRegMap(@Self)^.&set := $00000040;
  46078. end;
  46079. function TINT_IEC1.getI2C4SIE : TBits_1; inline;
  46080. begin
  46081. getI2C4SIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46082. end;
  46083. procedure TINT_IEC1.setI2C4MIE; inline;
  46084. begin
  46085. pTDefRegMap(@Self)^.&set := $00000080;
  46086. end;
  46087. procedure TINT_IEC1.clearI2C4MIE; inline;
  46088. begin
  46089. pTDefRegMap(@Self)^.clr := $00000080;
  46090. end;
  46091. procedure TINT_IEC1.setI2C4MIE(thebits : TBits_1); inline;
  46092. begin
  46093. if thebits = 0 then
  46094. pTDefRegMap(@Self)^.clr := $00000080
  46095. else
  46096. pTDefRegMap(@Self)^.&set := $00000080;
  46097. end;
  46098. function TINT_IEC1.getI2C4MIE : TBits_1; inline;
  46099. begin
  46100. getI2C4MIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46101. end;
  46102. procedure TINT_IEC1.setI2C5BIE; inline;
  46103. begin
  46104. pTDefRegMap(@Self)^.&set := $00000100;
  46105. end;
  46106. procedure TINT_IEC1.clearI2C5BIE; inline;
  46107. begin
  46108. pTDefRegMap(@Self)^.clr := $00000100;
  46109. end;
  46110. procedure TINT_IEC1.setI2C5BIE(thebits : TBits_1); inline;
  46111. begin
  46112. if thebits = 0 then
  46113. pTDefRegMap(@Self)^.clr := $00000100
  46114. else
  46115. pTDefRegMap(@Self)^.&set := $00000100;
  46116. end;
  46117. function TINT_IEC1.getI2C5BIE : TBits_1; inline;
  46118. begin
  46119. getI2C5BIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46120. end;
  46121. procedure TINT_IEC1.setI2C5SIE; inline;
  46122. begin
  46123. pTDefRegMap(@Self)^.&set := $00000200;
  46124. end;
  46125. procedure TINT_IEC1.clearI2C5SIE; inline;
  46126. begin
  46127. pTDefRegMap(@Self)^.clr := $00000200;
  46128. end;
  46129. procedure TINT_IEC1.setI2C5SIE(thebits : TBits_1); inline;
  46130. begin
  46131. if thebits = 0 then
  46132. pTDefRegMap(@Self)^.clr := $00000200
  46133. else
  46134. pTDefRegMap(@Self)^.&set := $00000200;
  46135. end;
  46136. function TINT_IEC1.getI2C5SIE : TBits_1; inline;
  46137. begin
  46138. getI2C5SIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46139. end;
  46140. procedure TINT_IEC1.setI2C5MIE; inline;
  46141. begin
  46142. pTDefRegMap(@Self)^.&set := $00000400;
  46143. end;
  46144. procedure TINT_IEC1.clearI2C5MIE; inline;
  46145. begin
  46146. pTDefRegMap(@Self)^.clr := $00000400;
  46147. end;
  46148. procedure TINT_IEC1.setI2C5MIE(thebits : TBits_1); inline;
  46149. begin
  46150. if thebits = 0 then
  46151. pTDefRegMap(@Self)^.clr := $00000400
  46152. else
  46153. pTDefRegMap(@Self)^.&set := $00000400;
  46154. end;
  46155. function TINT_IEC1.getI2C5MIE : TBits_1; inline;
  46156. begin
  46157. getI2C5MIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46158. end;
  46159. procedure TINT_IEC1.setI2C2ABIE; inline;
  46160. begin
  46161. pTDefRegMap(@Self)^.&set := $00000020;
  46162. end;
  46163. procedure TINT_IEC1.clearI2C2ABIE; inline;
  46164. begin
  46165. pTDefRegMap(@Self)^.clr := $00000020;
  46166. end;
  46167. procedure TINT_IEC1.setI2C2ABIE(thebits : TBits_1); inline;
  46168. begin
  46169. if thebits = 0 then
  46170. pTDefRegMap(@Self)^.clr := $00000020
  46171. else
  46172. pTDefRegMap(@Self)^.&set := $00000020;
  46173. end;
  46174. function TINT_IEC1.getI2C2ABIE : TBits_1; inline;
  46175. begin
  46176. getI2C2ABIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46177. end;
  46178. procedure TINT_IEC1.setI2C2ASIE; inline;
  46179. begin
  46180. pTDefRegMap(@Self)^.&set := $00000040;
  46181. end;
  46182. procedure TINT_IEC1.clearI2C2ASIE; inline;
  46183. begin
  46184. pTDefRegMap(@Self)^.clr := $00000040;
  46185. end;
  46186. procedure TINT_IEC1.setI2C2ASIE(thebits : TBits_1); inline;
  46187. begin
  46188. if thebits = 0 then
  46189. pTDefRegMap(@Self)^.clr := $00000040
  46190. else
  46191. pTDefRegMap(@Self)^.&set := $00000040;
  46192. end;
  46193. function TINT_IEC1.getI2C2ASIE : TBits_1; inline;
  46194. begin
  46195. getI2C2ASIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46196. end;
  46197. procedure TINT_IEC1.setI2C2AMIE; inline;
  46198. begin
  46199. pTDefRegMap(@Self)^.&set := $00000080;
  46200. end;
  46201. procedure TINT_IEC1.clearI2C2AMIE; inline;
  46202. begin
  46203. pTDefRegMap(@Self)^.clr := $00000080;
  46204. end;
  46205. procedure TINT_IEC1.setI2C2AMIE(thebits : TBits_1); inline;
  46206. begin
  46207. if thebits = 0 then
  46208. pTDefRegMap(@Self)^.clr := $00000080
  46209. else
  46210. pTDefRegMap(@Self)^.&set := $00000080;
  46211. end;
  46212. function TINT_IEC1.getI2C2AMIE : TBits_1; inline;
  46213. begin
  46214. getI2C2AMIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46215. end;
  46216. procedure TINT_IEC1.setI2C3ABIE; inline;
  46217. begin
  46218. pTDefRegMap(@Self)^.&set := $00000100;
  46219. end;
  46220. procedure TINT_IEC1.clearI2C3ABIE; inline;
  46221. begin
  46222. pTDefRegMap(@Self)^.clr := $00000100;
  46223. end;
  46224. procedure TINT_IEC1.setI2C3ABIE(thebits : TBits_1); inline;
  46225. begin
  46226. if thebits = 0 then
  46227. pTDefRegMap(@Self)^.clr := $00000100
  46228. else
  46229. pTDefRegMap(@Self)^.&set := $00000100;
  46230. end;
  46231. function TINT_IEC1.getI2C3ABIE : TBits_1; inline;
  46232. begin
  46233. getI2C3ABIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46234. end;
  46235. procedure TINT_IEC1.setI2C3ASIE; inline;
  46236. begin
  46237. pTDefRegMap(@Self)^.&set := $00000200;
  46238. end;
  46239. procedure TINT_IEC1.clearI2C3ASIE; inline;
  46240. begin
  46241. pTDefRegMap(@Self)^.clr := $00000200;
  46242. end;
  46243. procedure TINT_IEC1.setI2C3ASIE(thebits : TBits_1); inline;
  46244. begin
  46245. if thebits = 0 then
  46246. pTDefRegMap(@Self)^.clr := $00000200
  46247. else
  46248. pTDefRegMap(@Self)^.&set := $00000200;
  46249. end;
  46250. function TINT_IEC1.getI2C3ASIE : TBits_1; inline;
  46251. begin
  46252. getI2C3ASIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46253. end;
  46254. procedure TINT_IEC1.setI2C3AMIE; inline;
  46255. begin
  46256. pTDefRegMap(@Self)^.&set := $00000400;
  46257. end;
  46258. procedure TINT_IEC1.clearI2C3AMIE; inline;
  46259. begin
  46260. pTDefRegMap(@Self)^.clr := $00000400;
  46261. end;
  46262. procedure TINT_IEC1.setI2C3AMIE(thebits : TBits_1); inline;
  46263. begin
  46264. if thebits = 0 then
  46265. pTDefRegMap(@Self)^.clr := $00000400
  46266. else
  46267. pTDefRegMap(@Self)^.&set := $00000400;
  46268. end;
  46269. function TINT_IEC1.getI2C3AMIE : TBits_1; inline;
  46270. begin
  46271. getI2C3AMIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46272. end;
  46273. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  46274. begin
  46275. pTDefRegMap(@Self)^.val := thebits;
  46276. end;
  46277. function TINT_IEC1.getw : TBits_32; inline;
  46278. begin
  46279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46280. end;
  46281. procedure TINT_IEC2.setIC4EIE; inline;
  46282. begin
  46283. pTDefRegMap(@Self)^.&set := $00000001;
  46284. end;
  46285. procedure TINT_IEC2.clearIC4EIE; inline;
  46286. begin
  46287. pTDefRegMap(@Self)^.clr := $00000001;
  46288. end;
  46289. procedure TINT_IEC2.setIC4EIE(thebits : TBits_1); inline;
  46290. begin
  46291. if thebits = 0 then
  46292. pTDefRegMap(@Self)^.clr := $00000001
  46293. else
  46294. pTDefRegMap(@Self)^.&set := $00000001;
  46295. end;
  46296. function TINT_IEC2.getIC4EIE : TBits_1; inline;
  46297. begin
  46298. getIC4EIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  46299. end;
  46300. procedure TINT_IEC2.setIC5EIE; inline;
  46301. begin
  46302. pTDefRegMap(@Self)^.&set := $00000002;
  46303. end;
  46304. procedure TINT_IEC2.clearIC5EIE; inline;
  46305. begin
  46306. pTDefRegMap(@Self)^.clr := $00000002;
  46307. end;
  46308. procedure TINT_IEC2.setIC5EIE(thebits : TBits_1); inline;
  46309. begin
  46310. if thebits = 0 then
  46311. pTDefRegMap(@Self)^.clr := $00000002
  46312. else
  46313. pTDefRegMap(@Self)^.&set := $00000002;
  46314. end;
  46315. function TINT_IEC2.getIC5EIE : TBits_1; inline;
  46316. begin
  46317. getIC5EIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  46318. end;
  46319. procedure TINT_IEC2.setPMPEIE; inline;
  46320. begin
  46321. pTDefRegMap(@Self)^.&set := $00000004;
  46322. end;
  46323. procedure TINT_IEC2.clearPMPEIE; inline;
  46324. begin
  46325. pTDefRegMap(@Self)^.clr := $00000004;
  46326. end;
  46327. procedure TINT_IEC2.setPMPEIE(thebits : TBits_1); inline;
  46328. begin
  46329. if thebits = 0 then
  46330. pTDefRegMap(@Self)^.clr := $00000004
  46331. else
  46332. pTDefRegMap(@Self)^.&set := $00000004;
  46333. end;
  46334. function TINT_IEC2.getPMPEIE : TBits_1; inline;
  46335. begin
  46336. getPMPEIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  46337. end;
  46338. procedure TINT_IEC2.setU1BEIE; inline;
  46339. begin
  46340. pTDefRegMap(@Self)^.&set := $00000008;
  46341. end;
  46342. procedure TINT_IEC2.clearU1BEIE; inline;
  46343. begin
  46344. pTDefRegMap(@Self)^.clr := $00000008;
  46345. end;
  46346. procedure TINT_IEC2.setU1BEIE(thebits : TBits_1); inline;
  46347. begin
  46348. if thebits = 0 then
  46349. pTDefRegMap(@Self)^.clr := $00000008
  46350. else
  46351. pTDefRegMap(@Self)^.&set := $00000008;
  46352. end;
  46353. function TINT_IEC2.getU1BEIE : TBits_1; inline;
  46354. begin
  46355. getU1BEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46356. end;
  46357. procedure TINT_IEC2.setU1BRXIE; inline;
  46358. begin
  46359. pTDefRegMap(@Self)^.&set := $00000010;
  46360. end;
  46361. procedure TINT_IEC2.clearU1BRXIE; inline;
  46362. begin
  46363. pTDefRegMap(@Self)^.clr := $00000010;
  46364. end;
  46365. procedure TINT_IEC2.setU1BRXIE(thebits : TBits_1); inline;
  46366. begin
  46367. if thebits = 0 then
  46368. pTDefRegMap(@Self)^.clr := $00000010
  46369. else
  46370. pTDefRegMap(@Self)^.&set := $00000010;
  46371. end;
  46372. function TINT_IEC2.getU1BRXIE : TBits_1; inline;
  46373. begin
  46374. getU1BRXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46375. end;
  46376. procedure TINT_IEC2.setU1BTXIE; inline;
  46377. begin
  46378. pTDefRegMap(@Self)^.&set := $00000020;
  46379. end;
  46380. procedure TINT_IEC2.clearU1BTXIE; inline;
  46381. begin
  46382. pTDefRegMap(@Self)^.clr := $00000020;
  46383. end;
  46384. procedure TINT_IEC2.setU1BTXIE(thebits : TBits_1); inline;
  46385. begin
  46386. if thebits = 0 then
  46387. pTDefRegMap(@Self)^.clr := $00000020
  46388. else
  46389. pTDefRegMap(@Self)^.&set := $00000020;
  46390. end;
  46391. function TINT_IEC2.getU1BTXIE : TBits_1; inline;
  46392. begin
  46393. getU1BTXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46394. end;
  46395. procedure TINT_IEC2.setU2BEIE; inline;
  46396. begin
  46397. pTDefRegMap(@Self)^.&set := $00000040;
  46398. end;
  46399. procedure TINT_IEC2.clearU2BEIE; inline;
  46400. begin
  46401. pTDefRegMap(@Self)^.clr := $00000040;
  46402. end;
  46403. procedure TINT_IEC2.setU2BEIE(thebits : TBits_1); inline;
  46404. begin
  46405. if thebits = 0 then
  46406. pTDefRegMap(@Self)^.clr := $00000040
  46407. else
  46408. pTDefRegMap(@Self)^.&set := $00000040;
  46409. end;
  46410. function TINT_IEC2.getU2BEIE : TBits_1; inline;
  46411. begin
  46412. getU2BEIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46413. end;
  46414. procedure TINT_IEC2.setU2BRXIE; inline;
  46415. begin
  46416. pTDefRegMap(@Self)^.&set := $00000080;
  46417. end;
  46418. procedure TINT_IEC2.clearU2BRXIE; inline;
  46419. begin
  46420. pTDefRegMap(@Self)^.clr := $00000080;
  46421. end;
  46422. procedure TINT_IEC2.setU2BRXIE(thebits : TBits_1); inline;
  46423. begin
  46424. if thebits = 0 then
  46425. pTDefRegMap(@Self)^.clr := $00000080
  46426. else
  46427. pTDefRegMap(@Self)^.&set := $00000080;
  46428. end;
  46429. function TINT_IEC2.getU2BRXIE : TBits_1; inline;
  46430. begin
  46431. getU2BRXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46432. end;
  46433. procedure TINT_IEC2.setU2BTXIE; inline;
  46434. begin
  46435. pTDefRegMap(@Self)^.&set := $00000100;
  46436. end;
  46437. procedure TINT_IEC2.clearU2BTXIE; inline;
  46438. begin
  46439. pTDefRegMap(@Self)^.clr := $00000100;
  46440. end;
  46441. procedure TINT_IEC2.setU2BTXIE(thebits : TBits_1); inline;
  46442. begin
  46443. if thebits = 0 then
  46444. pTDefRegMap(@Self)^.clr := $00000100
  46445. else
  46446. pTDefRegMap(@Self)^.&set := $00000100;
  46447. end;
  46448. function TINT_IEC2.getU2BTXIE : TBits_1; inline;
  46449. begin
  46450. getU2BTXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46451. end;
  46452. procedure TINT_IEC2.setU3BEIE; inline;
  46453. begin
  46454. pTDefRegMap(@Self)^.&set := $00000200;
  46455. end;
  46456. procedure TINT_IEC2.clearU3BEIE; inline;
  46457. begin
  46458. pTDefRegMap(@Self)^.clr := $00000200;
  46459. end;
  46460. procedure TINT_IEC2.setU3BEIE(thebits : TBits_1); inline;
  46461. begin
  46462. if thebits = 0 then
  46463. pTDefRegMap(@Self)^.clr := $00000200
  46464. else
  46465. pTDefRegMap(@Self)^.&set := $00000200;
  46466. end;
  46467. function TINT_IEC2.getU3BEIE : TBits_1; inline;
  46468. begin
  46469. getU3BEIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46470. end;
  46471. procedure TINT_IEC2.setU3BRXIE; inline;
  46472. begin
  46473. pTDefRegMap(@Self)^.&set := $00000400;
  46474. end;
  46475. procedure TINT_IEC2.clearU3BRXIE; inline;
  46476. begin
  46477. pTDefRegMap(@Self)^.clr := $00000400;
  46478. end;
  46479. procedure TINT_IEC2.setU3BRXIE(thebits : TBits_1); inline;
  46480. begin
  46481. if thebits = 0 then
  46482. pTDefRegMap(@Self)^.clr := $00000400
  46483. else
  46484. pTDefRegMap(@Self)^.&set := $00000400;
  46485. end;
  46486. function TINT_IEC2.getU3BRXIE : TBits_1; inline;
  46487. begin
  46488. getU3BRXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46489. end;
  46490. procedure TINT_IEC2.setU3BTXIE; inline;
  46491. begin
  46492. pTDefRegMap(@Self)^.&set := $00000800;
  46493. end;
  46494. procedure TINT_IEC2.clearU3BTXIE; inline;
  46495. begin
  46496. pTDefRegMap(@Self)^.clr := $00000800;
  46497. end;
  46498. procedure TINT_IEC2.setU3BTXIE(thebits : TBits_1); inline;
  46499. begin
  46500. if thebits = 0 then
  46501. pTDefRegMap(@Self)^.clr := $00000800
  46502. else
  46503. pTDefRegMap(@Self)^.&set := $00000800;
  46504. end;
  46505. function TINT_IEC2.getU3BTXIE : TBits_1; inline;
  46506. begin
  46507. getU3BTXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46508. end;
  46509. procedure TINT_IEC2.setU4EIE; inline;
  46510. begin
  46511. pTDefRegMap(@Self)^.&set := $00000008;
  46512. end;
  46513. procedure TINT_IEC2.clearU4EIE; inline;
  46514. begin
  46515. pTDefRegMap(@Self)^.clr := $00000008;
  46516. end;
  46517. procedure TINT_IEC2.setU4EIE(thebits : TBits_1); inline;
  46518. begin
  46519. if thebits = 0 then
  46520. pTDefRegMap(@Self)^.clr := $00000008
  46521. else
  46522. pTDefRegMap(@Self)^.&set := $00000008;
  46523. end;
  46524. function TINT_IEC2.getU4EIE : TBits_1; inline;
  46525. begin
  46526. getU4EIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  46527. end;
  46528. procedure TINT_IEC2.setU4RXIE; inline;
  46529. begin
  46530. pTDefRegMap(@Self)^.&set := $00000010;
  46531. end;
  46532. procedure TINT_IEC2.clearU4RXIE; inline;
  46533. begin
  46534. pTDefRegMap(@Self)^.clr := $00000010;
  46535. end;
  46536. procedure TINT_IEC2.setU4RXIE(thebits : TBits_1); inline;
  46537. begin
  46538. if thebits = 0 then
  46539. pTDefRegMap(@Self)^.clr := $00000010
  46540. else
  46541. pTDefRegMap(@Self)^.&set := $00000010;
  46542. end;
  46543. function TINT_IEC2.getU4RXIE : TBits_1; inline;
  46544. begin
  46545. getU4RXIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  46546. end;
  46547. procedure TINT_IEC2.setU4TXIE; inline;
  46548. begin
  46549. pTDefRegMap(@Self)^.&set := $00000020;
  46550. end;
  46551. procedure TINT_IEC2.clearU4TXIE; inline;
  46552. begin
  46553. pTDefRegMap(@Self)^.clr := $00000020;
  46554. end;
  46555. procedure TINT_IEC2.setU4TXIE(thebits : TBits_1); inline;
  46556. begin
  46557. if thebits = 0 then
  46558. pTDefRegMap(@Self)^.clr := $00000020
  46559. else
  46560. pTDefRegMap(@Self)^.&set := $00000020;
  46561. end;
  46562. function TINT_IEC2.getU4TXIE : TBits_1; inline;
  46563. begin
  46564. getU4TXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  46565. end;
  46566. procedure TINT_IEC2.setU6EIE; inline;
  46567. begin
  46568. pTDefRegMap(@Self)^.&set := $00000040;
  46569. end;
  46570. procedure TINT_IEC2.clearU6EIE; inline;
  46571. begin
  46572. pTDefRegMap(@Self)^.clr := $00000040;
  46573. end;
  46574. procedure TINT_IEC2.setU6EIE(thebits : TBits_1); inline;
  46575. begin
  46576. if thebits = 0 then
  46577. pTDefRegMap(@Self)^.clr := $00000040
  46578. else
  46579. pTDefRegMap(@Self)^.&set := $00000040;
  46580. end;
  46581. function TINT_IEC2.getU6EIE : TBits_1; inline;
  46582. begin
  46583. getU6EIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  46584. end;
  46585. procedure TINT_IEC2.setU6RXIE; inline;
  46586. begin
  46587. pTDefRegMap(@Self)^.&set := $00000080;
  46588. end;
  46589. procedure TINT_IEC2.clearU6RXIE; inline;
  46590. begin
  46591. pTDefRegMap(@Self)^.clr := $00000080;
  46592. end;
  46593. procedure TINT_IEC2.setU6RXIE(thebits : TBits_1); inline;
  46594. begin
  46595. if thebits = 0 then
  46596. pTDefRegMap(@Self)^.clr := $00000080
  46597. else
  46598. pTDefRegMap(@Self)^.&set := $00000080;
  46599. end;
  46600. function TINT_IEC2.getU6RXIE : TBits_1; inline;
  46601. begin
  46602. getU6RXIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  46603. end;
  46604. procedure TINT_IEC2.setU6TXIE; inline;
  46605. begin
  46606. pTDefRegMap(@Self)^.&set := $00000100;
  46607. end;
  46608. procedure TINT_IEC2.clearU6TXIE; inline;
  46609. begin
  46610. pTDefRegMap(@Self)^.clr := $00000100;
  46611. end;
  46612. procedure TINT_IEC2.setU6TXIE(thebits : TBits_1); inline;
  46613. begin
  46614. if thebits = 0 then
  46615. pTDefRegMap(@Self)^.clr := $00000100
  46616. else
  46617. pTDefRegMap(@Self)^.&set := $00000100;
  46618. end;
  46619. function TINT_IEC2.getU6TXIE : TBits_1; inline;
  46620. begin
  46621. getU6TXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  46622. end;
  46623. procedure TINT_IEC2.setU5EIE; inline;
  46624. begin
  46625. pTDefRegMap(@Self)^.&set := $00000200;
  46626. end;
  46627. procedure TINT_IEC2.clearU5EIE; inline;
  46628. begin
  46629. pTDefRegMap(@Self)^.clr := $00000200;
  46630. end;
  46631. procedure TINT_IEC2.setU5EIE(thebits : TBits_1); inline;
  46632. begin
  46633. if thebits = 0 then
  46634. pTDefRegMap(@Self)^.clr := $00000200
  46635. else
  46636. pTDefRegMap(@Self)^.&set := $00000200;
  46637. end;
  46638. function TINT_IEC2.getU5EIE : TBits_1; inline;
  46639. begin
  46640. getU5EIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  46641. end;
  46642. procedure TINT_IEC2.setU5RXIE; inline;
  46643. begin
  46644. pTDefRegMap(@Self)^.&set := $00000400;
  46645. end;
  46646. procedure TINT_IEC2.clearU5RXIE; inline;
  46647. begin
  46648. pTDefRegMap(@Self)^.clr := $00000400;
  46649. end;
  46650. procedure TINT_IEC2.setU5RXIE(thebits : TBits_1); inline;
  46651. begin
  46652. if thebits = 0 then
  46653. pTDefRegMap(@Self)^.clr := $00000400
  46654. else
  46655. pTDefRegMap(@Self)^.&set := $00000400;
  46656. end;
  46657. function TINT_IEC2.getU5RXIE : TBits_1; inline;
  46658. begin
  46659. getU5RXIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  46660. end;
  46661. procedure TINT_IEC2.setU5TXIE; inline;
  46662. begin
  46663. pTDefRegMap(@Self)^.&set := $00000800;
  46664. end;
  46665. procedure TINT_IEC2.clearU5TXIE; inline;
  46666. begin
  46667. pTDefRegMap(@Self)^.clr := $00000800;
  46668. end;
  46669. procedure TINT_IEC2.setU5TXIE(thebits : TBits_1); inline;
  46670. begin
  46671. if thebits = 0 then
  46672. pTDefRegMap(@Self)^.clr := $00000800
  46673. else
  46674. pTDefRegMap(@Self)^.&set := $00000800;
  46675. end;
  46676. function TINT_IEC2.getU5TXIE : TBits_1; inline;
  46677. begin
  46678. getU5TXIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  46679. end;
  46680. procedure TINT_IEC2.setw(thebits : TBits_32); inline;
  46681. begin
  46682. pTDefRegMap(@Self)^.val := thebits;
  46683. end;
  46684. function TINT_IEC2.getw : TBits_32; inline;
  46685. begin
  46686. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46687. end;
  46688. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  46689. begin
  46690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46691. end;
  46692. function TINT_IPC0.getCTIS : TBits_2; inline;
  46693. begin
  46694. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46695. end;
  46696. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  46697. begin
  46698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46699. end;
  46700. function TINT_IPC0.getCTIP : TBits_3; inline;
  46701. begin
  46702. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46703. end;
  46704. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  46705. begin
  46706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46707. end;
  46708. function TINT_IPC0.getCS0IS : TBits_2; inline;
  46709. begin
  46710. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46711. end;
  46712. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  46713. begin
  46714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46715. end;
  46716. function TINT_IPC0.getCS0IP : TBits_3; inline;
  46717. begin
  46718. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46719. end;
  46720. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  46721. begin
  46722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46723. end;
  46724. function TINT_IPC0.getCS1IS : TBits_2; inline;
  46725. begin
  46726. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46727. end;
  46728. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  46729. begin
  46730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46731. end;
  46732. function TINT_IPC0.getCS1IP : TBits_3; inline;
  46733. begin
  46734. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46735. end;
  46736. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  46737. begin
  46738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46739. end;
  46740. function TINT_IPC0.getINT0IS : TBits_2; inline;
  46741. begin
  46742. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46743. end;
  46744. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  46745. begin
  46746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46747. end;
  46748. function TINT_IPC0.getINT0IP : TBits_3; inline;
  46749. begin
  46750. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46751. end;
  46752. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  46753. begin
  46754. pTDefRegMap(@Self)^.val := thebits;
  46755. end;
  46756. function TINT_IPC0.getw : TBits_32; inline;
  46757. begin
  46758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46759. end;
  46760. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  46761. begin
  46762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46763. end;
  46764. function TINT_IPC1.getT1IS : TBits_2; inline;
  46765. begin
  46766. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46767. end;
  46768. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  46769. begin
  46770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46771. end;
  46772. function TINT_IPC1.getT1IP : TBits_3; inline;
  46773. begin
  46774. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46775. end;
  46776. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  46777. begin
  46778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46779. end;
  46780. function TINT_IPC1.getIC1IS : TBits_2; inline;
  46781. begin
  46782. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46783. end;
  46784. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  46785. begin
  46786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46787. end;
  46788. function TINT_IPC1.getIC1IP : TBits_3; inline;
  46789. begin
  46790. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46791. end;
  46792. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  46793. begin
  46794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46795. end;
  46796. function TINT_IPC1.getOC1IS : TBits_2; inline;
  46797. begin
  46798. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46799. end;
  46800. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  46801. begin
  46802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46803. end;
  46804. function TINT_IPC1.getOC1IP : TBits_3; inline;
  46805. begin
  46806. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46807. end;
  46808. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  46809. begin
  46810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46811. end;
  46812. function TINT_IPC1.getINT1IS : TBits_2; inline;
  46813. begin
  46814. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46815. end;
  46816. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  46817. begin
  46818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46819. end;
  46820. function TINT_IPC1.getINT1IP : TBits_3; inline;
  46821. begin
  46822. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46823. end;
  46824. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  46825. begin
  46826. pTDefRegMap(@Self)^.val := thebits;
  46827. end;
  46828. function TINT_IPC1.getw : TBits_32; inline;
  46829. begin
  46830. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46831. end;
  46832. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  46833. begin
  46834. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46835. end;
  46836. function TINT_IPC2.getT2IS : TBits_2; inline;
  46837. begin
  46838. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46839. end;
  46840. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  46841. begin
  46842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46843. end;
  46844. function TINT_IPC2.getT2IP : TBits_3; inline;
  46845. begin
  46846. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46847. end;
  46848. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  46849. begin
  46850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46851. end;
  46852. function TINT_IPC2.getIC2IS : TBits_2; inline;
  46853. begin
  46854. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46855. end;
  46856. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  46857. begin
  46858. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46859. end;
  46860. function TINT_IPC2.getIC2IP : TBits_3; inline;
  46861. begin
  46862. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46863. end;
  46864. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  46865. begin
  46866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46867. end;
  46868. function TINT_IPC2.getOC2IS : TBits_2; inline;
  46869. begin
  46870. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46871. end;
  46872. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  46873. begin
  46874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46875. end;
  46876. function TINT_IPC2.getOC2IP : TBits_3; inline;
  46877. begin
  46878. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46879. end;
  46880. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  46881. begin
  46882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46883. end;
  46884. function TINT_IPC2.getINT2IS : TBits_2; inline;
  46885. begin
  46886. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46887. end;
  46888. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  46889. begin
  46890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46891. end;
  46892. function TINT_IPC2.getINT2IP : TBits_3; inline;
  46893. begin
  46894. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46895. end;
  46896. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  46897. begin
  46898. pTDefRegMap(@Self)^.val := thebits;
  46899. end;
  46900. function TINT_IPC2.getw : TBits_32; inline;
  46901. begin
  46902. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46903. end;
  46904. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  46905. begin
  46906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46907. end;
  46908. function TINT_IPC3.getT3IS : TBits_2; inline;
  46909. begin
  46910. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46911. end;
  46912. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  46913. begin
  46914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46915. end;
  46916. function TINT_IPC3.getT3IP : TBits_3; inline;
  46917. begin
  46918. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46919. end;
  46920. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  46921. begin
  46922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46923. end;
  46924. function TINT_IPC3.getIC3IS : TBits_2; inline;
  46925. begin
  46926. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46927. end;
  46928. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  46929. begin
  46930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  46931. end;
  46932. function TINT_IPC3.getIC3IP : TBits_3; inline;
  46933. begin
  46934. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  46935. end;
  46936. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  46937. begin
  46938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  46939. end;
  46940. function TINT_IPC3.getOC3IS : TBits_2; inline;
  46941. begin
  46942. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  46943. end;
  46944. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  46945. begin
  46946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  46947. end;
  46948. function TINT_IPC3.getOC3IP : TBits_3; inline;
  46949. begin
  46950. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  46951. end;
  46952. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  46953. begin
  46954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  46955. end;
  46956. function TINT_IPC3.getINT3IS : TBits_2; inline;
  46957. begin
  46958. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  46959. end;
  46960. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  46961. begin
  46962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  46963. end;
  46964. function TINT_IPC3.getINT3IP : TBits_3; inline;
  46965. begin
  46966. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  46967. end;
  46968. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  46969. begin
  46970. pTDefRegMap(@Self)^.val := thebits;
  46971. end;
  46972. function TINT_IPC3.getw : TBits_32; inline;
  46973. begin
  46974. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  46975. end;
  46976. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  46977. begin
  46978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  46979. end;
  46980. function TINT_IPC4.getT4IS : TBits_2; inline;
  46981. begin
  46982. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  46983. end;
  46984. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  46985. begin
  46986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  46987. end;
  46988. function TINT_IPC4.getT4IP : TBits_3; inline;
  46989. begin
  46990. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  46991. end;
  46992. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  46993. begin
  46994. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  46995. end;
  46996. function TINT_IPC4.getIC4IS : TBits_2; inline;
  46997. begin
  46998. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  46999. end;
  47000. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  47001. begin
  47002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47003. end;
  47004. function TINT_IPC4.getIC4IP : TBits_3; inline;
  47005. begin
  47006. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47007. end;
  47008. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  47009. begin
  47010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47011. end;
  47012. function TINT_IPC4.getOC4IS : TBits_2; inline;
  47013. begin
  47014. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47015. end;
  47016. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  47017. begin
  47018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47019. end;
  47020. function TINT_IPC4.getOC4IP : TBits_3; inline;
  47021. begin
  47022. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47023. end;
  47024. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  47025. begin
  47026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47027. end;
  47028. function TINT_IPC4.getINT4IS : TBits_2; inline;
  47029. begin
  47030. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47031. end;
  47032. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  47033. begin
  47034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47035. end;
  47036. function TINT_IPC4.getINT4IP : TBits_3; inline;
  47037. begin
  47038. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47039. end;
  47040. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  47041. begin
  47042. pTDefRegMap(@Self)^.val := thebits;
  47043. end;
  47044. function TINT_IPC4.getw : TBits_32; inline;
  47045. begin
  47046. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47047. end;
  47048. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  47049. begin
  47050. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47051. end;
  47052. function TINT_IPC5.getT5IS : TBits_2; inline;
  47053. begin
  47054. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47055. end;
  47056. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  47057. begin
  47058. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47059. end;
  47060. function TINT_IPC5.getT5IP : TBits_3; inline;
  47061. begin
  47062. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47063. end;
  47064. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  47065. begin
  47066. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47067. end;
  47068. function TINT_IPC5.getIC5IS : TBits_2; inline;
  47069. begin
  47070. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47071. end;
  47072. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  47073. begin
  47074. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47075. end;
  47076. function TINT_IPC5.getIC5IP : TBits_3; inline;
  47077. begin
  47078. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47079. end;
  47080. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  47081. begin
  47082. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47083. end;
  47084. function TINT_IPC5.getOC5IS : TBits_2; inline;
  47085. begin
  47086. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47087. end;
  47088. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  47089. begin
  47090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47091. end;
  47092. function TINT_IPC5.getOC5IP : TBits_3; inline;
  47093. begin
  47094. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47095. end;
  47096. procedure TINT_IPC5.setSPI1IS(thebits : TBits_2); inline;
  47097. begin
  47098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47099. end;
  47100. function TINT_IPC5.getSPI1IS : TBits_2; inline;
  47101. begin
  47102. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47103. end;
  47104. procedure TINT_IPC5.setSPI1IP(thebits : TBits_3); inline;
  47105. begin
  47106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47107. end;
  47108. function TINT_IPC5.getSPI1IP : TBits_3; inline;
  47109. begin
  47110. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47111. end;
  47112. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  47113. begin
  47114. pTDefRegMap(@Self)^.val := thebits;
  47115. end;
  47116. function TINT_IPC5.getw : TBits_32; inline;
  47117. begin
  47118. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47119. end;
  47120. procedure TINT_IPC6.setU1IS(thebits : TBits_2); inline;
  47121. begin
  47122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47123. end;
  47124. function TINT_IPC6.getU1IS : TBits_2; inline;
  47125. begin
  47126. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47127. end;
  47128. procedure TINT_IPC6.setU1IP(thebits : TBits_3); inline;
  47129. begin
  47130. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47131. end;
  47132. function TINT_IPC6.getU1IP : TBits_3; inline;
  47133. begin
  47134. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47135. end;
  47136. procedure TINT_IPC6.setI2C1IS(thebits : TBits_2); inline;
  47137. begin
  47138. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47139. end;
  47140. function TINT_IPC6.getI2C1IS : TBits_2; inline;
  47141. begin
  47142. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47143. end;
  47144. procedure TINT_IPC6.setI2C1IP(thebits : TBits_3); inline;
  47145. begin
  47146. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47147. end;
  47148. function TINT_IPC6.getI2C1IP : TBits_3; inline;
  47149. begin
  47150. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47151. end;
  47152. procedure TINT_IPC6.setCNIS(thebits : TBits_2); inline;
  47153. begin
  47154. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47155. end;
  47156. function TINT_IPC6.getCNIS : TBits_2; inline;
  47157. begin
  47158. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47159. end;
  47160. procedure TINT_IPC6.setCNIP(thebits : TBits_3); inline;
  47161. begin
  47162. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47163. end;
  47164. function TINT_IPC6.getCNIP : TBits_3; inline;
  47165. begin
  47166. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47167. end;
  47168. procedure TINT_IPC6.setAD1IS(thebits : TBits_2); inline;
  47169. begin
  47170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47171. end;
  47172. function TINT_IPC6.getAD1IS : TBits_2; inline;
  47173. begin
  47174. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47175. end;
  47176. procedure TINT_IPC6.setAD1IP(thebits : TBits_3); inline;
  47177. begin
  47178. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47179. end;
  47180. function TINT_IPC6.getAD1IP : TBits_3; inline;
  47181. begin
  47182. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47183. end;
  47184. procedure TINT_IPC6.setU1AIS(thebits : TBits_2); inline;
  47185. begin
  47186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47187. end;
  47188. function TINT_IPC6.getU1AIS : TBits_2; inline;
  47189. begin
  47190. getU1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47191. end;
  47192. procedure TINT_IPC6.setU1AIP(thebits : TBits_3); inline;
  47193. begin
  47194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47195. end;
  47196. function TINT_IPC6.getU1AIP : TBits_3; inline;
  47197. begin
  47198. getU1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47199. end;
  47200. procedure TINT_IPC6.setSPI3IS(thebits : TBits_2); inline;
  47201. begin
  47202. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47203. end;
  47204. function TINT_IPC6.getSPI3IS : TBits_2; inline;
  47205. begin
  47206. getSPI3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47207. end;
  47208. procedure TINT_IPC6.setSPI3IP(thebits : TBits_3); inline;
  47209. begin
  47210. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47211. end;
  47212. function TINT_IPC6.getSPI3IP : TBits_3; inline;
  47213. begin
  47214. getSPI3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47215. end;
  47216. procedure TINT_IPC6.setSPI1AIS(thebits : TBits_2); inline;
  47217. begin
  47218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47219. end;
  47220. function TINT_IPC6.getSPI1AIS : TBits_2; inline;
  47221. begin
  47222. getSPI1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47223. end;
  47224. procedure TINT_IPC6.setSPI1AIP(thebits : TBits_3); inline;
  47225. begin
  47226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47227. end;
  47228. function TINT_IPC6.getSPI1AIP : TBits_3; inline;
  47229. begin
  47230. getSPI1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47231. end;
  47232. procedure TINT_IPC6.setI2C3IS(thebits : TBits_2); inline;
  47233. begin
  47234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47235. end;
  47236. function TINT_IPC6.getI2C3IS : TBits_2; inline;
  47237. begin
  47238. getI2C3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47239. end;
  47240. procedure TINT_IPC6.setI2C3IP(thebits : TBits_3); inline;
  47241. begin
  47242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47243. end;
  47244. function TINT_IPC6.getI2C3IP : TBits_3; inline;
  47245. begin
  47246. getI2C3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47247. end;
  47248. procedure TINT_IPC6.setI2C1AIS(thebits : TBits_2); inline;
  47249. begin
  47250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47251. end;
  47252. function TINT_IPC6.getI2C1AIS : TBits_2; inline;
  47253. begin
  47254. getI2C1AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47255. end;
  47256. procedure TINT_IPC6.setI2C1AIP(thebits : TBits_3); inline;
  47257. begin
  47258. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47259. end;
  47260. function TINT_IPC6.getI2C1AIP : TBits_3; inline;
  47261. begin
  47262. getI2C1AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47263. end;
  47264. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  47265. begin
  47266. pTDefRegMap(@Self)^.val := thebits;
  47267. end;
  47268. function TINT_IPC6.getw : TBits_32; inline;
  47269. begin
  47270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47271. end;
  47272. procedure TINT_IPC7.setPMPIS(thebits : TBits_2); inline;
  47273. begin
  47274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47275. end;
  47276. function TINT_IPC7.getPMPIS : TBits_2; inline;
  47277. begin
  47278. getPMPIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47279. end;
  47280. procedure TINT_IPC7.setPMPIP(thebits : TBits_3); inline;
  47281. begin
  47282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47283. end;
  47284. function TINT_IPC7.getPMPIP : TBits_3; inline;
  47285. begin
  47286. getPMPIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47287. end;
  47288. procedure TINT_IPC7.setCMP1IS(thebits : TBits_2); inline;
  47289. begin
  47290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47291. end;
  47292. function TINT_IPC7.getCMP1IS : TBits_2; inline;
  47293. begin
  47294. getCMP1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47295. end;
  47296. procedure TINT_IPC7.setCMP1IP(thebits : TBits_3); inline;
  47297. begin
  47298. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47299. end;
  47300. function TINT_IPC7.getCMP1IP : TBits_3; inline;
  47301. begin
  47302. getCMP1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47303. end;
  47304. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  47305. begin
  47306. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47307. end;
  47308. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  47309. begin
  47310. getCMP2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47311. end;
  47312. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  47313. begin
  47314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47315. end;
  47316. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  47317. begin
  47318. getCMP2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47319. end;
  47320. procedure TINT_IPC7.setU3IS(thebits : TBits_2); inline;
  47321. begin
  47322. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47323. end;
  47324. function TINT_IPC7.getU3IS : TBits_2; inline;
  47325. begin
  47326. getU3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47327. end;
  47328. procedure TINT_IPC7.setU3IP(thebits : TBits_3); inline;
  47329. begin
  47330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47331. end;
  47332. function TINT_IPC7.getU3IP : TBits_3; inline;
  47333. begin
  47334. getU3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47335. end;
  47336. procedure TINT_IPC7.setU2AIS(thebits : TBits_2); inline;
  47337. begin
  47338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47339. end;
  47340. function TINT_IPC7.getU2AIS : TBits_2; inline;
  47341. begin
  47342. getU2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47343. end;
  47344. procedure TINT_IPC7.setU2AIP(thebits : TBits_3); inline;
  47345. begin
  47346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47347. end;
  47348. function TINT_IPC7.getU2AIP : TBits_3; inline;
  47349. begin
  47350. getU2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47351. end;
  47352. procedure TINT_IPC7.setSPI2IS(thebits : TBits_2); inline;
  47353. begin
  47354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47355. end;
  47356. function TINT_IPC7.getSPI2IS : TBits_2; inline;
  47357. begin
  47358. getSPI2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47359. end;
  47360. procedure TINT_IPC7.setSPI2IP(thebits : TBits_3); inline;
  47361. begin
  47362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47363. end;
  47364. function TINT_IPC7.getSPI2IP : TBits_3; inline;
  47365. begin
  47366. getSPI2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47367. end;
  47368. procedure TINT_IPC7.setSPI2AIS(thebits : TBits_2); inline;
  47369. begin
  47370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47371. end;
  47372. function TINT_IPC7.getSPI2AIS : TBits_2; inline;
  47373. begin
  47374. getSPI2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47375. end;
  47376. procedure TINT_IPC7.setSPI2AIP(thebits : TBits_3); inline;
  47377. begin
  47378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47379. end;
  47380. function TINT_IPC7.getSPI2AIP : TBits_3; inline;
  47381. begin
  47382. getSPI2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47383. end;
  47384. procedure TINT_IPC7.setI2C4IS(thebits : TBits_2); inline;
  47385. begin
  47386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47387. end;
  47388. function TINT_IPC7.getI2C4IS : TBits_2; inline;
  47389. begin
  47390. getI2C4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47391. end;
  47392. procedure TINT_IPC7.setI2C4IP(thebits : TBits_3); inline;
  47393. begin
  47394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47395. end;
  47396. function TINT_IPC7.getI2C4IP : TBits_3; inline;
  47397. begin
  47398. getI2C4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47399. end;
  47400. procedure TINT_IPC7.setI2C2AIS(thebits : TBits_2); inline;
  47401. begin
  47402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47403. end;
  47404. function TINT_IPC7.getI2C2AIS : TBits_2; inline;
  47405. begin
  47406. getI2C2AIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47407. end;
  47408. procedure TINT_IPC7.setI2C2AIP(thebits : TBits_3); inline;
  47409. begin
  47410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47411. end;
  47412. function TINT_IPC7.getI2C2AIP : TBits_3; inline;
  47413. begin
  47414. getI2C2AIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47415. end;
  47416. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  47417. begin
  47418. pTDefRegMap(@Self)^.val := thebits;
  47419. end;
  47420. function TINT_IPC7.getw : TBits_32; inline;
  47421. begin
  47422. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47423. end;
  47424. procedure TINT_IPC8.setU2IS(thebits : TBits_2); inline;
  47425. begin
  47426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47427. end;
  47428. function TINT_IPC8.getU2IS : TBits_2; inline;
  47429. begin
  47430. getU2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47431. end;
  47432. procedure TINT_IPC8.setU2IP(thebits : TBits_3); inline;
  47433. begin
  47434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47435. end;
  47436. function TINT_IPC8.getU2IP : TBits_3; inline;
  47437. begin
  47438. getU2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47439. end;
  47440. procedure TINT_IPC8.setI2C2IS(thebits : TBits_2); inline;
  47441. begin
  47442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47443. end;
  47444. function TINT_IPC8.getI2C2IS : TBits_2; inline;
  47445. begin
  47446. getI2C2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47447. end;
  47448. procedure TINT_IPC8.setI2C2IP(thebits : TBits_3); inline;
  47449. begin
  47450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47451. end;
  47452. function TINT_IPC8.getI2C2IP : TBits_3; inline;
  47453. begin
  47454. getI2C2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47455. end;
  47456. procedure TINT_IPC8.setFSCMIS(thebits : TBits_2); inline;
  47457. begin
  47458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47459. end;
  47460. function TINT_IPC8.getFSCMIS : TBits_2; inline;
  47461. begin
  47462. getFSCMIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47463. end;
  47464. procedure TINT_IPC8.setFSCMIP(thebits : TBits_3); inline;
  47465. begin
  47466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47467. end;
  47468. function TINT_IPC8.getFSCMIP : TBits_3; inline;
  47469. begin
  47470. getFSCMIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47471. end;
  47472. procedure TINT_IPC8.setRTCCIS(thebits : TBits_2); inline;
  47473. begin
  47474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47475. end;
  47476. function TINT_IPC8.getRTCCIS : TBits_2; inline;
  47477. begin
  47478. getRTCCIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47479. end;
  47480. procedure TINT_IPC8.setRTCCIP(thebits : TBits_3); inline;
  47481. begin
  47482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47483. end;
  47484. function TINT_IPC8.getRTCCIP : TBits_3; inline;
  47485. begin
  47486. getRTCCIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47487. end;
  47488. procedure TINT_IPC8.setU3AIS(thebits : TBits_2); inline;
  47489. begin
  47490. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47491. end;
  47492. function TINT_IPC8.getU3AIS : TBits_2; inline;
  47493. begin
  47494. getU3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47495. end;
  47496. procedure TINT_IPC8.setU3AIP(thebits : TBits_3); inline;
  47497. begin
  47498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47499. end;
  47500. function TINT_IPC8.getU3AIP : TBits_3; inline;
  47501. begin
  47502. getU3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47503. end;
  47504. procedure TINT_IPC8.setSPI4IS(thebits : TBits_2); inline;
  47505. begin
  47506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47507. end;
  47508. function TINT_IPC8.getSPI4IS : TBits_2; inline;
  47509. begin
  47510. getSPI4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47511. end;
  47512. procedure TINT_IPC8.setSPI4IP(thebits : TBits_3); inline;
  47513. begin
  47514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47515. end;
  47516. function TINT_IPC8.getSPI4IP : TBits_3; inline;
  47517. begin
  47518. getSPI4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47519. end;
  47520. procedure TINT_IPC8.setSPI3AIS(thebits : TBits_2); inline;
  47521. begin
  47522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47523. end;
  47524. function TINT_IPC8.getSPI3AIS : TBits_2; inline;
  47525. begin
  47526. getSPI3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47527. end;
  47528. procedure TINT_IPC8.setSPI3AIP(thebits : TBits_3); inline;
  47529. begin
  47530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47531. end;
  47532. function TINT_IPC8.getSPI3AIP : TBits_3; inline;
  47533. begin
  47534. getSPI3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47535. end;
  47536. procedure TINT_IPC8.setI2C5IS(thebits : TBits_2); inline;
  47537. begin
  47538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47539. end;
  47540. function TINT_IPC8.getI2C5IS : TBits_2; inline;
  47541. begin
  47542. getI2C5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47543. end;
  47544. procedure TINT_IPC8.setI2C5IP(thebits : TBits_3); inline;
  47545. begin
  47546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47547. end;
  47548. function TINT_IPC8.getI2C5IP : TBits_3; inline;
  47549. begin
  47550. getI2C5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47551. end;
  47552. procedure TINT_IPC8.setI2C3AIS(thebits : TBits_2); inline;
  47553. begin
  47554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47555. end;
  47556. function TINT_IPC8.getI2C3AIS : TBits_2; inline;
  47557. begin
  47558. getI2C3AIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47559. end;
  47560. procedure TINT_IPC8.setI2C3AIP(thebits : TBits_3); inline;
  47561. begin
  47562. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47563. end;
  47564. function TINT_IPC8.getI2C3AIP : TBits_3; inline;
  47565. begin
  47566. getI2C3AIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47567. end;
  47568. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  47569. begin
  47570. pTDefRegMap(@Self)^.val := thebits;
  47571. end;
  47572. function TINT_IPC8.getw : TBits_32; inline;
  47573. begin
  47574. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47575. end;
  47576. procedure TINT_IPC9.setDMA0IS(thebits : TBits_2); inline;
  47577. begin
  47578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47579. end;
  47580. function TINT_IPC9.getDMA0IS : TBits_2; inline;
  47581. begin
  47582. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47583. end;
  47584. procedure TINT_IPC9.setDMA0IP(thebits : TBits_3); inline;
  47585. begin
  47586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47587. end;
  47588. function TINT_IPC9.getDMA0IP : TBits_3; inline;
  47589. begin
  47590. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47591. end;
  47592. procedure TINT_IPC9.setDMA1IS(thebits : TBits_2); inline;
  47593. begin
  47594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47595. end;
  47596. function TINT_IPC9.getDMA1IS : TBits_2; inline;
  47597. begin
  47598. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47599. end;
  47600. procedure TINT_IPC9.setDMA1IP(thebits : TBits_3); inline;
  47601. begin
  47602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47603. end;
  47604. function TINT_IPC9.getDMA1IP : TBits_3; inline;
  47605. begin
  47606. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47607. end;
  47608. procedure TINT_IPC9.setDMA2IS(thebits : TBits_2); inline;
  47609. begin
  47610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47611. end;
  47612. function TINT_IPC9.getDMA2IS : TBits_2; inline;
  47613. begin
  47614. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47615. end;
  47616. procedure TINT_IPC9.setDMA2IP(thebits : TBits_3); inline;
  47617. begin
  47618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47619. end;
  47620. function TINT_IPC9.getDMA2IP : TBits_3; inline;
  47621. begin
  47622. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47623. end;
  47624. procedure TINT_IPC9.setDMA3IS(thebits : TBits_2); inline;
  47625. begin
  47626. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47627. end;
  47628. function TINT_IPC9.getDMA3IS : TBits_2; inline;
  47629. begin
  47630. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47631. end;
  47632. procedure TINT_IPC9.setDMA3IP(thebits : TBits_3); inline;
  47633. begin
  47634. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47635. end;
  47636. function TINT_IPC9.getDMA3IP : TBits_3; inline;
  47637. begin
  47638. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47639. end;
  47640. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  47641. begin
  47642. pTDefRegMap(@Self)^.val := thebits;
  47643. end;
  47644. function TINT_IPC9.getw : TBits_32; inline;
  47645. begin
  47646. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47647. end;
  47648. procedure TINT_IPC11.setFCEIS(thebits : TBits_2); inline;
  47649. begin
  47650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47651. end;
  47652. function TINT_IPC11.getFCEIS : TBits_2; inline;
  47653. begin
  47654. getFCEIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47655. end;
  47656. procedure TINT_IPC11.setFCEIP(thebits : TBits_3); inline;
  47657. begin
  47658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47659. end;
  47660. function TINT_IPC11.getFCEIP : TBits_3; inline;
  47661. begin
  47662. getFCEIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47663. end;
  47664. procedure TINT_IPC11.setUSBIS(thebits : TBits_2); inline;
  47665. begin
  47666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47667. end;
  47668. function TINT_IPC11.getUSBIS : TBits_2; inline;
  47669. begin
  47670. getUSBIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47671. end;
  47672. procedure TINT_IPC11.setUSBIP(thebits : TBits_3); inline;
  47673. begin
  47674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47675. end;
  47676. function TINT_IPC11.getUSBIP : TBits_3; inline;
  47677. begin
  47678. getUSBIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47679. end;
  47680. procedure TINT_IPC11.setw(thebits : TBits_32); inline;
  47681. begin
  47682. pTDefRegMap(@Self)^.val := thebits;
  47683. end;
  47684. function TINT_IPC11.getw : TBits_32; inline;
  47685. begin
  47686. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47687. end;
  47688. procedure TINT_IPC12.setETHIS(thebits : TBits_2); inline;
  47689. begin
  47690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  47691. end;
  47692. function TINT_IPC12.getETHIS : TBits_2; inline;
  47693. begin
  47694. getETHIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  47695. end;
  47696. procedure TINT_IPC12.setETHIP(thebits : TBits_3); inline;
  47697. begin
  47698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  47699. end;
  47700. function TINT_IPC12.getETHIP : TBits_3; inline;
  47701. begin
  47702. getETHIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  47703. end;
  47704. procedure TINT_IPC12.setU4IS(thebits : TBits_2); inline;
  47705. begin
  47706. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47707. end;
  47708. function TINT_IPC12.getU4IS : TBits_2; inline;
  47709. begin
  47710. getU4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47711. end;
  47712. procedure TINT_IPC12.setU4IP(thebits : TBits_3); inline;
  47713. begin
  47714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47715. end;
  47716. function TINT_IPC12.getU4IP : TBits_3; inline;
  47717. begin
  47718. getU4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47719. end;
  47720. procedure TINT_IPC12.setU6IS(thebits : TBits_2); inline;
  47721. begin
  47722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47723. end;
  47724. function TINT_IPC12.getU6IS : TBits_2; inline;
  47725. begin
  47726. getU6IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47727. end;
  47728. procedure TINT_IPC12.setU6IP(thebits : TBits_3); inline;
  47729. begin
  47730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47731. end;
  47732. function TINT_IPC12.getU6IP : TBits_3; inline;
  47733. begin
  47734. getU6IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47735. end;
  47736. procedure TINT_IPC12.setU5IS(thebits : TBits_2); inline;
  47737. begin
  47738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47739. end;
  47740. function TINT_IPC12.getU5IS : TBits_2; inline;
  47741. begin
  47742. getU5IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47743. end;
  47744. procedure TINT_IPC12.setU5IP(thebits : TBits_3); inline;
  47745. begin
  47746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47747. end;
  47748. function TINT_IPC12.getU5IP : TBits_3; inline;
  47749. begin
  47750. getU5IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47751. end;
  47752. procedure TINT_IPC12.setU1BIS(thebits : TBits_2); inline;
  47753. begin
  47754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  47755. end;
  47756. function TINT_IPC12.getU1BIS : TBits_2; inline;
  47757. begin
  47758. getU1BIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  47759. end;
  47760. procedure TINT_IPC12.setU1BIP(thebits : TBits_3); inline;
  47761. begin
  47762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  47763. end;
  47764. function TINT_IPC12.getU1BIP : TBits_3; inline;
  47765. begin
  47766. getU1BIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  47767. end;
  47768. procedure TINT_IPC12.setU2BIS(thebits : TBits_2); inline;
  47769. begin
  47770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  47771. end;
  47772. function TINT_IPC12.getU2BIS : TBits_2; inline;
  47773. begin
  47774. getU2BIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  47775. end;
  47776. procedure TINT_IPC12.setU2BIP(thebits : TBits_3); inline;
  47777. begin
  47778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  47779. end;
  47780. function TINT_IPC12.getU2BIP : TBits_3; inline;
  47781. begin
  47782. getU2BIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  47783. end;
  47784. procedure TINT_IPC12.setU3BIS(thebits : TBits_2); inline;
  47785. begin
  47786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  47787. end;
  47788. function TINT_IPC12.getU3BIS : TBits_2; inline;
  47789. begin
  47790. getU3BIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  47791. end;
  47792. procedure TINT_IPC12.setU3BIP(thebits : TBits_3); inline;
  47793. begin
  47794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  47795. end;
  47796. function TINT_IPC12.getU3BIP : TBits_3; inline;
  47797. begin
  47798. getU3BIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  47799. end;
  47800. procedure TINT_IPC12.setw(thebits : TBits_32); inline;
  47801. begin
  47802. pTDefRegMap(@Self)^.val := thebits;
  47803. end;
  47804. function TINT_IPC12.getw : TBits_32; inline;
  47805. begin
  47806. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47807. end;
  47808. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  47809. begin
  47810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  47811. end;
  47812. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  47813. begin
  47814. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  47815. end;
  47816. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  47817. begin
  47818. pTDefRegMap(@Self)^.&set := $00000040;
  47819. end;
  47820. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  47821. begin
  47822. pTDefRegMap(@Self)^.clr := $00000040;
  47823. end;
  47824. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  47825. begin
  47826. if thebits = 0 then
  47827. pTDefRegMap(@Self)^.clr := $00000040
  47828. else
  47829. pTDefRegMap(@Self)^.&set := $00000040;
  47830. end;
  47831. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  47832. begin
  47833. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  47834. end;
  47835. procedure TBMX_BMXCON.setBMXERRIS; inline;
  47836. begin
  47837. pTDefRegMap(@Self)^.&set := $00010000;
  47838. end;
  47839. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  47840. begin
  47841. pTDefRegMap(@Self)^.clr := $00010000;
  47842. end;
  47843. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  47844. begin
  47845. if thebits = 0 then
  47846. pTDefRegMap(@Self)^.clr := $00010000
  47847. else
  47848. pTDefRegMap(@Self)^.&set := $00010000;
  47849. end;
  47850. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  47851. begin
  47852. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  47853. end;
  47854. procedure TBMX_BMXCON.setBMXERRDS; inline;
  47855. begin
  47856. pTDefRegMap(@Self)^.&set := $00020000;
  47857. end;
  47858. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  47859. begin
  47860. pTDefRegMap(@Self)^.clr := $00020000;
  47861. end;
  47862. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  47863. begin
  47864. if thebits = 0 then
  47865. pTDefRegMap(@Self)^.clr := $00020000
  47866. else
  47867. pTDefRegMap(@Self)^.&set := $00020000;
  47868. end;
  47869. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  47870. begin
  47871. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  47872. end;
  47873. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  47874. begin
  47875. pTDefRegMap(@Self)^.&set := $00040000;
  47876. end;
  47877. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  47878. begin
  47879. pTDefRegMap(@Self)^.clr := $00040000;
  47880. end;
  47881. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  47882. begin
  47883. if thebits = 0 then
  47884. pTDefRegMap(@Self)^.clr := $00040000
  47885. else
  47886. pTDefRegMap(@Self)^.&set := $00040000;
  47887. end;
  47888. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  47889. begin
  47890. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  47891. end;
  47892. procedure TBMX_BMXCON.setBMXERRICD; inline;
  47893. begin
  47894. pTDefRegMap(@Self)^.&set := $00080000;
  47895. end;
  47896. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  47897. begin
  47898. pTDefRegMap(@Self)^.clr := $00080000;
  47899. end;
  47900. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  47901. begin
  47902. if thebits = 0 then
  47903. pTDefRegMap(@Self)^.clr := $00080000
  47904. else
  47905. pTDefRegMap(@Self)^.&set := $00080000;
  47906. end;
  47907. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  47908. begin
  47909. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  47910. end;
  47911. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  47912. begin
  47913. pTDefRegMap(@Self)^.&set := $00100000;
  47914. end;
  47915. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  47916. begin
  47917. pTDefRegMap(@Self)^.clr := $00100000;
  47918. end;
  47919. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  47920. begin
  47921. if thebits = 0 then
  47922. pTDefRegMap(@Self)^.clr := $00100000
  47923. else
  47924. pTDefRegMap(@Self)^.&set := $00100000;
  47925. end;
  47926. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  47927. begin
  47928. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  47929. end;
  47930. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  47931. begin
  47932. pTDefRegMap(@Self)^.&set := $04000000;
  47933. end;
  47934. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  47935. begin
  47936. pTDefRegMap(@Self)^.clr := $04000000;
  47937. end;
  47938. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  47939. begin
  47940. if thebits = 0 then
  47941. pTDefRegMap(@Self)^.clr := $04000000
  47942. else
  47943. pTDefRegMap(@Self)^.&set := $04000000;
  47944. end;
  47945. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  47946. begin
  47947. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  47948. end;
  47949. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  47950. begin
  47951. pTDefRegMap(@Self)^.val := thebits;
  47952. end;
  47953. function TBMX_BMXCON.getw : TBits_32; inline;
  47954. begin
  47955. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  47956. end;
  47957. procedure TDMAC_DMACON.setDMABUSY; inline;
  47958. begin
  47959. pTDefRegMap(@Self)^.&set := $00000800;
  47960. end;
  47961. procedure TDMAC_DMACON.clearDMABUSY; inline;
  47962. begin
  47963. pTDefRegMap(@Self)^.clr := $00000800;
  47964. end;
  47965. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  47966. begin
  47967. if thebits = 0 then
  47968. pTDefRegMap(@Self)^.clr := $00000800
  47969. else
  47970. pTDefRegMap(@Self)^.&set := $00000800;
  47971. end;
  47972. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  47973. begin
  47974. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  47975. end;
  47976. procedure TDMAC_DMACON.setSUSPEND; inline;
  47977. begin
  47978. pTDefRegMap(@Self)^.&set := $00001000;
  47979. end;
  47980. procedure TDMAC_DMACON.clearSUSPEND; inline;
  47981. begin
  47982. pTDefRegMap(@Self)^.clr := $00001000;
  47983. end;
  47984. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  47985. begin
  47986. if thebits = 0 then
  47987. pTDefRegMap(@Self)^.clr := $00001000
  47988. else
  47989. pTDefRegMap(@Self)^.&set := $00001000;
  47990. end;
  47991. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  47992. begin
  47993. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  47994. end;
  47995. procedure TDMAC_DMACON.setON; inline;
  47996. begin
  47997. pTDefRegMap(@Self)^.&set := $00008000;
  47998. end;
  47999. procedure TDMAC_DMACON.clearON; inline;
  48000. begin
  48001. pTDefRegMap(@Self)^.clr := $00008000;
  48002. end;
  48003. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  48004. begin
  48005. if thebits = 0 then
  48006. pTDefRegMap(@Self)^.clr := $00008000
  48007. else
  48008. pTDefRegMap(@Self)^.&set := $00008000;
  48009. end;
  48010. function TDMAC_DMACON.getON : TBits_1; inline;
  48011. begin
  48012. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48013. end;
  48014. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  48015. begin
  48016. pTDefRegMap(@Self)^.val := thebits;
  48017. end;
  48018. function TDMAC_DMACON.getw : TBits_32; inline;
  48019. begin
  48020. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48021. end;
  48022. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  48023. begin
  48024. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  48025. end;
  48026. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  48027. begin
  48028. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  48029. end;
  48030. procedure TDMAC_DMASTAT.setRDWR; inline;
  48031. begin
  48032. pTDefRegMap(@Self)^.&set := $00000008;
  48033. end;
  48034. procedure TDMAC_DMASTAT.clearRDWR; inline;
  48035. begin
  48036. pTDefRegMap(@Self)^.clr := $00000008;
  48037. end;
  48038. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  48039. begin
  48040. if thebits = 0 then
  48041. pTDefRegMap(@Self)^.clr := $00000008
  48042. else
  48043. pTDefRegMap(@Self)^.&set := $00000008;
  48044. end;
  48045. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  48046. begin
  48047. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48048. end;
  48049. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  48050. begin
  48051. pTDefRegMap(@Self)^.val := thebits;
  48052. end;
  48053. function TDMAC_DMASTAT.getw : TBits_32; inline;
  48054. begin
  48055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48056. end;
  48057. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  48058. begin
  48059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  48060. end;
  48061. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  48062. begin
  48063. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  48064. end;
  48065. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  48066. begin
  48067. pTDefRegMap(@Self)^.&set := $00000020;
  48068. end;
  48069. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  48070. begin
  48071. pTDefRegMap(@Self)^.clr := $00000020;
  48072. end;
  48073. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  48074. begin
  48075. if thebits = 0 then
  48076. pTDefRegMap(@Self)^.clr := $00000020
  48077. else
  48078. pTDefRegMap(@Self)^.&set := $00000020;
  48079. end;
  48080. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  48081. begin
  48082. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48083. end;
  48084. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  48085. begin
  48086. pTDefRegMap(@Self)^.&set := $00000040;
  48087. end;
  48088. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  48089. begin
  48090. pTDefRegMap(@Self)^.clr := $00000040;
  48091. end;
  48092. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  48093. begin
  48094. if thebits = 0 then
  48095. pTDefRegMap(@Self)^.clr := $00000040
  48096. else
  48097. pTDefRegMap(@Self)^.&set := $00000040;
  48098. end;
  48099. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  48100. begin
  48101. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48102. end;
  48103. procedure TDMAC_DCRCCON.setCRCEN; inline;
  48104. begin
  48105. pTDefRegMap(@Self)^.&set := $00000080;
  48106. end;
  48107. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  48108. begin
  48109. pTDefRegMap(@Self)^.clr := $00000080;
  48110. end;
  48111. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  48112. begin
  48113. if thebits = 0 then
  48114. pTDefRegMap(@Self)^.clr := $00000080
  48115. else
  48116. pTDefRegMap(@Self)^.&set := $00000080;
  48117. end;
  48118. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  48119. begin
  48120. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48121. end;
  48122. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  48123. begin
  48124. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  48125. end;
  48126. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  48127. begin
  48128. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  48129. end;
  48130. procedure TDMAC_DCRCCON.setBITO; inline;
  48131. begin
  48132. pTDefRegMap(@Self)^.&set := $01000000;
  48133. end;
  48134. procedure TDMAC_DCRCCON.clearBITO; inline;
  48135. begin
  48136. pTDefRegMap(@Self)^.clr := $01000000;
  48137. end;
  48138. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  48139. begin
  48140. if thebits = 0 then
  48141. pTDefRegMap(@Self)^.clr := $01000000
  48142. else
  48143. pTDefRegMap(@Self)^.&set := $01000000;
  48144. end;
  48145. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  48146. begin
  48147. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  48148. end;
  48149. procedure TDMAC_DCRCCON.setWBO; inline;
  48150. begin
  48151. pTDefRegMap(@Self)^.&set := $08000000;
  48152. end;
  48153. procedure TDMAC_DCRCCON.clearWBO; inline;
  48154. begin
  48155. pTDefRegMap(@Self)^.clr := $08000000;
  48156. end;
  48157. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  48158. begin
  48159. if thebits = 0 then
  48160. pTDefRegMap(@Self)^.clr := $08000000
  48161. else
  48162. pTDefRegMap(@Self)^.&set := $08000000;
  48163. end;
  48164. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  48165. begin
  48166. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  48167. end;
  48168. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  48169. begin
  48170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  48171. end;
  48172. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  48173. begin
  48174. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  48175. end;
  48176. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  48177. begin
  48178. pTDefRegMap(@Self)^.val := thebits;
  48179. end;
  48180. function TDMAC_DCRCCON.getw : TBits_32; inline;
  48181. begin
  48182. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48183. end;
  48184. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  48185. begin
  48186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48187. end;
  48188. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  48189. begin
  48190. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48191. end;
  48192. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  48193. begin
  48194. pTDefRegMap(@Self)^.&set := $00000004;
  48195. end;
  48196. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  48197. begin
  48198. pTDefRegMap(@Self)^.clr := $00000004;
  48199. end;
  48200. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  48201. begin
  48202. if thebits = 0 then
  48203. pTDefRegMap(@Self)^.clr := $00000004
  48204. else
  48205. pTDefRegMap(@Self)^.&set := $00000004;
  48206. end;
  48207. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  48208. begin
  48209. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48210. end;
  48211. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  48212. begin
  48213. pTDefRegMap(@Self)^.&set := $00000010;
  48214. end;
  48215. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  48216. begin
  48217. pTDefRegMap(@Self)^.clr := $00000010;
  48218. end;
  48219. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  48220. begin
  48221. if thebits = 0 then
  48222. pTDefRegMap(@Self)^.clr := $00000010
  48223. else
  48224. pTDefRegMap(@Self)^.&set := $00000010;
  48225. end;
  48226. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  48227. begin
  48228. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48229. end;
  48230. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  48231. begin
  48232. pTDefRegMap(@Self)^.&set := $00000020;
  48233. end;
  48234. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  48235. begin
  48236. pTDefRegMap(@Self)^.clr := $00000020;
  48237. end;
  48238. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  48239. begin
  48240. if thebits = 0 then
  48241. pTDefRegMap(@Self)^.clr := $00000020
  48242. else
  48243. pTDefRegMap(@Self)^.&set := $00000020;
  48244. end;
  48245. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  48246. begin
  48247. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48248. end;
  48249. procedure TDMAC0_DCH0CON.setCHAED; inline;
  48250. begin
  48251. pTDefRegMap(@Self)^.&set := $00000040;
  48252. end;
  48253. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  48254. begin
  48255. pTDefRegMap(@Self)^.clr := $00000040;
  48256. end;
  48257. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  48258. begin
  48259. if thebits = 0 then
  48260. pTDefRegMap(@Self)^.clr := $00000040
  48261. else
  48262. pTDefRegMap(@Self)^.&set := $00000040;
  48263. end;
  48264. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  48265. begin
  48266. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48267. end;
  48268. procedure TDMAC0_DCH0CON.setCHEN; inline;
  48269. begin
  48270. pTDefRegMap(@Self)^.&set := $00000080;
  48271. end;
  48272. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  48273. begin
  48274. pTDefRegMap(@Self)^.clr := $00000080;
  48275. end;
  48276. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  48277. begin
  48278. if thebits = 0 then
  48279. pTDefRegMap(@Self)^.clr := $00000080
  48280. else
  48281. pTDefRegMap(@Self)^.&set := $00000080;
  48282. end;
  48283. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  48284. begin
  48285. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48286. end;
  48287. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  48288. begin
  48289. pTDefRegMap(@Self)^.&set := $00000100;
  48290. end;
  48291. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  48292. begin
  48293. pTDefRegMap(@Self)^.clr := $00000100;
  48294. end;
  48295. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  48296. begin
  48297. if thebits = 0 then
  48298. pTDefRegMap(@Self)^.clr := $00000100
  48299. else
  48300. pTDefRegMap(@Self)^.&set := $00000100;
  48301. end;
  48302. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  48303. begin
  48304. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48305. end;
  48306. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  48307. begin
  48308. pTDefRegMap(@Self)^.&set := $00008000;
  48309. end;
  48310. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  48311. begin
  48312. pTDefRegMap(@Self)^.clr := $00008000;
  48313. end;
  48314. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  48315. begin
  48316. if thebits = 0 then
  48317. pTDefRegMap(@Self)^.clr := $00008000
  48318. else
  48319. pTDefRegMap(@Self)^.&set := $00008000;
  48320. end;
  48321. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  48322. begin
  48323. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48324. end;
  48325. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  48326. begin
  48327. pTDefRegMap(@Self)^.val := thebits;
  48328. end;
  48329. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  48330. begin
  48331. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48332. end;
  48333. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  48334. begin
  48335. pTDefRegMap(@Self)^.&set := $00000008;
  48336. end;
  48337. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  48338. begin
  48339. pTDefRegMap(@Self)^.clr := $00000008;
  48340. end;
  48341. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  48342. begin
  48343. if thebits = 0 then
  48344. pTDefRegMap(@Self)^.clr := $00000008
  48345. else
  48346. pTDefRegMap(@Self)^.&set := $00000008;
  48347. end;
  48348. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  48349. begin
  48350. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48351. end;
  48352. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  48353. begin
  48354. pTDefRegMap(@Self)^.&set := $00000010;
  48355. end;
  48356. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  48357. begin
  48358. pTDefRegMap(@Self)^.clr := $00000010;
  48359. end;
  48360. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  48361. begin
  48362. if thebits = 0 then
  48363. pTDefRegMap(@Self)^.clr := $00000010
  48364. else
  48365. pTDefRegMap(@Self)^.&set := $00000010;
  48366. end;
  48367. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  48368. begin
  48369. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48370. end;
  48371. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  48372. begin
  48373. pTDefRegMap(@Self)^.&set := $00000020;
  48374. end;
  48375. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  48376. begin
  48377. pTDefRegMap(@Self)^.clr := $00000020;
  48378. end;
  48379. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  48380. begin
  48381. if thebits = 0 then
  48382. pTDefRegMap(@Self)^.clr := $00000020
  48383. else
  48384. pTDefRegMap(@Self)^.&set := $00000020;
  48385. end;
  48386. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  48387. begin
  48388. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48389. end;
  48390. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  48391. begin
  48392. pTDefRegMap(@Self)^.&set := $00000040;
  48393. end;
  48394. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  48395. begin
  48396. pTDefRegMap(@Self)^.clr := $00000040;
  48397. end;
  48398. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  48399. begin
  48400. if thebits = 0 then
  48401. pTDefRegMap(@Self)^.clr := $00000040
  48402. else
  48403. pTDefRegMap(@Self)^.&set := $00000040;
  48404. end;
  48405. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  48406. begin
  48407. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48408. end;
  48409. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  48410. begin
  48411. pTDefRegMap(@Self)^.&set := $00000080;
  48412. end;
  48413. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  48414. begin
  48415. pTDefRegMap(@Self)^.clr := $00000080;
  48416. end;
  48417. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  48418. begin
  48419. if thebits = 0 then
  48420. pTDefRegMap(@Self)^.clr := $00000080
  48421. else
  48422. pTDefRegMap(@Self)^.&set := $00000080;
  48423. end;
  48424. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  48425. begin
  48426. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48427. end;
  48428. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  48429. begin
  48430. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  48431. end;
  48432. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  48433. begin
  48434. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  48435. end;
  48436. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  48437. begin
  48438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  48439. end;
  48440. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  48441. begin
  48442. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  48443. end;
  48444. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  48445. begin
  48446. pTDefRegMap(@Self)^.val := thebits;
  48447. end;
  48448. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  48449. begin
  48450. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48451. end;
  48452. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  48453. begin
  48454. pTDefRegMap(@Self)^.&set := $00000001;
  48455. end;
  48456. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  48457. begin
  48458. pTDefRegMap(@Self)^.clr := $00000001;
  48459. end;
  48460. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  48461. begin
  48462. if thebits = 0 then
  48463. pTDefRegMap(@Self)^.clr := $00000001
  48464. else
  48465. pTDefRegMap(@Self)^.&set := $00000001;
  48466. end;
  48467. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  48468. begin
  48469. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  48470. end;
  48471. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  48472. begin
  48473. pTDefRegMap(@Self)^.&set := $00000002;
  48474. end;
  48475. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  48476. begin
  48477. pTDefRegMap(@Self)^.clr := $00000002;
  48478. end;
  48479. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  48480. begin
  48481. if thebits = 0 then
  48482. pTDefRegMap(@Self)^.clr := $00000002
  48483. else
  48484. pTDefRegMap(@Self)^.&set := $00000002;
  48485. end;
  48486. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  48487. begin
  48488. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  48489. end;
  48490. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  48491. begin
  48492. pTDefRegMap(@Self)^.&set := $00000004;
  48493. end;
  48494. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  48495. begin
  48496. pTDefRegMap(@Self)^.clr := $00000004;
  48497. end;
  48498. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  48499. begin
  48500. if thebits = 0 then
  48501. pTDefRegMap(@Self)^.clr := $00000004
  48502. else
  48503. pTDefRegMap(@Self)^.&set := $00000004;
  48504. end;
  48505. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  48506. begin
  48507. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48508. end;
  48509. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  48510. begin
  48511. pTDefRegMap(@Self)^.&set := $00000008;
  48512. end;
  48513. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  48514. begin
  48515. pTDefRegMap(@Self)^.clr := $00000008;
  48516. end;
  48517. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  48518. begin
  48519. if thebits = 0 then
  48520. pTDefRegMap(@Self)^.clr := $00000008
  48521. else
  48522. pTDefRegMap(@Self)^.&set := $00000008;
  48523. end;
  48524. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  48525. begin
  48526. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48527. end;
  48528. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  48529. begin
  48530. pTDefRegMap(@Self)^.&set := $00000010;
  48531. end;
  48532. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  48533. begin
  48534. pTDefRegMap(@Self)^.clr := $00000010;
  48535. end;
  48536. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  48537. begin
  48538. if thebits = 0 then
  48539. pTDefRegMap(@Self)^.clr := $00000010
  48540. else
  48541. pTDefRegMap(@Self)^.&set := $00000010;
  48542. end;
  48543. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  48544. begin
  48545. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48546. end;
  48547. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  48548. begin
  48549. pTDefRegMap(@Self)^.&set := $00000020;
  48550. end;
  48551. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  48552. begin
  48553. pTDefRegMap(@Self)^.clr := $00000020;
  48554. end;
  48555. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  48556. begin
  48557. if thebits = 0 then
  48558. pTDefRegMap(@Self)^.clr := $00000020
  48559. else
  48560. pTDefRegMap(@Self)^.&set := $00000020;
  48561. end;
  48562. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  48563. begin
  48564. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48565. end;
  48566. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  48567. begin
  48568. pTDefRegMap(@Self)^.&set := $00000040;
  48569. end;
  48570. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  48571. begin
  48572. pTDefRegMap(@Self)^.clr := $00000040;
  48573. end;
  48574. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  48575. begin
  48576. if thebits = 0 then
  48577. pTDefRegMap(@Self)^.clr := $00000040
  48578. else
  48579. pTDefRegMap(@Self)^.&set := $00000040;
  48580. end;
  48581. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  48582. begin
  48583. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48584. end;
  48585. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  48586. begin
  48587. pTDefRegMap(@Self)^.&set := $00000080;
  48588. end;
  48589. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  48590. begin
  48591. pTDefRegMap(@Self)^.clr := $00000080;
  48592. end;
  48593. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  48594. begin
  48595. if thebits = 0 then
  48596. pTDefRegMap(@Self)^.clr := $00000080
  48597. else
  48598. pTDefRegMap(@Self)^.&set := $00000080;
  48599. end;
  48600. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  48601. begin
  48602. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48603. end;
  48604. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  48605. begin
  48606. pTDefRegMap(@Self)^.&set := $00010000;
  48607. end;
  48608. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  48609. begin
  48610. pTDefRegMap(@Self)^.clr := $00010000;
  48611. end;
  48612. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  48613. begin
  48614. if thebits = 0 then
  48615. pTDefRegMap(@Self)^.clr := $00010000
  48616. else
  48617. pTDefRegMap(@Self)^.&set := $00010000;
  48618. end;
  48619. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  48620. begin
  48621. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  48622. end;
  48623. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  48624. begin
  48625. pTDefRegMap(@Self)^.&set := $00020000;
  48626. end;
  48627. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  48628. begin
  48629. pTDefRegMap(@Self)^.clr := $00020000;
  48630. end;
  48631. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  48632. begin
  48633. if thebits = 0 then
  48634. pTDefRegMap(@Self)^.clr := $00020000
  48635. else
  48636. pTDefRegMap(@Self)^.&set := $00020000;
  48637. end;
  48638. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  48639. begin
  48640. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  48641. end;
  48642. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  48643. begin
  48644. pTDefRegMap(@Self)^.&set := $00040000;
  48645. end;
  48646. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  48647. begin
  48648. pTDefRegMap(@Self)^.clr := $00040000;
  48649. end;
  48650. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  48651. begin
  48652. if thebits = 0 then
  48653. pTDefRegMap(@Self)^.clr := $00040000
  48654. else
  48655. pTDefRegMap(@Self)^.&set := $00040000;
  48656. end;
  48657. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  48658. begin
  48659. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  48660. end;
  48661. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  48662. begin
  48663. pTDefRegMap(@Self)^.&set := $00080000;
  48664. end;
  48665. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  48666. begin
  48667. pTDefRegMap(@Self)^.clr := $00080000;
  48668. end;
  48669. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  48670. begin
  48671. if thebits = 0 then
  48672. pTDefRegMap(@Self)^.clr := $00080000
  48673. else
  48674. pTDefRegMap(@Self)^.&set := $00080000;
  48675. end;
  48676. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  48677. begin
  48678. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  48679. end;
  48680. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  48681. begin
  48682. pTDefRegMap(@Self)^.&set := $00100000;
  48683. end;
  48684. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  48685. begin
  48686. pTDefRegMap(@Self)^.clr := $00100000;
  48687. end;
  48688. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  48689. begin
  48690. if thebits = 0 then
  48691. pTDefRegMap(@Self)^.clr := $00100000
  48692. else
  48693. pTDefRegMap(@Self)^.&set := $00100000;
  48694. end;
  48695. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  48696. begin
  48697. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  48698. end;
  48699. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  48700. begin
  48701. pTDefRegMap(@Self)^.&set := $00200000;
  48702. end;
  48703. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  48704. begin
  48705. pTDefRegMap(@Self)^.clr := $00200000;
  48706. end;
  48707. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  48708. begin
  48709. if thebits = 0 then
  48710. pTDefRegMap(@Self)^.clr := $00200000
  48711. else
  48712. pTDefRegMap(@Self)^.&set := $00200000;
  48713. end;
  48714. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  48715. begin
  48716. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  48717. end;
  48718. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  48719. begin
  48720. pTDefRegMap(@Self)^.&set := $00400000;
  48721. end;
  48722. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  48723. begin
  48724. pTDefRegMap(@Self)^.clr := $00400000;
  48725. end;
  48726. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  48727. begin
  48728. if thebits = 0 then
  48729. pTDefRegMap(@Self)^.clr := $00400000
  48730. else
  48731. pTDefRegMap(@Self)^.&set := $00400000;
  48732. end;
  48733. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  48734. begin
  48735. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  48736. end;
  48737. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  48738. begin
  48739. pTDefRegMap(@Self)^.&set := $00800000;
  48740. end;
  48741. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  48742. begin
  48743. pTDefRegMap(@Self)^.clr := $00800000;
  48744. end;
  48745. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  48746. begin
  48747. if thebits = 0 then
  48748. pTDefRegMap(@Self)^.clr := $00800000
  48749. else
  48750. pTDefRegMap(@Self)^.&set := $00800000;
  48751. end;
  48752. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  48753. begin
  48754. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  48755. end;
  48756. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  48757. begin
  48758. pTDefRegMap(@Self)^.val := thebits;
  48759. end;
  48760. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  48761. begin
  48762. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48763. end;
  48764. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  48765. begin
  48766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  48767. end;
  48768. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  48769. begin
  48770. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  48771. end;
  48772. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  48773. begin
  48774. pTDefRegMap(@Self)^.&set := $00000004;
  48775. end;
  48776. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  48777. begin
  48778. pTDefRegMap(@Self)^.clr := $00000004;
  48779. end;
  48780. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  48781. begin
  48782. if thebits = 0 then
  48783. pTDefRegMap(@Self)^.clr := $00000004
  48784. else
  48785. pTDefRegMap(@Self)^.&set := $00000004;
  48786. end;
  48787. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  48788. begin
  48789. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  48790. end;
  48791. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  48792. begin
  48793. pTDefRegMap(@Self)^.&set := $00000010;
  48794. end;
  48795. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  48796. begin
  48797. pTDefRegMap(@Self)^.clr := $00000010;
  48798. end;
  48799. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  48800. begin
  48801. if thebits = 0 then
  48802. pTDefRegMap(@Self)^.clr := $00000010
  48803. else
  48804. pTDefRegMap(@Self)^.&set := $00000010;
  48805. end;
  48806. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  48807. begin
  48808. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48809. end;
  48810. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  48811. begin
  48812. pTDefRegMap(@Self)^.&set := $00000020;
  48813. end;
  48814. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  48815. begin
  48816. pTDefRegMap(@Self)^.clr := $00000020;
  48817. end;
  48818. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  48819. begin
  48820. if thebits = 0 then
  48821. pTDefRegMap(@Self)^.clr := $00000020
  48822. else
  48823. pTDefRegMap(@Self)^.&set := $00000020;
  48824. end;
  48825. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  48826. begin
  48827. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48828. end;
  48829. procedure TDMAC1_DCH1CON.setCHAED; inline;
  48830. begin
  48831. pTDefRegMap(@Self)^.&set := $00000040;
  48832. end;
  48833. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  48834. begin
  48835. pTDefRegMap(@Self)^.clr := $00000040;
  48836. end;
  48837. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  48838. begin
  48839. if thebits = 0 then
  48840. pTDefRegMap(@Self)^.clr := $00000040
  48841. else
  48842. pTDefRegMap(@Self)^.&set := $00000040;
  48843. end;
  48844. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  48845. begin
  48846. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48847. end;
  48848. procedure TDMAC1_DCH1CON.setCHEN; inline;
  48849. begin
  48850. pTDefRegMap(@Self)^.&set := $00000080;
  48851. end;
  48852. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  48853. begin
  48854. pTDefRegMap(@Self)^.clr := $00000080;
  48855. end;
  48856. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  48857. begin
  48858. if thebits = 0 then
  48859. pTDefRegMap(@Self)^.clr := $00000080
  48860. else
  48861. pTDefRegMap(@Self)^.&set := $00000080;
  48862. end;
  48863. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  48864. begin
  48865. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  48866. end;
  48867. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  48868. begin
  48869. pTDefRegMap(@Self)^.&set := $00000100;
  48870. end;
  48871. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  48872. begin
  48873. pTDefRegMap(@Self)^.clr := $00000100;
  48874. end;
  48875. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  48876. begin
  48877. if thebits = 0 then
  48878. pTDefRegMap(@Self)^.clr := $00000100
  48879. else
  48880. pTDefRegMap(@Self)^.&set := $00000100;
  48881. end;
  48882. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  48883. begin
  48884. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  48885. end;
  48886. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  48887. begin
  48888. pTDefRegMap(@Self)^.&set := $00008000;
  48889. end;
  48890. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  48891. begin
  48892. pTDefRegMap(@Self)^.clr := $00008000;
  48893. end;
  48894. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  48895. begin
  48896. if thebits = 0 then
  48897. pTDefRegMap(@Self)^.clr := $00008000
  48898. else
  48899. pTDefRegMap(@Self)^.&set := $00008000;
  48900. end;
  48901. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  48902. begin
  48903. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  48904. end;
  48905. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  48906. begin
  48907. pTDefRegMap(@Self)^.val := thebits;
  48908. end;
  48909. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  48910. begin
  48911. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  48912. end;
  48913. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  48914. begin
  48915. pTDefRegMap(@Self)^.&set := $00000008;
  48916. end;
  48917. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  48918. begin
  48919. pTDefRegMap(@Self)^.clr := $00000008;
  48920. end;
  48921. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  48922. begin
  48923. if thebits = 0 then
  48924. pTDefRegMap(@Self)^.clr := $00000008
  48925. else
  48926. pTDefRegMap(@Self)^.&set := $00000008;
  48927. end;
  48928. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  48929. begin
  48930. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  48931. end;
  48932. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  48933. begin
  48934. pTDefRegMap(@Self)^.&set := $00000010;
  48935. end;
  48936. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  48937. begin
  48938. pTDefRegMap(@Self)^.clr := $00000010;
  48939. end;
  48940. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  48941. begin
  48942. if thebits = 0 then
  48943. pTDefRegMap(@Self)^.clr := $00000010
  48944. else
  48945. pTDefRegMap(@Self)^.&set := $00000010;
  48946. end;
  48947. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  48948. begin
  48949. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  48950. end;
  48951. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  48952. begin
  48953. pTDefRegMap(@Self)^.&set := $00000020;
  48954. end;
  48955. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  48956. begin
  48957. pTDefRegMap(@Self)^.clr := $00000020;
  48958. end;
  48959. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  48960. begin
  48961. if thebits = 0 then
  48962. pTDefRegMap(@Self)^.clr := $00000020
  48963. else
  48964. pTDefRegMap(@Self)^.&set := $00000020;
  48965. end;
  48966. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  48967. begin
  48968. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  48969. end;
  48970. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  48971. begin
  48972. pTDefRegMap(@Self)^.&set := $00000040;
  48973. end;
  48974. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  48975. begin
  48976. pTDefRegMap(@Self)^.clr := $00000040;
  48977. end;
  48978. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  48979. begin
  48980. if thebits = 0 then
  48981. pTDefRegMap(@Self)^.clr := $00000040
  48982. else
  48983. pTDefRegMap(@Self)^.&set := $00000040;
  48984. end;
  48985. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  48986. begin
  48987. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  48988. end;
  48989. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  48990. begin
  48991. pTDefRegMap(@Self)^.&set := $00000080;
  48992. end;
  48993. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  48994. begin
  48995. pTDefRegMap(@Self)^.clr := $00000080;
  48996. end;
  48997. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  48998. begin
  48999. if thebits = 0 then
  49000. pTDefRegMap(@Self)^.clr := $00000080
  49001. else
  49002. pTDefRegMap(@Self)^.&set := $00000080;
  49003. end;
  49004. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  49005. begin
  49006. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49007. end;
  49008. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  49009. begin
  49010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49011. end;
  49012. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  49013. begin
  49014. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49015. end;
  49016. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  49017. begin
  49018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49019. end;
  49020. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  49021. begin
  49022. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49023. end;
  49024. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  49025. begin
  49026. pTDefRegMap(@Self)^.val := thebits;
  49027. end;
  49028. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  49029. begin
  49030. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49031. end;
  49032. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  49033. begin
  49034. pTDefRegMap(@Self)^.&set := $00000001;
  49035. end;
  49036. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  49037. begin
  49038. pTDefRegMap(@Self)^.clr := $00000001;
  49039. end;
  49040. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  49041. begin
  49042. if thebits = 0 then
  49043. pTDefRegMap(@Self)^.clr := $00000001
  49044. else
  49045. pTDefRegMap(@Self)^.&set := $00000001;
  49046. end;
  49047. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  49048. begin
  49049. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49050. end;
  49051. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  49052. begin
  49053. pTDefRegMap(@Self)^.&set := $00000002;
  49054. end;
  49055. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  49056. begin
  49057. pTDefRegMap(@Self)^.clr := $00000002;
  49058. end;
  49059. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  49060. begin
  49061. if thebits = 0 then
  49062. pTDefRegMap(@Self)^.clr := $00000002
  49063. else
  49064. pTDefRegMap(@Self)^.&set := $00000002;
  49065. end;
  49066. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  49067. begin
  49068. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49069. end;
  49070. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  49071. begin
  49072. pTDefRegMap(@Self)^.&set := $00000004;
  49073. end;
  49074. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  49075. begin
  49076. pTDefRegMap(@Self)^.clr := $00000004;
  49077. end;
  49078. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  49079. begin
  49080. if thebits = 0 then
  49081. pTDefRegMap(@Self)^.clr := $00000004
  49082. else
  49083. pTDefRegMap(@Self)^.&set := $00000004;
  49084. end;
  49085. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  49086. begin
  49087. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49088. end;
  49089. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  49090. begin
  49091. pTDefRegMap(@Self)^.&set := $00000008;
  49092. end;
  49093. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  49094. begin
  49095. pTDefRegMap(@Self)^.clr := $00000008;
  49096. end;
  49097. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  49098. begin
  49099. if thebits = 0 then
  49100. pTDefRegMap(@Self)^.clr := $00000008
  49101. else
  49102. pTDefRegMap(@Self)^.&set := $00000008;
  49103. end;
  49104. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  49105. begin
  49106. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49107. end;
  49108. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  49109. begin
  49110. pTDefRegMap(@Self)^.&set := $00000010;
  49111. end;
  49112. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  49113. begin
  49114. pTDefRegMap(@Self)^.clr := $00000010;
  49115. end;
  49116. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  49117. begin
  49118. if thebits = 0 then
  49119. pTDefRegMap(@Self)^.clr := $00000010
  49120. else
  49121. pTDefRegMap(@Self)^.&set := $00000010;
  49122. end;
  49123. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  49124. begin
  49125. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49126. end;
  49127. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  49128. begin
  49129. pTDefRegMap(@Self)^.&set := $00000020;
  49130. end;
  49131. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  49132. begin
  49133. pTDefRegMap(@Self)^.clr := $00000020;
  49134. end;
  49135. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  49136. begin
  49137. if thebits = 0 then
  49138. pTDefRegMap(@Self)^.clr := $00000020
  49139. else
  49140. pTDefRegMap(@Self)^.&set := $00000020;
  49141. end;
  49142. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  49143. begin
  49144. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49145. end;
  49146. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  49147. begin
  49148. pTDefRegMap(@Self)^.&set := $00000040;
  49149. end;
  49150. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  49151. begin
  49152. pTDefRegMap(@Self)^.clr := $00000040;
  49153. end;
  49154. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  49155. begin
  49156. if thebits = 0 then
  49157. pTDefRegMap(@Self)^.clr := $00000040
  49158. else
  49159. pTDefRegMap(@Self)^.&set := $00000040;
  49160. end;
  49161. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  49162. begin
  49163. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49164. end;
  49165. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  49166. begin
  49167. pTDefRegMap(@Self)^.&set := $00000080;
  49168. end;
  49169. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  49170. begin
  49171. pTDefRegMap(@Self)^.clr := $00000080;
  49172. end;
  49173. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  49174. begin
  49175. if thebits = 0 then
  49176. pTDefRegMap(@Self)^.clr := $00000080
  49177. else
  49178. pTDefRegMap(@Self)^.&set := $00000080;
  49179. end;
  49180. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  49181. begin
  49182. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49183. end;
  49184. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  49185. begin
  49186. pTDefRegMap(@Self)^.&set := $00010000;
  49187. end;
  49188. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  49189. begin
  49190. pTDefRegMap(@Self)^.clr := $00010000;
  49191. end;
  49192. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  49193. begin
  49194. if thebits = 0 then
  49195. pTDefRegMap(@Self)^.clr := $00010000
  49196. else
  49197. pTDefRegMap(@Self)^.&set := $00010000;
  49198. end;
  49199. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  49200. begin
  49201. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49202. end;
  49203. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  49204. begin
  49205. pTDefRegMap(@Self)^.&set := $00020000;
  49206. end;
  49207. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  49208. begin
  49209. pTDefRegMap(@Self)^.clr := $00020000;
  49210. end;
  49211. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  49212. begin
  49213. if thebits = 0 then
  49214. pTDefRegMap(@Self)^.clr := $00020000
  49215. else
  49216. pTDefRegMap(@Self)^.&set := $00020000;
  49217. end;
  49218. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  49219. begin
  49220. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49221. end;
  49222. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  49223. begin
  49224. pTDefRegMap(@Self)^.&set := $00040000;
  49225. end;
  49226. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  49227. begin
  49228. pTDefRegMap(@Self)^.clr := $00040000;
  49229. end;
  49230. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  49231. begin
  49232. if thebits = 0 then
  49233. pTDefRegMap(@Self)^.clr := $00040000
  49234. else
  49235. pTDefRegMap(@Self)^.&set := $00040000;
  49236. end;
  49237. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  49238. begin
  49239. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49240. end;
  49241. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  49242. begin
  49243. pTDefRegMap(@Self)^.&set := $00080000;
  49244. end;
  49245. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  49246. begin
  49247. pTDefRegMap(@Self)^.clr := $00080000;
  49248. end;
  49249. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  49250. begin
  49251. if thebits = 0 then
  49252. pTDefRegMap(@Self)^.clr := $00080000
  49253. else
  49254. pTDefRegMap(@Self)^.&set := $00080000;
  49255. end;
  49256. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  49257. begin
  49258. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49259. end;
  49260. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  49261. begin
  49262. pTDefRegMap(@Self)^.&set := $00100000;
  49263. end;
  49264. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  49265. begin
  49266. pTDefRegMap(@Self)^.clr := $00100000;
  49267. end;
  49268. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  49269. begin
  49270. if thebits = 0 then
  49271. pTDefRegMap(@Self)^.clr := $00100000
  49272. else
  49273. pTDefRegMap(@Self)^.&set := $00100000;
  49274. end;
  49275. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  49276. begin
  49277. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49278. end;
  49279. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  49280. begin
  49281. pTDefRegMap(@Self)^.&set := $00200000;
  49282. end;
  49283. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  49284. begin
  49285. pTDefRegMap(@Self)^.clr := $00200000;
  49286. end;
  49287. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  49288. begin
  49289. if thebits = 0 then
  49290. pTDefRegMap(@Self)^.clr := $00200000
  49291. else
  49292. pTDefRegMap(@Self)^.&set := $00200000;
  49293. end;
  49294. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  49295. begin
  49296. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49297. end;
  49298. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  49299. begin
  49300. pTDefRegMap(@Self)^.&set := $00400000;
  49301. end;
  49302. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  49303. begin
  49304. pTDefRegMap(@Self)^.clr := $00400000;
  49305. end;
  49306. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  49307. begin
  49308. if thebits = 0 then
  49309. pTDefRegMap(@Self)^.clr := $00400000
  49310. else
  49311. pTDefRegMap(@Self)^.&set := $00400000;
  49312. end;
  49313. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  49314. begin
  49315. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49316. end;
  49317. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  49318. begin
  49319. pTDefRegMap(@Self)^.&set := $00800000;
  49320. end;
  49321. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  49322. begin
  49323. pTDefRegMap(@Self)^.clr := $00800000;
  49324. end;
  49325. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  49326. begin
  49327. if thebits = 0 then
  49328. pTDefRegMap(@Self)^.clr := $00800000
  49329. else
  49330. pTDefRegMap(@Self)^.&set := $00800000;
  49331. end;
  49332. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  49333. begin
  49334. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49335. end;
  49336. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  49337. begin
  49338. pTDefRegMap(@Self)^.val := thebits;
  49339. end;
  49340. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  49341. begin
  49342. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49343. end;
  49344. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  49345. begin
  49346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49347. end;
  49348. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  49349. begin
  49350. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49351. end;
  49352. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  49353. begin
  49354. pTDefRegMap(@Self)^.&set := $00000004;
  49355. end;
  49356. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  49357. begin
  49358. pTDefRegMap(@Self)^.clr := $00000004;
  49359. end;
  49360. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  49361. begin
  49362. if thebits = 0 then
  49363. pTDefRegMap(@Self)^.clr := $00000004
  49364. else
  49365. pTDefRegMap(@Self)^.&set := $00000004;
  49366. end;
  49367. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  49368. begin
  49369. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49370. end;
  49371. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  49372. begin
  49373. pTDefRegMap(@Self)^.&set := $00000010;
  49374. end;
  49375. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  49376. begin
  49377. pTDefRegMap(@Self)^.clr := $00000010;
  49378. end;
  49379. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  49380. begin
  49381. if thebits = 0 then
  49382. pTDefRegMap(@Self)^.clr := $00000010
  49383. else
  49384. pTDefRegMap(@Self)^.&set := $00000010;
  49385. end;
  49386. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  49387. begin
  49388. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49389. end;
  49390. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  49391. begin
  49392. pTDefRegMap(@Self)^.&set := $00000020;
  49393. end;
  49394. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  49395. begin
  49396. pTDefRegMap(@Self)^.clr := $00000020;
  49397. end;
  49398. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  49399. begin
  49400. if thebits = 0 then
  49401. pTDefRegMap(@Self)^.clr := $00000020
  49402. else
  49403. pTDefRegMap(@Self)^.&set := $00000020;
  49404. end;
  49405. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  49406. begin
  49407. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49408. end;
  49409. procedure TDMAC2_DCH2CON.setCHAED; inline;
  49410. begin
  49411. pTDefRegMap(@Self)^.&set := $00000040;
  49412. end;
  49413. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  49414. begin
  49415. pTDefRegMap(@Self)^.clr := $00000040;
  49416. end;
  49417. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  49418. begin
  49419. if thebits = 0 then
  49420. pTDefRegMap(@Self)^.clr := $00000040
  49421. else
  49422. pTDefRegMap(@Self)^.&set := $00000040;
  49423. end;
  49424. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  49425. begin
  49426. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49427. end;
  49428. procedure TDMAC2_DCH2CON.setCHEN; inline;
  49429. begin
  49430. pTDefRegMap(@Self)^.&set := $00000080;
  49431. end;
  49432. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  49433. begin
  49434. pTDefRegMap(@Self)^.clr := $00000080;
  49435. end;
  49436. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  49437. begin
  49438. if thebits = 0 then
  49439. pTDefRegMap(@Self)^.clr := $00000080
  49440. else
  49441. pTDefRegMap(@Self)^.&set := $00000080;
  49442. end;
  49443. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  49444. begin
  49445. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49446. end;
  49447. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  49448. begin
  49449. pTDefRegMap(@Self)^.&set := $00000100;
  49450. end;
  49451. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  49452. begin
  49453. pTDefRegMap(@Self)^.clr := $00000100;
  49454. end;
  49455. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  49456. begin
  49457. if thebits = 0 then
  49458. pTDefRegMap(@Self)^.clr := $00000100
  49459. else
  49460. pTDefRegMap(@Self)^.&set := $00000100;
  49461. end;
  49462. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  49463. begin
  49464. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  49465. end;
  49466. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  49467. begin
  49468. pTDefRegMap(@Self)^.&set := $00008000;
  49469. end;
  49470. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  49471. begin
  49472. pTDefRegMap(@Self)^.clr := $00008000;
  49473. end;
  49474. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  49475. begin
  49476. if thebits = 0 then
  49477. pTDefRegMap(@Self)^.clr := $00008000
  49478. else
  49479. pTDefRegMap(@Self)^.&set := $00008000;
  49480. end;
  49481. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  49482. begin
  49483. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  49484. end;
  49485. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  49486. begin
  49487. pTDefRegMap(@Self)^.val := thebits;
  49488. end;
  49489. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  49490. begin
  49491. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49492. end;
  49493. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  49494. begin
  49495. pTDefRegMap(@Self)^.&set := $00000008;
  49496. end;
  49497. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  49498. begin
  49499. pTDefRegMap(@Self)^.clr := $00000008;
  49500. end;
  49501. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  49502. begin
  49503. if thebits = 0 then
  49504. pTDefRegMap(@Self)^.clr := $00000008
  49505. else
  49506. pTDefRegMap(@Self)^.&set := $00000008;
  49507. end;
  49508. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  49509. begin
  49510. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49511. end;
  49512. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  49513. begin
  49514. pTDefRegMap(@Self)^.&set := $00000010;
  49515. end;
  49516. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  49517. begin
  49518. pTDefRegMap(@Self)^.clr := $00000010;
  49519. end;
  49520. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  49521. begin
  49522. if thebits = 0 then
  49523. pTDefRegMap(@Self)^.clr := $00000010
  49524. else
  49525. pTDefRegMap(@Self)^.&set := $00000010;
  49526. end;
  49527. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  49528. begin
  49529. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49530. end;
  49531. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  49532. begin
  49533. pTDefRegMap(@Self)^.&set := $00000020;
  49534. end;
  49535. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  49536. begin
  49537. pTDefRegMap(@Self)^.clr := $00000020;
  49538. end;
  49539. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  49540. begin
  49541. if thebits = 0 then
  49542. pTDefRegMap(@Self)^.clr := $00000020
  49543. else
  49544. pTDefRegMap(@Self)^.&set := $00000020;
  49545. end;
  49546. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  49547. begin
  49548. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49549. end;
  49550. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  49551. begin
  49552. pTDefRegMap(@Self)^.&set := $00000040;
  49553. end;
  49554. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  49555. begin
  49556. pTDefRegMap(@Self)^.clr := $00000040;
  49557. end;
  49558. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  49559. begin
  49560. if thebits = 0 then
  49561. pTDefRegMap(@Self)^.clr := $00000040
  49562. else
  49563. pTDefRegMap(@Self)^.&set := $00000040;
  49564. end;
  49565. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  49566. begin
  49567. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49568. end;
  49569. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  49570. begin
  49571. pTDefRegMap(@Self)^.&set := $00000080;
  49572. end;
  49573. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  49574. begin
  49575. pTDefRegMap(@Self)^.clr := $00000080;
  49576. end;
  49577. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  49578. begin
  49579. if thebits = 0 then
  49580. pTDefRegMap(@Self)^.clr := $00000080
  49581. else
  49582. pTDefRegMap(@Self)^.&set := $00000080;
  49583. end;
  49584. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  49585. begin
  49586. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49587. end;
  49588. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  49589. begin
  49590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  49591. end;
  49592. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  49593. begin
  49594. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  49595. end;
  49596. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  49597. begin
  49598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  49599. end;
  49600. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  49601. begin
  49602. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  49603. end;
  49604. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  49605. begin
  49606. pTDefRegMap(@Self)^.val := thebits;
  49607. end;
  49608. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  49609. begin
  49610. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49611. end;
  49612. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  49613. begin
  49614. pTDefRegMap(@Self)^.&set := $00000001;
  49615. end;
  49616. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  49617. begin
  49618. pTDefRegMap(@Self)^.clr := $00000001;
  49619. end;
  49620. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  49621. begin
  49622. if thebits = 0 then
  49623. pTDefRegMap(@Self)^.clr := $00000001
  49624. else
  49625. pTDefRegMap(@Self)^.&set := $00000001;
  49626. end;
  49627. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  49628. begin
  49629. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  49630. end;
  49631. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  49632. begin
  49633. pTDefRegMap(@Self)^.&set := $00000002;
  49634. end;
  49635. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  49636. begin
  49637. pTDefRegMap(@Self)^.clr := $00000002;
  49638. end;
  49639. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  49640. begin
  49641. if thebits = 0 then
  49642. pTDefRegMap(@Self)^.clr := $00000002
  49643. else
  49644. pTDefRegMap(@Self)^.&set := $00000002;
  49645. end;
  49646. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  49647. begin
  49648. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  49649. end;
  49650. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  49651. begin
  49652. pTDefRegMap(@Self)^.&set := $00000004;
  49653. end;
  49654. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  49655. begin
  49656. pTDefRegMap(@Self)^.clr := $00000004;
  49657. end;
  49658. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  49659. begin
  49660. if thebits = 0 then
  49661. pTDefRegMap(@Self)^.clr := $00000004
  49662. else
  49663. pTDefRegMap(@Self)^.&set := $00000004;
  49664. end;
  49665. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  49666. begin
  49667. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49668. end;
  49669. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  49670. begin
  49671. pTDefRegMap(@Self)^.&set := $00000008;
  49672. end;
  49673. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  49674. begin
  49675. pTDefRegMap(@Self)^.clr := $00000008;
  49676. end;
  49677. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  49678. begin
  49679. if thebits = 0 then
  49680. pTDefRegMap(@Self)^.clr := $00000008
  49681. else
  49682. pTDefRegMap(@Self)^.&set := $00000008;
  49683. end;
  49684. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  49685. begin
  49686. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  49687. end;
  49688. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  49689. begin
  49690. pTDefRegMap(@Self)^.&set := $00000010;
  49691. end;
  49692. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  49693. begin
  49694. pTDefRegMap(@Self)^.clr := $00000010;
  49695. end;
  49696. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  49697. begin
  49698. if thebits = 0 then
  49699. pTDefRegMap(@Self)^.clr := $00000010
  49700. else
  49701. pTDefRegMap(@Self)^.&set := $00000010;
  49702. end;
  49703. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  49704. begin
  49705. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49706. end;
  49707. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  49708. begin
  49709. pTDefRegMap(@Self)^.&set := $00000020;
  49710. end;
  49711. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  49712. begin
  49713. pTDefRegMap(@Self)^.clr := $00000020;
  49714. end;
  49715. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  49716. begin
  49717. if thebits = 0 then
  49718. pTDefRegMap(@Self)^.clr := $00000020
  49719. else
  49720. pTDefRegMap(@Self)^.&set := $00000020;
  49721. end;
  49722. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  49723. begin
  49724. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49725. end;
  49726. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  49727. begin
  49728. pTDefRegMap(@Self)^.&set := $00000040;
  49729. end;
  49730. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  49731. begin
  49732. pTDefRegMap(@Self)^.clr := $00000040;
  49733. end;
  49734. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  49735. begin
  49736. if thebits = 0 then
  49737. pTDefRegMap(@Self)^.clr := $00000040
  49738. else
  49739. pTDefRegMap(@Self)^.&set := $00000040;
  49740. end;
  49741. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  49742. begin
  49743. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  49744. end;
  49745. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  49746. begin
  49747. pTDefRegMap(@Self)^.&set := $00000080;
  49748. end;
  49749. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  49750. begin
  49751. pTDefRegMap(@Self)^.clr := $00000080;
  49752. end;
  49753. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  49754. begin
  49755. if thebits = 0 then
  49756. pTDefRegMap(@Self)^.clr := $00000080
  49757. else
  49758. pTDefRegMap(@Self)^.&set := $00000080;
  49759. end;
  49760. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  49761. begin
  49762. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  49763. end;
  49764. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  49765. begin
  49766. pTDefRegMap(@Self)^.&set := $00010000;
  49767. end;
  49768. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  49769. begin
  49770. pTDefRegMap(@Self)^.clr := $00010000;
  49771. end;
  49772. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  49773. begin
  49774. if thebits = 0 then
  49775. pTDefRegMap(@Self)^.clr := $00010000
  49776. else
  49777. pTDefRegMap(@Self)^.&set := $00010000;
  49778. end;
  49779. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  49780. begin
  49781. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  49782. end;
  49783. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  49784. begin
  49785. pTDefRegMap(@Self)^.&set := $00020000;
  49786. end;
  49787. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  49788. begin
  49789. pTDefRegMap(@Self)^.clr := $00020000;
  49790. end;
  49791. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  49792. begin
  49793. if thebits = 0 then
  49794. pTDefRegMap(@Self)^.clr := $00020000
  49795. else
  49796. pTDefRegMap(@Self)^.&set := $00020000;
  49797. end;
  49798. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  49799. begin
  49800. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  49801. end;
  49802. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  49803. begin
  49804. pTDefRegMap(@Self)^.&set := $00040000;
  49805. end;
  49806. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  49807. begin
  49808. pTDefRegMap(@Self)^.clr := $00040000;
  49809. end;
  49810. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  49811. begin
  49812. if thebits = 0 then
  49813. pTDefRegMap(@Self)^.clr := $00040000
  49814. else
  49815. pTDefRegMap(@Self)^.&set := $00040000;
  49816. end;
  49817. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  49818. begin
  49819. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  49820. end;
  49821. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  49822. begin
  49823. pTDefRegMap(@Self)^.&set := $00080000;
  49824. end;
  49825. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  49826. begin
  49827. pTDefRegMap(@Self)^.clr := $00080000;
  49828. end;
  49829. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  49830. begin
  49831. if thebits = 0 then
  49832. pTDefRegMap(@Self)^.clr := $00080000
  49833. else
  49834. pTDefRegMap(@Self)^.&set := $00080000;
  49835. end;
  49836. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  49837. begin
  49838. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  49839. end;
  49840. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  49841. begin
  49842. pTDefRegMap(@Self)^.&set := $00100000;
  49843. end;
  49844. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  49845. begin
  49846. pTDefRegMap(@Self)^.clr := $00100000;
  49847. end;
  49848. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  49849. begin
  49850. if thebits = 0 then
  49851. pTDefRegMap(@Self)^.clr := $00100000
  49852. else
  49853. pTDefRegMap(@Self)^.&set := $00100000;
  49854. end;
  49855. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  49856. begin
  49857. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  49858. end;
  49859. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  49860. begin
  49861. pTDefRegMap(@Self)^.&set := $00200000;
  49862. end;
  49863. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  49864. begin
  49865. pTDefRegMap(@Self)^.clr := $00200000;
  49866. end;
  49867. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  49868. begin
  49869. if thebits = 0 then
  49870. pTDefRegMap(@Self)^.clr := $00200000
  49871. else
  49872. pTDefRegMap(@Self)^.&set := $00200000;
  49873. end;
  49874. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  49875. begin
  49876. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  49877. end;
  49878. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  49879. begin
  49880. pTDefRegMap(@Self)^.&set := $00400000;
  49881. end;
  49882. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  49883. begin
  49884. pTDefRegMap(@Self)^.clr := $00400000;
  49885. end;
  49886. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  49887. begin
  49888. if thebits = 0 then
  49889. pTDefRegMap(@Self)^.clr := $00400000
  49890. else
  49891. pTDefRegMap(@Self)^.&set := $00400000;
  49892. end;
  49893. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  49894. begin
  49895. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  49896. end;
  49897. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  49898. begin
  49899. pTDefRegMap(@Self)^.&set := $00800000;
  49900. end;
  49901. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  49902. begin
  49903. pTDefRegMap(@Self)^.clr := $00800000;
  49904. end;
  49905. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  49906. begin
  49907. if thebits = 0 then
  49908. pTDefRegMap(@Self)^.clr := $00800000
  49909. else
  49910. pTDefRegMap(@Self)^.&set := $00800000;
  49911. end;
  49912. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  49913. begin
  49914. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  49915. end;
  49916. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  49917. begin
  49918. pTDefRegMap(@Self)^.val := thebits;
  49919. end;
  49920. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  49921. begin
  49922. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  49923. end;
  49924. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  49925. begin
  49926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  49927. end;
  49928. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  49929. begin
  49930. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  49931. end;
  49932. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  49933. begin
  49934. pTDefRegMap(@Self)^.&set := $00000004;
  49935. end;
  49936. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  49937. begin
  49938. pTDefRegMap(@Self)^.clr := $00000004;
  49939. end;
  49940. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  49941. begin
  49942. if thebits = 0 then
  49943. pTDefRegMap(@Self)^.clr := $00000004
  49944. else
  49945. pTDefRegMap(@Self)^.&set := $00000004;
  49946. end;
  49947. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  49948. begin
  49949. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  49950. end;
  49951. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  49952. begin
  49953. pTDefRegMap(@Self)^.&set := $00000010;
  49954. end;
  49955. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  49956. begin
  49957. pTDefRegMap(@Self)^.clr := $00000010;
  49958. end;
  49959. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  49960. begin
  49961. if thebits = 0 then
  49962. pTDefRegMap(@Self)^.clr := $00000010
  49963. else
  49964. pTDefRegMap(@Self)^.&set := $00000010;
  49965. end;
  49966. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  49967. begin
  49968. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  49969. end;
  49970. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  49971. begin
  49972. pTDefRegMap(@Self)^.&set := $00000020;
  49973. end;
  49974. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  49975. begin
  49976. pTDefRegMap(@Self)^.clr := $00000020;
  49977. end;
  49978. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  49979. begin
  49980. if thebits = 0 then
  49981. pTDefRegMap(@Self)^.clr := $00000020
  49982. else
  49983. pTDefRegMap(@Self)^.&set := $00000020;
  49984. end;
  49985. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  49986. begin
  49987. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  49988. end;
  49989. procedure TDMAC3_DCH3CON.setCHAED; inline;
  49990. begin
  49991. pTDefRegMap(@Self)^.&set := $00000040;
  49992. end;
  49993. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  49994. begin
  49995. pTDefRegMap(@Self)^.clr := $00000040;
  49996. end;
  49997. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  49998. begin
  49999. if thebits = 0 then
  50000. pTDefRegMap(@Self)^.clr := $00000040
  50001. else
  50002. pTDefRegMap(@Self)^.&set := $00000040;
  50003. end;
  50004. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  50005. begin
  50006. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50007. end;
  50008. procedure TDMAC3_DCH3CON.setCHEN; inline;
  50009. begin
  50010. pTDefRegMap(@Self)^.&set := $00000080;
  50011. end;
  50012. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  50013. begin
  50014. pTDefRegMap(@Self)^.clr := $00000080;
  50015. end;
  50016. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  50017. begin
  50018. if thebits = 0 then
  50019. pTDefRegMap(@Self)^.clr := $00000080
  50020. else
  50021. pTDefRegMap(@Self)^.&set := $00000080;
  50022. end;
  50023. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  50024. begin
  50025. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50026. end;
  50027. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  50028. begin
  50029. pTDefRegMap(@Self)^.&set := $00000100;
  50030. end;
  50031. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  50032. begin
  50033. pTDefRegMap(@Self)^.clr := $00000100;
  50034. end;
  50035. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  50036. begin
  50037. if thebits = 0 then
  50038. pTDefRegMap(@Self)^.clr := $00000100
  50039. else
  50040. pTDefRegMap(@Self)^.&set := $00000100;
  50041. end;
  50042. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  50043. begin
  50044. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  50045. end;
  50046. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  50047. begin
  50048. pTDefRegMap(@Self)^.&set := $00008000;
  50049. end;
  50050. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  50051. begin
  50052. pTDefRegMap(@Self)^.clr := $00008000;
  50053. end;
  50054. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  50055. begin
  50056. if thebits = 0 then
  50057. pTDefRegMap(@Self)^.clr := $00008000
  50058. else
  50059. pTDefRegMap(@Self)^.&set := $00008000;
  50060. end;
  50061. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  50062. begin
  50063. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  50064. end;
  50065. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  50066. begin
  50067. pTDefRegMap(@Self)^.val := thebits;
  50068. end;
  50069. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  50070. begin
  50071. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50072. end;
  50073. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  50074. begin
  50075. pTDefRegMap(@Self)^.&set := $00000008;
  50076. end;
  50077. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  50078. begin
  50079. pTDefRegMap(@Self)^.clr := $00000008;
  50080. end;
  50081. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  50082. begin
  50083. if thebits = 0 then
  50084. pTDefRegMap(@Self)^.clr := $00000008
  50085. else
  50086. pTDefRegMap(@Self)^.&set := $00000008;
  50087. end;
  50088. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  50089. begin
  50090. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50091. end;
  50092. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  50093. begin
  50094. pTDefRegMap(@Self)^.&set := $00000010;
  50095. end;
  50096. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  50097. begin
  50098. pTDefRegMap(@Self)^.clr := $00000010;
  50099. end;
  50100. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  50101. begin
  50102. if thebits = 0 then
  50103. pTDefRegMap(@Self)^.clr := $00000010
  50104. else
  50105. pTDefRegMap(@Self)^.&set := $00000010;
  50106. end;
  50107. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  50108. begin
  50109. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50110. end;
  50111. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  50112. begin
  50113. pTDefRegMap(@Self)^.&set := $00000020;
  50114. end;
  50115. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  50116. begin
  50117. pTDefRegMap(@Self)^.clr := $00000020;
  50118. end;
  50119. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  50120. begin
  50121. if thebits = 0 then
  50122. pTDefRegMap(@Self)^.clr := $00000020
  50123. else
  50124. pTDefRegMap(@Self)^.&set := $00000020;
  50125. end;
  50126. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  50127. begin
  50128. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50129. end;
  50130. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  50131. begin
  50132. pTDefRegMap(@Self)^.&set := $00000040;
  50133. end;
  50134. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  50135. begin
  50136. pTDefRegMap(@Self)^.clr := $00000040;
  50137. end;
  50138. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  50139. begin
  50140. if thebits = 0 then
  50141. pTDefRegMap(@Self)^.clr := $00000040
  50142. else
  50143. pTDefRegMap(@Self)^.&set := $00000040;
  50144. end;
  50145. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  50146. begin
  50147. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50148. end;
  50149. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  50150. begin
  50151. pTDefRegMap(@Self)^.&set := $00000080;
  50152. end;
  50153. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  50154. begin
  50155. pTDefRegMap(@Self)^.clr := $00000080;
  50156. end;
  50157. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  50158. begin
  50159. if thebits = 0 then
  50160. pTDefRegMap(@Self)^.clr := $00000080
  50161. else
  50162. pTDefRegMap(@Self)^.&set := $00000080;
  50163. end;
  50164. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  50165. begin
  50166. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50167. end;
  50168. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  50169. begin
  50170. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  50171. end;
  50172. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  50173. begin
  50174. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  50175. end;
  50176. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  50177. begin
  50178. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  50179. end;
  50180. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  50181. begin
  50182. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  50183. end;
  50184. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  50185. begin
  50186. pTDefRegMap(@Self)^.val := thebits;
  50187. end;
  50188. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  50189. begin
  50190. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50191. end;
  50192. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  50193. begin
  50194. pTDefRegMap(@Self)^.&set := $00000001;
  50195. end;
  50196. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  50197. begin
  50198. pTDefRegMap(@Self)^.clr := $00000001;
  50199. end;
  50200. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  50201. begin
  50202. if thebits = 0 then
  50203. pTDefRegMap(@Self)^.clr := $00000001
  50204. else
  50205. pTDefRegMap(@Self)^.&set := $00000001;
  50206. end;
  50207. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  50208. begin
  50209. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50210. end;
  50211. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  50212. begin
  50213. pTDefRegMap(@Self)^.&set := $00000002;
  50214. end;
  50215. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  50216. begin
  50217. pTDefRegMap(@Self)^.clr := $00000002;
  50218. end;
  50219. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  50220. begin
  50221. if thebits = 0 then
  50222. pTDefRegMap(@Self)^.clr := $00000002
  50223. else
  50224. pTDefRegMap(@Self)^.&set := $00000002;
  50225. end;
  50226. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  50227. begin
  50228. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50229. end;
  50230. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  50231. begin
  50232. pTDefRegMap(@Self)^.&set := $00000004;
  50233. end;
  50234. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  50235. begin
  50236. pTDefRegMap(@Self)^.clr := $00000004;
  50237. end;
  50238. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  50239. begin
  50240. if thebits = 0 then
  50241. pTDefRegMap(@Self)^.clr := $00000004
  50242. else
  50243. pTDefRegMap(@Self)^.&set := $00000004;
  50244. end;
  50245. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  50246. begin
  50247. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50248. end;
  50249. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  50250. begin
  50251. pTDefRegMap(@Self)^.&set := $00000008;
  50252. end;
  50253. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  50254. begin
  50255. pTDefRegMap(@Self)^.clr := $00000008;
  50256. end;
  50257. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  50258. begin
  50259. if thebits = 0 then
  50260. pTDefRegMap(@Self)^.clr := $00000008
  50261. else
  50262. pTDefRegMap(@Self)^.&set := $00000008;
  50263. end;
  50264. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  50265. begin
  50266. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50267. end;
  50268. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  50269. begin
  50270. pTDefRegMap(@Self)^.&set := $00000010;
  50271. end;
  50272. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  50273. begin
  50274. pTDefRegMap(@Self)^.clr := $00000010;
  50275. end;
  50276. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  50277. begin
  50278. if thebits = 0 then
  50279. pTDefRegMap(@Self)^.clr := $00000010
  50280. else
  50281. pTDefRegMap(@Self)^.&set := $00000010;
  50282. end;
  50283. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  50284. begin
  50285. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50286. end;
  50287. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  50288. begin
  50289. pTDefRegMap(@Self)^.&set := $00000020;
  50290. end;
  50291. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  50292. begin
  50293. pTDefRegMap(@Self)^.clr := $00000020;
  50294. end;
  50295. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  50296. begin
  50297. if thebits = 0 then
  50298. pTDefRegMap(@Self)^.clr := $00000020
  50299. else
  50300. pTDefRegMap(@Self)^.&set := $00000020;
  50301. end;
  50302. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  50303. begin
  50304. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50305. end;
  50306. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  50307. begin
  50308. pTDefRegMap(@Self)^.&set := $00000040;
  50309. end;
  50310. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  50311. begin
  50312. pTDefRegMap(@Self)^.clr := $00000040;
  50313. end;
  50314. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  50315. begin
  50316. if thebits = 0 then
  50317. pTDefRegMap(@Self)^.clr := $00000040
  50318. else
  50319. pTDefRegMap(@Self)^.&set := $00000040;
  50320. end;
  50321. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  50322. begin
  50323. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50324. end;
  50325. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  50326. begin
  50327. pTDefRegMap(@Self)^.&set := $00000080;
  50328. end;
  50329. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  50330. begin
  50331. pTDefRegMap(@Self)^.clr := $00000080;
  50332. end;
  50333. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  50334. begin
  50335. if thebits = 0 then
  50336. pTDefRegMap(@Self)^.clr := $00000080
  50337. else
  50338. pTDefRegMap(@Self)^.&set := $00000080;
  50339. end;
  50340. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  50341. begin
  50342. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50343. end;
  50344. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  50345. begin
  50346. pTDefRegMap(@Self)^.&set := $00010000;
  50347. end;
  50348. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  50349. begin
  50350. pTDefRegMap(@Self)^.clr := $00010000;
  50351. end;
  50352. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  50353. begin
  50354. if thebits = 0 then
  50355. pTDefRegMap(@Self)^.clr := $00010000
  50356. else
  50357. pTDefRegMap(@Self)^.&set := $00010000;
  50358. end;
  50359. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  50360. begin
  50361. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50362. end;
  50363. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  50364. begin
  50365. pTDefRegMap(@Self)^.&set := $00020000;
  50366. end;
  50367. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  50368. begin
  50369. pTDefRegMap(@Self)^.clr := $00020000;
  50370. end;
  50371. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  50372. begin
  50373. if thebits = 0 then
  50374. pTDefRegMap(@Self)^.clr := $00020000
  50375. else
  50376. pTDefRegMap(@Self)^.&set := $00020000;
  50377. end;
  50378. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  50379. begin
  50380. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  50381. end;
  50382. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  50383. begin
  50384. pTDefRegMap(@Self)^.&set := $00040000;
  50385. end;
  50386. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  50387. begin
  50388. pTDefRegMap(@Self)^.clr := $00040000;
  50389. end;
  50390. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  50391. begin
  50392. if thebits = 0 then
  50393. pTDefRegMap(@Self)^.clr := $00040000
  50394. else
  50395. pTDefRegMap(@Self)^.&set := $00040000;
  50396. end;
  50397. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  50398. begin
  50399. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  50400. end;
  50401. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  50402. begin
  50403. pTDefRegMap(@Self)^.&set := $00080000;
  50404. end;
  50405. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  50406. begin
  50407. pTDefRegMap(@Self)^.clr := $00080000;
  50408. end;
  50409. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  50410. begin
  50411. if thebits = 0 then
  50412. pTDefRegMap(@Self)^.clr := $00080000
  50413. else
  50414. pTDefRegMap(@Self)^.&set := $00080000;
  50415. end;
  50416. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  50417. begin
  50418. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  50419. end;
  50420. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  50421. begin
  50422. pTDefRegMap(@Self)^.&set := $00100000;
  50423. end;
  50424. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  50425. begin
  50426. pTDefRegMap(@Self)^.clr := $00100000;
  50427. end;
  50428. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  50429. begin
  50430. if thebits = 0 then
  50431. pTDefRegMap(@Self)^.clr := $00100000
  50432. else
  50433. pTDefRegMap(@Self)^.&set := $00100000;
  50434. end;
  50435. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  50436. begin
  50437. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  50438. end;
  50439. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  50440. begin
  50441. pTDefRegMap(@Self)^.&set := $00200000;
  50442. end;
  50443. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  50444. begin
  50445. pTDefRegMap(@Self)^.clr := $00200000;
  50446. end;
  50447. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  50448. begin
  50449. if thebits = 0 then
  50450. pTDefRegMap(@Self)^.clr := $00200000
  50451. else
  50452. pTDefRegMap(@Self)^.&set := $00200000;
  50453. end;
  50454. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  50455. begin
  50456. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  50457. end;
  50458. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  50459. begin
  50460. pTDefRegMap(@Self)^.&set := $00400000;
  50461. end;
  50462. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  50463. begin
  50464. pTDefRegMap(@Self)^.clr := $00400000;
  50465. end;
  50466. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  50467. begin
  50468. if thebits = 0 then
  50469. pTDefRegMap(@Self)^.clr := $00400000
  50470. else
  50471. pTDefRegMap(@Self)^.&set := $00400000;
  50472. end;
  50473. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  50474. begin
  50475. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  50476. end;
  50477. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  50478. begin
  50479. pTDefRegMap(@Self)^.&set := $00800000;
  50480. end;
  50481. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  50482. begin
  50483. pTDefRegMap(@Self)^.clr := $00800000;
  50484. end;
  50485. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  50486. begin
  50487. if thebits = 0 then
  50488. pTDefRegMap(@Self)^.clr := $00800000
  50489. else
  50490. pTDefRegMap(@Self)^.&set := $00800000;
  50491. end;
  50492. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  50493. begin
  50494. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  50495. end;
  50496. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  50497. begin
  50498. pTDefRegMap(@Self)^.val := thebits;
  50499. end;
  50500. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  50501. begin
  50502. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50503. end;
  50504. procedure TPCACHE_CHECON.setPFMWS(thebits : TBits_3); inline;
  50505. begin
  50506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  50507. end;
  50508. function TPCACHE_CHECON.getPFMWS : TBits_3; inline;
  50509. begin
  50510. getPFMWS := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  50511. end;
  50512. procedure TPCACHE_CHECON.setPREFEN(thebits : TBits_2); inline;
  50513. begin
  50514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  50515. end;
  50516. function TPCACHE_CHECON.getPREFEN : TBits_2; inline;
  50517. begin
  50518. getPREFEN := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  50519. end;
  50520. procedure TPCACHE_CHECON.setDCSZ(thebits : TBits_2); inline;
  50521. begin
  50522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  50523. end;
  50524. function TPCACHE_CHECON.getDCSZ : TBits_2; inline;
  50525. begin
  50526. getDCSZ := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  50527. end;
  50528. procedure TPCACHE_CHECON.setCHECOH; inline;
  50529. begin
  50530. pTDefRegMap(@Self)^.&set := $00010000;
  50531. end;
  50532. procedure TPCACHE_CHECON.clearCHECOH; inline;
  50533. begin
  50534. pTDefRegMap(@Self)^.clr := $00010000;
  50535. end;
  50536. procedure TPCACHE_CHECON.setCHECOH(thebits : TBits_1); inline;
  50537. begin
  50538. if thebits = 0 then
  50539. pTDefRegMap(@Self)^.clr := $00010000
  50540. else
  50541. pTDefRegMap(@Self)^.&set := $00010000;
  50542. end;
  50543. function TPCACHE_CHECON.getCHECOH : TBits_1; inline;
  50544. begin
  50545. getCHECOH := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  50546. end;
  50547. procedure TPCACHE_CHECON.setw(thebits : TBits_32); inline;
  50548. begin
  50549. pTDefRegMap(@Self)^.val := thebits;
  50550. end;
  50551. function TPCACHE_CHECON.getw : TBits_32; inline;
  50552. begin
  50553. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50554. end;
  50555. procedure TPCACHE_CHETAG.setLTYPE; inline;
  50556. begin
  50557. pTDefRegMap(@Self)^.&set := $00000002;
  50558. end;
  50559. procedure TPCACHE_CHETAG.clearLTYPE; inline;
  50560. begin
  50561. pTDefRegMap(@Self)^.clr := $00000002;
  50562. end;
  50563. procedure TPCACHE_CHETAG.setLTYPE(thebits : TBits_1); inline;
  50564. begin
  50565. if thebits = 0 then
  50566. pTDefRegMap(@Self)^.clr := $00000002
  50567. else
  50568. pTDefRegMap(@Self)^.&set := $00000002;
  50569. end;
  50570. function TPCACHE_CHETAG.getLTYPE : TBits_1; inline;
  50571. begin
  50572. getLTYPE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50573. end;
  50574. procedure TPCACHE_CHETAG.setLLOCK; inline;
  50575. begin
  50576. pTDefRegMap(@Self)^.&set := $00000004;
  50577. end;
  50578. procedure TPCACHE_CHETAG.clearLLOCK; inline;
  50579. begin
  50580. pTDefRegMap(@Self)^.clr := $00000004;
  50581. end;
  50582. procedure TPCACHE_CHETAG.setLLOCK(thebits : TBits_1); inline;
  50583. begin
  50584. if thebits = 0 then
  50585. pTDefRegMap(@Self)^.clr := $00000004
  50586. else
  50587. pTDefRegMap(@Self)^.&set := $00000004;
  50588. end;
  50589. function TPCACHE_CHETAG.getLLOCK : TBits_1; inline;
  50590. begin
  50591. getLLOCK := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50592. end;
  50593. procedure TPCACHE_CHETAG.setLVALID; inline;
  50594. begin
  50595. pTDefRegMap(@Self)^.&set := $00000008;
  50596. end;
  50597. procedure TPCACHE_CHETAG.clearLVALID; inline;
  50598. begin
  50599. pTDefRegMap(@Self)^.clr := $00000008;
  50600. end;
  50601. procedure TPCACHE_CHETAG.setLVALID(thebits : TBits_1); inline;
  50602. begin
  50603. if thebits = 0 then
  50604. pTDefRegMap(@Self)^.clr := $00000008
  50605. else
  50606. pTDefRegMap(@Self)^.&set := $00000008;
  50607. end;
  50608. function TPCACHE_CHETAG.getLVALID : TBits_1; inline;
  50609. begin
  50610. getLVALID := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50611. end;
  50612. procedure TPCACHE_CHETAG.setLTAG(thebits : TBits_20); inline;
  50613. begin
  50614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00000F or ( thebits shl 4 );
  50615. end;
  50616. function TPCACHE_CHETAG.getLTAG : TBits_20; inline;
  50617. begin
  50618. getLTAG := (pTDefRegMap(@Self)^.val and $00FFFFF0) shr 4;
  50619. end;
  50620. procedure TPCACHE_CHETAG.setLTAGBOOT; inline;
  50621. begin
  50622. pTDefRegMap(@Self)^.&set := $80000000;
  50623. end;
  50624. procedure TPCACHE_CHETAG.clearLTAGBOOT; inline;
  50625. begin
  50626. pTDefRegMap(@Self)^.clr := $80000000;
  50627. end;
  50628. procedure TPCACHE_CHETAG.setLTAGBOOT(thebits : TBits_1); inline;
  50629. begin
  50630. if thebits = 0 then
  50631. pTDefRegMap(@Self)^.clr := $80000000
  50632. else
  50633. pTDefRegMap(@Self)^.&set := $80000000;
  50634. end;
  50635. function TPCACHE_CHETAG.getLTAGBOOT : TBits_1; inline;
  50636. begin
  50637. getLTAGBOOT := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  50638. end;
  50639. procedure TPCACHE_CHETAG.setw(thebits : TBits_32); inline;
  50640. begin
  50641. pTDefRegMap(@Self)^.val := thebits;
  50642. end;
  50643. function TPCACHE_CHETAG.getw : TBits_32; inline;
  50644. begin
  50645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  50646. end;
  50647. procedure TUSB_U1IR.setURSTIF_DETACHIF; inline;
  50648. begin
  50649. pTDefRegMap(@Self)^.&set := $00000001;
  50650. end;
  50651. procedure TUSB_U1IR.clearURSTIF_DETACHIF; inline;
  50652. begin
  50653. pTDefRegMap(@Self)^.clr := $00000001;
  50654. end;
  50655. procedure TUSB_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  50656. begin
  50657. if thebits = 0 then
  50658. pTDefRegMap(@Self)^.clr := $00000001
  50659. else
  50660. pTDefRegMap(@Self)^.&set := $00000001;
  50661. end;
  50662. function TUSB_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  50663. begin
  50664. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50665. end;
  50666. procedure TUSB_U1IR.setUERRIF; inline;
  50667. begin
  50668. pTDefRegMap(@Self)^.&set := $00000002;
  50669. end;
  50670. procedure TUSB_U1IR.clearUERRIF; inline;
  50671. begin
  50672. pTDefRegMap(@Self)^.clr := $00000002;
  50673. end;
  50674. procedure TUSB_U1IR.setUERRIF(thebits : TBits_1); inline;
  50675. begin
  50676. if thebits = 0 then
  50677. pTDefRegMap(@Self)^.clr := $00000002
  50678. else
  50679. pTDefRegMap(@Self)^.&set := $00000002;
  50680. end;
  50681. function TUSB_U1IR.getUERRIF : TBits_1; inline;
  50682. begin
  50683. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50684. end;
  50685. procedure TUSB_U1IR.setSOFIF; inline;
  50686. begin
  50687. pTDefRegMap(@Self)^.&set := $00000004;
  50688. end;
  50689. procedure TUSB_U1IR.clearSOFIF; inline;
  50690. begin
  50691. pTDefRegMap(@Self)^.clr := $00000004;
  50692. end;
  50693. procedure TUSB_U1IR.setSOFIF(thebits : TBits_1); inline;
  50694. begin
  50695. if thebits = 0 then
  50696. pTDefRegMap(@Self)^.clr := $00000004
  50697. else
  50698. pTDefRegMap(@Self)^.&set := $00000004;
  50699. end;
  50700. function TUSB_U1IR.getSOFIF : TBits_1; inline;
  50701. begin
  50702. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50703. end;
  50704. procedure TUSB_U1IR.setTRNIF; inline;
  50705. begin
  50706. pTDefRegMap(@Self)^.&set := $00000008;
  50707. end;
  50708. procedure TUSB_U1IR.clearTRNIF; inline;
  50709. begin
  50710. pTDefRegMap(@Self)^.clr := $00000008;
  50711. end;
  50712. procedure TUSB_U1IR.setTRNIF(thebits : TBits_1); inline;
  50713. begin
  50714. if thebits = 0 then
  50715. pTDefRegMap(@Self)^.clr := $00000008
  50716. else
  50717. pTDefRegMap(@Self)^.&set := $00000008;
  50718. end;
  50719. function TUSB_U1IR.getTRNIF : TBits_1; inline;
  50720. begin
  50721. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50722. end;
  50723. procedure TUSB_U1IR.setIDLEIF; inline;
  50724. begin
  50725. pTDefRegMap(@Self)^.&set := $00000010;
  50726. end;
  50727. procedure TUSB_U1IR.clearIDLEIF; inline;
  50728. begin
  50729. pTDefRegMap(@Self)^.clr := $00000010;
  50730. end;
  50731. procedure TUSB_U1IR.setIDLEIF(thebits : TBits_1); inline;
  50732. begin
  50733. if thebits = 0 then
  50734. pTDefRegMap(@Self)^.clr := $00000010
  50735. else
  50736. pTDefRegMap(@Self)^.&set := $00000010;
  50737. end;
  50738. function TUSB_U1IR.getIDLEIF : TBits_1; inline;
  50739. begin
  50740. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50741. end;
  50742. procedure TUSB_U1IR.setRESUMEIF; inline;
  50743. begin
  50744. pTDefRegMap(@Self)^.&set := $00000020;
  50745. end;
  50746. procedure TUSB_U1IR.clearRESUMEIF; inline;
  50747. begin
  50748. pTDefRegMap(@Self)^.clr := $00000020;
  50749. end;
  50750. procedure TUSB_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  50751. begin
  50752. if thebits = 0 then
  50753. pTDefRegMap(@Self)^.clr := $00000020
  50754. else
  50755. pTDefRegMap(@Self)^.&set := $00000020;
  50756. end;
  50757. function TUSB_U1IR.getRESUMEIF : TBits_1; inline;
  50758. begin
  50759. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50760. end;
  50761. procedure TUSB_U1IR.setATTACHIF; inline;
  50762. begin
  50763. pTDefRegMap(@Self)^.&set := $00000040;
  50764. end;
  50765. procedure TUSB_U1IR.clearATTACHIF; inline;
  50766. begin
  50767. pTDefRegMap(@Self)^.clr := $00000040;
  50768. end;
  50769. procedure TUSB_U1IR.setATTACHIF(thebits : TBits_1); inline;
  50770. begin
  50771. if thebits = 0 then
  50772. pTDefRegMap(@Self)^.clr := $00000040
  50773. else
  50774. pTDefRegMap(@Self)^.&set := $00000040;
  50775. end;
  50776. function TUSB_U1IR.getATTACHIF : TBits_1; inline;
  50777. begin
  50778. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50779. end;
  50780. procedure TUSB_U1IR.setSTALLIF; inline;
  50781. begin
  50782. pTDefRegMap(@Self)^.&set := $00000080;
  50783. end;
  50784. procedure TUSB_U1IR.clearSTALLIF; inline;
  50785. begin
  50786. pTDefRegMap(@Self)^.clr := $00000080;
  50787. end;
  50788. procedure TUSB_U1IR.setSTALLIF(thebits : TBits_1); inline;
  50789. begin
  50790. if thebits = 0 then
  50791. pTDefRegMap(@Self)^.clr := $00000080
  50792. else
  50793. pTDefRegMap(@Self)^.&set := $00000080;
  50794. end;
  50795. function TUSB_U1IR.getSTALLIF : TBits_1; inline;
  50796. begin
  50797. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50798. end;
  50799. procedure TUSB_U1IR.setDETACHIF; inline;
  50800. begin
  50801. pTDefRegMap(@Self)^.&set := $00000001;
  50802. end;
  50803. procedure TUSB_U1IR.clearDETACHIF; inline;
  50804. begin
  50805. pTDefRegMap(@Self)^.clr := $00000001;
  50806. end;
  50807. procedure TUSB_U1IR.setDETACHIF(thebits : TBits_1); inline;
  50808. begin
  50809. if thebits = 0 then
  50810. pTDefRegMap(@Self)^.clr := $00000001
  50811. else
  50812. pTDefRegMap(@Self)^.&set := $00000001;
  50813. end;
  50814. function TUSB_U1IR.getDETACHIF : TBits_1; inline;
  50815. begin
  50816. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50817. end;
  50818. procedure TUSB_U1IR.setURSTIF; inline;
  50819. begin
  50820. pTDefRegMap(@Self)^.&set := $00000001;
  50821. end;
  50822. procedure TUSB_U1IR.clearURSTIF; inline;
  50823. begin
  50824. pTDefRegMap(@Self)^.clr := $00000001;
  50825. end;
  50826. procedure TUSB_U1IR.setURSTIF(thebits : TBits_1); inline;
  50827. begin
  50828. if thebits = 0 then
  50829. pTDefRegMap(@Self)^.clr := $00000001
  50830. else
  50831. pTDefRegMap(@Self)^.&set := $00000001;
  50832. end;
  50833. function TUSB_U1IR.getURSTIF : TBits_1; inline;
  50834. begin
  50835. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50836. end;
  50837. procedure TUSB_U1IE.setURSTIE_DETACHIE; inline;
  50838. begin
  50839. pTDefRegMap(@Self)^.&set := $00000001;
  50840. end;
  50841. procedure TUSB_U1IE.clearURSTIE_DETACHIE; inline;
  50842. begin
  50843. pTDefRegMap(@Self)^.clr := $00000001;
  50844. end;
  50845. procedure TUSB_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  50846. begin
  50847. if thebits = 0 then
  50848. pTDefRegMap(@Self)^.clr := $00000001
  50849. else
  50850. pTDefRegMap(@Self)^.&set := $00000001;
  50851. end;
  50852. function TUSB_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  50853. begin
  50854. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  50855. end;
  50856. procedure TUSB_U1IE.setUERRIE; inline;
  50857. begin
  50858. pTDefRegMap(@Self)^.&set := $00000002;
  50859. end;
  50860. procedure TUSB_U1IE.clearUERRIE; inline;
  50861. begin
  50862. pTDefRegMap(@Self)^.clr := $00000002;
  50863. end;
  50864. procedure TUSB_U1IE.setUERRIE(thebits : TBits_1); inline;
  50865. begin
  50866. if thebits = 0 then
  50867. pTDefRegMap(@Self)^.clr := $00000002
  50868. else
  50869. pTDefRegMap(@Self)^.&set := $00000002;
  50870. end;
  50871. function TUSB_U1IE.getUERRIE : TBits_1; inline;
  50872. begin
  50873. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  50874. end;
  50875. procedure TUSB_U1IE.setSOFIE; inline;
  50876. begin
  50877. pTDefRegMap(@Self)^.&set := $00000004;
  50878. end;
  50879. procedure TUSB_U1IE.clearSOFIE; inline;
  50880. begin
  50881. pTDefRegMap(@Self)^.clr := $00000004;
  50882. end;
  50883. procedure TUSB_U1IE.setSOFIE(thebits : TBits_1); inline;
  50884. begin
  50885. if thebits = 0 then
  50886. pTDefRegMap(@Self)^.clr := $00000004
  50887. else
  50888. pTDefRegMap(@Self)^.&set := $00000004;
  50889. end;
  50890. function TUSB_U1IE.getSOFIE : TBits_1; inline;
  50891. begin
  50892. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  50893. end;
  50894. procedure TUSB_U1IE.setTRNIE; inline;
  50895. begin
  50896. pTDefRegMap(@Self)^.&set := $00000008;
  50897. end;
  50898. procedure TUSB_U1IE.clearTRNIE; inline;
  50899. begin
  50900. pTDefRegMap(@Self)^.clr := $00000008;
  50901. end;
  50902. procedure TUSB_U1IE.setTRNIE(thebits : TBits_1); inline;
  50903. begin
  50904. if thebits = 0 then
  50905. pTDefRegMap(@Self)^.clr := $00000008
  50906. else
  50907. pTDefRegMap(@Self)^.&set := $00000008;
  50908. end;
  50909. function TUSB_U1IE.getTRNIE : TBits_1; inline;
  50910. begin
  50911. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  50912. end;
  50913. procedure TUSB_U1IE.setIDLEIE; inline;
  50914. begin
  50915. pTDefRegMap(@Self)^.&set := $00000010;
  50916. end;
  50917. procedure TUSB_U1IE.clearIDLEIE; inline;
  50918. begin
  50919. pTDefRegMap(@Self)^.clr := $00000010;
  50920. end;
  50921. procedure TUSB_U1IE.setIDLEIE(thebits : TBits_1); inline;
  50922. begin
  50923. if thebits = 0 then
  50924. pTDefRegMap(@Self)^.clr := $00000010
  50925. else
  50926. pTDefRegMap(@Self)^.&set := $00000010;
  50927. end;
  50928. function TUSB_U1IE.getIDLEIE : TBits_1; inline;
  50929. begin
  50930. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  50931. end;
  50932. procedure TUSB_U1IE.setRESUMEIE; inline;
  50933. begin
  50934. pTDefRegMap(@Self)^.&set := $00000020;
  50935. end;
  50936. procedure TUSB_U1IE.clearRESUMEIE; inline;
  50937. begin
  50938. pTDefRegMap(@Self)^.clr := $00000020;
  50939. end;
  50940. procedure TUSB_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  50941. begin
  50942. if thebits = 0 then
  50943. pTDefRegMap(@Self)^.clr := $00000020
  50944. else
  50945. pTDefRegMap(@Self)^.&set := $00000020;
  50946. end;
  50947. function TUSB_U1IE.getRESUMEIE : TBits_1; inline;
  50948. begin
  50949. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  50950. end;
  50951. procedure TUSB_U1IE.setATTACHIE; inline;
  50952. begin
  50953. pTDefRegMap(@Self)^.&set := $00000040;
  50954. end;
  50955. procedure TUSB_U1IE.clearATTACHIE; inline;
  50956. begin
  50957. pTDefRegMap(@Self)^.clr := $00000040;
  50958. end;
  50959. procedure TUSB_U1IE.setATTACHIE(thebits : TBits_1); inline;
  50960. begin
  50961. if thebits = 0 then
  50962. pTDefRegMap(@Self)^.clr := $00000040
  50963. else
  50964. pTDefRegMap(@Self)^.&set := $00000040;
  50965. end;
  50966. function TUSB_U1IE.getATTACHIE : TBits_1; inline;
  50967. begin
  50968. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  50969. end;
  50970. procedure TUSB_U1IE.setSTALLIE; inline;
  50971. begin
  50972. pTDefRegMap(@Self)^.&set := $00000080;
  50973. end;
  50974. procedure TUSB_U1IE.clearSTALLIE; inline;
  50975. begin
  50976. pTDefRegMap(@Self)^.clr := $00000080;
  50977. end;
  50978. procedure TUSB_U1IE.setSTALLIE(thebits : TBits_1); inline;
  50979. begin
  50980. if thebits = 0 then
  50981. pTDefRegMap(@Self)^.clr := $00000080
  50982. else
  50983. pTDefRegMap(@Self)^.&set := $00000080;
  50984. end;
  50985. function TUSB_U1IE.getSTALLIE : TBits_1; inline;
  50986. begin
  50987. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  50988. end;
  50989. procedure TUSB_U1IE.setDETACHIE; inline;
  50990. begin
  50991. pTDefRegMap(@Self)^.&set := $00000001;
  50992. end;
  50993. procedure TUSB_U1IE.clearDETACHIE; inline;
  50994. begin
  50995. pTDefRegMap(@Self)^.clr := $00000001;
  50996. end;
  50997. procedure TUSB_U1IE.setDETACHIE(thebits : TBits_1); inline;
  50998. begin
  50999. if thebits = 0 then
  51000. pTDefRegMap(@Self)^.clr := $00000001
  51001. else
  51002. pTDefRegMap(@Self)^.&set := $00000001;
  51003. end;
  51004. function TUSB_U1IE.getDETACHIE : TBits_1; inline;
  51005. begin
  51006. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51007. end;
  51008. procedure TUSB_U1IE.setURSTIE; inline;
  51009. begin
  51010. pTDefRegMap(@Self)^.&set := $00000001;
  51011. end;
  51012. procedure TUSB_U1IE.clearURSTIE; inline;
  51013. begin
  51014. pTDefRegMap(@Self)^.clr := $00000001;
  51015. end;
  51016. procedure TUSB_U1IE.setURSTIE(thebits : TBits_1); inline;
  51017. begin
  51018. if thebits = 0 then
  51019. pTDefRegMap(@Self)^.clr := $00000001
  51020. else
  51021. pTDefRegMap(@Self)^.&set := $00000001;
  51022. end;
  51023. function TUSB_U1IE.getURSTIE : TBits_1; inline;
  51024. begin
  51025. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51026. end;
  51027. procedure TUSB_U1EIR.setPIDEF; inline;
  51028. begin
  51029. pTDefRegMap(@Self)^.&set := $00000001;
  51030. end;
  51031. procedure TUSB_U1EIR.clearPIDEF; inline;
  51032. begin
  51033. pTDefRegMap(@Self)^.clr := $00000001;
  51034. end;
  51035. procedure TUSB_U1EIR.setPIDEF(thebits : TBits_1); inline;
  51036. begin
  51037. if thebits = 0 then
  51038. pTDefRegMap(@Self)^.clr := $00000001
  51039. else
  51040. pTDefRegMap(@Self)^.&set := $00000001;
  51041. end;
  51042. function TUSB_U1EIR.getPIDEF : TBits_1; inline;
  51043. begin
  51044. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51045. end;
  51046. procedure TUSB_U1EIR.setCRC5EF_EOFEF; inline;
  51047. begin
  51048. pTDefRegMap(@Self)^.&set := $00000002;
  51049. end;
  51050. procedure TUSB_U1EIR.clearCRC5EF_EOFEF; inline;
  51051. begin
  51052. pTDefRegMap(@Self)^.clr := $00000002;
  51053. end;
  51054. procedure TUSB_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  51055. begin
  51056. if thebits = 0 then
  51057. pTDefRegMap(@Self)^.clr := $00000002
  51058. else
  51059. pTDefRegMap(@Self)^.&set := $00000002;
  51060. end;
  51061. function TUSB_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  51062. begin
  51063. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51064. end;
  51065. procedure TUSB_U1EIR.setCRC16EF; inline;
  51066. begin
  51067. pTDefRegMap(@Self)^.&set := $00000004;
  51068. end;
  51069. procedure TUSB_U1EIR.clearCRC16EF; inline;
  51070. begin
  51071. pTDefRegMap(@Self)^.clr := $00000004;
  51072. end;
  51073. procedure TUSB_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  51074. begin
  51075. if thebits = 0 then
  51076. pTDefRegMap(@Self)^.clr := $00000004
  51077. else
  51078. pTDefRegMap(@Self)^.&set := $00000004;
  51079. end;
  51080. function TUSB_U1EIR.getCRC16EF : TBits_1; inline;
  51081. begin
  51082. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51083. end;
  51084. procedure TUSB_U1EIR.setDFN8EF; inline;
  51085. begin
  51086. pTDefRegMap(@Self)^.&set := $00000008;
  51087. end;
  51088. procedure TUSB_U1EIR.clearDFN8EF; inline;
  51089. begin
  51090. pTDefRegMap(@Self)^.clr := $00000008;
  51091. end;
  51092. procedure TUSB_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  51093. begin
  51094. if thebits = 0 then
  51095. pTDefRegMap(@Self)^.clr := $00000008
  51096. else
  51097. pTDefRegMap(@Self)^.&set := $00000008;
  51098. end;
  51099. function TUSB_U1EIR.getDFN8EF : TBits_1; inline;
  51100. begin
  51101. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51102. end;
  51103. procedure TUSB_U1EIR.setBTOEF; inline;
  51104. begin
  51105. pTDefRegMap(@Self)^.&set := $00000010;
  51106. end;
  51107. procedure TUSB_U1EIR.clearBTOEF; inline;
  51108. begin
  51109. pTDefRegMap(@Self)^.clr := $00000010;
  51110. end;
  51111. procedure TUSB_U1EIR.setBTOEF(thebits : TBits_1); inline;
  51112. begin
  51113. if thebits = 0 then
  51114. pTDefRegMap(@Self)^.clr := $00000010
  51115. else
  51116. pTDefRegMap(@Self)^.&set := $00000010;
  51117. end;
  51118. function TUSB_U1EIR.getBTOEF : TBits_1; inline;
  51119. begin
  51120. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51121. end;
  51122. procedure TUSB_U1EIR.setDMAEF; inline;
  51123. begin
  51124. pTDefRegMap(@Self)^.&set := $00000020;
  51125. end;
  51126. procedure TUSB_U1EIR.clearDMAEF; inline;
  51127. begin
  51128. pTDefRegMap(@Self)^.clr := $00000020;
  51129. end;
  51130. procedure TUSB_U1EIR.setDMAEF(thebits : TBits_1); inline;
  51131. begin
  51132. if thebits = 0 then
  51133. pTDefRegMap(@Self)^.clr := $00000020
  51134. else
  51135. pTDefRegMap(@Self)^.&set := $00000020;
  51136. end;
  51137. function TUSB_U1EIR.getDMAEF : TBits_1; inline;
  51138. begin
  51139. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51140. end;
  51141. procedure TUSB_U1EIR.setBMXEF; inline;
  51142. begin
  51143. pTDefRegMap(@Self)^.&set := $00000040;
  51144. end;
  51145. procedure TUSB_U1EIR.clearBMXEF; inline;
  51146. begin
  51147. pTDefRegMap(@Self)^.clr := $00000040;
  51148. end;
  51149. procedure TUSB_U1EIR.setBMXEF(thebits : TBits_1); inline;
  51150. begin
  51151. if thebits = 0 then
  51152. pTDefRegMap(@Self)^.clr := $00000040
  51153. else
  51154. pTDefRegMap(@Self)^.&set := $00000040;
  51155. end;
  51156. function TUSB_U1EIR.getBMXEF : TBits_1; inline;
  51157. begin
  51158. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51159. end;
  51160. procedure TUSB_U1EIR.setBTSEF; inline;
  51161. begin
  51162. pTDefRegMap(@Self)^.&set := $00000080;
  51163. end;
  51164. procedure TUSB_U1EIR.clearBTSEF; inline;
  51165. begin
  51166. pTDefRegMap(@Self)^.clr := $00000080;
  51167. end;
  51168. procedure TUSB_U1EIR.setBTSEF(thebits : TBits_1); inline;
  51169. begin
  51170. if thebits = 0 then
  51171. pTDefRegMap(@Self)^.clr := $00000080
  51172. else
  51173. pTDefRegMap(@Self)^.&set := $00000080;
  51174. end;
  51175. function TUSB_U1EIR.getBTSEF : TBits_1; inline;
  51176. begin
  51177. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51178. end;
  51179. procedure TUSB_U1EIR.setCRC5EF; inline;
  51180. begin
  51181. pTDefRegMap(@Self)^.&set := $00000002;
  51182. end;
  51183. procedure TUSB_U1EIR.clearCRC5EF; inline;
  51184. begin
  51185. pTDefRegMap(@Self)^.clr := $00000002;
  51186. end;
  51187. procedure TUSB_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  51188. begin
  51189. if thebits = 0 then
  51190. pTDefRegMap(@Self)^.clr := $00000002
  51191. else
  51192. pTDefRegMap(@Self)^.&set := $00000002;
  51193. end;
  51194. function TUSB_U1EIR.getCRC5EF : TBits_1; inline;
  51195. begin
  51196. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51197. end;
  51198. procedure TUSB_U1EIR.setEOFEF; inline;
  51199. begin
  51200. pTDefRegMap(@Self)^.&set := $00000002;
  51201. end;
  51202. procedure TUSB_U1EIR.clearEOFEF; inline;
  51203. begin
  51204. pTDefRegMap(@Self)^.clr := $00000002;
  51205. end;
  51206. procedure TUSB_U1EIR.setEOFEF(thebits : TBits_1); inline;
  51207. begin
  51208. if thebits = 0 then
  51209. pTDefRegMap(@Self)^.clr := $00000002
  51210. else
  51211. pTDefRegMap(@Self)^.&set := $00000002;
  51212. end;
  51213. function TUSB_U1EIR.getEOFEF : TBits_1; inline;
  51214. begin
  51215. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51216. end;
  51217. procedure TUSB_U1EIE.setPIDEE; inline;
  51218. begin
  51219. pTDefRegMap(@Self)^.&set := $00000001;
  51220. end;
  51221. procedure TUSB_U1EIE.clearPIDEE; inline;
  51222. begin
  51223. pTDefRegMap(@Self)^.clr := $00000001;
  51224. end;
  51225. procedure TUSB_U1EIE.setPIDEE(thebits : TBits_1); inline;
  51226. begin
  51227. if thebits = 0 then
  51228. pTDefRegMap(@Self)^.clr := $00000001
  51229. else
  51230. pTDefRegMap(@Self)^.&set := $00000001;
  51231. end;
  51232. function TUSB_U1EIE.getPIDEE : TBits_1; inline;
  51233. begin
  51234. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51235. end;
  51236. procedure TUSB_U1EIE.setCRC5EE_EOFEE; inline;
  51237. begin
  51238. pTDefRegMap(@Self)^.&set := $00000002;
  51239. end;
  51240. procedure TUSB_U1EIE.clearCRC5EE_EOFEE; inline;
  51241. begin
  51242. pTDefRegMap(@Self)^.clr := $00000002;
  51243. end;
  51244. procedure TUSB_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  51245. begin
  51246. if thebits = 0 then
  51247. pTDefRegMap(@Self)^.clr := $00000002
  51248. else
  51249. pTDefRegMap(@Self)^.&set := $00000002;
  51250. end;
  51251. function TUSB_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  51252. begin
  51253. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51254. end;
  51255. procedure TUSB_U1EIE.setCRC16EE; inline;
  51256. begin
  51257. pTDefRegMap(@Self)^.&set := $00000004;
  51258. end;
  51259. procedure TUSB_U1EIE.clearCRC16EE; inline;
  51260. begin
  51261. pTDefRegMap(@Self)^.clr := $00000004;
  51262. end;
  51263. procedure TUSB_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  51264. begin
  51265. if thebits = 0 then
  51266. pTDefRegMap(@Self)^.clr := $00000004
  51267. else
  51268. pTDefRegMap(@Self)^.&set := $00000004;
  51269. end;
  51270. function TUSB_U1EIE.getCRC16EE : TBits_1; inline;
  51271. begin
  51272. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51273. end;
  51274. procedure TUSB_U1EIE.setDFN8EE; inline;
  51275. begin
  51276. pTDefRegMap(@Self)^.&set := $00000008;
  51277. end;
  51278. procedure TUSB_U1EIE.clearDFN8EE; inline;
  51279. begin
  51280. pTDefRegMap(@Self)^.clr := $00000008;
  51281. end;
  51282. procedure TUSB_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  51283. begin
  51284. if thebits = 0 then
  51285. pTDefRegMap(@Self)^.clr := $00000008
  51286. else
  51287. pTDefRegMap(@Self)^.&set := $00000008;
  51288. end;
  51289. function TUSB_U1EIE.getDFN8EE : TBits_1; inline;
  51290. begin
  51291. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51292. end;
  51293. procedure TUSB_U1EIE.setBTOEE; inline;
  51294. begin
  51295. pTDefRegMap(@Self)^.&set := $00000010;
  51296. end;
  51297. procedure TUSB_U1EIE.clearBTOEE; inline;
  51298. begin
  51299. pTDefRegMap(@Self)^.clr := $00000010;
  51300. end;
  51301. procedure TUSB_U1EIE.setBTOEE(thebits : TBits_1); inline;
  51302. begin
  51303. if thebits = 0 then
  51304. pTDefRegMap(@Self)^.clr := $00000010
  51305. else
  51306. pTDefRegMap(@Self)^.&set := $00000010;
  51307. end;
  51308. function TUSB_U1EIE.getBTOEE : TBits_1; inline;
  51309. begin
  51310. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51311. end;
  51312. procedure TUSB_U1EIE.setDMAEE; inline;
  51313. begin
  51314. pTDefRegMap(@Self)^.&set := $00000020;
  51315. end;
  51316. procedure TUSB_U1EIE.clearDMAEE; inline;
  51317. begin
  51318. pTDefRegMap(@Self)^.clr := $00000020;
  51319. end;
  51320. procedure TUSB_U1EIE.setDMAEE(thebits : TBits_1); inline;
  51321. begin
  51322. if thebits = 0 then
  51323. pTDefRegMap(@Self)^.clr := $00000020
  51324. else
  51325. pTDefRegMap(@Self)^.&set := $00000020;
  51326. end;
  51327. function TUSB_U1EIE.getDMAEE : TBits_1; inline;
  51328. begin
  51329. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51330. end;
  51331. procedure TUSB_U1EIE.setBMXEE; inline;
  51332. begin
  51333. pTDefRegMap(@Self)^.&set := $00000040;
  51334. end;
  51335. procedure TUSB_U1EIE.clearBMXEE; inline;
  51336. begin
  51337. pTDefRegMap(@Self)^.clr := $00000040;
  51338. end;
  51339. procedure TUSB_U1EIE.setBMXEE(thebits : TBits_1); inline;
  51340. begin
  51341. if thebits = 0 then
  51342. pTDefRegMap(@Self)^.clr := $00000040
  51343. else
  51344. pTDefRegMap(@Self)^.&set := $00000040;
  51345. end;
  51346. function TUSB_U1EIE.getBMXEE : TBits_1; inline;
  51347. begin
  51348. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51349. end;
  51350. procedure TUSB_U1EIE.setBTSEE; inline;
  51351. begin
  51352. pTDefRegMap(@Self)^.&set := $00000080;
  51353. end;
  51354. procedure TUSB_U1EIE.clearBTSEE; inline;
  51355. begin
  51356. pTDefRegMap(@Self)^.clr := $00000080;
  51357. end;
  51358. procedure TUSB_U1EIE.setBTSEE(thebits : TBits_1); inline;
  51359. begin
  51360. if thebits = 0 then
  51361. pTDefRegMap(@Self)^.clr := $00000080
  51362. else
  51363. pTDefRegMap(@Self)^.&set := $00000080;
  51364. end;
  51365. function TUSB_U1EIE.getBTSEE : TBits_1; inline;
  51366. begin
  51367. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51368. end;
  51369. procedure TUSB_U1EIE.setCRC5EE; inline;
  51370. begin
  51371. pTDefRegMap(@Self)^.&set := $00000002;
  51372. end;
  51373. procedure TUSB_U1EIE.clearCRC5EE; inline;
  51374. begin
  51375. pTDefRegMap(@Self)^.clr := $00000002;
  51376. end;
  51377. procedure TUSB_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  51378. begin
  51379. if thebits = 0 then
  51380. pTDefRegMap(@Self)^.clr := $00000002
  51381. else
  51382. pTDefRegMap(@Self)^.&set := $00000002;
  51383. end;
  51384. function TUSB_U1EIE.getCRC5EE : TBits_1; inline;
  51385. begin
  51386. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51387. end;
  51388. procedure TUSB_U1EIE.setEOFEE; inline;
  51389. begin
  51390. pTDefRegMap(@Self)^.&set := $00000002;
  51391. end;
  51392. procedure TUSB_U1EIE.clearEOFEE; inline;
  51393. begin
  51394. pTDefRegMap(@Self)^.clr := $00000002;
  51395. end;
  51396. procedure TUSB_U1EIE.setEOFEE(thebits : TBits_1); inline;
  51397. begin
  51398. if thebits = 0 then
  51399. pTDefRegMap(@Self)^.clr := $00000002
  51400. else
  51401. pTDefRegMap(@Self)^.&set := $00000002;
  51402. end;
  51403. function TUSB_U1EIE.getEOFEE : TBits_1; inline;
  51404. begin
  51405. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51406. end;
  51407. procedure TUSB_U1STAT.setPPBI; inline;
  51408. begin
  51409. pTDefRegMap(@Self)^.&set := $00000004;
  51410. end;
  51411. procedure TUSB_U1STAT.clearPPBI; inline;
  51412. begin
  51413. pTDefRegMap(@Self)^.clr := $00000004;
  51414. end;
  51415. procedure TUSB_U1STAT.setPPBI(thebits : TBits_1); inline;
  51416. begin
  51417. if thebits = 0 then
  51418. pTDefRegMap(@Self)^.clr := $00000004
  51419. else
  51420. pTDefRegMap(@Self)^.&set := $00000004;
  51421. end;
  51422. function TUSB_U1STAT.getPPBI : TBits_1; inline;
  51423. begin
  51424. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51425. end;
  51426. procedure TUSB_U1STAT.setDIR; inline;
  51427. begin
  51428. pTDefRegMap(@Self)^.&set := $00000008;
  51429. end;
  51430. procedure TUSB_U1STAT.clearDIR; inline;
  51431. begin
  51432. pTDefRegMap(@Self)^.clr := $00000008;
  51433. end;
  51434. procedure TUSB_U1STAT.setDIR(thebits : TBits_1); inline;
  51435. begin
  51436. if thebits = 0 then
  51437. pTDefRegMap(@Self)^.clr := $00000008
  51438. else
  51439. pTDefRegMap(@Self)^.&set := $00000008;
  51440. end;
  51441. function TUSB_U1STAT.getDIR : TBits_1; inline;
  51442. begin
  51443. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51444. end;
  51445. procedure TUSB_U1STAT.setENDPT(thebits : TBits_4); inline;
  51446. begin
  51447. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  51448. end;
  51449. function TUSB_U1STAT.getENDPT : TBits_4; inline;
  51450. begin
  51451. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  51452. end;
  51453. procedure TUSB_U1STAT.setENDPT0; inline;
  51454. begin
  51455. pTDefRegMap(@Self)^.&set := $00000010;
  51456. end;
  51457. procedure TUSB_U1STAT.clearENDPT0; inline;
  51458. begin
  51459. pTDefRegMap(@Self)^.clr := $00000010;
  51460. end;
  51461. procedure TUSB_U1STAT.setENDPT0(thebits : TBits_1); inline;
  51462. begin
  51463. if thebits = 0 then
  51464. pTDefRegMap(@Self)^.clr := $00000010
  51465. else
  51466. pTDefRegMap(@Self)^.&set := $00000010;
  51467. end;
  51468. function TUSB_U1STAT.getENDPT0 : TBits_1; inline;
  51469. begin
  51470. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51471. end;
  51472. procedure TUSB_U1STAT.setENDPT1; inline;
  51473. begin
  51474. pTDefRegMap(@Self)^.&set := $00000020;
  51475. end;
  51476. procedure TUSB_U1STAT.clearENDPT1; inline;
  51477. begin
  51478. pTDefRegMap(@Self)^.clr := $00000020;
  51479. end;
  51480. procedure TUSB_U1STAT.setENDPT1(thebits : TBits_1); inline;
  51481. begin
  51482. if thebits = 0 then
  51483. pTDefRegMap(@Self)^.clr := $00000020
  51484. else
  51485. pTDefRegMap(@Self)^.&set := $00000020;
  51486. end;
  51487. function TUSB_U1STAT.getENDPT1 : TBits_1; inline;
  51488. begin
  51489. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51490. end;
  51491. procedure TUSB_U1STAT.setENDPT2; inline;
  51492. begin
  51493. pTDefRegMap(@Self)^.&set := $00000040;
  51494. end;
  51495. procedure TUSB_U1STAT.clearENDPT2; inline;
  51496. begin
  51497. pTDefRegMap(@Self)^.clr := $00000040;
  51498. end;
  51499. procedure TUSB_U1STAT.setENDPT2(thebits : TBits_1); inline;
  51500. begin
  51501. if thebits = 0 then
  51502. pTDefRegMap(@Self)^.clr := $00000040
  51503. else
  51504. pTDefRegMap(@Self)^.&set := $00000040;
  51505. end;
  51506. function TUSB_U1STAT.getENDPT2 : TBits_1; inline;
  51507. begin
  51508. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51509. end;
  51510. procedure TUSB_U1STAT.setENDPT3; inline;
  51511. begin
  51512. pTDefRegMap(@Self)^.&set := $00000080;
  51513. end;
  51514. procedure TUSB_U1STAT.clearENDPT3; inline;
  51515. begin
  51516. pTDefRegMap(@Self)^.clr := $00000080;
  51517. end;
  51518. procedure TUSB_U1STAT.setENDPT3(thebits : TBits_1); inline;
  51519. begin
  51520. if thebits = 0 then
  51521. pTDefRegMap(@Self)^.clr := $00000080
  51522. else
  51523. pTDefRegMap(@Self)^.&set := $00000080;
  51524. end;
  51525. function TUSB_U1STAT.getENDPT3 : TBits_1; inline;
  51526. begin
  51527. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51528. end;
  51529. procedure TUSB_U1CON.setUSBEN_SOFEN; inline;
  51530. begin
  51531. pTDefRegMap(@Self)^.&set := $00000001;
  51532. end;
  51533. procedure TUSB_U1CON.clearUSBEN_SOFEN; inline;
  51534. begin
  51535. pTDefRegMap(@Self)^.clr := $00000001;
  51536. end;
  51537. procedure TUSB_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  51538. begin
  51539. if thebits = 0 then
  51540. pTDefRegMap(@Self)^.clr := $00000001
  51541. else
  51542. pTDefRegMap(@Self)^.&set := $00000001;
  51543. end;
  51544. function TUSB_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  51545. begin
  51546. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51547. end;
  51548. procedure TUSB_U1CON.setPPBRST; inline;
  51549. begin
  51550. pTDefRegMap(@Self)^.&set := $00000002;
  51551. end;
  51552. procedure TUSB_U1CON.clearPPBRST; inline;
  51553. begin
  51554. pTDefRegMap(@Self)^.clr := $00000002;
  51555. end;
  51556. procedure TUSB_U1CON.setPPBRST(thebits : TBits_1); inline;
  51557. begin
  51558. if thebits = 0 then
  51559. pTDefRegMap(@Self)^.clr := $00000002
  51560. else
  51561. pTDefRegMap(@Self)^.&set := $00000002;
  51562. end;
  51563. function TUSB_U1CON.getPPBRST : TBits_1; inline;
  51564. begin
  51565. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51566. end;
  51567. procedure TUSB_U1CON.setRESUME; inline;
  51568. begin
  51569. pTDefRegMap(@Self)^.&set := $00000004;
  51570. end;
  51571. procedure TUSB_U1CON.clearRESUME; inline;
  51572. begin
  51573. pTDefRegMap(@Self)^.clr := $00000004;
  51574. end;
  51575. procedure TUSB_U1CON.setRESUME(thebits : TBits_1); inline;
  51576. begin
  51577. if thebits = 0 then
  51578. pTDefRegMap(@Self)^.clr := $00000004
  51579. else
  51580. pTDefRegMap(@Self)^.&set := $00000004;
  51581. end;
  51582. function TUSB_U1CON.getRESUME : TBits_1; inline;
  51583. begin
  51584. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51585. end;
  51586. procedure TUSB_U1CON.setHOSTEN; inline;
  51587. begin
  51588. pTDefRegMap(@Self)^.&set := $00000008;
  51589. end;
  51590. procedure TUSB_U1CON.clearHOSTEN; inline;
  51591. begin
  51592. pTDefRegMap(@Self)^.clr := $00000008;
  51593. end;
  51594. procedure TUSB_U1CON.setHOSTEN(thebits : TBits_1); inline;
  51595. begin
  51596. if thebits = 0 then
  51597. pTDefRegMap(@Self)^.clr := $00000008
  51598. else
  51599. pTDefRegMap(@Self)^.&set := $00000008;
  51600. end;
  51601. function TUSB_U1CON.getHOSTEN : TBits_1; inline;
  51602. begin
  51603. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51604. end;
  51605. procedure TUSB_U1CON.setUSBRST; inline;
  51606. begin
  51607. pTDefRegMap(@Self)^.&set := $00000010;
  51608. end;
  51609. procedure TUSB_U1CON.clearUSBRST; inline;
  51610. begin
  51611. pTDefRegMap(@Self)^.clr := $00000010;
  51612. end;
  51613. procedure TUSB_U1CON.setUSBRST(thebits : TBits_1); inline;
  51614. begin
  51615. if thebits = 0 then
  51616. pTDefRegMap(@Self)^.clr := $00000010
  51617. else
  51618. pTDefRegMap(@Self)^.&set := $00000010;
  51619. end;
  51620. function TUSB_U1CON.getUSBRST : TBits_1; inline;
  51621. begin
  51622. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51623. end;
  51624. procedure TUSB_U1CON.setPKTDIS_TOKBUSY; inline;
  51625. begin
  51626. pTDefRegMap(@Self)^.&set := $00000020;
  51627. end;
  51628. procedure TUSB_U1CON.clearPKTDIS_TOKBUSY; inline;
  51629. begin
  51630. pTDefRegMap(@Self)^.clr := $00000020;
  51631. end;
  51632. procedure TUSB_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  51633. begin
  51634. if thebits = 0 then
  51635. pTDefRegMap(@Self)^.clr := $00000020
  51636. else
  51637. pTDefRegMap(@Self)^.&set := $00000020;
  51638. end;
  51639. function TUSB_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  51640. begin
  51641. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51642. end;
  51643. procedure TUSB_U1CON.setSE0; inline;
  51644. begin
  51645. pTDefRegMap(@Self)^.&set := $00000040;
  51646. end;
  51647. procedure TUSB_U1CON.clearSE0; inline;
  51648. begin
  51649. pTDefRegMap(@Self)^.clr := $00000040;
  51650. end;
  51651. procedure TUSB_U1CON.setSE0(thebits : TBits_1); inline;
  51652. begin
  51653. if thebits = 0 then
  51654. pTDefRegMap(@Self)^.clr := $00000040
  51655. else
  51656. pTDefRegMap(@Self)^.&set := $00000040;
  51657. end;
  51658. function TUSB_U1CON.getSE0 : TBits_1; inline;
  51659. begin
  51660. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51661. end;
  51662. procedure TUSB_U1CON.setJSTATE; inline;
  51663. begin
  51664. pTDefRegMap(@Self)^.&set := $00000080;
  51665. end;
  51666. procedure TUSB_U1CON.clearJSTATE; inline;
  51667. begin
  51668. pTDefRegMap(@Self)^.clr := $00000080;
  51669. end;
  51670. procedure TUSB_U1CON.setJSTATE(thebits : TBits_1); inline;
  51671. begin
  51672. if thebits = 0 then
  51673. pTDefRegMap(@Self)^.clr := $00000080
  51674. else
  51675. pTDefRegMap(@Self)^.&set := $00000080;
  51676. end;
  51677. function TUSB_U1CON.getJSTATE : TBits_1; inline;
  51678. begin
  51679. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51680. end;
  51681. procedure TUSB_U1CON.setUSBEN; inline;
  51682. begin
  51683. pTDefRegMap(@Self)^.&set := $00000001;
  51684. end;
  51685. procedure TUSB_U1CON.clearUSBEN; inline;
  51686. begin
  51687. pTDefRegMap(@Self)^.clr := $00000001;
  51688. end;
  51689. procedure TUSB_U1CON.setUSBEN(thebits : TBits_1); inline;
  51690. begin
  51691. if thebits = 0 then
  51692. pTDefRegMap(@Self)^.clr := $00000001
  51693. else
  51694. pTDefRegMap(@Self)^.&set := $00000001;
  51695. end;
  51696. function TUSB_U1CON.getUSBEN : TBits_1; inline;
  51697. begin
  51698. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51699. end;
  51700. procedure TUSB_U1CON.setSOFEN; inline;
  51701. begin
  51702. pTDefRegMap(@Self)^.&set := $00000001;
  51703. end;
  51704. procedure TUSB_U1CON.clearSOFEN; inline;
  51705. begin
  51706. pTDefRegMap(@Self)^.clr := $00000001;
  51707. end;
  51708. procedure TUSB_U1CON.setSOFEN(thebits : TBits_1); inline;
  51709. begin
  51710. if thebits = 0 then
  51711. pTDefRegMap(@Self)^.clr := $00000001
  51712. else
  51713. pTDefRegMap(@Self)^.&set := $00000001;
  51714. end;
  51715. function TUSB_U1CON.getSOFEN : TBits_1; inline;
  51716. begin
  51717. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51718. end;
  51719. procedure TUSB_U1CON.setPKTDIS; inline;
  51720. begin
  51721. pTDefRegMap(@Self)^.&set := $00000020;
  51722. end;
  51723. procedure TUSB_U1CON.clearPKTDIS; inline;
  51724. begin
  51725. pTDefRegMap(@Self)^.clr := $00000020;
  51726. end;
  51727. procedure TUSB_U1CON.setPKTDIS(thebits : TBits_1); inline;
  51728. begin
  51729. if thebits = 0 then
  51730. pTDefRegMap(@Self)^.clr := $00000020
  51731. else
  51732. pTDefRegMap(@Self)^.&set := $00000020;
  51733. end;
  51734. function TUSB_U1CON.getPKTDIS : TBits_1; inline;
  51735. begin
  51736. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51737. end;
  51738. procedure TUSB_U1CON.setTOKBUSY; inline;
  51739. begin
  51740. pTDefRegMap(@Self)^.&set := $00000020;
  51741. end;
  51742. procedure TUSB_U1CON.clearTOKBUSY; inline;
  51743. begin
  51744. pTDefRegMap(@Self)^.clr := $00000020;
  51745. end;
  51746. procedure TUSB_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  51747. begin
  51748. if thebits = 0 then
  51749. pTDefRegMap(@Self)^.clr := $00000020
  51750. else
  51751. pTDefRegMap(@Self)^.&set := $00000020;
  51752. end;
  51753. function TUSB_U1CON.getTOKBUSY : TBits_1; inline;
  51754. begin
  51755. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51756. end;
  51757. procedure TUSB_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  51758. begin
  51759. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  51760. end;
  51761. function TUSB_U1ADDR.getDEVADDR : TBits_7; inline;
  51762. begin
  51763. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  51764. end;
  51765. procedure TUSB_U1ADDR.setLSPDEN; inline;
  51766. begin
  51767. pTDefRegMap(@Self)^.&set := $00000080;
  51768. end;
  51769. procedure TUSB_U1ADDR.clearLSPDEN; inline;
  51770. begin
  51771. pTDefRegMap(@Self)^.clr := $00000080;
  51772. end;
  51773. procedure TUSB_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  51774. begin
  51775. if thebits = 0 then
  51776. pTDefRegMap(@Self)^.clr := $00000080
  51777. else
  51778. pTDefRegMap(@Self)^.&set := $00000080;
  51779. end;
  51780. function TUSB_U1ADDR.getLSPDEN : TBits_1; inline;
  51781. begin
  51782. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  51783. end;
  51784. procedure TUSB_U1ADDR.setDEVADDR0; inline;
  51785. begin
  51786. pTDefRegMap(@Self)^.&set := $00000001;
  51787. end;
  51788. procedure TUSB_U1ADDR.clearDEVADDR0; inline;
  51789. begin
  51790. pTDefRegMap(@Self)^.clr := $00000001;
  51791. end;
  51792. procedure TUSB_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  51793. begin
  51794. if thebits = 0 then
  51795. pTDefRegMap(@Self)^.clr := $00000001
  51796. else
  51797. pTDefRegMap(@Self)^.&set := $00000001;
  51798. end;
  51799. function TUSB_U1ADDR.getDEVADDR0 : TBits_1; inline;
  51800. begin
  51801. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51802. end;
  51803. procedure TUSB_U1ADDR.setDEVADDR1; inline;
  51804. begin
  51805. pTDefRegMap(@Self)^.&set := $00000002;
  51806. end;
  51807. procedure TUSB_U1ADDR.clearDEVADDR1; inline;
  51808. begin
  51809. pTDefRegMap(@Self)^.clr := $00000002;
  51810. end;
  51811. procedure TUSB_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  51812. begin
  51813. if thebits = 0 then
  51814. pTDefRegMap(@Self)^.clr := $00000002
  51815. else
  51816. pTDefRegMap(@Self)^.&set := $00000002;
  51817. end;
  51818. function TUSB_U1ADDR.getDEVADDR1 : TBits_1; inline;
  51819. begin
  51820. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51821. end;
  51822. procedure TUSB_U1ADDR.setDEVADDR2; inline;
  51823. begin
  51824. pTDefRegMap(@Self)^.&set := $00000004;
  51825. end;
  51826. procedure TUSB_U1ADDR.clearDEVADDR2; inline;
  51827. begin
  51828. pTDefRegMap(@Self)^.clr := $00000004;
  51829. end;
  51830. procedure TUSB_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  51831. begin
  51832. if thebits = 0 then
  51833. pTDefRegMap(@Self)^.clr := $00000004
  51834. else
  51835. pTDefRegMap(@Self)^.&set := $00000004;
  51836. end;
  51837. function TUSB_U1ADDR.getDEVADDR2 : TBits_1; inline;
  51838. begin
  51839. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51840. end;
  51841. procedure TUSB_U1ADDR.setDEVADDR3; inline;
  51842. begin
  51843. pTDefRegMap(@Self)^.&set := $00000008;
  51844. end;
  51845. procedure TUSB_U1ADDR.clearDEVADDR3; inline;
  51846. begin
  51847. pTDefRegMap(@Self)^.clr := $00000008;
  51848. end;
  51849. procedure TUSB_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  51850. begin
  51851. if thebits = 0 then
  51852. pTDefRegMap(@Self)^.clr := $00000008
  51853. else
  51854. pTDefRegMap(@Self)^.&set := $00000008;
  51855. end;
  51856. function TUSB_U1ADDR.getDEVADDR3 : TBits_1; inline;
  51857. begin
  51858. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  51859. end;
  51860. procedure TUSB_U1ADDR.setDEVADDR4; inline;
  51861. begin
  51862. pTDefRegMap(@Self)^.&set := $00000010;
  51863. end;
  51864. procedure TUSB_U1ADDR.clearDEVADDR4; inline;
  51865. begin
  51866. pTDefRegMap(@Self)^.clr := $00000010;
  51867. end;
  51868. procedure TUSB_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  51869. begin
  51870. if thebits = 0 then
  51871. pTDefRegMap(@Self)^.clr := $00000010
  51872. else
  51873. pTDefRegMap(@Self)^.&set := $00000010;
  51874. end;
  51875. function TUSB_U1ADDR.getDEVADDR4 : TBits_1; inline;
  51876. begin
  51877. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  51878. end;
  51879. procedure TUSB_U1ADDR.setDEVADDR5; inline;
  51880. begin
  51881. pTDefRegMap(@Self)^.&set := $00000020;
  51882. end;
  51883. procedure TUSB_U1ADDR.clearDEVADDR5; inline;
  51884. begin
  51885. pTDefRegMap(@Self)^.clr := $00000020;
  51886. end;
  51887. procedure TUSB_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  51888. begin
  51889. if thebits = 0 then
  51890. pTDefRegMap(@Self)^.clr := $00000020
  51891. else
  51892. pTDefRegMap(@Self)^.&set := $00000020;
  51893. end;
  51894. function TUSB_U1ADDR.getDEVADDR5 : TBits_1; inline;
  51895. begin
  51896. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  51897. end;
  51898. procedure TUSB_U1ADDR.setDEVADDR6; inline;
  51899. begin
  51900. pTDefRegMap(@Self)^.&set := $00000040;
  51901. end;
  51902. procedure TUSB_U1ADDR.clearDEVADDR6; inline;
  51903. begin
  51904. pTDefRegMap(@Self)^.clr := $00000040;
  51905. end;
  51906. procedure TUSB_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  51907. begin
  51908. if thebits = 0 then
  51909. pTDefRegMap(@Self)^.clr := $00000040
  51910. else
  51911. pTDefRegMap(@Self)^.&set := $00000040;
  51912. end;
  51913. function TUSB_U1ADDR.getDEVADDR6 : TBits_1; inline;
  51914. begin
  51915. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  51916. end;
  51917. procedure TUSB_U1FRML.setFRML(thebits : TBits_8); inline;
  51918. begin
  51919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  51920. end;
  51921. function TUSB_U1FRML.getFRML : TBits_8; inline;
  51922. begin
  51923. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  51924. end;
  51925. procedure TUSB_U1FRML.setFRM0; inline;
  51926. begin
  51927. pTDefRegMap(@Self)^.&set := $00000001;
  51928. end;
  51929. procedure TUSB_U1FRML.clearFRM0; inline;
  51930. begin
  51931. pTDefRegMap(@Self)^.clr := $00000001;
  51932. end;
  51933. procedure TUSB_U1FRML.setFRM0(thebits : TBits_1); inline;
  51934. begin
  51935. if thebits = 0 then
  51936. pTDefRegMap(@Self)^.clr := $00000001
  51937. else
  51938. pTDefRegMap(@Self)^.&set := $00000001;
  51939. end;
  51940. function TUSB_U1FRML.getFRM0 : TBits_1; inline;
  51941. begin
  51942. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  51943. end;
  51944. procedure TUSB_U1FRML.setFRM1; inline;
  51945. begin
  51946. pTDefRegMap(@Self)^.&set := $00000002;
  51947. end;
  51948. procedure TUSB_U1FRML.clearFRM1; inline;
  51949. begin
  51950. pTDefRegMap(@Self)^.clr := $00000002;
  51951. end;
  51952. procedure TUSB_U1FRML.setFRM1(thebits : TBits_1); inline;
  51953. begin
  51954. if thebits = 0 then
  51955. pTDefRegMap(@Self)^.clr := $00000002
  51956. else
  51957. pTDefRegMap(@Self)^.&set := $00000002;
  51958. end;
  51959. function TUSB_U1FRML.getFRM1 : TBits_1; inline;
  51960. begin
  51961. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  51962. end;
  51963. procedure TUSB_U1FRML.setFRM2; inline;
  51964. begin
  51965. pTDefRegMap(@Self)^.&set := $00000004;
  51966. end;
  51967. procedure TUSB_U1FRML.clearFRM2; inline;
  51968. begin
  51969. pTDefRegMap(@Self)^.clr := $00000004;
  51970. end;
  51971. procedure TUSB_U1FRML.setFRM2(thebits : TBits_1); inline;
  51972. begin
  51973. if thebits = 0 then
  51974. pTDefRegMap(@Self)^.clr := $00000004
  51975. else
  51976. pTDefRegMap(@Self)^.&set := $00000004;
  51977. end;
  51978. function TUSB_U1FRML.getFRM2 : TBits_1; inline;
  51979. begin
  51980. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  51981. end;
  51982. procedure TUSB_U1FRML.setFRM3; inline;
  51983. begin
  51984. pTDefRegMap(@Self)^.&set := $00000008;
  51985. end;
  51986. procedure TUSB_U1FRML.clearFRM3; inline;
  51987. begin
  51988. pTDefRegMap(@Self)^.clr := $00000008;
  51989. end;
  51990. procedure TUSB_U1FRML.setFRM3(thebits : TBits_1); inline;
  51991. begin
  51992. if thebits = 0 then
  51993. pTDefRegMap(@Self)^.clr := $00000008
  51994. else
  51995. pTDefRegMap(@Self)^.&set := $00000008;
  51996. end;
  51997. function TUSB_U1FRML.getFRM3 : TBits_1; inline;
  51998. begin
  51999. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52000. end;
  52001. procedure TUSB_U1FRML.setFRM4; inline;
  52002. begin
  52003. pTDefRegMap(@Self)^.&set := $00000010;
  52004. end;
  52005. procedure TUSB_U1FRML.clearFRM4; inline;
  52006. begin
  52007. pTDefRegMap(@Self)^.clr := $00000010;
  52008. end;
  52009. procedure TUSB_U1FRML.setFRM4(thebits : TBits_1); inline;
  52010. begin
  52011. if thebits = 0 then
  52012. pTDefRegMap(@Self)^.clr := $00000010
  52013. else
  52014. pTDefRegMap(@Self)^.&set := $00000010;
  52015. end;
  52016. function TUSB_U1FRML.getFRM4 : TBits_1; inline;
  52017. begin
  52018. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52019. end;
  52020. procedure TUSB_U1FRML.setFRM5; inline;
  52021. begin
  52022. pTDefRegMap(@Self)^.&set := $00000020;
  52023. end;
  52024. procedure TUSB_U1FRML.clearFRM5; inline;
  52025. begin
  52026. pTDefRegMap(@Self)^.clr := $00000020;
  52027. end;
  52028. procedure TUSB_U1FRML.setFRM5(thebits : TBits_1); inline;
  52029. begin
  52030. if thebits = 0 then
  52031. pTDefRegMap(@Self)^.clr := $00000020
  52032. else
  52033. pTDefRegMap(@Self)^.&set := $00000020;
  52034. end;
  52035. function TUSB_U1FRML.getFRM5 : TBits_1; inline;
  52036. begin
  52037. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52038. end;
  52039. procedure TUSB_U1FRML.setFRM6; inline;
  52040. begin
  52041. pTDefRegMap(@Self)^.&set := $00000040;
  52042. end;
  52043. procedure TUSB_U1FRML.clearFRM6; inline;
  52044. begin
  52045. pTDefRegMap(@Self)^.clr := $00000040;
  52046. end;
  52047. procedure TUSB_U1FRML.setFRM6(thebits : TBits_1); inline;
  52048. begin
  52049. if thebits = 0 then
  52050. pTDefRegMap(@Self)^.clr := $00000040
  52051. else
  52052. pTDefRegMap(@Self)^.&set := $00000040;
  52053. end;
  52054. function TUSB_U1FRML.getFRM6 : TBits_1; inline;
  52055. begin
  52056. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52057. end;
  52058. procedure TUSB_U1FRML.setFRM7; inline;
  52059. begin
  52060. pTDefRegMap(@Self)^.&set := $00000080;
  52061. end;
  52062. procedure TUSB_U1FRML.clearFRM7; inline;
  52063. begin
  52064. pTDefRegMap(@Self)^.clr := $00000080;
  52065. end;
  52066. procedure TUSB_U1FRML.setFRM7(thebits : TBits_1); inline;
  52067. begin
  52068. if thebits = 0 then
  52069. pTDefRegMap(@Self)^.clr := $00000080
  52070. else
  52071. pTDefRegMap(@Self)^.&set := $00000080;
  52072. end;
  52073. function TUSB_U1FRML.getFRM7 : TBits_1; inline;
  52074. begin
  52075. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52076. end;
  52077. procedure TUSB_U1FRMH.setFRMH(thebits : TBits_3); inline;
  52078. begin
  52079. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  52080. end;
  52081. function TUSB_U1FRMH.getFRMH : TBits_3; inline;
  52082. begin
  52083. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  52084. end;
  52085. procedure TUSB_U1FRMH.setFRM8; inline;
  52086. begin
  52087. pTDefRegMap(@Self)^.&set := $00000001;
  52088. end;
  52089. procedure TUSB_U1FRMH.clearFRM8; inline;
  52090. begin
  52091. pTDefRegMap(@Self)^.clr := $00000001;
  52092. end;
  52093. procedure TUSB_U1FRMH.setFRM8(thebits : TBits_1); inline;
  52094. begin
  52095. if thebits = 0 then
  52096. pTDefRegMap(@Self)^.clr := $00000001
  52097. else
  52098. pTDefRegMap(@Self)^.&set := $00000001;
  52099. end;
  52100. function TUSB_U1FRMH.getFRM8 : TBits_1; inline;
  52101. begin
  52102. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52103. end;
  52104. procedure TUSB_U1FRMH.setFRM9; inline;
  52105. begin
  52106. pTDefRegMap(@Self)^.&set := $00000002;
  52107. end;
  52108. procedure TUSB_U1FRMH.clearFRM9; inline;
  52109. begin
  52110. pTDefRegMap(@Self)^.clr := $00000002;
  52111. end;
  52112. procedure TUSB_U1FRMH.setFRM9(thebits : TBits_1); inline;
  52113. begin
  52114. if thebits = 0 then
  52115. pTDefRegMap(@Self)^.clr := $00000002
  52116. else
  52117. pTDefRegMap(@Self)^.&set := $00000002;
  52118. end;
  52119. function TUSB_U1FRMH.getFRM9 : TBits_1; inline;
  52120. begin
  52121. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52122. end;
  52123. procedure TUSB_U1FRMH.setFRM10; inline;
  52124. begin
  52125. pTDefRegMap(@Self)^.&set := $00000004;
  52126. end;
  52127. procedure TUSB_U1FRMH.clearFRM10; inline;
  52128. begin
  52129. pTDefRegMap(@Self)^.clr := $00000004;
  52130. end;
  52131. procedure TUSB_U1FRMH.setFRM10(thebits : TBits_1); inline;
  52132. begin
  52133. if thebits = 0 then
  52134. pTDefRegMap(@Self)^.clr := $00000004
  52135. else
  52136. pTDefRegMap(@Self)^.&set := $00000004;
  52137. end;
  52138. function TUSB_U1FRMH.getFRM10 : TBits_1; inline;
  52139. begin
  52140. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52141. end;
  52142. procedure TUSB_U1TOK.setEP(thebits : TBits_4); inline;
  52143. begin
  52144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  52145. end;
  52146. function TUSB_U1TOK.getEP : TBits_4; inline;
  52147. begin
  52148. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  52149. end;
  52150. procedure TUSB_U1TOK.setPID(thebits : TBits_4); inline;
  52151. begin
  52152. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  52153. end;
  52154. function TUSB_U1TOK.getPID : TBits_4; inline;
  52155. begin
  52156. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  52157. end;
  52158. procedure TUSB_U1TOK.setEP0; inline;
  52159. begin
  52160. pTDefRegMap(@Self)^.&set := $00000001;
  52161. end;
  52162. procedure TUSB_U1TOK.clearEP0; inline;
  52163. begin
  52164. pTDefRegMap(@Self)^.clr := $00000001;
  52165. end;
  52166. procedure TUSB_U1TOK.setEP0(thebits : TBits_1); inline;
  52167. begin
  52168. if thebits = 0 then
  52169. pTDefRegMap(@Self)^.clr := $00000001
  52170. else
  52171. pTDefRegMap(@Self)^.&set := $00000001;
  52172. end;
  52173. function TUSB_U1TOK.getEP0 : TBits_1; inline;
  52174. begin
  52175. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52176. end;
  52177. procedure TUSB_U1TOK.setEP1; inline;
  52178. begin
  52179. pTDefRegMap(@Self)^.&set := $00000002;
  52180. end;
  52181. procedure TUSB_U1TOK.clearEP1; inline;
  52182. begin
  52183. pTDefRegMap(@Self)^.clr := $00000002;
  52184. end;
  52185. procedure TUSB_U1TOK.setEP1(thebits : TBits_1); inline;
  52186. begin
  52187. if thebits = 0 then
  52188. pTDefRegMap(@Self)^.clr := $00000002
  52189. else
  52190. pTDefRegMap(@Self)^.&set := $00000002;
  52191. end;
  52192. function TUSB_U1TOK.getEP1 : TBits_1; inline;
  52193. begin
  52194. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52195. end;
  52196. procedure TUSB_U1TOK.setEP2; inline;
  52197. begin
  52198. pTDefRegMap(@Self)^.&set := $00000004;
  52199. end;
  52200. procedure TUSB_U1TOK.clearEP2; inline;
  52201. begin
  52202. pTDefRegMap(@Self)^.clr := $00000004;
  52203. end;
  52204. procedure TUSB_U1TOK.setEP2(thebits : TBits_1); inline;
  52205. begin
  52206. if thebits = 0 then
  52207. pTDefRegMap(@Self)^.clr := $00000004
  52208. else
  52209. pTDefRegMap(@Self)^.&set := $00000004;
  52210. end;
  52211. function TUSB_U1TOK.getEP2 : TBits_1; inline;
  52212. begin
  52213. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52214. end;
  52215. procedure TUSB_U1TOK.setEP3; inline;
  52216. begin
  52217. pTDefRegMap(@Self)^.&set := $00000008;
  52218. end;
  52219. procedure TUSB_U1TOK.clearEP3; inline;
  52220. begin
  52221. pTDefRegMap(@Self)^.clr := $00000008;
  52222. end;
  52223. procedure TUSB_U1TOK.setEP3(thebits : TBits_1); inline;
  52224. begin
  52225. if thebits = 0 then
  52226. pTDefRegMap(@Self)^.clr := $00000008
  52227. else
  52228. pTDefRegMap(@Self)^.&set := $00000008;
  52229. end;
  52230. function TUSB_U1TOK.getEP3 : TBits_1; inline;
  52231. begin
  52232. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52233. end;
  52234. procedure TUSB_U1TOK.setPID0; inline;
  52235. begin
  52236. pTDefRegMap(@Self)^.&set := $00000010;
  52237. end;
  52238. procedure TUSB_U1TOK.clearPID0; inline;
  52239. begin
  52240. pTDefRegMap(@Self)^.clr := $00000010;
  52241. end;
  52242. procedure TUSB_U1TOK.setPID0(thebits : TBits_1); inline;
  52243. begin
  52244. if thebits = 0 then
  52245. pTDefRegMap(@Self)^.clr := $00000010
  52246. else
  52247. pTDefRegMap(@Self)^.&set := $00000010;
  52248. end;
  52249. function TUSB_U1TOK.getPID0 : TBits_1; inline;
  52250. begin
  52251. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52252. end;
  52253. procedure TUSB_U1TOK.setPID1; inline;
  52254. begin
  52255. pTDefRegMap(@Self)^.&set := $00000020;
  52256. end;
  52257. procedure TUSB_U1TOK.clearPID1; inline;
  52258. begin
  52259. pTDefRegMap(@Self)^.clr := $00000020;
  52260. end;
  52261. procedure TUSB_U1TOK.setPID1(thebits : TBits_1); inline;
  52262. begin
  52263. if thebits = 0 then
  52264. pTDefRegMap(@Self)^.clr := $00000020
  52265. else
  52266. pTDefRegMap(@Self)^.&set := $00000020;
  52267. end;
  52268. function TUSB_U1TOK.getPID1 : TBits_1; inline;
  52269. begin
  52270. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52271. end;
  52272. procedure TUSB_U1TOK.setPID2; inline;
  52273. begin
  52274. pTDefRegMap(@Self)^.&set := $00000040;
  52275. end;
  52276. procedure TUSB_U1TOK.clearPID2; inline;
  52277. begin
  52278. pTDefRegMap(@Self)^.clr := $00000040;
  52279. end;
  52280. procedure TUSB_U1TOK.setPID2(thebits : TBits_1); inline;
  52281. begin
  52282. if thebits = 0 then
  52283. pTDefRegMap(@Self)^.clr := $00000040
  52284. else
  52285. pTDefRegMap(@Self)^.&set := $00000040;
  52286. end;
  52287. function TUSB_U1TOK.getPID2 : TBits_1; inline;
  52288. begin
  52289. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52290. end;
  52291. procedure TUSB_U1TOK.setPID3; inline;
  52292. begin
  52293. pTDefRegMap(@Self)^.&set := $00000080;
  52294. end;
  52295. procedure TUSB_U1TOK.clearPID3; inline;
  52296. begin
  52297. pTDefRegMap(@Self)^.clr := $00000080;
  52298. end;
  52299. procedure TUSB_U1TOK.setPID3(thebits : TBits_1); inline;
  52300. begin
  52301. if thebits = 0 then
  52302. pTDefRegMap(@Self)^.clr := $00000080
  52303. else
  52304. pTDefRegMap(@Self)^.&set := $00000080;
  52305. end;
  52306. function TUSB_U1TOK.getPID3 : TBits_1; inline;
  52307. begin
  52308. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52309. end;
  52310. procedure TPORTA_TRISA.setTRISA0; inline;
  52311. begin
  52312. pTDefRegMap(@Self)^.&set := $00000001;
  52313. end;
  52314. procedure TPORTA_TRISA.clearTRISA0; inline;
  52315. begin
  52316. pTDefRegMap(@Self)^.clr := $00000001;
  52317. end;
  52318. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  52319. begin
  52320. if thebits = 0 then
  52321. pTDefRegMap(@Self)^.clr := $00000001
  52322. else
  52323. pTDefRegMap(@Self)^.&set := $00000001;
  52324. end;
  52325. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  52326. begin
  52327. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52328. end;
  52329. procedure TPORTA_TRISA.setTRISA1; inline;
  52330. begin
  52331. pTDefRegMap(@Self)^.&set := $00000002;
  52332. end;
  52333. procedure TPORTA_TRISA.clearTRISA1; inline;
  52334. begin
  52335. pTDefRegMap(@Self)^.clr := $00000002;
  52336. end;
  52337. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  52338. begin
  52339. if thebits = 0 then
  52340. pTDefRegMap(@Self)^.clr := $00000002
  52341. else
  52342. pTDefRegMap(@Self)^.&set := $00000002;
  52343. end;
  52344. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  52345. begin
  52346. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52347. end;
  52348. procedure TPORTA_TRISA.setTRISA2; inline;
  52349. begin
  52350. pTDefRegMap(@Self)^.&set := $00000004;
  52351. end;
  52352. procedure TPORTA_TRISA.clearTRISA2; inline;
  52353. begin
  52354. pTDefRegMap(@Self)^.clr := $00000004;
  52355. end;
  52356. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  52357. begin
  52358. if thebits = 0 then
  52359. pTDefRegMap(@Self)^.clr := $00000004
  52360. else
  52361. pTDefRegMap(@Self)^.&set := $00000004;
  52362. end;
  52363. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  52364. begin
  52365. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52366. end;
  52367. procedure TPORTA_TRISA.setTRISA3; inline;
  52368. begin
  52369. pTDefRegMap(@Self)^.&set := $00000008;
  52370. end;
  52371. procedure TPORTA_TRISA.clearTRISA3; inline;
  52372. begin
  52373. pTDefRegMap(@Self)^.clr := $00000008;
  52374. end;
  52375. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  52376. begin
  52377. if thebits = 0 then
  52378. pTDefRegMap(@Self)^.clr := $00000008
  52379. else
  52380. pTDefRegMap(@Self)^.&set := $00000008;
  52381. end;
  52382. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  52383. begin
  52384. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52385. end;
  52386. procedure TPORTA_TRISA.setTRISA4; inline;
  52387. begin
  52388. pTDefRegMap(@Self)^.&set := $00000010;
  52389. end;
  52390. procedure TPORTA_TRISA.clearTRISA4; inline;
  52391. begin
  52392. pTDefRegMap(@Self)^.clr := $00000010;
  52393. end;
  52394. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  52395. begin
  52396. if thebits = 0 then
  52397. pTDefRegMap(@Self)^.clr := $00000010
  52398. else
  52399. pTDefRegMap(@Self)^.&set := $00000010;
  52400. end;
  52401. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  52402. begin
  52403. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52404. end;
  52405. procedure TPORTA_TRISA.setTRISA5; inline;
  52406. begin
  52407. pTDefRegMap(@Self)^.&set := $00000020;
  52408. end;
  52409. procedure TPORTA_TRISA.clearTRISA5; inline;
  52410. begin
  52411. pTDefRegMap(@Self)^.clr := $00000020;
  52412. end;
  52413. procedure TPORTA_TRISA.setTRISA5(thebits : TBits_1); inline;
  52414. begin
  52415. if thebits = 0 then
  52416. pTDefRegMap(@Self)^.clr := $00000020
  52417. else
  52418. pTDefRegMap(@Self)^.&set := $00000020;
  52419. end;
  52420. function TPORTA_TRISA.getTRISA5 : TBits_1; inline;
  52421. begin
  52422. getTRISA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52423. end;
  52424. procedure TPORTA_TRISA.setTRISA6; inline;
  52425. begin
  52426. pTDefRegMap(@Self)^.&set := $00000040;
  52427. end;
  52428. procedure TPORTA_TRISA.clearTRISA6; inline;
  52429. begin
  52430. pTDefRegMap(@Self)^.clr := $00000040;
  52431. end;
  52432. procedure TPORTA_TRISA.setTRISA6(thebits : TBits_1); inline;
  52433. begin
  52434. if thebits = 0 then
  52435. pTDefRegMap(@Self)^.clr := $00000040
  52436. else
  52437. pTDefRegMap(@Self)^.&set := $00000040;
  52438. end;
  52439. function TPORTA_TRISA.getTRISA6 : TBits_1; inline;
  52440. begin
  52441. getTRISA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52442. end;
  52443. procedure TPORTA_TRISA.setTRISA7; inline;
  52444. begin
  52445. pTDefRegMap(@Self)^.&set := $00000080;
  52446. end;
  52447. procedure TPORTA_TRISA.clearTRISA7; inline;
  52448. begin
  52449. pTDefRegMap(@Self)^.clr := $00000080;
  52450. end;
  52451. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  52452. begin
  52453. if thebits = 0 then
  52454. pTDefRegMap(@Self)^.clr := $00000080
  52455. else
  52456. pTDefRegMap(@Self)^.&set := $00000080;
  52457. end;
  52458. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  52459. begin
  52460. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52461. end;
  52462. procedure TPORTA_TRISA.setTRISA9; inline;
  52463. begin
  52464. pTDefRegMap(@Self)^.&set := $00000200;
  52465. end;
  52466. procedure TPORTA_TRISA.clearTRISA9; inline;
  52467. begin
  52468. pTDefRegMap(@Self)^.clr := $00000200;
  52469. end;
  52470. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  52471. begin
  52472. if thebits = 0 then
  52473. pTDefRegMap(@Self)^.clr := $00000200
  52474. else
  52475. pTDefRegMap(@Self)^.&set := $00000200;
  52476. end;
  52477. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  52478. begin
  52479. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52480. end;
  52481. procedure TPORTA_TRISA.setTRISA10; inline;
  52482. begin
  52483. pTDefRegMap(@Self)^.&set := $00000400;
  52484. end;
  52485. procedure TPORTA_TRISA.clearTRISA10; inline;
  52486. begin
  52487. pTDefRegMap(@Self)^.clr := $00000400;
  52488. end;
  52489. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  52490. begin
  52491. if thebits = 0 then
  52492. pTDefRegMap(@Self)^.clr := $00000400
  52493. else
  52494. pTDefRegMap(@Self)^.&set := $00000400;
  52495. end;
  52496. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  52497. begin
  52498. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52499. end;
  52500. procedure TPORTA_TRISA.setTRISA14; inline;
  52501. begin
  52502. pTDefRegMap(@Self)^.&set := $00004000;
  52503. end;
  52504. procedure TPORTA_TRISA.clearTRISA14; inline;
  52505. begin
  52506. pTDefRegMap(@Self)^.clr := $00004000;
  52507. end;
  52508. procedure TPORTA_TRISA.setTRISA14(thebits : TBits_1); inline;
  52509. begin
  52510. if thebits = 0 then
  52511. pTDefRegMap(@Self)^.clr := $00004000
  52512. else
  52513. pTDefRegMap(@Self)^.&set := $00004000;
  52514. end;
  52515. function TPORTA_TRISA.getTRISA14 : TBits_1; inline;
  52516. begin
  52517. getTRISA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52518. end;
  52519. procedure TPORTA_TRISA.setTRISA15; inline;
  52520. begin
  52521. pTDefRegMap(@Self)^.&set := $00008000;
  52522. end;
  52523. procedure TPORTA_TRISA.clearTRISA15; inline;
  52524. begin
  52525. pTDefRegMap(@Self)^.clr := $00008000;
  52526. end;
  52527. procedure TPORTA_TRISA.setTRISA15(thebits : TBits_1); inline;
  52528. begin
  52529. if thebits = 0 then
  52530. pTDefRegMap(@Self)^.clr := $00008000
  52531. else
  52532. pTDefRegMap(@Self)^.&set := $00008000;
  52533. end;
  52534. function TPORTA_TRISA.getTRISA15 : TBits_1; inline;
  52535. begin
  52536. getTRISA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52537. end;
  52538. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  52539. begin
  52540. pTDefRegMap(@Self)^.val := thebits;
  52541. end;
  52542. function TPORTA_TRISA.getw : TBits_32; inline;
  52543. begin
  52544. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52545. end;
  52546. procedure TPORTA_PORTA.setRA0; inline;
  52547. begin
  52548. pTDefRegMap(@Self)^.&set := $00000001;
  52549. end;
  52550. procedure TPORTA_PORTA.clearRA0; inline;
  52551. begin
  52552. pTDefRegMap(@Self)^.clr := $00000001;
  52553. end;
  52554. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  52555. begin
  52556. if thebits = 0 then
  52557. pTDefRegMap(@Self)^.clr := $00000001
  52558. else
  52559. pTDefRegMap(@Self)^.&set := $00000001;
  52560. end;
  52561. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  52562. begin
  52563. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52564. end;
  52565. procedure TPORTA_PORTA.setRA1; inline;
  52566. begin
  52567. pTDefRegMap(@Self)^.&set := $00000002;
  52568. end;
  52569. procedure TPORTA_PORTA.clearRA1; inline;
  52570. begin
  52571. pTDefRegMap(@Self)^.clr := $00000002;
  52572. end;
  52573. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  52574. begin
  52575. if thebits = 0 then
  52576. pTDefRegMap(@Self)^.clr := $00000002
  52577. else
  52578. pTDefRegMap(@Self)^.&set := $00000002;
  52579. end;
  52580. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  52581. begin
  52582. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52583. end;
  52584. procedure TPORTA_PORTA.setRA2; inline;
  52585. begin
  52586. pTDefRegMap(@Self)^.&set := $00000004;
  52587. end;
  52588. procedure TPORTA_PORTA.clearRA2; inline;
  52589. begin
  52590. pTDefRegMap(@Self)^.clr := $00000004;
  52591. end;
  52592. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  52593. begin
  52594. if thebits = 0 then
  52595. pTDefRegMap(@Self)^.clr := $00000004
  52596. else
  52597. pTDefRegMap(@Self)^.&set := $00000004;
  52598. end;
  52599. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  52600. begin
  52601. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52602. end;
  52603. procedure TPORTA_PORTA.setRA3; inline;
  52604. begin
  52605. pTDefRegMap(@Self)^.&set := $00000008;
  52606. end;
  52607. procedure TPORTA_PORTA.clearRA3; inline;
  52608. begin
  52609. pTDefRegMap(@Self)^.clr := $00000008;
  52610. end;
  52611. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  52612. begin
  52613. if thebits = 0 then
  52614. pTDefRegMap(@Self)^.clr := $00000008
  52615. else
  52616. pTDefRegMap(@Self)^.&set := $00000008;
  52617. end;
  52618. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  52619. begin
  52620. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52621. end;
  52622. procedure TPORTA_PORTA.setRA4; inline;
  52623. begin
  52624. pTDefRegMap(@Self)^.&set := $00000010;
  52625. end;
  52626. procedure TPORTA_PORTA.clearRA4; inline;
  52627. begin
  52628. pTDefRegMap(@Self)^.clr := $00000010;
  52629. end;
  52630. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  52631. begin
  52632. if thebits = 0 then
  52633. pTDefRegMap(@Self)^.clr := $00000010
  52634. else
  52635. pTDefRegMap(@Self)^.&set := $00000010;
  52636. end;
  52637. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  52638. begin
  52639. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52640. end;
  52641. procedure TPORTA_PORTA.setRA5; inline;
  52642. begin
  52643. pTDefRegMap(@Self)^.&set := $00000020;
  52644. end;
  52645. procedure TPORTA_PORTA.clearRA5; inline;
  52646. begin
  52647. pTDefRegMap(@Self)^.clr := $00000020;
  52648. end;
  52649. procedure TPORTA_PORTA.setRA5(thebits : TBits_1); inline;
  52650. begin
  52651. if thebits = 0 then
  52652. pTDefRegMap(@Self)^.clr := $00000020
  52653. else
  52654. pTDefRegMap(@Self)^.&set := $00000020;
  52655. end;
  52656. function TPORTA_PORTA.getRA5 : TBits_1; inline;
  52657. begin
  52658. getRA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52659. end;
  52660. procedure TPORTA_PORTA.setRA6; inline;
  52661. begin
  52662. pTDefRegMap(@Self)^.&set := $00000040;
  52663. end;
  52664. procedure TPORTA_PORTA.clearRA6; inline;
  52665. begin
  52666. pTDefRegMap(@Self)^.clr := $00000040;
  52667. end;
  52668. procedure TPORTA_PORTA.setRA6(thebits : TBits_1); inline;
  52669. begin
  52670. if thebits = 0 then
  52671. pTDefRegMap(@Self)^.clr := $00000040
  52672. else
  52673. pTDefRegMap(@Self)^.&set := $00000040;
  52674. end;
  52675. function TPORTA_PORTA.getRA6 : TBits_1; inline;
  52676. begin
  52677. getRA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52678. end;
  52679. procedure TPORTA_PORTA.setRA7; inline;
  52680. begin
  52681. pTDefRegMap(@Self)^.&set := $00000080;
  52682. end;
  52683. procedure TPORTA_PORTA.clearRA7; inline;
  52684. begin
  52685. pTDefRegMap(@Self)^.clr := $00000080;
  52686. end;
  52687. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  52688. begin
  52689. if thebits = 0 then
  52690. pTDefRegMap(@Self)^.clr := $00000080
  52691. else
  52692. pTDefRegMap(@Self)^.&set := $00000080;
  52693. end;
  52694. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  52695. begin
  52696. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52697. end;
  52698. procedure TPORTA_PORTA.setRA9; inline;
  52699. begin
  52700. pTDefRegMap(@Self)^.&set := $00000200;
  52701. end;
  52702. procedure TPORTA_PORTA.clearRA9; inline;
  52703. begin
  52704. pTDefRegMap(@Self)^.clr := $00000200;
  52705. end;
  52706. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  52707. begin
  52708. if thebits = 0 then
  52709. pTDefRegMap(@Self)^.clr := $00000200
  52710. else
  52711. pTDefRegMap(@Self)^.&set := $00000200;
  52712. end;
  52713. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  52714. begin
  52715. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52716. end;
  52717. procedure TPORTA_PORTA.setRA10; inline;
  52718. begin
  52719. pTDefRegMap(@Self)^.&set := $00000400;
  52720. end;
  52721. procedure TPORTA_PORTA.clearRA10; inline;
  52722. begin
  52723. pTDefRegMap(@Self)^.clr := $00000400;
  52724. end;
  52725. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  52726. begin
  52727. if thebits = 0 then
  52728. pTDefRegMap(@Self)^.clr := $00000400
  52729. else
  52730. pTDefRegMap(@Self)^.&set := $00000400;
  52731. end;
  52732. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  52733. begin
  52734. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52735. end;
  52736. procedure TPORTA_PORTA.setRA14; inline;
  52737. begin
  52738. pTDefRegMap(@Self)^.&set := $00004000;
  52739. end;
  52740. procedure TPORTA_PORTA.clearRA14; inline;
  52741. begin
  52742. pTDefRegMap(@Self)^.clr := $00004000;
  52743. end;
  52744. procedure TPORTA_PORTA.setRA14(thebits : TBits_1); inline;
  52745. begin
  52746. if thebits = 0 then
  52747. pTDefRegMap(@Self)^.clr := $00004000
  52748. else
  52749. pTDefRegMap(@Self)^.&set := $00004000;
  52750. end;
  52751. function TPORTA_PORTA.getRA14 : TBits_1; inline;
  52752. begin
  52753. getRA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52754. end;
  52755. procedure TPORTA_PORTA.setRA15; inline;
  52756. begin
  52757. pTDefRegMap(@Self)^.&set := $00008000;
  52758. end;
  52759. procedure TPORTA_PORTA.clearRA15; inline;
  52760. begin
  52761. pTDefRegMap(@Self)^.clr := $00008000;
  52762. end;
  52763. procedure TPORTA_PORTA.setRA15(thebits : TBits_1); inline;
  52764. begin
  52765. if thebits = 0 then
  52766. pTDefRegMap(@Self)^.clr := $00008000
  52767. else
  52768. pTDefRegMap(@Self)^.&set := $00008000;
  52769. end;
  52770. function TPORTA_PORTA.getRA15 : TBits_1; inline;
  52771. begin
  52772. getRA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  52773. end;
  52774. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  52775. begin
  52776. pTDefRegMap(@Self)^.val := thebits;
  52777. end;
  52778. function TPORTA_PORTA.getw : TBits_32; inline;
  52779. begin
  52780. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  52781. end;
  52782. procedure TPORTA_LATA.setLATA0; inline;
  52783. begin
  52784. pTDefRegMap(@Self)^.&set := $00000001;
  52785. end;
  52786. procedure TPORTA_LATA.clearLATA0; inline;
  52787. begin
  52788. pTDefRegMap(@Self)^.clr := $00000001;
  52789. end;
  52790. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  52791. begin
  52792. if thebits = 0 then
  52793. pTDefRegMap(@Self)^.clr := $00000001
  52794. else
  52795. pTDefRegMap(@Self)^.&set := $00000001;
  52796. end;
  52797. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  52798. begin
  52799. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  52800. end;
  52801. procedure TPORTA_LATA.setLATA1; inline;
  52802. begin
  52803. pTDefRegMap(@Self)^.&set := $00000002;
  52804. end;
  52805. procedure TPORTA_LATA.clearLATA1; inline;
  52806. begin
  52807. pTDefRegMap(@Self)^.clr := $00000002;
  52808. end;
  52809. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  52810. begin
  52811. if thebits = 0 then
  52812. pTDefRegMap(@Self)^.clr := $00000002
  52813. else
  52814. pTDefRegMap(@Self)^.&set := $00000002;
  52815. end;
  52816. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  52817. begin
  52818. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  52819. end;
  52820. procedure TPORTA_LATA.setLATA2; inline;
  52821. begin
  52822. pTDefRegMap(@Self)^.&set := $00000004;
  52823. end;
  52824. procedure TPORTA_LATA.clearLATA2; inline;
  52825. begin
  52826. pTDefRegMap(@Self)^.clr := $00000004;
  52827. end;
  52828. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  52829. begin
  52830. if thebits = 0 then
  52831. pTDefRegMap(@Self)^.clr := $00000004
  52832. else
  52833. pTDefRegMap(@Self)^.&set := $00000004;
  52834. end;
  52835. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  52836. begin
  52837. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  52838. end;
  52839. procedure TPORTA_LATA.setLATA3; inline;
  52840. begin
  52841. pTDefRegMap(@Self)^.&set := $00000008;
  52842. end;
  52843. procedure TPORTA_LATA.clearLATA3; inline;
  52844. begin
  52845. pTDefRegMap(@Self)^.clr := $00000008;
  52846. end;
  52847. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  52848. begin
  52849. if thebits = 0 then
  52850. pTDefRegMap(@Self)^.clr := $00000008
  52851. else
  52852. pTDefRegMap(@Self)^.&set := $00000008;
  52853. end;
  52854. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  52855. begin
  52856. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  52857. end;
  52858. procedure TPORTA_LATA.setLATA4; inline;
  52859. begin
  52860. pTDefRegMap(@Self)^.&set := $00000010;
  52861. end;
  52862. procedure TPORTA_LATA.clearLATA4; inline;
  52863. begin
  52864. pTDefRegMap(@Self)^.clr := $00000010;
  52865. end;
  52866. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  52867. begin
  52868. if thebits = 0 then
  52869. pTDefRegMap(@Self)^.clr := $00000010
  52870. else
  52871. pTDefRegMap(@Self)^.&set := $00000010;
  52872. end;
  52873. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  52874. begin
  52875. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  52876. end;
  52877. procedure TPORTA_LATA.setLATA5; inline;
  52878. begin
  52879. pTDefRegMap(@Self)^.&set := $00000020;
  52880. end;
  52881. procedure TPORTA_LATA.clearLATA5; inline;
  52882. begin
  52883. pTDefRegMap(@Self)^.clr := $00000020;
  52884. end;
  52885. procedure TPORTA_LATA.setLATA5(thebits : TBits_1); inline;
  52886. begin
  52887. if thebits = 0 then
  52888. pTDefRegMap(@Self)^.clr := $00000020
  52889. else
  52890. pTDefRegMap(@Self)^.&set := $00000020;
  52891. end;
  52892. function TPORTA_LATA.getLATA5 : TBits_1; inline;
  52893. begin
  52894. getLATA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  52895. end;
  52896. procedure TPORTA_LATA.setLATA6; inline;
  52897. begin
  52898. pTDefRegMap(@Self)^.&set := $00000040;
  52899. end;
  52900. procedure TPORTA_LATA.clearLATA6; inline;
  52901. begin
  52902. pTDefRegMap(@Self)^.clr := $00000040;
  52903. end;
  52904. procedure TPORTA_LATA.setLATA6(thebits : TBits_1); inline;
  52905. begin
  52906. if thebits = 0 then
  52907. pTDefRegMap(@Self)^.clr := $00000040
  52908. else
  52909. pTDefRegMap(@Self)^.&set := $00000040;
  52910. end;
  52911. function TPORTA_LATA.getLATA6 : TBits_1; inline;
  52912. begin
  52913. getLATA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  52914. end;
  52915. procedure TPORTA_LATA.setLATA7; inline;
  52916. begin
  52917. pTDefRegMap(@Self)^.&set := $00000080;
  52918. end;
  52919. procedure TPORTA_LATA.clearLATA7; inline;
  52920. begin
  52921. pTDefRegMap(@Self)^.clr := $00000080;
  52922. end;
  52923. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  52924. begin
  52925. if thebits = 0 then
  52926. pTDefRegMap(@Self)^.clr := $00000080
  52927. else
  52928. pTDefRegMap(@Self)^.&set := $00000080;
  52929. end;
  52930. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  52931. begin
  52932. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  52933. end;
  52934. procedure TPORTA_LATA.setLATA9; inline;
  52935. begin
  52936. pTDefRegMap(@Self)^.&set := $00000200;
  52937. end;
  52938. procedure TPORTA_LATA.clearLATA9; inline;
  52939. begin
  52940. pTDefRegMap(@Self)^.clr := $00000200;
  52941. end;
  52942. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  52943. begin
  52944. if thebits = 0 then
  52945. pTDefRegMap(@Self)^.clr := $00000200
  52946. else
  52947. pTDefRegMap(@Self)^.&set := $00000200;
  52948. end;
  52949. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  52950. begin
  52951. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  52952. end;
  52953. procedure TPORTA_LATA.setLATA10; inline;
  52954. begin
  52955. pTDefRegMap(@Self)^.&set := $00000400;
  52956. end;
  52957. procedure TPORTA_LATA.clearLATA10; inline;
  52958. begin
  52959. pTDefRegMap(@Self)^.clr := $00000400;
  52960. end;
  52961. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  52962. begin
  52963. if thebits = 0 then
  52964. pTDefRegMap(@Self)^.clr := $00000400
  52965. else
  52966. pTDefRegMap(@Self)^.&set := $00000400;
  52967. end;
  52968. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  52969. begin
  52970. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  52971. end;
  52972. procedure TPORTA_LATA.setLATA14; inline;
  52973. begin
  52974. pTDefRegMap(@Self)^.&set := $00004000;
  52975. end;
  52976. procedure TPORTA_LATA.clearLATA14; inline;
  52977. begin
  52978. pTDefRegMap(@Self)^.clr := $00004000;
  52979. end;
  52980. procedure TPORTA_LATA.setLATA14(thebits : TBits_1); inline;
  52981. begin
  52982. if thebits = 0 then
  52983. pTDefRegMap(@Self)^.clr := $00004000
  52984. else
  52985. pTDefRegMap(@Self)^.&set := $00004000;
  52986. end;
  52987. function TPORTA_LATA.getLATA14 : TBits_1; inline;
  52988. begin
  52989. getLATA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  52990. end;
  52991. procedure TPORTA_LATA.setLATA15; inline;
  52992. begin
  52993. pTDefRegMap(@Self)^.&set := $00008000;
  52994. end;
  52995. procedure TPORTA_LATA.clearLATA15; inline;
  52996. begin
  52997. pTDefRegMap(@Self)^.clr := $00008000;
  52998. end;
  52999. procedure TPORTA_LATA.setLATA15(thebits : TBits_1); inline;
  53000. begin
  53001. if thebits = 0 then
  53002. pTDefRegMap(@Self)^.clr := $00008000
  53003. else
  53004. pTDefRegMap(@Self)^.&set := $00008000;
  53005. end;
  53006. function TPORTA_LATA.getLATA15 : TBits_1; inline;
  53007. begin
  53008. getLATA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53009. end;
  53010. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  53011. begin
  53012. pTDefRegMap(@Self)^.val := thebits;
  53013. end;
  53014. function TPORTA_LATA.getw : TBits_32; inline;
  53015. begin
  53016. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53017. end;
  53018. procedure TPORTA_ODCA.setODCA0; inline;
  53019. begin
  53020. pTDefRegMap(@Self)^.&set := $00000001;
  53021. end;
  53022. procedure TPORTA_ODCA.clearODCA0; inline;
  53023. begin
  53024. pTDefRegMap(@Self)^.clr := $00000001;
  53025. end;
  53026. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  53027. begin
  53028. if thebits = 0 then
  53029. pTDefRegMap(@Self)^.clr := $00000001
  53030. else
  53031. pTDefRegMap(@Self)^.&set := $00000001;
  53032. end;
  53033. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  53034. begin
  53035. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53036. end;
  53037. procedure TPORTA_ODCA.setODCA1; inline;
  53038. begin
  53039. pTDefRegMap(@Self)^.&set := $00000002;
  53040. end;
  53041. procedure TPORTA_ODCA.clearODCA1; inline;
  53042. begin
  53043. pTDefRegMap(@Self)^.clr := $00000002;
  53044. end;
  53045. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  53046. begin
  53047. if thebits = 0 then
  53048. pTDefRegMap(@Self)^.clr := $00000002
  53049. else
  53050. pTDefRegMap(@Self)^.&set := $00000002;
  53051. end;
  53052. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  53053. begin
  53054. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53055. end;
  53056. procedure TPORTA_ODCA.setODCA2; inline;
  53057. begin
  53058. pTDefRegMap(@Self)^.&set := $00000004;
  53059. end;
  53060. procedure TPORTA_ODCA.clearODCA2; inline;
  53061. begin
  53062. pTDefRegMap(@Self)^.clr := $00000004;
  53063. end;
  53064. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  53065. begin
  53066. if thebits = 0 then
  53067. pTDefRegMap(@Self)^.clr := $00000004
  53068. else
  53069. pTDefRegMap(@Self)^.&set := $00000004;
  53070. end;
  53071. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  53072. begin
  53073. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53074. end;
  53075. procedure TPORTA_ODCA.setODCA3; inline;
  53076. begin
  53077. pTDefRegMap(@Self)^.&set := $00000008;
  53078. end;
  53079. procedure TPORTA_ODCA.clearODCA3; inline;
  53080. begin
  53081. pTDefRegMap(@Self)^.clr := $00000008;
  53082. end;
  53083. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  53084. begin
  53085. if thebits = 0 then
  53086. pTDefRegMap(@Self)^.clr := $00000008
  53087. else
  53088. pTDefRegMap(@Self)^.&set := $00000008;
  53089. end;
  53090. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  53091. begin
  53092. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53093. end;
  53094. procedure TPORTA_ODCA.setODCA4; inline;
  53095. begin
  53096. pTDefRegMap(@Self)^.&set := $00000010;
  53097. end;
  53098. procedure TPORTA_ODCA.clearODCA4; inline;
  53099. begin
  53100. pTDefRegMap(@Self)^.clr := $00000010;
  53101. end;
  53102. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  53103. begin
  53104. if thebits = 0 then
  53105. pTDefRegMap(@Self)^.clr := $00000010
  53106. else
  53107. pTDefRegMap(@Self)^.&set := $00000010;
  53108. end;
  53109. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  53110. begin
  53111. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53112. end;
  53113. procedure TPORTA_ODCA.setODCA5; inline;
  53114. begin
  53115. pTDefRegMap(@Self)^.&set := $00000020;
  53116. end;
  53117. procedure TPORTA_ODCA.clearODCA5; inline;
  53118. begin
  53119. pTDefRegMap(@Self)^.clr := $00000020;
  53120. end;
  53121. procedure TPORTA_ODCA.setODCA5(thebits : TBits_1); inline;
  53122. begin
  53123. if thebits = 0 then
  53124. pTDefRegMap(@Self)^.clr := $00000020
  53125. else
  53126. pTDefRegMap(@Self)^.&set := $00000020;
  53127. end;
  53128. function TPORTA_ODCA.getODCA5 : TBits_1; inline;
  53129. begin
  53130. getODCA5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53131. end;
  53132. procedure TPORTA_ODCA.setODCA6; inline;
  53133. begin
  53134. pTDefRegMap(@Self)^.&set := $00000040;
  53135. end;
  53136. procedure TPORTA_ODCA.clearODCA6; inline;
  53137. begin
  53138. pTDefRegMap(@Self)^.clr := $00000040;
  53139. end;
  53140. procedure TPORTA_ODCA.setODCA6(thebits : TBits_1); inline;
  53141. begin
  53142. if thebits = 0 then
  53143. pTDefRegMap(@Self)^.clr := $00000040
  53144. else
  53145. pTDefRegMap(@Self)^.&set := $00000040;
  53146. end;
  53147. function TPORTA_ODCA.getODCA6 : TBits_1; inline;
  53148. begin
  53149. getODCA6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53150. end;
  53151. procedure TPORTA_ODCA.setODCA7; inline;
  53152. begin
  53153. pTDefRegMap(@Self)^.&set := $00000080;
  53154. end;
  53155. procedure TPORTA_ODCA.clearODCA7; inline;
  53156. begin
  53157. pTDefRegMap(@Self)^.clr := $00000080;
  53158. end;
  53159. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  53160. begin
  53161. if thebits = 0 then
  53162. pTDefRegMap(@Self)^.clr := $00000080
  53163. else
  53164. pTDefRegMap(@Self)^.&set := $00000080;
  53165. end;
  53166. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  53167. begin
  53168. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53169. end;
  53170. procedure TPORTA_ODCA.setODCA9; inline;
  53171. begin
  53172. pTDefRegMap(@Self)^.&set := $00000200;
  53173. end;
  53174. procedure TPORTA_ODCA.clearODCA9; inline;
  53175. begin
  53176. pTDefRegMap(@Self)^.clr := $00000200;
  53177. end;
  53178. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  53179. begin
  53180. if thebits = 0 then
  53181. pTDefRegMap(@Self)^.clr := $00000200
  53182. else
  53183. pTDefRegMap(@Self)^.&set := $00000200;
  53184. end;
  53185. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  53186. begin
  53187. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53188. end;
  53189. procedure TPORTA_ODCA.setODCA10; inline;
  53190. begin
  53191. pTDefRegMap(@Self)^.&set := $00000400;
  53192. end;
  53193. procedure TPORTA_ODCA.clearODCA10; inline;
  53194. begin
  53195. pTDefRegMap(@Self)^.clr := $00000400;
  53196. end;
  53197. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  53198. begin
  53199. if thebits = 0 then
  53200. pTDefRegMap(@Self)^.clr := $00000400
  53201. else
  53202. pTDefRegMap(@Self)^.&set := $00000400;
  53203. end;
  53204. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  53205. begin
  53206. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53207. end;
  53208. procedure TPORTA_ODCA.setODCA14; inline;
  53209. begin
  53210. pTDefRegMap(@Self)^.&set := $00004000;
  53211. end;
  53212. procedure TPORTA_ODCA.clearODCA14; inline;
  53213. begin
  53214. pTDefRegMap(@Self)^.clr := $00004000;
  53215. end;
  53216. procedure TPORTA_ODCA.setODCA14(thebits : TBits_1); inline;
  53217. begin
  53218. if thebits = 0 then
  53219. pTDefRegMap(@Self)^.clr := $00004000
  53220. else
  53221. pTDefRegMap(@Self)^.&set := $00004000;
  53222. end;
  53223. function TPORTA_ODCA.getODCA14 : TBits_1; inline;
  53224. begin
  53225. getODCA14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53226. end;
  53227. procedure TPORTA_ODCA.setODCA15; inline;
  53228. begin
  53229. pTDefRegMap(@Self)^.&set := $00008000;
  53230. end;
  53231. procedure TPORTA_ODCA.clearODCA15; inline;
  53232. begin
  53233. pTDefRegMap(@Self)^.clr := $00008000;
  53234. end;
  53235. procedure TPORTA_ODCA.setODCA15(thebits : TBits_1); inline;
  53236. begin
  53237. if thebits = 0 then
  53238. pTDefRegMap(@Self)^.clr := $00008000
  53239. else
  53240. pTDefRegMap(@Self)^.&set := $00008000;
  53241. end;
  53242. function TPORTA_ODCA.getODCA15 : TBits_1; inline;
  53243. begin
  53244. getODCA15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53245. end;
  53246. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  53247. begin
  53248. pTDefRegMap(@Self)^.val := thebits;
  53249. end;
  53250. function TPORTA_ODCA.getw : TBits_32; inline;
  53251. begin
  53252. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53253. end;
  53254. procedure TPORTB_TRISB.setTRISB0; inline;
  53255. begin
  53256. pTDefRegMap(@Self)^.&set := $00000001;
  53257. end;
  53258. procedure TPORTB_TRISB.clearTRISB0; inline;
  53259. begin
  53260. pTDefRegMap(@Self)^.clr := $00000001;
  53261. end;
  53262. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  53263. begin
  53264. if thebits = 0 then
  53265. pTDefRegMap(@Self)^.clr := $00000001
  53266. else
  53267. pTDefRegMap(@Self)^.&set := $00000001;
  53268. end;
  53269. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  53270. begin
  53271. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53272. end;
  53273. procedure TPORTB_TRISB.setTRISB1; inline;
  53274. begin
  53275. pTDefRegMap(@Self)^.&set := $00000002;
  53276. end;
  53277. procedure TPORTB_TRISB.clearTRISB1; inline;
  53278. begin
  53279. pTDefRegMap(@Self)^.clr := $00000002;
  53280. end;
  53281. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  53282. begin
  53283. if thebits = 0 then
  53284. pTDefRegMap(@Self)^.clr := $00000002
  53285. else
  53286. pTDefRegMap(@Self)^.&set := $00000002;
  53287. end;
  53288. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  53289. begin
  53290. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53291. end;
  53292. procedure TPORTB_TRISB.setTRISB2; inline;
  53293. begin
  53294. pTDefRegMap(@Self)^.&set := $00000004;
  53295. end;
  53296. procedure TPORTB_TRISB.clearTRISB2; inline;
  53297. begin
  53298. pTDefRegMap(@Self)^.clr := $00000004;
  53299. end;
  53300. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  53301. begin
  53302. if thebits = 0 then
  53303. pTDefRegMap(@Self)^.clr := $00000004
  53304. else
  53305. pTDefRegMap(@Self)^.&set := $00000004;
  53306. end;
  53307. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  53308. begin
  53309. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53310. end;
  53311. procedure TPORTB_TRISB.setTRISB3; inline;
  53312. begin
  53313. pTDefRegMap(@Self)^.&set := $00000008;
  53314. end;
  53315. procedure TPORTB_TRISB.clearTRISB3; inline;
  53316. begin
  53317. pTDefRegMap(@Self)^.clr := $00000008;
  53318. end;
  53319. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  53320. begin
  53321. if thebits = 0 then
  53322. pTDefRegMap(@Self)^.clr := $00000008
  53323. else
  53324. pTDefRegMap(@Self)^.&set := $00000008;
  53325. end;
  53326. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  53327. begin
  53328. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53329. end;
  53330. procedure TPORTB_TRISB.setTRISB4; inline;
  53331. begin
  53332. pTDefRegMap(@Self)^.&set := $00000010;
  53333. end;
  53334. procedure TPORTB_TRISB.clearTRISB4; inline;
  53335. begin
  53336. pTDefRegMap(@Self)^.clr := $00000010;
  53337. end;
  53338. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  53339. begin
  53340. if thebits = 0 then
  53341. pTDefRegMap(@Self)^.clr := $00000010
  53342. else
  53343. pTDefRegMap(@Self)^.&set := $00000010;
  53344. end;
  53345. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  53346. begin
  53347. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53348. end;
  53349. procedure TPORTB_TRISB.setTRISB5; inline;
  53350. begin
  53351. pTDefRegMap(@Self)^.&set := $00000020;
  53352. end;
  53353. procedure TPORTB_TRISB.clearTRISB5; inline;
  53354. begin
  53355. pTDefRegMap(@Self)^.clr := $00000020;
  53356. end;
  53357. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  53358. begin
  53359. if thebits = 0 then
  53360. pTDefRegMap(@Self)^.clr := $00000020
  53361. else
  53362. pTDefRegMap(@Self)^.&set := $00000020;
  53363. end;
  53364. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  53365. begin
  53366. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53367. end;
  53368. procedure TPORTB_TRISB.setTRISB6; inline;
  53369. begin
  53370. pTDefRegMap(@Self)^.&set := $00000040;
  53371. end;
  53372. procedure TPORTB_TRISB.clearTRISB6; inline;
  53373. begin
  53374. pTDefRegMap(@Self)^.clr := $00000040;
  53375. end;
  53376. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  53377. begin
  53378. if thebits = 0 then
  53379. pTDefRegMap(@Self)^.clr := $00000040
  53380. else
  53381. pTDefRegMap(@Self)^.&set := $00000040;
  53382. end;
  53383. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  53384. begin
  53385. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53386. end;
  53387. procedure TPORTB_TRISB.setTRISB7; inline;
  53388. begin
  53389. pTDefRegMap(@Self)^.&set := $00000080;
  53390. end;
  53391. procedure TPORTB_TRISB.clearTRISB7; inline;
  53392. begin
  53393. pTDefRegMap(@Self)^.clr := $00000080;
  53394. end;
  53395. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  53396. begin
  53397. if thebits = 0 then
  53398. pTDefRegMap(@Self)^.clr := $00000080
  53399. else
  53400. pTDefRegMap(@Self)^.&set := $00000080;
  53401. end;
  53402. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  53403. begin
  53404. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53405. end;
  53406. procedure TPORTB_TRISB.setTRISB8; inline;
  53407. begin
  53408. pTDefRegMap(@Self)^.&set := $00000100;
  53409. end;
  53410. procedure TPORTB_TRISB.clearTRISB8; inline;
  53411. begin
  53412. pTDefRegMap(@Self)^.clr := $00000100;
  53413. end;
  53414. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  53415. begin
  53416. if thebits = 0 then
  53417. pTDefRegMap(@Self)^.clr := $00000100
  53418. else
  53419. pTDefRegMap(@Self)^.&set := $00000100;
  53420. end;
  53421. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  53422. begin
  53423. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53424. end;
  53425. procedure TPORTB_TRISB.setTRISB9; inline;
  53426. begin
  53427. pTDefRegMap(@Self)^.&set := $00000200;
  53428. end;
  53429. procedure TPORTB_TRISB.clearTRISB9; inline;
  53430. begin
  53431. pTDefRegMap(@Self)^.clr := $00000200;
  53432. end;
  53433. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  53434. begin
  53435. if thebits = 0 then
  53436. pTDefRegMap(@Self)^.clr := $00000200
  53437. else
  53438. pTDefRegMap(@Self)^.&set := $00000200;
  53439. end;
  53440. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  53441. begin
  53442. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53443. end;
  53444. procedure TPORTB_TRISB.setTRISB10; inline;
  53445. begin
  53446. pTDefRegMap(@Self)^.&set := $00000400;
  53447. end;
  53448. procedure TPORTB_TRISB.clearTRISB10; inline;
  53449. begin
  53450. pTDefRegMap(@Self)^.clr := $00000400;
  53451. end;
  53452. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  53453. begin
  53454. if thebits = 0 then
  53455. pTDefRegMap(@Self)^.clr := $00000400
  53456. else
  53457. pTDefRegMap(@Self)^.&set := $00000400;
  53458. end;
  53459. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  53460. begin
  53461. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53462. end;
  53463. procedure TPORTB_TRISB.setTRISB11; inline;
  53464. begin
  53465. pTDefRegMap(@Self)^.&set := $00000800;
  53466. end;
  53467. procedure TPORTB_TRISB.clearTRISB11; inline;
  53468. begin
  53469. pTDefRegMap(@Self)^.clr := $00000800;
  53470. end;
  53471. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  53472. begin
  53473. if thebits = 0 then
  53474. pTDefRegMap(@Self)^.clr := $00000800
  53475. else
  53476. pTDefRegMap(@Self)^.&set := $00000800;
  53477. end;
  53478. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  53479. begin
  53480. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53481. end;
  53482. procedure TPORTB_TRISB.setTRISB12; inline;
  53483. begin
  53484. pTDefRegMap(@Self)^.&set := $00001000;
  53485. end;
  53486. procedure TPORTB_TRISB.clearTRISB12; inline;
  53487. begin
  53488. pTDefRegMap(@Self)^.clr := $00001000;
  53489. end;
  53490. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  53491. begin
  53492. if thebits = 0 then
  53493. pTDefRegMap(@Self)^.clr := $00001000
  53494. else
  53495. pTDefRegMap(@Self)^.&set := $00001000;
  53496. end;
  53497. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  53498. begin
  53499. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53500. end;
  53501. procedure TPORTB_TRISB.setTRISB13; inline;
  53502. begin
  53503. pTDefRegMap(@Self)^.&set := $00002000;
  53504. end;
  53505. procedure TPORTB_TRISB.clearTRISB13; inline;
  53506. begin
  53507. pTDefRegMap(@Self)^.clr := $00002000;
  53508. end;
  53509. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  53510. begin
  53511. if thebits = 0 then
  53512. pTDefRegMap(@Self)^.clr := $00002000
  53513. else
  53514. pTDefRegMap(@Self)^.&set := $00002000;
  53515. end;
  53516. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  53517. begin
  53518. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53519. end;
  53520. procedure TPORTB_TRISB.setTRISB14; inline;
  53521. begin
  53522. pTDefRegMap(@Self)^.&set := $00004000;
  53523. end;
  53524. procedure TPORTB_TRISB.clearTRISB14; inline;
  53525. begin
  53526. pTDefRegMap(@Self)^.clr := $00004000;
  53527. end;
  53528. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  53529. begin
  53530. if thebits = 0 then
  53531. pTDefRegMap(@Self)^.clr := $00004000
  53532. else
  53533. pTDefRegMap(@Self)^.&set := $00004000;
  53534. end;
  53535. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  53536. begin
  53537. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53538. end;
  53539. procedure TPORTB_TRISB.setTRISB15; inline;
  53540. begin
  53541. pTDefRegMap(@Self)^.&set := $00008000;
  53542. end;
  53543. procedure TPORTB_TRISB.clearTRISB15; inline;
  53544. begin
  53545. pTDefRegMap(@Self)^.clr := $00008000;
  53546. end;
  53547. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  53548. begin
  53549. if thebits = 0 then
  53550. pTDefRegMap(@Self)^.clr := $00008000
  53551. else
  53552. pTDefRegMap(@Self)^.&set := $00008000;
  53553. end;
  53554. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  53555. begin
  53556. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53557. end;
  53558. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  53559. begin
  53560. pTDefRegMap(@Self)^.val := thebits;
  53561. end;
  53562. function TPORTB_TRISB.getw : TBits_32; inline;
  53563. begin
  53564. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53565. end;
  53566. procedure TPORTB_PORTB.setRB0; inline;
  53567. begin
  53568. pTDefRegMap(@Self)^.&set := $00000001;
  53569. end;
  53570. procedure TPORTB_PORTB.clearRB0; inline;
  53571. begin
  53572. pTDefRegMap(@Self)^.clr := $00000001;
  53573. end;
  53574. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  53575. begin
  53576. if thebits = 0 then
  53577. pTDefRegMap(@Self)^.clr := $00000001
  53578. else
  53579. pTDefRegMap(@Self)^.&set := $00000001;
  53580. end;
  53581. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  53582. begin
  53583. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53584. end;
  53585. procedure TPORTB_PORTB.setRB1; inline;
  53586. begin
  53587. pTDefRegMap(@Self)^.&set := $00000002;
  53588. end;
  53589. procedure TPORTB_PORTB.clearRB1; inline;
  53590. begin
  53591. pTDefRegMap(@Self)^.clr := $00000002;
  53592. end;
  53593. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  53594. begin
  53595. if thebits = 0 then
  53596. pTDefRegMap(@Self)^.clr := $00000002
  53597. else
  53598. pTDefRegMap(@Self)^.&set := $00000002;
  53599. end;
  53600. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  53601. begin
  53602. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53603. end;
  53604. procedure TPORTB_PORTB.setRB2; inline;
  53605. begin
  53606. pTDefRegMap(@Self)^.&set := $00000004;
  53607. end;
  53608. procedure TPORTB_PORTB.clearRB2; inline;
  53609. begin
  53610. pTDefRegMap(@Self)^.clr := $00000004;
  53611. end;
  53612. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  53613. begin
  53614. if thebits = 0 then
  53615. pTDefRegMap(@Self)^.clr := $00000004
  53616. else
  53617. pTDefRegMap(@Self)^.&set := $00000004;
  53618. end;
  53619. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  53620. begin
  53621. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53622. end;
  53623. procedure TPORTB_PORTB.setRB3; inline;
  53624. begin
  53625. pTDefRegMap(@Self)^.&set := $00000008;
  53626. end;
  53627. procedure TPORTB_PORTB.clearRB3; inline;
  53628. begin
  53629. pTDefRegMap(@Self)^.clr := $00000008;
  53630. end;
  53631. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  53632. begin
  53633. if thebits = 0 then
  53634. pTDefRegMap(@Self)^.clr := $00000008
  53635. else
  53636. pTDefRegMap(@Self)^.&set := $00000008;
  53637. end;
  53638. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  53639. begin
  53640. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53641. end;
  53642. procedure TPORTB_PORTB.setRB4; inline;
  53643. begin
  53644. pTDefRegMap(@Self)^.&set := $00000010;
  53645. end;
  53646. procedure TPORTB_PORTB.clearRB4; inline;
  53647. begin
  53648. pTDefRegMap(@Self)^.clr := $00000010;
  53649. end;
  53650. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  53651. begin
  53652. if thebits = 0 then
  53653. pTDefRegMap(@Self)^.clr := $00000010
  53654. else
  53655. pTDefRegMap(@Self)^.&set := $00000010;
  53656. end;
  53657. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  53658. begin
  53659. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53660. end;
  53661. procedure TPORTB_PORTB.setRB5; inline;
  53662. begin
  53663. pTDefRegMap(@Self)^.&set := $00000020;
  53664. end;
  53665. procedure TPORTB_PORTB.clearRB5; inline;
  53666. begin
  53667. pTDefRegMap(@Self)^.clr := $00000020;
  53668. end;
  53669. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  53670. begin
  53671. if thebits = 0 then
  53672. pTDefRegMap(@Self)^.clr := $00000020
  53673. else
  53674. pTDefRegMap(@Self)^.&set := $00000020;
  53675. end;
  53676. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  53677. begin
  53678. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53679. end;
  53680. procedure TPORTB_PORTB.setRB6; inline;
  53681. begin
  53682. pTDefRegMap(@Self)^.&set := $00000040;
  53683. end;
  53684. procedure TPORTB_PORTB.clearRB6; inline;
  53685. begin
  53686. pTDefRegMap(@Self)^.clr := $00000040;
  53687. end;
  53688. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  53689. begin
  53690. if thebits = 0 then
  53691. pTDefRegMap(@Self)^.clr := $00000040
  53692. else
  53693. pTDefRegMap(@Self)^.&set := $00000040;
  53694. end;
  53695. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  53696. begin
  53697. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  53698. end;
  53699. procedure TPORTB_PORTB.setRB7; inline;
  53700. begin
  53701. pTDefRegMap(@Self)^.&set := $00000080;
  53702. end;
  53703. procedure TPORTB_PORTB.clearRB7; inline;
  53704. begin
  53705. pTDefRegMap(@Self)^.clr := $00000080;
  53706. end;
  53707. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  53708. begin
  53709. if thebits = 0 then
  53710. pTDefRegMap(@Self)^.clr := $00000080
  53711. else
  53712. pTDefRegMap(@Self)^.&set := $00000080;
  53713. end;
  53714. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  53715. begin
  53716. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  53717. end;
  53718. procedure TPORTB_PORTB.setRB8; inline;
  53719. begin
  53720. pTDefRegMap(@Self)^.&set := $00000100;
  53721. end;
  53722. procedure TPORTB_PORTB.clearRB8; inline;
  53723. begin
  53724. pTDefRegMap(@Self)^.clr := $00000100;
  53725. end;
  53726. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  53727. begin
  53728. if thebits = 0 then
  53729. pTDefRegMap(@Self)^.clr := $00000100
  53730. else
  53731. pTDefRegMap(@Self)^.&set := $00000100;
  53732. end;
  53733. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  53734. begin
  53735. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  53736. end;
  53737. procedure TPORTB_PORTB.setRB9; inline;
  53738. begin
  53739. pTDefRegMap(@Self)^.&set := $00000200;
  53740. end;
  53741. procedure TPORTB_PORTB.clearRB9; inline;
  53742. begin
  53743. pTDefRegMap(@Self)^.clr := $00000200;
  53744. end;
  53745. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  53746. begin
  53747. if thebits = 0 then
  53748. pTDefRegMap(@Self)^.clr := $00000200
  53749. else
  53750. pTDefRegMap(@Self)^.&set := $00000200;
  53751. end;
  53752. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  53753. begin
  53754. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  53755. end;
  53756. procedure TPORTB_PORTB.setRB10; inline;
  53757. begin
  53758. pTDefRegMap(@Self)^.&set := $00000400;
  53759. end;
  53760. procedure TPORTB_PORTB.clearRB10; inline;
  53761. begin
  53762. pTDefRegMap(@Self)^.clr := $00000400;
  53763. end;
  53764. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  53765. begin
  53766. if thebits = 0 then
  53767. pTDefRegMap(@Self)^.clr := $00000400
  53768. else
  53769. pTDefRegMap(@Self)^.&set := $00000400;
  53770. end;
  53771. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  53772. begin
  53773. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  53774. end;
  53775. procedure TPORTB_PORTB.setRB11; inline;
  53776. begin
  53777. pTDefRegMap(@Self)^.&set := $00000800;
  53778. end;
  53779. procedure TPORTB_PORTB.clearRB11; inline;
  53780. begin
  53781. pTDefRegMap(@Self)^.clr := $00000800;
  53782. end;
  53783. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  53784. begin
  53785. if thebits = 0 then
  53786. pTDefRegMap(@Self)^.clr := $00000800
  53787. else
  53788. pTDefRegMap(@Self)^.&set := $00000800;
  53789. end;
  53790. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  53791. begin
  53792. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  53793. end;
  53794. procedure TPORTB_PORTB.setRB12; inline;
  53795. begin
  53796. pTDefRegMap(@Self)^.&set := $00001000;
  53797. end;
  53798. procedure TPORTB_PORTB.clearRB12; inline;
  53799. begin
  53800. pTDefRegMap(@Self)^.clr := $00001000;
  53801. end;
  53802. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  53803. begin
  53804. if thebits = 0 then
  53805. pTDefRegMap(@Self)^.clr := $00001000
  53806. else
  53807. pTDefRegMap(@Self)^.&set := $00001000;
  53808. end;
  53809. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  53810. begin
  53811. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  53812. end;
  53813. procedure TPORTB_PORTB.setRB13; inline;
  53814. begin
  53815. pTDefRegMap(@Self)^.&set := $00002000;
  53816. end;
  53817. procedure TPORTB_PORTB.clearRB13; inline;
  53818. begin
  53819. pTDefRegMap(@Self)^.clr := $00002000;
  53820. end;
  53821. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  53822. begin
  53823. if thebits = 0 then
  53824. pTDefRegMap(@Self)^.clr := $00002000
  53825. else
  53826. pTDefRegMap(@Self)^.&set := $00002000;
  53827. end;
  53828. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  53829. begin
  53830. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  53831. end;
  53832. procedure TPORTB_PORTB.setRB14; inline;
  53833. begin
  53834. pTDefRegMap(@Self)^.&set := $00004000;
  53835. end;
  53836. procedure TPORTB_PORTB.clearRB14; inline;
  53837. begin
  53838. pTDefRegMap(@Self)^.clr := $00004000;
  53839. end;
  53840. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  53841. begin
  53842. if thebits = 0 then
  53843. pTDefRegMap(@Self)^.clr := $00004000
  53844. else
  53845. pTDefRegMap(@Self)^.&set := $00004000;
  53846. end;
  53847. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  53848. begin
  53849. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  53850. end;
  53851. procedure TPORTB_PORTB.setRB15; inline;
  53852. begin
  53853. pTDefRegMap(@Self)^.&set := $00008000;
  53854. end;
  53855. procedure TPORTB_PORTB.clearRB15; inline;
  53856. begin
  53857. pTDefRegMap(@Self)^.clr := $00008000;
  53858. end;
  53859. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  53860. begin
  53861. if thebits = 0 then
  53862. pTDefRegMap(@Self)^.clr := $00008000
  53863. else
  53864. pTDefRegMap(@Self)^.&set := $00008000;
  53865. end;
  53866. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  53867. begin
  53868. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  53869. end;
  53870. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  53871. begin
  53872. pTDefRegMap(@Self)^.val := thebits;
  53873. end;
  53874. function TPORTB_PORTB.getw : TBits_32; inline;
  53875. begin
  53876. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  53877. end;
  53878. procedure TPORTB_LATB.setLATB0; inline;
  53879. begin
  53880. pTDefRegMap(@Self)^.&set := $00000001;
  53881. end;
  53882. procedure TPORTB_LATB.clearLATB0; inline;
  53883. begin
  53884. pTDefRegMap(@Self)^.clr := $00000001;
  53885. end;
  53886. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  53887. begin
  53888. if thebits = 0 then
  53889. pTDefRegMap(@Self)^.clr := $00000001
  53890. else
  53891. pTDefRegMap(@Self)^.&set := $00000001;
  53892. end;
  53893. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  53894. begin
  53895. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  53896. end;
  53897. procedure TPORTB_LATB.setLATB1; inline;
  53898. begin
  53899. pTDefRegMap(@Self)^.&set := $00000002;
  53900. end;
  53901. procedure TPORTB_LATB.clearLATB1; inline;
  53902. begin
  53903. pTDefRegMap(@Self)^.clr := $00000002;
  53904. end;
  53905. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  53906. begin
  53907. if thebits = 0 then
  53908. pTDefRegMap(@Self)^.clr := $00000002
  53909. else
  53910. pTDefRegMap(@Self)^.&set := $00000002;
  53911. end;
  53912. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  53913. begin
  53914. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  53915. end;
  53916. procedure TPORTB_LATB.setLATB2; inline;
  53917. begin
  53918. pTDefRegMap(@Self)^.&set := $00000004;
  53919. end;
  53920. procedure TPORTB_LATB.clearLATB2; inline;
  53921. begin
  53922. pTDefRegMap(@Self)^.clr := $00000004;
  53923. end;
  53924. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  53925. begin
  53926. if thebits = 0 then
  53927. pTDefRegMap(@Self)^.clr := $00000004
  53928. else
  53929. pTDefRegMap(@Self)^.&set := $00000004;
  53930. end;
  53931. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  53932. begin
  53933. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  53934. end;
  53935. procedure TPORTB_LATB.setLATB3; inline;
  53936. begin
  53937. pTDefRegMap(@Self)^.&set := $00000008;
  53938. end;
  53939. procedure TPORTB_LATB.clearLATB3; inline;
  53940. begin
  53941. pTDefRegMap(@Self)^.clr := $00000008;
  53942. end;
  53943. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  53944. begin
  53945. if thebits = 0 then
  53946. pTDefRegMap(@Self)^.clr := $00000008
  53947. else
  53948. pTDefRegMap(@Self)^.&set := $00000008;
  53949. end;
  53950. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  53951. begin
  53952. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  53953. end;
  53954. procedure TPORTB_LATB.setLATB4; inline;
  53955. begin
  53956. pTDefRegMap(@Self)^.&set := $00000010;
  53957. end;
  53958. procedure TPORTB_LATB.clearLATB4; inline;
  53959. begin
  53960. pTDefRegMap(@Self)^.clr := $00000010;
  53961. end;
  53962. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  53963. begin
  53964. if thebits = 0 then
  53965. pTDefRegMap(@Self)^.clr := $00000010
  53966. else
  53967. pTDefRegMap(@Self)^.&set := $00000010;
  53968. end;
  53969. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  53970. begin
  53971. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  53972. end;
  53973. procedure TPORTB_LATB.setLATB5; inline;
  53974. begin
  53975. pTDefRegMap(@Self)^.&set := $00000020;
  53976. end;
  53977. procedure TPORTB_LATB.clearLATB5; inline;
  53978. begin
  53979. pTDefRegMap(@Self)^.clr := $00000020;
  53980. end;
  53981. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  53982. begin
  53983. if thebits = 0 then
  53984. pTDefRegMap(@Self)^.clr := $00000020
  53985. else
  53986. pTDefRegMap(@Self)^.&set := $00000020;
  53987. end;
  53988. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  53989. begin
  53990. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  53991. end;
  53992. procedure TPORTB_LATB.setLATB6; inline;
  53993. begin
  53994. pTDefRegMap(@Self)^.&set := $00000040;
  53995. end;
  53996. procedure TPORTB_LATB.clearLATB6; inline;
  53997. begin
  53998. pTDefRegMap(@Self)^.clr := $00000040;
  53999. end;
  54000. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  54001. begin
  54002. if thebits = 0 then
  54003. pTDefRegMap(@Self)^.clr := $00000040
  54004. else
  54005. pTDefRegMap(@Self)^.&set := $00000040;
  54006. end;
  54007. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  54008. begin
  54009. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54010. end;
  54011. procedure TPORTB_LATB.setLATB7; inline;
  54012. begin
  54013. pTDefRegMap(@Self)^.&set := $00000080;
  54014. end;
  54015. procedure TPORTB_LATB.clearLATB7; inline;
  54016. begin
  54017. pTDefRegMap(@Self)^.clr := $00000080;
  54018. end;
  54019. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  54020. begin
  54021. if thebits = 0 then
  54022. pTDefRegMap(@Self)^.clr := $00000080
  54023. else
  54024. pTDefRegMap(@Self)^.&set := $00000080;
  54025. end;
  54026. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  54027. begin
  54028. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54029. end;
  54030. procedure TPORTB_LATB.setLATB8; inline;
  54031. begin
  54032. pTDefRegMap(@Self)^.&set := $00000100;
  54033. end;
  54034. procedure TPORTB_LATB.clearLATB8; inline;
  54035. begin
  54036. pTDefRegMap(@Self)^.clr := $00000100;
  54037. end;
  54038. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  54039. begin
  54040. if thebits = 0 then
  54041. pTDefRegMap(@Self)^.clr := $00000100
  54042. else
  54043. pTDefRegMap(@Self)^.&set := $00000100;
  54044. end;
  54045. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  54046. begin
  54047. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54048. end;
  54049. procedure TPORTB_LATB.setLATB9; inline;
  54050. begin
  54051. pTDefRegMap(@Self)^.&set := $00000200;
  54052. end;
  54053. procedure TPORTB_LATB.clearLATB9; inline;
  54054. begin
  54055. pTDefRegMap(@Self)^.clr := $00000200;
  54056. end;
  54057. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  54058. begin
  54059. if thebits = 0 then
  54060. pTDefRegMap(@Self)^.clr := $00000200
  54061. else
  54062. pTDefRegMap(@Self)^.&set := $00000200;
  54063. end;
  54064. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  54065. begin
  54066. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54067. end;
  54068. procedure TPORTB_LATB.setLATB10; inline;
  54069. begin
  54070. pTDefRegMap(@Self)^.&set := $00000400;
  54071. end;
  54072. procedure TPORTB_LATB.clearLATB10; inline;
  54073. begin
  54074. pTDefRegMap(@Self)^.clr := $00000400;
  54075. end;
  54076. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  54077. begin
  54078. if thebits = 0 then
  54079. pTDefRegMap(@Self)^.clr := $00000400
  54080. else
  54081. pTDefRegMap(@Self)^.&set := $00000400;
  54082. end;
  54083. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  54084. begin
  54085. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54086. end;
  54087. procedure TPORTB_LATB.setLATB11; inline;
  54088. begin
  54089. pTDefRegMap(@Self)^.&set := $00000800;
  54090. end;
  54091. procedure TPORTB_LATB.clearLATB11; inline;
  54092. begin
  54093. pTDefRegMap(@Self)^.clr := $00000800;
  54094. end;
  54095. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  54096. begin
  54097. if thebits = 0 then
  54098. pTDefRegMap(@Self)^.clr := $00000800
  54099. else
  54100. pTDefRegMap(@Self)^.&set := $00000800;
  54101. end;
  54102. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  54103. begin
  54104. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54105. end;
  54106. procedure TPORTB_LATB.setLATB12; inline;
  54107. begin
  54108. pTDefRegMap(@Self)^.&set := $00001000;
  54109. end;
  54110. procedure TPORTB_LATB.clearLATB12; inline;
  54111. begin
  54112. pTDefRegMap(@Self)^.clr := $00001000;
  54113. end;
  54114. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  54115. begin
  54116. if thebits = 0 then
  54117. pTDefRegMap(@Self)^.clr := $00001000
  54118. else
  54119. pTDefRegMap(@Self)^.&set := $00001000;
  54120. end;
  54121. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  54122. begin
  54123. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54124. end;
  54125. procedure TPORTB_LATB.setLATB13; inline;
  54126. begin
  54127. pTDefRegMap(@Self)^.&set := $00002000;
  54128. end;
  54129. procedure TPORTB_LATB.clearLATB13; inline;
  54130. begin
  54131. pTDefRegMap(@Self)^.clr := $00002000;
  54132. end;
  54133. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  54134. begin
  54135. if thebits = 0 then
  54136. pTDefRegMap(@Self)^.clr := $00002000
  54137. else
  54138. pTDefRegMap(@Self)^.&set := $00002000;
  54139. end;
  54140. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  54141. begin
  54142. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54143. end;
  54144. procedure TPORTB_LATB.setLATB14; inline;
  54145. begin
  54146. pTDefRegMap(@Self)^.&set := $00004000;
  54147. end;
  54148. procedure TPORTB_LATB.clearLATB14; inline;
  54149. begin
  54150. pTDefRegMap(@Self)^.clr := $00004000;
  54151. end;
  54152. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  54153. begin
  54154. if thebits = 0 then
  54155. pTDefRegMap(@Self)^.clr := $00004000
  54156. else
  54157. pTDefRegMap(@Self)^.&set := $00004000;
  54158. end;
  54159. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  54160. begin
  54161. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54162. end;
  54163. procedure TPORTB_LATB.setLATB15; inline;
  54164. begin
  54165. pTDefRegMap(@Self)^.&set := $00008000;
  54166. end;
  54167. procedure TPORTB_LATB.clearLATB15; inline;
  54168. begin
  54169. pTDefRegMap(@Self)^.clr := $00008000;
  54170. end;
  54171. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  54172. begin
  54173. if thebits = 0 then
  54174. pTDefRegMap(@Self)^.clr := $00008000
  54175. else
  54176. pTDefRegMap(@Self)^.&set := $00008000;
  54177. end;
  54178. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  54179. begin
  54180. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54181. end;
  54182. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  54183. begin
  54184. pTDefRegMap(@Self)^.val := thebits;
  54185. end;
  54186. function TPORTB_LATB.getw : TBits_32; inline;
  54187. begin
  54188. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54189. end;
  54190. procedure TPORTB_ODCB.setODCB0; inline;
  54191. begin
  54192. pTDefRegMap(@Self)^.&set := $00000001;
  54193. end;
  54194. procedure TPORTB_ODCB.clearODCB0; inline;
  54195. begin
  54196. pTDefRegMap(@Self)^.clr := $00000001;
  54197. end;
  54198. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  54199. begin
  54200. if thebits = 0 then
  54201. pTDefRegMap(@Self)^.clr := $00000001
  54202. else
  54203. pTDefRegMap(@Self)^.&set := $00000001;
  54204. end;
  54205. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  54206. begin
  54207. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  54208. end;
  54209. procedure TPORTB_ODCB.setODCB1; inline;
  54210. begin
  54211. pTDefRegMap(@Self)^.&set := $00000002;
  54212. end;
  54213. procedure TPORTB_ODCB.clearODCB1; inline;
  54214. begin
  54215. pTDefRegMap(@Self)^.clr := $00000002;
  54216. end;
  54217. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  54218. begin
  54219. if thebits = 0 then
  54220. pTDefRegMap(@Self)^.clr := $00000002
  54221. else
  54222. pTDefRegMap(@Self)^.&set := $00000002;
  54223. end;
  54224. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  54225. begin
  54226. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54227. end;
  54228. procedure TPORTB_ODCB.setODCB2; inline;
  54229. begin
  54230. pTDefRegMap(@Self)^.&set := $00000004;
  54231. end;
  54232. procedure TPORTB_ODCB.clearODCB2; inline;
  54233. begin
  54234. pTDefRegMap(@Self)^.clr := $00000004;
  54235. end;
  54236. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  54237. begin
  54238. if thebits = 0 then
  54239. pTDefRegMap(@Self)^.clr := $00000004
  54240. else
  54241. pTDefRegMap(@Self)^.&set := $00000004;
  54242. end;
  54243. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  54244. begin
  54245. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54246. end;
  54247. procedure TPORTB_ODCB.setODCB3; inline;
  54248. begin
  54249. pTDefRegMap(@Self)^.&set := $00000008;
  54250. end;
  54251. procedure TPORTB_ODCB.clearODCB3; inline;
  54252. begin
  54253. pTDefRegMap(@Self)^.clr := $00000008;
  54254. end;
  54255. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  54256. begin
  54257. if thebits = 0 then
  54258. pTDefRegMap(@Self)^.clr := $00000008
  54259. else
  54260. pTDefRegMap(@Self)^.&set := $00000008;
  54261. end;
  54262. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  54263. begin
  54264. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54265. end;
  54266. procedure TPORTB_ODCB.setODCB4; inline;
  54267. begin
  54268. pTDefRegMap(@Self)^.&set := $00000010;
  54269. end;
  54270. procedure TPORTB_ODCB.clearODCB4; inline;
  54271. begin
  54272. pTDefRegMap(@Self)^.clr := $00000010;
  54273. end;
  54274. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  54275. begin
  54276. if thebits = 0 then
  54277. pTDefRegMap(@Self)^.clr := $00000010
  54278. else
  54279. pTDefRegMap(@Self)^.&set := $00000010;
  54280. end;
  54281. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  54282. begin
  54283. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54284. end;
  54285. procedure TPORTB_ODCB.setODCB5; inline;
  54286. begin
  54287. pTDefRegMap(@Self)^.&set := $00000020;
  54288. end;
  54289. procedure TPORTB_ODCB.clearODCB5; inline;
  54290. begin
  54291. pTDefRegMap(@Self)^.clr := $00000020;
  54292. end;
  54293. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  54294. begin
  54295. if thebits = 0 then
  54296. pTDefRegMap(@Self)^.clr := $00000020
  54297. else
  54298. pTDefRegMap(@Self)^.&set := $00000020;
  54299. end;
  54300. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  54301. begin
  54302. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  54303. end;
  54304. procedure TPORTB_ODCB.setODCB6; inline;
  54305. begin
  54306. pTDefRegMap(@Self)^.&set := $00000040;
  54307. end;
  54308. procedure TPORTB_ODCB.clearODCB6; inline;
  54309. begin
  54310. pTDefRegMap(@Self)^.clr := $00000040;
  54311. end;
  54312. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  54313. begin
  54314. if thebits = 0 then
  54315. pTDefRegMap(@Self)^.clr := $00000040
  54316. else
  54317. pTDefRegMap(@Self)^.&set := $00000040;
  54318. end;
  54319. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  54320. begin
  54321. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  54322. end;
  54323. procedure TPORTB_ODCB.setODCB7; inline;
  54324. begin
  54325. pTDefRegMap(@Self)^.&set := $00000080;
  54326. end;
  54327. procedure TPORTB_ODCB.clearODCB7; inline;
  54328. begin
  54329. pTDefRegMap(@Self)^.clr := $00000080;
  54330. end;
  54331. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  54332. begin
  54333. if thebits = 0 then
  54334. pTDefRegMap(@Self)^.clr := $00000080
  54335. else
  54336. pTDefRegMap(@Self)^.&set := $00000080;
  54337. end;
  54338. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  54339. begin
  54340. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  54341. end;
  54342. procedure TPORTB_ODCB.setODCB8; inline;
  54343. begin
  54344. pTDefRegMap(@Self)^.&set := $00000100;
  54345. end;
  54346. procedure TPORTB_ODCB.clearODCB8; inline;
  54347. begin
  54348. pTDefRegMap(@Self)^.clr := $00000100;
  54349. end;
  54350. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  54351. begin
  54352. if thebits = 0 then
  54353. pTDefRegMap(@Self)^.clr := $00000100
  54354. else
  54355. pTDefRegMap(@Self)^.&set := $00000100;
  54356. end;
  54357. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  54358. begin
  54359. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  54360. end;
  54361. procedure TPORTB_ODCB.setODCB9; inline;
  54362. begin
  54363. pTDefRegMap(@Self)^.&set := $00000200;
  54364. end;
  54365. procedure TPORTB_ODCB.clearODCB9; inline;
  54366. begin
  54367. pTDefRegMap(@Self)^.clr := $00000200;
  54368. end;
  54369. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  54370. begin
  54371. if thebits = 0 then
  54372. pTDefRegMap(@Self)^.clr := $00000200
  54373. else
  54374. pTDefRegMap(@Self)^.&set := $00000200;
  54375. end;
  54376. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  54377. begin
  54378. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  54379. end;
  54380. procedure TPORTB_ODCB.setODCB10; inline;
  54381. begin
  54382. pTDefRegMap(@Self)^.&set := $00000400;
  54383. end;
  54384. procedure TPORTB_ODCB.clearODCB10; inline;
  54385. begin
  54386. pTDefRegMap(@Self)^.clr := $00000400;
  54387. end;
  54388. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  54389. begin
  54390. if thebits = 0 then
  54391. pTDefRegMap(@Self)^.clr := $00000400
  54392. else
  54393. pTDefRegMap(@Self)^.&set := $00000400;
  54394. end;
  54395. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  54396. begin
  54397. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  54398. end;
  54399. procedure TPORTB_ODCB.setODCB11; inline;
  54400. begin
  54401. pTDefRegMap(@Self)^.&set := $00000800;
  54402. end;
  54403. procedure TPORTB_ODCB.clearODCB11; inline;
  54404. begin
  54405. pTDefRegMap(@Self)^.clr := $00000800;
  54406. end;
  54407. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  54408. begin
  54409. if thebits = 0 then
  54410. pTDefRegMap(@Self)^.clr := $00000800
  54411. else
  54412. pTDefRegMap(@Self)^.&set := $00000800;
  54413. end;
  54414. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  54415. begin
  54416. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  54417. end;
  54418. procedure TPORTB_ODCB.setODCB12; inline;
  54419. begin
  54420. pTDefRegMap(@Self)^.&set := $00001000;
  54421. end;
  54422. procedure TPORTB_ODCB.clearODCB12; inline;
  54423. begin
  54424. pTDefRegMap(@Self)^.clr := $00001000;
  54425. end;
  54426. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  54427. begin
  54428. if thebits = 0 then
  54429. pTDefRegMap(@Self)^.clr := $00001000
  54430. else
  54431. pTDefRegMap(@Self)^.&set := $00001000;
  54432. end;
  54433. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  54434. begin
  54435. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54436. end;
  54437. procedure TPORTB_ODCB.setODCB13; inline;
  54438. begin
  54439. pTDefRegMap(@Self)^.&set := $00002000;
  54440. end;
  54441. procedure TPORTB_ODCB.clearODCB13; inline;
  54442. begin
  54443. pTDefRegMap(@Self)^.clr := $00002000;
  54444. end;
  54445. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  54446. begin
  54447. if thebits = 0 then
  54448. pTDefRegMap(@Self)^.clr := $00002000
  54449. else
  54450. pTDefRegMap(@Self)^.&set := $00002000;
  54451. end;
  54452. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  54453. begin
  54454. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54455. end;
  54456. procedure TPORTB_ODCB.setODCB14; inline;
  54457. begin
  54458. pTDefRegMap(@Self)^.&set := $00004000;
  54459. end;
  54460. procedure TPORTB_ODCB.clearODCB14; inline;
  54461. begin
  54462. pTDefRegMap(@Self)^.clr := $00004000;
  54463. end;
  54464. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  54465. begin
  54466. if thebits = 0 then
  54467. pTDefRegMap(@Self)^.clr := $00004000
  54468. else
  54469. pTDefRegMap(@Self)^.&set := $00004000;
  54470. end;
  54471. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  54472. begin
  54473. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54474. end;
  54475. procedure TPORTB_ODCB.setODCB15; inline;
  54476. begin
  54477. pTDefRegMap(@Self)^.&set := $00008000;
  54478. end;
  54479. procedure TPORTB_ODCB.clearODCB15; inline;
  54480. begin
  54481. pTDefRegMap(@Self)^.clr := $00008000;
  54482. end;
  54483. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  54484. begin
  54485. if thebits = 0 then
  54486. pTDefRegMap(@Self)^.clr := $00008000
  54487. else
  54488. pTDefRegMap(@Self)^.&set := $00008000;
  54489. end;
  54490. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  54491. begin
  54492. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54493. end;
  54494. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  54495. begin
  54496. pTDefRegMap(@Self)^.val := thebits;
  54497. end;
  54498. function TPORTB_ODCB.getw : TBits_32; inline;
  54499. begin
  54500. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54501. end;
  54502. procedure TPORTC_TRISC.setTRISC1; inline;
  54503. begin
  54504. pTDefRegMap(@Self)^.&set := $00000002;
  54505. end;
  54506. procedure TPORTC_TRISC.clearTRISC1; inline;
  54507. begin
  54508. pTDefRegMap(@Self)^.clr := $00000002;
  54509. end;
  54510. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  54511. begin
  54512. if thebits = 0 then
  54513. pTDefRegMap(@Self)^.clr := $00000002
  54514. else
  54515. pTDefRegMap(@Self)^.&set := $00000002;
  54516. end;
  54517. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  54518. begin
  54519. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54520. end;
  54521. procedure TPORTC_TRISC.setTRISC2; inline;
  54522. begin
  54523. pTDefRegMap(@Self)^.&set := $00000004;
  54524. end;
  54525. procedure TPORTC_TRISC.clearTRISC2; inline;
  54526. begin
  54527. pTDefRegMap(@Self)^.clr := $00000004;
  54528. end;
  54529. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  54530. begin
  54531. if thebits = 0 then
  54532. pTDefRegMap(@Self)^.clr := $00000004
  54533. else
  54534. pTDefRegMap(@Self)^.&set := $00000004;
  54535. end;
  54536. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  54537. begin
  54538. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54539. end;
  54540. procedure TPORTC_TRISC.setTRISC3; inline;
  54541. begin
  54542. pTDefRegMap(@Self)^.&set := $00000008;
  54543. end;
  54544. procedure TPORTC_TRISC.clearTRISC3; inline;
  54545. begin
  54546. pTDefRegMap(@Self)^.clr := $00000008;
  54547. end;
  54548. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  54549. begin
  54550. if thebits = 0 then
  54551. pTDefRegMap(@Self)^.clr := $00000008
  54552. else
  54553. pTDefRegMap(@Self)^.&set := $00000008;
  54554. end;
  54555. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  54556. begin
  54557. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54558. end;
  54559. procedure TPORTC_TRISC.setTRISC4; inline;
  54560. begin
  54561. pTDefRegMap(@Self)^.&set := $00000010;
  54562. end;
  54563. procedure TPORTC_TRISC.clearTRISC4; inline;
  54564. begin
  54565. pTDefRegMap(@Self)^.clr := $00000010;
  54566. end;
  54567. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  54568. begin
  54569. if thebits = 0 then
  54570. pTDefRegMap(@Self)^.clr := $00000010
  54571. else
  54572. pTDefRegMap(@Self)^.&set := $00000010;
  54573. end;
  54574. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  54575. begin
  54576. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54577. end;
  54578. procedure TPORTC_TRISC.setTRISC12; inline;
  54579. begin
  54580. pTDefRegMap(@Self)^.&set := $00001000;
  54581. end;
  54582. procedure TPORTC_TRISC.clearTRISC12; inline;
  54583. begin
  54584. pTDefRegMap(@Self)^.clr := $00001000;
  54585. end;
  54586. procedure TPORTC_TRISC.setTRISC12(thebits : TBits_1); inline;
  54587. begin
  54588. if thebits = 0 then
  54589. pTDefRegMap(@Self)^.clr := $00001000
  54590. else
  54591. pTDefRegMap(@Self)^.&set := $00001000;
  54592. end;
  54593. function TPORTC_TRISC.getTRISC12 : TBits_1; inline;
  54594. begin
  54595. getTRISC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54596. end;
  54597. procedure TPORTC_TRISC.setTRISC13; inline;
  54598. begin
  54599. pTDefRegMap(@Self)^.&set := $00002000;
  54600. end;
  54601. procedure TPORTC_TRISC.clearTRISC13; inline;
  54602. begin
  54603. pTDefRegMap(@Self)^.clr := $00002000;
  54604. end;
  54605. procedure TPORTC_TRISC.setTRISC13(thebits : TBits_1); inline;
  54606. begin
  54607. if thebits = 0 then
  54608. pTDefRegMap(@Self)^.clr := $00002000
  54609. else
  54610. pTDefRegMap(@Self)^.&set := $00002000;
  54611. end;
  54612. function TPORTC_TRISC.getTRISC13 : TBits_1; inline;
  54613. begin
  54614. getTRISC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54615. end;
  54616. procedure TPORTC_TRISC.setTRISC14; inline;
  54617. begin
  54618. pTDefRegMap(@Self)^.&set := $00004000;
  54619. end;
  54620. procedure TPORTC_TRISC.clearTRISC14; inline;
  54621. begin
  54622. pTDefRegMap(@Self)^.clr := $00004000;
  54623. end;
  54624. procedure TPORTC_TRISC.setTRISC14(thebits : TBits_1); inline;
  54625. begin
  54626. if thebits = 0 then
  54627. pTDefRegMap(@Self)^.clr := $00004000
  54628. else
  54629. pTDefRegMap(@Self)^.&set := $00004000;
  54630. end;
  54631. function TPORTC_TRISC.getTRISC14 : TBits_1; inline;
  54632. begin
  54633. getTRISC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54634. end;
  54635. procedure TPORTC_TRISC.setTRISC15; inline;
  54636. begin
  54637. pTDefRegMap(@Self)^.&set := $00008000;
  54638. end;
  54639. procedure TPORTC_TRISC.clearTRISC15; inline;
  54640. begin
  54641. pTDefRegMap(@Self)^.clr := $00008000;
  54642. end;
  54643. procedure TPORTC_TRISC.setTRISC15(thebits : TBits_1); inline;
  54644. begin
  54645. if thebits = 0 then
  54646. pTDefRegMap(@Self)^.clr := $00008000
  54647. else
  54648. pTDefRegMap(@Self)^.&set := $00008000;
  54649. end;
  54650. function TPORTC_TRISC.getTRISC15 : TBits_1; inline;
  54651. begin
  54652. getTRISC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54653. end;
  54654. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  54655. begin
  54656. pTDefRegMap(@Self)^.val := thebits;
  54657. end;
  54658. function TPORTC_TRISC.getw : TBits_32; inline;
  54659. begin
  54660. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54661. end;
  54662. procedure TPORTC_PORTC.setRC1; inline;
  54663. begin
  54664. pTDefRegMap(@Self)^.&set := $00000002;
  54665. end;
  54666. procedure TPORTC_PORTC.clearRC1; inline;
  54667. begin
  54668. pTDefRegMap(@Self)^.clr := $00000002;
  54669. end;
  54670. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  54671. begin
  54672. if thebits = 0 then
  54673. pTDefRegMap(@Self)^.clr := $00000002
  54674. else
  54675. pTDefRegMap(@Self)^.&set := $00000002;
  54676. end;
  54677. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  54678. begin
  54679. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54680. end;
  54681. procedure TPORTC_PORTC.setRC2; inline;
  54682. begin
  54683. pTDefRegMap(@Self)^.&set := $00000004;
  54684. end;
  54685. procedure TPORTC_PORTC.clearRC2; inline;
  54686. begin
  54687. pTDefRegMap(@Self)^.clr := $00000004;
  54688. end;
  54689. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  54690. begin
  54691. if thebits = 0 then
  54692. pTDefRegMap(@Self)^.clr := $00000004
  54693. else
  54694. pTDefRegMap(@Self)^.&set := $00000004;
  54695. end;
  54696. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  54697. begin
  54698. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54699. end;
  54700. procedure TPORTC_PORTC.setRC3; inline;
  54701. begin
  54702. pTDefRegMap(@Self)^.&set := $00000008;
  54703. end;
  54704. procedure TPORTC_PORTC.clearRC3; inline;
  54705. begin
  54706. pTDefRegMap(@Self)^.clr := $00000008;
  54707. end;
  54708. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  54709. begin
  54710. if thebits = 0 then
  54711. pTDefRegMap(@Self)^.clr := $00000008
  54712. else
  54713. pTDefRegMap(@Self)^.&set := $00000008;
  54714. end;
  54715. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  54716. begin
  54717. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54718. end;
  54719. procedure TPORTC_PORTC.setRC4; inline;
  54720. begin
  54721. pTDefRegMap(@Self)^.&set := $00000010;
  54722. end;
  54723. procedure TPORTC_PORTC.clearRC4; inline;
  54724. begin
  54725. pTDefRegMap(@Self)^.clr := $00000010;
  54726. end;
  54727. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  54728. begin
  54729. if thebits = 0 then
  54730. pTDefRegMap(@Self)^.clr := $00000010
  54731. else
  54732. pTDefRegMap(@Self)^.&set := $00000010;
  54733. end;
  54734. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  54735. begin
  54736. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54737. end;
  54738. procedure TPORTC_PORTC.setRC12; inline;
  54739. begin
  54740. pTDefRegMap(@Self)^.&set := $00001000;
  54741. end;
  54742. procedure TPORTC_PORTC.clearRC12; inline;
  54743. begin
  54744. pTDefRegMap(@Self)^.clr := $00001000;
  54745. end;
  54746. procedure TPORTC_PORTC.setRC12(thebits : TBits_1); inline;
  54747. begin
  54748. if thebits = 0 then
  54749. pTDefRegMap(@Self)^.clr := $00001000
  54750. else
  54751. pTDefRegMap(@Self)^.&set := $00001000;
  54752. end;
  54753. function TPORTC_PORTC.getRC12 : TBits_1; inline;
  54754. begin
  54755. getRC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54756. end;
  54757. procedure TPORTC_PORTC.setRC13; inline;
  54758. begin
  54759. pTDefRegMap(@Self)^.&set := $00002000;
  54760. end;
  54761. procedure TPORTC_PORTC.clearRC13; inline;
  54762. begin
  54763. pTDefRegMap(@Self)^.clr := $00002000;
  54764. end;
  54765. procedure TPORTC_PORTC.setRC13(thebits : TBits_1); inline;
  54766. begin
  54767. if thebits = 0 then
  54768. pTDefRegMap(@Self)^.clr := $00002000
  54769. else
  54770. pTDefRegMap(@Self)^.&set := $00002000;
  54771. end;
  54772. function TPORTC_PORTC.getRC13 : TBits_1; inline;
  54773. begin
  54774. getRC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54775. end;
  54776. procedure TPORTC_PORTC.setRC14; inline;
  54777. begin
  54778. pTDefRegMap(@Self)^.&set := $00004000;
  54779. end;
  54780. procedure TPORTC_PORTC.clearRC14; inline;
  54781. begin
  54782. pTDefRegMap(@Self)^.clr := $00004000;
  54783. end;
  54784. procedure TPORTC_PORTC.setRC14(thebits : TBits_1); inline;
  54785. begin
  54786. if thebits = 0 then
  54787. pTDefRegMap(@Self)^.clr := $00004000
  54788. else
  54789. pTDefRegMap(@Self)^.&set := $00004000;
  54790. end;
  54791. function TPORTC_PORTC.getRC14 : TBits_1; inline;
  54792. begin
  54793. getRC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54794. end;
  54795. procedure TPORTC_PORTC.setRC15; inline;
  54796. begin
  54797. pTDefRegMap(@Self)^.&set := $00008000;
  54798. end;
  54799. procedure TPORTC_PORTC.clearRC15; inline;
  54800. begin
  54801. pTDefRegMap(@Self)^.clr := $00008000;
  54802. end;
  54803. procedure TPORTC_PORTC.setRC15(thebits : TBits_1); inline;
  54804. begin
  54805. if thebits = 0 then
  54806. pTDefRegMap(@Self)^.clr := $00008000
  54807. else
  54808. pTDefRegMap(@Self)^.&set := $00008000;
  54809. end;
  54810. function TPORTC_PORTC.getRC15 : TBits_1; inline;
  54811. begin
  54812. getRC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54813. end;
  54814. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  54815. begin
  54816. pTDefRegMap(@Self)^.val := thebits;
  54817. end;
  54818. function TPORTC_PORTC.getw : TBits_32; inline;
  54819. begin
  54820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54821. end;
  54822. procedure TPORTC_LATC.setLATC1; inline;
  54823. begin
  54824. pTDefRegMap(@Self)^.&set := $00000002;
  54825. end;
  54826. procedure TPORTC_LATC.clearLATC1; inline;
  54827. begin
  54828. pTDefRegMap(@Self)^.clr := $00000002;
  54829. end;
  54830. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  54831. begin
  54832. if thebits = 0 then
  54833. pTDefRegMap(@Self)^.clr := $00000002
  54834. else
  54835. pTDefRegMap(@Self)^.&set := $00000002;
  54836. end;
  54837. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  54838. begin
  54839. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  54840. end;
  54841. procedure TPORTC_LATC.setLATC2; inline;
  54842. begin
  54843. pTDefRegMap(@Self)^.&set := $00000004;
  54844. end;
  54845. procedure TPORTC_LATC.clearLATC2; inline;
  54846. begin
  54847. pTDefRegMap(@Self)^.clr := $00000004;
  54848. end;
  54849. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  54850. begin
  54851. if thebits = 0 then
  54852. pTDefRegMap(@Self)^.clr := $00000004
  54853. else
  54854. pTDefRegMap(@Self)^.&set := $00000004;
  54855. end;
  54856. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  54857. begin
  54858. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  54859. end;
  54860. procedure TPORTC_LATC.setLATC3; inline;
  54861. begin
  54862. pTDefRegMap(@Self)^.&set := $00000008;
  54863. end;
  54864. procedure TPORTC_LATC.clearLATC3; inline;
  54865. begin
  54866. pTDefRegMap(@Self)^.clr := $00000008;
  54867. end;
  54868. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  54869. begin
  54870. if thebits = 0 then
  54871. pTDefRegMap(@Self)^.clr := $00000008
  54872. else
  54873. pTDefRegMap(@Self)^.&set := $00000008;
  54874. end;
  54875. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  54876. begin
  54877. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  54878. end;
  54879. procedure TPORTC_LATC.setLATC4; inline;
  54880. begin
  54881. pTDefRegMap(@Self)^.&set := $00000010;
  54882. end;
  54883. procedure TPORTC_LATC.clearLATC4; inline;
  54884. begin
  54885. pTDefRegMap(@Self)^.clr := $00000010;
  54886. end;
  54887. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  54888. begin
  54889. if thebits = 0 then
  54890. pTDefRegMap(@Self)^.clr := $00000010
  54891. else
  54892. pTDefRegMap(@Self)^.&set := $00000010;
  54893. end;
  54894. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  54895. begin
  54896. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  54897. end;
  54898. procedure TPORTC_LATC.setLATC12; inline;
  54899. begin
  54900. pTDefRegMap(@Self)^.&set := $00001000;
  54901. end;
  54902. procedure TPORTC_LATC.clearLATC12; inline;
  54903. begin
  54904. pTDefRegMap(@Self)^.clr := $00001000;
  54905. end;
  54906. procedure TPORTC_LATC.setLATC12(thebits : TBits_1); inline;
  54907. begin
  54908. if thebits = 0 then
  54909. pTDefRegMap(@Self)^.clr := $00001000
  54910. else
  54911. pTDefRegMap(@Self)^.&set := $00001000;
  54912. end;
  54913. function TPORTC_LATC.getLATC12 : TBits_1; inline;
  54914. begin
  54915. getLATC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  54916. end;
  54917. procedure TPORTC_LATC.setLATC13; inline;
  54918. begin
  54919. pTDefRegMap(@Self)^.&set := $00002000;
  54920. end;
  54921. procedure TPORTC_LATC.clearLATC13; inline;
  54922. begin
  54923. pTDefRegMap(@Self)^.clr := $00002000;
  54924. end;
  54925. procedure TPORTC_LATC.setLATC13(thebits : TBits_1); inline;
  54926. begin
  54927. if thebits = 0 then
  54928. pTDefRegMap(@Self)^.clr := $00002000
  54929. else
  54930. pTDefRegMap(@Self)^.&set := $00002000;
  54931. end;
  54932. function TPORTC_LATC.getLATC13 : TBits_1; inline;
  54933. begin
  54934. getLATC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  54935. end;
  54936. procedure TPORTC_LATC.setLATC14; inline;
  54937. begin
  54938. pTDefRegMap(@Self)^.&set := $00004000;
  54939. end;
  54940. procedure TPORTC_LATC.clearLATC14; inline;
  54941. begin
  54942. pTDefRegMap(@Self)^.clr := $00004000;
  54943. end;
  54944. procedure TPORTC_LATC.setLATC14(thebits : TBits_1); inline;
  54945. begin
  54946. if thebits = 0 then
  54947. pTDefRegMap(@Self)^.clr := $00004000
  54948. else
  54949. pTDefRegMap(@Self)^.&set := $00004000;
  54950. end;
  54951. function TPORTC_LATC.getLATC14 : TBits_1; inline;
  54952. begin
  54953. getLATC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  54954. end;
  54955. procedure TPORTC_LATC.setLATC15; inline;
  54956. begin
  54957. pTDefRegMap(@Self)^.&set := $00008000;
  54958. end;
  54959. procedure TPORTC_LATC.clearLATC15; inline;
  54960. begin
  54961. pTDefRegMap(@Self)^.clr := $00008000;
  54962. end;
  54963. procedure TPORTC_LATC.setLATC15(thebits : TBits_1); inline;
  54964. begin
  54965. if thebits = 0 then
  54966. pTDefRegMap(@Self)^.clr := $00008000
  54967. else
  54968. pTDefRegMap(@Self)^.&set := $00008000;
  54969. end;
  54970. function TPORTC_LATC.getLATC15 : TBits_1; inline;
  54971. begin
  54972. getLATC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  54973. end;
  54974. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  54975. begin
  54976. pTDefRegMap(@Self)^.val := thebits;
  54977. end;
  54978. function TPORTC_LATC.getw : TBits_32; inline;
  54979. begin
  54980. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  54981. end;
  54982. procedure TPORTC_ODCC.setODCC1; inline;
  54983. begin
  54984. pTDefRegMap(@Self)^.&set := $00000002;
  54985. end;
  54986. procedure TPORTC_ODCC.clearODCC1; inline;
  54987. begin
  54988. pTDefRegMap(@Self)^.clr := $00000002;
  54989. end;
  54990. procedure TPORTC_ODCC.setODCC1(thebits : TBits_1); inline;
  54991. begin
  54992. if thebits = 0 then
  54993. pTDefRegMap(@Self)^.clr := $00000002
  54994. else
  54995. pTDefRegMap(@Self)^.&set := $00000002;
  54996. end;
  54997. function TPORTC_ODCC.getODCC1 : TBits_1; inline;
  54998. begin
  54999. getODCC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55000. end;
  55001. procedure TPORTC_ODCC.setODCC2; inline;
  55002. begin
  55003. pTDefRegMap(@Self)^.&set := $00000004;
  55004. end;
  55005. procedure TPORTC_ODCC.clearODCC2; inline;
  55006. begin
  55007. pTDefRegMap(@Self)^.clr := $00000004;
  55008. end;
  55009. procedure TPORTC_ODCC.setODCC2(thebits : TBits_1); inline;
  55010. begin
  55011. if thebits = 0 then
  55012. pTDefRegMap(@Self)^.clr := $00000004
  55013. else
  55014. pTDefRegMap(@Self)^.&set := $00000004;
  55015. end;
  55016. function TPORTC_ODCC.getODCC2 : TBits_1; inline;
  55017. begin
  55018. getODCC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55019. end;
  55020. procedure TPORTC_ODCC.setODCC3; inline;
  55021. begin
  55022. pTDefRegMap(@Self)^.&set := $00000008;
  55023. end;
  55024. procedure TPORTC_ODCC.clearODCC3; inline;
  55025. begin
  55026. pTDefRegMap(@Self)^.clr := $00000008;
  55027. end;
  55028. procedure TPORTC_ODCC.setODCC3(thebits : TBits_1); inline;
  55029. begin
  55030. if thebits = 0 then
  55031. pTDefRegMap(@Self)^.clr := $00000008
  55032. else
  55033. pTDefRegMap(@Self)^.&set := $00000008;
  55034. end;
  55035. function TPORTC_ODCC.getODCC3 : TBits_1; inline;
  55036. begin
  55037. getODCC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55038. end;
  55039. procedure TPORTC_ODCC.setODCC4; inline;
  55040. begin
  55041. pTDefRegMap(@Self)^.&set := $00000010;
  55042. end;
  55043. procedure TPORTC_ODCC.clearODCC4; inline;
  55044. begin
  55045. pTDefRegMap(@Self)^.clr := $00000010;
  55046. end;
  55047. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  55048. begin
  55049. if thebits = 0 then
  55050. pTDefRegMap(@Self)^.clr := $00000010
  55051. else
  55052. pTDefRegMap(@Self)^.&set := $00000010;
  55053. end;
  55054. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  55055. begin
  55056. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55057. end;
  55058. procedure TPORTC_ODCC.setODCC12; inline;
  55059. begin
  55060. pTDefRegMap(@Self)^.&set := $00001000;
  55061. end;
  55062. procedure TPORTC_ODCC.clearODCC12; inline;
  55063. begin
  55064. pTDefRegMap(@Self)^.clr := $00001000;
  55065. end;
  55066. procedure TPORTC_ODCC.setODCC12(thebits : TBits_1); inline;
  55067. begin
  55068. if thebits = 0 then
  55069. pTDefRegMap(@Self)^.clr := $00001000
  55070. else
  55071. pTDefRegMap(@Self)^.&set := $00001000;
  55072. end;
  55073. function TPORTC_ODCC.getODCC12 : TBits_1; inline;
  55074. begin
  55075. getODCC12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55076. end;
  55077. procedure TPORTC_ODCC.setODCC13; inline;
  55078. begin
  55079. pTDefRegMap(@Self)^.&set := $00002000;
  55080. end;
  55081. procedure TPORTC_ODCC.clearODCC13; inline;
  55082. begin
  55083. pTDefRegMap(@Self)^.clr := $00002000;
  55084. end;
  55085. procedure TPORTC_ODCC.setODCC13(thebits : TBits_1); inline;
  55086. begin
  55087. if thebits = 0 then
  55088. pTDefRegMap(@Self)^.clr := $00002000
  55089. else
  55090. pTDefRegMap(@Self)^.&set := $00002000;
  55091. end;
  55092. function TPORTC_ODCC.getODCC13 : TBits_1; inline;
  55093. begin
  55094. getODCC13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55095. end;
  55096. procedure TPORTC_ODCC.setODCC14; inline;
  55097. begin
  55098. pTDefRegMap(@Self)^.&set := $00004000;
  55099. end;
  55100. procedure TPORTC_ODCC.clearODCC14; inline;
  55101. begin
  55102. pTDefRegMap(@Self)^.clr := $00004000;
  55103. end;
  55104. procedure TPORTC_ODCC.setODCC14(thebits : TBits_1); inline;
  55105. begin
  55106. if thebits = 0 then
  55107. pTDefRegMap(@Self)^.clr := $00004000
  55108. else
  55109. pTDefRegMap(@Self)^.&set := $00004000;
  55110. end;
  55111. function TPORTC_ODCC.getODCC14 : TBits_1; inline;
  55112. begin
  55113. getODCC14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55114. end;
  55115. procedure TPORTC_ODCC.setODCC15; inline;
  55116. begin
  55117. pTDefRegMap(@Self)^.&set := $00008000;
  55118. end;
  55119. procedure TPORTC_ODCC.clearODCC15; inline;
  55120. begin
  55121. pTDefRegMap(@Self)^.clr := $00008000;
  55122. end;
  55123. procedure TPORTC_ODCC.setODCC15(thebits : TBits_1); inline;
  55124. begin
  55125. if thebits = 0 then
  55126. pTDefRegMap(@Self)^.clr := $00008000
  55127. else
  55128. pTDefRegMap(@Self)^.&set := $00008000;
  55129. end;
  55130. function TPORTC_ODCC.getODCC15 : TBits_1; inline;
  55131. begin
  55132. getODCC15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55133. end;
  55134. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  55135. begin
  55136. pTDefRegMap(@Self)^.val := thebits;
  55137. end;
  55138. function TPORTC_ODCC.getw : TBits_32; inline;
  55139. begin
  55140. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55141. end;
  55142. procedure TPORTD_TRISD.setTRISD0; inline;
  55143. begin
  55144. pTDefRegMap(@Self)^.&set := $00000001;
  55145. end;
  55146. procedure TPORTD_TRISD.clearTRISD0; inline;
  55147. begin
  55148. pTDefRegMap(@Self)^.clr := $00000001;
  55149. end;
  55150. procedure TPORTD_TRISD.setTRISD0(thebits : TBits_1); inline;
  55151. begin
  55152. if thebits = 0 then
  55153. pTDefRegMap(@Self)^.clr := $00000001
  55154. else
  55155. pTDefRegMap(@Self)^.&set := $00000001;
  55156. end;
  55157. function TPORTD_TRISD.getTRISD0 : TBits_1; inline;
  55158. begin
  55159. getTRISD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55160. end;
  55161. procedure TPORTD_TRISD.setTRISD1; inline;
  55162. begin
  55163. pTDefRegMap(@Self)^.&set := $00000002;
  55164. end;
  55165. procedure TPORTD_TRISD.clearTRISD1; inline;
  55166. begin
  55167. pTDefRegMap(@Self)^.clr := $00000002;
  55168. end;
  55169. procedure TPORTD_TRISD.setTRISD1(thebits : TBits_1); inline;
  55170. begin
  55171. if thebits = 0 then
  55172. pTDefRegMap(@Self)^.clr := $00000002
  55173. else
  55174. pTDefRegMap(@Self)^.&set := $00000002;
  55175. end;
  55176. function TPORTD_TRISD.getTRISD1 : TBits_1; inline;
  55177. begin
  55178. getTRISD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55179. end;
  55180. procedure TPORTD_TRISD.setTRISD2; inline;
  55181. begin
  55182. pTDefRegMap(@Self)^.&set := $00000004;
  55183. end;
  55184. procedure TPORTD_TRISD.clearTRISD2; inline;
  55185. begin
  55186. pTDefRegMap(@Self)^.clr := $00000004;
  55187. end;
  55188. procedure TPORTD_TRISD.setTRISD2(thebits : TBits_1); inline;
  55189. begin
  55190. if thebits = 0 then
  55191. pTDefRegMap(@Self)^.clr := $00000004
  55192. else
  55193. pTDefRegMap(@Self)^.&set := $00000004;
  55194. end;
  55195. function TPORTD_TRISD.getTRISD2 : TBits_1; inline;
  55196. begin
  55197. getTRISD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55198. end;
  55199. procedure TPORTD_TRISD.setTRISD3; inline;
  55200. begin
  55201. pTDefRegMap(@Self)^.&set := $00000008;
  55202. end;
  55203. procedure TPORTD_TRISD.clearTRISD3; inline;
  55204. begin
  55205. pTDefRegMap(@Self)^.clr := $00000008;
  55206. end;
  55207. procedure TPORTD_TRISD.setTRISD3(thebits : TBits_1); inline;
  55208. begin
  55209. if thebits = 0 then
  55210. pTDefRegMap(@Self)^.clr := $00000008
  55211. else
  55212. pTDefRegMap(@Self)^.&set := $00000008;
  55213. end;
  55214. function TPORTD_TRISD.getTRISD3 : TBits_1; inline;
  55215. begin
  55216. getTRISD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55217. end;
  55218. procedure TPORTD_TRISD.setTRISD4; inline;
  55219. begin
  55220. pTDefRegMap(@Self)^.&set := $00000010;
  55221. end;
  55222. procedure TPORTD_TRISD.clearTRISD4; inline;
  55223. begin
  55224. pTDefRegMap(@Self)^.clr := $00000010;
  55225. end;
  55226. procedure TPORTD_TRISD.setTRISD4(thebits : TBits_1); inline;
  55227. begin
  55228. if thebits = 0 then
  55229. pTDefRegMap(@Self)^.clr := $00000010
  55230. else
  55231. pTDefRegMap(@Self)^.&set := $00000010;
  55232. end;
  55233. function TPORTD_TRISD.getTRISD4 : TBits_1; inline;
  55234. begin
  55235. getTRISD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55236. end;
  55237. procedure TPORTD_TRISD.setTRISD5; inline;
  55238. begin
  55239. pTDefRegMap(@Self)^.&set := $00000020;
  55240. end;
  55241. procedure TPORTD_TRISD.clearTRISD5; inline;
  55242. begin
  55243. pTDefRegMap(@Self)^.clr := $00000020;
  55244. end;
  55245. procedure TPORTD_TRISD.setTRISD5(thebits : TBits_1); inline;
  55246. begin
  55247. if thebits = 0 then
  55248. pTDefRegMap(@Self)^.clr := $00000020
  55249. else
  55250. pTDefRegMap(@Self)^.&set := $00000020;
  55251. end;
  55252. function TPORTD_TRISD.getTRISD5 : TBits_1; inline;
  55253. begin
  55254. getTRISD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55255. end;
  55256. procedure TPORTD_TRISD.setTRISD6; inline;
  55257. begin
  55258. pTDefRegMap(@Self)^.&set := $00000040;
  55259. end;
  55260. procedure TPORTD_TRISD.clearTRISD6; inline;
  55261. begin
  55262. pTDefRegMap(@Self)^.clr := $00000040;
  55263. end;
  55264. procedure TPORTD_TRISD.setTRISD6(thebits : TBits_1); inline;
  55265. begin
  55266. if thebits = 0 then
  55267. pTDefRegMap(@Self)^.clr := $00000040
  55268. else
  55269. pTDefRegMap(@Self)^.&set := $00000040;
  55270. end;
  55271. function TPORTD_TRISD.getTRISD6 : TBits_1; inline;
  55272. begin
  55273. getTRISD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55274. end;
  55275. procedure TPORTD_TRISD.setTRISD7; inline;
  55276. begin
  55277. pTDefRegMap(@Self)^.&set := $00000080;
  55278. end;
  55279. procedure TPORTD_TRISD.clearTRISD7; inline;
  55280. begin
  55281. pTDefRegMap(@Self)^.clr := $00000080;
  55282. end;
  55283. procedure TPORTD_TRISD.setTRISD7(thebits : TBits_1); inline;
  55284. begin
  55285. if thebits = 0 then
  55286. pTDefRegMap(@Self)^.clr := $00000080
  55287. else
  55288. pTDefRegMap(@Self)^.&set := $00000080;
  55289. end;
  55290. function TPORTD_TRISD.getTRISD7 : TBits_1; inline;
  55291. begin
  55292. getTRISD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55293. end;
  55294. procedure TPORTD_TRISD.setTRISD8; inline;
  55295. begin
  55296. pTDefRegMap(@Self)^.&set := $00000100;
  55297. end;
  55298. procedure TPORTD_TRISD.clearTRISD8; inline;
  55299. begin
  55300. pTDefRegMap(@Self)^.clr := $00000100;
  55301. end;
  55302. procedure TPORTD_TRISD.setTRISD8(thebits : TBits_1); inline;
  55303. begin
  55304. if thebits = 0 then
  55305. pTDefRegMap(@Self)^.clr := $00000100
  55306. else
  55307. pTDefRegMap(@Self)^.&set := $00000100;
  55308. end;
  55309. function TPORTD_TRISD.getTRISD8 : TBits_1; inline;
  55310. begin
  55311. getTRISD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55312. end;
  55313. procedure TPORTD_TRISD.setTRISD9; inline;
  55314. begin
  55315. pTDefRegMap(@Self)^.&set := $00000200;
  55316. end;
  55317. procedure TPORTD_TRISD.clearTRISD9; inline;
  55318. begin
  55319. pTDefRegMap(@Self)^.clr := $00000200;
  55320. end;
  55321. procedure TPORTD_TRISD.setTRISD9(thebits : TBits_1); inline;
  55322. begin
  55323. if thebits = 0 then
  55324. pTDefRegMap(@Self)^.clr := $00000200
  55325. else
  55326. pTDefRegMap(@Self)^.&set := $00000200;
  55327. end;
  55328. function TPORTD_TRISD.getTRISD9 : TBits_1; inline;
  55329. begin
  55330. getTRISD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55331. end;
  55332. procedure TPORTD_TRISD.setTRISD10; inline;
  55333. begin
  55334. pTDefRegMap(@Self)^.&set := $00000400;
  55335. end;
  55336. procedure TPORTD_TRISD.clearTRISD10; inline;
  55337. begin
  55338. pTDefRegMap(@Self)^.clr := $00000400;
  55339. end;
  55340. procedure TPORTD_TRISD.setTRISD10(thebits : TBits_1); inline;
  55341. begin
  55342. if thebits = 0 then
  55343. pTDefRegMap(@Self)^.clr := $00000400
  55344. else
  55345. pTDefRegMap(@Self)^.&set := $00000400;
  55346. end;
  55347. function TPORTD_TRISD.getTRISD10 : TBits_1; inline;
  55348. begin
  55349. getTRISD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55350. end;
  55351. procedure TPORTD_TRISD.setTRISD11; inline;
  55352. begin
  55353. pTDefRegMap(@Self)^.&set := $00000800;
  55354. end;
  55355. procedure TPORTD_TRISD.clearTRISD11; inline;
  55356. begin
  55357. pTDefRegMap(@Self)^.clr := $00000800;
  55358. end;
  55359. procedure TPORTD_TRISD.setTRISD11(thebits : TBits_1); inline;
  55360. begin
  55361. if thebits = 0 then
  55362. pTDefRegMap(@Self)^.clr := $00000800
  55363. else
  55364. pTDefRegMap(@Self)^.&set := $00000800;
  55365. end;
  55366. function TPORTD_TRISD.getTRISD11 : TBits_1; inline;
  55367. begin
  55368. getTRISD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55369. end;
  55370. procedure TPORTD_TRISD.setTRISD12; inline;
  55371. begin
  55372. pTDefRegMap(@Self)^.&set := $00001000;
  55373. end;
  55374. procedure TPORTD_TRISD.clearTRISD12; inline;
  55375. begin
  55376. pTDefRegMap(@Self)^.clr := $00001000;
  55377. end;
  55378. procedure TPORTD_TRISD.setTRISD12(thebits : TBits_1); inline;
  55379. begin
  55380. if thebits = 0 then
  55381. pTDefRegMap(@Self)^.clr := $00001000
  55382. else
  55383. pTDefRegMap(@Self)^.&set := $00001000;
  55384. end;
  55385. function TPORTD_TRISD.getTRISD12 : TBits_1; inline;
  55386. begin
  55387. getTRISD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55388. end;
  55389. procedure TPORTD_TRISD.setTRISD13; inline;
  55390. begin
  55391. pTDefRegMap(@Self)^.&set := $00002000;
  55392. end;
  55393. procedure TPORTD_TRISD.clearTRISD13; inline;
  55394. begin
  55395. pTDefRegMap(@Self)^.clr := $00002000;
  55396. end;
  55397. procedure TPORTD_TRISD.setTRISD13(thebits : TBits_1); inline;
  55398. begin
  55399. if thebits = 0 then
  55400. pTDefRegMap(@Self)^.clr := $00002000
  55401. else
  55402. pTDefRegMap(@Self)^.&set := $00002000;
  55403. end;
  55404. function TPORTD_TRISD.getTRISD13 : TBits_1; inline;
  55405. begin
  55406. getTRISD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55407. end;
  55408. procedure TPORTD_TRISD.setTRISD14; inline;
  55409. begin
  55410. pTDefRegMap(@Self)^.&set := $00004000;
  55411. end;
  55412. procedure TPORTD_TRISD.clearTRISD14; inline;
  55413. begin
  55414. pTDefRegMap(@Self)^.clr := $00004000;
  55415. end;
  55416. procedure TPORTD_TRISD.setTRISD14(thebits : TBits_1); inline;
  55417. begin
  55418. if thebits = 0 then
  55419. pTDefRegMap(@Self)^.clr := $00004000
  55420. else
  55421. pTDefRegMap(@Self)^.&set := $00004000;
  55422. end;
  55423. function TPORTD_TRISD.getTRISD14 : TBits_1; inline;
  55424. begin
  55425. getTRISD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55426. end;
  55427. procedure TPORTD_TRISD.setTRISD15; inline;
  55428. begin
  55429. pTDefRegMap(@Self)^.&set := $00008000;
  55430. end;
  55431. procedure TPORTD_TRISD.clearTRISD15; inline;
  55432. begin
  55433. pTDefRegMap(@Self)^.clr := $00008000;
  55434. end;
  55435. procedure TPORTD_TRISD.setTRISD15(thebits : TBits_1); inline;
  55436. begin
  55437. if thebits = 0 then
  55438. pTDefRegMap(@Self)^.clr := $00008000
  55439. else
  55440. pTDefRegMap(@Self)^.&set := $00008000;
  55441. end;
  55442. function TPORTD_TRISD.getTRISD15 : TBits_1; inline;
  55443. begin
  55444. getTRISD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55445. end;
  55446. procedure TPORTD_TRISD.setw(thebits : TBits_32); inline;
  55447. begin
  55448. pTDefRegMap(@Self)^.val := thebits;
  55449. end;
  55450. function TPORTD_TRISD.getw : TBits_32; inline;
  55451. begin
  55452. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55453. end;
  55454. procedure TPORTD_PORTD.setRD0; inline;
  55455. begin
  55456. pTDefRegMap(@Self)^.&set := $00000001;
  55457. end;
  55458. procedure TPORTD_PORTD.clearRD0; inline;
  55459. begin
  55460. pTDefRegMap(@Self)^.clr := $00000001;
  55461. end;
  55462. procedure TPORTD_PORTD.setRD0(thebits : TBits_1); inline;
  55463. begin
  55464. if thebits = 0 then
  55465. pTDefRegMap(@Self)^.clr := $00000001
  55466. else
  55467. pTDefRegMap(@Self)^.&set := $00000001;
  55468. end;
  55469. function TPORTD_PORTD.getRD0 : TBits_1; inline;
  55470. begin
  55471. getRD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55472. end;
  55473. procedure TPORTD_PORTD.setRD1; inline;
  55474. begin
  55475. pTDefRegMap(@Self)^.&set := $00000002;
  55476. end;
  55477. procedure TPORTD_PORTD.clearRD1; inline;
  55478. begin
  55479. pTDefRegMap(@Self)^.clr := $00000002;
  55480. end;
  55481. procedure TPORTD_PORTD.setRD1(thebits : TBits_1); inline;
  55482. begin
  55483. if thebits = 0 then
  55484. pTDefRegMap(@Self)^.clr := $00000002
  55485. else
  55486. pTDefRegMap(@Self)^.&set := $00000002;
  55487. end;
  55488. function TPORTD_PORTD.getRD1 : TBits_1; inline;
  55489. begin
  55490. getRD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55491. end;
  55492. procedure TPORTD_PORTD.setRD2; inline;
  55493. begin
  55494. pTDefRegMap(@Self)^.&set := $00000004;
  55495. end;
  55496. procedure TPORTD_PORTD.clearRD2; inline;
  55497. begin
  55498. pTDefRegMap(@Self)^.clr := $00000004;
  55499. end;
  55500. procedure TPORTD_PORTD.setRD2(thebits : TBits_1); inline;
  55501. begin
  55502. if thebits = 0 then
  55503. pTDefRegMap(@Self)^.clr := $00000004
  55504. else
  55505. pTDefRegMap(@Self)^.&set := $00000004;
  55506. end;
  55507. function TPORTD_PORTD.getRD2 : TBits_1; inline;
  55508. begin
  55509. getRD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55510. end;
  55511. procedure TPORTD_PORTD.setRD3; inline;
  55512. begin
  55513. pTDefRegMap(@Self)^.&set := $00000008;
  55514. end;
  55515. procedure TPORTD_PORTD.clearRD3; inline;
  55516. begin
  55517. pTDefRegMap(@Self)^.clr := $00000008;
  55518. end;
  55519. procedure TPORTD_PORTD.setRD3(thebits : TBits_1); inline;
  55520. begin
  55521. if thebits = 0 then
  55522. pTDefRegMap(@Self)^.clr := $00000008
  55523. else
  55524. pTDefRegMap(@Self)^.&set := $00000008;
  55525. end;
  55526. function TPORTD_PORTD.getRD3 : TBits_1; inline;
  55527. begin
  55528. getRD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55529. end;
  55530. procedure TPORTD_PORTD.setRD4; inline;
  55531. begin
  55532. pTDefRegMap(@Self)^.&set := $00000010;
  55533. end;
  55534. procedure TPORTD_PORTD.clearRD4; inline;
  55535. begin
  55536. pTDefRegMap(@Self)^.clr := $00000010;
  55537. end;
  55538. procedure TPORTD_PORTD.setRD4(thebits : TBits_1); inline;
  55539. begin
  55540. if thebits = 0 then
  55541. pTDefRegMap(@Self)^.clr := $00000010
  55542. else
  55543. pTDefRegMap(@Self)^.&set := $00000010;
  55544. end;
  55545. function TPORTD_PORTD.getRD4 : TBits_1; inline;
  55546. begin
  55547. getRD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55548. end;
  55549. procedure TPORTD_PORTD.setRD5; inline;
  55550. begin
  55551. pTDefRegMap(@Self)^.&set := $00000020;
  55552. end;
  55553. procedure TPORTD_PORTD.clearRD5; inline;
  55554. begin
  55555. pTDefRegMap(@Self)^.clr := $00000020;
  55556. end;
  55557. procedure TPORTD_PORTD.setRD5(thebits : TBits_1); inline;
  55558. begin
  55559. if thebits = 0 then
  55560. pTDefRegMap(@Self)^.clr := $00000020
  55561. else
  55562. pTDefRegMap(@Self)^.&set := $00000020;
  55563. end;
  55564. function TPORTD_PORTD.getRD5 : TBits_1; inline;
  55565. begin
  55566. getRD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55567. end;
  55568. procedure TPORTD_PORTD.setRD6; inline;
  55569. begin
  55570. pTDefRegMap(@Self)^.&set := $00000040;
  55571. end;
  55572. procedure TPORTD_PORTD.clearRD6; inline;
  55573. begin
  55574. pTDefRegMap(@Self)^.clr := $00000040;
  55575. end;
  55576. procedure TPORTD_PORTD.setRD6(thebits : TBits_1); inline;
  55577. begin
  55578. if thebits = 0 then
  55579. pTDefRegMap(@Self)^.clr := $00000040
  55580. else
  55581. pTDefRegMap(@Self)^.&set := $00000040;
  55582. end;
  55583. function TPORTD_PORTD.getRD6 : TBits_1; inline;
  55584. begin
  55585. getRD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55586. end;
  55587. procedure TPORTD_PORTD.setRD7; inline;
  55588. begin
  55589. pTDefRegMap(@Self)^.&set := $00000080;
  55590. end;
  55591. procedure TPORTD_PORTD.clearRD7; inline;
  55592. begin
  55593. pTDefRegMap(@Self)^.clr := $00000080;
  55594. end;
  55595. procedure TPORTD_PORTD.setRD7(thebits : TBits_1); inline;
  55596. begin
  55597. if thebits = 0 then
  55598. pTDefRegMap(@Self)^.clr := $00000080
  55599. else
  55600. pTDefRegMap(@Self)^.&set := $00000080;
  55601. end;
  55602. function TPORTD_PORTD.getRD7 : TBits_1; inline;
  55603. begin
  55604. getRD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55605. end;
  55606. procedure TPORTD_PORTD.setRD8; inline;
  55607. begin
  55608. pTDefRegMap(@Self)^.&set := $00000100;
  55609. end;
  55610. procedure TPORTD_PORTD.clearRD8; inline;
  55611. begin
  55612. pTDefRegMap(@Self)^.clr := $00000100;
  55613. end;
  55614. procedure TPORTD_PORTD.setRD8(thebits : TBits_1); inline;
  55615. begin
  55616. if thebits = 0 then
  55617. pTDefRegMap(@Self)^.clr := $00000100
  55618. else
  55619. pTDefRegMap(@Self)^.&set := $00000100;
  55620. end;
  55621. function TPORTD_PORTD.getRD8 : TBits_1; inline;
  55622. begin
  55623. getRD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55624. end;
  55625. procedure TPORTD_PORTD.setRD9; inline;
  55626. begin
  55627. pTDefRegMap(@Self)^.&set := $00000200;
  55628. end;
  55629. procedure TPORTD_PORTD.clearRD9; inline;
  55630. begin
  55631. pTDefRegMap(@Self)^.clr := $00000200;
  55632. end;
  55633. procedure TPORTD_PORTD.setRD9(thebits : TBits_1); inline;
  55634. begin
  55635. if thebits = 0 then
  55636. pTDefRegMap(@Self)^.clr := $00000200
  55637. else
  55638. pTDefRegMap(@Self)^.&set := $00000200;
  55639. end;
  55640. function TPORTD_PORTD.getRD9 : TBits_1; inline;
  55641. begin
  55642. getRD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55643. end;
  55644. procedure TPORTD_PORTD.setRD10; inline;
  55645. begin
  55646. pTDefRegMap(@Self)^.&set := $00000400;
  55647. end;
  55648. procedure TPORTD_PORTD.clearRD10; inline;
  55649. begin
  55650. pTDefRegMap(@Self)^.clr := $00000400;
  55651. end;
  55652. procedure TPORTD_PORTD.setRD10(thebits : TBits_1); inline;
  55653. begin
  55654. if thebits = 0 then
  55655. pTDefRegMap(@Self)^.clr := $00000400
  55656. else
  55657. pTDefRegMap(@Self)^.&set := $00000400;
  55658. end;
  55659. function TPORTD_PORTD.getRD10 : TBits_1; inline;
  55660. begin
  55661. getRD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55662. end;
  55663. procedure TPORTD_PORTD.setRD11; inline;
  55664. begin
  55665. pTDefRegMap(@Self)^.&set := $00000800;
  55666. end;
  55667. procedure TPORTD_PORTD.clearRD11; inline;
  55668. begin
  55669. pTDefRegMap(@Self)^.clr := $00000800;
  55670. end;
  55671. procedure TPORTD_PORTD.setRD11(thebits : TBits_1); inline;
  55672. begin
  55673. if thebits = 0 then
  55674. pTDefRegMap(@Self)^.clr := $00000800
  55675. else
  55676. pTDefRegMap(@Self)^.&set := $00000800;
  55677. end;
  55678. function TPORTD_PORTD.getRD11 : TBits_1; inline;
  55679. begin
  55680. getRD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55681. end;
  55682. procedure TPORTD_PORTD.setRD12; inline;
  55683. begin
  55684. pTDefRegMap(@Self)^.&set := $00001000;
  55685. end;
  55686. procedure TPORTD_PORTD.clearRD12; inline;
  55687. begin
  55688. pTDefRegMap(@Self)^.clr := $00001000;
  55689. end;
  55690. procedure TPORTD_PORTD.setRD12(thebits : TBits_1); inline;
  55691. begin
  55692. if thebits = 0 then
  55693. pTDefRegMap(@Self)^.clr := $00001000
  55694. else
  55695. pTDefRegMap(@Self)^.&set := $00001000;
  55696. end;
  55697. function TPORTD_PORTD.getRD12 : TBits_1; inline;
  55698. begin
  55699. getRD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  55700. end;
  55701. procedure TPORTD_PORTD.setRD13; inline;
  55702. begin
  55703. pTDefRegMap(@Self)^.&set := $00002000;
  55704. end;
  55705. procedure TPORTD_PORTD.clearRD13; inline;
  55706. begin
  55707. pTDefRegMap(@Self)^.clr := $00002000;
  55708. end;
  55709. procedure TPORTD_PORTD.setRD13(thebits : TBits_1); inline;
  55710. begin
  55711. if thebits = 0 then
  55712. pTDefRegMap(@Self)^.clr := $00002000
  55713. else
  55714. pTDefRegMap(@Self)^.&set := $00002000;
  55715. end;
  55716. function TPORTD_PORTD.getRD13 : TBits_1; inline;
  55717. begin
  55718. getRD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  55719. end;
  55720. procedure TPORTD_PORTD.setRD14; inline;
  55721. begin
  55722. pTDefRegMap(@Self)^.&set := $00004000;
  55723. end;
  55724. procedure TPORTD_PORTD.clearRD14; inline;
  55725. begin
  55726. pTDefRegMap(@Self)^.clr := $00004000;
  55727. end;
  55728. procedure TPORTD_PORTD.setRD14(thebits : TBits_1); inline;
  55729. begin
  55730. if thebits = 0 then
  55731. pTDefRegMap(@Self)^.clr := $00004000
  55732. else
  55733. pTDefRegMap(@Self)^.&set := $00004000;
  55734. end;
  55735. function TPORTD_PORTD.getRD14 : TBits_1; inline;
  55736. begin
  55737. getRD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  55738. end;
  55739. procedure TPORTD_PORTD.setRD15; inline;
  55740. begin
  55741. pTDefRegMap(@Self)^.&set := $00008000;
  55742. end;
  55743. procedure TPORTD_PORTD.clearRD15; inline;
  55744. begin
  55745. pTDefRegMap(@Self)^.clr := $00008000;
  55746. end;
  55747. procedure TPORTD_PORTD.setRD15(thebits : TBits_1); inline;
  55748. begin
  55749. if thebits = 0 then
  55750. pTDefRegMap(@Self)^.clr := $00008000
  55751. else
  55752. pTDefRegMap(@Self)^.&set := $00008000;
  55753. end;
  55754. function TPORTD_PORTD.getRD15 : TBits_1; inline;
  55755. begin
  55756. getRD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  55757. end;
  55758. procedure TPORTD_PORTD.setw(thebits : TBits_32); inline;
  55759. begin
  55760. pTDefRegMap(@Self)^.val := thebits;
  55761. end;
  55762. function TPORTD_PORTD.getw : TBits_32; inline;
  55763. begin
  55764. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  55765. end;
  55766. procedure TPORTD_LATD.setLATD0; inline;
  55767. begin
  55768. pTDefRegMap(@Self)^.&set := $00000001;
  55769. end;
  55770. procedure TPORTD_LATD.clearLATD0; inline;
  55771. begin
  55772. pTDefRegMap(@Self)^.clr := $00000001;
  55773. end;
  55774. procedure TPORTD_LATD.setLATD0(thebits : TBits_1); inline;
  55775. begin
  55776. if thebits = 0 then
  55777. pTDefRegMap(@Self)^.clr := $00000001
  55778. else
  55779. pTDefRegMap(@Self)^.&set := $00000001;
  55780. end;
  55781. function TPORTD_LATD.getLATD0 : TBits_1; inline;
  55782. begin
  55783. getLATD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  55784. end;
  55785. procedure TPORTD_LATD.setLATD1; inline;
  55786. begin
  55787. pTDefRegMap(@Self)^.&set := $00000002;
  55788. end;
  55789. procedure TPORTD_LATD.clearLATD1; inline;
  55790. begin
  55791. pTDefRegMap(@Self)^.clr := $00000002;
  55792. end;
  55793. procedure TPORTD_LATD.setLATD1(thebits : TBits_1); inline;
  55794. begin
  55795. if thebits = 0 then
  55796. pTDefRegMap(@Self)^.clr := $00000002
  55797. else
  55798. pTDefRegMap(@Self)^.&set := $00000002;
  55799. end;
  55800. function TPORTD_LATD.getLATD1 : TBits_1; inline;
  55801. begin
  55802. getLATD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  55803. end;
  55804. procedure TPORTD_LATD.setLATD2; inline;
  55805. begin
  55806. pTDefRegMap(@Self)^.&set := $00000004;
  55807. end;
  55808. procedure TPORTD_LATD.clearLATD2; inline;
  55809. begin
  55810. pTDefRegMap(@Self)^.clr := $00000004;
  55811. end;
  55812. procedure TPORTD_LATD.setLATD2(thebits : TBits_1); inline;
  55813. begin
  55814. if thebits = 0 then
  55815. pTDefRegMap(@Self)^.clr := $00000004
  55816. else
  55817. pTDefRegMap(@Self)^.&set := $00000004;
  55818. end;
  55819. function TPORTD_LATD.getLATD2 : TBits_1; inline;
  55820. begin
  55821. getLATD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  55822. end;
  55823. procedure TPORTD_LATD.setLATD3; inline;
  55824. begin
  55825. pTDefRegMap(@Self)^.&set := $00000008;
  55826. end;
  55827. procedure TPORTD_LATD.clearLATD3; inline;
  55828. begin
  55829. pTDefRegMap(@Self)^.clr := $00000008;
  55830. end;
  55831. procedure TPORTD_LATD.setLATD3(thebits : TBits_1); inline;
  55832. begin
  55833. if thebits = 0 then
  55834. pTDefRegMap(@Self)^.clr := $00000008
  55835. else
  55836. pTDefRegMap(@Self)^.&set := $00000008;
  55837. end;
  55838. function TPORTD_LATD.getLATD3 : TBits_1; inline;
  55839. begin
  55840. getLATD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  55841. end;
  55842. procedure TPORTD_LATD.setLATD4; inline;
  55843. begin
  55844. pTDefRegMap(@Self)^.&set := $00000010;
  55845. end;
  55846. procedure TPORTD_LATD.clearLATD4; inline;
  55847. begin
  55848. pTDefRegMap(@Self)^.clr := $00000010;
  55849. end;
  55850. procedure TPORTD_LATD.setLATD4(thebits : TBits_1); inline;
  55851. begin
  55852. if thebits = 0 then
  55853. pTDefRegMap(@Self)^.clr := $00000010
  55854. else
  55855. pTDefRegMap(@Self)^.&set := $00000010;
  55856. end;
  55857. function TPORTD_LATD.getLATD4 : TBits_1; inline;
  55858. begin
  55859. getLATD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  55860. end;
  55861. procedure TPORTD_LATD.setLATD5; inline;
  55862. begin
  55863. pTDefRegMap(@Self)^.&set := $00000020;
  55864. end;
  55865. procedure TPORTD_LATD.clearLATD5; inline;
  55866. begin
  55867. pTDefRegMap(@Self)^.clr := $00000020;
  55868. end;
  55869. procedure TPORTD_LATD.setLATD5(thebits : TBits_1); inline;
  55870. begin
  55871. if thebits = 0 then
  55872. pTDefRegMap(@Self)^.clr := $00000020
  55873. else
  55874. pTDefRegMap(@Self)^.&set := $00000020;
  55875. end;
  55876. function TPORTD_LATD.getLATD5 : TBits_1; inline;
  55877. begin
  55878. getLATD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  55879. end;
  55880. procedure TPORTD_LATD.setLATD6; inline;
  55881. begin
  55882. pTDefRegMap(@Self)^.&set := $00000040;
  55883. end;
  55884. procedure TPORTD_LATD.clearLATD6; inline;
  55885. begin
  55886. pTDefRegMap(@Self)^.clr := $00000040;
  55887. end;
  55888. procedure TPORTD_LATD.setLATD6(thebits : TBits_1); inline;
  55889. begin
  55890. if thebits = 0 then
  55891. pTDefRegMap(@Self)^.clr := $00000040
  55892. else
  55893. pTDefRegMap(@Self)^.&set := $00000040;
  55894. end;
  55895. function TPORTD_LATD.getLATD6 : TBits_1; inline;
  55896. begin
  55897. getLATD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  55898. end;
  55899. procedure TPORTD_LATD.setLATD7; inline;
  55900. begin
  55901. pTDefRegMap(@Self)^.&set := $00000080;
  55902. end;
  55903. procedure TPORTD_LATD.clearLATD7; inline;
  55904. begin
  55905. pTDefRegMap(@Self)^.clr := $00000080;
  55906. end;
  55907. procedure TPORTD_LATD.setLATD7(thebits : TBits_1); inline;
  55908. begin
  55909. if thebits = 0 then
  55910. pTDefRegMap(@Self)^.clr := $00000080
  55911. else
  55912. pTDefRegMap(@Self)^.&set := $00000080;
  55913. end;
  55914. function TPORTD_LATD.getLATD7 : TBits_1; inline;
  55915. begin
  55916. getLATD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  55917. end;
  55918. procedure TPORTD_LATD.setLATD8; inline;
  55919. begin
  55920. pTDefRegMap(@Self)^.&set := $00000100;
  55921. end;
  55922. procedure TPORTD_LATD.clearLATD8; inline;
  55923. begin
  55924. pTDefRegMap(@Self)^.clr := $00000100;
  55925. end;
  55926. procedure TPORTD_LATD.setLATD8(thebits : TBits_1); inline;
  55927. begin
  55928. if thebits = 0 then
  55929. pTDefRegMap(@Self)^.clr := $00000100
  55930. else
  55931. pTDefRegMap(@Self)^.&set := $00000100;
  55932. end;
  55933. function TPORTD_LATD.getLATD8 : TBits_1; inline;
  55934. begin
  55935. getLATD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  55936. end;
  55937. procedure TPORTD_LATD.setLATD9; inline;
  55938. begin
  55939. pTDefRegMap(@Self)^.&set := $00000200;
  55940. end;
  55941. procedure TPORTD_LATD.clearLATD9; inline;
  55942. begin
  55943. pTDefRegMap(@Self)^.clr := $00000200;
  55944. end;
  55945. procedure TPORTD_LATD.setLATD9(thebits : TBits_1); inline;
  55946. begin
  55947. if thebits = 0 then
  55948. pTDefRegMap(@Self)^.clr := $00000200
  55949. else
  55950. pTDefRegMap(@Self)^.&set := $00000200;
  55951. end;
  55952. function TPORTD_LATD.getLATD9 : TBits_1; inline;
  55953. begin
  55954. getLATD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  55955. end;
  55956. procedure TPORTD_LATD.setLATD10; inline;
  55957. begin
  55958. pTDefRegMap(@Self)^.&set := $00000400;
  55959. end;
  55960. procedure TPORTD_LATD.clearLATD10; inline;
  55961. begin
  55962. pTDefRegMap(@Self)^.clr := $00000400;
  55963. end;
  55964. procedure TPORTD_LATD.setLATD10(thebits : TBits_1); inline;
  55965. begin
  55966. if thebits = 0 then
  55967. pTDefRegMap(@Self)^.clr := $00000400
  55968. else
  55969. pTDefRegMap(@Self)^.&set := $00000400;
  55970. end;
  55971. function TPORTD_LATD.getLATD10 : TBits_1; inline;
  55972. begin
  55973. getLATD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  55974. end;
  55975. procedure TPORTD_LATD.setLATD11; inline;
  55976. begin
  55977. pTDefRegMap(@Self)^.&set := $00000800;
  55978. end;
  55979. procedure TPORTD_LATD.clearLATD11; inline;
  55980. begin
  55981. pTDefRegMap(@Self)^.clr := $00000800;
  55982. end;
  55983. procedure TPORTD_LATD.setLATD11(thebits : TBits_1); inline;
  55984. begin
  55985. if thebits = 0 then
  55986. pTDefRegMap(@Self)^.clr := $00000800
  55987. else
  55988. pTDefRegMap(@Self)^.&set := $00000800;
  55989. end;
  55990. function TPORTD_LATD.getLATD11 : TBits_1; inline;
  55991. begin
  55992. getLATD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  55993. end;
  55994. procedure TPORTD_LATD.setLATD12; inline;
  55995. begin
  55996. pTDefRegMap(@Self)^.&set := $00001000;
  55997. end;
  55998. procedure TPORTD_LATD.clearLATD12; inline;
  55999. begin
  56000. pTDefRegMap(@Self)^.clr := $00001000;
  56001. end;
  56002. procedure TPORTD_LATD.setLATD12(thebits : TBits_1); inline;
  56003. begin
  56004. if thebits = 0 then
  56005. pTDefRegMap(@Self)^.clr := $00001000
  56006. else
  56007. pTDefRegMap(@Self)^.&set := $00001000;
  56008. end;
  56009. function TPORTD_LATD.getLATD12 : TBits_1; inline;
  56010. begin
  56011. getLATD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56012. end;
  56013. procedure TPORTD_LATD.setLATD13; inline;
  56014. begin
  56015. pTDefRegMap(@Self)^.&set := $00002000;
  56016. end;
  56017. procedure TPORTD_LATD.clearLATD13; inline;
  56018. begin
  56019. pTDefRegMap(@Self)^.clr := $00002000;
  56020. end;
  56021. procedure TPORTD_LATD.setLATD13(thebits : TBits_1); inline;
  56022. begin
  56023. if thebits = 0 then
  56024. pTDefRegMap(@Self)^.clr := $00002000
  56025. else
  56026. pTDefRegMap(@Self)^.&set := $00002000;
  56027. end;
  56028. function TPORTD_LATD.getLATD13 : TBits_1; inline;
  56029. begin
  56030. getLATD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56031. end;
  56032. procedure TPORTD_LATD.setLATD14; inline;
  56033. begin
  56034. pTDefRegMap(@Self)^.&set := $00004000;
  56035. end;
  56036. procedure TPORTD_LATD.clearLATD14; inline;
  56037. begin
  56038. pTDefRegMap(@Self)^.clr := $00004000;
  56039. end;
  56040. procedure TPORTD_LATD.setLATD14(thebits : TBits_1); inline;
  56041. begin
  56042. if thebits = 0 then
  56043. pTDefRegMap(@Self)^.clr := $00004000
  56044. else
  56045. pTDefRegMap(@Self)^.&set := $00004000;
  56046. end;
  56047. function TPORTD_LATD.getLATD14 : TBits_1; inline;
  56048. begin
  56049. getLATD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56050. end;
  56051. procedure TPORTD_LATD.setLATD15; inline;
  56052. begin
  56053. pTDefRegMap(@Self)^.&set := $00008000;
  56054. end;
  56055. procedure TPORTD_LATD.clearLATD15; inline;
  56056. begin
  56057. pTDefRegMap(@Self)^.clr := $00008000;
  56058. end;
  56059. procedure TPORTD_LATD.setLATD15(thebits : TBits_1); inline;
  56060. begin
  56061. if thebits = 0 then
  56062. pTDefRegMap(@Self)^.clr := $00008000
  56063. else
  56064. pTDefRegMap(@Self)^.&set := $00008000;
  56065. end;
  56066. function TPORTD_LATD.getLATD15 : TBits_1; inline;
  56067. begin
  56068. getLATD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56069. end;
  56070. procedure TPORTD_LATD.setw(thebits : TBits_32); inline;
  56071. begin
  56072. pTDefRegMap(@Self)^.val := thebits;
  56073. end;
  56074. function TPORTD_LATD.getw : TBits_32; inline;
  56075. begin
  56076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56077. end;
  56078. procedure TPORTD_ODCD.setODCD0; inline;
  56079. begin
  56080. pTDefRegMap(@Self)^.&set := $00000001;
  56081. end;
  56082. procedure TPORTD_ODCD.clearODCD0; inline;
  56083. begin
  56084. pTDefRegMap(@Self)^.clr := $00000001;
  56085. end;
  56086. procedure TPORTD_ODCD.setODCD0(thebits : TBits_1); inline;
  56087. begin
  56088. if thebits = 0 then
  56089. pTDefRegMap(@Self)^.clr := $00000001
  56090. else
  56091. pTDefRegMap(@Self)^.&set := $00000001;
  56092. end;
  56093. function TPORTD_ODCD.getODCD0 : TBits_1; inline;
  56094. begin
  56095. getODCD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56096. end;
  56097. procedure TPORTD_ODCD.setODCD1; inline;
  56098. begin
  56099. pTDefRegMap(@Self)^.&set := $00000002;
  56100. end;
  56101. procedure TPORTD_ODCD.clearODCD1; inline;
  56102. begin
  56103. pTDefRegMap(@Self)^.clr := $00000002;
  56104. end;
  56105. procedure TPORTD_ODCD.setODCD1(thebits : TBits_1); inline;
  56106. begin
  56107. if thebits = 0 then
  56108. pTDefRegMap(@Self)^.clr := $00000002
  56109. else
  56110. pTDefRegMap(@Self)^.&set := $00000002;
  56111. end;
  56112. function TPORTD_ODCD.getODCD1 : TBits_1; inline;
  56113. begin
  56114. getODCD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56115. end;
  56116. procedure TPORTD_ODCD.setODCD2; inline;
  56117. begin
  56118. pTDefRegMap(@Self)^.&set := $00000004;
  56119. end;
  56120. procedure TPORTD_ODCD.clearODCD2; inline;
  56121. begin
  56122. pTDefRegMap(@Self)^.clr := $00000004;
  56123. end;
  56124. procedure TPORTD_ODCD.setODCD2(thebits : TBits_1); inline;
  56125. begin
  56126. if thebits = 0 then
  56127. pTDefRegMap(@Self)^.clr := $00000004
  56128. else
  56129. pTDefRegMap(@Self)^.&set := $00000004;
  56130. end;
  56131. function TPORTD_ODCD.getODCD2 : TBits_1; inline;
  56132. begin
  56133. getODCD2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56134. end;
  56135. procedure TPORTD_ODCD.setODCD3; inline;
  56136. begin
  56137. pTDefRegMap(@Self)^.&set := $00000008;
  56138. end;
  56139. procedure TPORTD_ODCD.clearODCD3; inline;
  56140. begin
  56141. pTDefRegMap(@Self)^.clr := $00000008;
  56142. end;
  56143. procedure TPORTD_ODCD.setODCD3(thebits : TBits_1); inline;
  56144. begin
  56145. if thebits = 0 then
  56146. pTDefRegMap(@Self)^.clr := $00000008
  56147. else
  56148. pTDefRegMap(@Self)^.&set := $00000008;
  56149. end;
  56150. function TPORTD_ODCD.getODCD3 : TBits_1; inline;
  56151. begin
  56152. getODCD3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56153. end;
  56154. procedure TPORTD_ODCD.setODCD4; inline;
  56155. begin
  56156. pTDefRegMap(@Self)^.&set := $00000010;
  56157. end;
  56158. procedure TPORTD_ODCD.clearODCD4; inline;
  56159. begin
  56160. pTDefRegMap(@Self)^.clr := $00000010;
  56161. end;
  56162. procedure TPORTD_ODCD.setODCD4(thebits : TBits_1); inline;
  56163. begin
  56164. if thebits = 0 then
  56165. pTDefRegMap(@Self)^.clr := $00000010
  56166. else
  56167. pTDefRegMap(@Self)^.&set := $00000010;
  56168. end;
  56169. function TPORTD_ODCD.getODCD4 : TBits_1; inline;
  56170. begin
  56171. getODCD4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56172. end;
  56173. procedure TPORTD_ODCD.setODCD5; inline;
  56174. begin
  56175. pTDefRegMap(@Self)^.&set := $00000020;
  56176. end;
  56177. procedure TPORTD_ODCD.clearODCD5; inline;
  56178. begin
  56179. pTDefRegMap(@Self)^.clr := $00000020;
  56180. end;
  56181. procedure TPORTD_ODCD.setODCD5(thebits : TBits_1); inline;
  56182. begin
  56183. if thebits = 0 then
  56184. pTDefRegMap(@Self)^.clr := $00000020
  56185. else
  56186. pTDefRegMap(@Self)^.&set := $00000020;
  56187. end;
  56188. function TPORTD_ODCD.getODCD5 : TBits_1; inline;
  56189. begin
  56190. getODCD5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56191. end;
  56192. procedure TPORTD_ODCD.setODCD6; inline;
  56193. begin
  56194. pTDefRegMap(@Self)^.&set := $00000040;
  56195. end;
  56196. procedure TPORTD_ODCD.clearODCD6; inline;
  56197. begin
  56198. pTDefRegMap(@Self)^.clr := $00000040;
  56199. end;
  56200. procedure TPORTD_ODCD.setODCD6(thebits : TBits_1); inline;
  56201. begin
  56202. if thebits = 0 then
  56203. pTDefRegMap(@Self)^.clr := $00000040
  56204. else
  56205. pTDefRegMap(@Self)^.&set := $00000040;
  56206. end;
  56207. function TPORTD_ODCD.getODCD6 : TBits_1; inline;
  56208. begin
  56209. getODCD6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56210. end;
  56211. procedure TPORTD_ODCD.setODCD7; inline;
  56212. begin
  56213. pTDefRegMap(@Self)^.&set := $00000080;
  56214. end;
  56215. procedure TPORTD_ODCD.clearODCD7; inline;
  56216. begin
  56217. pTDefRegMap(@Self)^.clr := $00000080;
  56218. end;
  56219. procedure TPORTD_ODCD.setODCD7(thebits : TBits_1); inline;
  56220. begin
  56221. if thebits = 0 then
  56222. pTDefRegMap(@Self)^.clr := $00000080
  56223. else
  56224. pTDefRegMap(@Self)^.&set := $00000080;
  56225. end;
  56226. function TPORTD_ODCD.getODCD7 : TBits_1; inline;
  56227. begin
  56228. getODCD7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56229. end;
  56230. procedure TPORTD_ODCD.setODCD8; inline;
  56231. begin
  56232. pTDefRegMap(@Self)^.&set := $00000100;
  56233. end;
  56234. procedure TPORTD_ODCD.clearODCD8; inline;
  56235. begin
  56236. pTDefRegMap(@Self)^.clr := $00000100;
  56237. end;
  56238. procedure TPORTD_ODCD.setODCD8(thebits : TBits_1); inline;
  56239. begin
  56240. if thebits = 0 then
  56241. pTDefRegMap(@Self)^.clr := $00000100
  56242. else
  56243. pTDefRegMap(@Self)^.&set := $00000100;
  56244. end;
  56245. function TPORTD_ODCD.getODCD8 : TBits_1; inline;
  56246. begin
  56247. getODCD8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56248. end;
  56249. procedure TPORTD_ODCD.setODCD9; inline;
  56250. begin
  56251. pTDefRegMap(@Self)^.&set := $00000200;
  56252. end;
  56253. procedure TPORTD_ODCD.clearODCD9; inline;
  56254. begin
  56255. pTDefRegMap(@Self)^.clr := $00000200;
  56256. end;
  56257. procedure TPORTD_ODCD.setODCD9(thebits : TBits_1); inline;
  56258. begin
  56259. if thebits = 0 then
  56260. pTDefRegMap(@Self)^.clr := $00000200
  56261. else
  56262. pTDefRegMap(@Self)^.&set := $00000200;
  56263. end;
  56264. function TPORTD_ODCD.getODCD9 : TBits_1; inline;
  56265. begin
  56266. getODCD9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56267. end;
  56268. procedure TPORTD_ODCD.setODCD10; inline;
  56269. begin
  56270. pTDefRegMap(@Self)^.&set := $00000400;
  56271. end;
  56272. procedure TPORTD_ODCD.clearODCD10; inline;
  56273. begin
  56274. pTDefRegMap(@Self)^.clr := $00000400;
  56275. end;
  56276. procedure TPORTD_ODCD.setODCD10(thebits : TBits_1); inline;
  56277. begin
  56278. if thebits = 0 then
  56279. pTDefRegMap(@Self)^.clr := $00000400
  56280. else
  56281. pTDefRegMap(@Self)^.&set := $00000400;
  56282. end;
  56283. function TPORTD_ODCD.getODCD10 : TBits_1; inline;
  56284. begin
  56285. getODCD10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  56286. end;
  56287. procedure TPORTD_ODCD.setODCD11; inline;
  56288. begin
  56289. pTDefRegMap(@Self)^.&set := $00000800;
  56290. end;
  56291. procedure TPORTD_ODCD.clearODCD11; inline;
  56292. begin
  56293. pTDefRegMap(@Self)^.clr := $00000800;
  56294. end;
  56295. procedure TPORTD_ODCD.setODCD11(thebits : TBits_1); inline;
  56296. begin
  56297. if thebits = 0 then
  56298. pTDefRegMap(@Self)^.clr := $00000800
  56299. else
  56300. pTDefRegMap(@Self)^.&set := $00000800;
  56301. end;
  56302. function TPORTD_ODCD.getODCD11 : TBits_1; inline;
  56303. begin
  56304. getODCD11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  56305. end;
  56306. procedure TPORTD_ODCD.setODCD12; inline;
  56307. begin
  56308. pTDefRegMap(@Self)^.&set := $00001000;
  56309. end;
  56310. procedure TPORTD_ODCD.clearODCD12; inline;
  56311. begin
  56312. pTDefRegMap(@Self)^.clr := $00001000;
  56313. end;
  56314. procedure TPORTD_ODCD.setODCD12(thebits : TBits_1); inline;
  56315. begin
  56316. if thebits = 0 then
  56317. pTDefRegMap(@Self)^.clr := $00001000
  56318. else
  56319. pTDefRegMap(@Self)^.&set := $00001000;
  56320. end;
  56321. function TPORTD_ODCD.getODCD12 : TBits_1; inline;
  56322. begin
  56323. getODCD12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  56324. end;
  56325. procedure TPORTD_ODCD.setODCD13; inline;
  56326. begin
  56327. pTDefRegMap(@Self)^.&set := $00002000;
  56328. end;
  56329. procedure TPORTD_ODCD.clearODCD13; inline;
  56330. begin
  56331. pTDefRegMap(@Self)^.clr := $00002000;
  56332. end;
  56333. procedure TPORTD_ODCD.setODCD13(thebits : TBits_1); inline;
  56334. begin
  56335. if thebits = 0 then
  56336. pTDefRegMap(@Self)^.clr := $00002000
  56337. else
  56338. pTDefRegMap(@Self)^.&set := $00002000;
  56339. end;
  56340. function TPORTD_ODCD.getODCD13 : TBits_1; inline;
  56341. begin
  56342. getODCD13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  56343. end;
  56344. procedure TPORTD_ODCD.setODCD14; inline;
  56345. begin
  56346. pTDefRegMap(@Self)^.&set := $00004000;
  56347. end;
  56348. procedure TPORTD_ODCD.clearODCD14; inline;
  56349. begin
  56350. pTDefRegMap(@Self)^.clr := $00004000;
  56351. end;
  56352. procedure TPORTD_ODCD.setODCD14(thebits : TBits_1); inline;
  56353. begin
  56354. if thebits = 0 then
  56355. pTDefRegMap(@Self)^.clr := $00004000
  56356. else
  56357. pTDefRegMap(@Self)^.&set := $00004000;
  56358. end;
  56359. function TPORTD_ODCD.getODCD14 : TBits_1; inline;
  56360. begin
  56361. getODCD14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  56362. end;
  56363. procedure TPORTD_ODCD.setODCD15; inline;
  56364. begin
  56365. pTDefRegMap(@Self)^.&set := $00008000;
  56366. end;
  56367. procedure TPORTD_ODCD.clearODCD15; inline;
  56368. begin
  56369. pTDefRegMap(@Self)^.clr := $00008000;
  56370. end;
  56371. procedure TPORTD_ODCD.setODCD15(thebits : TBits_1); inline;
  56372. begin
  56373. if thebits = 0 then
  56374. pTDefRegMap(@Self)^.clr := $00008000
  56375. else
  56376. pTDefRegMap(@Self)^.&set := $00008000;
  56377. end;
  56378. function TPORTD_ODCD.getODCD15 : TBits_1; inline;
  56379. begin
  56380. getODCD15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  56381. end;
  56382. procedure TPORTD_ODCD.setw(thebits : TBits_32); inline;
  56383. begin
  56384. pTDefRegMap(@Self)^.val := thebits;
  56385. end;
  56386. function TPORTD_ODCD.getw : TBits_32; inline;
  56387. begin
  56388. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56389. end;
  56390. procedure TPORTE_TRISE.setTRISE0; inline;
  56391. begin
  56392. pTDefRegMap(@Self)^.&set := $00000001;
  56393. end;
  56394. procedure TPORTE_TRISE.clearTRISE0; inline;
  56395. begin
  56396. pTDefRegMap(@Self)^.clr := $00000001;
  56397. end;
  56398. procedure TPORTE_TRISE.setTRISE0(thebits : TBits_1); inline;
  56399. begin
  56400. if thebits = 0 then
  56401. pTDefRegMap(@Self)^.clr := $00000001
  56402. else
  56403. pTDefRegMap(@Self)^.&set := $00000001;
  56404. end;
  56405. function TPORTE_TRISE.getTRISE0 : TBits_1; inline;
  56406. begin
  56407. getTRISE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56408. end;
  56409. procedure TPORTE_TRISE.setTRISE1; inline;
  56410. begin
  56411. pTDefRegMap(@Self)^.&set := $00000002;
  56412. end;
  56413. procedure TPORTE_TRISE.clearTRISE1; inline;
  56414. begin
  56415. pTDefRegMap(@Self)^.clr := $00000002;
  56416. end;
  56417. procedure TPORTE_TRISE.setTRISE1(thebits : TBits_1); inline;
  56418. begin
  56419. if thebits = 0 then
  56420. pTDefRegMap(@Self)^.clr := $00000002
  56421. else
  56422. pTDefRegMap(@Self)^.&set := $00000002;
  56423. end;
  56424. function TPORTE_TRISE.getTRISE1 : TBits_1; inline;
  56425. begin
  56426. getTRISE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56427. end;
  56428. procedure TPORTE_TRISE.setTRISE2; inline;
  56429. begin
  56430. pTDefRegMap(@Self)^.&set := $00000004;
  56431. end;
  56432. procedure TPORTE_TRISE.clearTRISE2; inline;
  56433. begin
  56434. pTDefRegMap(@Self)^.clr := $00000004;
  56435. end;
  56436. procedure TPORTE_TRISE.setTRISE2(thebits : TBits_1); inline;
  56437. begin
  56438. if thebits = 0 then
  56439. pTDefRegMap(@Self)^.clr := $00000004
  56440. else
  56441. pTDefRegMap(@Self)^.&set := $00000004;
  56442. end;
  56443. function TPORTE_TRISE.getTRISE2 : TBits_1; inline;
  56444. begin
  56445. getTRISE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56446. end;
  56447. procedure TPORTE_TRISE.setTRISE3; inline;
  56448. begin
  56449. pTDefRegMap(@Self)^.&set := $00000008;
  56450. end;
  56451. procedure TPORTE_TRISE.clearTRISE3; inline;
  56452. begin
  56453. pTDefRegMap(@Self)^.clr := $00000008;
  56454. end;
  56455. procedure TPORTE_TRISE.setTRISE3(thebits : TBits_1); inline;
  56456. begin
  56457. if thebits = 0 then
  56458. pTDefRegMap(@Self)^.clr := $00000008
  56459. else
  56460. pTDefRegMap(@Self)^.&set := $00000008;
  56461. end;
  56462. function TPORTE_TRISE.getTRISE3 : TBits_1; inline;
  56463. begin
  56464. getTRISE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56465. end;
  56466. procedure TPORTE_TRISE.setTRISE4; inline;
  56467. begin
  56468. pTDefRegMap(@Self)^.&set := $00000010;
  56469. end;
  56470. procedure TPORTE_TRISE.clearTRISE4; inline;
  56471. begin
  56472. pTDefRegMap(@Self)^.clr := $00000010;
  56473. end;
  56474. procedure TPORTE_TRISE.setTRISE4(thebits : TBits_1); inline;
  56475. begin
  56476. if thebits = 0 then
  56477. pTDefRegMap(@Self)^.clr := $00000010
  56478. else
  56479. pTDefRegMap(@Self)^.&set := $00000010;
  56480. end;
  56481. function TPORTE_TRISE.getTRISE4 : TBits_1; inline;
  56482. begin
  56483. getTRISE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56484. end;
  56485. procedure TPORTE_TRISE.setTRISE5; inline;
  56486. begin
  56487. pTDefRegMap(@Self)^.&set := $00000020;
  56488. end;
  56489. procedure TPORTE_TRISE.clearTRISE5; inline;
  56490. begin
  56491. pTDefRegMap(@Self)^.clr := $00000020;
  56492. end;
  56493. procedure TPORTE_TRISE.setTRISE5(thebits : TBits_1); inline;
  56494. begin
  56495. if thebits = 0 then
  56496. pTDefRegMap(@Self)^.clr := $00000020
  56497. else
  56498. pTDefRegMap(@Self)^.&set := $00000020;
  56499. end;
  56500. function TPORTE_TRISE.getTRISE5 : TBits_1; inline;
  56501. begin
  56502. getTRISE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56503. end;
  56504. procedure TPORTE_TRISE.setTRISE6; inline;
  56505. begin
  56506. pTDefRegMap(@Self)^.&set := $00000040;
  56507. end;
  56508. procedure TPORTE_TRISE.clearTRISE6; inline;
  56509. begin
  56510. pTDefRegMap(@Self)^.clr := $00000040;
  56511. end;
  56512. procedure TPORTE_TRISE.setTRISE6(thebits : TBits_1); inline;
  56513. begin
  56514. if thebits = 0 then
  56515. pTDefRegMap(@Self)^.clr := $00000040
  56516. else
  56517. pTDefRegMap(@Self)^.&set := $00000040;
  56518. end;
  56519. function TPORTE_TRISE.getTRISE6 : TBits_1; inline;
  56520. begin
  56521. getTRISE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56522. end;
  56523. procedure TPORTE_TRISE.setTRISE7; inline;
  56524. begin
  56525. pTDefRegMap(@Self)^.&set := $00000080;
  56526. end;
  56527. procedure TPORTE_TRISE.clearTRISE7; inline;
  56528. begin
  56529. pTDefRegMap(@Self)^.clr := $00000080;
  56530. end;
  56531. procedure TPORTE_TRISE.setTRISE7(thebits : TBits_1); inline;
  56532. begin
  56533. if thebits = 0 then
  56534. pTDefRegMap(@Self)^.clr := $00000080
  56535. else
  56536. pTDefRegMap(@Self)^.&set := $00000080;
  56537. end;
  56538. function TPORTE_TRISE.getTRISE7 : TBits_1; inline;
  56539. begin
  56540. getTRISE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56541. end;
  56542. procedure TPORTE_TRISE.setTRISE8; inline;
  56543. begin
  56544. pTDefRegMap(@Self)^.&set := $00000100;
  56545. end;
  56546. procedure TPORTE_TRISE.clearTRISE8; inline;
  56547. begin
  56548. pTDefRegMap(@Self)^.clr := $00000100;
  56549. end;
  56550. procedure TPORTE_TRISE.setTRISE8(thebits : TBits_1); inline;
  56551. begin
  56552. if thebits = 0 then
  56553. pTDefRegMap(@Self)^.clr := $00000100
  56554. else
  56555. pTDefRegMap(@Self)^.&set := $00000100;
  56556. end;
  56557. function TPORTE_TRISE.getTRISE8 : TBits_1; inline;
  56558. begin
  56559. getTRISE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56560. end;
  56561. procedure TPORTE_TRISE.setTRISE9; inline;
  56562. begin
  56563. pTDefRegMap(@Self)^.&set := $00000200;
  56564. end;
  56565. procedure TPORTE_TRISE.clearTRISE9; inline;
  56566. begin
  56567. pTDefRegMap(@Self)^.clr := $00000200;
  56568. end;
  56569. procedure TPORTE_TRISE.setTRISE9(thebits : TBits_1); inline;
  56570. begin
  56571. if thebits = 0 then
  56572. pTDefRegMap(@Self)^.clr := $00000200
  56573. else
  56574. pTDefRegMap(@Self)^.&set := $00000200;
  56575. end;
  56576. function TPORTE_TRISE.getTRISE9 : TBits_1; inline;
  56577. begin
  56578. getTRISE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56579. end;
  56580. procedure TPORTE_TRISE.setw(thebits : TBits_32); inline;
  56581. begin
  56582. pTDefRegMap(@Self)^.val := thebits;
  56583. end;
  56584. function TPORTE_TRISE.getw : TBits_32; inline;
  56585. begin
  56586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56587. end;
  56588. procedure TPORTE_PORTE.setRE0; inline;
  56589. begin
  56590. pTDefRegMap(@Self)^.&set := $00000001;
  56591. end;
  56592. procedure TPORTE_PORTE.clearRE0; inline;
  56593. begin
  56594. pTDefRegMap(@Self)^.clr := $00000001;
  56595. end;
  56596. procedure TPORTE_PORTE.setRE0(thebits : TBits_1); inline;
  56597. begin
  56598. if thebits = 0 then
  56599. pTDefRegMap(@Self)^.clr := $00000001
  56600. else
  56601. pTDefRegMap(@Self)^.&set := $00000001;
  56602. end;
  56603. function TPORTE_PORTE.getRE0 : TBits_1; inline;
  56604. begin
  56605. getRE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56606. end;
  56607. procedure TPORTE_PORTE.setRE1; inline;
  56608. begin
  56609. pTDefRegMap(@Self)^.&set := $00000002;
  56610. end;
  56611. procedure TPORTE_PORTE.clearRE1; inline;
  56612. begin
  56613. pTDefRegMap(@Self)^.clr := $00000002;
  56614. end;
  56615. procedure TPORTE_PORTE.setRE1(thebits : TBits_1); inline;
  56616. begin
  56617. if thebits = 0 then
  56618. pTDefRegMap(@Self)^.clr := $00000002
  56619. else
  56620. pTDefRegMap(@Self)^.&set := $00000002;
  56621. end;
  56622. function TPORTE_PORTE.getRE1 : TBits_1; inline;
  56623. begin
  56624. getRE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56625. end;
  56626. procedure TPORTE_PORTE.setRE2; inline;
  56627. begin
  56628. pTDefRegMap(@Self)^.&set := $00000004;
  56629. end;
  56630. procedure TPORTE_PORTE.clearRE2; inline;
  56631. begin
  56632. pTDefRegMap(@Self)^.clr := $00000004;
  56633. end;
  56634. procedure TPORTE_PORTE.setRE2(thebits : TBits_1); inline;
  56635. begin
  56636. if thebits = 0 then
  56637. pTDefRegMap(@Self)^.clr := $00000004
  56638. else
  56639. pTDefRegMap(@Self)^.&set := $00000004;
  56640. end;
  56641. function TPORTE_PORTE.getRE2 : TBits_1; inline;
  56642. begin
  56643. getRE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56644. end;
  56645. procedure TPORTE_PORTE.setRE3; inline;
  56646. begin
  56647. pTDefRegMap(@Self)^.&set := $00000008;
  56648. end;
  56649. procedure TPORTE_PORTE.clearRE3; inline;
  56650. begin
  56651. pTDefRegMap(@Self)^.clr := $00000008;
  56652. end;
  56653. procedure TPORTE_PORTE.setRE3(thebits : TBits_1); inline;
  56654. begin
  56655. if thebits = 0 then
  56656. pTDefRegMap(@Self)^.clr := $00000008
  56657. else
  56658. pTDefRegMap(@Self)^.&set := $00000008;
  56659. end;
  56660. function TPORTE_PORTE.getRE3 : TBits_1; inline;
  56661. begin
  56662. getRE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56663. end;
  56664. procedure TPORTE_PORTE.setRE4; inline;
  56665. begin
  56666. pTDefRegMap(@Self)^.&set := $00000010;
  56667. end;
  56668. procedure TPORTE_PORTE.clearRE4; inline;
  56669. begin
  56670. pTDefRegMap(@Self)^.clr := $00000010;
  56671. end;
  56672. procedure TPORTE_PORTE.setRE4(thebits : TBits_1); inline;
  56673. begin
  56674. if thebits = 0 then
  56675. pTDefRegMap(@Self)^.clr := $00000010
  56676. else
  56677. pTDefRegMap(@Self)^.&set := $00000010;
  56678. end;
  56679. function TPORTE_PORTE.getRE4 : TBits_1; inline;
  56680. begin
  56681. getRE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56682. end;
  56683. procedure TPORTE_PORTE.setRE5; inline;
  56684. begin
  56685. pTDefRegMap(@Self)^.&set := $00000020;
  56686. end;
  56687. procedure TPORTE_PORTE.clearRE5; inline;
  56688. begin
  56689. pTDefRegMap(@Self)^.clr := $00000020;
  56690. end;
  56691. procedure TPORTE_PORTE.setRE5(thebits : TBits_1); inline;
  56692. begin
  56693. if thebits = 0 then
  56694. pTDefRegMap(@Self)^.clr := $00000020
  56695. else
  56696. pTDefRegMap(@Self)^.&set := $00000020;
  56697. end;
  56698. function TPORTE_PORTE.getRE5 : TBits_1; inline;
  56699. begin
  56700. getRE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56701. end;
  56702. procedure TPORTE_PORTE.setRE6; inline;
  56703. begin
  56704. pTDefRegMap(@Self)^.&set := $00000040;
  56705. end;
  56706. procedure TPORTE_PORTE.clearRE6; inline;
  56707. begin
  56708. pTDefRegMap(@Self)^.clr := $00000040;
  56709. end;
  56710. procedure TPORTE_PORTE.setRE6(thebits : TBits_1); inline;
  56711. begin
  56712. if thebits = 0 then
  56713. pTDefRegMap(@Self)^.clr := $00000040
  56714. else
  56715. pTDefRegMap(@Self)^.&set := $00000040;
  56716. end;
  56717. function TPORTE_PORTE.getRE6 : TBits_1; inline;
  56718. begin
  56719. getRE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56720. end;
  56721. procedure TPORTE_PORTE.setRE7; inline;
  56722. begin
  56723. pTDefRegMap(@Self)^.&set := $00000080;
  56724. end;
  56725. procedure TPORTE_PORTE.clearRE7; inline;
  56726. begin
  56727. pTDefRegMap(@Self)^.clr := $00000080;
  56728. end;
  56729. procedure TPORTE_PORTE.setRE7(thebits : TBits_1); inline;
  56730. begin
  56731. if thebits = 0 then
  56732. pTDefRegMap(@Self)^.clr := $00000080
  56733. else
  56734. pTDefRegMap(@Self)^.&set := $00000080;
  56735. end;
  56736. function TPORTE_PORTE.getRE7 : TBits_1; inline;
  56737. begin
  56738. getRE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56739. end;
  56740. procedure TPORTE_PORTE.setRE8; inline;
  56741. begin
  56742. pTDefRegMap(@Self)^.&set := $00000100;
  56743. end;
  56744. procedure TPORTE_PORTE.clearRE8; inline;
  56745. begin
  56746. pTDefRegMap(@Self)^.clr := $00000100;
  56747. end;
  56748. procedure TPORTE_PORTE.setRE8(thebits : TBits_1); inline;
  56749. begin
  56750. if thebits = 0 then
  56751. pTDefRegMap(@Self)^.clr := $00000100
  56752. else
  56753. pTDefRegMap(@Self)^.&set := $00000100;
  56754. end;
  56755. function TPORTE_PORTE.getRE8 : TBits_1; inline;
  56756. begin
  56757. getRE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56758. end;
  56759. procedure TPORTE_PORTE.setRE9; inline;
  56760. begin
  56761. pTDefRegMap(@Self)^.&set := $00000200;
  56762. end;
  56763. procedure TPORTE_PORTE.clearRE9; inline;
  56764. begin
  56765. pTDefRegMap(@Self)^.clr := $00000200;
  56766. end;
  56767. procedure TPORTE_PORTE.setRE9(thebits : TBits_1); inline;
  56768. begin
  56769. if thebits = 0 then
  56770. pTDefRegMap(@Self)^.clr := $00000200
  56771. else
  56772. pTDefRegMap(@Self)^.&set := $00000200;
  56773. end;
  56774. function TPORTE_PORTE.getRE9 : TBits_1; inline;
  56775. begin
  56776. getRE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56777. end;
  56778. procedure TPORTE_PORTE.setw(thebits : TBits_32); inline;
  56779. begin
  56780. pTDefRegMap(@Self)^.val := thebits;
  56781. end;
  56782. function TPORTE_PORTE.getw : TBits_32; inline;
  56783. begin
  56784. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56785. end;
  56786. procedure TPORTE_LATE.setLATE0; inline;
  56787. begin
  56788. pTDefRegMap(@Self)^.&set := $00000001;
  56789. end;
  56790. procedure TPORTE_LATE.clearLATE0; inline;
  56791. begin
  56792. pTDefRegMap(@Self)^.clr := $00000001;
  56793. end;
  56794. procedure TPORTE_LATE.setLATE0(thebits : TBits_1); inline;
  56795. begin
  56796. if thebits = 0 then
  56797. pTDefRegMap(@Self)^.clr := $00000001
  56798. else
  56799. pTDefRegMap(@Self)^.&set := $00000001;
  56800. end;
  56801. function TPORTE_LATE.getLATE0 : TBits_1; inline;
  56802. begin
  56803. getLATE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  56804. end;
  56805. procedure TPORTE_LATE.setLATE1; inline;
  56806. begin
  56807. pTDefRegMap(@Self)^.&set := $00000002;
  56808. end;
  56809. procedure TPORTE_LATE.clearLATE1; inline;
  56810. begin
  56811. pTDefRegMap(@Self)^.clr := $00000002;
  56812. end;
  56813. procedure TPORTE_LATE.setLATE1(thebits : TBits_1); inline;
  56814. begin
  56815. if thebits = 0 then
  56816. pTDefRegMap(@Self)^.clr := $00000002
  56817. else
  56818. pTDefRegMap(@Self)^.&set := $00000002;
  56819. end;
  56820. function TPORTE_LATE.getLATE1 : TBits_1; inline;
  56821. begin
  56822. getLATE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  56823. end;
  56824. procedure TPORTE_LATE.setLATE2; inline;
  56825. begin
  56826. pTDefRegMap(@Self)^.&set := $00000004;
  56827. end;
  56828. procedure TPORTE_LATE.clearLATE2; inline;
  56829. begin
  56830. pTDefRegMap(@Self)^.clr := $00000004;
  56831. end;
  56832. procedure TPORTE_LATE.setLATE2(thebits : TBits_1); inline;
  56833. begin
  56834. if thebits = 0 then
  56835. pTDefRegMap(@Self)^.clr := $00000004
  56836. else
  56837. pTDefRegMap(@Self)^.&set := $00000004;
  56838. end;
  56839. function TPORTE_LATE.getLATE2 : TBits_1; inline;
  56840. begin
  56841. getLATE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  56842. end;
  56843. procedure TPORTE_LATE.setLATE3; inline;
  56844. begin
  56845. pTDefRegMap(@Self)^.&set := $00000008;
  56846. end;
  56847. procedure TPORTE_LATE.clearLATE3; inline;
  56848. begin
  56849. pTDefRegMap(@Self)^.clr := $00000008;
  56850. end;
  56851. procedure TPORTE_LATE.setLATE3(thebits : TBits_1); inline;
  56852. begin
  56853. if thebits = 0 then
  56854. pTDefRegMap(@Self)^.clr := $00000008
  56855. else
  56856. pTDefRegMap(@Self)^.&set := $00000008;
  56857. end;
  56858. function TPORTE_LATE.getLATE3 : TBits_1; inline;
  56859. begin
  56860. getLATE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  56861. end;
  56862. procedure TPORTE_LATE.setLATE4; inline;
  56863. begin
  56864. pTDefRegMap(@Self)^.&set := $00000010;
  56865. end;
  56866. procedure TPORTE_LATE.clearLATE4; inline;
  56867. begin
  56868. pTDefRegMap(@Self)^.clr := $00000010;
  56869. end;
  56870. procedure TPORTE_LATE.setLATE4(thebits : TBits_1); inline;
  56871. begin
  56872. if thebits = 0 then
  56873. pTDefRegMap(@Self)^.clr := $00000010
  56874. else
  56875. pTDefRegMap(@Self)^.&set := $00000010;
  56876. end;
  56877. function TPORTE_LATE.getLATE4 : TBits_1; inline;
  56878. begin
  56879. getLATE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  56880. end;
  56881. procedure TPORTE_LATE.setLATE5; inline;
  56882. begin
  56883. pTDefRegMap(@Self)^.&set := $00000020;
  56884. end;
  56885. procedure TPORTE_LATE.clearLATE5; inline;
  56886. begin
  56887. pTDefRegMap(@Self)^.clr := $00000020;
  56888. end;
  56889. procedure TPORTE_LATE.setLATE5(thebits : TBits_1); inline;
  56890. begin
  56891. if thebits = 0 then
  56892. pTDefRegMap(@Self)^.clr := $00000020
  56893. else
  56894. pTDefRegMap(@Self)^.&set := $00000020;
  56895. end;
  56896. function TPORTE_LATE.getLATE5 : TBits_1; inline;
  56897. begin
  56898. getLATE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  56899. end;
  56900. procedure TPORTE_LATE.setLATE6; inline;
  56901. begin
  56902. pTDefRegMap(@Self)^.&set := $00000040;
  56903. end;
  56904. procedure TPORTE_LATE.clearLATE6; inline;
  56905. begin
  56906. pTDefRegMap(@Self)^.clr := $00000040;
  56907. end;
  56908. procedure TPORTE_LATE.setLATE6(thebits : TBits_1); inline;
  56909. begin
  56910. if thebits = 0 then
  56911. pTDefRegMap(@Self)^.clr := $00000040
  56912. else
  56913. pTDefRegMap(@Self)^.&set := $00000040;
  56914. end;
  56915. function TPORTE_LATE.getLATE6 : TBits_1; inline;
  56916. begin
  56917. getLATE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  56918. end;
  56919. procedure TPORTE_LATE.setLATE7; inline;
  56920. begin
  56921. pTDefRegMap(@Self)^.&set := $00000080;
  56922. end;
  56923. procedure TPORTE_LATE.clearLATE7; inline;
  56924. begin
  56925. pTDefRegMap(@Self)^.clr := $00000080;
  56926. end;
  56927. procedure TPORTE_LATE.setLATE7(thebits : TBits_1); inline;
  56928. begin
  56929. if thebits = 0 then
  56930. pTDefRegMap(@Self)^.clr := $00000080
  56931. else
  56932. pTDefRegMap(@Self)^.&set := $00000080;
  56933. end;
  56934. function TPORTE_LATE.getLATE7 : TBits_1; inline;
  56935. begin
  56936. getLATE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  56937. end;
  56938. procedure TPORTE_LATE.setLATE8; inline;
  56939. begin
  56940. pTDefRegMap(@Self)^.&set := $00000100;
  56941. end;
  56942. procedure TPORTE_LATE.clearLATE8; inline;
  56943. begin
  56944. pTDefRegMap(@Self)^.clr := $00000100;
  56945. end;
  56946. procedure TPORTE_LATE.setLATE8(thebits : TBits_1); inline;
  56947. begin
  56948. if thebits = 0 then
  56949. pTDefRegMap(@Self)^.clr := $00000100
  56950. else
  56951. pTDefRegMap(@Self)^.&set := $00000100;
  56952. end;
  56953. function TPORTE_LATE.getLATE8 : TBits_1; inline;
  56954. begin
  56955. getLATE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  56956. end;
  56957. procedure TPORTE_LATE.setLATE9; inline;
  56958. begin
  56959. pTDefRegMap(@Self)^.&set := $00000200;
  56960. end;
  56961. procedure TPORTE_LATE.clearLATE9; inline;
  56962. begin
  56963. pTDefRegMap(@Self)^.clr := $00000200;
  56964. end;
  56965. procedure TPORTE_LATE.setLATE9(thebits : TBits_1); inline;
  56966. begin
  56967. if thebits = 0 then
  56968. pTDefRegMap(@Self)^.clr := $00000200
  56969. else
  56970. pTDefRegMap(@Self)^.&set := $00000200;
  56971. end;
  56972. function TPORTE_LATE.getLATE9 : TBits_1; inline;
  56973. begin
  56974. getLATE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  56975. end;
  56976. procedure TPORTE_LATE.setw(thebits : TBits_32); inline;
  56977. begin
  56978. pTDefRegMap(@Self)^.val := thebits;
  56979. end;
  56980. function TPORTE_LATE.getw : TBits_32; inline;
  56981. begin
  56982. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  56983. end;
  56984. procedure TPORTE_ODCE.setODCE0; inline;
  56985. begin
  56986. pTDefRegMap(@Self)^.&set := $00000001;
  56987. end;
  56988. procedure TPORTE_ODCE.clearODCE0; inline;
  56989. begin
  56990. pTDefRegMap(@Self)^.clr := $00000001;
  56991. end;
  56992. procedure TPORTE_ODCE.setODCE0(thebits : TBits_1); inline;
  56993. begin
  56994. if thebits = 0 then
  56995. pTDefRegMap(@Self)^.clr := $00000001
  56996. else
  56997. pTDefRegMap(@Self)^.&set := $00000001;
  56998. end;
  56999. function TPORTE_ODCE.getODCE0 : TBits_1; inline;
  57000. begin
  57001. getODCE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57002. end;
  57003. procedure TPORTE_ODCE.setODCE1; inline;
  57004. begin
  57005. pTDefRegMap(@Self)^.&set := $00000002;
  57006. end;
  57007. procedure TPORTE_ODCE.clearODCE1; inline;
  57008. begin
  57009. pTDefRegMap(@Self)^.clr := $00000002;
  57010. end;
  57011. procedure TPORTE_ODCE.setODCE1(thebits : TBits_1); inline;
  57012. begin
  57013. if thebits = 0 then
  57014. pTDefRegMap(@Self)^.clr := $00000002
  57015. else
  57016. pTDefRegMap(@Self)^.&set := $00000002;
  57017. end;
  57018. function TPORTE_ODCE.getODCE1 : TBits_1; inline;
  57019. begin
  57020. getODCE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57021. end;
  57022. procedure TPORTE_ODCE.setODCE2; inline;
  57023. begin
  57024. pTDefRegMap(@Self)^.&set := $00000004;
  57025. end;
  57026. procedure TPORTE_ODCE.clearODCE2; inline;
  57027. begin
  57028. pTDefRegMap(@Self)^.clr := $00000004;
  57029. end;
  57030. procedure TPORTE_ODCE.setODCE2(thebits : TBits_1); inline;
  57031. begin
  57032. if thebits = 0 then
  57033. pTDefRegMap(@Self)^.clr := $00000004
  57034. else
  57035. pTDefRegMap(@Self)^.&set := $00000004;
  57036. end;
  57037. function TPORTE_ODCE.getODCE2 : TBits_1; inline;
  57038. begin
  57039. getODCE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57040. end;
  57041. procedure TPORTE_ODCE.setODCE3; inline;
  57042. begin
  57043. pTDefRegMap(@Self)^.&set := $00000008;
  57044. end;
  57045. procedure TPORTE_ODCE.clearODCE3; inline;
  57046. begin
  57047. pTDefRegMap(@Self)^.clr := $00000008;
  57048. end;
  57049. procedure TPORTE_ODCE.setODCE3(thebits : TBits_1); inline;
  57050. begin
  57051. if thebits = 0 then
  57052. pTDefRegMap(@Self)^.clr := $00000008
  57053. else
  57054. pTDefRegMap(@Self)^.&set := $00000008;
  57055. end;
  57056. function TPORTE_ODCE.getODCE3 : TBits_1; inline;
  57057. begin
  57058. getODCE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57059. end;
  57060. procedure TPORTE_ODCE.setODCE4; inline;
  57061. begin
  57062. pTDefRegMap(@Self)^.&set := $00000010;
  57063. end;
  57064. procedure TPORTE_ODCE.clearODCE4; inline;
  57065. begin
  57066. pTDefRegMap(@Self)^.clr := $00000010;
  57067. end;
  57068. procedure TPORTE_ODCE.setODCE4(thebits : TBits_1); inline;
  57069. begin
  57070. if thebits = 0 then
  57071. pTDefRegMap(@Self)^.clr := $00000010
  57072. else
  57073. pTDefRegMap(@Self)^.&set := $00000010;
  57074. end;
  57075. function TPORTE_ODCE.getODCE4 : TBits_1; inline;
  57076. begin
  57077. getODCE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57078. end;
  57079. procedure TPORTE_ODCE.setODCE5; inline;
  57080. begin
  57081. pTDefRegMap(@Self)^.&set := $00000020;
  57082. end;
  57083. procedure TPORTE_ODCE.clearODCE5; inline;
  57084. begin
  57085. pTDefRegMap(@Self)^.clr := $00000020;
  57086. end;
  57087. procedure TPORTE_ODCE.setODCE5(thebits : TBits_1); inline;
  57088. begin
  57089. if thebits = 0 then
  57090. pTDefRegMap(@Self)^.clr := $00000020
  57091. else
  57092. pTDefRegMap(@Self)^.&set := $00000020;
  57093. end;
  57094. function TPORTE_ODCE.getODCE5 : TBits_1; inline;
  57095. begin
  57096. getODCE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57097. end;
  57098. procedure TPORTE_ODCE.setODCE6; inline;
  57099. begin
  57100. pTDefRegMap(@Self)^.&set := $00000040;
  57101. end;
  57102. procedure TPORTE_ODCE.clearODCE6; inline;
  57103. begin
  57104. pTDefRegMap(@Self)^.clr := $00000040;
  57105. end;
  57106. procedure TPORTE_ODCE.setODCE6(thebits : TBits_1); inline;
  57107. begin
  57108. if thebits = 0 then
  57109. pTDefRegMap(@Self)^.clr := $00000040
  57110. else
  57111. pTDefRegMap(@Self)^.&set := $00000040;
  57112. end;
  57113. function TPORTE_ODCE.getODCE6 : TBits_1; inline;
  57114. begin
  57115. getODCE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57116. end;
  57117. procedure TPORTE_ODCE.setODCE7; inline;
  57118. begin
  57119. pTDefRegMap(@Self)^.&set := $00000080;
  57120. end;
  57121. procedure TPORTE_ODCE.clearODCE7; inline;
  57122. begin
  57123. pTDefRegMap(@Self)^.clr := $00000080;
  57124. end;
  57125. procedure TPORTE_ODCE.setODCE7(thebits : TBits_1); inline;
  57126. begin
  57127. if thebits = 0 then
  57128. pTDefRegMap(@Self)^.clr := $00000080
  57129. else
  57130. pTDefRegMap(@Self)^.&set := $00000080;
  57131. end;
  57132. function TPORTE_ODCE.getODCE7 : TBits_1; inline;
  57133. begin
  57134. getODCE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  57135. end;
  57136. procedure TPORTE_ODCE.setODCE8; inline;
  57137. begin
  57138. pTDefRegMap(@Self)^.&set := $00000100;
  57139. end;
  57140. procedure TPORTE_ODCE.clearODCE8; inline;
  57141. begin
  57142. pTDefRegMap(@Self)^.clr := $00000100;
  57143. end;
  57144. procedure TPORTE_ODCE.setODCE8(thebits : TBits_1); inline;
  57145. begin
  57146. if thebits = 0 then
  57147. pTDefRegMap(@Self)^.clr := $00000100
  57148. else
  57149. pTDefRegMap(@Self)^.&set := $00000100;
  57150. end;
  57151. function TPORTE_ODCE.getODCE8 : TBits_1; inline;
  57152. begin
  57153. getODCE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57154. end;
  57155. procedure TPORTE_ODCE.setODCE9; inline;
  57156. begin
  57157. pTDefRegMap(@Self)^.&set := $00000200;
  57158. end;
  57159. procedure TPORTE_ODCE.clearODCE9; inline;
  57160. begin
  57161. pTDefRegMap(@Self)^.clr := $00000200;
  57162. end;
  57163. procedure TPORTE_ODCE.setODCE9(thebits : TBits_1); inline;
  57164. begin
  57165. if thebits = 0 then
  57166. pTDefRegMap(@Self)^.clr := $00000200
  57167. else
  57168. pTDefRegMap(@Self)^.&set := $00000200;
  57169. end;
  57170. function TPORTE_ODCE.getODCE9 : TBits_1; inline;
  57171. begin
  57172. getODCE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  57173. end;
  57174. procedure TPORTE_ODCE.setw(thebits : TBits_32); inline;
  57175. begin
  57176. pTDefRegMap(@Self)^.val := thebits;
  57177. end;
  57178. function TPORTE_ODCE.getw : TBits_32; inline;
  57179. begin
  57180. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57181. end;
  57182. procedure TPORTF_TRISF.setTRISF0; inline;
  57183. begin
  57184. pTDefRegMap(@Self)^.&set := $00000001;
  57185. end;
  57186. procedure TPORTF_TRISF.clearTRISF0; inline;
  57187. begin
  57188. pTDefRegMap(@Self)^.clr := $00000001;
  57189. end;
  57190. procedure TPORTF_TRISF.setTRISF0(thebits : TBits_1); inline;
  57191. begin
  57192. if thebits = 0 then
  57193. pTDefRegMap(@Self)^.clr := $00000001
  57194. else
  57195. pTDefRegMap(@Self)^.&set := $00000001;
  57196. end;
  57197. function TPORTF_TRISF.getTRISF0 : TBits_1; inline;
  57198. begin
  57199. getTRISF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57200. end;
  57201. procedure TPORTF_TRISF.setTRISF1; inline;
  57202. begin
  57203. pTDefRegMap(@Self)^.&set := $00000002;
  57204. end;
  57205. procedure TPORTF_TRISF.clearTRISF1; inline;
  57206. begin
  57207. pTDefRegMap(@Self)^.clr := $00000002;
  57208. end;
  57209. procedure TPORTF_TRISF.setTRISF1(thebits : TBits_1); inline;
  57210. begin
  57211. if thebits = 0 then
  57212. pTDefRegMap(@Self)^.clr := $00000002
  57213. else
  57214. pTDefRegMap(@Self)^.&set := $00000002;
  57215. end;
  57216. function TPORTF_TRISF.getTRISF1 : TBits_1; inline;
  57217. begin
  57218. getTRISF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57219. end;
  57220. procedure TPORTF_TRISF.setTRISF2; inline;
  57221. begin
  57222. pTDefRegMap(@Self)^.&set := $00000004;
  57223. end;
  57224. procedure TPORTF_TRISF.clearTRISF2; inline;
  57225. begin
  57226. pTDefRegMap(@Self)^.clr := $00000004;
  57227. end;
  57228. procedure TPORTF_TRISF.setTRISF2(thebits : TBits_1); inline;
  57229. begin
  57230. if thebits = 0 then
  57231. pTDefRegMap(@Self)^.clr := $00000004
  57232. else
  57233. pTDefRegMap(@Self)^.&set := $00000004;
  57234. end;
  57235. function TPORTF_TRISF.getTRISF2 : TBits_1; inline;
  57236. begin
  57237. getTRISF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57238. end;
  57239. procedure TPORTF_TRISF.setTRISF3; inline;
  57240. begin
  57241. pTDefRegMap(@Self)^.&set := $00000008;
  57242. end;
  57243. procedure TPORTF_TRISF.clearTRISF3; inline;
  57244. begin
  57245. pTDefRegMap(@Self)^.clr := $00000008;
  57246. end;
  57247. procedure TPORTF_TRISF.setTRISF3(thebits : TBits_1); inline;
  57248. begin
  57249. if thebits = 0 then
  57250. pTDefRegMap(@Self)^.clr := $00000008
  57251. else
  57252. pTDefRegMap(@Self)^.&set := $00000008;
  57253. end;
  57254. function TPORTF_TRISF.getTRISF3 : TBits_1; inline;
  57255. begin
  57256. getTRISF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57257. end;
  57258. procedure TPORTF_TRISF.setTRISF4; inline;
  57259. begin
  57260. pTDefRegMap(@Self)^.&set := $00000010;
  57261. end;
  57262. procedure TPORTF_TRISF.clearTRISF4; inline;
  57263. begin
  57264. pTDefRegMap(@Self)^.clr := $00000010;
  57265. end;
  57266. procedure TPORTF_TRISF.setTRISF4(thebits : TBits_1); inline;
  57267. begin
  57268. if thebits = 0 then
  57269. pTDefRegMap(@Self)^.clr := $00000010
  57270. else
  57271. pTDefRegMap(@Self)^.&set := $00000010;
  57272. end;
  57273. function TPORTF_TRISF.getTRISF4 : TBits_1; inline;
  57274. begin
  57275. getTRISF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57276. end;
  57277. procedure TPORTF_TRISF.setTRISF5; inline;
  57278. begin
  57279. pTDefRegMap(@Self)^.&set := $00000020;
  57280. end;
  57281. procedure TPORTF_TRISF.clearTRISF5; inline;
  57282. begin
  57283. pTDefRegMap(@Self)^.clr := $00000020;
  57284. end;
  57285. procedure TPORTF_TRISF.setTRISF5(thebits : TBits_1); inline;
  57286. begin
  57287. if thebits = 0 then
  57288. pTDefRegMap(@Self)^.clr := $00000020
  57289. else
  57290. pTDefRegMap(@Self)^.&set := $00000020;
  57291. end;
  57292. function TPORTF_TRISF.getTRISF5 : TBits_1; inline;
  57293. begin
  57294. getTRISF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57295. end;
  57296. procedure TPORTF_TRISF.setTRISF8; inline;
  57297. begin
  57298. pTDefRegMap(@Self)^.&set := $00000100;
  57299. end;
  57300. procedure TPORTF_TRISF.clearTRISF8; inline;
  57301. begin
  57302. pTDefRegMap(@Self)^.clr := $00000100;
  57303. end;
  57304. procedure TPORTF_TRISF.setTRISF8(thebits : TBits_1); inline;
  57305. begin
  57306. if thebits = 0 then
  57307. pTDefRegMap(@Self)^.clr := $00000100
  57308. else
  57309. pTDefRegMap(@Self)^.&set := $00000100;
  57310. end;
  57311. function TPORTF_TRISF.getTRISF8 : TBits_1; inline;
  57312. begin
  57313. getTRISF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57314. end;
  57315. procedure TPORTF_TRISF.setTRISF12; inline;
  57316. begin
  57317. pTDefRegMap(@Self)^.&set := $00001000;
  57318. end;
  57319. procedure TPORTF_TRISF.clearTRISF12; inline;
  57320. begin
  57321. pTDefRegMap(@Self)^.clr := $00001000;
  57322. end;
  57323. procedure TPORTF_TRISF.setTRISF12(thebits : TBits_1); inline;
  57324. begin
  57325. if thebits = 0 then
  57326. pTDefRegMap(@Self)^.clr := $00001000
  57327. else
  57328. pTDefRegMap(@Self)^.&set := $00001000;
  57329. end;
  57330. function TPORTF_TRISF.getTRISF12 : TBits_1; inline;
  57331. begin
  57332. getTRISF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57333. end;
  57334. procedure TPORTF_TRISF.setTRISF13; inline;
  57335. begin
  57336. pTDefRegMap(@Self)^.&set := $00002000;
  57337. end;
  57338. procedure TPORTF_TRISF.clearTRISF13; inline;
  57339. begin
  57340. pTDefRegMap(@Self)^.clr := $00002000;
  57341. end;
  57342. procedure TPORTF_TRISF.setTRISF13(thebits : TBits_1); inline;
  57343. begin
  57344. if thebits = 0 then
  57345. pTDefRegMap(@Self)^.clr := $00002000
  57346. else
  57347. pTDefRegMap(@Self)^.&set := $00002000;
  57348. end;
  57349. function TPORTF_TRISF.getTRISF13 : TBits_1; inline;
  57350. begin
  57351. getTRISF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57352. end;
  57353. procedure TPORTF_TRISF.setw(thebits : TBits_32); inline;
  57354. begin
  57355. pTDefRegMap(@Self)^.val := thebits;
  57356. end;
  57357. function TPORTF_TRISF.getw : TBits_32; inline;
  57358. begin
  57359. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57360. end;
  57361. procedure TPORTF_PORTF.setRF0; inline;
  57362. begin
  57363. pTDefRegMap(@Self)^.&set := $00000001;
  57364. end;
  57365. procedure TPORTF_PORTF.clearRF0; inline;
  57366. begin
  57367. pTDefRegMap(@Self)^.clr := $00000001;
  57368. end;
  57369. procedure TPORTF_PORTF.setRF0(thebits : TBits_1); inline;
  57370. begin
  57371. if thebits = 0 then
  57372. pTDefRegMap(@Self)^.clr := $00000001
  57373. else
  57374. pTDefRegMap(@Self)^.&set := $00000001;
  57375. end;
  57376. function TPORTF_PORTF.getRF0 : TBits_1; inline;
  57377. begin
  57378. getRF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57379. end;
  57380. procedure TPORTF_PORTF.setRF1; inline;
  57381. begin
  57382. pTDefRegMap(@Self)^.&set := $00000002;
  57383. end;
  57384. procedure TPORTF_PORTF.clearRF1; inline;
  57385. begin
  57386. pTDefRegMap(@Self)^.clr := $00000002;
  57387. end;
  57388. procedure TPORTF_PORTF.setRF1(thebits : TBits_1); inline;
  57389. begin
  57390. if thebits = 0 then
  57391. pTDefRegMap(@Self)^.clr := $00000002
  57392. else
  57393. pTDefRegMap(@Self)^.&set := $00000002;
  57394. end;
  57395. function TPORTF_PORTF.getRF1 : TBits_1; inline;
  57396. begin
  57397. getRF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57398. end;
  57399. procedure TPORTF_PORTF.setRF2; inline;
  57400. begin
  57401. pTDefRegMap(@Self)^.&set := $00000004;
  57402. end;
  57403. procedure TPORTF_PORTF.clearRF2; inline;
  57404. begin
  57405. pTDefRegMap(@Self)^.clr := $00000004;
  57406. end;
  57407. procedure TPORTF_PORTF.setRF2(thebits : TBits_1); inline;
  57408. begin
  57409. if thebits = 0 then
  57410. pTDefRegMap(@Self)^.clr := $00000004
  57411. else
  57412. pTDefRegMap(@Self)^.&set := $00000004;
  57413. end;
  57414. function TPORTF_PORTF.getRF2 : TBits_1; inline;
  57415. begin
  57416. getRF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57417. end;
  57418. procedure TPORTF_PORTF.setRF3; inline;
  57419. begin
  57420. pTDefRegMap(@Self)^.&set := $00000008;
  57421. end;
  57422. procedure TPORTF_PORTF.clearRF3; inline;
  57423. begin
  57424. pTDefRegMap(@Self)^.clr := $00000008;
  57425. end;
  57426. procedure TPORTF_PORTF.setRF3(thebits : TBits_1); inline;
  57427. begin
  57428. if thebits = 0 then
  57429. pTDefRegMap(@Self)^.clr := $00000008
  57430. else
  57431. pTDefRegMap(@Self)^.&set := $00000008;
  57432. end;
  57433. function TPORTF_PORTF.getRF3 : TBits_1; inline;
  57434. begin
  57435. getRF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57436. end;
  57437. procedure TPORTF_PORTF.setRF4; inline;
  57438. begin
  57439. pTDefRegMap(@Self)^.&set := $00000010;
  57440. end;
  57441. procedure TPORTF_PORTF.clearRF4; inline;
  57442. begin
  57443. pTDefRegMap(@Self)^.clr := $00000010;
  57444. end;
  57445. procedure TPORTF_PORTF.setRF4(thebits : TBits_1); inline;
  57446. begin
  57447. if thebits = 0 then
  57448. pTDefRegMap(@Self)^.clr := $00000010
  57449. else
  57450. pTDefRegMap(@Self)^.&set := $00000010;
  57451. end;
  57452. function TPORTF_PORTF.getRF4 : TBits_1; inline;
  57453. begin
  57454. getRF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57455. end;
  57456. procedure TPORTF_PORTF.setRF5; inline;
  57457. begin
  57458. pTDefRegMap(@Self)^.&set := $00000020;
  57459. end;
  57460. procedure TPORTF_PORTF.clearRF5; inline;
  57461. begin
  57462. pTDefRegMap(@Self)^.clr := $00000020;
  57463. end;
  57464. procedure TPORTF_PORTF.setRF5(thebits : TBits_1); inline;
  57465. begin
  57466. if thebits = 0 then
  57467. pTDefRegMap(@Self)^.clr := $00000020
  57468. else
  57469. pTDefRegMap(@Self)^.&set := $00000020;
  57470. end;
  57471. function TPORTF_PORTF.getRF5 : TBits_1; inline;
  57472. begin
  57473. getRF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57474. end;
  57475. procedure TPORTF_PORTF.setRF8; inline;
  57476. begin
  57477. pTDefRegMap(@Self)^.&set := $00000100;
  57478. end;
  57479. procedure TPORTF_PORTF.clearRF8; inline;
  57480. begin
  57481. pTDefRegMap(@Self)^.clr := $00000100;
  57482. end;
  57483. procedure TPORTF_PORTF.setRF8(thebits : TBits_1); inline;
  57484. begin
  57485. if thebits = 0 then
  57486. pTDefRegMap(@Self)^.clr := $00000100
  57487. else
  57488. pTDefRegMap(@Self)^.&set := $00000100;
  57489. end;
  57490. function TPORTF_PORTF.getRF8 : TBits_1; inline;
  57491. begin
  57492. getRF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57493. end;
  57494. procedure TPORTF_PORTF.setRF12; inline;
  57495. begin
  57496. pTDefRegMap(@Self)^.&set := $00001000;
  57497. end;
  57498. procedure TPORTF_PORTF.clearRF12; inline;
  57499. begin
  57500. pTDefRegMap(@Self)^.clr := $00001000;
  57501. end;
  57502. procedure TPORTF_PORTF.setRF12(thebits : TBits_1); inline;
  57503. begin
  57504. if thebits = 0 then
  57505. pTDefRegMap(@Self)^.clr := $00001000
  57506. else
  57507. pTDefRegMap(@Self)^.&set := $00001000;
  57508. end;
  57509. function TPORTF_PORTF.getRF12 : TBits_1; inline;
  57510. begin
  57511. getRF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57512. end;
  57513. procedure TPORTF_PORTF.setRF13; inline;
  57514. begin
  57515. pTDefRegMap(@Self)^.&set := $00002000;
  57516. end;
  57517. procedure TPORTF_PORTF.clearRF13; inline;
  57518. begin
  57519. pTDefRegMap(@Self)^.clr := $00002000;
  57520. end;
  57521. procedure TPORTF_PORTF.setRF13(thebits : TBits_1); inline;
  57522. begin
  57523. if thebits = 0 then
  57524. pTDefRegMap(@Self)^.clr := $00002000
  57525. else
  57526. pTDefRegMap(@Self)^.&set := $00002000;
  57527. end;
  57528. function TPORTF_PORTF.getRF13 : TBits_1; inline;
  57529. begin
  57530. getRF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57531. end;
  57532. procedure TPORTF_PORTF.setw(thebits : TBits_32); inline;
  57533. begin
  57534. pTDefRegMap(@Self)^.val := thebits;
  57535. end;
  57536. function TPORTF_PORTF.getw : TBits_32; inline;
  57537. begin
  57538. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57539. end;
  57540. procedure TPORTF_LATF.setLATF0; inline;
  57541. begin
  57542. pTDefRegMap(@Self)^.&set := $00000001;
  57543. end;
  57544. procedure TPORTF_LATF.clearLATF0; inline;
  57545. begin
  57546. pTDefRegMap(@Self)^.clr := $00000001;
  57547. end;
  57548. procedure TPORTF_LATF.setLATF0(thebits : TBits_1); inline;
  57549. begin
  57550. if thebits = 0 then
  57551. pTDefRegMap(@Self)^.clr := $00000001
  57552. else
  57553. pTDefRegMap(@Self)^.&set := $00000001;
  57554. end;
  57555. function TPORTF_LATF.getLATF0 : TBits_1; inline;
  57556. begin
  57557. getLATF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57558. end;
  57559. procedure TPORTF_LATF.setLATF1; inline;
  57560. begin
  57561. pTDefRegMap(@Self)^.&set := $00000002;
  57562. end;
  57563. procedure TPORTF_LATF.clearLATF1; inline;
  57564. begin
  57565. pTDefRegMap(@Self)^.clr := $00000002;
  57566. end;
  57567. procedure TPORTF_LATF.setLATF1(thebits : TBits_1); inline;
  57568. begin
  57569. if thebits = 0 then
  57570. pTDefRegMap(@Self)^.clr := $00000002
  57571. else
  57572. pTDefRegMap(@Self)^.&set := $00000002;
  57573. end;
  57574. function TPORTF_LATF.getLATF1 : TBits_1; inline;
  57575. begin
  57576. getLATF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57577. end;
  57578. procedure TPORTF_LATF.setLATF2; inline;
  57579. begin
  57580. pTDefRegMap(@Self)^.&set := $00000004;
  57581. end;
  57582. procedure TPORTF_LATF.clearLATF2; inline;
  57583. begin
  57584. pTDefRegMap(@Self)^.clr := $00000004;
  57585. end;
  57586. procedure TPORTF_LATF.setLATF2(thebits : TBits_1); inline;
  57587. begin
  57588. if thebits = 0 then
  57589. pTDefRegMap(@Self)^.clr := $00000004
  57590. else
  57591. pTDefRegMap(@Self)^.&set := $00000004;
  57592. end;
  57593. function TPORTF_LATF.getLATF2 : TBits_1; inline;
  57594. begin
  57595. getLATF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57596. end;
  57597. procedure TPORTF_LATF.setLATF3; inline;
  57598. begin
  57599. pTDefRegMap(@Self)^.&set := $00000008;
  57600. end;
  57601. procedure TPORTF_LATF.clearLATF3; inline;
  57602. begin
  57603. pTDefRegMap(@Self)^.clr := $00000008;
  57604. end;
  57605. procedure TPORTF_LATF.setLATF3(thebits : TBits_1); inline;
  57606. begin
  57607. if thebits = 0 then
  57608. pTDefRegMap(@Self)^.clr := $00000008
  57609. else
  57610. pTDefRegMap(@Self)^.&set := $00000008;
  57611. end;
  57612. function TPORTF_LATF.getLATF3 : TBits_1; inline;
  57613. begin
  57614. getLATF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57615. end;
  57616. procedure TPORTF_LATF.setLATF4; inline;
  57617. begin
  57618. pTDefRegMap(@Self)^.&set := $00000010;
  57619. end;
  57620. procedure TPORTF_LATF.clearLATF4; inline;
  57621. begin
  57622. pTDefRegMap(@Self)^.clr := $00000010;
  57623. end;
  57624. procedure TPORTF_LATF.setLATF4(thebits : TBits_1); inline;
  57625. begin
  57626. if thebits = 0 then
  57627. pTDefRegMap(@Self)^.clr := $00000010
  57628. else
  57629. pTDefRegMap(@Self)^.&set := $00000010;
  57630. end;
  57631. function TPORTF_LATF.getLATF4 : TBits_1; inline;
  57632. begin
  57633. getLATF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57634. end;
  57635. procedure TPORTF_LATF.setLATF5; inline;
  57636. begin
  57637. pTDefRegMap(@Self)^.&set := $00000020;
  57638. end;
  57639. procedure TPORTF_LATF.clearLATF5; inline;
  57640. begin
  57641. pTDefRegMap(@Self)^.clr := $00000020;
  57642. end;
  57643. procedure TPORTF_LATF.setLATF5(thebits : TBits_1); inline;
  57644. begin
  57645. if thebits = 0 then
  57646. pTDefRegMap(@Self)^.clr := $00000020
  57647. else
  57648. pTDefRegMap(@Self)^.&set := $00000020;
  57649. end;
  57650. function TPORTF_LATF.getLATF5 : TBits_1; inline;
  57651. begin
  57652. getLATF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57653. end;
  57654. procedure TPORTF_LATF.setLATF8; inline;
  57655. begin
  57656. pTDefRegMap(@Self)^.&set := $00000100;
  57657. end;
  57658. procedure TPORTF_LATF.clearLATF8; inline;
  57659. begin
  57660. pTDefRegMap(@Self)^.clr := $00000100;
  57661. end;
  57662. procedure TPORTF_LATF.setLATF8(thebits : TBits_1); inline;
  57663. begin
  57664. if thebits = 0 then
  57665. pTDefRegMap(@Self)^.clr := $00000100
  57666. else
  57667. pTDefRegMap(@Self)^.&set := $00000100;
  57668. end;
  57669. function TPORTF_LATF.getLATF8 : TBits_1; inline;
  57670. begin
  57671. getLATF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57672. end;
  57673. procedure TPORTF_LATF.setLATF12; inline;
  57674. begin
  57675. pTDefRegMap(@Self)^.&set := $00001000;
  57676. end;
  57677. procedure TPORTF_LATF.clearLATF12; inline;
  57678. begin
  57679. pTDefRegMap(@Self)^.clr := $00001000;
  57680. end;
  57681. procedure TPORTF_LATF.setLATF12(thebits : TBits_1); inline;
  57682. begin
  57683. if thebits = 0 then
  57684. pTDefRegMap(@Self)^.clr := $00001000
  57685. else
  57686. pTDefRegMap(@Self)^.&set := $00001000;
  57687. end;
  57688. function TPORTF_LATF.getLATF12 : TBits_1; inline;
  57689. begin
  57690. getLATF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57691. end;
  57692. procedure TPORTF_LATF.setLATF13; inline;
  57693. begin
  57694. pTDefRegMap(@Self)^.&set := $00002000;
  57695. end;
  57696. procedure TPORTF_LATF.clearLATF13; inline;
  57697. begin
  57698. pTDefRegMap(@Self)^.clr := $00002000;
  57699. end;
  57700. procedure TPORTF_LATF.setLATF13(thebits : TBits_1); inline;
  57701. begin
  57702. if thebits = 0 then
  57703. pTDefRegMap(@Self)^.clr := $00002000
  57704. else
  57705. pTDefRegMap(@Self)^.&set := $00002000;
  57706. end;
  57707. function TPORTF_LATF.getLATF13 : TBits_1; inline;
  57708. begin
  57709. getLATF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57710. end;
  57711. procedure TPORTF_LATF.setw(thebits : TBits_32); inline;
  57712. begin
  57713. pTDefRegMap(@Self)^.val := thebits;
  57714. end;
  57715. function TPORTF_LATF.getw : TBits_32; inline;
  57716. begin
  57717. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57718. end;
  57719. procedure TPORTF_ODCF.setODCF0; inline;
  57720. begin
  57721. pTDefRegMap(@Self)^.&set := $00000001;
  57722. end;
  57723. procedure TPORTF_ODCF.clearODCF0; inline;
  57724. begin
  57725. pTDefRegMap(@Self)^.clr := $00000001;
  57726. end;
  57727. procedure TPORTF_ODCF.setODCF0(thebits : TBits_1); inline;
  57728. begin
  57729. if thebits = 0 then
  57730. pTDefRegMap(@Self)^.clr := $00000001
  57731. else
  57732. pTDefRegMap(@Self)^.&set := $00000001;
  57733. end;
  57734. function TPORTF_ODCF.getODCF0 : TBits_1; inline;
  57735. begin
  57736. getODCF0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57737. end;
  57738. procedure TPORTF_ODCF.setODCF1; inline;
  57739. begin
  57740. pTDefRegMap(@Self)^.&set := $00000002;
  57741. end;
  57742. procedure TPORTF_ODCF.clearODCF1; inline;
  57743. begin
  57744. pTDefRegMap(@Self)^.clr := $00000002;
  57745. end;
  57746. procedure TPORTF_ODCF.setODCF1(thebits : TBits_1); inline;
  57747. begin
  57748. if thebits = 0 then
  57749. pTDefRegMap(@Self)^.clr := $00000002
  57750. else
  57751. pTDefRegMap(@Self)^.&set := $00000002;
  57752. end;
  57753. function TPORTF_ODCF.getODCF1 : TBits_1; inline;
  57754. begin
  57755. getODCF1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57756. end;
  57757. procedure TPORTF_ODCF.setODCF2; inline;
  57758. begin
  57759. pTDefRegMap(@Self)^.&set := $00000004;
  57760. end;
  57761. procedure TPORTF_ODCF.clearODCF2; inline;
  57762. begin
  57763. pTDefRegMap(@Self)^.clr := $00000004;
  57764. end;
  57765. procedure TPORTF_ODCF.setODCF2(thebits : TBits_1); inline;
  57766. begin
  57767. if thebits = 0 then
  57768. pTDefRegMap(@Self)^.clr := $00000004
  57769. else
  57770. pTDefRegMap(@Self)^.&set := $00000004;
  57771. end;
  57772. function TPORTF_ODCF.getODCF2 : TBits_1; inline;
  57773. begin
  57774. getODCF2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57775. end;
  57776. procedure TPORTF_ODCF.setODCF3; inline;
  57777. begin
  57778. pTDefRegMap(@Self)^.&set := $00000008;
  57779. end;
  57780. procedure TPORTF_ODCF.clearODCF3; inline;
  57781. begin
  57782. pTDefRegMap(@Self)^.clr := $00000008;
  57783. end;
  57784. procedure TPORTF_ODCF.setODCF3(thebits : TBits_1); inline;
  57785. begin
  57786. if thebits = 0 then
  57787. pTDefRegMap(@Self)^.clr := $00000008
  57788. else
  57789. pTDefRegMap(@Self)^.&set := $00000008;
  57790. end;
  57791. function TPORTF_ODCF.getODCF3 : TBits_1; inline;
  57792. begin
  57793. getODCF3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57794. end;
  57795. procedure TPORTF_ODCF.setODCF4; inline;
  57796. begin
  57797. pTDefRegMap(@Self)^.&set := $00000010;
  57798. end;
  57799. procedure TPORTF_ODCF.clearODCF4; inline;
  57800. begin
  57801. pTDefRegMap(@Self)^.clr := $00000010;
  57802. end;
  57803. procedure TPORTF_ODCF.setODCF4(thebits : TBits_1); inline;
  57804. begin
  57805. if thebits = 0 then
  57806. pTDefRegMap(@Self)^.clr := $00000010
  57807. else
  57808. pTDefRegMap(@Self)^.&set := $00000010;
  57809. end;
  57810. function TPORTF_ODCF.getODCF4 : TBits_1; inline;
  57811. begin
  57812. getODCF4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  57813. end;
  57814. procedure TPORTF_ODCF.setODCF5; inline;
  57815. begin
  57816. pTDefRegMap(@Self)^.&set := $00000020;
  57817. end;
  57818. procedure TPORTF_ODCF.clearODCF5; inline;
  57819. begin
  57820. pTDefRegMap(@Self)^.clr := $00000020;
  57821. end;
  57822. procedure TPORTF_ODCF.setODCF5(thebits : TBits_1); inline;
  57823. begin
  57824. if thebits = 0 then
  57825. pTDefRegMap(@Self)^.clr := $00000020
  57826. else
  57827. pTDefRegMap(@Self)^.&set := $00000020;
  57828. end;
  57829. function TPORTF_ODCF.getODCF5 : TBits_1; inline;
  57830. begin
  57831. getODCF5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  57832. end;
  57833. procedure TPORTF_ODCF.setODCF8; inline;
  57834. begin
  57835. pTDefRegMap(@Self)^.&set := $00000100;
  57836. end;
  57837. procedure TPORTF_ODCF.clearODCF8; inline;
  57838. begin
  57839. pTDefRegMap(@Self)^.clr := $00000100;
  57840. end;
  57841. procedure TPORTF_ODCF.setODCF8(thebits : TBits_1); inline;
  57842. begin
  57843. if thebits = 0 then
  57844. pTDefRegMap(@Self)^.clr := $00000100
  57845. else
  57846. pTDefRegMap(@Self)^.&set := $00000100;
  57847. end;
  57848. function TPORTF_ODCF.getODCF8 : TBits_1; inline;
  57849. begin
  57850. getODCF8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  57851. end;
  57852. procedure TPORTF_ODCF.setODCF12; inline;
  57853. begin
  57854. pTDefRegMap(@Self)^.&set := $00001000;
  57855. end;
  57856. procedure TPORTF_ODCF.clearODCF12; inline;
  57857. begin
  57858. pTDefRegMap(@Self)^.clr := $00001000;
  57859. end;
  57860. procedure TPORTF_ODCF.setODCF12(thebits : TBits_1); inline;
  57861. begin
  57862. if thebits = 0 then
  57863. pTDefRegMap(@Self)^.clr := $00001000
  57864. else
  57865. pTDefRegMap(@Self)^.&set := $00001000;
  57866. end;
  57867. function TPORTF_ODCF.getODCF12 : TBits_1; inline;
  57868. begin
  57869. getODCF12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  57870. end;
  57871. procedure TPORTF_ODCF.setODCF13; inline;
  57872. begin
  57873. pTDefRegMap(@Self)^.&set := $00002000;
  57874. end;
  57875. procedure TPORTF_ODCF.clearODCF13; inline;
  57876. begin
  57877. pTDefRegMap(@Self)^.clr := $00002000;
  57878. end;
  57879. procedure TPORTF_ODCF.setODCF13(thebits : TBits_1); inline;
  57880. begin
  57881. if thebits = 0 then
  57882. pTDefRegMap(@Self)^.clr := $00002000
  57883. else
  57884. pTDefRegMap(@Self)^.&set := $00002000;
  57885. end;
  57886. function TPORTF_ODCF.getODCF13 : TBits_1; inline;
  57887. begin
  57888. getODCF13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  57889. end;
  57890. procedure TPORTF_ODCF.setw(thebits : TBits_32); inline;
  57891. begin
  57892. pTDefRegMap(@Self)^.val := thebits;
  57893. end;
  57894. function TPORTF_ODCF.getw : TBits_32; inline;
  57895. begin
  57896. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  57897. end;
  57898. procedure TPORTG_TRISG.setTRISG0; inline;
  57899. begin
  57900. pTDefRegMap(@Self)^.&set := $00000001;
  57901. end;
  57902. procedure TPORTG_TRISG.clearTRISG0; inline;
  57903. begin
  57904. pTDefRegMap(@Self)^.clr := $00000001;
  57905. end;
  57906. procedure TPORTG_TRISG.setTRISG0(thebits : TBits_1); inline;
  57907. begin
  57908. if thebits = 0 then
  57909. pTDefRegMap(@Self)^.clr := $00000001
  57910. else
  57911. pTDefRegMap(@Self)^.&set := $00000001;
  57912. end;
  57913. function TPORTG_TRISG.getTRISG0 : TBits_1; inline;
  57914. begin
  57915. getTRISG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  57916. end;
  57917. procedure TPORTG_TRISG.setTRISG1; inline;
  57918. begin
  57919. pTDefRegMap(@Self)^.&set := $00000002;
  57920. end;
  57921. procedure TPORTG_TRISG.clearTRISG1; inline;
  57922. begin
  57923. pTDefRegMap(@Self)^.clr := $00000002;
  57924. end;
  57925. procedure TPORTG_TRISG.setTRISG1(thebits : TBits_1); inline;
  57926. begin
  57927. if thebits = 0 then
  57928. pTDefRegMap(@Self)^.clr := $00000002
  57929. else
  57930. pTDefRegMap(@Self)^.&set := $00000002;
  57931. end;
  57932. function TPORTG_TRISG.getTRISG1 : TBits_1; inline;
  57933. begin
  57934. getTRISG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  57935. end;
  57936. procedure TPORTG_TRISG.setTRISG2; inline;
  57937. begin
  57938. pTDefRegMap(@Self)^.&set := $00000004;
  57939. end;
  57940. procedure TPORTG_TRISG.clearTRISG2; inline;
  57941. begin
  57942. pTDefRegMap(@Self)^.clr := $00000004;
  57943. end;
  57944. procedure TPORTG_TRISG.setTRISG2(thebits : TBits_1); inline;
  57945. begin
  57946. if thebits = 0 then
  57947. pTDefRegMap(@Self)^.clr := $00000004
  57948. else
  57949. pTDefRegMap(@Self)^.&set := $00000004;
  57950. end;
  57951. function TPORTG_TRISG.getTRISG2 : TBits_1; inline;
  57952. begin
  57953. getTRISG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  57954. end;
  57955. procedure TPORTG_TRISG.setTRISG3; inline;
  57956. begin
  57957. pTDefRegMap(@Self)^.&set := $00000008;
  57958. end;
  57959. procedure TPORTG_TRISG.clearTRISG3; inline;
  57960. begin
  57961. pTDefRegMap(@Self)^.clr := $00000008;
  57962. end;
  57963. procedure TPORTG_TRISG.setTRISG3(thebits : TBits_1); inline;
  57964. begin
  57965. if thebits = 0 then
  57966. pTDefRegMap(@Self)^.clr := $00000008
  57967. else
  57968. pTDefRegMap(@Self)^.&set := $00000008;
  57969. end;
  57970. function TPORTG_TRISG.getTRISG3 : TBits_1; inline;
  57971. begin
  57972. getTRISG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  57973. end;
  57974. procedure TPORTG_TRISG.setTRISG6; inline;
  57975. begin
  57976. pTDefRegMap(@Self)^.&set := $00000040;
  57977. end;
  57978. procedure TPORTG_TRISG.clearTRISG6; inline;
  57979. begin
  57980. pTDefRegMap(@Self)^.clr := $00000040;
  57981. end;
  57982. procedure TPORTG_TRISG.setTRISG6(thebits : TBits_1); inline;
  57983. begin
  57984. if thebits = 0 then
  57985. pTDefRegMap(@Self)^.clr := $00000040
  57986. else
  57987. pTDefRegMap(@Self)^.&set := $00000040;
  57988. end;
  57989. function TPORTG_TRISG.getTRISG6 : TBits_1; inline;
  57990. begin
  57991. getTRISG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  57992. end;
  57993. procedure TPORTG_TRISG.setTRISG7; inline;
  57994. begin
  57995. pTDefRegMap(@Self)^.&set := $00000080;
  57996. end;
  57997. procedure TPORTG_TRISG.clearTRISG7; inline;
  57998. begin
  57999. pTDefRegMap(@Self)^.clr := $00000080;
  58000. end;
  58001. procedure TPORTG_TRISG.setTRISG7(thebits : TBits_1); inline;
  58002. begin
  58003. if thebits = 0 then
  58004. pTDefRegMap(@Self)^.clr := $00000080
  58005. else
  58006. pTDefRegMap(@Self)^.&set := $00000080;
  58007. end;
  58008. function TPORTG_TRISG.getTRISG7 : TBits_1; inline;
  58009. begin
  58010. getTRISG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58011. end;
  58012. procedure TPORTG_TRISG.setTRISG8; inline;
  58013. begin
  58014. pTDefRegMap(@Self)^.&set := $00000100;
  58015. end;
  58016. procedure TPORTG_TRISG.clearTRISG8; inline;
  58017. begin
  58018. pTDefRegMap(@Self)^.clr := $00000100;
  58019. end;
  58020. procedure TPORTG_TRISG.setTRISG8(thebits : TBits_1); inline;
  58021. begin
  58022. if thebits = 0 then
  58023. pTDefRegMap(@Self)^.clr := $00000100
  58024. else
  58025. pTDefRegMap(@Self)^.&set := $00000100;
  58026. end;
  58027. function TPORTG_TRISG.getTRISG8 : TBits_1; inline;
  58028. begin
  58029. getTRISG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58030. end;
  58031. procedure TPORTG_TRISG.setTRISG9; inline;
  58032. begin
  58033. pTDefRegMap(@Self)^.&set := $00000200;
  58034. end;
  58035. procedure TPORTG_TRISG.clearTRISG9; inline;
  58036. begin
  58037. pTDefRegMap(@Self)^.clr := $00000200;
  58038. end;
  58039. procedure TPORTG_TRISG.setTRISG9(thebits : TBits_1); inline;
  58040. begin
  58041. if thebits = 0 then
  58042. pTDefRegMap(@Self)^.clr := $00000200
  58043. else
  58044. pTDefRegMap(@Self)^.&set := $00000200;
  58045. end;
  58046. function TPORTG_TRISG.getTRISG9 : TBits_1; inline;
  58047. begin
  58048. getTRISG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58049. end;
  58050. procedure TPORTG_TRISG.setTRISG12; inline;
  58051. begin
  58052. pTDefRegMap(@Self)^.&set := $00001000;
  58053. end;
  58054. procedure TPORTG_TRISG.clearTRISG12; inline;
  58055. begin
  58056. pTDefRegMap(@Self)^.clr := $00001000;
  58057. end;
  58058. procedure TPORTG_TRISG.setTRISG12(thebits : TBits_1); inline;
  58059. begin
  58060. if thebits = 0 then
  58061. pTDefRegMap(@Self)^.clr := $00001000
  58062. else
  58063. pTDefRegMap(@Self)^.&set := $00001000;
  58064. end;
  58065. function TPORTG_TRISG.getTRISG12 : TBits_1; inline;
  58066. begin
  58067. getTRISG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58068. end;
  58069. procedure TPORTG_TRISG.setTRISG13; inline;
  58070. begin
  58071. pTDefRegMap(@Self)^.&set := $00002000;
  58072. end;
  58073. procedure TPORTG_TRISG.clearTRISG13; inline;
  58074. begin
  58075. pTDefRegMap(@Self)^.clr := $00002000;
  58076. end;
  58077. procedure TPORTG_TRISG.setTRISG13(thebits : TBits_1); inline;
  58078. begin
  58079. if thebits = 0 then
  58080. pTDefRegMap(@Self)^.clr := $00002000
  58081. else
  58082. pTDefRegMap(@Self)^.&set := $00002000;
  58083. end;
  58084. function TPORTG_TRISG.getTRISG13 : TBits_1; inline;
  58085. begin
  58086. getTRISG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58087. end;
  58088. procedure TPORTG_TRISG.setTRISG14; inline;
  58089. begin
  58090. pTDefRegMap(@Self)^.&set := $00004000;
  58091. end;
  58092. procedure TPORTG_TRISG.clearTRISG14; inline;
  58093. begin
  58094. pTDefRegMap(@Self)^.clr := $00004000;
  58095. end;
  58096. procedure TPORTG_TRISG.setTRISG14(thebits : TBits_1); inline;
  58097. begin
  58098. if thebits = 0 then
  58099. pTDefRegMap(@Self)^.clr := $00004000
  58100. else
  58101. pTDefRegMap(@Self)^.&set := $00004000;
  58102. end;
  58103. function TPORTG_TRISG.getTRISG14 : TBits_1; inline;
  58104. begin
  58105. getTRISG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58106. end;
  58107. procedure TPORTG_TRISG.setTRISG15; inline;
  58108. begin
  58109. pTDefRegMap(@Self)^.&set := $00008000;
  58110. end;
  58111. procedure TPORTG_TRISG.clearTRISG15; inline;
  58112. begin
  58113. pTDefRegMap(@Self)^.clr := $00008000;
  58114. end;
  58115. procedure TPORTG_TRISG.setTRISG15(thebits : TBits_1); inline;
  58116. begin
  58117. if thebits = 0 then
  58118. pTDefRegMap(@Self)^.clr := $00008000
  58119. else
  58120. pTDefRegMap(@Self)^.&set := $00008000;
  58121. end;
  58122. function TPORTG_TRISG.getTRISG15 : TBits_1; inline;
  58123. begin
  58124. getTRISG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58125. end;
  58126. procedure TPORTG_TRISG.setw(thebits : TBits_32); inline;
  58127. begin
  58128. pTDefRegMap(@Self)^.val := thebits;
  58129. end;
  58130. function TPORTG_TRISG.getw : TBits_32; inline;
  58131. begin
  58132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58133. end;
  58134. procedure TPORTG_PORTG.setRG0; inline;
  58135. begin
  58136. pTDefRegMap(@Self)^.&set := $00000001;
  58137. end;
  58138. procedure TPORTG_PORTG.clearRG0; inline;
  58139. begin
  58140. pTDefRegMap(@Self)^.clr := $00000001;
  58141. end;
  58142. procedure TPORTG_PORTG.setRG0(thebits : TBits_1); inline;
  58143. begin
  58144. if thebits = 0 then
  58145. pTDefRegMap(@Self)^.clr := $00000001
  58146. else
  58147. pTDefRegMap(@Self)^.&set := $00000001;
  58148. end;
  58149. function TPORTG_PORTG.getRG0 : TBits_1; inline;
  58150. begin
  58151. getRG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58152. end;
  58153. procedure TPORTG_PORTG.setRG1; inline;
  58154. begin
  58155. pTDefRegMap(@Self)^.&set := $00000002;
  58156. end;
  58157. procedure TPORTG_PORTG.clearRG1; inline;
  58158. begin
  58159. pTDefRegMap(@Self)^.clr := $00000002;
  58160. end;
  58161. procedure TPORTG_PORTG.setRG1(thebits : TBits_1); inline;
  58162. begin
  58163. if thebits = 0 then
  58164. pTDefRegMap(@Self)^.clr := $00000002
  58165. else
  58166. pTDefRegMap(@Self)^.&set := $00000002;
  58167. end;
  58168. function TPORTG_PORTG.getRG1 : TBits_1; inline;
  58169. begin
  58170. getRG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58171. end;
  58172. procedure TPORTG_PORTG.setRG2; inline;
  58173. begin
  58174. pTDefRegMap(@Self)^.&set := $00000004;
  58175. end;
  58176. procedure TPORTG_PORTG.clearRG2; inline;
  58177. begin
  58178. pTDefRegMap(@Self)^.clr := $00000004;
  58179. end;
  58180. procedure TPORTG_PORTG.setRG2(thebits : TBits_1); inline;
  58181. begin
  58182. if thebits = 0 then
  58183. pTDefRegMap(@Self)^.clr := $00000004
  58184. else
  58185. pTDefRegMap(@Self)^.&set := $00000004;
  58186. end;
  58187. function TPORTG_PORTG.getRG2 : TBits_1; inline;
  58188. begin
  58189. getRG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58190. end;
  58191. procedure TPORTG_PORTG.setRG3; inline;
  58192. begin
  58193. pTDefRegMap(@Self)^.&set := $00000008;
  58194. end;
  58195. procedure TPORTG_PORTG.clearRG3; inline;
  58196. begin
  58197. pTDefRegMap(@Self)^.clr := $00000008;
  58198. end;
  58199. procedure TPORTG_PORTG.setRG3(thebits : TBits_1); inline;
  58200. begin
  58201. if thebits = 0 then
  58202. pTDefRegMap(@Self)^.clr := $00000008
  58203. else
  58204. pTDefRegMap(@Self)^.&set := $00000008;
  58205. end;
  58206. function TPORTG_PORTG.getRG3 : TBits_1; inline;
  58207. begin
  58208. getRG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58209. end;
  58210. procedure TPORTG_PORTG.setRG6; inline;
  58211. begin
  58212. pTDefRegMap(@Self)^.&set := $00000040;
  58213. end;
  58214. procedure TPORTG_PORTG.clearRG6; inline;
  58215. begin
  58216. pTDefRegMap(@Self)^.clr := $00000040;
  58217. end;
  58218. procedure TPORTG_PORTG.setRG6(thebits : TBits_1); inline;
  58219. begin
  58220. if thebits = 0 then
  58221. pTDefRegMap(@Self)^.clr := $00000040
  58222. else
  58223. pTDefRegMap(@Self)^.&set := $00000040;
  58224. end;
  58225. function TPORTG_PORTG.getRG6 : TBits_1; inline;
  58226. begin
  58227. getRG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58228. end;
  58229. procedure TPORTG_PORTG.setRG7; inline;
  58230. begin
  58231. pTDefRegMap(@Self)^.&set := $00000080;
  58232. end;
  58233. procedure TPORTG_PORTG.clearRG7; inline;
  58234. begin
  58235. pTDefRegMap(@Self)^.clr := $00000080;
  58236. end;
  58237. procedure TPORTG_PORTG.setRG7(thebits : TBits_1); inline;
  58238. begin
  58239. if thebits = 0 then
  58240. pTDefRegMap(@Self)^.clr := $00000080
  58241. else
  58242. pTDefRegMap(@Self)^.&set := $00000080;
  58243. end;
  58244. function TPORTG_PORTG.getRG7 : TBits_1; inline;
  58245. begin
  58246. getRG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58247. end;
  58248. procedure TPORTG_PORTG.setRG8; inline;
  58249. begin
  58250. pTDefRegMap(@Self)^.&set := $00000100;
  58251. end;
  58252. procedure TPORTG_PORTG.clearRG8; inline;
  58253. begin
  58254. pTDefRegMap(@Self)^.clr := $00000100;
  58255. end;
  58256. procedure TPORTG_PORTG.setRG8(thebits : TBits_1); inline;
  58257. begin
  58258. if thebits = 0 then
  58259. pTDefRegMap(@Self)^.clr := $00000100
  58260. else
  58261. pTDefRegMap(@Self)^.&set := $00000100;
  58262. end;
  58263. function TPORTG_PORTG.getRG8 : TBits_1; inline;
  58264. begin
  58265. getRG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58266. end;
  58267. procedure TPORTG_PORTG.setRG9; inline;
  58268. begin
  58269. pTDefRegMap(@Self)^.&set := $00000200;
  58270. end;
  58271. procedure TPORTG_PORTG.clearRG9; inline;
  58272. begin
  58273. pTDefRegMap(@Self)^.clr := $00000200;
  58274. end;
  58275. procedure TPORTG_PORTG.setRG9(thebits : TBits_1); inline;
  58276. begin
  58277. if thebits = 0 then
  58278. pTDefRegMap(@Self)^.clr := $00000200
  58279. else
  58280. pTDefRegMap(@Self)^.&set := $00000200;
  58281. end;
  58282. function TPORTG_PORTG.getRG9 : TBits_1; inline;
  58283. begin
  58284. getRG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58285. end;
  58286. procedure TPORTG_PORTG.setRG12; inline;
  58287. begin
  58288. pTDefRegMap(@Self)^.&set := $00001000;
  58289. end;
  58290. procedure TPORTG_PORTG.clearRG12; inline;
  58291. begin
  58292. pTDefRegMap(@Self)^.clr := $00001000;
  58293. end;
  58294. procedure TPORTG_PORTG.setRG12(thebits : TBits_1); inline;
  58295. begin
  58296. if thebits = 0 then
  58297. pTDefRegMap(@Self)^.clr := $00001000
  58298. else
  58299. pTDefRegMap(@Self)^.&set := $00001000;
  58300. end;
  58301. function TPORTG_PORTG.getRG12 : TBits_1; inline;
  58302. begin
  58303. getRG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58304. end;
  58305. procedure TPORTG_PORTG.setRG13; inline;
  58306. begin
  58307. pTDefRegMap(@Self)^.&set := $00002000;
  58308. end;
  58309. procedure TPORTG_PORTG.clearRG13; inline;
  58310. begin
  58311. pTDefRegMap(@Self)^.clr := $00002000;
  58312. end;
  58313. procedure TPORTG_PORTG.setRG13(thebits : TBits_1); inline;
  58314. begin
  58315. if thebits = 0 then
  58316. pTDefRegMap(@Self)^.clr := $00002000
  58317. else
  58318. pTDefRegMap(@Self)^.&set := $00002000;
  58319. end;
  58320. function TPORTG_PORTG.getRG13 : TBits_1; inline;
  58321. begin
  58322. getRG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58323. end;
  58324. procedure TPORTG_PORTG.setRG14; inline;
  58325. begin
  58326. pTDefRegMap(@Self)^.&set := $00004000;
  58327. end;
  58328. procedure TPORTG_PORTG.clearRG14; inline;
  58329. begin
  58330. pTDefRegMap(@Self)^.clr := $00004000;
  58331. end;
  58332. procedure TPORTG_PORTG.setRG14(thebits : TBits_1); inline;
  58333. begin
  58334. if thebits = 0 then
  58335. pTDefRegMap(@Self)^.clr := $00004000
  58336. else
  58337. pTDefRegMap(@Self)^.&set := $00004000;
  58338. end;
  58339. function TPORTG_PORTG.getRG14 : TBits_1; inline;
  58340. begin
  58341. getRG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58342. end;
  58343. procedure TPORTG_PORTG.setRG15; inline;
  58344. begin
  58345. pTDefRegMap(@Self)^.&set := $00008000;
  58346. end;
  58347. procedure TPORTG_PORTG.clearRG15; inline;
  58348. begin
  58349. pTDefRegMap(@Self)^.clr := $00008000;
  58350. end;
  58351. procedure TPORTG_PORTG.setRG15(thebits : TBits_1); inline;
  58352. begin
  58353. if thebits = 0 then
  58354. pTDefRegMap(@Self)^.clr := $00008000
  58355. else
  58356. pTDefRegMap(@Self)^.&set := $00008000;
  58357. end;
  58358. function TPORTG_PORTG.getRG15 : TBits_1; inline;
  58359. begin
  58360. getRG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58361. end;
  58362. procedure TPORTG_PORTG.setw(thebits : TBits_32); inline;
  58363. begin
  58364. pTDefRegMap(@Self)^.val := thebits;
  58365. end;
  58366. function TPORTG_PORTG.getw : TBits_32; inline;
  58367. begin
  58368. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58369. end;
  58370. procedure TPORTG_LATG.setLATG0; inline;
  58371. begin
  58372. pTDefRegMap(@Self)^.&set := $00000001;
  58373. end;
  58374. procedure TPORTG_LATG.clearLATG0; inline;
  58375. begin
  58376. pTDefRegMap(@Self)^.clr := $00000001;
  58377. end;
  58378. procedure TPORTG_LATG.setLATG0(thebits : TBits_1); inline;
  58379. begin
  58380. if thebits = 0 then
  58381. pTDefRegMap(@Self)^.clr := $00000001
  58382. else
  58383. pTDefRegMap(@Self)^.&set := $00000001;
  58384. end;
  58385. function TPORTG_LATG.getLATG0 : TBits_1; inline;
  58386. begin
  58387. getLATG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58388. end;
  58389. procedure TPORTG_LATG.setLATG1; inline;
  58390. begin
  58391. pTDefRegMap(@Self)^.&set := $00000002;
  58392. end;
  58393. procedure TPORTG_LATG.clearLATG1; inline;
  58394. begin
  58395. pTDefRegMap(@Self)^.clr := $00000002;
  58396. end;
  58397. procedure TPORTG_LATG.setLATG1(thebits : TBits_1); inline;
  58398. begin
  58399. if thebits = 0 then
  58400. pTDefRegMap(@Self)^.clr := $00000002
  58401. else
  58402. pTDefRegMap(@Self)^.&set := $00000002;
  58403. end;
  58404. function TPORTG_LATG.getLATG1 : TBits_1; inline;
  58405. begin
  58406. getLATG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58407. end;
  58408. procedure TPORTG_LATG.setLATG2; inline;
  58409. begin
  58410. pTDefRegMap(@Self)^.&set := $00000004;
  58411. end;
  58412. procedure TPORTG_LATG.clearLATG2; inline;
  58413. begin
  58414. pTDefRegMap(@Self)^.clr := $00000004;
  58415. end;
  58416. procedure TPORTG_LATG.setLATG2(thebits : TBits_1); inline;
  58417. begin
  58418. if thebits = 0 then
  58419. pTDefRegMap(@Self)^.clr := $00000004
  58420. else
  58421. pTDefRegMap(@Self)^.&set := $00000004;
  58422. end;
  58423. function TPORTG_LATG.getLATG2 : TBits_1; inline;
  58424. begin
  58425. getLATG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58426. end;
  58427. procedure TPORTG_LATG.setLATG3; inline;
  58428. begin
  58429. pTDefRegMap(@Self)^.&set := $00000008;
  58430. end;
  58431. procedure TPORTG_LATG.clearLATG3; inline;
  58432. begin
  58433. pTDefRegMap(@Self)^.clr := $00000008;
  58434. end;
  58435. procedure TPORTG_LATG.setLATG3(thebits : TBits_1); inline;
  58436. begin
  58437. if thebits = 0 then
  58438. pTDefRegMap(@Self)^.clr := $00000008
  58439. else
  58440. pTDefRegMap(@Self)^.&set := $00000008;
  58441. end;
  58442. function TPORTG_LATG.getLATG3 : TBits_1; inline;
  58443. begin
  58444. getLATG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58445. end;
  58446. procedure TPORTG_LATG.setLATG6; inline;
  58447. begin
  58448. pTDefRegMap(@Self)^.&set := $00000040;
  58449. end;
  58450. procedure TPORTG_LATG.clearLATG6; inline;
  58451. begin
  58452. pTDefRegMap(@Self)^.clr := $00000040;
  58453. end;
  58454. procedure TPORTG_LATG.setLATG6(thebits : TBits_1); inline;
  58455. begin
  58456. if thebits = 0 then
  58457. pTDefRegMap(@Self)^.clr := $00000040
  58458. else
  58459. pTDefRegMap(@Self)^.&set := $00000040;
  58460. end;
  58461. function TPORTG_LATG.getLATG6 : TBits_1; inline;
  58462. begin
  58463. getLATG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58464. end;
  58465. procedure TPORTG_LATG.setLATG7; inline;
  58466. begin
  58467. pTDefRegMap(@Self)^.&set := $00000080;
  58468. end;
  58469. procedure TPORTG_LATG.clearLATG7; inline;
  58470. begin
  58471. pTDefRegMap(@Self)^.clr := $00000080;
  58472. end;
  58473. procedure TPORTG_LATG.setLATG7(thebits : TBits_1); inline;
  58474. begin
  58475. if thebits = 0 then
  58476. pTDefRegMap(@Self)^.clr := $00000080
  58477. else
  58478. pTDefRegMap(@Self)^.&set := $00000080;
  58479. end;
  58480. function TPORTG_LATG.getLATG7 : TBits_1; inline;
  58481. begin
  58482. getLATG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58483. end;
  58484. procedure TPORTG_LATG.setLATG8; inline;
  58485. begin
  58486. pTDefRegMap(@Self)^.&set := $00000100;
  58487. end;
  58488. procedure TPORTG_LATG.clearLATG8; inline;
  58489. begin
  58490. pTDefRegMap(@Self)^.clr := $00000100;
  58491. end;
  58492. procedure TPORTG_LATG.setLATG8(thebits : TBits_1); inline;
  58493. begin
  58494. if thebits = 0 then
  58495. pTDefRegMap(@Self)^.clr := $00000100
  58496. else
  58497. pTDefRegMap(@Self)^.&set := $00000100;
  58498. end;
  58499. function TPORTG_LATG.getLATG8 : TBits_1; inline;
  58500. begin
  58501. getLATG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58502. end;
  58503. procedure TPORTG_LATG.setLATG9; inline;
  58504. begin
  58505. pTDefRegMap(@Self)^.&set := $00000200;
  58506. end;
  58507. procedure TPORTG_LATG.clearLATG9; inline;
  58508. begin
  58509. pTDefRegMap(@Self)^.clr := $00000200;
  58510. end;
  58511. procedure TPORTG_LATG.setLATG9(thebits : TBits_1); inline;
  58512. begin
  58513. if thebits = 0 then
  58514. pTDefRegMap(@Self)^.clr := $00000200
  58515. else
  58516. pTDefRegMap(@Self)^.&set := $00000200;
  58517. end;
  58518. function TPORTG_LATG.getLATG9 : TBits_1; inline;
  58519. begin
  58520. getLATG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58521. end;
  58522. procedure TPORTG_LATG.setLATG12; inline;
  58523. begin
  58524. pTDefRegMap(@Self)^.&set := $00001000;
  58525. end;
  58526. procedure TPORTG_LATG.clearLATG12; inline;
  58527. begin
  58528. pTDefRegMap(@Self)^.clr := $00001000;
  58529. end;
  58530. procedure TPORTG_LATG.setLATG12(thebits : TBits_1); inline;
  58531. begin
  58532. if thebits = 0 then
  58533. pTDefRegMap(@Self)^.clr := $00001000
  58534. else
  58535. pTDefRegMap(@Self)^.&set := $00001000;
  58536. end;
  58537. function TPORTG_LATG.getLATG12 : TBits_1; inline;
  58538. begin
  58539. getLATG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58540. end;
  58541. procedure TPORTG_LATG.setLATG13; inline;
  58542. begin
  58543. pTDefRegMap(@Self)^.&set := $00002000;
  58544. end;
  58545. procedure TPORTG_LATG.clearLATG13; inline;
  58546. begin
  58547. pTDefRegMap(@Self)^.clr := $00002000;
  58548. end;
  58549. procedure TPORTG_LATG.setLATG13(thebits : TBits_1); inline;
  58550. begin
  58551. if thebits = 0 then
  58552. pTDefRegMap(@Self)^.clr := $00002000
  58553. else
  58554. pTDefRegMap(@Self)^.&set := $00002000;
  58555. end;
  58556. function TPORTG_LATG.getLATG13 : TBits_1; inline;
  58557. begin
  58558. getLATG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58559. end;
  58560. procedure TPORTG_LATG.setLATG14; inline;
  58561. begin
  58562. pTDefRegMap(@Self)^.&set := $00004000;
  58563. end;
  58564. procedure TPORTG_LATG.clearLATG14; inline;
  58565. begin
  58566. pTDefRegMap(@Self)^.clr := $00004000;
  58567. end;
  58568. procedure TPORTG_LATG.setLATG14(thebits : TBits_1); inline;
  58569. begin
  58570. if thebits = 0 then
  58571. pTDefRegMap(@Self)^.clr := $00004000
  58572. else
  58573. pTDefRegMap(@Self)^.&set := $00004000;
  58574. end;
  58575. function TPORTG_LATG.getLATG14 : TBits_1; inline;
  58576. begin
  58577. getLATG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58578. end;
  58579. procedure TPORTG_LATG.setLATG15; inline;
  58580. begin
  58581. pTDefRegMap(@Self)^.&set := $00008000;
  58582. end;
  58583. procedure TPORTG_LATG.clearLATG15; inline;
  58584. begin
  58585. pTDefRegMap(@Self)^.clr := $00008000;
  58586. end;
  58587. procedure TPORTG_LATG.setLATG15(thebits : TBits_1); inline;
  58588. begin
  58589. if thebits = 0 then
  58590. pTDefRegMap(@Self)^.clr := $00008000
  58591. else
  58592. pTDefRegMap(@Self)^.&set := $00008000;
  58593. end;
  58594. function TPORTG_LATG.getLATG15 : TBits_1; inline;
  58595. begin
  58596. getLATG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58597. end;
  58598. procedure TPORTG_LATG.setw(thebits : TBits_32); inline;
  58599. begin
  58600. pTDefRegMap(@Self)^.val := thebits;
  58601. end;
  58602. function TPORTG_LATG.getw : TBits_32; inline;
  58603. begin
  58604. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58605. end;
  58606. procedure TPORTG_ODCG.setODCG0; inline;
  58607. begin
  58608. pTDefRegMap(@Self)^.&set := $00000001;
  58609. end;
  58610. procedure TPORTG_ODCG.clearODCG0; inline;
  58611. begin
  58612. pTDefRegMap(@Self)^.clr := $00000001;
  58613. end;
  58614. procedure TPORTG_ODCG.setODCG0(thebits : TBits_1); inline;
  58615. begin
  58616. if thebits = 0 then
  58617. pTDefRegMap(@Self)^.clr := $00000001
  58618. else
  58619. pTDefRegMap(@Self)^.&set := $00000001;
  58620. end;
  58621. function TPORTG_ODCG.getODCG0 : TBits_1; inline;
  58622. begin
  58623. getODCG0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58624. end;
  58625. procedure TPORTG_ODCG.setODCG1; inline;
  58626. begin
  58627. pTDefRegMap(@Self)^.&set := $00000002;
  58628. end;
  58629. procedure TPORTG_ODCG.clearODCG1; inline;
  58630. begin
  58631. pTDefRegMap(@Self)^.clr := $00000002;
  58632. end;
  58633. procedure TPORTG_ODCG.setODCG1(thebits : TBits_1); inline;
  58634. begin
  58635. if thebits = 0 then
  58636. pTDefRegMap(@Self)^.clr := $00000002
  58637. else
  58638. pTDefRegMap(@Self)^.&set := $00000002;
  58639. end;
  58640. function TPORTG_ODCG.getODCG1 : TBits_1; inline;
  58641. begin
  58642. getODCG1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58643. end;
  58644. procedure TPORTG_ODCG.setODCG2; inline;
  58645. begin
  58646. pTDefRegMap(@Self)^.&set := $00000004;
  58647. end;
  58648. procedure TPORTG_ODCG.clearODCG2; inline;
  58649. begin
  58650. pTDefRegMap(@Self)^.clr := $00000004;
  58651. end;
  58652. procedure TPORTG_ODCG.setODCG2(thebits : TBits_1); inline;
  58653. begin
  58654. if thebits = 0 then
  58655. pTDefRegMap(@Self)^.clr := $00000004
  58656. else
  58657. pTDefRegMap(@Self)^.&set := $00000004;
  58658. end;
  58659. function TPORTG_ODCG.getODCG2 : TBits_1; inline;
  58660. begin
  58661. getODCG2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58662. end;
  58663. procedure TPORTG_ODCG.setODCG3; inline;
  58664. begin
  58665. pTDefRegMap(@Self)^.&set := $00000008;
  58666. end;
  58667. procedure TPORTG_ODCG.clearODCG3; inline;
  58668. begin
  58669. pTDefRegMap(@Self)^.clr := $00000008;
  58670. end;
  58671. procedure TPORTG_ODCG.setODCG3(thebits : TBits_1); inline;
  58672. begin
  58673. if thebits = 0 then
  58674. pTDefRegMap(@Self)^.clr := $00000008
  58675. else
  58676. pTDefRegMap(@Self)^.&set := $00000008;
  58677. end;
  58678. function TPORTG_ODCG.getODCG3 : TBits_1; inline;
  58679. begin
  58680. getODCG3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58681. end;
  58682. procedure TPORTG_ODCG.setODCG6; inline;
  58683. begin
  58684. pTDefRegMap(@Self)^.&set := $00000040;
  58685. end;
  58686. procedure TPORTG_ODCG.clearODCG6; inline;
  58687. begin
  58688. pTDefRegMap(@Self)^.clr := $00000040;
  58689. end;
  58690. procedure TPORTG_ODCG.setODCG6(thebits : TBits_1); inline;
  58691. begin
  58692. if thebits = 0 then
  58693. pTDefRegMap(@Self)^.clr := $00000040
  58694. else
  58695. pTDefRegMap(@Self)^.&set := $00000040;
  58696. end;
  58697. function TPORTG_ODCG.getODCG6 : TBits_1; inline;
  58698. begin
  58699. getODCG6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  58700. end;
  58701. procedure TPORTG_ODCG.setODCG7; inline;
  58702. begin
  58703. pTDefRegMap(@Self)^.&set := $00000080;
  58704. end;
  58705. procedure TPORTG_ODCG.clearODCG7; inline;
  58706. begin
  58707. pTDefRegMap(@Self)^.clr := $00000080;
  58708. end;
  58709. procedure TPORTG_ODCG.setODCG7(thebits : TBits_1); inline;
  58710. begin
  58711. if thebits = 0 then
  58712. pTDefRegMap(@Self)^.clr := $00000080
  58713. else
  58714. pTDefRegMap(@Self)^.&set := $00000080;
  58715. end;
  58716. function TPORTG_ODCG.getODCG7 : TBits_1; inline;
  58717. begin
  58718. getODCG7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  58719. end;
  58720. procedure TPORTG_ODCG.setODCG8; inline;
  58721. begin
  58722. pTDefRegMap(@Self)^.&set := $00000100;
  58723. end;
  58724. procedure TPORTG_ODCG.clearODCG8; inline;
  58725. begin
  58726. pTDefRegMap(@Self)^.clr := $00000100;
  58727. end;
  58728. procedure TPORTG_ODCG.setODCG8(thebits : TBits_1); inline;
  58729. begin
  58730. if thebits = 0 then
  58731. pTDefRegMap(@Self)^.clr := $00000100
  58732. else
  58733. pTDefRegMap(@Self)^.&set := $00000100;
  58734. end;
  58735. function TPORTG_ODCG.getODCG8 : TBits_1; inline;
  58736. begin
  58737. getODCG8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  58738. end;
  58739. procedure TPORTG_ODCG.setODCG9; inline;
  58740. begin
  58741. pTDefRegMap(@Self)^.&set := $00000200;
  58742. end;
  58743. procedure TPORTG_ODCG.clearODCG9; inline;
  58744. begin
  58745. pTDefRegMap(@Self)^.clr := $00000200;
  58746. end;
  58747. procedure TPORTG_ODCG.setODCG9(thebits : TBits_1); inline;
  58748. begin
  58749. if thebits = 0 then
  58750. pTDefRegMap(@Self)^.clr := $00000200
  58751. else
  58752. pTDefRegMap(@Self)^.&set := $00000200;
  58753. end;
  58754. function TPORTG_ODCG.getODCG9 : TBits_1; inline;
  58755. begin
  58756. getODCG9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  58757. end;
  58758. procedure TPORTG_ODCG.setODCG12; inline;
  58759. begin
  58760. pTDefRegMap(@Self)^.&set := $00001000;
  58761. end;
  58762. procedure TPORTG_ODCG.clearODCG12; inline;
  58763. begin
  58764. pTDefRegMap(@Self)^.clr := $00001000;
  58765. end;
  58766. procedure TPORTG_ODCG.setODCG12(thebits : TBits_1); inline;
  58767. begin
  58768. if thebits = 0 then
  58769. pTDefRegMap(@Self)^.clr := $00001000
  58770. else
  58771. pTDefRegMap(@Self)^.&set := $00001000;
  58772. end;
  58773. function TPORTG_ODCG.getODCG12 : TBits_1; inline;
  58774. begin
  58775. getODCG12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  58776. end;
  58777. procedure TPORTG_ODCG.setODCG13; inline;
  58778. begin
  58779. pTDefRegMap(@Self)^.&set := $00002000;
  58780. end;
  58781. procedure TPORTG_ODCG.clearODCG13; inline;
  58782. begin
  58783. pTDefRegMap(@Self)^.clr := $00002000;
  58784. end;
  58785. procedure TPORTG_ODCG.setODCG13(thebits : TBits_1); inline;
  58786. begin
  58787. if thebits = 0 then
  58788. pTDefRegMap(@Self)^.clr := $00002000
  58789. else
  58790. pTDefRegMap(@Self)^.&set := $00002000;
  58791. end;
  58792. function TPORTG_ODCG.getODCG13 : TBits_1; inline;
  58793. begin
  58794. getODCG13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58795. end;
  58796. procedure TPORTG_ODCG.setODCG14; inline;
  58797. begin
  58798. pTDefRegMap(@Self)^.&set := $00004000;
  58799. end;
  58800. procedure TPORTG_ODCG.clearODCG14; inline;
  58801. begin
  58802. pTDefRegMap(@Self)^.clr := $00004000;
  58803. end;
  58804. procedure TPORTG_ODCG.setODCG14(thebits : TBits_1); inline;
  58805. begin
  58806. if thebits = 0 then
  58807. pTDefRegMap(@Self)^.clr := $00004000
  58808. else
  58809. pTDefRegMap(@Self)^.&set := $00004000;
  58810. end;
  58811. function TPORTG_ODCG.getODCG14 : TBits_1; inline;
  58812. begin
  58813. getODCG14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  58814. end;
  58815. procedure TPORTG_ODCG.setODCG15; inline;
  58816. begin
  58817. pTDefRegMap(@Self)^.&set := $00008000;
  58818. end;
  58819. procedure TPORTG_ODCG.clearODCG15; inline;
  58820. begin
  58821. pTDefRegMap(@Self)^.clr := $00008000;
  58822. end;
  58823. procedure TPORTG_ODCG.setODCG15(thebits : TBits_1); inline;
  58824. begin
  58825. if thebits = 0 then
  58826. pTDefRegMap(@Self)^.clr := $00008000
  58827. else
  58828. pTDefRegMap(@Self)^.&set := $00008000;
  58829. end;
  58830. function TPORTG_ODCG.getODCG15 : TBits_1; inline;
  58831. begin
  58832. getODCG15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58833. end;
  58834. procedure TPORTG_ODCG.setw(thebits : TBits_32); inline;
  58835. begin
  58836. pTDefRegMap(@Self)^.val := thebits;
  58837. end;
  58838. function TPORTG_ODCG.getw : TBits_32; inline;
  58839. begin
  58840. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58841. end;
  58842. procedure TPORTG_CNCON.setSIDL; inline;
  58843. begin
  58844. pTDefRegMap(@Self)^.&set := $00002000;
  58845. end;
  58846. procedure TPORTG_CNCON.clearSIDL; inline;
  58847. begin
  58848. pTDefRegMap(@Self)^.clr := $00002000;
  58849. end;
  58850. procedure TPORTG_CNCON.setSIDL(thebits : TBits_1); inline;
  58851. begin
  58852. if thebits = 0 then
  58853. pTDefRegMap(@Self)^.clr := $00002000
  58854. else
  58855. pTDefRegMap(@Self)^.&set := $00002000;
  58856. end;
  58857. function TPORTG_CNCON.getSIDL : TBits_1; inline;
  58858. begin
  58859. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  58860. end;
  58861. procedure TPORTG_CNCON.setON; inline;
  58862. begin
  58863. pTDefRegMap(@Self)^.&set := $00008000;
  58864. end;
  58865. procedure TPORTG_CNCON.clearON; inline;
  58866. begin
  58867. pTDefRegMap(@Self)^.clr := $00008000;
  58868. end;
  58869. procedure TPORTG_CNCON.setON(thebits : TBits_1); inline;
  58870. begin
  58871. if thebits = 0 then
  58872. pTDefRegMap(@Self)^.clr := $00008000
  58873. else
  58874. pTDefRegMap(@Self)^.&set := $00008000;
  58875. end;
  58876. function TPORTG_CNCON.getON : TBits_1; inline;
  58877. begin
  58878. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  58879. end;
  58880. procedure TPORTG_CNCON.setw(thebits : TBits_32); inline;
  58881. begin
  58882. pTDefRegMap(@Self)^.val := thebits;
  58883. end;
  58884. function TPORTG_CNCON.getw : TBits_32; inline;
  58885. begin
  58886. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  58887. end;
  58888. procedure TPORTG_CNEN.setCNEN0; inline;
  58889. begin
  58890. pTDefRegMap(@Self)^.&set := $00000001;
  58891. end;
  58892. procedure TPORTG_CNEN.clearCNEN0; inline;
  58893. begin
  58894. pTDefRegMap(@Self)^.clr := $00000001;
  58895. end;
  58896. procedure TPORTG_CNEN.setCNEN0(thebits : TBits_1); inline;
  58897. begin
  58898. if thebits = 0 then
  58899. pTDefRegMap(@Self)^.clr := $00000001
  58900. else
  58901. pTDefRegMap(@Self)^.&set := $00000001;
  58902. end;
  58903. function TPORTG_CNEN.getCNEN0 : TBits_1; inline;
  58904. begin
  58905. getCNEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  58906. end;
  58907. procedure TPORTG_CNEN.setCNEN1; inline;
  58908. begin
  58909. pTDefRegMap(@Self)^.&set := $00000002;
  58910. end;
  58911. procedure TPORTG_CNEN.clearCNEN1; inline;
  58912. begin
  58913. pTDefRegMap(@Self)^.clr := $00000002;
  58914. end;
  58915. procedure TPORTG_CNEN.setCNEN1(thebits : TBits_1); inline;
  58916. begin
  58917. if thebits = 0 then
  58918. pTDefRegMap(@Self)^.clr := $00000002
  58919. else
  58920. pTDefRegMap(@Self)^.&set := $00000002;
  58921. end;
  58922. function TPORTG_CNEN.getCNEN1 : TBits_1; inline;
  58923. begin
  58924. getCNEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  58925. end;
  58926. procedure TPORTG_CNEN.setCNEN2; inline;
  58927. begin
  58928. pTDefRegMap(@Self)^.&set := $00000004;
  58929. end;
  58930. procedure TPORTG_CNEN.clearCNEN2; inline;
  58931. begin
  58932. pTDefRegMap(@Self)^.clr := $00000004;
  58933. end;
  58934. procedure TPORTG_CNEN.setCNEN2(thebits : TBits_1); inline;
  58935. begin
  58936. if thebits = 0 then
  58937. pTDefRegMap(@Self)^.clr := $00000004
  58938. else
  58939. pTDefRegMap(@Self)^.&set := $00000004;
  58940. end;
  58941. function TPORTG_CNEN.getCNEN2 : TBits_1; inline;
  58942. begin
  58943. getCNEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  58944. end;
  58945. procedure TPORTG_CNEN.setCNEN3; inline;
  58946. begin
  58947. pTDefRegMap(@Self)^.&set := $00000008;
  58948. end;
  58949. procedure TPORTG_CNEN.clearCNEN3; inline;
  58950. begin
  58951. pTDefRegMap(@Self)^.clr := $00000008;
  58952. end;
  58953. procedure TPORTG_CNEN.setCNEN3(thebits : TBits_1); inline;
  58954. begin
  58955. if thebits = 0 then
  58956. pTDefRegMap(@Self)^.clr := $00000008
  58957. else
  58958. pTDefRegMap(@Self)^.&set := $00000008;
  58959. end;
  58960. function TPORTG_CNEN.getCNEN3 : TBits_1; inline;
  58961. begin
  58962. getCNEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  58963. end;
  58964. procedure TPORTG_CNEN.setCNEN4; inline;
  58965. begin
  58966. pTDefRegMap(@Self)^.&set := $00000010;
  58967. end;
  58968. procedure TPORTG_CNEN.clearCNEN4; inline;
  58969. begin
  58970. pTDefRegMap(@Self)^.clr := $00000010;
  58971. end;
  58972. procedure TPORTG_CNEN.setCNEN4(thebits : TBits_1); inline;
  58973. begin
  58974. if thebits = 0 then
  58975. pTDefRegMap(@Self)^.clr := $00000010
  58976. else
  58977. pTDefRegMap(@Self)^.&set := $00000010;
  58978. end;
  58979. function TPORTG_CNEN.getCNEN4 : TBits_1; inline;
  58980. begin
  58981. getCNEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  58982. end;
  58983. procedure TPORTG_CNEN.setCNEN5; inline;
  58984. begin
  58985. pTDefRegMap(@Self)^.&set := $00000020;
  58986. end;
  58987. procedure TPORTG_CNEN.clearCNEN5; inline;
  58988. begin
  58989. pTDefRegMap(@Self)^.clr := $00000020;
  58990. end;
  58991. procedure TPORTG_CNEN.setCNEN5(thebits : TBits_1); inline;
  58992. begin
  58993. if thebits = 0 then
  58994. pTDefRegMap(@Self)^.clr := $00000020
  58995. else
  58996. pTDefRegMap(@Self)^.&set := $00000020;
  58997. end;
  58998. function TPORTG_CNEN.getCNEN5 : TBits_1; inline;
  58999. begin
  59000. getCNEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59001. end;
  59002. procedure TPORTG_CNEN.setCNEN6; inline;
  59003. begin
  59004. pTDefRegMap(@Self)^.&set := $00000040;
  59005. end;
  59006. procedure TPORTG_CNEN.clearCNEN6; inline;
  59007. begin
  59008. pTDefRegMap(@Self)^.clr := $00000040;
  59009. end;
  59010. procedure TPORTG_CNEN.setCNEN6(thebits : TBits_1); inline;
  59011. begin
  59012. if thebits = 0 then
  59013. pTDefRegMap(@Self)^.clr := $00000040
  59014. else
  59015. pTDefRegMap(@Self)^.&set := $00000040;
  59016. end;
  59017. function TPORTG_CNEN.getCNEN6 : TBits_1; inline;
  59018. begin
  59019. getCNEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59020. end;
  59021. procedure TPORTG_CNEN.setCNEN7; inline;
  59022. begin
  59023. pTDefRegMap(@Self)^.&set := $00000080;
  59024. end;
  59025. procedure TPORTG_CNEN.clearCNEN7; inline;
  59026. begin
  59027. pTDefRegMap(@Self)^.clr := $00000080;
  59028. end;
  59029. procedure TPORTG_CNEN.setCNEN7(thebits : TBits_1); inline;
  59030. begin
  59031. if thebits = 0 then
  59032. pTDefRegMap(@Self)^.clr := $00000080
  59033. else
  59034. pTDefRegMap(@Self)^.&set := $00000080;
  59035. end;
  59036. function TPORTG_CNEN.getCNEN7 : TBits_1; inline;
  59037. begin
  59038. getCNEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59039. end;
  59040. procedure TPORTG_CNEN.setCNEN8; inline;
  59041. begin
  59042. pTDefRegMap(@Self)^.&set := $00000100;
  59043. end;
  59044. procedure TPORTG_CNEN.clearCNEN8; inline;
  59045. begin
  59046. pTDefRegMap(@Self)^.clr := $00000100;
  59047. end;
  59048. procedure TPORTG_CNEN.setCNEN8(thebits : TBits_1); inline;
  59049. begin
  59050. if thebits = 0 then
  59051. pTDefRegMap(@Self)^.clr := $00000100
  59052. else
  59053. pTDefRegMap(@Self)^.&set := $00000100;
  59054. end;
  59055. function TPORTG_CNEN.getCNEN8 : TBits_1; inline;
  59056. begin
  59057. getCNEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59058. end;
  59059. procedure TPORTG_CNEN.setCNEN9; inline;
  59060. begin
  59061. pTDefRegMap(@Self)^.&set := $00000200;
  59062. end;
  59063. procedure TPORTG_CNEN.clearCNEN9; inline;
  59064. begin
  59065. pTDefRegMap(@Self)^.clr := $00000200;
  59066. end;
  59067. procedure TPORTG_CNEN.setCNEN9(thebits : TBits_1); inline;
  59068. begin
  59069. if thebits = 0 then
  59070. pTDefRegMap(@Self)^.clr := $00000200
  59071. else
  59072. pTDefRegMap(@Self)^.&set := $00000200;
  59073. end;
  59074. function TPORTG_CNEN.getCNEN9 : TBits_1; inline;
  59075. begin
  59076. getCNEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59077. end;
  59078. procedure TPORTG_CNEN.setCNEN10; inline;
  59079. begin
  59080. pTDefRegMap(@Self)^.&set := $00000400;
  59081. end;
  59082. procedure TPORTG_CNEN.clearCNEN10; inline;
  59083. begin
  59084. pTDefRegMap(@Self)^.clr := $00000400;
  59085. end;
  59086. procedure TPORTG_CNEN.setCNEN10(thebits : TBits_1); inline;
  59087. begin
  59088. if thebits = 0 then
  59089. pTDefRegMap(@Self)^.clr := $00000400
  59090. else
  59091. pTDefRegMap(@Self)^.&set := $00000400;
  59092. end;
  59093. function TPORTG_CNEN.getCNEN10 : TBits_1; inline;
  59094. begin
  59095. getCNEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59096. end;
  59097. procedure TPORTG_CNEN.setCNEN11; inline;
  59098. begin
  59099. pTDefRegMap(@Self)^.&set := $00000800;
  59100. end;
  59101. procedure TPORTG_CNEN.clearCNEN11; inline;
  59102. begin
  59103. pTDefRegMap(@Self)^.clr := $00000800;
  59104. end;
  59105. procedure TPORTG_CNEN.setCNEN11(thebits : TBits_1); inline;
  59106. begin
  59107. if thebits = 0 then
  59108. pTDefRegMap(@Self)^.clr := $00000800
  59109. else
  59110. pTDefRegMap(@Self)^.&set := $00000800;
  59111. end;
  59112. function TPORTG_CNEN.getCNEN11 : TBits_1; inline;
  59113. begin
  59114. getCNEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59115. end;
  59116. procedure TPORTG_CNEN.setCNEN12; inline;
  59117. begin
  59118. pTDefRegMap(@Self)^.&set := $00001000;
  59119. end;
  59120. procedure TPORTG_CNEN.clearCNEN12; inline;
  59121. begin
  59122. pTDefRegMap(@Self)^.clr := $00001000;
  59123. end;
  59124. procedure TPORTG_CNEN.setCNEN12(thebits : TBits_1); inline;
  59125. begin
  59126. if thebits = 0 then
  59127. pTDefRegMap(@Self)^.clr := $00001000
  59128. else
  59129. pTDefRegMap(@Self)^.&set := $00001000;
  59130. end;
  59131. function TPORTG_CNEN.getCNEN12 : TBits_1; inline;
  59132. begin
  59133. getCNEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59134. end;
  59135. procedure TPORTG_CNEN.setCNEN13; inline;
  59136. begin
  59137. pTDefRegMap(@Self)^.&set := $00002000;
  59138. end;
  59139. procedure TPORTG_CNEN.clearCNEN13; inline;
  59140. begin
  59141. pTDefRegMap(@Self)^.clr := $00002000;
  59142. end;
  59143. procedure TPORTG_CNEN.setCNEN13(thebits : TBits_1); inline;
  59144. begin
  59145. if thebits = 0 then
  59146. pTDefRegMap(@Self)^.clr := $00002000
  59147. else
  59148. pTDefRegMap(@Self)^.&set := $00002000;
  59149. end;
  59150. function TPORTG_CNEN.getCNEN13 : TBits_1; inline;
  59151. begin
  59152. getCNEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59153. end;
  59154. procedure TPORTG_CNEN.setCNEN14; inline;
  59155. begin
  59156. pTDefRegMap(@Self)^.&set := $00004000;
  59157. end;
  59158. procedure TPORTG_CNEN.clearCNEN14; inline;
  59159. begin
  59160. pTDefRegMap(@Self)^.clr := $00004000;
  59161. end;
  59162. procedure TPORTG_CNEN.setCNEN14(thebits : TBits_1); inline;
  59163. begin
  59164. if thebits = 0 then
  59165. pTDefRegMap(@Self)^.clr := $00004000
  59166. else
  59167. pTDefRegMap(@Self)^.&set := $00004000;
  59168. end;
  59169. function TPORTG_CNEN.getCNEN14 : TBits_1; inline;
  59170. begin
  59171. getCNEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59172. end;
  59173. procedure TPORTG_CNEN.setCNEN15; inline;
  59174. begin
  59175. pTDefRegMap(@Self)^.&set := $00008000;
  59176. end;
  59177. procedure TPORTG_CNEN.clearCNEN15; inline;
  59178. begin
  59179. pTDefRegMap(@Self)^.clr := $00008000;
  59180. end;
  59181. procedure TPORTG_CNEN.setCNEN15(thebits : TBits_1); inline;
  59182. begin
  59183. if thebits = 0 then
  59184. pTDefRegMap(@Self)^.clr := $00008000
  59185. else
  59186. pTDefRegMap(@Self)^.&set := $00008000;
  59187. end;
  59188. function TPORTG_CNEN.getCNEN15 : TBits_1; inline;
  59189. begin
  59190. getCNEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59191. end;
  59192. procedure TPORTG_CNEN.setCNEN16; inline;
  59193. begin
  59194. pTDefRegMap(@Self)^.&set := $00010000;
  59195. end;
  59196. procedure TPORTG_CNEN.clearCNEN16; inline;
  59197. begin
  59198. pTDefRegMap(@Self)^.clr := $00010000;
  59199. end;
  59200. procedure TPORTG_CNEN.setCNEN16(thebits : TBits_1); inline;
  59201. begin
  59202. if thebits = 0 then
  59203. pTDefRegMap(@Self)^.clr := $00010000
  59204. else
  59205. pTDefRegMap(@Self)^.&set := $00010000;
  59206. end;
  59207. function TPORTG_CNEN.getCNEN16 : TBits_1; inline;
  59208. begin
  59209. getCNEN16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  59210. end;
  59211. procedure TPORTG_CNEN.setCNEN17; inline;
  59212. begin
  59213. pTDefRegMap(@Self)^.&set := $00020000;
  59214. end;
  59215. procedure TPORTG_CNEN.clearCNEN17; inline;
  59216. begin
  59217. pTDefRegMap(@Self)^.clr := $00020000;
  59218. end;
  59219. procedure TPORTG_CNEN.setCNEN17(thebits : TBits_1); inline;
  59220. begin
  59221. if thebits = 0 then
  59222. pTDefRegMap(@Self)^.clr := $00020000
  59223. else
  59224. pTDefRegMap(@Self)^.&set := $00020000;
  59225. end;
  59226. function TPORTG_CNEN.getCNEN17 : TBits_1; inline;
  59227. begin
  59228. getCNEN17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  59229. end;
  59230. procedure TPORTG_CNEN.setCNEN18; inline;
  59231. begin
  59232. pTDefRegMap(@Self)^.&set := $00040000;
  59233. end;
  59234. procedure TPORTG_CNEN.clearCNEN18; inline;
  59235. begin
  59236. pTDefRegMap(@Self)^.clr := $00040000;
  59237. end;
  59238. procedure TPORTG_CNEN.setCNEN18(thebits : TBits_1); inline;
  59239. begin
  59240. if thebits = 0 then
  59241. pTDefRegMap(@Self)^.clr := $00040000
  59242. else
  59243. pTDefRegMap(@Self)^.&set := $00040000;
  59244. end;
  59245. function TPORTG_CNEN.getCNEN18 : TBits_1; inline;
  59246. begin
  59247. getCNEN18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  59248. end;
  59249. procedure TPORTG_CNEN.setCNEN19; inline;
  59250. begin
  59251. pTDefRegMap(@Self)^.&set := $00080000;
  59252. end;
  59253. procedure TPORTG_CNEN.clearCNEN19; inline;
  59254. begin
  59255. pTDefRegMap(@Self)^.clr := $00080000;
  59256. end;
  59257. procedure TPORTG_CNEN.setCNEN19(thebits : TBits_1); inline;
  59258. begin
  59259. if thebits = 0 then
  59260. pTDefRegMap(@Self)^.clr := $00080000
  59261. else
  59262. pTDefRegMap(@Self)^.&set := $00080000;
  59263. end;
  59264. function TPORTG_CNEN.getCNEN19 : TBits_1; inline;
  59265. begin
  59266. getCNEN19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  59267. end;
  59268. procedure TPORTG_CNEN.setCNEN20; inline;
  59269. begin
  59270. pTDefRegMap(@Self)^.&set := $00100000;
  59271. end;
  59272. procedure TPORTG_CNEN.clearCNEN20; inline;
  59273. begin
  59274. pTDefRegMap(@Self)^.clr := $00100000;
  59275. end;
  59276. procedure TPORTG_CNEN.setCNEN20(thebits : TBits_1); inline;
  59277. begin
  59278. if thebits = 0 then
  59279. pTDefRegMap(@Self)^.clr := $00100000
  59280. else
  59281. pTDefRegMap(@Self)^.&set := $00100000;
  59282. end;
  59283. function TPORTG_CNEN.getCNEN20 : TBits_1; inline;
  59284. begin
  59285. getCNEN20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  59286. end;
  59287. procedure TPORTG_CNEN.setCNEN21; inline;
  59288. begin
  59289. pTDefRegMap(@Self)^.&set := $00200000;
  59290. end;
  59291. procedure TPORTG_CNEN.clearCNEN21; inline;
  59292. begin
  59293. pTDefRegMap(@Self)^.clr := $00200000;
  59294. end;
  59295. procedure TPORTG_CNEN.setCNEN21(thebits : TBits_1); inline;
  59296. begin
  59297. if thebits = 0 then
  59298. pTDefRegMap(@Self)^.clr := $00200000
  59299. else
  59300. pTDefRegMap(@Self)^.&set := $00200000;
  59301. end;
  59302. function TPORTG_CNEN.getCNEN21 : TBits_1; inline;
  59303. begin
  59304. getCNEN21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  59305. end;
  59306. procedure TPORTG_CNEN.setw(thebits : TBits_32); inline;
  59307. begin
  59308. pTDefRegMap(@Self)^.val := thebits;
  59309. end;
  59310. function TPORTG_CNEN.getw : TBits_32; inline;
  59311. begin
  59312. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59313. end;
  59314. procedure TPORTG_CNPUE.setCNPUE0; inline;
  59315. begin
  59316. pTDefRegMap(@Self)^.&set := $00000001;
  59317. end;
  59318. procedure TPORTG_CNPUE.clearCNPUE0; inline;
  59319. begin
  59320. pTDefRegMap(@Self)^.clr := $00000001;
  59321. end;
  59322. procedure TPORTG_CNPUE.setCNPUE0(thebits : TBits_1); inline;
  59323. begin
  59324. if thebits = 0 then
  59325. pTDefRegMap(@Self)^.clr := $00000001
  59326. else
  59327. pTDefRegMap(@Self)^.&set := $00000001;
  59328. end;
  59329. function TPORTG_CNPUE.getCNPUE0 : TBits_1; inline;
  59330. begin
  59331. getCNPUE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59332. end;
  59333. procedure TPORTG_CNPUE.setCNPUE1; inline;
  59334. begin
  59335. pTDefRegMap(@Self)^.&set := $00000002;
  59336. end;
  59337. procedure TPORTG_CNPUE.clearCNPUE1; inline;
  59338. begin
  59339. pTDefRegMap(@Self)^.clr := $00000002;
  59340. end;
  59341. procedure TPORTG_CNPUE.setCNPUE1(thebits : TBits_1); inline;
  59342. begin
  59343. if thebits = 0 then
  59344. pTDefRegMap(@Self)^.clr := $00000002
  59345. else
  59346. pTDefRegMap(@Self)^.&set := $00000002;
  59347. end;
  59348. function TPORTG_CNPUE.getCNPUE1 : TBits_1; inline;
  59349. begin
  59350. getCNPUE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  59351. end;
  59352. procedure TPORTG_CNPUE.setCNPUE2; inline;
  59353. begin
  59354. pTDefRegMap(@Self)^.&set := $00000004;
  59355. end;
  59356. procedure TPORTG_CNPUE.clearCNPUE2; inline;
  59357. begin
  59358. pTDefRegMap(@Self)^.clr := $00000004;
  59359. end;
  59360. procedure TPORTG_CNPUE.setCNPUE2(thebits : TBits_1); inline;
  59361. begin
  59362. if thebits = 0 then
  59363. pTDefRegMap(@Self)^.clr := $00000004
  59364. else
  59365. pTDefRegMap(@Self)^.&set := $00000004;
  59366. end;
  59367. function TPORTG_CNPUE.getCNPUE2 : TBits_1; inline;
  59368. begin
  59369. getCNPUE2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  59370. end;
  59371. procedure TPORTG_CNPUE.setCNPUE3; inline;
  59372. begin
  59373. pTDefRegMap(@Self)^.&set := $00000008;
  59374. end;
  59375. procedure TPORTG_CNPUE.clearCNPUE3; inline;
  59376. begin
  59377. pTDefRegMap(@Self)^.clr := $00000008;
  59378. end;
  59379. procedure TPORTG_CNPUE.setCNPUE3(thebits : TBits_1); inline;
  59380. begin
  59381. if thebits = 0 then
  59382. pTDefRegMap(@Self)^.clr := $00000008
  59383. else
  59384. pTDefRegMap(@Self)^.&set := $00000008;
  59385. end;
  59386. function TPORTG_CNPUE.getCNPUE3 : TBits_1; inline;
  59387. begin
  59388. getCNPUE3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  59389. end;
  59390. procedure TPORTG_CNPUE.setCNPUE4; inline;
  59391. begin
  59392. pTDefRegMap(@Self)^.&set := $00000010;
  59393. end;
  59394. procedure TPORTG_CNPUE.clearCNPUE4; inline;
  59395. begin
  59396. pTDefRegMap(@Self)^.clr := $00000010;
  59397. end;
  59398. procedure TPORTG_CNPUE.setCNPUE4(thebits : TBits_1); inline;
  59399. begin
  59400. if thebits = 0 then
  59401. pTDefRegMap(@Self)^.clr := $00000010
  59402. else
  59403. pTDefRegMap(@Self)^.&set := $00000010;
  59404. end;
  59405. function TPORTG_CNPUE.getCNPUE4 : TBits_1; inline;
  59406. begin
  59407. getCNPUE4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59408. end;
  59409. procedure TPORTG_CNPUE.setCNPUE5; inline;
  59410. begin
  59411. pTDefRegMap(@Self)^.&set := $00000020;
  59412. end;
  59413. procedure TPORTG_CNPUE.clearCNPUE5; inline;
  59414. begin
  59415. pTDefRegMap(@Self)^.clr := $00000020;
  59416. end;
  59417. procedure TPORTG_CNPUE.setCNPUE5(thebits : TBits_1); inline;
  59418. begin
  59419. if thebits = 0 then
  59420. pTDefRegMap(@Self)^.clr := $00000020
  59421. else
  59422. pTDefRegMap(@Self)^.&set := $00000020;
  59423. end;
  59424. function TPORTG_CNPUE.getCNPUE5 : TBits_1; inline;
  59425. begin
  59426. getCNPUE5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  59427. end;
  59428. procedure TPORTG_CNPUE.setCNPUE6; inline;
  59429. begin
  59430. pTDefRegMap(@Self)^.&set := $00000040;
  59431. end;
  59432. procedure TPORTG_CNPUE.clearCNPUE6; inline;
  59433. begin
  59434. pTDefRegMap(@Self)^.clr := $00000040;
  59435. end;
  59436. procedure TPORTG_CNPUE.setCNPUE6(thebits : TBits_1); inline;
  59437. begin
  59438. if thebits = 0 then
  59439. pTDefRegMap(@Self)^.clr := $00000040
  59440. else
  59441. pTDefRegMap(@Self)^.&set := $00000040;
  59442. end;
  59443. function TPORTG_CNPUE.getCNPUE6 : TBits_1; inline;
  59444. begin
  59445. getCNPUE6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  59446. end;
  59447. procedure TPORTG_CNPUE.setCNPUE7; inline;
  59448. begin
  59449. pTDefRegMap(@Self)^.&set := $00000080;
  59450. end;
  59451. procedure TPORTG_CNPUE.clearCNPUE7; inline;
  59452. begin
  59453. pTDefRegMap(@Self)^.clr := $00000080;
  59454. end;
  59455. procedure TPORTG_CNPUE.setCNPUE7(thebits : TBits_1); inline;
  59456. begin
  59457. if thebits = 0 then
  59458. pTDefRegMap(@Self)^.clr := $00000080
  59459. else
  59460. pTDefRegMap(@Self)^.&set := $00000080;
  59461. end;
  59462. function TPORTG_CNPUE.getCNPUE7 : TBits_1; inline;
  59463. begin
  59464. getCNPUE7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59465. end;
  59466. procedure TPORTG_CNPUE.setCNPUE8; inline;
  59467. begin
  59468. pTDefRegMap(@Self)^.&set := $00000100;
  59469. end;
  59470. procedure TPORTG_CNPUE.clearCNPUE8; inline;
  59471. begin
  59472. pTDefRegMap(@Self)^.clr := $00000100;
  59473. end;
  59474. procedure TPORTG_CNPUE.setCNPUE8(thebits : TBits_1); inline;
  59475. begin
  59476. if thebits = 0 then
  59477. pTDefRegMap(@Self)^.clr := $00000100
  59478. else
  59479. pTDefRegMap(@Self)^.&set := $00000100;
  59480. end;
  59481. function TPORTG_CNPUE.getCNPUE8 : TBits_1; inline;
  59482. begin
  59483. getCNPUE8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59484. end;
  59485. procedure TPORTG_CNPUE.setCNPUE9; inline;
  59486. begin
  59487. pTDefRegMap(@Self)^.&set := $00000200;
  59488. end;
  59489. procedure TPORTG_CNPUE.clearCNPUE9; inline;
  59490. begin
  59491. pTDefRegMap(@Self)^.clr := $00000200;
  59492. end;
  59493. procedure TPORTG_CNPUE.setCNPUE9(thebits : TBits_1); inline;
  59494. begin
  59495. if thebits = 0 then
  59496. pTDefRegMap(@Self)^.clr := $00000200
  59497. else
  59498. pTDefRegMap(@Self)^.&set := $00000200;
  59499. end;
  59500. function TPORTG_CNPUE.getCNPUE9 : TBits_1; inline;
  59501. begin
  59502. getCNPUE9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59503. end;
  59504. procedure TPORTG_CNPUE.setCNPUE10; inline;
  59505. begin
  59506. pTDefRegMap(@Self)^.&set := $00000400;
  59507. end;
  59508. procedure TPORTG_CNPUE.clearCNPUE10; inline;
  59509. begin
  59510. pTDefRegMap(@Self)^.clr := $00000400;
  59511. end;
  59512. procedure TPORTG_CNPUE.setCNPUE10(thebits : TBits_1); inline;
  59513. begin
  59514. if thebits = 0 then
  59515. pTDefRegMap(@Self)^.clr := $00000400
  59516. else
  59517. pTDefRegMap(@Self)^.&set := $00000400;
  59518. end;
  59519. function TPORTG_CNPUE.getCNPUE10 : TBits_1; inline;
  59520. begin
  59521. getCNPUE10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  59522. end;
  59523. procedure TPORTG_CNPUE.setCNPUE11; inline;
  59524. begin
  59525. pTDefRegMap(@Self)^.&set := $00000800;
  59526. end;
  59527. procedure TPORTG_CNPUE.clearCNPUE11; inline;
  59528. begin
  59529. pTDefRegMap(@Self)^.clr := $00000800;
  59530. end;
  59531. procedure TPORTG_CNPUE.setCNPUE11(thebits : TBits_1); inline;
  59532. begin
  59533. if thebits = 0 then
  59534. pTDefRegMap(@Self)^.clr := $00000800
  59535. else
  59536. pTDefRegMap(@Self)^.&set := $00000800;
  59537. end;
  59538. function TPORTG_CNPUE.getCNPUE11 : TBits_1; inline;
  59539. begin
  59540. getCNPUE11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  59541. end;
  59542. procedure TPORTG_CNPUE.setCNPUE12; inline;
  59543. begin
  59544. pTDefRegMap(@Self)^.&set := $00001000;
  59545. end;
  59546. procedure TPORTG_CNPUE.clearCNPUE12; inline;
  59547. begin
  59548. pTDefRegMap(@Self)^.clr := $00001000;
  59549. end;
  59550. procedure TPORTG_CNPUE.setCNPUE12(thebits : TBits_1); inline;
  59551. begin
  59552. if thebits = 0 then
  59553. pTDefRegMap(@Self)^.clr := $00001000
  59554. else
  59555. pTDefRegMap(@Self)^.&set := $00001000;
  59556. end;
  59557. function TPORTG_CNPUE.getCNPUE12 : TBits_1; inline;
  59558. begin
  59559. getCNPUE12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  59560. end;
  59561. procedure TPORTG_CNPUE.setCNPUE13; inline;
  59562. begin
  59563. pTDefRegMap(@Self)^.&set := $00002000;
  59564. end;
  59565. procedure TPORTG_CNPUE.clearCNPUE13; inline;
  59566. begin
  59567. pTDefRegMap(@Self)^.clr := $00002000;
  59568. end;
  59569. procedure TPORTG_CNPUE.setCNPUE13(thebits : TBits_1); inline;
  59570. begin
  59571. if thebits = 0 then
  59572. pTDefRegMap(@Self)^.clr := $00002000
  59573. else
  59574. pTDefRegMap(@Self)^.&set := $00002000;
  59575. end;
  59576. function TPORTG_CNPUE.getCNPUE13 : TBits_1; inline;
  59577. begin
  59578. getCNPUE13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59579. end;
  59580. procedure TPORTG_CNPUE.setCNPUE14; inline;
  59581. begin
  59582. pTDefRegMap(@Self)^.&set := $00004000;
  59583. end;
  59584. procedure TPORTG_CNPUE.clearCNPUE14; inline;
  59585. begin
  59586. pTDefRegMap(@Self)^.clr := $00004000;
  59587. end;
  59588. procedure TPORTG_CNPUE.setCNPUE14(thebits : TBits_1); inline;
  59589. begin
  59590. if thebits = 0 then
  59591. pTDefRegMap(@Self)^.clr := $00004000
  59592. else
  59593. pTDefRegMap(@Self)^.&set := $00004000;
  59594. end;
  59595. function TPORTG_CNPUE.getCNPUE14 : TBits_1; inline;
  59596. begin
  59597. getCNPUE14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  59598. end;
  59599. procedure TPORTG_CNPUE.setCNPUE15; inline;
  59600. begin
  59601. pTDefRegMap(@Self)^.&set := $00008000;
  59602. end;
  59603. procedure TPORTG_CNPUE.clearCNPUE15; inline;
  59604. begin
  59605. pTDefRegMap(@Self)^.clr := $00008000;
  59606. end;
  59607. procedure TPORTG_CNPUE.setCNPUE15(thebits : TBits_1); inline;
  59608. begin
  59609. if thebits = 0 then
  59610. pTDefRegMap(@Self)^.clr := $00008000
  59611. else
  59612. pTDefRegMap(@Self)^.&set := $00008000;
  59613. end;
  59614. function TPORTG_CNPUE.getCNPUE15 : TBits_1; inline;
  59615. begin
  59616. getCNPUE15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59617. end;
  59618. procedure TPORTG_CNPUE.setCNPUE16; inline;
  59619. begin
  59620. pTDefRegMap(@Self)^.&set := $00010000;
  59621. end;
  59622. procedure TPORTG_CNPUE.clearCNPUE16; inline;
  59623. begin
  59624. pTDefRegMap(@Self)^.clr := $00010000;
  59625. end;
  59626. procedure TPORTG_CNPUE.setCNPUE16(thebits : TBits_1); inline;
  59627. begin
  59628. if thebits = 0 then
  59629. pTDefRegMap(@Self)^.clr := $00010000
  59630. else
  59631. pTDefRegMap(@Self)^.&set := $00010000;
  59632. end;
  59633. function TPORTG_CNPUE.getCNPUE16 : TBits_1; inline;
  59634. begin
  59635. getCNPUE16 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  59636. end;
  59637. procedure TPORTG_CNPUE.setCNPUE17; inline;
  59638. begin
  59639. pTDefRegMap(@Self)^.&set := $00020000;
  59640. end;
  59641. procedure TPORTG_CNPUE.clearCNPUE17; inline;
  59642. begin
  59643. pTDefRegMap(@Self)^.clr := $00020000;
  59644. end;
  59645. procedure TPORTG_CNPUE.setCNPUE17(thebits : TBits_1); inline;
  59646. begin
  59647. if thebits = 0 then
  59648. pTDefRegMap(@Self)^.clr := $00020000
  59649. else
  59650. pTDefRegMap(@Self)^.&set := $00020000;
  59651. end;
  59652. function TPORTG_CNPUE.getCNPUE17 : TBits_1; inline;
  59653. begin
  59654. getCNPUE17 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  59655. end;
  59656. procedure TPORTG_CNPUE.setCNPUE18; inline;
  59657. begin
  59658. pTDefRegMap(@Self)^.&set := $00040000;
  59659. end;
  59660. procedure TPORTG_CNPUE.clearCNPUE18; inline;
  59661. begin
  59662. pTDefRegMap(@Self)^.clr := $00040000;
  59663. end;
  59664. procedure TPORTG_CNPUE.setCNPUE18(thebits : TBits_1); inline;
  59665. begin
  59666. if thebits = 0 then
  59667. pTDefRegMap(@Self)^.clr := $00040000
  59668. else
  59669. pTDefRegMap(@Self)^.&set := $00040000;
  59670. end;
  59671. function TPORTG_CNPUE.getCNPUE18 : TBits_1; inline;
  59672. begin
  59673. getCNPUE18 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  59674. end;
  59675. procedure TPORTG_CNPUE.setCNPUE19; inline;
  59676. begin
  59677. pTDefRegMap(@Self)^.&set := $00080000;
  59678. end;
  59679. procedure TPORTG_CNPUE.clearCNPUE19; inline;
  59680. begin
  59681. pTDefRegMap(@Self)^.clr := $00080000;
  59682. end;
  59683. procedure TPORTG_CNPUE.setCNPUE19(thebits : TBits_1); inline;
  59684. begin
  59685. if thebits = 0 then
  59686. pTDefRegMap(@Self)^.clr := $00080000
  59687. else
  59688. pTDefRegMap(@Self)^.&set := $00080000;
  59689. end;
  59690. function TPORTG_CNPUE.getCNPUE19 : TBits_1; inline;
  59691. begin
  59692. getCNPUE19 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  59693. end;
  59694. procedure TPORTG_CNPUE.setCNPUE20; inline;
  59695. begin
  59696. pTDefRegMap(@Self)^.&set := $00100000;
  59697. end;
  59698. procedure TPORTG_CNPUE.clearCNPUE20; inline;
  59699. begin
  59700. pTDefRegMap(@Self)^.clr := $00100000;
  59701. end;
  59702. procedure TPORTG_CNPUE.setCNPUE20(thebits : TBits_1); inline;
  59703. begin
  59704. if thebits = 0 then
  59705. pTDefRegMap(@Self)^.clr := $00100000
  59706. else
  59707. pTDefRegMap(@Self)^.&set := $00100000;
  59708. end;
  59709. function TPORTG_CNPUE.getCNPUE20 : TBits_1; inline;
  59710. begin
  59711. getCNPUE20 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  59712. end;
  59713. procedure TPORTG_CNPUE.setCNPUE21; inline;
  59714. begin
  59715. pTDefRegMap(@Self)^.&set := $00200000;
  59716. end;
  59717. procedure TPORTG_CNPUE.clearCNPUE21; inline;
  59718. begin
  59719. pTDefRegMap(@Self)^.clr := $00200000;
  59720. end;
  59721. procedure TPORTG_CNPUE.setCNPUE21(thebits : TBits_1); inline;
  59722. begin
  59723. if thebits = 0 then
  59724. pTDefRegMap(@Self)^.clr := $00200000
  59725. else
  59726. pTDefRegMap(@Self)^.&set := $00200000;
  59727. end;
  59728. function TPORTG_CNPUE.getCNPUE21 : TBits_1; inline;
  59729. begin
  59730. getCNPUE21 := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  59731. end;
  59732. procedure TPORTG_CNPUE.setw(thebits : TBits_32); inline;
  59733. begin
  59734. pTDefRegMap(@Self)^.val := thebits;
  59735. end;
  59736. function TPORTG_CNPUE.getw : TBits_32; inline;
  59737. begin
  59738. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59739. end;
  59740. procedure TETH_ETHCON1.setBUFCDEC; inline;
  59741. begin
  59742. pTDefRegMap(@Self)^.&set := $00000001;
  59743. end;
  59744. procedure TETH_ETHCON1.clearBUFCDEC; inline;
  59745. begin
  59746. pTDefRegMap(@Self)^.clr := $00000001;
  59747. end;
  59748. procedure TETH_ETHCON1.setBUFCDEC(thebits : TBits_1); inline;
  59749. begin
  59750. if thebits = 0 then
  59751. pTDefRegMap(@Self)^.clr := $00000001
  59752. else
  59753. pTDefRegMap(@Self)^.&set := $00000001;
  59754. end;
  59755. function TETH_ETHCON1.getBUFCDEC : TBits_1; inline;
  59756. begin
  59757. getBUFCDEC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  59758. end;
  59759. procedure TETH_ETHCON1.setMANFC; inline;
  59760. begin
  59761. pTDefRegMap(@Self)^.&set := $00000010;
  59762. end;
  59763. procedure TETH_ETHCON1.clearMANFC; inline;
  59764. begin
  59765. pTDefRegMap(@Self)^.clr := $00000010;
  59766. end;
  59767. procedure TETH_ETHCON1.setMANFC(thebits : TBits_1); inline;
  59768. begin
  59769. if thebits = 0 then
  59770. pTDefRegMap(@Self)^.clr := $00000010
  59771. else
  59772. pTDefRegMap(@Self)^.&set := $00000010;
  59773. end;
  59774. function TETH_ETHCON1.getMANFC : TBits_1; inline;
  59775. begin
  59776. getMANFC := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  59777. end;
  59778. procedure TETH_ETHCON1.setAUTOFC; inline;
  59779. begin
  59780. pTDefRegMap(@Self)^.&set := $00000080;
  59781. end;
  59782. procedure TETH_ETHCON1.clearAUTOFC; inline;
  59783. begin
  59784. pTDefRegMap(@Self)^.clr := $00000080;
  59785. end;
  59786. procedure TETH_ETHCON1.setAUTOFC(thebits : TBits_1); inline;
  59787. begin
  59788. if thebits = 0 then
  59789. pTDefRegMap(@Self)^.clr := $00000080
  59790. else
  59791. pTDefRegMap(@Self)^.&set := $00000080;
  59792. end;
  59793. function TETH_ETHCON1.getAUTOFC : TBits_1; inline;
  59794. begin
  59795. getAUTOFC := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  59796. end;
  59797. procedure TETH_ETHCON1.setRXEN; inline;
  59798. begin
  59799. pTDefRegMap(@Self)^.&set := $00000100;
  59800. end;
  59801. procedure TETH_ETHCON1.clearRXEN; inline;
  59802. begin
  59803. pTDefRegMap(@Self)^.clr := $00000100;
  59804. end;
  59805. procedure TETH_ETHCON1.setRXEN(thebits : TBits_1); inline;
  59806. begin
  59807. if thebits = 0 then
  59808. pTDefRegMap(@Self)^.clr := $00000100
  59809. else
  59810. pTDefRegMap(@Self)^.&set := $00000100;
  59811. end;
  59812. function TETH_ETHCON1.getRXEN : TBits_1; inline;
  59813. begin
  59814. getRXEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  59815. end;
  59816. procedure TETH_ETHCON1.setTXRTS; inline;
  59817. begin
  59818. pTDefRegMap(@Self)^.&set := $00000200;
  59819. end;
  59820. procedure TETH_ETHCON1.clearTXRTS; inline;
  59821. begin
  59822. pTDefRegMap(@Self)^.clr := $00000200;
  59823. end;
  59824. procedure TETH_ETHCON1.setTXRTS(thebits : TBits_1); inline;
  59825. begin
  59826. if thebits = 0 then
  59827. pTDefRegMap(@Self)^.clr := $00000200
  59828. else
  59829. pTDefRegMap(@Self)^.&set := $00000200;
  59830. end;
  59831. function TETH_ETHCON1.getTXRTS : TBits_1; inline;
  59832. begin
  59833. getTXRTS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  59834. end;
  59835. procedure TETH_ETHCON1.setSIDL; inline;
  59836. begin
  59837. pTDefRegMap(@Self)^.&set := $00002000;
  59838. end;
  59839. procedure TETH_ETHCON1.clearSIDL; inline;
  59840. begin
  59841. pTDefRegMap(@Self)^.clr := $00002000;
  59842. end;
  59843. procedure TETH_ETHCON1.setSIDL(thebits : TBits_1); inline;
  59844. begin
  59845. if thebits = 0 then
  59846. pTDefRegMap(@Self)^.clr := $00002000
  59847. else
  59848. pTDefRegMap(@Self)^.&set := $00002000;
  59849. end;
  59850. function TETH_ETHCON1.getSIDL : TBits_1; inline;
  59851. begin
  59852. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  59853. end;
  59854. procedure TETH_ETHCON1.setON; inline;
  59855. begin
  59856. pTDefRegMap(@Self)^.&set := $00008000;
  59857. end;
  59858. procedure TETH_ETHCON1.clearON; inline;
  59859. begin
  59860. pTDefRegMap(@Self)^.clr := $00008000;
  59861. end;
  59862. procedure TETH_ETHCON1.setON(thebits : TBits_1); inline;
  59863. begin
  59864. if thebits = 0 then
  59865. pTDefRegMap(@Self)^.clr := $00008000
  59866. else
  59867. pTDefRegMap(@Self)^.&set := $00008000;
  59868. end;
  59869. function TETH_ETHCON1.getON : TBits_1; inline;
  59870. begin
  59871. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  59872. end;
  59873. procedure TETH_ETHCON1.setPTV(thebits : TBits_16); inline;
  59874. begin
  59875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0000FFFF or ( thebits shl 16 );
  59876. end;
  59877. function TETH_ETHCON1.getPTV : TBits_16; inline;
  59878. begin
  59879. getPTV := (pTDefRegMap(@Self)^.val and $FFFF0000) shr 16;
  59880. end;
  59881. procedure TETH_ETHCON1.setw(thebits : TBits_32); inline;
  59882. begin
  59883. pTDefRegMap(@Self)^.val := thebits;
  59884. end;
  59885. function TETH_ETHCON1.getw : TBits_32; inline;
  59886. begin
  59887. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59888. end;
  59889. procedure TETH_ETHCON2.setRXBUF_SZ(thebits : TBits_7); inline;
  59890. begin
  59891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF80F or ( thebits shl 4 );
  59892. end;
  59893. function TETH_ETHCON2.getRXBUF_SZ : TBits_7; inline;
  59894. begin
  59895. getRXBUF_SZ := (pTDefRegMap(@Self)^.val and $000007F0) shr 4;
  59896. end;
  59897. procedure TETH_ETHCON2.setw(thebits : TBits_32); inline;
  59898. begin
  59899. pTDefRegMap(@Self)^.val := thebits;
  59900. end;
  59901. function TETH_ETHCON2.getw : TBits_32; inline;
  59902. begin
  59903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59904. end;
  59905. procedure TETH_ETHTXST.setTXSTADDR(thebits : TBits_30); inline;
  59906. begin
  59907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  59908. end;
  59909. function TETH_ETHTXST.getTXSTADDR : TBits_30; inline;
  59910. begin
  59911. getTXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  59912. end;
  59913. procedure TETH_ETHTXST.setw(thebits : TBits_32); inline;
  59914. begin
  59915. pTDefRegMap(@Self)^.val := thebits;
  59916. end;
  59917. function TETH_ETHTXST.getw : TBits_32; inline;
  59918. begin
  59919. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59920. end;
  59921. procedure TETH_ETHRXST.setRXSTADDR(thebits : TBits_30); inline;
  59922. begin
  59923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $00000003 or ( thebits shl 2 );
  59924. end;
  59925. function TETH_ETHRXST.getRXSTADDR : TBits_30; inline;
  59926. begin
  59927. getRXSTADDR := (pTDefRegMap(@Self)^.val and $FFFFFFFC) shr 2;
  59928. end;
  59929. procedure TETH_ETHRXST.setw(thebits : TBits_32); inline;
  59930. begin
  59931. pTDefRegMap(@Self)^.val := thebits;
  59932. end;
  59933. function TETH_ETHRXST.getw : TBits_32; inline;
  59934. begin
  59935. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59936. end;
  59937. procedure TETH_ETHHT0.setw(thebits : TBits_32); inline;
  59938. begin
  59939. pTDefRegMap(@Self)^.val := thebits;
  59940. end;
  59941. function TETH_ETHHT0.getw : TBits_32; inline;
  59942. begin
  59943. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59944. end;
  59945. procedure TETH_ETHHT0.setHTLOWER(thebits : TBits_32); inline;
  59946. begin
  59947. pTDefRegMap(@Self)^.val := thebits;
  59948. end;
  59949. function TETH_ETHHT0.getHTLOWER : TBits_32; inline;
  59950. begin
  59951. getHTLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59952. end;
  59953. procedure TETH_ETHHT1.setw(thebits : TBits_32); inline;
  59954. begin
  59955. pTDefRegMap(@Self)^.val := thebits;
  59956. end;
  59957. function TETH_ETHHT1.getw : TBits_32; inline;
  59958. begin
  59959. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59960. end;
  59961. procedure TETH_ETHHT1.setHTUPPER(thebits : TBits_32); inline;
  59962. begin
  59963. pTDefRegMap(@Self)^.val := thebits;
  59964. end;
  59965. function TETH_ETHHT1.getHTUPPER : TBits_32; inline;
  59966. begin
  59967. getHTUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59968. end;
  59969. procedure TETH_ETHPMM0.setw(thebits : TBits_32); inline;
  59970. begin
  59971. pTDefRegMap(@Self)^.val := thebits;
  59972. end;
  59973. function TETH_ETHPMM0.getw : TBits_32; inline;
  59974. begin
  59975. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59976. end;
  59977. procedure TETH_ETHPMM0.setPMMLOWER(thebits : TBits_32); inline;
  59978. begin
  59979. pTDefRegMap(@Self)^.val := thebits;
  59980. end;
  59981. function TETH_ETHPMM0.getPMMLOWER : TBits_32; inline;
  59982. begin
  59983. getPMMLOWER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59984. end;
  59985. procedure TETH_ETHPMM1.setw(thebits : TBits_32); inline;
  59986. begin
  59987. pTDefRegMap(@Self)^.val := thebits;
  59988. end;
  59989. function TETH_ETHPMM1.getw : TBits_32; inline;
  59990. begin
  59991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  59992. end;
  59993. procedure TETH_ETHPMM1.setPMMUPPER(thebits : TBits_32); inline;
  59994. begin
  59995. pTDefRegMap(@Self)^.val := thebits;
  59996. end;
  59997. function TETH_ETHPMM1.getPMMUPPER : TBits_32; inline;
  59998. begin
  59999. getPMMUPPER := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60000. end;
  60001. procedure TETH_ETHPMCS.setPMCS(thebits : TBits_16); inline;
  60002. begin
  60003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60004. end;
  60005. function TETH_ETHPMCS.getPMCS : TBits_16; inline;
  60006. begin
  60007. getPMCS := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60008. end;
  60009. procedure TETH_ETHPMCS.setw(thebits : TBits_32); inline;
  60010. begin
  60011. pTDefRegMap(@Self)^.val := thebits;
  60012. end;
  60013. function TETH_ETHPMCS.getw : TBits_32; inline;
  60014. begin
  60015. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60016. end;
  60017. procedure TETH_ETHPMO.setPMO(thebits : TBits_16); inline;
  60018. begin
  60019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60020. end;
  60021. function TETH_ETHPMO.getPMO : TBits_16; inline;
  60022. begin
  60023. getPMO := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60024. end;
  60025. procedure TETH_ETHPMO.setw(thebits : TBits_32); inline;
  60026. begin
  60027. pTDefRegMap(@Self)^.val := thebits;
  60028. end;
  60029. function TETH_ETHPMO.getw : TBits_32; inline;
  60030. begin
  60031. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60032. end;
  60033. procedure TETH_ETHRXFC.setBCEN; inline;
  60034. begin
  60035. pTDefRegMap(@Self)^.&set := $00000001;
  60036. end;
  60037. procedure TETH_ETHRXFC.clearBCEN; inline;
  60038. begin
  60039. pTDefRegMap(@Self)^.clr := $00000001;
  60040. end;
  60041. procedure TETH_ETHRXFC.setBCEN(thebits : TBits_1); inline;
  60042. begin
  60043. if thebits = 0 then
  60044. pTDefRegMap(@Self)^.clr := $00000001
  60045. else
  60046. pTDefRegMap(@Self)^.&set := $00000001;
  60047. end;
  60048. function TETH_ETHRXFC.getBCEN : TBits_1; inline;
  60049. begin
  60050. getBCEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60051. end;
  60052. procedure TETH_ETHRXFC.setMCEN; inline;
  60053. begin
  60054. pTDefRegMap(@Self)^.&set := $00000002;
  60055. end;
  60056. procedure TETH_ETHRXFC.clearMCEN; inline;
  60057. begin
  60058. pTDefRegMap(@Self)^.clr := $00000002;
  60059. end;
  60060. procedure TETH_ETHRXFC.setMCEN(thebits : TBits_1); inline;
  60061. begin
  60062. if thebits = 0 then
  60063. pTDefRegMap(@Self)^.clr := $00000002
  60064. else
  60065. pTDefRegMap(@Self)^.&set := $00000002;
  60066. end;
  60067. function TETH_ETHRXFC.getMCEN : TBits_1; inline;
  60068. begin
  60069. getMCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60070. end;
  60071. procedure TETH_ETHRXFC.setNOTMEEN; inline;
  60072. begin
  60073. pTDefRegMap(@Self)^.&set := $00000004;
  60074. end;
  60075. procedure TETH_ETHRXFC.clearNOTMEEN; inline;
  60076. begin
  60077. pTDefRegMap(@Self)^.clr := $00000004;
  60078. end;
  60079. procedure TETH_ETHRXFC.setNOTMEEN(thebits : TBits_1); inline;
  60080. begin
  60081. if thebits = 0 then
  60082. pTDefRegMap(@Self)^.clr := $00000004
  60083. else
  60084. pTDefRegMap(@Self)^.&set := $00000004;
  60085. end;
  60086. function TETH_ETHRXFC.getNOTMEEN : TBits_1; inline;
  60087. begin
  60088. getNOTMEEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60089. end;
  60090. procedure TETH_ETHRXFC.setUCEN; inline;
  60091. begin
  60092. pTDefRegMap(@Self)^.&set := $00000008;
  60093. end;
  60094. procedure TETH_ETHRXFC.clearUCEN; inline;
  60095. begin
  60096. pTDefRegMap(@Self)^.clr := $00000008;
  60097. end;
  60098. procedure TETH_ETHRXFC.setUCEN(thebits : TBits_1); inline;
  60099. begin
  60100. if thebits = 0 then
  60101. pTDefRegMap(@Self)^.clr := $00000008
  60102. else
  60103. pTDefRegMap(@Self)^.&set := $00000008;
  60104. end;
  60105. function TETH_ETHRXFC.getUCEN : TBits_1; inline;
  60106. begin
  60107. getUCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60108. end;
  60109. procedure TETH_ETHRXFC.setRUNTEN; inline;
  60110. begin
  60111. pTDefRegMap(@Self)^.&set := $00000010;
  60112. end;
  60113. procedure TETH_ETHRXFC.clearRUNTEN; inline;
  60114. begin
  60115. pTDefRegMap(@Self)^.clr := $00000010;
  60116. end;
  60117. procedure TETH_ETHRXFC.setRUNTEN(thebits : TBits_1); inline;
  60118. begin
  60119. if thebits = 0 then
  60120. pTDefRegMap(@Self)^.clr := $00000010
  60121. else
  60122. pTDefRegMap(@Self)^.&set := $00000010;
  60123. end;
  60124. function TETH_ETHRXFC.getRUNTEN : TBits_1; inline;
  60125. begin
  60126. getRUNTEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  60127. end;
  60128. procedure TETH_ETHRXFC.setRUNTERREN; inline;
  60129. begin
  60130. pTDefRegMap(@Self)^.&set := $00000020;
  60131. end;
  60132. procedure TETH_ETHRXFC.clearRUNTERREN; inline;
  60133. begin
  60134. pTDefRegMap(@Self)^.clr := $00000020;
  60135. end;
  60136. procedure TETH_ETHRXFC.setRUNTERREN(thebits : TBits_1); inline;
  60137. begin
  60138. if thebits = 0 then
  60139. pTDefRegMap(@Self)^.clr := $00000020
  60140. else
  60141. pTDefRegMap(@Self)^.&set := $00000020;
  60142. end;
  60143. function TETH_ETHRXFC.getRUNTERREN : TBits_1; inline;
  60144. begin
  60145. getRUNTERREN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60146. end;
  60147. procedure TETH_ETHRXFC.setCRCOKEN; inline;
  60148. begin
  60149. pTDefRegMap(@Self)^.&set := $00000040;
  60150. end;
  60151. procedure TETH_ETHRXFC.clearCRCOKEN; inline;
  60152. begin
  60153. pTDefRegMap(@Self)^.clr := $00000040;
  60154. end;
  60155. procedure TETH_ETHRXFC.setCRCOKEN(thebits : TBits_1); inline;
  60156. begin
  60157. if thebits = 0 then
  60158. pTDefRegMap(@Self)^.clr := $00000040
  60159. else
  60160. pTDefRegMap(@Self)^.&set := $00000040;
  60161. end;
  60162. function TETH_ETHRXFC.getCRCOKEN : TBits_1; inline;
  60163. begin
  60164. getCRCOKEN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60165. end;
  60166. procedure TETH_ETHRXFC.setCRCERREN; inline;
  60167. begin
  60168. pTDefRegMap(@Self)^.&set := $00000080;
  60169. end;
  60170. procedure TETH_ETHRXFC.clearCRCERREN; inline;
  60171. begin
  60172. pTDefRegMap(@Self)^.clr := $00000080;
  60173. end;
  60174. procedure TETH_ETHRXFC.setCRCERREN(thebits : TBits_1); inline;
  60175. begin
  60176. if thebits = 0 then
  60177. pTDefRegMap(@Self)^.clr := $00000080
  60178. else
  60179. pTDefRegMap(@Self)^.&set := $00000080;
  60180. end;
  60181. function TETH_ETHRXFC.getCRCERREN : TBits_1; inline;
  60182. begin
  60183. getCRCERREN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60184. end;
  60185. procedure TETH_ETHRXFC.setPMMODE(thebits : TBits_4); inline;
  60186. begin
  60187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  60188. end;
  60189. function TETH_ETHRXFC.getPMMODE : TBits_4; inline;
  60190. begin
  60191. getPMMODE := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  60192. end;
  60193. procedure TETH_ETHRXFC.setNOTPM; inline;
  60194. begin
  60195. pTDefRegMap(@Self)^.&set := $00001000;
  60196. end;
  60197. procedure TETH_ETHRXFC.clearNOTPM; inline;
  60198. begin
  60199. pTDefRegMap(@Self)^.clr := $00001000;
  60200. end;
  60201. procedure TETH_ETHRXFC.setNOTPM(thebits : TBits_1); inline;
  60202. begin
  60203. if thebits = 0 then
  60204. pTDefRegMap(@Self)^.clr := $00001000
  60205. else
  60206. pTDefRegMap(@Self)^.&set := $00001000;
  60207. end;
  60208. function TETH_ETHRXFC.getNOTPM : TBits_1; inline;
  60209. begin
  60210. getNOTPM := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  60211. end;
  60212. procedure TETH_ETHRXFC.setMPEN; inline;
  60213. begin
  60214. pTDefRegMap(@Self)^.&set := $00004000;
  60215. end;
  60216. procedure TETH_ETHRXFC.clearMPEN; inline;
  60217. begin
  60218. pTDefRegMap(@Self)^.clr := $00004000;
  60219. end;
  60220. procedure TETH_ETHRXFC.setMPEN(thebits : TBits_1); inline;
  60221. begin
  60222. if thebits = 0 then
  60223. pTDefRegMap(@Self)^.clr := $00004000
  60224. else
  60225. pTDefRegMap(@Self)^.&set := $00004000;
  60226. end;
  60227. function TETH_ETHRXFC.getMPEN : TBits_1; inline;
  60228. begin
  60229. getMPEN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60230. end;
  60231. procedure TETH_ETHRXFC.setHTEN; inline;
  60232. begin
  60233. pTDefRegMap(@Self)^.&set := $00008000;
  60234. end;
  60235. procedure TETH_ETHRXFC.clearHTEN; inline;
  60236. begin
  60237. pTDefRegMap(@Self)^.clr := $00008000;
  60238. end;
  60239. procedure TETH_ETHRXFC.setHTEN(thebits : TBits_1); inline;
  60240. begin
  60241. if thebits = 0 then
  60242. pTDefRegMap(@Self)^.clr := $00008000
  60243. else
  60244. pTDefRegMap(@Self)^.&set := $00008000;
  60245. end;
  60246. function TETH_ETHRXFC.getHTEN : TBits_1; inline;
  60247. begin
  60248. getHTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  60249. end;
  60250. procedure TETH_ETHRXFC.setw(thebits : TBits_32); inline;
  60251. begin
  60252. pTDefRegMap(@Self)^.val := thebits;
  60253. end;
  60254. function TETH_ETHRXFC.getw : TBits_32; inline;
  60255. begin
  60256. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60257. end;
  60258. procedure TETH_ETHRXWM.setRXEWM(thebits : TBits_8); inline;
  60259. begin
  60260. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  60261. end;
  60262. function TETH_ETHRXWM.getRXEWM : TBits_8; inline;
  60263. begin
  60264. getRXEWM := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  60265. end;
  60266. procedure TETH_ETHRXWM.setRXFWM(thebits : TBits_8); inline;
  60267. begin
  60268. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  60269. end;
  60270. function TETH_ETHRXWM.getRXFWM : TBits_8; inline;
  60271. begin
  60272. getRXFWM := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  60273. end;
  60274. procedure TETH_ETHRXWM.setw(thebits : TBits_32); inline;
  60275. begin
  60276. pTDefRegMap(@Self)^.val := thebits;
  60277. end;
  60278. function TETH_ETHRXWM.getw : TBits_32; inline;
  60279. begin
  60280. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60281. end;
  60282. procedure TETH_ETHIEN.setRXOVFLWIE; inline;
  60283. begin
  60284. pTDefRegMap(@Self)^.&set := $00000001;
  60285. end;
  60286. procedure TETH_ETHIEN.clearRXOVFLWIE; inline;
  60287. begin
  60288. pTDefRegMap(@Self)^.clr := $00000001;
  60289. end;
  60290. procedure TETH_ETHIEN.setRXOVFLWIE(thebits : TBits_1); inline;
  60291. begin
  60292. if thebits = 0 then
  60293. pTDefRegMap(@Self)^.clr := $00000001
  60294. else
  60295. pTDefRegMap(@Self)^.&set := $00000001;
  60296. end;
  60297. function TETH_ETHIEN.getRXOVFLWIE : TBits_1; inline;
  60298. begin
  60299. getRXOVFLWIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60300. end;
  60301. procedure TETH_ETHIEN.setRXBUFNAIE; inline;
  60302. begin
  60303. pTDefRegMap(@Self)^.&set := $00000002;
  60304. end;
  60305. procedure TETH_ETHIEN.clearRXBUFNAIE; inline;
  60306. begin
  60307. pTDefRegMap(@Self)^.clr := $00000002;
  60308. end;
  60309. procedure TETH_ETHIEN.setRXBUFNAIE(thebits : TBits_1); inline;
  60310. begin
  60311. if thebits = 0 then
  60312. pTDefRegMap(@Self)^.clr := $00000002
  60313. else
  60314. pTDefRegMap(@Self)^.&set := $00000002;
  60315. end;
  60316. function TETH_ETHIEN.getRXBUFNAIE : TBits_1; inline;
  60317. begin
  60318. getRXBUFNAIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60319. end;
  60320. procedure TETH_ETHIEN.setTXABORTIE; inline;
  60321. begin
  60322. pTDefRegMap(@Self)^.&set := $00000004;
  60323. end;
  60324. procedure TETH_ETHIEN.clearTXABORTIE; inline;
  60325. begin
  60326. pTDefRegMap(@Self)^.clr := $00000004;
  60327. end;
  60328. procedure TETH_ETHIEN.setTXABORTIE(thebits : TBits_1); inline;
  60329. begin
  60330. if thebits = 0 then
  60331. pTDefRegMap(@Self)^.clr := $00000004
  60332. else
  60333. pTDefRegMap(@Self)^.&set := $00000004;
  60334. end;
  60335. function TETH_ETHIEN.getTXABORTIE : TBits_1; inline;
  60336. begin
  60337. getTXABORTIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60338. end;
  60339. procedure TETH_ETHIEN.setTXDONEIE; inline;
  60340. begin
  60341. pTDefRegMap(@Self)^.&set := $00000008;
  60342. end;
  60343. procedure TETH_ETHIEN.clearTXDONEIE; inline;
  60344. begin
  60345. pTDefRegMap(@Self)^.clr := $00000008;
  60346. end;
  60347. procedure TETH_ETHIEN.setTXDONEIE(thebits : TBits_1); inline;
  60348. begin
  60349. if thebits = 0 then
  60350. pTDefRegMap(@Self)^.clr := $00000008
  60351. else
  60352. pTDefRegMap(@Self)^.&set := $00000008;
  60353. end;
  60354. function TETH_ETHIEN.getTXDONEIE : TBits_1; inline;
  60355. begin
  60356. getTXDONEIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60357. end;
  60358. procedure TETH_ETHIEN.setRXACTIE; inline;
  60359. begin
  60360. pTDefRegMap(@Self)^.&set := $00000020;
  60361. end;
  60362. procedure TETH_ETHIEN.clearRXACTIE; inline;
  60363. begin
  60364. pTDefRegMap(@Self)^.clr := $00000020;
  60365. end;
  60366. procedure TETH_ETHIEN.setRXACTIE(thebits : TBits_1); inline;
  60367. begin
  60368. if thebits = 0 then
  60369. pTDefRegMap(@Self)^.clr := $00000020
  60370. else
  60371. pTDefRegMap(@Self)^.&set := $00000020;
  60372. end;
  60373. function TETH_ETHIEN.getRXACTIE : TBits_1; inline;
  60374. begin
  60375. getRXACTIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60376. end;
  60377. procedure TETH_ETHIEN.setPKTPENDIE; inline;
  60378. begin
  60379. pTDefRegMap(@Self)^.&set := $00000040;
  60380. end;
  60381. procedure TETH_ETHIEN.clearPKTPENDIE; inline;
  60382. begin
  60383. pTDefRegMap(@Self)^.clr := $00000040;
  60384. end;
  60385. procedure TETH_ETHIEN.setPKTPENDIE(thebits : TBits_1); inline;
  60386. begin
  60387. if thebits = 0 then
  60388. pTDefRegMap(@Self)^.clr := $00000040
  60389. else
  60390. pTDefRegMap(@Self)^.&set := $00000040;
  60391. end;
  60392. function TETH_ETHIEN.getPKTPENDIE : TBits_1; inline;
  60393. begin
  60394. getPKTPENDIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60395. end;
  60396. procedure TETH_ETHIEN.setRXDONEIE; inline;
  60397. begin
  60398. pTDefRegMap(@Self)^.&set := $00000080;
  60399. end;
  60400. procedure TETH_ETHIEN.clearRXDONEIE; inline;
  60401. begin
  60402. pTDefRegMap(@Self)^.clr := $00000080;
  60403. end;
  60404. procedure TETH_ETHIEN.setRXDONEIE(thebits : TBits_1); inline;
  60405. begin
  60406. if thebits = 0 then
  60407. pTDefRegMap(@Self)^.clr := $00000080
  60408. else
  60409. pTDefRegMap(@Self)^.&set := $00000080;
  60410. end;
  60411. function TETH_ETHIEN.getRXDONEIE : TBits_1; inline;
  60412. begin
  60413. getRXDONEIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60414. end;
  60415. procedure TETH_ETHIEN.setFWMARKIE; inline;
  60416. begin
  60417. pTDefRegMap(@Self)^.&set := $00000100;
  60418. end;
  60419. procedure TETH_ETHIEN.clearFWMARKIE; inline;
  60420. begin
  60421. pTDefRegMap(@Self)^.clr := $00000100;
  60422. end;
  60423. procedure TETH_ETHIEN.setFWMARKIE(thebits : TBits_1); inline;
  60424. begin
  60425. if thebits = 0 then
  60426. pTDefRegMap(@Self)^.clr := $00000100
  60427. else
  60428. pTDefRegMap(@Self)^.&set := $00000100;
  60429. end;
  60430. function TETH_ETHIEN.getFWMARKIE : TBits_1; inline;
  60431. begin
  60432. getFWMARKIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60433. end;
  60434. procedure TETH_ETHIEN.setEWMARKIE; inline;
  60435. begin
  60436. pTDefRegMap(@Self)^.&set := $00000200;
  60437. end;
  60438. procedure TETH_ETHIEN.clearEWMARKIE; inline;
  60439. begin
  60440. pTDefRegMap(@Self)^.clr := $00000200;
  60441. end;
  60442. procedure TETH_ETHIEN.setEWMARKIE(thebits : TBits_1); inline;
  60443. begin
  60444. if thebits = 0 then
  60445. pTDefRegMap(@Self)^.clr := $00000200
  60446. else
  60447. pTDefRegMap(@Self)^.&set := $00000200;
  60448. end;
  60449. function TETH_ETHIEN.getEWMARKIE : TBits_1; inline;
  60450. begin
  60451. getEWMARKIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60452. end;
  60453. procedure TETH_ETHIEN.setRXBUSEIE; inline;
  60454. begin
  60455. pTDefRegMap(@Self)^.&set := $00002000;
  60456. end;
  60457. procedure TETH_ETHIEN.clearRXBUSEIE; inline;
  60458. begin
  60459. pTDefRegMap(@Self)^.clr := $00002000;
  60460. end;
  60461. procedure TETH_ETHIEN.setRXBUSEIE(thebits : TBits_1); inline;
  60462. begin
  60463. if thebits = 0 then
  60464. pTDefRegMap(@Self)^.clr := $00002000
  60465. else
  60466. pTDefRegMap(@Self)^.&set := $00002000;
  60467. end;
  60468. function TETH_ETHIEN.getRXBUSEIE : TBits_1; inline;
  60469. begin
  60470. getRXBUSEIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60471. end;
  60472. procedure TETH_ETHIEN.setTXBUSEIE; inline;
  60473. begin
  60474. pTDefRegMap(@Self)^.&set := $00004000;
  60475. end;
  60476. procedure TETH_ETHIEN.clearTXBUSEIE; inline;
  60477. begin
  60478. pTDefRegMap(@Self)^.clr := $00004000;
  60479. end;
  60480. procedure TETH_ETHIEN.setTXBUSEIE(thebits : TBits_1); inline;
  60481. begin
  60482. if thebits = 0 then
  60483. pTDefRegMap(@Self)^.clr := $00004000
  60484. else
  60485. pTDefRegMap(@Self)^.&set := $00004000;
  60486. end;
  60487. function TETH_ETHIEN.getTXBUSEIE : TBits_1; inline;
  60488. begin
  60489. getTXBUSEIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60490. end;
  60491. procedure TETH_ETHIEN.setw(thebits : TBits_32); inline;
  60492. begin
  60493. pTDefRegMap(@Self)^.val := thebits;
  60494. end;
  60495. function TETH_ETHIEN.getw : TBits_32; inline;
  60496. begin
  60497. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60498. end;
  60499. procedure TETH_ETHIRQ.setRXOVFLW; inline;
  60500. begin
  60501. pTDefRegMap(@Self)^.&set := $00000001;
  60502. end;
  60503. procedure TETH_ETHIRQ.clearRXOVFLW; inline;
  60504. begin
  60505. pTDefRegMap(@Self)^.clr := $00000001;
  60506. end;
  60507. procedure TETH_ETHIRQ.setRXOVFLW(thebits : TBits_1); inline;
  60508. begin
  60509. if thebits = 0 then
  60510. pTDefRegMap(@Self)^.clr := $00000001
  60511. else
  60512. pTDefRegMap(@Self)^.&set := $00000001;
  60513. end;
  60514. function TETH_ETHIRQ.getRXOVFLW : TBits_1; inline;
  60515. begin
  60516. getRXOVFLW := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60517. end;
  60518. procedure TETH_ETHIRQ.setRXBUFNA; inline;
  60519. begin
  60520. pTDefRegMap(@Self)^.&set := $00000002;
  60521. end;
  60522. procedure TETH_ETHIRQ.clearRXBUFNA; inline;
  60523. begin
  60524. pTDefRegMap(@Self)^.clr := $00000002;
  60525. end;
  60526. procedure TETH_ETHIRQ.setRXBUFNA(thebits : TBits_1); inline;
  60527. begin
  60528. if thebits = 0 then
  60529. pTDefRegMap(@Self)^.clr := $00000002
  60530. else
  60531. pTDefRegMap(@Self)^.&set := $00000002;
  60532. end;
  60533. function TETH_ETHIRQ.getRXBUFNA : TBits_1; inline;
  60534. begin
  60535. getRXBUFNA := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60536. end;
  60537. procedure TETH_ETHIRQ.setTXABORT; inline;
  60538. begin
  60539. pTDefRegMap(@Self)^.&set := $00000004;
  60540. end;
  60541. procedure TETH_ETHIRQ.clearTXABORT; inline;
  60542. begin
  60543. pTDefRegMap(@Self)^.clr := $00000004;
  60544. end;
  60545. procedure TETH_ETHIRQ.setTXABORT(thebits : TBits_1); inline;
  60546. begin
  60547. if thebits = 0 then
  60548. pTDefRegMap(@Self)^.clr := $00000004
  60549. else
  60550. pTDefRegMap(@Self)^.&set := $00000004;
  60551. end;
  60552. function TETH_ETHIRQ.getTXABORT : TBits_1; inline;
  60553. begin
  60554. getTXABORT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60555. end;
  60556. procedure TETH_ETHIRQ.setTXDONE; inline;
  60557. begin
  60558. pTDefRegMap(@Self)^.&set := $00000008;
  60559. end;
  60560. procedure TETH_ETHIRQ.clearTXDONE; inline;
  60561. begin
  60562. pTDefRegMap(@Self)^.clr := $00000008;
  60563. end;
  60564. procedure TETH_ETHIRQ.setTXDONE(thebits : TBits_1); inline;
  60565. begin
  60566. if thebits = 0 then
  60567. pTDefRegMap(@Self)^.clr := $00000008
  60568. else
  60569. pTDefRegMap(@Self)^.&set := $00000008;
  60570. end;
  60571. function TETH_ETHIRQ.getTXDONE : TBits_1; inline;
  60572. begin
  60573. getTXDONE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  60574. end;
  60575. procedure TETH_ETHIRQ.setRXACT; inline;
  60576. begin
  60577. pTDefRegMap(@Self)^.&set := $00000020;
  60578. end;
  60579. procedure TETH_ETHIRQ.clearRXACT; inline;
  60580. begin
  60581. pTDefRegMap(@Self)^.clr := $00000020;
  60582. end;
  60583. procedure TETH_ETHIRQ.setRXACT(thebits : TBits_1); inline;
  60584. begin
  60585. if thebits = 0 then
  60586. pTDefRegMap(@Self)^.clr := $00000020
  60587. else
  60588. pTDefRegMap(@Self)^.&set := $00000020;
  60589. end;
  60590. function TETH_ETHIRQ.getRXACT : TBits_1; inline;
  60591. begin
  60592. getRXACT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60593. end;
  60594. procedure TETH_ETHIRQ.setPKTPEND; inline;
  60595. begin
  60596. pTDefRegMap(@Self)^.&set := $00000040;
  60597. end;
  60598. procedure TETH_ETHIRQ.clearPKTPEND; inline;
  60599. begin
  60600. pTDefRegMap(@Self)^.clr := $00000040;
  60601. end;
  60602. procedure TETH_ETHIRQ.setPKTPEND(thebits : TBits_1); inline;
  60603. begin
  60604. if thebits = 0 then
  60605. pTDefRegMap(@Self)^.clr := $00000040
  60606. else
  60607. pTDefRegMap(@Self)^.&set := $00000040;
  60608. end;
  60609. function TETH_ETHIRQ.getPKTPEND : TBits_1; inline;
  60610. begin
  60611. getPKTPEND := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60612. end;
  60613. procedure TETH_ETHIRQ.setRXDONE; inline;
  60614. begin
  60615. pTDefRegMap(@Self)^.&set := $00000080;
  60616. end;
  60617. procedure TETH_ETHIRQ.clearRXDONE; inline;
  60618. begin
  60619. pTDefRegMap(@Self)^.clr := $00000080;
  60620. end;
  60621. procedure TETH_ETHIRQ.setRXDONE(thebits : TBits_1); inline;
  60622. begin
  60623. if thebits = 0 then
  60624. pTDefRegMap(@Self)^.clr := $00000080
  60625. else
  60626. pTDefRegMap(@Self)^.&set := $00000080;
  60627. end;
  60628. function TETH_ETHIRQ.getRXDONE : TBits_1; inline;
  60629. begin
  60630. getRXDONE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60631. end;
  60632. procedure TETH_ETHIRQ.setFWMARK; inline;
  60633. begin
  60634. pTDefRegMap(@Self)^.&set := $00000100;
  60635. end;
  60636. procedure TETH_ETHIRQ.clearFWMARK; inline;
  60637. begin
  60638. pTDefRegMap(@Self)^.clr := $00000100;
  60639. end;
  60640. procedure TETH_ETHIRQ.setFWMARK(thebits : TBits_1); inline;
  60641. begin
  60642. if thebits = 0 then
  60643. pTDefRegMap(@Self)^.clr := $00000100
  60644. else
  60645. pTDefRegMap(@Self)^.&set := $00000100;
  60646. end;
  60647. function TETH_ETHIRQ.getFWMARK : TBits_1; inline;
  60648. begin
  60649. getFWMARK := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  60650. end;
  60651. procedure TETH_ETHIRQ.setEWMARK; inline;
  60652. begin
  60653. pTDefRegMap(@Self)^.&set := $00000200;
  60654. end;
  60655. procedure TETH_ETHIRQ.clearEWMARK; inline;
  60656. begin
  60657. pTDefRegMap(@Self)^.clr := $00000200;
  60658. end;
  60659. procedure TETH_ETHIRQ.setEWMARK(thebits : TBits_1); inline;
  60660. begin
  60661. if thebits = 0 then
  60662. pTDefRegMap(@Self)^.clr := $00000200
  60663. else
  60664. pTDefRegMap(@Self)^.&set := $00000200;
  60665. end;
  60666. function TETH_ETHIRQ.getEWMARK : TBits_1; inline;
  60667. begin
  60668. getEWMARK := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  60669. end;
  60670. procedure TETH_ETHIRQ.setRXBUSE; inline;
  60671. begin
  60672. pTDefRegMap(@Self)^.&set := $00002000;
  60673. end;
  60674. procedure TETH_ETHIRQ.clearRXBUSE; inline;
  60675. begin
  60676. pTDefRegMap(@Self)^.clr := $00002000;
  60677. end;
  60678. procedure TETH_ETHIRQ.setRXBUSE(thebits : TBits_1); inline;
  60679. begin
  60680. if thebits = 0 then
  60681. pTDefRegMap(@Self)^.clr := $00002000
  60682. else
  60683. pTDefRegMap(@Self)^.&set := $00002000;
  60684. end;
  60685. function TETH_ETHIRQ.getRXBUSE : TBits_1; inline;
  60686. begin
  60687. getRXBUSE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  60688. end;
  60689. procedure TETH_ETHIRQ.setTXBUSE; inline;
  60690. begin
  60691. pTDefRegMap(@Self)^.&set := $00004000;
  60692. end;
  60693. procedure TETH_ETHIRQ.clearTXBUSE; inline;
  60694. begin
  60695. pTDefRegMap(@Self)^.clr := $00004000;
  60696. end;
  60697. procedure TETH_ETHIRQ.setTXBUSE(thebits : TBits_1); inline;
  60698. begin
  60699. if thebits = 0 then
  60700. pTDefRegMap(@Self)^.clr := $00004000
  60701. else
  60702. pTDefRegMap(@Self)^.&set := $00004000;
  60703. end;
  60704. function TETH_ETHIRQ.getTXBUSE : TBits_1; inline;
  60705. begin
  60706. getTXBUSE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  60707. end;
  60708. procedure TETH_ETHIRQ.setw(thebits : TBits_32); inline;
  60709. begin
  60710. pTDefRegMap(@Self)^.val := thebits;
  60711. end;
  60712. function TETH_ETHIRQ.getw : TBits_32; inline;
  60713. begin
  60714. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60715. end;
  60716. procedure TETH_ETHSTAT.setRXBUSY; inline;
  60717. begin
  60718. pTDefRegMap(@Self)^.&set := $00000020;
  60719. end;
  60720. procedure TETH_ETHSTAT.clearRXBUSY; inline;
  60721. begin
  60722. pTDefRegMap(@Self)^.clr := $00000020;
  60723. end;
  60724. procedure TETH_ETHSTAT.setRXBUSY(thebits : TBits_1); inline;
  60725. begin
  60726. if thebits = 0 then
  60727. pTDefRegMap(@Self)^.clr := $00000020
  60728. else
  60729. pTDefRegMap(@Self)^.&set := $00000020;
  60730. end;
  60731. function TETH_ETHSTAT.getRXBUSY : TBits_1; inline;
  60732. begin
  60733. getRXBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  60734. end;
  60735. procedure TETH_ETHSTAT.setTXBUSY; inline;
  60736. begin
  60737. pTDefRegMap(@Self)^.&set := $00000040;
  60738. end;
  60739. procedure TETH_ETHSTAT.clearTXBUSY; inline;
  60740. begin
  60741. pTDefRegMap(@Self)^.clr := $00000040;
  60742. end;
  60743. procedure TETH_ETHSTAT.setTXBUSY(thebits : TBits_1); inline;
  60744. begin
  60745. if thebits = 0 then
  60746. pTDefRegMap(@Self)^.clr := $00000040
  60747. else
  60748. pTDefRegMap(@Self)^.&set := $00000040;
  60749. end;
  60750. function TETH_ETHSTAT.getTXBUSY : TBits_1; inline;
  60751. begin
  60752. getTXBUSY := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  60753. end;
  60754. procedure TETH_ETHSTAT.setBUSY; inline;
  60755. begin
  60756. pTDefRegMap(@Self)^.&set := $00000080;
  60757. end;
  60758. procedure TETH_ETHSTAT.clearBUSY; inline;
  60759. begin
  60760. pTDefRegMap(@Self)^.clr := $00000080;
  60761. end;
  60762. procedure TETH_ETHSTAT.setBUSY(thebits : TBits_1); inline;
  60763. begin
  60764. if thebits = 0 then
  60765. pTDefRegMap(@Self)^.clr := $00000080
  60766. else
  60767. pTDefRegMap(@Self)^.&set := $00000080;
  60768. end;
  60769. function TETH_ETHSTAT.getBUSY : TBits_1; inline;
  60770. begin
  60771. getBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60772. end;
  60773. procedure TETH_ETHSTAT.setBUFCNT(thebits : TBits_8); inline;
  60774. begin
  60775. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  60776. end;
  60777. function TETH_ETHSTAT.getBUFCNT : TBits_8; inline;
  60778. begin
  60779. getBUFCNT := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  60780. end;
  60781. procedure TETH_ETHSTAT.setETHBUSY; inline;
  60782. begin
  60783. pTDefRegMap(@Self)^.&set := $00000080;
  60784. end;
  60785. procedure TETH_ETHSTAT.clearETHBUSY; inline;
  60786. begin
  60787. pTDefRegMap(@Self)^.clr := $00000080;
  60788. end;
  60789. procedure TETH_ETHSTAT.setETHBUSY(thebits : TBits_1); inline;
  60790. begin
  60791. if thebits = 0 then
  60792. pTDefRegMap(@Self)^.clr := $00000080
  60793. else
  60794. pTDefRegMap(@Self)^.&set := $00000080;
  60795. end;
  60796. function TETH_ETHSTAT.getETHBUSY : TBits_1; inline;
  60797. begin
  60798. getETHBUSY := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  60799. end;
  60800. procedure TETH_ETHSTAT.setw(thebits : TBits_32); inline;
  60801. begin
  60802. pTDefRegMap(@Self)^.val := thebits;
  60803. end;
  60804. function TETH_ETHSTAT.getw : TBits_32; inline;
  60805. begin
  60806. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60807. end;
  60808. procedure TETH_ETHRXOVFLOW.setRXOVFLWCNT(thebits : TBits_16); inline;
  60809. begin
  60810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60811. end;
  60812. function TETH_ETHRXOVFLOW.getRXOVFLWCNT : TBits_16; inline;
  60813. begin
  60814. getRXOVFLWCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60815. end;
  60816. procedure TETH_ETHRXOVFLOW.setw(thebits : TBits_32); inline;
  60817. begin
  60818. pTDefRegMap(@Self)^.val := thebits;
  60819. end;
  60820. function TETH_ETHRXOVFLOW.getw : TBits_32; inline;
  60821. begin
  60822. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60823. end;
  60824. procedure TETH_ETHFRMTXOK.setFRMTXOKCNT(thebits : TBits_16); inline;
  60825. begin
  60826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60827. end;
  60828. function TETH_ETHFRMTXOK.getFRMTXOKCNT : TBits_16; inline;
  60829. begin
  60830. getFRMTXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60831. end;
  60832. procedure TETH_ETHFRMTXOK.setw(thebits : TBits_32); inline;
  60833. begin
  60834. pTDefRegMap(@Self)^.val := thebits;
  60835. end;
  60836. function TETH_ETHFRMTXOK.getw : TBits_32; inline;
  60837. begin
  60838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60839. end;
  60840. procedure TETH_ETHSCOLFRM.setSCOLFRMCNT(thebits : TBits_16); inline;
  60841. begin
  60842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60843. end;
  60844. function TETH_ETHSCOLFRM.getSCOLFRMCNT : TBits_16; inline;
  60845. begin
  60846. getSCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60847. end;
  60848. procedure TETH_ETHSCOLFRM.setw(thebits : TBits_32); inline;
  60849. begin
  60850. pTDefRegMap(@Self)^.val := thebits;
  60851. end;
  60852. function TETH_ETHSCOLFRM.getw : TBits_32; inline;
  60853. begin
  60854. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60855. end;
  60856. procedure TETH_ETHMCOLFRM.setMCOLFRMCNT(thebits : TBits_16); inline;
  60857. begin
  60858. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60859. end;
  60860. function TETH_ETHMCOLFRM.getMCOLFRMCNT : TBits_16; inline;
  60861. begin
  60862. getMCOLFRMCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60863. end;
  60864. procedure TETH_ETHMCOLFRM.setMCOLFRM_CNT(thebits : TBits_16); inline;
  60865. begin
  60866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60867. end;
  60868. function TETH_ETHMCOLFRM.getMCOLFRM_CNT : TBits_16; inline;
  60869. begin
  60870. getMCOLFRM_CNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60871. end;
  60872. procedure TETH_ETHMCOLFRM.setw(thebits : TBits_32); inline;
  60873. begin
  60874. pTDefRegMap(@Self)^.val := thebits;
  60875. end;
  60876. function TETH_ETHMCOLFRM.getw : TBits_32; inline;
  60877. begin
  60878. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60879. end;
  60880. procedure TETH_ETHFRMRXOK.setFRMRXOKCNT(thebits : TBits_16); inline;
  60881. begin
  60882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60883. end;
  60884. function TETH_ETHFRMRXOK.getFRMRXOKCNT : TBits_16; inline;
  60885. begin
  60886. getFRMRXOKCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60887. end;
  60888. procedure TETH_ETHFRMRXOK.setw(thebits : TBits_32); inline;
  60889. begin
  60890. pTDefRegMap(@Self)^.val := thebits;
  60891. end;
  60892. function TETH_ETHFRMRXOK.getw : TBits_32; inline;
  60893. begin
  60894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60895. end;
  60896. procedure TETH_ETHFCSERR.setFCSERRCNT(thebits : TBits_16); inline;
  60897. begin
  60898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60899. end;
  60900. function TETH_ETHFCSERR.getFCSERRCNT : TBits_16; inline;
  60901. begin
  60902. getFCSERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60903. end;
  60904. procedure TETH_ETHFCSERR.setw(thebits : TBits_32); inline;
  60905. begin
  60906. pTDefRegMap(@Self)^.val := thebits;
  60907. end;
  60908. function TETH_ETHFCSERR.getw : TBits_32; inline;
  60909. begin
  60910. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60911. end;
  60912. procedure TETH_ETHALGNERR.setALGNERRCNT(thebits : TBits_16); inline;
  60913. begin
  60914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  60915. end;
  60916. function TETH_ETHALGNERR.getALGNERRCNT : TBits_16; inline;
  60917. begin
  60918. getALGNERRCNT := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  60919. end;
  60920. procedure TETH_ETHALGNERR.setw(thebits : TBits_32); inline;
  60921. begin
  60922. pTDefRegMap(@Self)^.val := thebits;
  60923. end;
  60924. function TETH_ETHALGNERR.getw : TBits_32; inline;
  60925. begin
  60926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  60927. end;
  60928. procedure TETH_EMAC1CFG1.setRXENABLE; inline;
  60929. begin
  60930. pTDefRegMap(@Self)^.&set := $00000001;
  60931. end;
  60932. procedure TETH_EMAC1CFG1.clearRXENABLE; inline;
  60933. begin
  60934. pTDefRegMap(@Self)^.clr := $00000001;
  60935. end;
  60936. procedure TETH_EMAC1CFG1.setRXENABLE(thebits : TBits_1); inline;
  60937. begin
  60938. if thebits = 0 then
  60939. pTDefRegMap(@Self)^.clr := $00000001
  60940. else
  60941. pTDefRegMap(@Self)^.&set := $00000001;
  60942. end;
  60943. function TETH_EMAC1CFG1.getRXENABLE : TBits_1; inline;
  60944. begin
  60945. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  60946. end;
  60947. procedure TETH_EMAC1CFG1.setPASSALL; inline;
  60948. begin
  60949. pTDefRegMap(@Self)^.&set := $00000002;
  60950. end;
  60951. procedure TETH_EMAC1CFG1.clearPASSALL; inline;
  60952. begin
  60953. pTDefRegMap(@Self)^.clr := $00000002;
  60954. end;
  60955. procedure TETH_EMAC1CFG1.setPASSALL(thebits : TBits_1); inline;
  60956. begin
  60957. if thebits = 0 then
  60958. pTDefRegMap(@Self)^.clr := $00000002
  60959. else
  60960. pTDefRegMap(@Self)^.&set := $00000002;
  60961. end;
  60962. function TETH_EMAC1CFG1.getPASSALL : TBits_1; inline;
  60963. begin
  60964. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  60965. end;
  60966. procedure TETH_EMAC1CFG1.setRXPAUSE; inline;
  60967. begin
  60968. pTDefRegMap(@Self)^.&set := $00000004;
  60969. end;
  60970. procedure TETH_EMAC1CFG1.clearRXPAUSE; inline;
  60971. begin
  60972. pTDefRegMap(@Self)^.clr := $00000004;
  60973. end;
  60974. procedure TETH_EMAC1CFG1.setRXPAUSE(thebits : TBits_1); inline;
  60975. begin
  60976. if thebits = 0 then
  60977. pTDefRegMap(@Self)^.clr := $00000004
  60978. else
  60979. pTDefRegMap(@Self)^.&set := $00000004;
  60980. end;
  60981. function TETH_EMAC1CFG1.getRXPAUSE : TBits_1; inline;
  60982. begin
  60983. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  60984. end;
  60985. procedure TETH_EMAC1CFG1.setTXPAUSE; inline;
  60986. begin
  60987. pTDefRegMap(@Self)^.&set := $00000008;
  60988. end;
  60989. procedure TETH_EMAC1CFG1.clearTXPAUSE; inline;
  60990. begin
  60991. pTDefRegMap(@Self)^.clr := $00000008;
  60992. end;
  60993. procedure TETH_EMAC1CFG1.setTXPAUSE(thebits : TBits_1); inline;
  60994. begin
  60995. if thebits = 0 then
  60996. pTDefRegMap(@Self)^.clr := $00000008
  60997. else
  60998. pTDefRegMap(@Self)^.&set := $00000008;
  60999. end;
  61000. function TETH_EMAC1CFG1.getTXPAUSE : TBits_1; inline;
  61001. begin
  61002. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61003. end;
  61004. procedure TETH_EMAC1CFG1.setLOOPBACK; inline;
  61005. begin
  61006. pTDefRegMap(@Self)^.&set := $00000010;
  61007. end;
  61008. procedure TETH_EMAC1CFG1.clearLOOPBACK; inline;
  61009. begin
  61010. pTDefRegMap(@Self)^.clr := $00000010;
  61011. end;
  61012. procedure TETH_EMAC1CFG1.setLOOPBACK(thebits : TBits_1); inline;
  61013. begin
  61014. if thebits = 0 then
  61015. pTDefRegMap(@Self)^.clr := $00000010
  61016. else
  61017. pTDefRegMap(@Self)^.&set := $00000010;
  61018. end;
  61019. function TETH_EMAC1CFG1.getLOOPBACK : TBits_1; inline;
  61020. begin
  61021. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61022. end;
  61023. procedure TETH_EMAC1CFG1.setRESETTFUN; inline;
  61024. begin
  61025. pTDefRegMap(@Self)^.&set := $00000100;
  61026. end;
  61027. procedure TETH_EMAC1CFG1.clearRESETTFUN; inline;
  61028. begin
  61029. pTDefRegMap(@Self)^.clr := $00000100;
  61030. end;
  61031. procedure TETH_EMAC1CFG1.setRESETTFUN(thebits : TBits_1); inline;
  61032. begin
  61033. if thebits = 0 then
  61034. pTDefRegMap(@Self)^.clr := $00000100
  61035. else
  61036. pTDefRegMap(@Self)^.&set := $00000100;
  61037. end;
  61038. function TETH_EMAC1CFG1.getRESETTFUN : TBits_1; inline;
  61039. begin
  61040. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61041. end;
  61042. procedure TETH_EMAC1CFG1.setRESETTMCS; inline;
  61043. begin
  61044. pTDefRegMap(@Self)^.&set := $00000200;
  61045. end;
  61046. procedure TETH_EMAC1CFG1.clearRESETTMCS; inline;
  61047. begin
  61048. pTDefRegMap(@Self)^.clr := $00000200;
  61049. end;
  61050. procedure TETH_EMAC1CFG1.setRESETTMCS(thebits : TBits_1); inline;
  61051. begin
  61052. if thebits = 0 then
  61053. pTDefRegMap(@Self)^.clr := $00000200
  61054. else
  61055. pTDefRegMap(@Self)^.&set := $00000200;
  61056. end;
  61057. function TETH_EMAC1CFG1.getRESETTMCS : TBits_1; inline;
  61058. begin
  61059. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61060. end;
  61061. procedure TETH_EMAC1CFG1.setRESETRFUN; inline;
  61062. begin
  61063. pTDefRegMap(@Self)^.&set := $00000400;
  61064. end;
  61065. procedure TETH_EMAC1CFG1.clearRESETRFUN; inline;
  61066. begin
  61067. pTDefRegMap(@Self)^.clr := $00000400;
  61068. end;
  61069. procedure TETH_EMAC1CFG1.setRESETRFUN(thebits : TBits_1); inline;
  61070. begin
  61071. if thebits = 0 then
  61072. pTDefRegMap(@Self)^.clr := $00000400
  61073. else
  61074. pTDefRegMap(@Self)^.&set := $00000400;
  61075. end;
  61076. function TETH_EMAC1CFG1.getRESETRFUN : TBits_1; inline;
  61077. begin
  61078. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  61079. end;
  61080. procedure TETH_EMAC1CFG1.setRESETRMCS; inline;
  61081. begin
  61082. pTDefRegMap(@Self)^.&set := $00000800;
  61083. end;
  61084. procedure TETH_EMAC1CFG1.clearRESETRMCS; inline;
  61085. begin
  61086. pTDefRegMap(@Self)^.clr := $00000800;
  61087. end;
  61088. procedure TETH_EMAC1CFG1.setRESETRMCS(thebits : TBits_1); inline;
  61089. begin
  61090. if thebits = 0 then
  61091. pTDefRegMap(@Self)^.clr := $00000800
  61092. else
  61093. pTDefRegMap(@Self)^.&set := $00000800;
  61094. end;
  61095. function TETH_EMAC1CFG1.getRESETRMCS : TBits_1; inline;
  61096. begin
  61097. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  61098. end;
  61099. procedure TETH_EMAC1CFG1.setSIMRESET; inline;
  61100. begin
  61101. pTDefRegMap(@Self)^.&set := $00004000;
  61102. end;
  61103. procedure TETH_EMAC1CFG1.clearSIMRESET; inline;
  61104. begin
  61105. pTDefRegMap(@Self)^.clr := $00004000;
  61106. end;
  61107. procedure TETH_EMAC1CFG1.setSIMRESET(thebits : TBits_1); inline;
  61108. begin
  61109. if thebits = 0 then
  61110. pTDefRegMap(@Self)^.clr := $00004000
  61111. else
  61112. pTDefRegMap(@Self)^.&set := $00004000;
  61113. end;
  61114. function TETH_EMAC1CFG1.getSIMRESET : TBits_1; inline;
  61115. begin
  61116. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61117. end;
  61118. procedure TETH_EMAC1CFG1.setSOFTRESET; inline;
  61119. begin
  61120. pTDefRegMap(@Self)^.&set := $00008000;
  61121. end;
  61122. procedure TETH_EMAC1CFG1.clearSOFTRESET; inline;
  61123. begin
  61124. pTDefRegMap(@Self)^.clr := $00008000;
  61125. end;
  61126. procedure TETH_EMAC1CFG1.setSOFTRESET(thebits : TBits_1); inline;
  61127. begin
  61128. if thebits = 0 then
  61129. pTDefRegMap(@Self)^.clr := $00008000
  61130. else
  61131. pTDefRegMap(@Self)^.&set := $00008000;
  61132. end;
  61133. function TETH_EMAC1CFG1.getSOFTRESET : TBits_1; inline;
  61134. begin
  61135. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61136. end;
  61137. procedure TETH_EMAC1CFG1.setw(thebits : TBits_32); inline;
  61138. begin
  61139. pTDefRegMap(@Self)^.val := thebits;
  61140. end;
  61141. function TETH_EMAC1CFG1.getw : TBits_32; inline;
  61142. begin
  61143. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61144. end;
  61145. procedure TETH_EMACxCFG1.setRXENABLE; inline;
  61146. begin
  61147. pTDefRegMap(@Self)^.&set := $00000001;
  61148. end;
  61149. procedure TETH_EMACxCFG1.clearRXENABLE; inline;
  61150. begin
  61151. pTDefRegMap(@Self)^.clr := $00000001;
  61152. end;
  61153. procedure TETH_EMACxCFG1.setRXENABLE(thebits : TBits_1); inline;
  61154. begin
  61155. if thebits = 0 then
  61156. pTDefRegMap(@Self)^.clr := $00000001
  61157. else
  61158. pTDefRegMap(@Self)^.&set := $00000001;
  61159. end;
  61160. function TETH_EMACxCFG1.getRXENABLE : TBits_1; inline;
  61161. begin
  61162. getRXENABLE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61163. end;
  61164. procedure TETH_EMACxCFG1.setPASSALL; inline;
  61165. begin
  61166. pTDefRegMap(@Self)^.&set := $00000002;
  61167. end;
  61168. procedure TETH_EMACxCFG1.clearPASSALL; inline;
  61169. begin
  61170. pTDefRegMap(@Self)^.clr := $00000002;
  61171. end;
  61172. procedure TETH_EMACxCFG1.setPASSALL(thebits : TBits_1); inline;
  61173. begin
  61174. if thebits = 0 then
  61175. pTDefRegMap(@Self)^.clr := $00000002
  61176. else
  61177. pTDefRegMap(@Self)^.&set := $00000002;
  61178. end;
  61179. function TETH_EMACxCFG1.getPASSALL : TBits_1; inline;
  61180. begin
  61181. getPASSALL := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61182. end;
  61183. procedure TETH_EMACxCFG1.setRXPAUSE; inline;
  61184. begin
  61185. pTDefRegMap(@Self)^.&set := $00000004;
  61186. end;
  61187. procedure TETH_EMACxCFG1.clearRXPAUSE; inline;
  61188. begin
  61189. pTDefRegMap(@Self)^.clr := $00000004;
  61190. end;
  61191. procedure TETH_EMACxCFG1.setRXPAUSE(thebits : TBits_1); inline;
  61192. begin
  61193. if thebits = 0 then
  61194. pTDefRegMap(@Self)^.clr := $00000004
  61195. else
  61196. pTDefRegMap(@Self)^.&set := $00000004;
  61197. end;
  61198. function TETH_EMACxCFG1.getRXPAUSE : TBits_1; inline;
  61199. begin
  61200. getRXPAUSE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61201. end;
  61202. procedure TETH_EMACxCFG1.setTXPAUSE; inline;
  61203. begin
  61204. pTDefRegMap(@Self)^.&set := $00000008;
  61205. end;
  61206. procedure TETH_EMACxCFG1.clearTXPAUSE; inline;
  61207. begin
  61208. pTDefRegMap(@Self)^.clr := $00000008;
  61209. end;
  61210. procedure TETH_EMACxCFG1.setTXPAUSE(thebits : TBits_1); inline;
  61211. begin
  61212. if thebits = 0 then
  61213. pTDefRegMap(@Self)^.clr := $00000008
  61214. else
  61215. pTDefRegMap(@Self)^.&set := $00000008;
  61216. end;
  61217. function TETH_EMACxCFG1.getTXPAUSE : TBits_1; inline;
  61218. begin
  61219. getTXPAUSE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61220. end;
  61221. procedure TETH_EMACxCFG1.setLOOPBACK; inline;
  61222. begin
  61223. pTDefRegMap(@Self)^.&set := $00000010;
  61224. end;
  61225. procedure TETH_EMACxCFG1.clearLOOPBACK; inline;
  61226. begin
  61227. pTDefRegMap(@Self)^.clr := $00000010;
  61228. end;
  61229. procedure TETH_EMACxCFG1.setLOOPBACK(thebits : TBits_1); inline;
  61230. begin
  61231. if thebits = 0 then
  61232. pTDefRegMap(@Self)^.clr := $00000010
  61233. else
  61234. pTDefRegMap(@Self)^.&set := $00000010;
  61235. end;
  61236. function TETH_EMACxCFG1.getLOOPBACK : TBits_1; inline;
  61237. begin
  61238. getLOOPBACK := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61239. end;
  61240. procedure TETH_EMACxCFG1.setRESETTFUN; inline;
  61241. begin
  61242. pTDefRegMap(@Self)^.&set := $00000100;
  61243. end;
  61244. procedure TETH_EMACxCFG1.clearRESETTFUN; inline;
  61245. begin
  61246. pTDefRegMap(@Self)^.clr := $00000100;
  61247. end;
  61248. procedure TETH_EMACxCFG1.setRESETTFUN(thebits : TBits_1); inline;
  61249. begin
  61250. if thebits = 0 then
  61251. pTDefRegMap(@Self)^.clr := $00000100
  61252. else
  61253. pTDefRegMap(@Self)^.&set := $00000100;
  61254. end;
  61255. function TETH_EMACxCFG1.getRESETTFUN : TBits_1; inline;
  61256. begin
  61257. getRESETTFUN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61258. end;
  61259. procedure TETH_EMACxCFG1.setRESETTMCS; inline;
  61260. begin
  61261. pTDefRegMap(@Self)^.&set := $00000200;
  61262. end;
  61263. procedure TETH_EMACxCFG1.clearRESETTMCS; inline;
  61264. begin
  61265. pTDefRegMap(@Self)^.clr := $00000200;
  61266. end;
  61267. procedure TETH_EMACxCFG1.setRESETTMCS(thebits : TBits_1); inline;
  61268. begin
  61269. if thebits = 0 then
  61270. pTDefRegMap(@Self)^.clr := $00000200
  61271. else
  61272. pTDefRegMap(@Self)^.&set := $00000200;
  61273. end;
  61274. function TETH_EMACxCFG1.getRESETTMCS : TBits_1; inline;
  61275. begin
  61276. getRESETTMCS := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61277. end;
  61278. procedure TETH_EMACxCFG1.setRESETRFUN; inline;
  61279. begin
  61280. pTDefRegMap(@Self)^.&set := $00000400;
  61281. end;
  61282. procedure TETH_EMACxCFG1.clearRESETRFUN; inline;
  61283. begin
  61284. pTDefRegMap(@Self)^.clr := $00000400;
  61285. end;
  61286. procedure TETH_EMACxCFG1.setRESETRFUN(thebits : TBits_1); inline;
  61287. begin
  61288. if thebits = 0 then
  61289. pTDefRegMap(@Self)^.clr := $00000400
  61290. else
  61291. pTDefRegMap(@Self)^.&set := $00000400;
  61292. end;
  61293. function TETH_EMACxCFG1.getRESETRFUN : TBits_1; inline;
  61294. begin
  61295. getRESETRFUN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  61296. end;
  61297. procedure TETH_EMACxCFG1.setRESETRMCS; inline;
  61298. begin
  61299. pTDefRegMap(@Self)^.&set := $00000800;
  61300. end;
  61301. procedure TETH_EMACxCFG1.clearRESETRMCS; inline;
  61302. begin
  61303. pTDefRegMap(@Self)^.clr := $00000800;
  61304. end;
  61305. procedure TETH_EMACxCFG1.setRESETRMCS(thebits : TBits_1); inline;
  61306. begin
  61307. if thebits = 0 then
  61308. pTDefRegMap(@Self)^.clr := $00000800
  61309. else
  61310. pTDefRegMap(@Self)^.&set := $00000800;
  61311. end;
  61312. function TETH_EMACxCFG1.getRESETRMCS : TBits_1; inline;
  61313. begin
  61314. getRESETRMCS := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  61315. end;
  61316. procedure TETH_EMACxCFG1.setSIMRESET; inline;
  61317. begin
  61318. pTDefRegMap(@Self)^.&set := $00004000;
  61319. end;
  61320. procedure TETH_EMACxCFG1.clearSIMRESET; inline;
  61321. begin
  61322. pTDefRegMap(@Self)^.clr := $00004000;
  61323. end;
  61324. procedure TETH_EMACxCFG1.setSIMRESET(thebits : TBits_1); inline;
  61325. begin
  61326. if thebits = 0 then
  61327. pTDefRegMap(@Self)^.clr := $00004000
  61328. else
  61329. pTDefRegMap(@Self)^.&set := $00004000;
  61330. end;
  61331. function TETH_EMACxCFG1.getSIMRESET : TBits_1; inline;
  61332. begin
  61333. getSIMRESET := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61334. end;
  61335. procedure TETH_EMACxCFG1.setSOFTRESET; inline;
  61336. begin
  61337. pTDefRegMap(@Self)^.&set := $00008000;
  61338. end;
  61339. procedure TETH_EMACxCFG1.clearSOFTRESET; inline;
  61340. begin
  61341. pTDefRegMap(@Self)^.clr := $00008000;
  61342. end;
  61343. procedure TETH_EMACxCFG1.setSOFTRESET(thebits : TBits_1); inline;
  61344. begin
  61345. if thebits = 0 then
  61346. pTDefRegMap(@Self)^.clr := $00008000
  61347. else
  61348. pTDefRegMap(@Self)^.&set := $00008000;
  61349. end;
  61350. function TETH_EMACxCFG1.getSOFTRESET : TBits_1; inline;
  61351. begin
  61352. getSOFTRESET := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  61353. end;
  61354. procedure TETH_EMACxCFG1.setw(thebits : TBits_32); inline;
  61355. begin
  61356. pTDefRegMap(@Self)^.val := thebits;
  61357. end;
  61358. function TETH_EMACxCFG1.getw : TBits_32; inline;
  61359. begin
  61360. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61361. end;
  61362. procedure TETH_EMAC1CFG2.setFULLDPLX; inline;
  61363. begin
  61364. pTDefRegMap(@Self)^.&set := $00000001;
  61365. end;
  61366. procedure TETH_EMAC1CFG2.clearFULLDPLX; inline;
  61367. begin
  61368. pTDefRegMap(@Self)^.clr := $00000001;
  61369. end;
  61370. procedure TETH_EMAC1CFG2.setFULLDPLX(thebits : TBits_1); inline;
  61371. begin
  61372. if thebits = 0 then
  61373. pTDefRegMap(@Self)^.clr := $00000001
  61374. else
  61375. pTDefRegMap(@Self)^.&set := $00000001;
  61376. end;
  61377. function TETH_EMAC1CFG2.getFULLDPLX : TBits_1; inline;
  61378. begin
  61379. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61380. end;
  61381. procedure TETH_EMAC1CFG2.setLENGTHCK; inline;
  61382. begin
  61383. pTDefRegMap(@Self)^.&set := $00000002;
  61384. end;
  61385. procedure TETH_EMAC1CFG2.clearLENGTHCK; inline;
  61386. begin
  61387. pTDefRegMap(@Self)^.clr := $00000002;
  61388. end;
  61389. procedure TETH_EMAC1CFG2.setLENGTHCK(thebits : TBits_1); inline;
  61390. begin
  61391. if thebits = 0 then
  61392. pTDefRegMap(@Self)^.clr := $00000002
  61393. else
  61394. pTDefRegMap(@Self)^.&set := $00000002;
  61395. end;
  61396. function TETH_EMAC1CFG2.getLENGTHCK : TBits_1; inline;
  61397. begin
  61398. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61399. end;
  61400. procedure TETH_EMAC1CFG2.setHUGEFRM; inline;
  61401. begin
  61402. pTDefRegMap(@Self)^.&set := $00000004;
  61403. end;
  61404. procedure TETH_EMAC1CFG2.clearHUGEFRM; inline;
  61405. begin
  61406. pTDefRegMap(@Self)^.clr := $00000004;
  61407. end;
  61408. procedure TETH_EMAC1CFG2.setHUGEFRM(thebits : TBits_1); inline;
  61409. begin
  61410. if thebits = 0 then
  61411. pTDefRegMap(@Self)^.clr := $00000004
  61412. else
  61413. pTDefRegMap(@Self)^.&set := $00000004;
  61414. end;
  61415. function TETH_EMAC1CFG2.getHUGEFRM : TBits_1; inline;
  61416. begin
  61417. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61418. end;
  61419. procedure TETH_EMAC1CFG2.setDELAYCRC; inline;
  61420. begin
  61421. pTDefRegMap(@Self)^.&set := $00000008;
  61422. end;
  61423. procedure TETH_EMAC1CFG2.clearDELAYCRC; inline;
  61424. begin
  61425. pTDefRegMap(@Self)^.clr := $00000008;
  61426. end;
  61427. procedure TETH_EMAC1CFG2.setDELAYCRC(thebits : TBits_1); inline;
  61428. begin
  61429. if thebits = 0 then
  61430. pTDefRegMap(@Self)^.clr := $00000008
  61431. else
  61432. pTDefRegMap(@Self)^.&set := $00000008;
  61433. end;
  61434. function TETH_EMAC1CFG2.getDELAYCRC : TBits_1; inline;
  61435. begin
  61436. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61437. end;
  61438. procedure TETH_EMAC1CFG2.setCRCENABLE; inline;
  61439. begin
  61440. pTDefRegMap(@Self)^.&set := $00000010;
  61441. end;
  61442. procedure TETH_EMAC1CFG2.clearCRCENABLE; inline;
  61443. begin
  61444. pTDefRegMap(@Self)^.clr := $00000010;
  61445. end;
  61446. procedure TETH_EMAC1CFG2.setCRCENABLE(thebits : TBits_1); inline;
  61447. begin
  61448. if thebits = 0 then
  61449. pTDefRegMap(@Self)^.clr := $00000010
  61450. else
  61451. pTDefRegMap(@Self)^.&set := $00000010;
  61452. end;
  61453. function TETH_EMAC1CFG2.getCRCENABLE : TBits_1; inline;
  61454. begin
  61455. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61456. end;
  61457. procedure TETH_EMAC1CFG2.setPADENABLE; inline;
  61458. begin
  61459. pTDefRegMap(@Self)^.&set := $00000020;
  61460. end;
  61461. procedure TETH_EMAC1CFG2.clearPADENABLE; inline;
  61462. begin
  61463. pTDefRegMap(@Self)^.clr := $00000020;
  61464. end;
  61465. procedure TETH_EMAC1CFG2.setPADENABLE(thebits : TBits_1); inline;
  61466. begin
  61467. if thebits = 0 then
  61468. pTDefRegMap(@Self)^.clr := $00000020
  61469. else
  61470. pTDefRegMap(@Self)^.&set := $00000020;
  61471. end;
  61472. function TETH_EMAC1CFG2.getPADENABLE : TBits_1; inline;
  61473. begin
  61474. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61475. end;
  61476. procedure TETH_EMAC1CFG2.setVLANPAD; inline;
  61477. begin
  61478. pTDefRegMap(@Self)^.&set := $00000040;
  61479. end;
  61480. procedure TETH_EMAC1CFG2.clearVLANPAD; inline;
  61481. begin
  61482. pTDefRegMap(@Self)^.clr := $00000040;
  61483. end;
  61484. procedure TETH_EMAC1CFG2.setVLANPAD(thebits : TBits_1); inline;
  61485. begin
  61486. if thebits = 0 then
  61487. pTDefRegMap(@Self)^.clr := $00000040
  61488. else
  61489. pTDefRegMap(@Self)^.&set := $00000040;
  61490. end;
  61491. function TETH_EMAC1CFG2.getVLANPAD : TBits_1; inline;
  61492. begin
  61493. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61494. end;
  61495. procedure TETH_EMAC1CFG2.setAUTOPAD; inline;
  61496. begin
  61497. pTDefRegMap(@Self)^.&set := $00000080;
  61498. end;
  61499. procedure TETH_EMAC1CFG2.clearAUTOPAD; inline;
  61500. begin
  61501. pTDefRegMap(@Self)^.clr := $00000080;
  61502. end;
  61503. procedure TETH_EMAC1CFG2.setAUTOPAD(thebits : TBits_1); inline;
  61504. begin
  61505. if thebits = 0 then
  61506. pTDefRegMap(@Self)^.clr := $00000080
  61507. else
  61508. pTDefRegMap(@Self)^.&set := $00000080;
  61509. end;
  61510. function TETH_EMAC1CFG2.getAUTOPAD : TBits_1; inline;
  61511. begin
  61512. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61513. end;
  61514. procedure TETH_EMAC1CFG2.setPUREPRE; inline;
  61515. begin
  61516. pTDefRegMap(@Self)^.&set := $00000100;
  61517. end;
  61518. procedure TETH_EMAC1CFG2.clearPUREPRE; inline;
  61519. begin
  61520. pTDefRegMap(@Self)^.clr := $00000100;
  61521. end;
  61522. procedure TETH_EMAC1CFG2.setPUREPRE(thebits : TBits_1); inline;
  61523. begin
  61524. if thebits = 0 then
  61525. pTDefRegMap(@Self)^.clr := $00000100
  61526. else
  61527. pTDefRegMap(@Self)^.&set := $00000100;
  61528. end;
  61529. function TETH_EMAC1CFG2.getPUREPRE : TBits_1; inline;
  61530. begin
  61531. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61532. end;
  61533. procedure TETH_EMAC1CFG2.setLONGPRE; inline;
  61534. begin
  61535. pTDefRegMap(@Self)^.&set := $00000200;
  61536. end;
  61537. procedure TETH_EMAC1CFG2.clearLONGPRE; inline;
  61538. begin
  61539. pTDefRegMap(@Self)^.clr := $00000200;
  61540. end;
  61541. procedure TETH_EMAC1CFG2.setLONGPRE(thebits : TBits_1); inline;
  61542. begin
  61543. if thebits = 0 then
  61544. pTDefRegMap(@Self)^.clr := $00000200
  61545. else
  61546. pTDefRegMap(@Self)^.&set := $00000200;
  61547. end;
  61548. function TETH_EMAC1CFG2.getLONGPRE : TBits_1; inline;
  61549. begin
  61550. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61551. end;
  61552. procedure TETH_EMAC1CFG2.setNOBKOFF; inline;
  61553. begin
  61554. pTDefRegMap(@Self)^.&set := $00001000;
  61555. end;
  61556. procedure TETH_EMAC1CFG2.clearNOBKOFF; inline;
  61557. begin
  61558. pTDefRegMap(@Self)^.clr := $00001000;
  61559. end;
  61560. procedure TETH_EMAC1CFG2.setNOBKOFF(thebits : TBits_1); inline;
  61561. begin
  61562. if thebits = 0 then
  61563. pTDefRegMap(@Self)^.clr := $00001000
  61564. else
  61565. pTDefRegMap(@Self)^.&set := $00001000;
  61566. end;
  61567. function TETH_EMAC1CFG2.getNOBKOFF : TBits_1; inline;
  61568. begin
  61569. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61570. end;
  61571. procedure TETH_EMAC1CFG2.setBPNOBKOFF; inline;
  61572. begin
  61573. pTDefRegMap(@Self)^.&set := $00002000;
  61574. end;
  61575. procedure TETH_EMAC1CFG2.clearBPNOBKOFF; inline;
  61576. begin
  61577. pTDefRegMap(@Self)^.clr := $00002000;
  61578. end;
  61579. procedure TETH_EMAC1CFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  61580. begin
  61581. if thebits = 0 then
  61582. pTDefRegMap(@Self)^.clr := $00002000
  61583. else
  61584. pTDefRegMap(@Self)^.&set := $00002000;
  61585. end;
  61586. function TETH_EMAC1CFG2.getBPNOBKOFF : TBits_1; inline;
  61587. begin
  61588. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61589. end;
  61590. procedure TETH_EMAC1CFG2.setEXCESSDFR; inline;
  61591. begin
  61592. pTDefRegMap(@Self)^.&set := $00004000;
  61593. end;
  61594. procedure TETH_EMAC1CFG2.clearEXCESSDFR; inline;
  61595. begin
  61596. pTDefRegMap(@Self)^.clr := $00004000;
  61597. end;
  61598. procedure TETH_EMAC1CFG2.setEXCESSDFR(thebits : TBits_1); inline;
  61599. begin
  61600. if thebits = 0 then
  61601. pTDefRegMap(@Self)^.clr := $00004000
  61602. else
  61603. pTDefRegMap(@Self)^.&set := $00004000;
  61604. end;
  61605. function TETH_EMAC1CFG2.getEXCESSDFR : TBits_1; inline;
  61606. begin
  61607. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61608. end;
  61609. procedure TETH_EMAC1CFG2.setw(thebits : TBits_32); inline;
  61610. begin
  61611. pTDefRegMap(@Self)^.val := thebits;
  61612. end;
  61613. function TETH_EMAC1CFG2.getw : TBits_32; inline;
  61614. begin
  61615. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61616. end;
  61617. procedure TETH_EMACxCFG2.setFULLDPLX; inline;
  61618. begin
  61619. pTDefRegMap(@Self)^.&set := $00000001;
  61620. end;
  61621. procedure TETH_EMACxCFG2.clearFULLDPLX; inline;
  61622. begin
  61623. pTDefRegMap(@Self)^.clr := $00000001;
  61624. end;
  61625. procedure TETH_EMACxCFG2.setFULLDPLX(thebits : TBits_1); inline;
  61626. begin
  61627. if thebits = 0 then
  61628. pTDefRegMap(@Self)^.clr := $00000001
  61629. else
  61630. pTDefRegMap(@Self)^.&set := $00000001;
  61631. end;
  61632. function TETH_EMACxCFG2.getFULLDPLX : TBits_1; inline;
  61633. begin
  61634. getFULLDPLX := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  61635. end;
  61636. procedure TETH_EMACxCFG2.setLENGTHCK; inline;
  61637. begin
  61638. pTDefRegMap(@Self)^.&set := $00000002;
  61639. end;
  61640. procedure TETH_EMACxCFG2.clearLENGTHCK; inline;
  61641. begin
  61642. pTDefRegMap(@Self)^.clr := $00000002;
  61643. end;
  61644. procedure TETH_EMACxCFG2.setLENGTHCK(thebits : TBits_1); inline;
  61645. begin
  61646. if thebits = 0 then
  61647. pTDefRegMap(@Self)^.clr := $00000002
  61648. else
  61649. pTDefRegMap(@Self)^.&set := $00000002;
  61650. end;
  61651. function TETH_EMACxCFG2.getLENGTHCK : TBits_1; inline;
  61652. begin
  61653. getLENGTHCK := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  61654. end;
  61655. procedure TETH_EMACxCFG2.setHUGEFRM; inline;
  61656. begin
  61657. pTDefRegMap(@Self)^.&set := $00000004;
  61658. end;
  61659. procedure TETH_EMACxCFG2.clearHUGEFRM; inline;
  61660. begin
  61661. pTDefRegMap(@Self)^.clr := $00000004;
  61662. end;
  61663. procedure TETH_EMACxCFG2.setHUGEFRM(thebits : TBits_1); inline;
  61664. begin
  61665. if thebits = 0 then
  61666. pTDefRegMap(@Self)^.clr := $00000004
  61667. else
  61668. pTDefRegMap(@Self)^.&set := $00000004;
  61669. end;
  61670. function TETH_EMACxCFG2.getHUGEFRM : TBits_1; inline;
  61671. begin
  61672. getHUGEFRM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  61673. end;
  61674. procedure TETH_EMACxCFG2.setDELAYCRC; inline;
  61675. begin
  61676. pTDefRegMap(@Self)^.&set := $00000008;
  61677. end;
  61678. procedure TETH_EMACxCFG2.clearDELAYCRC; inline;
  61679. begin
  61680. pTDefRegMap(@Self)^.clr := $00000008;
  61681. end;
  61682. procedure TETH_EMACxCFG2.setDELAYCRC(thebits : TBits_1); inline;
  61683. begin
  61684. if thebits = 0 then
  61685. pTDefRegMap(@Self)^.clr := $00000008
  61686. else
  61687. pTDefRegMap(@Self)^.&set := $00000008;
  61688. end;
  61689. function TETH_EMACxCFG2.getDELAYCRC : TBits_1; inline;
  61690. begin
  61691. getDELAYCRC := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  61692. end;
  61693. procedure TETH_EMACxCFG2.setCRCENABLE; inline;
  61694. begin
  61695. pTDefRegMap(@Self)^.&set := $00000010;
  61696. end;
  61697. procedure TETH_EMACxCFG2.clearCRCENABLE; inline;
  61698. begin
  61699. pTDefRegMap(@Self)^.clr := $00000010;
  61700. end;
  61701. procedure TETH_EMACxCFG2.setCRCENABLE(thebits : TBits_1); inline;
  61702. begin
  61703. if thebits = 0 then
  61704. pTDefRegMap(@Self)^.clr := $00000010
  61705. else
  61706. pTDefRegMap(@Self)^.&set := $00000010;
  61707. end;
  61708. function TETH_EMACxCFG2.getCRCENABLE : TBits_1; inline;
  61709. begin
  61710. getCRCENABLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  61711. end;
  61712. procedure TETH_EMACxCFG2.setPADENABLE; inline;
  61713. begin
  61714. pTDefRegMap(@Self)^.&set := $00000020;
  61715. end;
  61716. procedure TETH_EMACxCFG2.clearPADENABLE; inline;
  61717. begin
  61718. pTDefRegMap(@Self)^.clr := $00000020;
  61719. end;
  61720. procedure TETH_EMACxCFG2.setPADENABLE(thebits : TBits_1); inline;
  61721. begin
  61722. if thebits = 0 then
  61723. pTDefRegMap(@Self)^.clr := $00000020
  61724. else
  61725. pTDefRegMap(@Self)^.&set := $00000020;
  61726. end;
  61727. function TETH_EMACxCFG2.getPADENABLE : TBits_1; inline;
  61728. begin
  61729. getPADENABLE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  61730. end;
  61731. procedure TETH_EMACxCFG2.setVLANPAD; inline;
  61732. begin
  61733. pTDefRegMap(@Self)^.&set := $00000040;
  61734. end;
  61735. procedure TETH_EMACxCFG2.clearVLANPAD; inline;
  61736. begin
  61737. pTDefRegMap(@Self)^.clr := $00000040;
  61738. end;
  61739. procedure TETH_EMACxCFG2.setVLANPAD(thebits : TBits_1); inline;
  61740. begin
  61741. if thebits = 0 then
  61742. pTDefRegMap(@Self)^.clr := $00000040
  61743. else
  61744. pTDefRegMap(@Self)^.&set := $00000040;
  61745. end;
  61746. function TETH_EMACxCFG2.getVLANPAD : TBits_1; inline;
  61747. begin
  61748. getVLANPAD := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  61749. end;
  61750. procedure TETH_EMACxCFG2.setAUTOPAD; inline;
  61751. begin
  61752. pTDefRegMap(@Self)^.&set := $00000080;
  61753. end;
  61754. procedure TETH_EMACxCFG2.clearAUTOPAD; inline;
  61755. begin
  61756. pTDefRegMap(@Self)^.clr := $00000080;
  61757. end;
  61758. procedure TETH_EMACxCFG2.setAUTOPAD(thebits : TBits_1); inline;
  61759. begin
  61760. if thebits = 0 then
  61761. pTDefRegMap(@Self)^.clr := $00000080
  61762. else
  61763. pTDefRegMap(@Self)^.&set := $00000080;
  61764. end;
  61765. function TETH_EMACxCFG2.getAUTOPAD : TBits_1; inline;
  61766. begin
  61767. getAUTOPAD := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  61768. end;
  61769. procedure TETH_EMACxCFG2.setPUREPRE; inline;
  61770. begin
  61771. pTDefRegMap(@Self)^.&set := $00000100;
  61772. end;
  61773. procedure TETH_EMACxCFG2.clearPUREPRE; inline;
  61774. begin
  61775. pTDefRegMap(@Self)^.clr := $00000100;
  61776. end;
  61777. procedure TETH_EMACxCFG2.setPUREPRE(thebits : TBits_1); inline;
  61778. begin
  61779. if thebits = 0 then
  61780. pTDefRegMap(@Self)^.clr := $00000100
  61781. else
  61782. pTDefRegMap(@Self)^.&set := $00000100;
  61783. end;
  61784. function TETH_EMACxCFG2.getPUREPRE : TBits_1; inline;
  61785. begin
  61786. getPUREPRE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  61787. end;
  61788. procedure TETH_EMACxCFG2.setLONGPRE; inline;
  61789. begin
  61790. pTDefRegMap(@Self)^.&set := $00000200;
  61791. end;
  61792. procedure TETH_EMACxCFG2.clearLONGPRE; inline;
  61793. begin
  61794. pTDefRegMap(@Self)^.clr := $00000200;
  61795. end;
  61796. procedure TETH_EMACxCFG2.setLONGPRE(thebits : TBits_1); inline;
  61797. begin
  61798. if thebits = 0 then
  61799. pTDefRegMap(@Self)^.clr := $00000200
  61800. else
  61801. pTDefRegMap(@Self)^.&set := $00000200;
  61802. end;
  61803. function TETH_EMACxCFG2.getLONGPRE : TBits_1; inline;
  61804. begin
  61805. getLONGPRE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  61806. end;
  61807. procedure TETH_EMACxCFG2.setNOBKOFF; inline;
  61808. begin
  61809. pTDefRegMap(@Self)^.&set := $00001000;
  61810. end;
  61811. procedure TETH_EMACxCFG2.clearNOBKOFF; inline;
  61812. begin
  61813. pTDefRegMap(@Self)^.clr := $00001000;
  61814. end;
  61815. procedure TETH_EMACxCFG2.setNOBKOFF(thebits : TBits_1); inline;
  61816. begin
  61817. if thebits = 0 then
  61818. pTDefRegMap(@Self)^.clr := $00001000
  61819. else
  61820. pTDefRegMap(@Self)^.&set := $00001000;
  61821. end;
  61822. function TETH_EMACxCFG2.getNOBKOFF : TBits_1; inline;
  61823. begin
  61824. getNOBKOFF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  61825. end;
  61826. procedure TETH_EMACxCFG2.setBPNOBKOFF; inline;
  61827. begin
  61828. pTDefRegMap(@Self)^.&set := $00002000;
  61829. end;
  61830. procedure TETH_EMACxCFG2.clearBPNOBKOFF; inline;
  61831. begin
  61832. pTDefRegMap(@Self)^.clr := $00002000;
  61833. end;
  61834. procedure TETH_EMACxCFG2.setBPNOBKOFF(thebits : TBits_1); inline;
  61835. begin
  61836. if thebits = 0 then
  61837. pTDefRegMap(@Self)^.clr := $00002000
  61838. else
  61839. pTDefRegMap(@Self)^.&set := $00002000;
  61840. end;
  61841. function TETH_EMACxCFG2.getBPNOBKOFF : TBits_1; inline;
  61842. begin
  61843. getBPNOBKOFF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  61844. end;
  61845. procedure TETH_EMACxCFG2.setEXCESSDFR; inline;
  61846. begin
  61847. pTDefRegMap(@Self)^.&set := $00004000;
  61848. end;
  61849. procedure TETH_EMACxCFG2.clearEXCESSDFR; inline;
  61850. begin
  61851. pTDefRegMap(@Self)^.clr := $00004000;
  61852. end;
  61853. procedure TETH_EMACxCFG2.setEXCESSDFR(thebits : TBits_1); inline;
  61854. begin
  61855. if thebits = 0 then
  61856. pTDefRegMap(@Self)^.clr := $00004000
  61857. else
  61858. pTDefRegMap(@Self)^.&set := $00004000;
  61859. end;
  61860. function TETH_EMACxCFG2.getEXCESSDFR : TBits_1; inline;
  61861. begin
  61862. getEXCESSDFR := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  61863. end;
  61864. procedure TETH_EMACxCFG2.setw(thebits : TBits_32); inline;
  61865. begin
  61866. pTDefRegMap(@Self)^.val := thebits;
  61867. end;
  61868. function TETH_EMACxCFG2.getw : TBits_32; inline;
  61869. begin
  61870. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61871. end;
  61872. procedure TETH_EMAC1IPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  61873. begin
  61874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61875. end;
  61876. function TETH_EMAC1IPGT.getB2BIPKTGP : TBits_7; inline;
  61877. begin
  61878. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61879. end;
  61880. procedure TETH_EMAC1IPGT.setw(thebits : TBits_32); inline;
  61881. begin
  61882. pTDefRegMap(@Self)^.val := thebits;
  61883. end;
  61884. function TETH_EMAC1IPGT.getw : TBits_32; inline;
  61885. begin
  61886. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61887. end;
  61888. procedure TETH_EMACxIPGT.setB2BIPKTGP(thebits : TBits_7); inline;
  61889. begin
  61890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61891. end;
  61892. function TETH_EMACxIPGT.getB2BIPKTGP : TBits_7; inline;
  61893. begin
  61894. getB2BIPKTGP := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61895. end;
  61896. procedure TETH_EMACxIPGT.setw(thebits : TBits_32); inline;
  61897. begin
  61898. pTDefRegMap(@Self)^.val := thebits;
  61899. end;
  61900. function TETH_EMACxIPGT.getw : TBits_32; inline;
  61901. begin
  61902. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61903. end;
  61904. procedure TETH_EMAC1IPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  61905. begin
  61906. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61907. end;
  61908. function TETH_EMAC1IPGR.getNB2BIPKTGP2 : TBits_7; inline;
  61909. begin
  61910. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61911. end;
  61912. procedure TETH_EMAC1IPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  61913. begin
  61914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  61915. end;
  61916. function TETH_EMAC1IPGR.getNB2BIPKTGP1 : TBits_7; inline;
  61917. begin
  61918. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  61919. end;
  61920. procedure TETH_EMAC1IPGR.setw(thebits : TBits_32); inline;
  61921. begin
  61922. pTDefRegMap(@Self)^.val := thebits;
  61923. end;
  61924. function TETH_EMAC1IPGR.getw : TBits_32; inline;
  61925. begin
  61926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61927. end;
  61928. procedure TETH_EMACxIPGR.setNB2BIPKTGP2(thebits : TBits_7); inline;
  61929. begin
  61930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  61931. end;
  61932. function TETH_EMACxIPGR.getNB2BIPKTGP2 : TBits_7; inline;
  61933. begin
  61934. getNB2BIPKTGP2 := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  61935. end;
  61936. procedure TETH_EMACxIPGR.setNB2BIPKTGP1(thebits : TBits_7); inline;
  61937. begin
  61938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF80FF or ( thebits shl 8 );
  61939. end;
  61940. function TETH_EMACxIPGR.getNB2BIPKTGP1 : TBits_7; inline;
  61941. begin
  61942. getNB2BIPKTGP1 := (pTDefRegMap(@Self)^.val and $00007F00) shr 8;
  61943. end;
  61944. procedure TETH_EMACxIPGR.setw(thebits : TBits_32); inline;
  61945. begin
  61946. pTDefRegMap(@Self)^.val := thebits;
  61947. end;
  61948. function TETH_EMACxIPGR.getw : TBits_32; inline;
  61949. begin
  61950. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61951. end;
  61952. procedure TETH_EMAC1CLRT.setRETX(thebits : TBits_4); inline;
  61953. begin
  61954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  61955. end;
  61956. function TETH_EMAC1CLRT.getRETX : TBits_4; inline;
  61957. begin
  61958. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  61959. end;
  61960. procedure TETH_EMAC1CLRT.setCWINDOW(thebits : TBits_6); inline;
  61961. begin
  61962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  61963. end;
  61964. function TETH_EMAC1CLRT.getCWINDOW : TBits_6; inline;
  61965. begin
  61966. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  61967. end;
  61968. procedure TETH_EMAC1CLRT.setw(thebits : TBits_32); inline;
  61969. begin
  61970. pTDefRegMap(@Self)^.val := thebits;
  61971. end;
  61972. function TETH_EMAC1CLRT.getw : TBits_32; inline;
  61973. begin
  61974. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61975. end;
  61976. procedure TETH_EMACxCLRT.setRETX(thebits : TBits_4); inline;
  61977. begin
  61978. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  61979. end;
  61980. function TETH_EMACxCLRT.getRETX : TBits_4; inline;
  61981. begin
  61982. getRETX := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  61983. end;
  61984. procedure TETH_EMACxCLRT.setCWINDOW(thebits : TBits_6); inline;
  61985. begin
  61986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC0FF or ( thebits shl 8 );
  61987. end;
  61988. function TETH_EMACxCLRT.getCWINDOW : TBits_6; inline;
  61989. begin
  61990. getCWINDOW := (pTDefRegMap(@Self)^.val and $00003F00) shr 8;
  61991. end;
  61992. procedure TETH_EMACxCLRT.setw(thebits : TBits_32); inline;
  61993. begin
  61994. pTDefRegMap(@Self)^.val := thebits;
  61995. end;
  61996. function TETH_EMACxCLRT.getw : TBits_32; inline;
  61997. begin
  61998. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  61999. end;
  62000. procedure TETH_EMAC1MAXF.setMACMAXF(thebits : TBits_16); inline;
  62001. begin
  62002. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62003. end;
  62004. function TETH_EMAC1MAXF.getMACMAXF : TBits_16; inline;
  62005. begin
  62006. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62007. end;
  62008. procedure TETH_EMAC1MAXF.setw(thebits : TBits_32); inline;
  62009. begin
  62010. pTDefRegMap(@Self)^.val := thebits;
  62011. end;
  62012. function TETH_EMAC1MAXF.getw : TBits_32; inline;
  62013. begin
  62014. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62015. end;
  62016. procedure TETH_EMACxMAXF.setMACMAXF(thebits : TBits_16); inline;
  62017. begin
  62018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62019. end;
  62020. function TETH_EMACxMAXF.getMACMAXF : TBits_16; inline;
  62021. begin
  62022. getMACMAXF := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62023. end;
  62024. procedure TETH_EMACxMAXF.setw(thebits : TBits_32); inline;
  62025. begin
  62026. pTDefRegMap(@Self)^.val := thebits;
  62027. end;
  62028. function TETH_EMACxMAXF.getw : TBits_32; inline;
  62029. begin
  62030. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62031. end;
  62032. procedure TETH_EMAC1SUPP.setSPEEDRMII; inline;
  62033. begin
  62034. pTDefRegMap(@Self)^.&set := $00000100;
  62035. end;
  62036. procedure TETH_EMAC1SUPP.clearSPEEDRMII; inline;
  62037. begin
  62038. pTDefRegMap(@Self)^.clr := $00000100;
  62039. end;
  62040. procedure TETH_EMAC1SUPP.setSPEEDRMII(thebits : TBits_1); inline;
  62041. begin
  62042. if thebits = 0 then
  62043. pTDefRegMap(@Self)^.clr := $00000100
  62044. else
  62045. pTDefRegMap(@Self)^.&set := $00000100;
  62046. end;
  62047. function TETH_EMAC1SUPP.getSPEEDRMII : TBits_1; inline;
  62048. begin
  62049. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62050. end;
  62051. procedure TETH_EMAC1SUPP.setRESETRMII; inline;
  62052. begin
  62053. pTDefRegMap(@Self)^.&set := $00000800;
  62054. end;
  62055. procedure TETH_EMAC1SUPP.clearRESETRMII; inline;
  62056. begin
  62057. pTDefRegMap(@Self)^.clr := $00000800;
  62058. end;
  62059. procedure TETH_EMAC1SUPP.setRESETRMII(thebits : TBits_1); inline;
  62060. begin
  62061. if thebits = 0 then
  62062. pTDefRegMap(@Self)^.clr := $00000800
  62063. else
  62064. pTDefRegMap(@Self)^.&set := $00000800;
  62065. end;
  62066. function TETH_EMAC1SUPP.getRESETRMII : TBits_1; inline;
  62067. begin
  62068. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62069. end;
  62070. procedure TETH_EMAC1SUPP.setw(thebits : TBits_32); inline;
  62071. begin
  62072. pTDefRegMap(@Self)^.val := thebits;
  62073. end;
  62074. function TETH_EMAC1SUPP.getw : TBits_32; inline;
  62075. begin
  62076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62077. end;
  62078. procedure TETH_EMACxSUPP.setSPEEDRMII; inline;
  62079. begin
  62080. pTDefRegMap(@Self)^.&set := $00000100;
  62081. end;
  62082. procedure TETH_EMACxSUPP.clearSPEEDRMII; inline;
  62083. begin
  62084. pTDefRegMap(@Self)^.clr := $00000100;
  62085. end;
  62086. procedure TETH_EMACxSUPP.setSPEEDRMII(thebits : TBits_1); inline;
  62087. begin
  62088. if thebits = 0 then
  62089. pTDefRegMap(@Self)^.clr := $00000100
  62090. else
  62091. pTDefRegMap(@Self)^.&set := $00000100;
  62092. end;
  62093. function TETH_EMACxSUPP.getSPEEDRMII : TBits_1; inline;
  62094. begin
  62095. getSPEEDRMII := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  62096. end;
  62097. procedure TETH_EMACxSUPP.setRESETRMII; inline;
  62098. begin
  62099. pTDefRegMap(@Self)^.&set := $00000800;
  62100. end;
  62101. procedure TETH_EMACxSUPP.clearRESETRMII; inline;
  62102. begin
  62103. pTDefRegMap(@Self)^.clr := $00000800;
  62104. end;
  62105. procedure TETH_EMACxSUPP.setRESETRMII(thebits : TBits_1); inline;
  62106. begin
  62107. if thebits = 0 then
  62108. pTDefRegMap(@Self)^.clr := $00000800
  62109. else
  62110. pTDefRegMap(@Self)^.&set := $00000800;
  62111. end;
  62112. function TETH_EMACxSUPP.getRESETRMII : TBits_1; inline;
  62113. begin
  62114. getRESETRMII := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  62115. end;
  62116. procedure TETH_EMACxSUPP.setw(thebits : TBits_32); inline;
  62117. begin
  62118. pTDefRegMap(@Self)^.val := thebits;
  62119. end;
  62120. function TETH_EMACxSUPP.getw : TBits_32; inline;
  62121. begin
  62122. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62123. end;
  62124. procedure TETH_EMAC1TEST.setSHRTQNTA; inline;
  62125. begin
  62126. pTDefRegMap(@Self)^.&set := $00000001;
  62127. end;
  62128. procedure TETH_EMAC1TEST.clearSHRTQNTA; inline;
  62129. begin
  62130. pTDefRegMap(@Self)^.clr := $00000001;
  62131. end;
  62132. procedure TETH_EMAC1TEST.setSHRTQNTA(thebits : TBits_1); inline;
  62133. begin
  62134. if thebits = 0 then
  62135. pTDefRegMap(@Self)^.clr := $00000001
  62136. else
  62137. pTDefRegMap(@Self)^.&set := $00000001;
  62138. end;
  62139. function TETH_EMAC1TEST.getSHRTQNTA : TBits_1; inline;
  62140. begin
  62141. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62142. end;
  62143. procedure TETH_EMAC1TEST.setTESTPAUSE; inline;
  62144. begin
  62145. pTDefRegMap(@Self)^.&set := $00000002;
  62146. end;
  62147. procedure TETH_EMAC1TEST.clearTESTPAUSE; inline;
  62148. begin
  62149. pTDefRegMap(@Self)^.clr := $00000002;
  62150. end;
  62151. procedure TETH_EMAC1TEST.setTESTPAUSE(thebits : TBits_1); inline;
  62152. begin
  62153. if thebits = 0 then
  62154. pTDefRegMap(@Self)^.clr := $00000002
  62155. else
  62156. pTDefRegMap(@Self)^.&set := $00000002;
  62157. end;
  62158. function TETH_EMAC1TEST.getTESTPAUSE : TBits_1; inline;
  62159. begin
  62160. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62161. end;
  62162. procedure TETH_EMAC1TEST.setTESTBP; inline;
  62163. begin
  62164. pTDefRegMap(@Self)^.&set := $00000004;
  62165. end;
  62166. procedure TETH_EMAC1TEST.clearTESTBP; inline;
  62167. begin
  62168. pTDefRegMap(@Self)^.clr := $00000004;
  62169. end;
  62170. procedure TETH_EMAC1TEST.setTESTBP(thebits : TBits_1); inline;
  62171. begin
  62172. if thebits = 0 then
  62173. pTDefRegMap(@Self)^.clr := $00000004
  62174. else
  62175. pTDefRegMap(@Self)^.&set := $00000004;
  62176. end;
  62177. function TETH_EMAC1TEST.getTESTBP : TBits_1; inline;
  62178. begin
  62179. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62180. end;
  62181. procedure TETH_EMAC1TEST.setw(thebits : TBits_32); inline;
  62182. begin
  62183. pTDefRegMap(@Self)^.val := thebits;
  62184. end;
  62185. function TETH_EMAC1TEST.getw : TBits_32; inline;
  62186. begin
  62187. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62188. end;
  62189. procedure TETH_EMACxTEST.setSHRTQNTA; inline;
  62190. begin
  62191. pTDefRegMap(@Self)^.&set := $00000001;
  62192. end;
  62193. procedure TETH_EMACxTEST.clearSHRTQNTA; inline;
  62194. begin
  62195. pTDefRegMap(@Self)^.clr := $00000001;
  62196. end;
  62197. procedure TETH_EMACxTEST.setSHRTQNTA(thebits : TBits_1); inline;
  62198. begin
  62199. if thebits = 0 then
  62200. pTDefRegMap(@Self)^.clr := $00000001
  62201. else
  62202. pTDefRegMap(@Self)^.&set := $00000001;
  62203. end;
  62204. function TETH_EMACxTEST.getSHRTQNTA : TBits_1; inline;
  62205. begin
  62206. getSHRTQNTA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62207. end;
  62208. procedure TETH_EMACxTEST.setTESTPAUSE; inline;
  62209. begin
  62210. pTDefRegMap(@Self)^.&set := $00000002;
  62211. end;
  62212. procedure TETH_EMACxTEST.clearTESTPAUSE; inline;
  62213. begin
  62214. pTDefRegMap(@Self)^.clr := $00000002;
  62215. end;
  62216. procedure TETH_EMACxTEST.setTESTPAUSE(thebits : TBits_1); inline;
  62217. begin
  62218. if thebits = 0 then
  62219. pTDefRegMap(@Self)^.clr := $00000002
  62220. else
  62221. pTDefRegMap(@Self)^.&set := $00000002;
  62222. end;
  62223. function TETH_EMACxTEST.getTESTPAUSE : TBits_1; inline;
  62224. begin
  62225. getTESTPAUSE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62226. end;
  62227. procedure TETH_EMACxTEST.setTESTBP; inline;
  62228. begin
  62229. pTDefRegMap(@Self)^.&set := $00000004;
  62230. end;
  62231. procedure TETH_EMACxTEST.clearTESTBP; inline;
  62232. begin
  62233. pTDefRegMap(@Self)^.clr := $00000004;
  62234. end;
  62235. procedure TETH_EMACxTEST.setTESTBP(thebits : TBits_1); inline;
  62236. begin
  62237. if thebits = 0 then
  62238. pTDefRegMap(@Self)^.clr := $00000004
  62239. else
  62240. pTDefRegMap(@Self)^.&set := $00000004;
  62241. end;
  62242. function TETH_EMACxTEST.getTESTBP : TBits_1; inline;
  62243. begin
  62244. getTESTBP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62245. end;
  62246. procedure TETH_EMACxTEST.setw(thebits : TBits_32); inline;
  62247. begin
  62248. pTDefRegMap(@Self)^.val := thebits;
  62249. end;
  62250. function TETH_EMACxTEST.getw : TBits_32; inline;
  62251. begin
  62252. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62253. end;
  62254. procedure TETH_EMAC1MCFG.setSCANINC; inline;
  62255. begin
  62256. pTDefRegMap(@Self)^.&set := $00000001;
  62257. end;
  62258. procedure TETH_EMAC1MCFG.clearSCANINC; inline;
  62259. begin
  62260. pTDefRegMap(@Self)^.clr := $00000001;
  62261. end;
  62262. procedure TETH_EMAC1MCFG.setSCANINC(thebits : TBits_1); inline;
  62263. begin
  62264. if thebits = 0 then
  62265. pTDefRegMap(@Self)^.clr := $00000001
  62266. else
  62267. pTDefRegMap(@Self)^.&set := $00000001;
  62268. end;
  62269. function TETH_EMAC1MCFG.getSCANINC : TBits_1; inline;
  62270. begin
  62271. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62272. end;
  62273. procedure TETH_EMAC1MCFG.setNOPRE; inline;
  62274. begin
  62275. pTDefRegMap(@Self)^.&set := $00000002;
  62276. end;
  62277. procedure TETH_EMAC1MCFG.clearNOPRE; inline;
  62278. begin
  62279. pTDefRegMap(@Self)^.clr := $00000002;
  62280. end;
  62281. procedure TETH_EMAC1MCFG.setNOPRE(thebits : TBits_1); inline;
  62282. begin
  62283. if thebits = 0 then
  62284. pTDefRegMap(@Self)^.clr := $00000002
  62285. else
  62286. pTDefRegMap(@Self)^.&set := $00000002;
  62287. end;
  62288. function TETH_EMAC1MCFG.getNOPRE : TBits_1; inline;
  62289. begin
  62290. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62291. end;
  62292. procedure TETH_EMAC1MCFG.setCLKSEL(thebits : TBits_4); inline;
  62293. begin
  62294. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  62295. end;
  62296. function TETH_EMAC1MCFG.getCLKSEL : TBits_4; inline;
  62297. begin
  62298. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  62299. end;
  62300. procedure TETH_EMAC1MCFG.setRESETMGMT; inline;
  62301. begin
  62302. pTDefRegMap(@Self)^.&set := $00008000;
  62303. end;
  62304. procedure TETH_EMAC1MCFG.clearRESETMGMT; inline;
  62305. begin
  62306. pTDefRegMap(@Self)^.clr := $00008000;
  62307. end;
  62308. procedure TETH_EMAC1MCFG.setRESETMGMT(thebits : TBits_1); inline;
  62309. begin
  62310. if thebits = 0 then
  62311. pTDefRegMap(@Self)^.clr := $00008000
  62312. else
  62313. pTDefRegMap(@Self)^.&set := $00008000;
  62314. end;
  62315. function TETH_EMAC1MCFG.getRESETMGMT : TBits_1; inline;
  62316. begin
  62317. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62318. end;
  62319. procedure TETH_EMAC1MCFG.setw(thebits : TBits_32); inline;
  62320. begin
  62321. pTDefRegMap(@Self)^.val := thebits;
  62322. end;
  62323. function TETH_EMAC1MCFG.getw : TBits_32; inline;
  62324. begin
  62325. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62326. end;
  62327. procedure TETH_EMACxMCFG.setSCANINC; inline;
  62328. begin
  62329. pTDefRegMap(@Self)^.&set := $00000001;
  62330. end;
  62331. procedure TETH_EMACxMCFG.clearSCANINC; inline;
  62332. begin
  62333. pTDefRegMap(@Self)^.clr := $00000001;
  62334. end;
  62335. procedure TETH_EMACxMCFG.setSCANINC(thebits : TBits_1); inline;
  62336. begin
  62337. if thebits = 0 then
  62338. pTDefRegMap(@Self)^.clr := $00000001
  62339. else
  62340. pTDefRegMap(@Self)^.&set := $00000001;
  62341. end;
  62342. function TETH_EMACxMCFG.getSCANINC : TBits_1; inline;
  62343. begin
  62344. getSCANINC := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62345. end;
  62346. procedure TETH_EMACxMCFG.setNOPRE; inline;
  62347. begin
  62348. pTDefRegMap(@Self)^.&set := $00000002;
  62349. end;
  62350. procedure TETH_EMACxMCFG.clearNOPRE; inline;
  62351. begin
  62352. pTDefRegMap(@Self)^.clr := $00000002;
  62353. end;
  62354. procedure TETH_EMACxMCFG.setNOPRE(thebits : TBits_1); inline;
  62355. begin
  62356. if thebits = 0 then
  62357. pTDefRegMap(@Self)^.clr := $00000002
  62358. else
  62359. pTDefRegMap(@Self)^.&set := $00000002;
  62360. end;
  62361. function TETH_EMACxMCFG.getNOPRE : TBits_1; inline;
  62362. begin
  62363. getNOPRE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62364. end;
  62365. procedure TETH_EMACxMCFG.setCLKSEL(thebits : TBits_4); inline;
  62366. begin
  62367. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  62368. end;
  62369. function TETH_EMACxMCFG.getCLKSEL : TBits_4; inline;
  62370. begin
  62371. getCLKSEL := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  62372. end;
  62373. procedure TETH_EMACxMCFG.setRESETMGMT; inline;
  62374. begin
  62375. pTDefRegMap(@Self)^.&set := $00008000;
  62376. end;
  62377. procedure TETH_EMACxMCFG.clearRESETMGMT; inline;
  62378. begin
  62379. pTDefRegMap(@Self)^.clr := $00008000;
  62380. end;
  62381. procedure TETH_EMACxMCFG.setRESETMGMT(thebits : TBits_1); inline;
  62382. begin
  62383. if thebits = 0 then
  62384. pTDefRegMap(@Self)^.clr := $00008000
  62385. else
  62386. pTDefRegMap(@Self)^.&set := $00008000;
  62387. end;
  62388. function TETH_EMACxMCFG.getRESETMGMT : TBits_1; inline;
  62389. begin
  62390. getRESETMGMT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  62391. end;
  62392. procedure TETH_EMACxMCFG.setw(thebits : TBits_32); inline;
  62393. begin
  62394. pTDefRegMap(@Self)^.val := thebits;
  62395. end;
  62396. function TETH_EMACxMCFG.getw : TBits_32; inline;
  62397. begin
  62398. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62399. end;
  62400. procedure TETH_EMAC1MCMD.setREAD; inline;
  62401. begin
  62402. pTDefRegMap(@Self)^.&set := $00000001;
  62403. end;
  62404. procedure TETH_EMAC1MCMD.clearREAD; inline;
  62405. begin
  62406. pTDefRegMap(@Self)^.clr := $00000001;
  62407. end;
  62408. procedure TETH_EMAC1MCMD.setREAD(thebits : TBits_1); inline;
  62409. begin
  62410. if thebits = 0 then
  62411. pTDefRegMap(@Self)^.clr := $00000001
  62412. else
  62413. pTDefRegMap(@Self)^.&set := $00000001;
  62414. end;
  62415. function TETH_EMAC1MCMD.getREAD : TBits_1; inline;
  62416. begin
  62417. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62418. end;
  62419. procedure TETH_EMAC1MCMD.setSCAN; inline;
  62420. begin
  62421. pTDefRegMap(@Self)^.&set := $00000002;
  62422. end;
  62423. procedure TETH_EMAC1MCMD.clearSCAN; inline;
  62424. begin
  62425. pTDefRegMap(@Self)^.clr := $00000002;
  62426. end;
  62427. procedure TETH_EMAC1MCMD.setSCAN(thebits : TBits_1); inline;
  62428. begin
  62429. if thebits = 0 then
  62430. pTDefRegMap(@Self)^.clr := $00000002
  62431. else
  62432. pTDefRegMap(@Self)^.&set := $00000002;
  62433. end;
  62434. function TETH_EMAC1MCMD.getSCAN : TBits_1; inline;
  62435. begin
  62436. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62437. end;
  62438. procedure TETH_EMAC1MCMD.setw(thebits : TBits_32); inline;
  62439. begin
  62440. pTDefRegMap(@Self)^.val := thebits;
  62441. end;
  62442. function TETH_EMAC1MCMD.getw : TBits_32; inline;
  62443. begin
  62444. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62445. end;
  62446. procedure TETH_EMACxMCMD.setREAD; inline;
  62447. begin
  62448. pTDefRegMap(@Self)^.&set := $00000001;
  62449. end;
  62450. procedure TETH_EMACxMCMD.clearREAD; inline;
  62451. begin
  62452. pTDefRegMap(@Self)^.clr := $00000001;
  62453. end;
  62454. procedure TETH_EMACxMCMD.setREAD(thebits : TBits_1); inline;
  62455. begin
  62456. if thebits = 0 then
  62457. pTDefRegMap(@Self)^.clr := $00000001
  62458. else
  62459. pTDefRegMap(@Self)^.&set := $00000001;
  62460. end;
  62461. function TETH_EMACxMCMD.getREAD : TBits_1; inline;
  62462. begin
  62463. getREAD := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62464. end;
  62465. procedure TETH_EMACxMCMD.setSCAN; inline;
  62466. begin
  62467. pTDefRegMap(@Self)^.&set := $00000002;
  62468. end;
  62469. procedure TETH_EMACxMCMD.clearSCAN; inline;
  62470. begin
  62471. pTDefRegMap(@Self)^.clr := $00000002;
  62472. end;
  62473. procedure TETH_EMACxMCMD.setSCAN(thebits : TBits_1); inline;
  62474. begin
  62475. if thebits = 0 then
  62476. pTDefRegMap(@Self)^.clr := $00000002
  62477. else
  62478. pTDefRegMap(@Self)^.&set := $00000002;
  62479. end;
  62480. function TETH_EMACxMCMD.getSCAN : TBits_1; inline;
  62481. begin
  62482. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62483. end;
  62484. procedure TETH_EMACxMCMD.setw(thebits : TBits_32); inline;
  62485. begin
  62486. pTDefRegMap(@Self)^.val := thebits;
  62487. end;
  62488. function TETH_EMACxMCMD.getw : TBits_32; inline;
  62489. begin
  62490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62491. end;
  62492. procedure TETH_EMAC1MADR.setREGADDR(thebits : TBits_5); inline;
  62493. begin
  62494. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  62495. end;
  62496. function TETH_EMAC1MADR.getREGADDR : TBits_5; inline;
  62497. begin
  62498. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  62499. end;
  62500. procedure TETH_EMAC1MADR.setPHYADDR(thebits : TBits_5); inline;
  62501. begin
  62502. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  62503. end;
  62504. function TETH_EMAC1MADR.getPHYADDR : TBits_5; inline;
  62505. begin
  62506. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  62507. end;
  62508. procedure TETH_EMAC1MADR.setw(thebits : TBits_32); inline;
  62509. begin
  62510. pTDefRegMap(@Self)^.val := thebits;
  62511. end;
  62512. function TETH_EMAC1MADR.getw : TBits_32; inline;
  62513. begin
  62514. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62515. end;
  62516. procedure TETH_EMACxMADR.setREGADDR(thebits : TBits_5); inline;
  62517. begin
  62518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE0 or ( thebits shl 0 );
  62519. end;
  62520. function TETH_EMACxMADR.getREGADDR : TBits_5; inline;
  62521. begin
  62522. getREGADDR := (pTDefRegMap(@Self)^.val and $0000001F) shr 0;
  62523. end;
  62524. procedure TETH_EMACxMADR.setPHYADDR(thebits : TBits_5); inline;
  62525. begin
  62526. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  62527. end;
  62528. function TETH_EMACxMADR.getPHYADDR : TBits_5; inline;
  62529. begin
  62530. getPHYADDR := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  62531. end;
  62532. procedure TETH_EMACxMADR.setw(thebits : TBits_32); inline;
  62533. begin
  62534. pTDefRegMap(@Self)^.val := thebits;
  62535. end;
  62536. function TETH_EMACxMADR.getw : TBits_32; inline;
  62537. begin
  62538. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62539. end;
  62540. procedure TETH_EMAC1MWTD.setMWTD(thebits : TBits_16); inline;
  62541. begin
  62542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62543. end;
  62544. function TETH_EMAC1MWTD.getMWTD : TBits_16; inline;
  62545. begin
  62546. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62547. end;
  62548. procedure TETH_EMAC1MWTD.setw(thebits : TBits_32); inline;
  62549. begin
  62550. pTDefRegMap(@Self)^.val := thebits;
  62551. end;
  62552. function TETH_EMAC1MWTD.getw : TBits_32; inline;
  62553. begin
  62554. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62555. end;
  62556. procedure TETH_EMACxMWTD.setMWTD(thebits : TBits_16); inline;
  62557. begin
  62558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62559. end;
  62560. function TETH_EMACxMWTD.getMWTD : TBits_16; inline;
  62561. begin
  62562. getMWTD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62563. end;
  62564. procedure TETH_EMACxMWTD.setw(thebits : TBits_32); inline;
  62565. begin
  62566. pTDefRegMap(@Self)^.val := thebits;
  62567. end;
  62568. function TETH_EMACxMWTD.getw : TBits_32; inline;
  62569. begin
  62570. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62571. end;
  62572. procedure TETH_EMAC1MRDD.setMRDD(thebits : TBits_16); inline;
  62573. begin
  62574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62575. end;
  62576. function TETH_EMAC1MRDD.getMRDD : TBits_16; inline;
  62577. begin
  62578. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62579. end;
  62580. procedure TETH_EMAC1MRDD.setw(thebits : TBits_32); inline;
  62581. begin
  62582. pTDefRegMap(@Self)^.val := thebits;
  62583. end;
  62584. function TETH_EMAC1MRDD.getw : TBits_32; inline;
  62585. begin
  62586. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62587. end;
  62588. procedure TETH_EMACxMRDD.setMRDD(thebits : TBits_16); inline;
  62589. begin
  62590. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62591. end;
  62592. function TETH_EMACxMRDD.getMRDD : TBits_16; inline;
  62593. begin
  62594. getMRDD := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62595. end;
  62596. procedure TETH_EMACxMRDD.setw(thebits : TBits_32); inline;
  62597. begin
  62598. pTDefRegMap(@Self)^.val := thebits;
  62599. end;
  62600. function TETH_EMACxMRDD.getw : TBits_32; inline;
  62601. begin
  62602. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62603. end;
  62604. procedure TETH_EMAC1MIND.setMIIMBUSY; inline;
  62605. begin
  62606. pTDefRegMap(@Self)^.&set := $00000001;
  62607. end;
  62608. procedure TETH_EMAC1MIND.clearMIIMBUSY; inline;
  62609. begin
  62610. pTDefRegMap(@Self)^.clr := $00000001;
  62611. end;
  62612. procedure TETH_EMAC1MIND.setMIIMBUSY(thebits : TBits_1); inline;
  62613. begin
  62614. if thebits = 0 then
  62615. pTDefRegMap(@Self)^.clr := $00000001
  62616. else
  62617. pTDefRegMap(@Self)^.&set := $00000001;
  62618. end;
  62619. function TETH_EMAC1MIND.getMIIMBUSY : TBits_1; inline;
  62620. begin
  62621. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62622. end;
  62623. procedure TETH_EMAC1MIND.setSCAN; inline;
  62624. begin
  62625. pTDefRegMap(@Self)^.&set := $00000002;
  62626. end;
  62627. procedure TETH_EMAC1MIND.clearSCAN; inline;
  62628. begin
  62629. pTDefRegMap(@Self)^.clr := $00000002;
  62630. end;
  62631. procedure TETH_EMAC1MIND.setSCAN(thebits : TBits_1); inline;
  62632. begin
  62633. if thebits = 0 then
  62634. pTDefRegMap(@Self)^.clr := $00000002
  62635. else
  62636. pTDefRegMap(@Self)^.&set := $00000002;
  62637. end;
  62638. function TETH_EMAC1MIND.getSCAN : TBits_1; inline;
  62639. begin
  62640. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62641. end;
  62642. procedure TETH_EMAC1MIND.setNOTVALID; inline;
  62643. begin
  62644. pTDefRegMap(@Self)^.&set := $00000004;
  62645. end;
  62646. procedure TETH_EMAC1MIND.clearNOTVALID; inline;
  62647. begin
  62648. pTDefRegMap(@Self)^.clr := $00000004;
  62649. end;
  62650. procedure TETH_EMAC1MIND.setNOTVALID(thebits : TBits_1); inline;
  62651. begin
  62652. if thebits = 0 then
  62653. pTDefRegMap(@Self)^.clr := $00000004
  62654. else
  62655. pTDefRegMap(@Self)^.&set := $00000004;
  62656. end;
  62657. function TETH_EMAC1MIND.getNOTVALID : TBits_1; inline;
  62658. begin
  62659. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62660. end;
  62661. procedure TETH_EMAC1MIND.setLINKFAIL; inline;
  62662. begin
  62663. pTDefRegMap(@Self)^.&set := $00000008;
  62664. end;
  62665. procedure TETH_EMAC1MIND.clearLINKFAIL; inline;
  62666. begin
  62667. pTDefRegMap(@Self)^.clr := $00000008;
  62668. end;
  62669. procedure TETH_EMAC1MIND.setLINKFAIL(thebits : TBits_1); inline;
  62670. begin
  62671. if thebits = 0 then
  62672. pTDefRegMap(@Self)^.clr := $00000008
  62673. else
  62674. pTDefRegMap(@Self)^.&set := $00000008;
  62675. end;
  62676. function TETH_EMAC1MIND.getLINKFAIL : TBits_1; inline;
  62677. begin
  62678. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62679. end;
  62680. procedure TETH_EMAC1MIND.setw(thebits : TBits_32); inline;
  62681. begin
  62682. pTDefRegMap(@Self)^.val := thebits;
  62683. end;
  62684. function TETH_EMAC1MIND.getw : TBits_32; inline;
  62685. begin
  62686. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62687. end;
  62688. procedure TETH_EMACxMIND.setMIIMBUSY; inline;
  62689. begin
  62690. pTDefRegMap(@Self)^.&set := $00000001;
  62691. end;
  62692. procedure TETH_EMACxMIND.clearMIIMBUSY; inline;
  62693. begin
  62694. pTDefRegMap(@Self)^.clr := $00000001;
  62695. end;
  62696. procedure TETH_EMACxMIND.setMIIMBUSY(thebits : TBits_1); inline;
  62697. begin
  62698. if thebits = 0 then
  62699. pTDefRegMap(@Self)^.clr := $00000001
  62700. else
  62701. pTDefRegMap(@Self)^.&set := $00000001;
  62702. end;
  62703. function TETH_EMACxMIND.getMIIMBUSY : TBits_1; inline;
  62704. begin
  62705. getMIIMBUSY := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  62706. end;
  62707. procedure TETH_EMACxMIND.setSCAN; inline;
  62708. begin
  62709. pTDefRegMap(@Self)^.&set := $00000002;
  62710. end;
  62711. procedure TETH_EMACxMIND.clearSCAN; inline;
  62712. begin
  62713. pTDefRegMap(@Self)^.clr := $00000002;
  62714. end;
  62715. procedure TETH_EMACxMIND.setSCAN(thebits : TBits_1); inline;
  62716. begin
  62717. if thebits = 0 then
  62718. pTDefRegMap(@Self)^.clr := $00000002
  62719. else
  62720. pTDefRegMap(@Self)^.&set := $00000002;
  62721. end;
  62722. function TETH_EMACxMIND.getSCAN : TBits_1; inline;
  62723. begin
  62724. getSCAN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  62725. end;
  62726. procedure TETH_EMACxMIND.setNOTVALID; inline;
  62727. begin
  62728. pTDefRegMap(@Self)^.&set := $00000004;
  62729. end;
  62730. procedure TETH_EMACxMIND.clearNOTVALID; inline;
  62731. begin
  62732. pTDefRegMap(@Self)^.clr := $00000004;
  62733. end;
  62734. procedure TETH_EMACxMIND.setNOTVALID(thebits : TBits_1); inline;
  62735. begin
  62736. if thebits = 0 then
  62737. pTDefRegMap(@Self)^.clr := $00000004
  62738. else
  62739. pTDefRegMap(@Self)^.&set := $00000004;
  62740. end;
  62741. function TETH_EMACxMIND.getNOTVALID : TBits_1; inline;
  62742. begin
  62743. getNOTVALID := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  62744. end;
  62745. procedure TETH_EMACxMIND.setLINKFAIL; inline;
  62746. begin
  62747. pTDefRegMap(@Self)^.&set := $00000008;
  62748. end;
  62749. procedure TETH_EMACxMIND.clearLINKFAIL; inline;
  62750. begin
  62751. pTDefRegMap(@Self)^.clr := $00000008;
  62752. end;
  62753. procedure TETH_EMACxMIND.setLINKFAIL(thebits : TBits_1); inline;
  62754. begin
  62755. if thebits = 0 then
  62756. pTDefRegMap(@Self)^.clr := $00000008
  62757. else
  62758. pTDefRegMap(@Self)^.&set := $00000008;
  62759. end;
  62760. function TETH_EMACxMIND.getLINKFAIL : TBits_1; inline;
  62761. begin
  62762. getLINKFAIL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  62763. end;
  62764. procedure TETH_EMACxMIND.setw(thebits : TBits_32); inline;
  62765. begin
  62766. pTDefRegMap(@Self)^.val := thebits;
  62767. end;
  62768. function TETH_EMACxMIND.getw : TBits_32; inline;
  62769. begin
  62770. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62771. end;
  62772. procedure TETH_EMAC1SA0.setSTNADDR5(thebits : TBits_8); inline;
  62773. begin
  62774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62775. end;
  62776. function TETH_EMAC1SA0.getSTNADDR5 : TBits_8; inline;
  62777. begin
  62778. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62779. end;
  62780. procedure TETH_EMAC1SA0.setSTNADDR6(thebits : TBits_8); inline;
  62781. begin
  62782. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62783. end;
  62784. function TETH_EMAC1SA0.getSTNADDR6 : TBits_8; inline;
  62785. begin
  62786. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62787. end;
  62788. procedure TETH_EMAC1SA0.setw(thebits : TBits_32); inline;
  62789. begin
  62790. pTDefRegMap(@Self)^.val := thebits;
  62791. end;
  62792. function TETH_EMAC1SA0.getw : TBits_32; inline;
  62793. begin
  62794. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62795. end;
  62796. procedure TETH_EMACxSA0.setSTNADDR5(thebits : TBits_8); inline;
  62797. begin
  62798. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62799. end;
  62800. function TETH_EMACxSA0.getSTNADDR5 : TBits_8; inline;
  62801. begin
  62802. getSTNADDR5 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62803. end;
  62804. procedure TETH_EMACxSA0.setSTNADDR6(thebits : TBits_8); inline;
  62805. begin
  62806. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62807. end;
  62808. function TETH_EMACxSA0.getSTNADDR6 : TBits_8; inline;
  62809. begin
  62810. getSTNADDR6 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62811. end;
  62812. procedure TETH_EMACxSA0.setw(thebits : TBits_32); inline;
  62813. begin
  62814. pTDefRegMap(@Self)^.val := thebits;
  62815. end;
  62816. function TETH_EMACxSA0.getw : TBits_32; inline;
  62817. begin
  62818. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62819. end;
  62820. procedure TETH_EMAC1SA1.setSTNADDR3(thebits : TBits_8); inline;
  62821. begin
  62822. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62823. end;
  62824. function TETH_EMAC1SA1.getSTNADDR3 : TBits_8; inline;
  62825. begin
  62826. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62827. end;
  62828. procedure TETH_EMAC1SA1.setSTNADDR4(thebits : TBits_8); inline;
  62829. begin
  62830. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62831. end;
  62832. function TETH_EMAC1SA1.getSTNADDR4 : TBits_8; inline;
  62833. begin
  62834. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62835. end;
  62836. procedure TETH_EMAC1SA1.setw(thebits : TBits_32); inline;
  62837. begin
  62838. pTDefRegMap(@Self)^.val := thebits;
  62839. end;
  62840. function TETH_EMAC1SA1.getw : TBits_32; inline;
  62841. begin
  62842. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62843. end;
  62844. procedure TETH_EMACxSA1.setSTNADDR3(thebits : TBits_8); inline;
  62845. begin
  62846. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62847. end;
  62848. function TETH_EMACxSA1.getSTNADDR3 : TBits_8; inline;
  62849. begin
  62850. getSTNADDR3 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62851. end;
  62852. procedure TETH_EMACxSA1.setSTNADDR4(thebits : TBits_8); inline;
  62853. begin
  62854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62855. end;
  62856. function TETH_EMACxSA1.getSTNADDR4 : TBits_8; inline;
  62857. begin
  62858. getSTNADDR4 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62859. end;
  62860. procedure TETH_EMACxSA1.setw(thebits : TBits_32); inline;
  62861. begin
  62862. pTDefRegMap(@Self)^.val := thebits;
  62863. end;
  62864. function TETH_EMACxSA1.getw : TBits_32; inline;
  62865. begin
  62866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62867. end;
  62868. procedure TETH_EMAC1SA2.setSTNADDR1(thebits : TBits_8); inline;
  62869. begin
  62870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62871. end;
  62872. function TETH_EMAC1SA2.getSTNADDR1 : TBits_8; inline;
  62873. begin
  62874. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62875. end;
  62876. procedure TETH_EMAC1SA2.setSTNADDR2(thebits : TBits_8); inline;
  62877. begin
  62878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62879. end;
  62880. function TETH_EMAC1SA2.getSTNADDR2 : TBits_8; inline;
  62881. begin
  62882. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62883. end;
  62884. procedure TETH_EMAC1SA2.setw(thebits : TBits_32); inline;
  62885. begin
  62886. pTDefRegMap(@Self)^.val := thebits;
  62887. end;
  62888. function TETH_EMAC1SA2.getw : TBits_32; inline;
  62889. begin
  62890. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62891. end;
  62892. procedure TETH_EMACxSA2.setSTNADDR1(thebits : TBits_8); inline;
  62893. begin
  62894. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  62895. end;
  62896. function TETH_EMACxSA2.getSTNADDR1 : TBits_8; inline;
  62897. begin
  62898. getSTNADDR1 := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  62899. end;
  62900. procedure TETH_EMACxSA2.setSTNADDR2(thebits : TBits_8); inline;
  62901. begin
  62902. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  62903. end;
  62904. function TETH_EMACxSA2.getSTNADDR2 : TBits_8; inline;
  62905. begin
  62906. getSTNADDR2 := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  62907. end;
  62908. procedure TETH_EMACxSA2.setw(thebits : TBits_32); inline;
  62909. begin
  62910. pTDefRegMap(@Self)^.val := thebits;
  62911. end;
  62912. function TETH_EMACxSA2.getw : TBits_32; inline;
  62913. begin
  62914. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  62915. end;
  62916. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  62917. begin
  62918. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  62919. end;
  62920. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  62921. begin
  62922. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  62923. end;
  62924. procedure TDEVCFG_DEVCFG3.setFSRSSEL(thebits : TBits_3); inline;
  62925. begin
  62926. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  62927. end;
  62928. function TDEVCFG_DEVCFG3.getFSRSSEL : TBits_3; inline;
  62929. begin
  62930. getFSRSSEL := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  62931. end;
  62932. procedure TDEVCFG_DEVCFG3.setFMIIEN; inline;
  62933. begin
  62934. pTDefRegMap(@Self)^.&set := $01000000;
  62935. end;
  62936. procedure TDEVCFG_DEVCFG3.clearFMIIEN; inline;
  62937. begin
  62938. pTDefRegMap(@Self)^.clr := $01000000;
  62939. end;
  62940. procedure TDEVCFG_DEVCFG3.setFMIIEN(thebits : TBits_1); inline;
  62941. begin
  62942. if thebits = 0 then
  62943. pTDefRegMap(@Self)^.clr := $01000000
  62944. else
  62945. pTDefRegMap(@Self)^.&set := $01000000;
  62946. end;
  62947. function TDEVCFG_DEVCFG3.getFMIIEN : TBits_1; inline;
  62948. begin
  62949. getFMIIEN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  62950. end;
  62951. procedure TDEVCFG_DEVCFG3.setFETHIO; inline;
  62952. begin
  62953. pTDefRegMap(@Self)^.&set := $02000000;
  62954. end;
  62955. procedure TDEVCFG_DEVCFG3.clearFETHIO; inline;
  62956. begin
  62957. pTDefRegMap(@Self)^.clr := $02000000;
  62958. end;
  62959. procedure TDEVCFG_DEVCFG3.setFETHIO(thebits : TBits_1); inline;
  62960. begin
  62961. if thebits = 0 then
  62962. pTDefRegMap(@Self)^.clr := $02000000
  62963. else
  62964. pTDefRegMap(@Self)^.&set := $02000000;
  62965. end;
  62966. function TDEVCFG_DEVCFG3.getFETHIO : TBits_1; inline;
  62967. begin
  62968. getFETHIO := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  62969. end;
  62970. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  62971. begin
  62972. pTDefRegMap(@Self)^.&set := $40000000;
  62973. end;
  62974. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  62975. begin
  62976. pTDefRegMap(@Self)^.clr := $40000000;
  62977. end;
  62978. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  62979. begin
  62980. if thebits = 0 then
  62981. pTDefRegMap(@Self)^.clr := $40000000
  62982. else
  62983. pTDefRegMap(@Self)^.&set := $40000000;
  62984. end;
  62985. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  62986. begin
  62987. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  62988. end;
  62989. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  62990. begin
  62991. pTDefRegMap(@Self)^.&set := $80000000;
  62992. end;
  62993. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  62994. begin
  62995. pTDefRegMap(@Self)^.clr := $80000000;
  62996. end;
  62997. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  62998. begin
  62999. if thebits = 0 then
  63000. pTDefRegMap(@Self)^.clr := $80000000
  63001. else
  63002. pTDefRegMap(@Self)^.&set := $80000000;
  63003. end;
  63004. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  63005. begin
  63006. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  63007. end;
  63008. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  63009. begin
  63010. pTDefRegMap(@Self)^.val := thebits;
  63011. end;
  63012. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  63013. begin
  63014. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63015. end;
  63016. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  63017. begin
  63018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  63019. end;
  63020. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  63021. begin
  63022. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  63023. end;
  63024. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  63025. begin
  63026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  63027. end;
  63028. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  63029. begin
  63030. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  63031. end;
  63032. procedure TDEVCFG_DEVCFG2.setUPLLIDIV(thebits : TBits_3); inline;
  63033. begin
  63034. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  63035. end;
  63036. function TDEVCFG_DEVCFG2.getUPLLIDIV : TBits_3; inline;
  63037. begin
  63038. getUPLLIDIV := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  63039. end;
  63040. procedure TDEVCFG_DEVCFG2.setUPLLEN; inline;
  63041. begin
  63042. pTDefRegMap(@Self)^.&set := $00008000;
  63043. end;
  63044. procedure TDEVCFG_DEVCFG2.clearUPLLEN; inline;
  63045. begin
  63046. pTDefRegMap(@Self)^.clr := $00008000;
  63047. end;
  63048. procedure TDEVCFG_DEVCFG2.setUPLLEN(thebits : TBits_1); inline;
  63049. begin
  63050. if thebits = 0 then
  63051. pTDefRegMap(@Self)^.clr := $00008000
  63052. else
  63053. pTDefRegMap(@Self)^.&set := $00008000;
  63054. end;
  63055. function TDEVCFG_DEVCFG2.getUPLLEN : TBits_1; inline;
  63056. begin
  63057. getUPLLEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  63058. end;
  63059. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  63060. begin
  63061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  63062. end;
  63063. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  63064. begin
  63065. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  63066. end;
  63067. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  63068. begin
  63069. pTDefRegMap(@Self)^.val := thebits;
  63070. end;
  63071. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  63072. begin
  63073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63074. end;
  63075. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  63076. begin
  63077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  63078. end;
  63079. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  63080. begin
  63081. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  63082. end;
  63083. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  63084. begin
  63085. pTDefRegMap(@Self)^.&set := $00000020;
  63086. end;
  63087. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  63088. begin
  63089. pTDefRegMap(@Self)^.clr := $00000020;
  63090. end;
  63091. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  63092. begin
  63093. if thebits = 0 then
  63094. pTDefRegMap(@Self)^.clr := $00000020
  63095. else
  63096. pTDefRegMap(@Self)^.&set := $00000020;
  63097. end;
  63098. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  63099. begin
  63100. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  63101. end;
  63102. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  63103. begin
  63104. pTDefRegMap(@Self)^.&set := $00000080;
  63105. end;
  63106. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  63107. begin
  63108. pTDefRegMap(@Self)^.clr := $00000080;
  63109. end;
  63110. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  63111. begin
  63112. if thebits = 0 then
  63113. pTDefRegMap(@Self)^.clr := $00000080
  63114. else
  63115. pTDefRegMap(@Self)^.&set := $00000080;
  63116. end;
  63117. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  63118. begin
  63119. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  63120. end;
  63121. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  63122. begin
  63123. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  63124. end;
  63125. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  63126. begin
  63127. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  63128. end;
  63129. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  63130. begin
  63131. pTDefRegMap(@Self)^.&set := $00000400;
  63132. end;
  63133. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  63134. begin
  63135. pTDefRegMap(@Self)^.clr := $00000400;
  63136. end;
  63137. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  63138. begin
  63139. if thebits = 0 then
  63140. pTDefRegMap(@Self)^.clr := $00000400
  63141. else
  63142. pTDefRegMap(@Self)^.&set := $00000400;
  63143. end;
  63144. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  63145. begin
  63146. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  63147. end;
  63148. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  63149. begin
  63150. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  63151. end;
  63152. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  63153. begin
  63154. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  63155. end;
  63156. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  63157. begin
  63158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  63159. end;
  63160. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  63161. begin
  63162. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  63163. end;
  63164. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  63165. begin
  63166. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  63167. end;
  63168. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  63169. begin
  63170. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  63171. end;
  63172. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  63173. begin
  63174. pTDefRegMap(@Self)^.&set := $00800000;
  63175. end;
  63176. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  63177. begin
  63178. pTDefRegMap(@Self)^.clr := $00800000;
  63179. end;
  63180. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  63181. begin
  63182. if thebits = 0 then
  63183. pTDefRegMap(@Self)^.clr := $00800000
  63184. else
  63185. pTDefRegMap(@Self)^.&set := $00800000;
  63186. end;
  63187. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  63188. begin
  63189. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  63190. end;
  63191. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  63192. begin
  63193. pTDefRegMap(@Self)^.val := thebits;
  63194. end;
  63195. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  63196. begin
  63197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63198. end;
  63199. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  63200. begin
  63201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  63202. end;
  63203. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  63204. begin
  63205. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  63206. end;
  63207. procedure TDEVCFG_DEVCFG0.setICESEL; inline;
  63208. begin
  63209. pTDefRegMap(@Self)^.&set := $00000008;
  63210. end;
  63211. procedure TDEVCFG_DEVCFG0.clearICESEL; inline;
  63212. begin
  63213. pTDefRegMap(@Self)^.clr := $00000008;
  63214. end;
  63215. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_1); inline;
  63216. begin
  63217. if thebits = 0 then
  63218. pTDefRegMap(@Self)^.clr := $00000008
  63219. else
  63220. pTDefRegMap(@Self)^.&set := $00000008;
  63221. end;
  63222. function TDEVCFG_DEVCFG0.getICESEL : TBits_1; inline;
  63223. begin
  63224. getICESEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  63225. end;
  63226. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_8); inline;
  63227. begin
  63228. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF00FFF or ( thebits shl 12 );
  63229. end;
  63230. function TDEVCFG_DEVCFG0.getPWP : TBits_8; inline;
  63231. begin
  63232. getPWP := (pTDefRegMap(@Self)^.val and $000FF000) shr 12;
  63233. end;
  63234. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  63235. begin
  63236. pTDefRegMap(@Self)^.&set := $01000000;
  63237. end;
  63238. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  63239. begin
  63240. pTDefRegMap(@Self)^.clr := $01000000;
  63241. end;
  63242. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  63243. begin
  63244. if thebits = 0 then
  63245. pTDefRegMap(@Self)^.clr := $01000000
  63246. else
  63247. pTDefRegMap(@Self)^.&set := $01000000;
  63248. end;
  63249. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  63250. begin
  63251. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  63252. end;
  63253. procedure TDEVCFG_DEVCFG0.setCP; inline;
  63254. begin
  63255. pTDefRegMap(@Self)^.&set := $10000000;
  63256. end;
  63257. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  63258. begin
  63259. pTDefRegMap(@Self)^.clr := $10000000;
  63260. end;
  63261. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  63262. begin
  63263. if thebits = 0 then
  63264. pTDefRegMap(@Self)^.clr := $10000000
  63265. else
  63266. pTDefRegMap(@Self)^.&set := $10000000;
  63267. end;
  63268. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  63269. begin
  63270. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  63271. end;
  63272. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  63273. begin
  63274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  63275. end;
  63276. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  63277. begin
  63278. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  63279. end;
  63280. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  63281. begin
  63282. pTDefRegMap(@Self)^.val := thebits;
  63283. end;
  63284. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  63285. begin
  63286. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  63287. end;
  63288. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  63289. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  63290. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  63291. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  63292. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  63293. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  63294. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  63295. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  63296. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  63297. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  63298. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  63299. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  63300. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  63301. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  63302. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  63303. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  63304. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  63305. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  63306. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  63307. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  63308. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  63309. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  63310. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  63311. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  63312. procedure _SPI_1A_VECTOR_interrupt; external name '_SPI_1A_VECTOR_interrupt';
  63313. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  63314. procedure _UART_1A_VECTOR_interrupt; external name '_UART_1A_VECTOR_interrupt';
  63315. procedure _I2C_3_VECTOR_interrupt; external name '_I2C_3_VECTOR_interrupt';
  63316. procedure _I2C_1A_VECTOR_interrupt; external name '_I2C_1A_VECTOR_interrupt';
  63317. procedure _SPI_3_VECTOR_interrupt; external name '_SPI_3_VECTOR_interrupt';
  63318. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  63319. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  63320. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  63321. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  63322. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  63323. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  63324. procedure _SPI_2A_VECTOR_interrupt; external name '_SPI_2A_VECTOR_interrupt';
  63325. procedure _UART_3_VECTOR_interrupt; external name '_UART_3_VECTOR_interrupt';
  63326. procedure _UART_2A_VECTOR_interrupt; external name '_UART_2A_VECTOR_interrupt';
  63327. procedure _I2C_4_VECTOR_interrupt; external name '_I2C_4_VECTOR_interrupt';
  63328. procedure _I2C_2A_VECTOR_interrupt; external name '_I2C_2A_VECTOR_interrupt';
  63329. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  63330. procedure _SPI_3A_VECTOR_interrupt; external name '_SPI_3A_VECTOR_interrupt';
  63331. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  63332. procedure _UART_3A_VECTOR_interrupt; external name '_UART_3A_VECTOR_interrupt';
  63333. procedure _I2C_5_VECTOR_interrupt; external name '_I2C_5_VECTOR_interrupt';
  63334. procedure _I2C_3A_VECTOR_interrupt; external name '_I2C_3A_VECTOR_interrupt';
  63335. procedure _SPI_4_VECTOR_interrupt; external name '_SPI_4_VECTOR_interrupt';
  63336. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  63337. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  63338. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  63339. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  63340. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  63341. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  63342. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  63343. procedure _DMA_4_VECTOR_interrupt; external name '_DMA_4_VECTOR_interrupt';
  63344. procedure _DMA_5_VECTOR_interrupt; external name '_DMA_5_VECTOR_interrupt';
  63345. procedure _DMA_6_VECTOR_interrupt; external name '_DMA_6_VECTOR_interrupt';
  63346. procedure _DMA_7_VECTOR_interrupt; external name '_DMA_7_VECTOR_interrupt';
  63347. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  63348. procedure _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  63349. procedure _ETH_VECTOR_interrupt; external name '_ETH_VECTOR_interrupt';
  63350. procedure _UART_1B_VECTOR_interrupt; external name '_UART_1B_VECTOR_interrupt';
  63351. procedure _UART_4_VECTOR_interrupt; external name '_UART_4_VECTOR_interrupt';
  63352. procedure _UART_2B_VECTOR_interrupt; external name '_UART_2B_VECTOR_interrupt';
  63353. procedure _UART_6_VECTOR_interrupt; external name '_UART_6_VECTOR_interrupt';
  63354. procedure _UART_3B_VECTOR_interrupt; external name '_UART_3B_VECTOR_interrupt';
  63355. procedure _UART_5_VECTOR_interrupt; external name '_UART_5_VECTOR_interrupt';
  63356. procedure Vectors; assembler; nostackframe;
  63357. label interrupt_vectors;
  63358. asm
  63359. .section ".init.interrupt_vectors,\"ax\",@progbits"
  63360. interrupt_vectors:
  63361. j _CORE_TIMER_VECTOR_interrupt
  63362. nop
  63363. nop
  63364. nop
  63365. nop
  63366. nop
  63367. nop
  63368. nop
  63369. j _CORE_SOFTWARE_0_VECTOR_interrupt
  63370. nop
  63371. nop
  63372. nop
  63373. nop
  63374. nop
  63375. nop
  63376. nop
  63377. j _CORE_SOFTWARE_1_VECTOR_interrupt
  63378. nop
  63379. nop
  63380. nop
  63381. nop
  63382. nop
  63383. nop
  63384. nop
  63385. j _EXTERNAL_0_VECTOR_interrupt
  63386. nop
  63387. nop
  63388. nop
  63389. nop
  63390. nop
  63391. nop
  63392. nop
  63393. j _TIMER_1_VECTOR_interrupt
  63394. nop
  63395. nop
  63396. nop
  63397. nop
  63398. nop
  63399. nop
  63400. nop
  63401. j _INPUT_CAPTURE_1_VECTOR_interrupt
  63402. nop
  63403. nop
  63404. nop
  63405. nop
  63406. nop
  63407. nop
  63408. nop
  63409. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  63410. nop
  63411. nop
  63412. nop
  63413. nop
  63414. nop
  63415. nop
  63416. nop
  63417. j _EXTERNAL_1_VECTOR_interrupt
  63418. nop
  63419. nop
  63420. nop
  63421. nop
  63422. nop
  63423. nop
  63424. nop
  63425. j _TIMER_2_VECTOR_interrupt
  63426. nop
  63427. nop
  63428. nop
  63429. nop
  63430. nop
  63431. nop
  63432. nop
  63433. j _INPUT_CAPTURE_2_VECTOR_interrupt
  63434. nop
  63435. nop
  63436. nop
  63437. nop
  63438. nop
  63439. nop
  63440. nop
  63441. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  63442. nop
  63443. nop
  63444. nop
  63445. nop
  63446. nop
  63447. nop
  63448. nop
  63449. j _EXTERNAL_2_VECTOR_interrupt
  63450. nop
  63451. nop
  63452. nop
  63453. nop
  63454. nop
  63455. nop
  63456. nop
  63457. j _TIMER_3_VECTOR_interrupt
  63458. nop
  63459. nop
  63460. nop
  63461. nop
  63462. nop
  63463. nop
  63464. nop
  63465. j _INPUT_CAPTURE_3_VECTOR_interrupt
  63466. nop
  63467. nop
  63468. nop
  63469. nop
  63470. nop
  63471. nop
  63472. nop
  63473. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  63474. nop
  63475. nop
  63476. nop
  63477. nop
  63478. nop
  63479. nop
  63480. nop
  63481. j _EXTERNAL_3_VECTOR_interrupt
  63482. nop
  63483. nop
  63484. nop
  63485. nop
  63486. nop
  63487. nop
  63488. nop
  63489. j _TIMER_4_VECTOR_interrupt
  63490. nop
  63491. nop
  63492. nop
  63493. nop
  63494. nop
  63495. nop
  63496. nop
  63497. j _INPUT_CAPTURE_4_VECTOR_interrupt
  63498. nop
  63499. nop
  63500. nop
  63501. nop
  63502. nop
  63503. nop
  63504. nop
  63505. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  63506. nop
  63507. nop
  63508. nop
  63509. nop
  63510. nop
  63511. nop
  63512. nop
  63513. j _EXTERNAL_4_VECTOR_interrupt
  63514. nop
  63515. nop
  63516. nop
  63517. nop
  63518. nop
  63519. nop
  63520. nop
  63521. j _TIMER_5_VECTOR_interrupt
  63522. nop
  63523. nop
  63524. nop
  63525. nop
  63526. nop
  63527. nop
  63528. nop
  63529. j _INPUT_CAPTURE_5_VECTOR_interrupt
  63530. nop
  63531. nop
  63532. nop
  63533. nop
  63534. nop
  63535. nop
  63536. nop
  63537. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  63538. nop
  63539. nop
  63540. nop
  63541. nop
  63542. nop
  63543. nop
  63544. nop
  63545. j _SPI_1_VECTOR_interrupt
  63546. nop
  63547. nop
  63548. nop
  63549. nop
  63550. nop
  63551. nop
  63552. nop
  63553. j _SPI_1A_VECTOR_interrupt
  63554. nop
  63555. nop
  63556. nop
  63557. nop
  63558. nop
  63559. nop
  63560. nop
  63561. j _I2C_1_VECTOR_interrupt
  63562. nop
  63563. nop
  63564. nop
  63565. nop
  63566. nop
  63567. nop
  63568. nop
  63569. j _CHANGE_NOTICE_VECTOR_interrupt
  63570. nop
  63571. nop
  63572. nop
  63573. nop
  63574. nop
  63575. nop
  63576. nop
  63577. j _ADC_VECTOR_interrupt
  63578. nop
  63579. nop
  63580. nop
  63581. nop
  63582. nop
  63583. nop
  63584. nop
  63585. j _PMP_VECTOR_interrupt
  63586. nop
  63587. nop
  63588. nop
  63589. nop
  63590. nop
  63591. nop
  63592. nop
  63593. j _COMPARATOR_1_VECTOR_interrupt
  63594. nop
  63595. nop
  63596. nop
  63597. nop
  63598. nop
  63599. nop
  63600. nop
  63601. j _COMPARATOR_2_VECTOR_interrupt
  63602. nop
  63603. nop
  63604. nop
  63605. nop
  63606. nop
  63607. nop
  63608. nop
  63609. j _SPI_2A_VECTOR_interrupt
  63610. nop
  63611. nop
  63612. nop
  63613. nop
  63614. nop
  63615. nop
  63616. nop
  63617. j _SPI_3A_VECTOR_interrupt
  63618. nop
  63619. nop
  63620. nop
  63621. nop
  63622. nop
  63623. nop
  63624. nop
  63625. j _I2C_2_VECTOR_interrupt
  63626. nop
  63627. nop
  63628. nop
  63629. nop
  63630. nop
  63631. nop
  63632. nop
  63633. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  63634. nop
  63635. nop
  63636. nop
  63637. nop
  63638. nop
  63639. nop
  63640. nop
  63641. j _RTCC_VECTOR_interrupt
  63642. nop
  63643. nop
  63644. nop
  63645. nop
  63646. nop
  63647. nop
  63648. nop
  63649. j _DMA_0_VECTOR_interrupt
  63650. nop
  63651. nop
  63652. nop
  63653. nop
  63654. nop
  63655. nop
  63656. nop
  63657. j _DMA_1_VECTOR_interrupt
  63658. nop
  63659. nop
  63660. nop
  63661. nop
  63662. nop
  63663. nop
  63664. nop
  63665. j _DMA_2_VECTOR_interrupt
  63666. nop
  63667. nop
  63668. nop
  63669. nop
  63670. nop
  63671. nop
  63672. nop
  63673. j _DMA_3_VECTOR_interrupt
  63674. nop
  63675. nop
  63676. nop
  63677. nop
  63678. nop
  63679. nop
  63680. nop
  63681. j _DMA_4_VECTOR_interrupt
  63682. nop
  63683. nop
  63684. nop
  63685. nop
  63686. nop
  63687. nop
  63688. nop
  63689. j _DMA_5_VECTOR_interrupt
  63690. nop
  63691. nop
  63692. nop
  63693. nop
  63694. nop
  63695. nop
  63696. nop
  63697. j _DMA_6_VECTOR_interrupt
  63698. nop
  63699. nop
  63700. nop
  63701. nop
  63702. nop
  63703. nop
  63704. nop
  63705. j _DMA_7_VECTOR_interrupt
  63706. nop
  63707. nop
  63708. nop
  63709. nop
  63710. nop
  63711. nop
  63712. nop
  63713. j _FCE_VECTOR_interrupt
  63714. nop
  63715. nop
  63716. nop
  63717. nop
  63718. nop
  63719. nop
  63720. nop
  63721. j _USB_1_VECTOR_interrupt
  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. nop
  63738. nop
  63739. nop
  63740. nop
  63741. nop
  63742. nop
  63743. nop
  63744. nop
  63745. j _ETH_VECTOR_interrupt
  63746. nop
  63747. nop
  63748. nop
  63749. nop
  63750. nop
  63751. nop
  63752. nop
  63753. j _UART_1B_VECTOR_interrupt
  63754. nop
  63755. nop
  63756. nop
  63757. nop
  63758. nop
  63759. nop
  63760. nop
  63761. j _UART_2B_VECTOR_interrupt
  63762. nop
  63763. nop
  63764. nop
  63765. nop
  63766. nop
  63767. nop
  63768. nop
  63769. j _UART_3B_VECTOR_interrupt
  63770. nop
  63771. nop
  63772. nop
  63773. nop
  63774. nop
  63775. nop
  63776. nop
  63777. .weak _CORE_TIMER_VECTOR_interrupt
  63778. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  63779. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  63780. .weak _EXTERNAL_0_VECTOR_interrupt
  63781. .weak _TIMER_1_VECTOR_interrupt
  63782. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  63783. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  63784. .weak _EXTERNAL_1_VECTOR_interrupt
  63785. .weak _TIMER_2_VECTOR_interrupt
  63786. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  63787. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  63788. .weak _EXTERNAL_2_VECTOR_interrupt
  63789. .weak _TIMER_3_VECTOR_interrupt
  63790. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  63791. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  63792. .weak _EXTERNAL_3_VECTOR_interrupt
  63793. .weak _TIMER_4_VECTOR_interrupt
  63794. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  63795. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  63796. .weak _EXTERNAL_4_VECTOR_interrupt
  63797. .weak _TIMER_5_VECTOR_interrupt
  63798. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  63799. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  63800. .weak _SPI_1_VECTOR_interrupt
  63801. .weak _SPI_1A_VECTOR_interrupt
  63802. .weak _UART_1_VECTOR_interrupt
  63803. .weak _UART_1A_VECTOR_interrupt
  63804. .weak _I2C_3_VECTOR_interrupt
  63805. .weak _I2C_1A_VECTOR_interrupt
  63806. .weak _SPI_3_VECTOR_interrupt
  63807. .weak _I2C_1_VECTOR_interrupt
  63808. .weak _CHANGE_NOTICE_VECTOR_interrupt
  63809. .weak _ADC_VECTOR_interrupt
  63810. .weak _PMP_VECTOR_interrupt
  63811. .weak _COMPARATOR_1_VECTOR_interrupt
  63812. .weak _COMPARATOR_2_VECTOR_interrupt
  63813. .weak _SPI_2A_VECTOR_interrupt
  63814. .weak _UART_3_VECTOR_interrupt
  63815. .weak _UART_2A_VECTOR_interrupt
  63816. .weak _I2C_4_VECTOR_interrupt
  63817. .weak _I2C_2A_VECTOR_interrupt
  63818. .weak _SPI_2_VECTOR_interrupt
  63819. .weak _SPI_3A_VECTOR_interrupt
  63820. .weak _UART_2_VECTOR_interrupt
  63821. .weak _UART_3A_VECTOR_interrupt
  63822. .weak _I2C_5_VECTOR_interrupt
  63823. .weak _I2C_3A_VECTOR_interrupt
  63824. .weak _SPI_4_VECTOR_interrupt
  63825. .weak _I2C_2_VECTOR_interrupt
  63826. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  63827. .weak _RTCC_VECTOR_interrupt
  63828. .weak _DMA_0_VECTOR_interrupt
  63829. .weak _DMA_1_VECTOR_interrupt
  63830. .weak _DMA_2_VECTOR_interrupt
  63831. .weak _DMA_3_VECTOR_interrupt
  63832. .weak _DMA_4_VECTOR_interrupt
  63833. .weak _DMA_5_VECTOR_interrupt
  63834. .weak _DMA_6_VECTOR_interrupt
  63835. .weak _DMA_7_VECTOR_interrupt
  63836. .weak _FCE_VECTOR_interrupt
  63837. .weak _USB_1_VECTOR_interrupt
  63838. .weak _ETH_VECTOR_interrupt
  63839. .weak _UART_1B_VECTOR_interrupt
  63840. .weak _UART_4_VECTOR_interrupt
  63841. .weak _UART_2B_VECTOR_interrupt
  63842. .weak _UART_6_VECTOR_interrupt
  63843. .weak _UART_3B_VECTOR_interrupt
  63844. .weak _UART_5_VECTOR_interrupt
  63845. .text
  63846. end;
  63847. end.