pic32mx120f032b.pp 1.1 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528
  1. unit pic32mx120f032b;
  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 getWDTWINEN : TBits_1; inline;
  55. function getw : TBits_32; inline;
  56. procedure setON(thebits : TBits_1); inline;
  57. procedure setSWDTPS(thebits : TBits_5); inline;
  58. procedure setSWDTPS0(thebits : TBits_1); inline;
  59. procedure setSWDTPS1(thebits : TBits_1); inline;
  60. procedure setSWDTPS2(thebits : TBits_1); inline;
  61. procedure setSWDTPS3(thebits : TBits_1); inline;
  62. procedure setSWDTPS4(thebits : TBits_1); inline;
  63. procedure setWDTCLR(thebits : TBits_1); inline;
  64. procedure setWDTPS(thebits : TBits_5); inline;
  65. procedure setWDTPSTA(thebits : TBits_5); inline;
  66. procedure setWDTWINEN(thebits : TBits_1); inline;
  67. procedure setw(thebits : TBits_32); inline;
  68. public
  69. procedure clearON; inline;
  70. procedure clearSWDTPS0; inline;
  71. procedure clearSWDTPS1; inline;
  72. procedure clearSWDTPS2; inline;
  73. procedure clearSWDTPS3; inline;
  74. procedure clearSWDTPS4; inline;
  75. procedure clearWDTCLR; inline;
  76. procedure clearWDTWINEN; inline;
  77. procedure setON; inline;
  78. procedure setSWDTPS0; inline;
  79. procedure setSWDTPS1; inline;
  80. procedure setSWDTPS2; inline;
  81. procedure setSWDTPS3; inline;
  82. procedure setSWDTPS4; inline;
  83. procedure setWDTCLR; inline;
  84. procedure setWDTWINEN; inline;
  85. property ON : TBits_1 read getON write setON;
  86. property SWDTPS : TBits_5 read getSWDTPS write setSWDTPS;
  87. property SWDTPS0 : TBits_1 read getSWDTPS0 write setSWDTPS0;
  88. property SWDTPS1 : TBits_1 read getSWDTPS1 write setSWDTPS1;
  89. property SWDTPS2 : TBits_1 read getSWDTPS2 write setSWDTPS2;
  90. property SWDTPS3 : TBits_1 read getSWDTPS3 write setSWDTPS3;
  91. property SWDTPS4 : TBits_1 read getSWDTPS4 write setSWDTPS4;
  92. property WDTCLR : TBits_1 read getWDTCLR write setWDTCLR;
  93. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  94. property WDTPSTA : TBits_5 read getWDTPSTA write setWDTPSTA;
  95. property WDTWINEN : TBits_1 read getWDTWINEN write setWDTWINEN;
  96. property w : TBits_32 read getw write setw;
  97. end;
  98. type
  99. TWDTRegisters = record
  100. WDTCONbits : TWDT_WDTCON;
  101. WDTCON : longWord;
  102. WDTCONCLR : longWord;
  103. WDTCONSET : longWord;
  104. WDTCONINV : longWord;
  105. end;
  106. TRTCC_RTCCON = record
  107. private
  108. function getCAL : TBits_10; inline;
  109. function getHALFSEC : TBits_1; inline;
  110. function getON : TBits_1; inline;
  111. function getRTCCLKON : TBits_1; inline;
  112. function getRTCOE : TBits_1; inline;
  113. function getRTCSYNC : TBits_1; inline;
  114. function getRTCWREN : TBits_1; inline;
  115. function getRTSECSEL : TBits_1; inline;
  116. function getSIDL : TBits_1; inline;
  117. function getw : TBits_32; inline;
  118. procedure setCAL(thebits : TBits_10); inline;
  119. procedure setHALFSEC(thebits : TBits_1); inline;
  120. procedure setON(thebits : TBits_1); inline;
  121. procedure setRTCCLKON(thebits : TBits_1); inline;
  122. procedure setRTCOE(thebits : TBits_1); inline;
  123. procedure setRTCSYNC(thebits : TBits_1); inline;
  124. procedure setRTCWREN(thebits : TBits_1); inline;
  125. procedure setRTSECSEL(thebits : TBits_1); inline;
  126. procedure setSIDL(thebits : TBits_1); inline;
  127. procedure setw(thebits : TBits_32); inline;
  128. public
  129. procedure clearHALFSEC; inline;
  130. procedure clearON; inline;
  131. procedure clearRTCCLKON; inline;
  132. procedure clearRTCOE; inline;
  133. procedure clearRTCSYNC; inline;
  134. procedure clearRTCWREN; inline;
  135. procedure clearRTSECSEL; inline;
  136. procedure clearSIDL; inline;
  137. procedure setHALFSEC; inline;
  138. procedure setON; inline;
  139. procedure setRTCCLKON; inline;
  140. procedure setRTCOE; inline;
  141. procedure setRTCSYNC; inline;
  142. procedure setRTCWREN; inline;
  143. procedure setRTSECSEL; inline;
  144. procedure setSIDL; inline;
  145. property CAL : TBits_10 read getCAL write setCAL;
  146. property HALFSEC : TBits_1 read getHALFSEC write setHALFSEC;
  147. property ON : TBits_1 read getON write setON;
  148. property RTCCLKON : TBits_1 read getRTCCLKON write setRTCCLKON;
  149. property RTCOE : TBits_1 read getRTCOE write setRTCOE;
  150. property RTCSYNC : TBits_1 read getRTCSYNC write setRTCSYNC;
  151. property RTCWREN : TBits_1 read getRTCWREN write setRTCWREN;
  152. property RTSECSEL : TBits_1 read getRTSECSEL write setRTSECSEL;
  153. property SIDL : TBits_1 read getSIDL write setSIDL;
  154. property w : TBits_32 read getw write setw;
  155. end;
  156. TRTCC_RTCALRM = record
  157. private
  158. function getALRMEN : TBits_1; inline;
  159. function getALRMSYNC : TBits_1; inline;
  160. function getAMASK : TBits_4; inline;
  161. function getARPT : TBits_8; inline;
  162. function getCHIME : TBits_1; inline;
  163. function getPIV : TBits_1; inline;
  164. function getw : TBits_32; inline;
  165. procedure setALRMEN(thebits : TBits_1); inline;
  166. procedure setALRMSYNC(thebits : TBits_1); inline;
  167. procedure setAMASK(thebits : TBits_4); inline;
  168. procedure setARPT(thebits : TBits_8); inline;
  169. procedure setCHIME(thebits : TBits_1); inline;
  170. procedure setPIV(thebits : TBits_1); inline;
  171. procedure setw(thebits : TBits_32); inline;
  172. public
  173. procedure clearALRMEN; inline;
  174. procedure clearALRMSYNC; inline;
  175. procedure clearCHIME; inline;
  176. procedure clearPIV; inline;
  177. procedure setALRMEN; inline;
  178. procedure setALRMSYNC; inline;
  179. procedure setCHIME; inline;
  180. procedure setPIV; inline;
  181. property ALRMEN : TBits_1 read getALRMEN write setALRMEN;
  182. property ALRMSYNC : TBits_1 read getALRMSYNC write setALRMSYNC;
  183. property AMASK : TBits_4 read getAMASK write setAMASK;
  184. property ARPT : TBits_8 read getARPT write setARPT;
  185. property CHIME : TBits_1 read getCHIME write setCHIME;
  186. property PIV : TBits_1 read getPIV write setPIV;
  187. property w : TBits_32 read getw write setw;
  188. end;
  189. TRTCC_RTCTIME = record
  190. private
  191. function getHR01 : TBits_4; inline;
  192. function getHR10 : TBits_4; inline;
  193. function getMIN01 : TBits_4; inline;
  194. function getMIN10 : TBits_4; inline;
  195. function getSEC01 : TBits_4; inline;
  196. function getSEC10 : TBits_4; inline;
  197. function getw : TBits_32; inline;
  198. procedure setHR01(thebits : TBits_4); inline;
  199. procedure setHR10(thebits : TBits_4); inline;
  200. procedure setMIN01(thebits : TBits_4); inline;
  201. procedure setMIN10(thebits : TBits_4); inline;
  202. procedure setSEC01(thebits : TBits_4); inline;
  203. procedure setSEC10(thebits : TBits_4); inline;
  204. procedure setw(thebits : TBits_32); inline;
  205. public
  206. property HR01 : TBits_4 read getHR01 write setHR01;
  207. property HR10 : TBits_4 read getHR10 write setHR10;
  208. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  209. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  210. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  211. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  212. property w : TBits_32 read getw write setw;
  213. end;
  214. TRTCC_RTCDATE = record
  215. private
  216. function getDAY01 : TBits_4; inline;
  217. function getDAY10 : TBits_4; inline;
  218. function getMONTH01 : TBits_4; inline;
  219. function getMONTH10 : TBits_4; inline;
  220. function getWDAY01 : TBits_4; inline;
  221. function getYEAR01 : TBits_4; inline;
  222. function getYEAR10 : TBits_4; inline;
  223. function getw : TBits_32; inline;
  224. procedure setDAY01(thebits : TBits_4); inline;
  225. procedure setDAY10(thebits : TBits_4); inline;
  226. procedure setMONTH01(thebits : TBits_4); inline;
  227. procedure setMONTH10(thebits : TBits_4); inline;
  228. procedure setWDAY01(thebits : TBits_4); inline;
  229. procedure setYEAR01(thebits : TBits_4); inline;
  230. procedure setYEAR10(thebits : TBits_4); inline;
  231. procedure setw(thebits : TBits_32); inline;
  232. public
  233. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  234. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  235. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  236. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  237. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  238. property YEAR01 : TBits_4 read getYEAR01 write setYEAR01;
  239. property YEAR10 : TBits_4 read getYEAR10 write setYEAR10;
  240. property w : TBits_32 read getw write setw;
  241. end;
  242. TRTCC_ALRMTIME = record
  243. private
  244. function getHR01 : TBits_4; inline;
  245. function getHR10 : TBits_4; inline;
  246. function getMIN01 : TBits_4; inline;
  247. function getMIN10 : TBits_4; inline;
  248. function getSEC01 : TBits_4; inline;
  249. function getSEC10 : TBits_4; inline;
  250. function getw : TBits_32; inline;
  251. procedure setHR01(thebits : TBits_4); inline;
  252. procedure setHR10(thebits : TBits_4); inline;
  253. procedure setMIN01(thebits : TBits_4); inline;
  254. procedure setMIN10(thebits : TBits_4); inline;
  255. procedure setSEC01(thebits : TBits_4); inline;
  256. procedure setSEC10(thebits : TBits_4); inline;
  257. procedure setw(thebits : TBits_32); inline;
  258. public
  259. property HR01 : TBits_4 read getHR01 write setHR01;
  260. property HR10 : TBits_4 read getHR10 write setHR10;
  261. property MIN01 : TBits_4 read getMIN01 write setMIN01;
  262. property MIN10 : TBits_4 read getMIN10 write setMIN10;
  263. property SEC01 : TBits_4 read getSEC01 write setSEC01;
  264. property SEC10 : TBits_4 read getSEC10 write setSEC10;
  265. property w : TBits_32 read getw write setw;
  266. end;
  267. TRTCC_ALRMDATE = record
  268. private
  269. function getDAY01 : TBits_4; inline;
  270. function getDAY10 : TBits_4; inline;
  271. function getMONTH01 : TBits_4; inline;
  272. function getMONTH10 : TBits_4; inline;
  273. function getWDAY01 : TBits_4; inline;
  274. function getw : TBits_32; inline;
  275. procedure setDAY01(thebits : TBits_4); inline;
  276. procedure setDAY10(thebits : TBits_4); inline;
  277. procedure setMONTH01(thebits : TBits_4); inline;
  278. procedure setMONTH10(thebits : TBits_4); inline;
  279. procedure setWDAY01(thebits : TBits_4); inline;
  280. procedure setw(thebits : TBits_32); inline;
  281. public
  282. property DAY01 : TBits_4 read getDAY01 write setDAY01;
  283. property DAY10 : TBits_4 read getDAY10 write setDAY10;
  284. property MONTH01 : TBits_4 read getMONTH01 write setMONTH01;
  285. property MONTH10 : TBits_4 read getMONTH10 write setMONTH10;
  286. property WDAY01 : TBits_4 read getWDAY01 write setWDAY01;
  287. property w : TBits_32 read getw write setw;
  288. end;
  289. type
  290. TRTCCRegisters = record
  291. RTCCONbits : TRTCC_RTCCON;
  292. RTCCON : longWord;
  293. RTCCONCLR : longWord;
  294. RTCCONSET : longWord;
  295. RTCCONINV : longWord;
  296. RTCALRMbits : TRTCC_RTCALRM;
  297. RTCALRM : longWord;
  298. RTCALRMCLR : longWord;
  299. RTCALRMSET : longWord;
  300. RTCALRMINV : longWord;
  301. RTCTIMEbits : TRTCC_RTCTIME;
  302. RTCTIME : longWord;
  303. RTCTIMECLR : longWord;
  304. RTCTIMESET : longWord;
  305. RTCTIMEINV : longWord;
  306. RTCDATEbits : TRTCC_RTCDATE;
  307. RTCDATE : longWord;
  308. RTCDATECLR : longWord;
  309. RTCDATESET : longWord;
  310. RTCDATEINV : longWord;
  311. ALRMTIMEbits : TRTCC_ALRMTIME;
  312. ALRMTIME : longWord;
  313. ALRMTIMECLR : longWord;
  314. ALRMTIMESET : longWord;
  315. ALRMTIMEINV : longWord;
  316. ALRMDATEbits : TRTCC_ALRMDATE;
  317. ALRMDATE : longWord;
  318. ALRMDATECLR : longWord;
  319. ALRMDATESET : longWord;
  320. ALRMDATEINV : longWord;
  321. end;
  322. TTMR1_T1CON = record
  323. private
  324. function getON : TBits_1; inline;
  325. function getSIDL : TBits_1; inline;
  326. function getTCKPS : TBits_2; inline;
  327. function getTCKPS0 : TBits_1; inline;
  328. function getTCKPS1 : TBits_1; inline;
  329. function getTCS : TBits_1; inline;
  330. function getTGATE : TBits_1; inline;
  331. function getTON : TBits_1; inline;
  332. function getTSIDL : TBits_1; inline;
  333. function getTSYNC : TBits_1; inline;
  334. function getTWDIS : TBits_1; inline;
  335. function getTWIP : TBits_1; inline;
  336. function getw : TBits_32; inline;
  337. procedure setON(thebits : TBits_1); inline;
  338. procedure setSIDL(thebits : TBits_1); inline;
  339. procedure setTCKPS(thebits : TBits_2); inline;
  340. procedure setTCKPS0(thebits : TBits_1); inline;
  341. procedure setTCKPS1(thebits : TBits_1); inline;
  342. procedure setTCS(thebits : TBits_1); inline;
  343. procedure setTGATE(thebits : TBits_1); inline;
  344. procedure setTON(thebits : TBits_1); inline;
  345. procedure setTSIDL(thebits : TBits_1); inline;
  346. procedure setTSYNC(thebits : TBits_1); inline;
  347. procedure setTWDIS(thebits : TBits_1); inline;
  348. procedure setTWIP(thebits : TBits_1); inline;
  349. procedure setw(thebits : TBits_32); inline;
  350. public
  351. procedure clearON; inline;
  352. procedure clearSIDL; inline;
  353. procedure clearTCKPS0; inline;
  354. procedure clearTCKPS1; inline;
  355. procedure clearTCS; inline;
  356. procedure clearTGATE; inline;
  357. procedure clearTON; inline;
  358. procedure clearTSIDL; inline;
  359. procedure clearTSYNC; inline;
  360. procedure clearTWDIS; inline;
  361. procedure clearTWIP; inline;
  362. procedure setON; inline;
  363. procedure setSIDL; inline;
  364. procedure setTCKPS0; inline;
  365. procedure setTCKPS1; inline;
  366. procedure setTCS; inline;
  367. procedure setTGATE; inline;
  368. procedure setTON; inline;
  369. procedure setTSIDL; inline;
  370. procedure setTSYNC; inline;
  371. procedure setTWDIS; inline;
  372. procedure setTWIP; inline;
  373. property ON : TBits_1 read getON write setON;
  374. property SIDL : TBits_1 read getSIDL write setSIDL;
  375. property TCKPS : TBits_2 read getTCKPS write setTCKPS;
  376. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  377. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  378. property TCS : TBits_1 read getTCS write setTCS;
  379. property TGATE : TBits_1 read getTGATE write setTGATE;
  380. property TON : TBits_1 read getTON write setTON;
  381. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  382. property TSYNC : TBits_1 read getTSYNC write setTSYNC;
  383. property TWDIS : TBits_1 read getTWDIS write setTWDIS;
  384. property TWIP : TBits_1 read getTWIP write setTWIP;
  385. property w : TBits_32 read getw write setw;
  386. end;
  387. type
  388. TTMR1Registers = record
  389. T1CONbits : TTMR1_T1CON;
  390. T1CON : longWord;
  391. T1CONCLR : longWord;
  392. T1CONSET : longWord;
  393. T1CONINV : longWord;
  394. TMR1 : longWord;
  395. TMR1CLR : longWord;
  396. TMR1SET : longWord;
  397. TMR1INV : longWord;
  398. PR1 : longWord;
  399. PR1CLR : longWord;
  400. PR1SET : longWord;
  401. PR1INV : longWord;
  402. end;
  403. TTMR2_T2CON = record
  404. private
  405. function getON : TBits_1; inline;
  406. function getSIDL : TBits_1; inline;
  407. function getT32 : TBits_1; inline;
  408. function getTCKPS : TBits_3; inline;
  409. function getTCKPS0 : TBits_1; inline;
  410. function getTCKPS1 : TBits_1; inline;
  411. function getTCKPS2 : TBits_1; inline;
  412. function getTCS : TBits_1; inline;
  413. function getTGATE : TBits_1; inline;
  414. function getTON : TBits_1; inline;
  415. function getTSIDL : TBits_1; inline;
  416. function getw : TBits_32; inline;
  417. procedure setON(thebits : TBits_1); inline;
  418. procedure setSIDL(thebits : TBits_1); inline;
  419. procedure setT32(thebits : TBits_1); inline;
  420. procedure setTCKPS(thebits : TBits_3); inline;
  421. procedure setTCKPS0(thebits : TBits_1); inline;
  422. procedure setTCKPS1(thebits : TBits_1); inline;
  423. procedure setTCKPS2(thebits : TBits_1); inline;
  424. procedure setTCS(thebits : TBits_1); inline;
  425. procedure setTGATE(thebits : TBits_1); inline;
  426. procedure setTON(thebits : TBits_1); inline;
  427. procedure setTSIDL(thebits : TBits_1); inline;
  428. procedure setw(thebits : TBits_32); inline;
  429. public
  430. procedure clearON; inline;
  431. procedure clearSIDL; inline;
  432. procedure clearT32; inline;
  433. procedure clearTCKPS0; inline;
  434. procedure clearTCKPS1; inline;
  435. procedure clearTCKPS2; inline;
  436. procedure clearTCS; inline;
  437. procedure clearTGATE; inline;
  438. procedure clearTON; inline;
  439. procedure clearTSIDL; inline;
  440. procedure setON; inline;
  441. procedure setSIDL; inline;
  442. procedure setT32; inline;
  443. procedure setTCKPS0; inline;
  444. procedure setTCKPS1; inline;
  445. procedure setTCKPS2; inline;
  446. procedure setTCS; inline;
  447. procedure setTGATE; inline;
  448. procedure setTON; inline;
  449. procedure setTSIDL; inline;
  450. property ON : TBits_1 read getON write setON;
  451. property SIDL : TBits_1 read getSIDL write setSIDL;
  452. property T32 : TBits_1 read getT32 write setT32;
  453. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  454. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  455. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  456. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  457. property TCS : TBits_1 read getTCS write setTCS;
  458. property TGATE : TBits_1 read getTGATE write setTGATE;
  459. property TON : TBits_1 read getTON write setTON;
  460. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  461. property w : TBits_32 read getw write setw;
  462. end;
  463. type
  464. TTMR2Registers = record
  465. T2CONbits : TTMR2_T2CON;
  466. T2CON : longWord;
  467. T2CONCLR : longWord;
  468. T2CONSET : longWord;
  469. T2CONINV : longWord;
  470. TMR2 : longWord;
  471. TMR2CLR : longWord;
  472. TMR2SET : longWord;
  473. TMR2INV : longWord;
  474. PR2 : longWord;
  475. PR2CLR : longWord;
  476. PR2SET : longWord;
  477. PR2INV : longWord;
  478. end;
  479. TTMR3_T3CON = record
  480. private
  481. function getON : TBits_1; inline;
  482. function getSIDL : TBits_1; inline;
  483. function getTCKPS : TBits_3; inline;
  484. function getTCKPS0 : TBits_1; inline;
  485. function getTCKPS1 : TBits_1; inline;
  486. function getTCKPS2 : TBits_1; inline;
  487. function getTCS : TBits_1; inline;
  488. function getTGATE : TBits_1; inline;
  489. function getTON : TBits_1; inline;
  490. function getTSIDL : TBits_1; inline;
  491. function getw : TBits_32; inline;
  492. procedure setON(thebits : TBits_1); inline;
  493. procedure setSIDL(thebits : TBits_1); inline;
  494. procedure setTCKPS(thebits : TBits_3); inline;
  495. procedure setTCKPS0(thebits : TBits_1); inline;
  496. procedure setTCKPS1(thebits : TBits_1); inline;
  497. procedure setTCKPS2(thebits : TBits_1); inline;
  498. procedure setTCS(thebits : TBits_1); inline;
  499. procedure setTGATE(thebits : TBits_1); inline;
  500. procedure setTON(thebits : TBits_1); inline;
  501. procedure setTSIDL(thebits : TBits_1); inline;
  502. procedure setw(thebits : TBits_32); inline;
  503. public
  504. procedure clearON; inline;
  505. procedure clearSIDL; inline;
  506. procedure clearTCKPS0; inline;
  507. procedure clearTCKPS1; inline;
  508. procedure clearTCKPS2; inline;
  509. procedure clearTCS; inline;
  510. procedure clearTGATE; inline;
  511. procedure clearTON; inline;
  512. procedure clearTSIDL; inline;
  513. procedure setON; inline;
  514. procedure setSIDL; inline;
  515. procedure setTCKPS0; inline;
  516. procedure setTCKPS1; inline;
  517. procedure setTCKPS2; inline;
  518. procedure setTCS; inline;
  519. procedure setTGATE; inline;
  520. procedure setTON; inline;
  521. procedure setTSIDL; inline;
  522. property ON : TBits_1 read getON write setON;
  523. property SIDL : TBits_1 read getSIDL write setSIDL;
  524. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  525. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  526. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  527. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  528. property TCS : TBits_1 read getTCS write setTCS;
  529. property TGATE : TBits_1 read getTGATE write setTGATE;
  530. property TON : TBits_1 read getTON write setTON;
  531. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  532. property w : TBits_32 read getw write setw;
  533. end;
  534. type
  535. TTMR3Registers = record
  536. T3CONbits : TTMR3_T3CON;
  537. T3CON : longWord;
  538. T3CONCLR : longWord;
  539. T3CONSET : longWord;
  540. T3CONINV : longWord;
  541. TMR3 : longWord;
  542. TMR3CLR : longWord;
  543. TMR3SET : longWord;
  544. TMR3INV : longWord;
  545. PR3 : longWord;
  546. PR3CLR : longWord;
  547. PR3SET : longWord;
  548. PR3INV : longWord;
  549. end;
  550. TTMR4_T4CON = record
  551. private
  552. function getON : TBits_1; inline;
  553. function getSIDL : TBits_1; inline;
  554. function getT32 : TBits_1; inline;
  555. function getTCKPS : TBits_3; inline;
  556. function getTCKPS0 : TBits_1; inline;
  557. function getTCKPS1 : TBits_1; inline;
  558. function getTCKPS2 : TBits_1; inline;
  559. function getTCS : TBits_1; inline;
  560. function getTGATE : TBits_1; inline;
  561. function getTON : TBits_1; inline;
  562. function getTSIDL : TBits_1; inline;
  563. function getw : TBits_32; inline;
  564. procedure setON(thebits : TBits_1); inline;
  565. procedure setSIDL(thebits : TBits_1); inline;
  566. procedure setT32(thebits : TBits_1); inline;
  567. procedure setTCKPS(thebits : TBits_3); inline;
  568. procedure setTCKPS0(thebits : TBits_1); inline;
  569. procedure setTCKPS1(thebits : TBits_1); inline;
  570. procedure setTCKPS2(thebits : TBits_1); inline;
  571. procedure setTCS(thebits : TBits_1); inline;
  572. procedure setTGATE(thebits : TBits_1); inline;
  573. procedure setTON(thebits : TBits_1); inline;
  574. procedure setTSIDL(thebits : TBits_1); inline;
  575. procedure setw(thebits : TBits_32); inline;
  576. public
  577. procedure clearON; inline;
  578. procedure clearSIDL; inline;
  579. procedure clearT32; inline;
  580. procedure clearTCKPS0; inline;
  581. procedure clearTCKPS1; inline;
  582. procedure clearTCKPS2; inline;
  583. procedure clearTCS; inline;
  584. procedure clearTGATE; inline;
  585. procedure clearTON; inline;
  586. procedure clearTSIDL; inline;
  587. procedure setON; inline;
  588. procedure setSIDL; inline;
  589. procedure setT32; inline;
  590. procedure setTCKPS0; inline;
  591. procedure setTCKPS1; inline;
  592. procedure setTCKPS2; inline;
  593. procedure setTCS; inline;
  594. procedure setTGATE; inline;
  595. procedure setTON; inline;
  596. procedure setTSIDL; inline;
  597. property ON : TBits_1 read getON write setON;
  598. property SIDL : TBits_1 read getSIDL write setSIDL;
  599. property T32 : TBits_1 read getT32 write setT32;
  600. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  601. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  602. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  603. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  604. property TCS : TBits_1 read getTCS write setTCS;
  605. property TGATE : TBits_1 read getTGATE write setTGATE;
  606. property TON : TBits_1 read getTON write setTON;
  607. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  608. property w : TBits_32 read getw write setw;
  609. end;
  610. type
  611. TTMR4Registers = record
  612. T4CONbits : TTMR4_T4CON;
  613. T4CON : longWord;
  614. T4CONCLR : longWord;
  615. T4CONSET : longWord;
  616. T4CONINV : longWord;
  617. TMR4 : longWord;
  618. TMR4CLR : longWord;
  619. TMR4SET : longWord;
  620. TMR4INV : longWord;
  621. PR4 : longWord;
  622. PR4CLR : longWord;
  623. PR4SET : longWord;
  624. PR4INV : longWord;
  625. end;
  626. TTMR5_T5CON = record
  627. private
  628. function getON : TBits_1; inline;
  629. function getSIDL : TBits_1; inline;
  630. function getTCKPS : TBits_3; inline;
  631. function getTCKPS0 : TBits_1; inline;
  632. function getTCKPS1 : TBits_1; inline;
  633. function getTCKPS2 : TBits_1; inline;
  634. function getTCS : TBits_1; inline;
  635. function getTGATE : TBits_1; inline;
  636. function getTON : TBits_1; inline;
  637. function getTSIDL : TBits_1; inline;
  638. function getw : TBits_32; inline;
  639. procedure setON(thebits : TBits_1); inline;
  640. procedure setSIDL(thebits : TBits_1); inline;
  641. procedure setTCKPS(thebits : TBits_3); inline;
  642. procedure setTCKPS0(thebits : TBits_1); inline;
  643. procedure setTCKPS1(thebits : TBits_1); inline;
  644. procedure setTCKPS2(thebits : TBits_1); inline;
  645. procedure setTCS(thebits : TBits_1); inline;
  646. procedure setTGATE(thebits : TBits_1); inline;
  647. procedure setTON(thebits : TBits_1); inline;
  648. procedure setTSIDL(thebits : TBits_1); inline;
  649. procedure setw(thebits : TBits_32); inline;
  650. public
  651. procedure clearON; inline;
  652. procedure clearSIDL; inline;
  653. procedure clearTCKPS0; inline;
  654. procedure clearTCKPS1; inline;
  655. procedure clearTCKPS2; inline;
  656. procedure clearTCS; inline;
  657. procedure clearTGATE; inline;
  658. procedure clearTON; inline;
  659. procedure clearTSIDL; inline;
  660. procedure setON; inline;
  661. procedure setSIDL; inline;
  662. procedure setTCKPS0; inline;
  663. procedure setTCKPS1; inline;
  664. procedure setTCKPS2; inline;
  665. procedure setTCS; inline;
  666. procedure setTGATE; inline;
  667. procedure setTON; inline;
  668. procedure setTSIDL; inline;
  669. property ON : TBits_1 read getON write setON;
  670. property SIDL : TBits_1 read getSIDL write setSIDL;
  671. property TCKPS : TBits_3 read getTCKPS write setTCKPS;
  672. property TCKPS0 : TBits_1 read getTCKPS0 write setTCKPS0;
  673. property TCKPS1 : TBits_1 read getTCKPS1 write setTCKPS1;
  674. property TCKPS2 : TBits_1 read getTCKPS2 write setTCKPS2;
  675. property TCS : TBits_1 read getTCS write setTCS;
  676. property TGATE : TBits_1 read getTGATE write setTGATE;
  677. property TON : TBits_1 read getTON write setTON;
  678. property TSIDL : TBits_1 read getTSIDL write setTSIDL;
  679. property w : TBits_32 read getw write setw;
  680. end;
  681. type
  682. TTMR5Registers = record
  683. T5CONbits : TTMR5_T5CON;
  684. T5CON : longWord;
  685. T5CONCLR : longWord;
  686. T5CONSET : longWord;
  687. T5CONINV : longWord;
  688. TMR5 : longWord;
  689. TMR5CLR : longWord;
  690. TMR5SET : longWord;
  691. TMR5INV : longWord;
  692. PR5 : longWord;
  693. PR5CLR : longWord;
  694. PR5SET : longWord;
  695. PR5INV : longWord;
  696. end;
  697. TICAP1_IC1CON = record
  698. private
  699. function getC32 : TBits_1; inline;
  700. function getFEDGE : TBits_1; inline;
  701. function getICBNE : TBits_1; inline;
  702. function getICI : TBits_2; inline;
  703. function getICI0 : TBits_1; inline;
  704. function getICI1 : TBits_1; inline;
  705. function getICM : TBits_3; inline;
  706. function getICM0 : TBits_1; inline;
  707. function getICM1 : TBits_1; inline;
  708. function getICM2 : TBits_1; inline;
  709. function getICOV : TBits_1; inline;
  710. function getICSIDL : TBits_1; inline;
  711. function getICTMR : TBits_1; inline;
  712. function getON : TBits_1; inline;
  713. function getSIDL : TBits_1; inline;
  714. function getw : TBits_32; inline;
  715. procedure setC32(thebits : TBits_1); inline;
  716. procedure setFEDGE(thebits : TBits_1); inline;
  717. procedure setICBNE(thebits : TBits_1); inline;
  718. procedure setICI(thebits : TBits_2); inline;
  719. procedure setICI0(thebits : TBits_1); inline;
  720. procedure setICI1(thebits : TBits_1); inline;
  721. procedure setICM(thebits : TBits_3); inline;
  722. procedure setICM0(thebits : TBits_1); inline;
  723. procedure setICM1(thebits : TBits_1); inline;
  724. procedure setICM2(thebits : TBits_1); inline;
  725. procedure setICOV(thebits : TBits_1); inline;
  726. procedure setICSIDL(thebits : TBits_1); inline;
  727. procedure setICTMR(thebits : TBits_1); inline;
  728. procedure setON(thebits : TBits_1); inline;
  729. procedure setSIDL(thebits : TBits_1); inline;
  730. procedure setw(thebits : TBits_32); inline;
  731. public
  732. procedure clearC32; inline;
  733. procedure clearFEDGE; inline;
  734. procedure clearICBNE; inline;
  735. procedure clearICI0; inline;
  736. procedure clearICI1; inline;
  737. procedure clearICM0; inline;
  738. procedure clearICM1; inline;
  739. procedure clearICM2; inline;
  740. procedure clearICOV; inline;
  741. procedure clearICSIDL; inline;
  742. procedure clearICTMR; inline;
  743. procedure clearON; inline;
  744. procedure clearSIDL; inline;
  745. procedure setC32; inline;
  746. procedure setFEDGE; inline;
  747. procedure setICBNE; inline;
  748. procedure setICI0; inline;
  749. procedure setICI1; inline;
  750. procedure setICM0; inline;
  751. procedure setICM1; inline;
  752. procedure setICM2; inline;
  753. procedure setICOV; inline;
  754. procedure setICSIDL; inline;
  755. procedure setICTMR; inline;
  756. procedure setON; inline;
  757. procedure setSIDL; inline;
  758. property C32 : TBits_1 read getC32 write setC32;
  759. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  760. property ICBNE : TBits_1 read getICBNE write setICBNE;
  761. property ICI : TBits_2 read getICI write setICI;
  762. property ICI0 : TBits_1 read getICI0 write setICI0;
  763. property ICI1 : TBits_1 read getICI1 write setICI1;
  764. property ICM : TBits_3 read getICM write setICM;
  765. property ICM0 : TBits_1 read getICM0 write setICM0;
  766. property ICM1 : TBits_1 read getICM1 write setICM1;
  767. property ICM2 : TBits_1 read getICM2 write setICM2;
  768. property ICOV : TBits_1 read getICOV write setICOV;
  769. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  770. property ICTMR : TBits_1 read getICTMR write setICTMR;
  771. property ON : TBits_1 read getON write setON;
  772. property SIDL : TBits_1 read getSIDL write setSIDL;
  773. property w : TBits_32 read getw write setw;
  774. end;
  775. type
  776. TICAP1Registers = record
  777. IC1CONbits : TICAP1_IC1CON;
  778. IC1CON : longWord;
  779. IC1CONCLR : longWord;
  780. IC1CONSET : longWord;
  781. IC1CONINV : longWord;
  782. IC1BUF : longWord;
  783. end;
  784. TICAP2_IC2CON = record
  785. private
  786. function getC32 : TBits_1; inline;
  787. function getFEDGE : TBits_1; inline;
  788. function getICBNE : TBits_1; inline;
  789. function getICI : TBits_2; inline;
  790. function getICI0 : TBits_1; inline;
  791. function getICI1 : TBits_1; inline;
  792. function getICM : TBits_3; inline;
  793. function getICM0 : TBits_1; inline;
  794. function getICM1 : TBits_1; inline;
  795. function getICM2 : TBits_1; inline;
  796. function getICOV : TBits_1; inline;
  797. function getICSIDL : TBits_1; inline;
  798. function getICTMR : TBits_1; inline;
  799. function getON : TBits_1; inline;
  800. function getSIDL : TBits_1; inline;
  801. function getw : TBits_32; inline;
  802. procedure setC32(thebits : TBits_1); inline;
  803. procedure setFEDGE(thebits : TBits_1); inline;
  804. procedure setICBNE(thebits : TBits_1); inline;
  805. procedure setICI(thebits : TBits_2); inline;
  806. procedure setICI0(thebits : TBits_1); inline;
  807. procedure setICI1(thebits : TBits_1); inline;
  808. procedure setICM(thebits : TBits_3); inline;
  809. procedure setICM0(thebits : TBits_1); inline;
  810. procedure setICM1(thebits : TBits_1); inline;
  811. procedure setICM2(thebits : TBits_1); inline;
  812. procedure setICOV(thebits : TBits_1); inline;
  813. procedure setICSIDL(thebits : TBits_1); inline;
  814. procedure setICTMR(thebits : TBits_1); inline;
  815. procedure setON(thebits : TBits_1); inline;
  816. procedure setSIDL(thebits : TBits_1); inline;
  817. procedure setw(thebits : TBits_32); inline;
  818. public
  819. procedure clearC32; inline;
  820. procedure clearFEDGE; inline;
  821. procedure clearICBNE; inline;
  822. procedure clearICI0; inline;
  823. procedure clearICI1; inline;
  824. procedure clearICM0; inline;
  825. procedure clearICM1; inline;
  826. procedure clearICM2; inline;
  827. procedure clearICOV; inline;
  828. procedure clearICSIDL; inline;
  829. procedure clearICTMR; inline;
  830. procedure clearON; inline;
  831. procedure clearSIDL; inline;
  832. procedure setC32; inline;
  833. procedure setFEDGE; inline;
  834. procedure setICBNE; inline;
  835. procedure setICI0; inline;
  836. procedure setICI1; inline;
  837. procedure setICM0; inline;
  838. procedure setICM1; inline;
  839. procedure setICM2; inline;
  840. procedure setICOV; inline;
  841. procedure setICSIDL; inline;
  842. procedure setICTMR; inline;
  843. procedure setON; inline;
  844. procedure setSIDL; inline;
  845. property C32 : TBits_1 read getC32 write setC32;
  846. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  847. property ICBNE : TBits_1 read getICBNE write setICBNE;
  848. property ICI : TBits_2 read getICI write setICI;
  849. property ICI0 : TBits_1 read getICI0 write setICI0;
  850. property ICI1 : TBits_1 read getICI1 write setICI1;
  851. property ICM : TBits_3 read getICM write setICM;
  852. property ICM0 : TBits_1 read getICM0 write setICM0;
  853. property ICM1 : TBits_1 read getICM1 write setICM1;
  854. property ICM2 : TBits_1 read getICM2 write setICM2;
  855. property ICOV : TBits_1 read getICOV write setICOV;
  856. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  857. property ICTMR : TBits_1 read getICTMR write setICTMR;
  858. property ON : TBits_1 read getON write setON;
  859. property SIDL : TBits_1 read getSIDL write setSIDL;
  860. property w : TBits_32 read getw write setw;
  861. end;
  862. type
  863. TICAP2Registers = record
  864. IC2CONbits : TICAP2_IC2CON;
  865. IC2CON : longWord;
  866. IC2CONCLR : longWord;
  867. IC2CONSET : longWord;
  868. IC2CONINV : longWord;
  869. IC2BUF : longWord;
  870. end;
  871. TICAP3_IC3CON = record
  872. private
  873. function getC32 : TBits_1; inline;
  874. function getFEDGE : TBits_1; inline;
  875. function getICBNE : TBits_1; inline;
  876. function getICI : TBits_2; inline;
  877. function getICI0 : TBits_1; inline;
  878. function getICI1 : TBits_1; inline;
  879. function getICM : TBits_3; inline;
  880. function getICM0 : TBits_1; inline;
  881. function getICM1 : TBits_1; inline;
  882. function getICM2 : TBits_1; inline;
  883. function getICOV : TBits_1; inline;
  884. function getICSIDL : TBits_1; inline;
  885. function getICTMR : TBits_1; inline;
  886. function getON : TBits_1; inline;
  887. function getSIDL : TBits_1; inline;
  888. function getw : TBits_32; inline;
  889. procedure setC32(thebits : TBits_1); inline;
  890. procedure setFEDGE(thebits : TBits_1); inline;
  891. procedure setICBNE(thebits : TBits_1); inline;
  892. procedure setICI(thebits : TBits_2); inline;
  893. procedure setICI0(thebits : TBits_1); inline;
  894. procedure setICI1(thebits : TBits_1); inline;
  895. procedure setICM(thebits : TBits_3); inline;
  896. procedure setICM0(thebits : TBits_1); inline;
  897. procedure setICM1(thebits : TBits_1); inline;
  898. procedure setICM2(thebits : TBits_1); inline;
  899. procedure setICOV(thebits : TBits_1); inline;
  900. procedure setICSIDL(thebits : TBits_1); inline;
  901. procedure setICTMR(thebits : TBits_1); inline;
  902. procedure setON(thebits : TBits_1); inline;
  903. procedure setSIDL(thebits : TBits_1); inline;
  904. procedure setw(thebits : TBits_32); inline;
  905. public
  906. procedure clearC32; inline;
  907. procedure clearFEDGE; inline;
  908. procedure clearICBNE; inline;
  909. procedure clearICI0; inline;
  910. procedure clearICI1; inline;
  911. procedure clearICM0; inline;
  912. procedure clearICM1; inline;
  913. procedure clearICM2; inline;
  914. procedure clearICOV; inline;
  915. procedure clearICSIDL; inline;
  916. procedure clearICTMR; inline;
  917. procedure clearON; inline;
  918. procedure clearSIDL; inline;
  919. procedure setC32; inline;
  920. procedure setFEDGE; inline;
  921. procedure setICBNE; inline;
  922. procedure setICI0; inline;
  923. procedure setICI1; inline;
  924. procedure setICM0; inline;
  925. procedure setICM1; inline;
  926. procedure setICM2; inline;
  927. procedure setICOV; inline;
  928. procedure setICSIDL; inline;
  929. procedure setICTMR; inline;
  930. procedure setON; inline;
  931. procedure setSIDL; inline;
  932. property C32 : TBits_1 read getC32 write setC32;
  933. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  934. property ICBNE : TBits_1 read getICBNE write setICBNE;
  935. property ICI : TBits_2 read getICI write setICI;
  936. property ICI0 : TBits_1 read getICI0 write setICI0;
  937. property ICI1 : TBits_1 read getICI1 write setICI1;
  938. property ICM : TBits_3 read getICM write setICM;
  939. property ICM0 : TBits_1 read getICM0 write setICM0;
  940. property ICM1 : TBits_1 read getICM1 write setICM1;
  941. property ICM2 : TBits_1 read getICM2 write setICM2;
  942. property ICOV : TBits_1 read getICOV write setICOV;
  943. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  944. property ICTMR : TBits_1 read getICTMR write setICTMR;
  945. property ON : TBits_1 read getON write setON;
  946. property SIDL : TBits_1 read getSIDL write setSIDL;
  947. property w : TBits_32 read getw write setw;
  948. end;
  949. type
  950. TICAP3Registers = record
  951. IC3CONbits : TICAP3_IC3CON;
  952. IC3CON : longWord;
  953. IC3CONCLR : longWord;
  954. IC3CONSET : longWord;
  955. IC3CONINV : longWord;
  956. IC3BUF : longWord;
  957. end;
  958. TICAP4_IC4CON = record
  959. private
  960. function getC32 : TBits_1; inline;
  961. function getFEDGE : TBits_1; inline;
  962. function getICBNE : TBits_1; inline;
  963. function getICI : TBits_2; inline;
  964. function getICI0 : TBits_1; inline;
  965. function getICI1 : TBits_1; inline;
  966. function getICM : TBits_3; inline;
  967. function getICM0 : TBits_1; inline;
  968. function getICM1 : TBits_1; inline;
  969. function getICM2 : TBits_1; inline;
  970. function getICOV : TBits_1; inline;
  971. function getICSIDL : TBits_1; inline;
  972. function getICTMR : TBits_1; inline;
  973. function getON : TBits_1; inline;
  974. function getSIDL : TBits_1; inline;
  975. function getw : TBits_32; inline;
  976. procedure setC32(thebits : TBits_1); inline;
  977. procedure setFEDGE(thebits : TBits_1); inline;
  978. procedure setICBNE(thebits : TBits_1); inline;
  979. procedure setICI(thebits : TBits_2); inline;
  980. procedure setICI0(thebits : TBits_1); inline;
  981. procedure setICI1(thebits : TBits_1); inline;
  982. procedure setICM(thebits : TBits_3); inline;
  983. procedure setICM0(thebits : TBits_1); inline;
  984. procedure setICM1(thebits : TBits_1); inline;
  985. procedure setICM2(thebits : TBits_1); inline;
  986. procedure setICOV(thebits : TBits_1); inline;
  987. procedure setICSIDL(thebits : TBits_1); inline;
  988. procedure setICTMR(thebits : TBits_1); inline;
  989. procedure setON(thebits : TBits_1); inline;
  990. procedure setSIDL(thebits : TBits_1); inline;
  991. procedure setw(thebits : TBits_32); inline;
  992. public
  993. procedure clearC32; inline;
  994. procedure clearFEDGE; inline;
  995. procedure clearICBNE; inline;
  996. procedure clearICI0; inline;
  997. procedure clearICI1; inline;
  998. procedure clearICM0; inline;
  999. procedure clearICM1; inline;
  1000. procedure clearICM2; inline;
  1001. procedure clearICOV; inline;
  1002. procedure clearICSIDL; inline;
  1003. procedure clearICTMR; inline;
  1004. procedure clearON; inline;
  1005. procedure clearSIDL; inline;
  1006. procedure setC32; inline;
  1007. procedure setFEDGE; inline;
  1008. procedure setICBNE; inline;
  1009. procedure setICI0; inline;
  1010. procedure setICI1; inline;
  1011. procedure setICM0; inline;
  1012. procedure setICM1; inline;
  1013. procedure setICM2; inline;
  1014. procedure setICOV; inline;
  1015. procedure setICSIDL; inline;
  1016. procedure setICTMR; inline;
  1017. procedure setON; inline;
  1018. procedure setSIDL; inline;
  1019. property C32 : TBits_1 read getC32 write setC32;
  1020. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1021. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1022. property ICI : TBits_2 read getICI write setICI;
  1023. property ICI0 : TBits_1 read getICI0 write setICI0;
  1024. property ICI1 : TBits_1 read getICI1 write setICI1;
  1025. property ICM : TBits_3 read getICM write setICM;
  1026. property ICM0 : TBits_1 read getICM0 write setICM0;
  1027. property ICM1 : TBits_1 read getICM1 write setICM1;
  1028. property ICM2 : TBits_1 read getICM2 write setICM2;
  1029. property ICOV : TBits_1 read getICOV write setICOV;
  1030. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1031. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1032. property ON : TBits_1 read getON write setON;
  1033. property SIDL : TBits_1 read getSIDL write setSIDL;
  1034. property w : TBits_32 read getw write setw;
  1035. end;
  1036. type
  1037. TICAP4Registers = record
  1038. IC4CONbits : TICAP4_IC4CON;
  1039. IC4CON : longWord;
  1040. IC4CONCLR : longWord;
  1041. IC4CONSET : longWord;
  1042. IC4CONINV : longWord;
  1043. IC4BUF : longWord;
  1044. end;
  1045. TICAP5_IC5CON = record
  1046. private
  1047. function getC32 : TBits_1; inline;
  1048. function getFEDGE : TBits_1; inline;
  1049. function getICBNE : TBits_1; inline;
  1050. function getICI : TBits_2; inline;
  1051. function getICI0 : TBits_1; inline;
  1052. function getICI1 : TBits_1; inline;
  1053. function getICM : TBits_3; inline;
  1054. function getICM0 : TBits_1; inline;
  1055. function getICM1 : TBits_1; inline;
  1056. function getICM2 : TBits_1; inline;
  1057. function getICOV : TBits_1; inline;
  1058. function getICSIDL : TBits_1; inline;
  1059. function getICTMR : TBits_1; inline;
  1060. function getON : TBits_1; inline;
  1061. function getSIDL : TBits_1; inline;
  1062. function getw : TBits_32; inline;
  1063. procedure setC32(thebits : TBits_1); inline;
  1064. procedure setFEDGE(thebits : TBits_1); inline;
  1065. procedure setICBNE(thebits : TBits_1); inline;
  1066. procedure setICI(thebits : TBits_2); inline;
  1067. procedure setICI0(thebits : TBits_1); inline;
  1068. procedure setICI1(thebits : TBits_1); inline;
  1069. procedure setICM(thebits : TBits_3); inline;
  1070. procedure setICM0(thebits : TBits_1); inline;
  1071. procedure setICM1(thebits : TBits_1); inline;
  1072. procedure setICM2(thebits : TBits_1); inline;
  1073. procedure setICOV(thebits : TBits_1); inline;
  1074. procedure setICSIDL(thebits : TBits_1); inline;
  1075. procedure setICTMR(thebits : TBits_1); inline;
  1076. procedure setON(thebits : TBits_1); inline;
  1077. procedure setSIDL(thebits : TBits_1); inline;
  1078. procedure setw(thebits : TBits_32); inline;
  1079. public
  1080. procedure clearC32; inline;
  1081. procedure clearFEDGE; inline;
  1082. procedure clearICBNE; inline;
  1083. procedure clearICI0; inline;
  1084. procedure clearICI1; inline;
  1085. procedure clearICM0; inline;
  1086. procedure clearICM1; inline;
  1087. procedure clearICM2; inline;
  1088. procedure clearICOV; inline;
  1089. procedure clearICSIDL; inline;
  1090. procedure clearICTMR; inline;
  1091. procedure clearON; inline;
  1092. procedure clearSIDL; inline;
  1093. procedure setC32; inline;
  1094. procedure setFEDGE; inline;
  1095. procedure setICBNE; inline;
  1096. procedure setICI0; inline;
  1097. procedure setICI1; inline;
  1098. procedure setICM0; inline;
  1099. procedure setICM1; inline;
  1100. procedure setICM2; inline;
  1101. procedure setICOV; inline;
  1102. procedure setICSIDL; inline;
  1103. procedure setICTMR; inline;
  1104. procedure setON; inline;
  1105. procedure setSIDL; inline;
  1106. property C32 : TBits_1 read getC32 write setC32;
  1107. property FEDGE : TBits_1 read getFEDGE write setFEDGE;
  1108. property ICBNE : TBits_1 read getICBNE write setICBNE;
  1109. property ICI : TBits_2 read getICI write setICI;
  1110. property ICI0 : TBits_1 read getICI0 write setICI0;
  1111. property ICI1 : TBits_1 read getICI1 write setICI1;
  1112. property ICM : TBits_3 read getICM write setICM;
  1113. property ICM0 : TBits_1 read getICM0 write setICM0;
  1114. property ICM1 : TBits_1 read getICM1 write setICM1;
  1115. property ICM2 : TBits_1 read getICM2 write setICM2;
  1116. property ICOV : TBits_1 read getICOV write setICOV;
  1117. property ICSIDL : TBits_1 read getICSIDL write setICSIDL;
  1118. property ICTMR : TBits_1 read getICTMR write setICTMR;
  1119. property ON : TBits_1 read getON write setON;
  1120. property SIDL : TBits_1 read getSIDL write setSIDL;
  1121. property w : TBits_32 read getw write setw;
  1122. end;
  1123. type
  1124. TICAP5Registers = record
  1125. IC5CONbits : TICAP5_IC5CON;
  1126. IC5CON : longWord;
  1127. IC5CONCLR : longWord;
  1128. IC5CONSET : longWord;
  1129. IC5CONINV : longWord;
  1130. IC5BUF : longWord;
  1131. end;
  1132. TOCMP1_OC1CON = record
  1133. private
  1134. function getOC32 : TBits_1; inline;
  1135. function getOCFLT : TBits_1; inline;
  1136. function getOCM : TBits_3; inline;
  1137. function getOCM0 : TBits_1; inline;
  1138. function getOCM1 : TBits_1; inline;
  1139. function getOCM2 : TBits_1; inline;
  1140. function getOCSIDL : TBits_1; inline;
  1141. function getOCTSEL : TBits_1; inline;
  1142. function getON : TBits_1; inline;
  1143. function getSIDL : TBits_1; inline;
  1144. function getw : TBits_32; inline;
  1145. procedure setOC32(thebits : TBits_1); inline;
  1146. procedure setOCFLT(thebits : TBits_1); inline;
  1147. procedure setOCM(thebits : TBits_3); inline;
  1148. procedure setOCM0(thebits : TBits_1); inline;
  1149. procedure setOCM1(thebits : TBits_1); inline;
  1150. procedure setOCM2(thebits : TBits_1); inline;
  1151. procedure setOCSIDL(thebits : TBits_1); inline;
  1152. procedure setOCTSEL(thebits : TBits_1); inline;
  1153. procedure setON(thebits : TBits_1); inline;
  1154. procedure setSIDL(thebits : TBits_1); inline;
  1155. procedure setw(thebits : TBits_32); inline;
  1156. public
  1157. procedure clearOC32; inline;
  1158. procedure clearOCFLT; inline;
  1159. procedure clearOCM0; inline;
  1160. procedure clearOCM1; inline;
  1161. procedure clearOCM2; inline;
  1162. procedure clearOCSIDL; inline;
  1163. procedure clearOCTSEL; inline;
  1164. procedure clearON; inline;
  1165. procedure clearSIDL; inline;
  1166. procedure setOC32; inline;
  1167. procedure setOCFLT; inline;
  1168. procedure setOCM0; inline;
  1169. procedure setOCM1; inline;
  1170. procedure setOCM2; inline;
  1171. procedure setOCSIDL; inline;
  1172. procedure setOCTSEL; inline;
  1173. procedure setON; inline;
  1174. procedure setSIDL; inline;
  1175. property OC32 : TBits_1 read getOC32 write setOC32;
  1176. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1177. property OCM : TBits_3 read getOCM write setOCM;
  1178. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1179. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1180. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1181. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1182. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1183. property ON : TBits_1 read getON write setON;
  1184. property SIDL : TBits_1 read getSIDL write setSIDL;
  1185. property w : TBits_32 read getw write setw;
  1186. end;
  1187. type
  1188. TOCMP1Registers = record
  1189. OC1CONbits : TOCMP1_OC1CON;
  1190. OC1CON : longWord;
  1191. OC1CONCLR : longWord;
  1192. OC1CONSET : longWord;
  1193. OC1CONINV : longWord;
  1194. OC1R : longWord;
  1195. OC1RCLR : longWord;
  1196. OC1RSET : longWord;
  1197. OC1RINV : longWord;
  1198. OC1RS : longWord;
  1199. OC1RSCLR : longWord;
  1200. OC1RSSET : longWord;
  1201. OC1RSINV : longWord;
  1202. end;
  1203. TOCMP2_OC2CON = record
  1204. private
  1205. function getOC32 : TBits_1; inline;
  1206. function getOCFLT : TBits_1; inline;
  1207. function getOCM : TBits_3; inline;
  1208. function getOCM0 : TBits_1; inline;
  1209. function getOCM1 : TBits_1; inline;
  1210. function getOCM2 : TBits_1; inline;
  1211. function getOCSIDL : TBits_1; inline;
  1212. function getOCTSEL : TBits_1; inline;
  1213. function getON : TBits_1; inline;
  1214. function getSIDL : TBits_1; inline;
  1215. function getw : TBits_32; inline;
  1216. procedure setOC32(thebits : TBits_1); inline;
  1217. procedure setOCFLT(thebits : TBits_1); inline;
  1218. procedure setOCM(thebits : TBits_3); inline;
  1219. procedure setOCM0(thebits : TBits_1); inline;
  1220. procedure setOCM1(thebits : TBits_1); inline;
  1221. procedure setOCM2(thebits : TBits_1); inline;
  1222. procedure setOCSIDL(thebits : TBits_1); inline;
  1223. procedure setOCTSEL(thebits : TBits_1); inline;
  1224. procedure setON(thebits : TBits_1); inline;
  1225. procedure setSIDL(thebits : TBits_1); inline;
  1226. procedure setw(thebits : TBits_32); inline;
  1227. public
  1228. procedure clearOC32; inline;
  1229. procedure clearOCFLT; inline;
  1230. procedure clearOCM0; inline;
  1231. procedure clearOCM1; inline;
  1232. procedure clearOCM2; inline;
  1233. procedure clearOCSIDL; inline;
  1234. procedure clearOCTSEL; inline;
  1235. procedure clearON; inline;
  1236. procedure clearSIDL; inline;
  1237. procedure setOC32; inline;
  1238. procedure setOCFLT; inline;
  1239. procedure setOCM0; inline;
  1240. procedure setOCM1; inline;
  1241. procedure setOCM2; inline;
  1242. procedure setOCSIDL; inline;
  1243. procedure setOCTSEL; inline;
  1244. procedure setON; inline;
  1245. procedure setSIDL; inline;
  1246. property OC32 : TBits_1 read getOC32 write setOC32;
  1247. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1248. property OCM : TBits_3 read getOCM write setOCM;
  1249. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1250. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1251. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1252. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1253. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1254. property ON : TBits_1 read getON write setON;
  1255. property SIDL : TBits_1 read getSIDL write setSIDL;
  1256. property w : TBits_32 read getw write setw;
  1257. end;
  1258. type
  1259. TOCMP2Registers = record
  1260. OC2CONbits : TOCMP2_OC2CON;
  1261. OC2CON : longWord;
  1262. OC2CONCLR : longWord;
  1263. OC2CONSET : longWord;
  1264. OC2CONINV : longWord;
  1265. OC2R : longWord;
  1266. OC2RCLR : longWord;
  1267. OC2RSET : longWord;
  1268. OC2RINV : longWord;
  1269. OC2RS : longWord;
  1270. OC2RSCLR : longWord;
  1271. OC2RSSET : longWord;
  1272. OC2RSINV : longWord;
  1273. end;
  1274. TOCMP3_OC3CON = record
  1275. private
  1276. function getOC32 : TBits_1; inline;
  1277. function getOCFLT : TBits_1; inline;
  1278. function getOCM : TBits_3; inline;
  1279. function getOCM0 : TBits_1; inline;
  1280. function getOCM1 : TBits_1; inline;
  1281. function getOCM2 : TBits_1; inline;
  1282. function getOCSIDL : TBits_1; inline;
  1283. function getOCTSEL : TBits_1; inline;
  1284. function getON : TBits_1; inline;
  1285. function getSIDL : TBits_1; inline;
  1286. function getw : TBits_32; inline;
  1287. procedure setOC32(thebits : TBits_1); inline;
  1288. procedure setOCFLT(thebits : TBits_1); inline;
  1289. procedure setOCM(thebits : TBits_3); inline;
  1290. procedure setOCM0(thebits : TBits_1); inline;
  1291. procedure setOCM1(thebits : TBits_1); inline;
  1292. procedure setOCM2(thebits : TBits_1); inline;
  1293. procedure setOCSIDL(thebits : TBits_1); inline;
  1294. procedure setOCTSEL(thebits : TBits_1); inline;
  1295. procedure setON(thebits : TBits_1); inline;
  1296. procedure setSIDL(thebits : TBits_1); inline;
  1297. procedure setw(thebits : TBits_32); inline;
  1298. public
  1299. procedure clearOC32; inline;
  1300. procedure clearOCFLT; inline;
  1301. procedure clearOCM0; inline;
  1302. procedure clearOCM1; inline;
  1303. procedure clearOCM2; inline;
  1304. procedure clearOCSIDL; inline;
  1305. procedure clearOCTSEL; inline;
  1306. procedure clearON; inline;
  1307. procedure clearSIDL; inline;
  1308. procedure setOC32; inline;
  1309. procedure setOCFLT; inline;
  1310. procedure setOCM0; inline;
  1311. procedure setOCM1; inline;
  1312. procedure setOCM2; inline;
  1313. procedure setOCSIDL; inline;
  1314. procedure setOCTSEL; inline;
  1315. procedure setON; inline;
  1316. procedure setSIDL; inline;
  1317. property OC32 : TBits_1 read getOC32 write setOC32;
  1318. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1319. property OCM : TBits_3 read getOCM write setOCM;
  1320. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1321. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1322. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1323. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1324. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1325. property ON : TBits_1 read getON write setON;
  1326. property SIDL : TBits_1 read getSIDL write setSIDL;
  1327. property w : TBits_32 read getw write setw;
  1328. end;
  1329. type
  1330. TOCMP3Registers = record
  1331. OC3CONbits : TOCMP3_OC3CON;
  1332. OC3CON : longWord;
  1333. OC3CONCLR : longWord;
  1334. OC3CONSET : longWord;
  1335. OC3CONINV : longWord;
  1336. OC3R : longWord;
  1337. OC3RCLR : longWord;
  1338. OC3RSET : longWord;
  1339. OC3RINV : longWord;
  1340. OC3RS : longWord;
  1341. OC3RSCLR : longWord;
  1342. OC3RSSET : longWord;
  1343. OC3RSINV : longWord;
  1344. end;
  1345. TOCMP4_OC4CON = record
  1346. private
  1347. function getOC32 : TBits_1; inline;
  1348. function getOCFLT : TBits_1; inline;
  1349. function getOCM : TBits_3; inline;
  1350. function getOCM0 : TBits_1; inline;
  1351. function getOCM1 : TBits_1; inline;
  1352. function getOCM2 : TBits_1; inline;
  1353. function getOCSIDL : TBits_1; inline;
  1354. function getOCTSEL : TBits_1; inline;
  1355. function getON : TBits_1; inline;
  1356. function getSIDL : TBits_1; inline;
  1357. function getw : TBits_32; inline;
  1358. procedure setOC32(thebits : TBits_1); inline;
  1359. procedure setOCFLT(thebits : TBits_1); inline;
  1360. procedure setOCM(thebits : TBits_3); inline;
  1361. procedure setOCM0(thebits : TBits_1); inline;
  1362. procedure setOCM1(thebits : TBits_1); inline;
  1363. procedure setOCM2(thebits : TBits_1); inline;
  1364. procedure setOCSIDL(thebits : TBits_1); inline;
  1365. procedure setOCTSEL(thebits : TBits_1); inline;
  1366. procedure setON(thebits : TBits_1); inline;
  1367. procedure setSIDL(thebits : TBits_1); inline;
  1368. procedure setw(thebits : TBits_32); inline;
  1369. public
  1370. procedure clearOC32; inline;
  1371. procedure clearOCFLT; inline;
  1372. procedure clearOCM0; inline;
  1373. procedure clearOCM1; inline;
  1374. procedure clearOCM2; inline;
  1375. procedure clearOCSIDL; inline;
  1376. procedure clearOCTSEL; inline;
  1377. procedure clearON; inline;
  1378. procedure clearSIDL; inline;
  1379. procedure setOC32; inline;
  1380. procedure setOCFLT; inline;
  1381. procedure setOCM0; inline;
  1382. procedure setOCM1; inline;
  1383. procedure setOCM2; inline;
  1384. procedure setOCSIDL; inline;
  1385. procedure setOCTSEL; inline;
  1386. procedure setON; inline;
  1387. procedure setSIDL; inline;
  1388. property OC32 : TBits_1 read getOC32 write setOC32;
  1389. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1390. property OCM : TBits_3 read getOCM write setOCM;
  1391. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1392. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1393. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1394. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1395. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1396. property ON : TBits_1 read getON write setON;
  1397. property SIDL : TBits_1 read getSIDL write setSIDL;
  1398. property w : TBits_32 read getw write setw;
  1399. end;
  1400. type
  1401. TOCMP4Registers = record
  1402. OC4CONbits : TOCMP4_OC4CON;
  1403. OC4CON : longWord;
  1404. OC4CONCLR : longWord;
  1405. OC4CONSET : longWord;
  1406. OC4CONINV : longWord;
  1407. OC4R : longWord;
  1408. OC4RCLR : longWord;
  1409. OC4RSET : longWord;
  1410. OC4RINV : longWord;
  1411. OC4RS : longWord;
  1412. OC4RSCLR : longWord;
  1413. OC4RSSET : longWord;
  1414. OC4RSINV : longWord;
  1415. end;
  1416. TOCMP5_OC5CON = record
  1417. private
  1418. function getOC32 : TBits_1; inline;
  1419. function getOCFLT : TBits_1; inline;
  1420. function getOCM : TBits_3; inline;
  1421. function getOCM0 : TBits_1; inline;
  1422. function getOCM1 : TBits_1; inline;
  1423. function getOCM2 : TBits_1; inline;
  1424. function getOCSIDL : TBits_1; inline;
  1425. function getOCTSEL : TBits_1; inline;
  1426. function getON : TBits_1; inline;
  1427. function getSIDL : TBits_1; inline;
  1428. function getw : TBits_32; inline;
  1429. procedure setOC32(thebits : TBits_1); inline;
  1430. procedure setOCFLT(thebits : TBits_1); inline;
  1431. procedure setOCM(thebits : TBits_3); inline;
  1432. procedure setOCM0(thebits : TBits_1); inline;
  1433. procedure setOCM1(thebits : TBits_1); inline;
  1434. procedure setOCM2(thebits : TBits_1); inline;
  1435. procedure setOCSIDL(thebits : TBits_1); inline;
  1436. procedure setOCTSEL(thebits : TBits_1); inline;
  1437. procedure setON(thebits : TBits_1); inline;
  1438. procedure setSIDL(thebits : TBits_1); inline;
  1439. procedure setw(thebits : TBits_32); inline;
  1440. public
  1441. procedure clearOC32; inline;
  1442. procedure clearOCFLT; inline;
  1443. procedure clearOCM0; inline;
  1444. procedure clearOCM1; inline;
  1445. procedure clearOCM2; inline;
  1446. procedure clearOCSIDL; inline;
  1447. procedure clearOCTSEL; inline;
  1448. procedure clearON; inline;
  1449. procedure clearSIDL; inline;
  1450. procedure setOC32; inline;
  1451. procedure setOCFLT; inline;
  1452. procedure setOCM0; inline;
  1453. procedure setOCM1; inline;
  1454. procedure setOCM2; inline;
  1455. procedure setOCSIDL; inline;
  1456. procedure setOCTSEL; inline;
  1457. procedure setON; inline;
  1458. procedure setSIDL; inline;
  1459. property OC32 : TBits_1 read getOC32 write setOC32;
  1460. property OCFLT : TBits_1 read getOCFLT write setOCFLT;
  1461. property OCM : TBits_3 read getOCM write setOCM;
  1462. property OCM0 : TBits_1 read getOCM0 write setOCM0;
  1463. property OCM1 : TBits_1 read getOCM1 write setOCM1;
  1464. property OCM2 : TBits_1 read getOCM2 write setOCM2;
  1465. property OCSIDL : TBits_1 read getOCSIDL write setOCSIDL;
  1466. property OCTSEL : TBits_1 read getOCTSEL write setOCTSEL;
  1467. property ON : TBits_1 read getON write setON;
  1468. property SIDL : TBits_1 read getSIDL write setSIDL;
  1469. property w : TBits_32 read getw write setw;
  1470. end;
  1471. type
  1472. TOCMP5Registers = record
  1473. OC5CONbits : TOCMP5_OC5CON;
  1474. OC5CON : longWord;
  1475. OC5CONCLR : longWord;
  1476. OC5CONSET : longWord;
  1477. OC5CONINV : longWord;
  1478. OC5R : longWord;
  1479. OC5RCLR : longWord;
  1480. OC5RSET : longWord;
  1481. OC5RINV : longWord;
  1482. OC5RS : longWord;
  1483. OC5RSCLR : longWord;
  1484. OC5RSSET : longWord;
  1485. OC5RSINV : longWord;
  1486. end;
  1487. TI2C1_I2C1ACON = record
  1488. private
  1489. function getA10M : TBits_1; inline;
  1490. function getACKDT : TBits_1; inline;
  1491. function getACKEN : TBits_1; inline;
  1492. function getDISSLW : TBits_1; inline;
  1493. function getGCEN : TBits_1; inline;
  1494. function getI2CEN : TBits_1; inline;
  1495. function getI2CSIDL : TBits_1; inline;
  1496. function getIPMIEN : TBits_1; inline;
  1497. function getON : TBits_1; inline;
  1498. function getPEN : TBits_1; inline;
  1499. function getRCEN : TBits_1; inline;
  1500. function getRSEN : TBits_1; inline;
  1501. function getSCLREL : TBits_1; inline;
  1502. function getSEN : TBits_1; inline;
  1503. function getSIDL : TBits_1; inline;
  1504. function getSMEN : TBits_1; inline;
  1505. function getSTREN : TBits_1; inline;
  1506. function getSTRICT : TBits_1; inline;
  1507. function getw : TBits_32; inline;
  1508. procedure setA10M(thebits : TBits_1); inline;
  1509. procedure setACKDT(thebits : TBits_1); inline;
  1510. procedure setACKEN(thebits : TBits_1); inline;
  1511. procedure setDISSLW(thebits : TBits_1); inline;
  1512. procedure setGCEN(thebits : TBits_1); inline;
  1513. procedure setI2CEN(thebits : TBits_1); inline;
  1514. procedure setI2CSIDL(thebits : TBits_1); inline;
  1515. procedure setIPMIEN(thebits : TBits_1); inline;
  1516. procedure setON(thebits : TBits_1); inline;
  1517. procedure setPEN(thebits : TBits_1); inline;
  1518. procedure setRCEN(thebits : TBits_1); inline;
  1519. procedure setRSEN(thebits : TBits_1); inline;
  1520. procedure setSCLREL(thebits : TBits_1); inline;
  1521. procedure setSEN(thebits : TBits_1); inline;
  1522. procedure setSIDL(thebits : TBits_1); inline;
  1523. procedure setSMEN(thebits : TBits_1); inline;
  1524. procedure setSTREN(thebits : TBits_1); inline;
  1525. procedure setSTRICT(thebits : TBits_1); inline;
  1526. procedure setw(thebits : TBits_32); inline;
  1527. public
  1528. procedure clearA10M; inline;
  1529. procedure clearACKDT; inline;
  1530. procedure clearACKEN; inline;
  1531. procedure clearDISSLW; inline;
  1532. procedure clearGCEN; inline;
  1533. procedure clearI2CEN; inline;
  1534. procedure clearI2CSIDL; inline;
  1535. procedure clearIPMIEN; inline;
  1536. procedure clearON; inline;
  1537. procedure clearPEN; inline;
  1538. procedure clearRCEN; inline;
  1539. procedure clearRSEN; inline;
  1540. procedure clearSCLREL; inline;
  1541. procedure clearSEN; inline;
  1542. procedure clearSIDL; inline;
  1543. procedure clearSMEN; inline;
  1544. procedure clearSTREN; inline;
  1545. procedure clearSTRICT; inline;
  1546. procedure setA10M; inline;
  1547. procedure setACKDT; inline;
  1548. procedure setACKEN; inline;
  1549. procedure setDISSLW; inline;
  1550. procedure setGCEN; inline;
  1551. procedure setI2CEN; inline;
  1552. procedure setI2CSIDL; inline;
  1553. procedure setIPMIEN; inline;
  1554. procedure setON; inline;
  1555. procedure setPEN; inline;
  1556. procedure setRCEN; inline;
  1557. procedure setRSEN; inline;
  1558. procedure setSCLREL; inline;
  1559. procedure setSEN; inline;
  1560. procedure setSIDL; inline;
  1561. procedure setSMEN; inline;
  1562. procedure setSTREN; inline;
  1563. procedure setSTRICT; inline;
  1564. property A10M : TBits_1 read getA10M write setA10M;
  1565. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1566. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1567. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1568. property GCEN : TBits_1 read getGCEN write setGCEN;
  1569. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1570. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1571. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1572. property ON : TBits_1 read getON write setON;
  1573. property PEN : TBits_1 read getPEN write setPEN;
  1574. property RCEN : TBits_1 read getRCEN write setRCEN;
  1575. property RSEN : TBits_1 read getRSEN write setRSEN;
  1576. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1577. property SEN : TBits_1 read getSEN write setSEN;
  1578. property SIDL : TBits_1 read getSIDL write setSIDL;
  1579. property SMEN : TBits_1 read getSMEN write setSMEN;
  1580. property STREN : TBits_1 read getSTREN write setSTREN;
  1581. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1582. property w : TBits_32 read getw write setw;
  1583. end;
  1584. TI2C1_I2C1CON = record
  1585. private
  1586. function getA10M : TBits_1; inline;
  1587. function getACKDT : TBits_1; inline;
  1588. function getACKEN : TBits_1; inline;
  1589. function getDISSLW : TBits_1; inline;
  1590. function getGCEN : TBits_1; inline;
  1591. function getI2CEN : TBits_1; inline;
  1592. function getI2CSIDL : TBits_1; inline;
  1593. function getIPMIEN : TBits_1; inline;
  1594. function getON : TBits_1; inline;
  1595. function getPEN : TBits_1; inline;
  1596. function getRCEN : TBits_1; inline;
  1597. function getRSEN : TBits_1; inline;
  1598. function getSCLREL : TBits_1; inline;
  1599. function getSEN : TBits_1; inline;
  1600. function getSIDL : TBits_1; inline;
  1601. function getSMEN : TBits_1; inline;
  1602. function getSTREN : TBits_1; inline;
  1603. function getSTRICT : TBits_1; inline;
  1604. function getw : TBits_32; inline;
  1605. procedure setA10M(thebits : TBits_1); inline;
  1606. procedure setACKDT(thebits : TBits_1); inline;
  1607. procedure setACKEN(thebits : TBits_1); inline;
  1608. procedure setDISSLW(thebits : TBits_1); inline;
  1609. procedure setGCEN(thebits : TBits_1); inline;
  1610. procedure setI2CEN(thebits : TBits_1); inline;
  1611. procedure setI2CSIDL(thebits : TBits_1); inline;
  1612. procedure setIPMIEN(thebits : TBits_1); inline;
  1613. procedure setON(thebits : TBits_1); inline;
  1614. procedure setPEN(thebits : TBits_1); inline;
  1615. procedure setRCEN(thebits : TBits_1); inline;
  1616. procedure setRSEN(thebits : TBits_1); inline;
  1617. procedure setSCLREL(thebits : TBits_1); inline;
  1618. procedure setSEN(thebits : TBits_1); inline;
  1619. procedure setSIDL(thebits : TBits_1); inline;
  1620. procedure setSMEN(thebits : TBits_1); inline;
  1621. procedure setSTREN(thebits : TBits_1); inline;
  1622. procedure setSTRICT(thebits : TBits_1); inline;
  1623. procedure setw(thebits : TBits_32); inline;
  1624. public
  1625. procedure clearA10M; inline;
  1626. procedure clearACKDT; inline;
  1627. procedure clearACKEN; inline;
  1628. procedure clearDISSLW; inline;
  1629. procedure clearGCEN; inline;
  1630. procedure clearI2CEN; inline;
  1631. procedure clearI2CSIDL; inline;
  1632. procedure clearIPMIEN; inline;
  1633. procedure clearON; inline;
  1634. procedure clearPEN; inline;
  1635. procedure clearRCEN; inline;
  1636. procedure clearRSEN; inline;
  1637. procedure clearSCLREL; inline;
  1638. procedure clearSEN; inline;
  1639. procedure clearSIDL; inline;
  1640. procedure clearSMEN; inline;
  1641. procedure clearSTREN; inline;
  1642. procedure clearSTRICT; inline;
  1643. procedure setA10M; inline;
  1644. procedure setACKDT; inline;
  1645. procedure setACKEN; inline;
  1646. procedure setDISSLW; inline;
  1647. procedure setGCEN; inline;
  1648. procedure setI2CEN; inline;
  1649. procedure setI2CSIDL; inline;
  1650. procedure setIPMIEN; inline;
  1651. procedure setON; inline;
  1652. procedure setPEN; inline;
  1653. procedure setRCEN; inline;
  1654. procedure setRSEN; inline;
  1655. procedure setSCLREL; inline;
  1656. procedure setSEN; inline;
  1657. procedure setSIDL; inline;
  1658. procedure setSMEN; inline;
  1659. procedure setSTREN; inline;
  1660. procedure setSTRICT; inline;
  1661. property A10M : TBits_1 read getA10M write setA10M;
  1662. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1663. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1664. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1665. property GCEN : TBits_1 read getGCEN write setGCEN;
  1666. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1667. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1668. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1669. property ON : TBits_1 read getON write setON;
  1670. property PEN : TBits_1 read getPEN write setPEN;
  1671. property RCEN : TBits_1 read getRCEN write setRCEN;
  1672. property RSEN : TBits_1 read getRSEN write setRSEN;
  1673. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1674. property SEN : TBits_1 read getSEN write setSEN;
  1675. property SIDL : TBits_1 read getSIDL write setSIDL;
  1676. property SMEN : TBits_1 read getSMEN write setSMEN;
  1677. property STREN : TBits_1 read getSTREN write setSTREN;
  1678. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1679. property w : TBits_32 read getw write setw;
  1680. end;
  1681. TI2C1_I2C1ASTAT = record
  1682. private
  1683. function getACKSTAT : TBits_1; inline;
  1684. function getADD10 : TBits_1; inline;
  1685. function getBCL : TBits_1; inline;
  1686. function getD_A : TBits_1; inline;
  1687. function getGCSTAT : TBits_1; inline;
  1688. function getI2COV : TBits_1; inline;
  1689. function getI2CPOV : TBits_1; inline;
  1690. function getIWCOL : TBits_1; inline;
  1691. function getP : TBits_1; inline;
  1692. function getRBF : TBits_1; inline;
  1693. function getR_W : TBits_1; inline;
  1694. function getS : TBits_1; inline;
  1695. function getTBF : TBits_1; inline;
  1696. function getTRSTAT : TBits_1; inline;
  1697. function getw : TBits_32; inline;
  1698. procedure setACKSTAT(thebits : TBits_1); inline;
  1699. procedure setADD10(thebits : TBits_1); inline;
  1700. procedure setBCL(thebits : TBits_1); inline;
  1701. procedure setD_A(thebits : TBits_1); inline;
  1702. procedure setGCSTAT(thebits : TBits_1); inline;
  1703. procedure setI2COV(thebits : TBits_1); inline;
  1704. procedure setI2CPOV(thebits : TBits_1); inline;
  1705. procedure setIWCOL(thebits : TBits_1); inline;
  1706. procedure setP(thebits : TBits_1); inline;
  1707. procedure setRBF(thebits : TBits_1); inline;
  1708. procedure setR_W(thebits : TBits_1); inline;
  1709. procedure setS(thebits : TBits_1); inline;
  1710. procedure setTBF(thebits : TBits_1); inline;
  1711. procedure setTRSTAT(thebits : TBits_1); inline;
  1712. procedure setw(thebits : TBits_32); inline;
  1713. public
  1714. procedure clearACKSTAT; inline;
  1715. procedure clearADD10; inline;
  1716. procedure clearBCL; inline;
  1717. procedure clearD_A; inline;
  1718. procedure clearGCSTAT; inline;
  1719. procedure clearI2COV; inline;
  1720. procedure clearI2CPOV; inline;
  1721. procedure clearIWCOL; inline;
  1722. procedure clearP; inline;
  1723. procedure clearRBF; inline;
  1724. procedure clearR_W; inline;
  1725. procedure clearS; inline;
  1726. procedure clearTBF; inline;
  1727. procedure clearTRSTAT; inline;
  1728. procedure setACKSTAT; inline;
  1729. procedure setADD10; inline;
  1730. procedure setBCL; inline;
  1731. procedure setD_A; inline;
  1732. procedure setGCSTAT; inline;
  1733. procedure setI2COV; inline;
  1734. procedure setI2CPOV; inline;
  1735. procedure setIWCOL; inline;
  1736. procedure setP; inline;
  1737. procedure setRBF; inline;
  1738. procedure setR_W; inline;
  1739. procedure setS; inline;
  1740. procedure setTBF; inline;
  1741. procedure setTRSTAT; inline;
  1742. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1743. property ADD10 : TBits_1 read getADD10 write setADD10;
  1744. property BCL : TBits_1 read getBCL write setBCL;
  1745. property D_A : TBits_1 read getD_A write setD_A;
  1746. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1747. property I2COV : TBits_1 read getI2COV write setI2COV;
  1748. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1749. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1750. property P : TBits_1 read getP write setP;
  1751. property RBF : TBits_1 read getRBF write setRBF;
  1752. property R_W : TBits_1 read getR_W write setR_W;
  1753. property S : TBits_1 read getS write setS;
  1754. property TBF : TBits_1 read getTBF write setTBF;
  1755. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1756. property w : TBits_32 read getw write setw;
  1757. end;
  1758. TI2C1_I2C1STAT = record
  1759. private
  1760. function getACKSTAT : TBits_1; inline;
  1761. function getADD10 : TBits_1; inline;
  1762. function getBCL : TBits_1; inline;
  1763. function getD_A : TBits_1; inline;
  1764. function getGCSTAT : TBits_1; inline;
  1765. function getI2COV : TBits_1; inline;
  1766. function getI2CPOV : TBits_1; inline;
  1767. function getIWCOL : TBits_1; inline;
  1768. function getP : TBits_1; inline;
  1769. function getRBF : TBits_1; inline;
  1770. function getR_W : TBits_1; inline;
  1771. function getS : TBits_1; inline;
  1772. function getTBF : TBits_1; inline;
  1773. function getTRSTAT : TBits_1; inline;
  1774. function getw : TBits_32; inline;
  1775. procedure setACKSTAT(thebits : TBits_1); inline;
  1776. procedure setADD10(thebits : TBits_1); inline;
  1777. procedure setBCL(thebits : TBits_1); inline;
  1778. procedure setD_A(thebits : TBits_1); inline;
  1779. procedure setGCSTAT(thebits : TBits_1); inline;
  1780. procedure setI2COV(thebits : TBits_1); inline;
  1781. procedure setI2CPOV(thebits : TBits_1); inline;
  1782. procedure setIWCOL(thebits : TBits_1); inline;
  1783. procedure setP(thebits : TBits_1); inline;
  1784. procedure setRBF(thebits : TBits_1); inline;
  1785. procedure setR_W(thebits : TBits_1); inline;
  1786. procedure setS(thebits : TBits_1); inline;
  1787. procedure setTBF(thebits : TBits_1); inline;
  1788. procedure setTRSTAT(thebits : TBits_1); inline;
  1789. procedure setw(thebits : TBits_32); inline;
  1790. public
  1791. procedure clearACKSTAT; inline;
  1792. procedure clearADD10; inline;
  1793. procedure clearBCL; inline;
  1794. procedure clearD_A; inline;
  1795. procedure clearGCSTAT; inline;
  1796. procedure clearI2COV; inline;
  1797. procedure clearI2CPOV; inline;
  1798. procedure clearIWCOL; inline;
  1799. procedure clearP; inline;
  1800. procedure clearRBF; inline;
  1801. procedure clearR_W; inline;
  1802. procedure clearS; inline;
  1803. procedure clearTBF; inline;
  1804. procedure clearTRSTAT; inline;
  1805. procedure setACKSTAT; inline;
  1806. procedure setADD10; inline;
  1807. procedure setBCL; inline;
  1808. procedure setD_A; inline;
  1809. procedure setGCSTAT; inline;
  1810. procedure setI2COV; inline;
  1811. procedure setI2CPOV; inline;
  1812. procedure setIWCOL; inline;
  1813. procedure setP; inline;
  1814. procedure setRBF; inline;
  1815. procedure setR_W; inline;
  1816. procedure setS; inline;
  1817. procedure setTBF; inline;
  1818. procedure setTRSTAT; inline;
  1819. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  1820. property ADD10 : TBits_1 read getADD10 write setADD10;
  1821. property BCL : TBits_1 read getBCL write setBCL;
  1822. property D_A : TBits_1 read getD_A write setD_A;
  1823. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  1824. property I2COV : TBits_1 read getI2COV write setI2COV;
  1825. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  1826. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  1827. property P : TBits_1 read getP write setP;
  1828. property RBF : TBits_1 read getRBF write setRBF;
  1829. property R_W : TBits_1 read getR_W write setR_W;
  1830. property S : TBits_1 read getS write setS;
  1831. property TBF : TBits_1 read getTBF write setTBF;
  1832. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  1833. property w : TBits_32 read getw write setw;
  1834. end;
  1835. type
  1836. TI2C1Registers = record
  1837. I2C1ACONbits : TI2C1_I2C1ACON;
  1838. I2C1ACON : longWord;
  1839. I2C1CONbits : TI2C1_I2C1CON;
  1840. I2C1CON : longWord;
  1841. I2C1ACONCLR : longWord;
  1842. I2C1CONCLR : longWord;
  1843. I2C1ACONSET : longWord;
  1844. I2C1CONSET : longWord;
  1845. I2C1ACONINV : longWord;
  1846. I2C1CONINV : longWord;
  1847. I2C1ASTATbits : TI2C1_I2C1ASTAT;
  1848. I2C1ASTAT : longWord;
  1849. I2C1STATbits : TI2C1_I2C1STAT;
  1850. I2C1STAT : longWord;
  1851. I2C1ASTATCLR : longWord;
  1852. I2C1STATCLR : longWord;
  1853. I2C1ASTATSET : longWord;
  1854. I2C1STATSET : longWord;
  1855. I2C1ASTATINV : longWord;
  1856. I2C1STATINV : longWord;
  1857. I2C1AADD : longWord;
  1858. I2C1ADD : longWord;
  1859. I2C1AADDCLR : longWord;
  1860. I2C1ADDCLR : longWord;
  1861. I2C1AADDSET : longWord;
  1862. I2C1ADDSET : longWord;
  1863. I2C1AADDINV : longWord;
  1864. I2C1ADDINV : longWord;
  1865. I2C1AMSK : longWord;
  1866. I2C1MSK : longWord;
  1867. I2C1AMSKCLR : longWord;
  1868. I2C1MSKCLR : longWord;
  1869. I2C1AMSKSET : longWord;
  1870. I2C1MSKSET : longWord;
  1871. I2C1AMSKINV : longWord;
  1872. I2C1MSKINV : longWord;
  1873. I2C1ABRG : longWord;
  1874. I2C1BRG : longWord;
  1875. I2C1ABRGCLR : longWord;
  1876. I2C1BRGCLR : longWord;
  1877. I2C1ABRGSET : longWord;
  1878. I2C1BRGSET : longWord;
  1879. I2C1ABRGINV : longWord;
  1880. I2C1BRGINV : longWord;
  1881. I2C1ATRN : longWord;
  1882. I2C1TRN : longWord;
  1883. I2C1ATRNCLR : longWord;
  1884. I2C1TRNCLR : longWord;
  1885. I2C1ATRNSET : longWord;
  1886. I2C1TRNSET : longWord;
  1887. I2C1ATRNINV : longWord;
  1888. I2C1TRNINV : longWord;
  1889. I2C1ARCV : longWord;
  1890. I2C1RCV : longWord;
  1891. end;
  1892. TI2C2_I2C2ACON = record
  1893. private
  1894. function getA10M : TBits_1; inline;
  1895. function getACKDT : TBits_1; inline;
  1896. function getACKEN : TBits_1; inline;
  1897. function getDISSLW : TBits_1; inline;
  1898. function getGCEN : TBits_1; inline;
  1899. function getI2CEN : TBits_1; inline;
  1900. function getI2CSIDL : TBits_1; inline;
  1901. function getIPMIEN : TBits_1; inline;
  1902. function getON : TBits_1; inline;
  1903. function getPEN : TBits_1; inline;
  1904. function getRCEN : TBits_1; inline;
  1905. function getRSEN : TBits_1; inline;
  1906. function getSCLREL : TBits_1; inline;
  1907. function getSEN : TBits_1; inline;
  1908. function getSIDL : TBits_1; inline;
  1909. function getSMEN : TBits_1; inline;
  1910. function getSTREN : TBits_1; inline;
  1911. function getSTRICT : TBits_1; inline;
  1912. function getw : TBits_32; inline;
  1913. procedure setA10M(thebits : TBits_1); inline;
  1914. procedure setACKDT(thebits : TBits_1); inline;
  1915. procedure setACKEN(thebits : TBits_1); inline;
  1916. procedure setDISSLW(thebits : TBits_1); inline;
  1917. procedure setGCEN(thebits : TBits_1); inline;
  1918. procedure setI2CEN(thebits : TBits_1); inline;
  1919. procedure setI2CSIDL(thebits : TBits_1); inline;
  1920. procedure setIPMIEN(thebits : TBits_1); inline;
  1921. procedure setON(thebits : TBits_1); inline;
  1922. procedure setPEN(thebits : TBits_1); inline;
  1923. procedure setRCEN(thebits : TBits_1); inline;
  1924. procedure setRSEN(thebits : TBits_1); inline;
  1925. procedure setSCLREL(thebits : TBits_1); inline;
  1926. procedure setSEN(thebits : TBits_1); inline;
  1927. procedure setSIDL(thebits : TBits_1); inline;
  1928. procedure setSMEN(thebits : TBits_1); inline;
  1929. procedure setSTREN(thebits : TBits_1); inline;
  1930. procedure setSTRICT(thebits : TBits_1); inline;
  1931. procedure setw(thebits : TBits_32); inline;
  1932. public
  1933. procedure clearA10M; inline;
  1934. procedure clearACKDT; inline;
  1935. procedure clearACKEN; inline;
  1936. procedure clearDISSLW; inline;
  1937. procedure clearGCEN; inline;
  1938. procedure clearI2CEN; inline;
  1939. procedure clearI2CSIDL; inline;
  1940. procedure clearIPMIEN; inline;
  1941. procedure clearON; inline;
  1942. procedure clearPEN; inline;
  1943. procedure clearRCEN; inline;
  1944. procedure clearRSEN; inline;
  1945. procedure clearSCLREL; inline;
  1946. procedure clearSEN; inline;
  1947. procedure clearSIDL; inline;
  1948. procedure clearSMEN; inline;
  1949. procedure clearSTREN; inline;
  1950. procedure clearSTRICT; inline;
  1951. procedure setA10M; inline;
  1952. procedure setACKDT; inline;
  1953. procedure setACKEN; inline;
  1954. procedure setDISSLW; inline;
  1955. procedure setGCEN; inline;
  1956. procedure setI2CEN; inline;
  1957. procedure setI2CSIDL; inline;
  1958. procedure setIPMIEN; inline;
  1959. procedure setON; inline;
  1960. procedure setPEN; inline;
  1961. procedure setRCEN; inline;
  1962. procedure setRSEN; inline;
  1963. procedure setSCLREL; inline;
  1964. procedure setSEN; inline;
  1965. procedure setSIDL; inline;
  1966. procedure setSMEN; inline;
  1967. procedure setSTREN; inline;
  1968. procedure setSTRICT; inline;
  1969. property A10M : TBits_1 read getA10M write setA10M;
  1970. property ACKDT : TBits_1 read getACKDT write setACKDT;
  1971. property ACKEN : TBits_1 read getACKEN write setACKEN;
  1972. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  1973. property GCEN : TBits_1 read getGCEN write setGCEN;
  1974. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  1975. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  1976. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  1977. property ON : TBits_1 read getON write setON;
  1978. property PEN : TBits_1 read getPEN write setPEN;
  1979. property RCEN : TBits_1 read getRCEN write setRCEN;
  1980. property RSEN : TBits_1 read getRSEN write setRSEN;
  1981. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  1982. property SEN : TBits_1 read getSEN write setSEN;
  1983. property SIDL : TBits_1 read getSIDL write setSIDL;
  1984. property SMEN : TBits_1 read getSMEN write setSMEN;
  1985. property STREN : TBits_1 read getSTREN write setSTREN;
  1986. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  1987. property w : TBits_32 read getw write setw;
  1988. end;
  1989. TI2C2_I2C2CON = record
  1990. private
  1991. function getA10M : TBits_1; inline;
  1992. function getACKDT : TBits_1; inline;
  1993. function getACKEN : TBits_1; inline;
  1994. function getDISSLW : TBits_1; inline;
  1995. function getGCEN : TBits_1; inline;
  1996. function getI2CEN : TBits_1; inline;
  1997. function getI2CSIDL : TBits_1; inline;
  1998. function getIPMIEN : TBits_1; inline;
  1999. function getON : TBits_1; inline;
  2000. function getPEN : TBits_1; inline;
  2001. function getRCEN : TBits_1; inline;
  2002. function getRSEN : TBits_1; inline;
  2003. function getSCLREL : TBits_1; inline;
  2004. function getSEN : TBits_1; inline;
  2005. function getSIDL : TBits_1; inline;
  2006. function getSMEN : TBits_1; inline;
  2007. function getSTREN : TBits_1; inline;
  2008. function getSTRICT : TBits_1; inline;
  2009. function getw : TBits_32; inline;
  2010. procedure setA10M(thebits : TBits_1); inline;
  2011. procedure setACKDT(thebits : TBits_1); inline;
  2012. procedure setACKEN(thebits : TBits_1); inline;
  2013. procedure setDISSLW(thebits : TBits_1); inline;
  2014. procedure setGCEN(thebits : TBits_1); inline;
  2015. procedure setI2CEN(thebits : TBits_1); inline;
  2016. procedure setI2CSIDL(thebits : TBits_1); inline;
  2017. procedure setIPMIEN(thebits : TBits_1); inline;
  2018. procedure setON(thebits : TBits_1); inline;
  2019. procedure setPEN(thebits : TBits_1); inline;
  2020. procedure setRCEN(thebits : TBits_1); inline;
  2021. procedure setRSEN(thebits : TBits_1); inline;
  2022. procedure setSCLREL(thebits : TBits_1); inline;
  2023. procedure setSEN(thebits : TBits_1); inline;
  2024. procedure setSIDL(thebits : TBits_1); inline;
  2025. procedure setSMEN(thebits : TBits_1); inline;
  2026. procedure setSTREN(thebits : TBits_1); inline;
  2027. procedure setSTRICT(thebits : TBits_1); inline;
  2028. procedure setw(thebits : TBits_32); inline;
  2029. public
  2030. procedure clearA10M; inline;
  2031. procedure clearACKDT; inline;
  2032. procedure clearACKEN; inline;
  2033. procedure clearDISSLW; inline;
  2034. procedure clearGCEN; inline;
  2035. procedure clearI2CEN; inline;
  2036. procedure clearI2CSIDL; inline;
  2037. procedure clearIPMIEN; inline;
  2038. procedure clearON; inline;
  2039. procedure clearPEN; inline;
  2040. procedure clearRCEN; inline;
  2041. procedure clearRSEN; inline;
  2042. procedure clearSCLREL; inline;
  2043. procedure clearSEN; inline;
  2044. procedure clearSIDL; inline;
  2045. procedure clearSMEN; inline;
  2046. procedure clearSTREN; inline;
  2047. procedure clearSTRICT; inline;
  2048. procedure setA10M; inline;
  2049. procedure setACKDT; inline;
  2050. procedure setACKEN; inline;
  2051. procedure setDISSLW; inline;
  2052. procedure setGCEN; inline;
  2053. procedure setI2CEN; inline;
  2054. procedure setI2CSIDL; inline;
  2055. procedure setIPMIEN; inline;
  2056. procedure setON; inline;
  2057. procedure setPEN; inline;
  2058. procedure setRCEN; inline;
  2059. procedure setRSEN; inline;
  2060. procedure setSCLREL; inline;
  2061. procedure setSEN; inline;
  2062. procedure setSIDL; inline;
  2063. procedure setSMEN; inline;
  2064. procedure setSTREN; inline;
  2065. procedure setSTRICT; inline;
  2066. property A10M : TBits_1 read getA10M write setA10M;
  2067. property ACKDT : TBits_1 read getACKDT write setACKDT;
  2068. property ACKEN : TBits_1 read getACKEN write setACKEN;
  2069. property DISSLW : TBits_1 read getDISSLW write setDISSLW;
  2070. property GCEN : TBits_1 read getGCEN write setGCEN;
  2071. property I2CEN : TBits_1 read getI2CEN write setI2CEN;
  2072. property I2CSIDL : TBits_1 read getI2CSIDL write setI2CSIDL;
  2073. property IPMIEN : TBits_1 read getIPMIEN write setIPMIEN;
  2074. property ON : TBits_1 read getON write setON;
  2075. property PEN : TBits_1 read getPEN write setPEN;
  2076. property RCEN : TBits_1 read getRCEN write setRCEN;
  2077. property RSEN : TBits_1 read getRSEN write setRSEN;
  2078. property SCLREL : TBits_1 read getSCLREL write setSCLREL;
  2079. property SEN : TBits_1 read getSEN write setSEN;
  2080. property SIDL : TBits_1 read getSIDL write setSIDL;
  2081. property SMEN : TBits_1 read getSMEN write setSMEN;
  2082. property STREN : TBits_1 read getSTREN write setSTREN;
  2083. property STRICT : TBits_1 read getSTRICT write setSTRICT;
  2084. property w : TBits_32 read getw write setw;
  2085. end;
  2086. TI2C2_I2C2ASTAT = record
  2087. private
  2088. function getACKSTAT : TBits_1; inline;
  2089. function getADD10 : TBits_1; inline;
  2090. function getBCL : TBits_1; inline;
  2091. function getD_A : TBits_1; inline;
  2092. function getGCSTAT : TBits_1; inline;
  2093. function getI2COV : TBits_1; inline;
  2094. function getI2CPOV : TBits_1; inline;
  2095. function getIWCOL : TBits_1; inline;
  2096. function getP : TBits_1; inline;
  2097. function getRBF : TBits_1; inline;
  2098. function getR_W : TBits_1; inline;
  2099. function getS : TBits_1; inline;
  2100. function getTBF : TBits_1; inline;
  2101. function getTRSTAT : TBits_1; inline;
  2102. function getw : TBits_32; inline;
  2103. procedure setACKSTAT(thebits : TBits_1); inline;
  2104. procedure setADD10(thebits : TBits_1); inline;
  2105. procedure setBCL(thebits : TBits_1); inline;
  2106. procedure setD_A(thebits : TBits_1); inline;
  2107. procedure setGCSTAT(thebits : TBits_1); inline;
  2108. procedure setI2COV(thebits : TBits_1); inline;
  2109. procedure setI2CPOV(thebits : TBits_1); inline;
  2110. procedure setIWCOL(thebits : TBits_1); inline;
  2111. procedure setP(thebits : TBits_1); inline;
  2112. procedure setRBF(thebits : TBits_1); inline;
  2113. procedure setR_W(thebits : TBits_1); inline;
  2114. procedure setS(thebits : TBits_1); inline;
  2115. procedure setTBF(thebits : TBits_1); inline;
  2116. procedure setTRSTAT(thebits : TBits_1); inline;
  2117. procedure setw(thebits : TBits_32); inline;
  2118. public
  2119. procedure clearACKSTAT; inline;
  2120. procedure clearADD10; inline;
  2121. procedure clearBCL; inline;
  2122. procedure clearD_A; inline;
  2123. procedure clearGCSTAT; inline;
  2124. procedure clearI2COV; inline;
  2125. procedure clearI2CPOV; inline;
  2126. procedure clearIWCOL; inline;
  2127. procedure clearP; inline;
  2128. procedure clearRBF; inline;
  2129. procedure clearR_W; inline;
  2130. procedure clearS; inline;
  2131. procedure clearTBF; inline;
  2132. procedure clearTRSTAT; inline;
  2133. procedure setACKSTAT; inline;
  2134. procedure setADD10; inline;
  2135. procedure setBCL; inline;
  2136. procedure setD_A; inline;
  2137. procedure setGCSTAT; inline;
  2138. procedure setI2COV; inline;
  2139. procedure setI2CPOV; inline;
  2140. procedure setIWCOL; inline;
  2141. procedure setP; inline;
  2142. procedure setRBF; inline;
  2143. procedure setR_W; inline;
  2144. procedure setS; inline;
  2145. procedure setTBF; inline;
  2146. procedure setTRSTAT; inline;
  2147. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2148. property ADD10 : TBits_1 read getADD10 write setADD10;
  2149. property BCL : TBits_1 read getBCL write setBCL;
  2150. property D_A : TBits_1 read getD_A write setD_A;
  2151. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2152. property I2COV : TBits_1 read getI2COV write setI2COV;
  2153. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2154. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2155. property P : TBits_1 read getP write setP;
  2156. property RBF : TBits_1 read getRBF write setRBF;
  2157. property R_W : TBits_1 read getR_W write setR_W;
  2158. property S : TBits_1 read getS write setS;
  2159. property TBF : TBits_1 read getTBF write setTBF;
  2160. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2161. property w : TBits_32 read getw write setw;
  2162. end;
  2163. TI2C2_I2C2STAT = record
  2164. private
  2165. function getACKSTAT : TBits_1; inline;
  2166. function getADD10 : TBits_1; inline;
  2167. function getBCL : TBits_1; inline;
  2168. function getD_A : TBits_1; inline;
  2169. function getGCSTAT : TBits_1; inline;
  2170. function getI2COV : TBits_1; inline;
  2171. function getI2CPOV : TBits_1; inline;
  2172. function getIWCOL : TBits_1; inline;
  2173. function getP : TBits_1; inline;
  2174. function getRBF : TBits_1; inline;
  2175. function getR_W : TBits_1; inline;
  2176. function getS : TBits_1; inline;
  2177. function getTBF : TBits_1; inline;
  2178. function getTRSTAT : TBits_1; inline;
  2179. function getw : TBits_32; inline;
  2180. procedure setACKSTAT(thebits : TBits_1); inline;
  2181. procedure setADD10(thebits : TBits_1); inline;
  2182. procedure setBCL(thebits : TBits_1); inline;
  2183. procedure setD_A(thebits : TBits_1); inline;
  2184. procedure setGCSTAT(thebits : TBits_1); inline;
  2185. procedure setI2COV(thebits : TBits_1); inline;
  2186. procedure setI2CPOV(thebits : TBits_1); inline;
  2187. procedure setIWCOL(thebits : TBits_1); inline;
  2188. procedure setP(thebits : TBits_1); inline;
  2189. procedure setRBF(thebits : TBits_1); inline;
  2190. procedure setR_W(thebits : TBits_1); inline;
  2191. procedure setS(thebits : TBits_1); inline;
  2192. procedure setTBF(thebits : TBits_1); inline;
  2193. procedure setTRSTAT(thebits : TBits_1); inline;
  2194. procedure setw(thebits : TBits_32); inline;
  2195. public
  2196. procedure clearACKSTAT; inline;
  2197. procedure clearADD10; inline;
  2198. procedure clearBCL; inline;
  2199. procedure clearD_A; inline;
  2200. procedure clearGCSTAT; inline;
  2201. procedure clearI2COV; inline;
  2202. procedure clearI2CPOV; inline;
  2203. procedure clearIWCOL; inline;
  2204. procedure clearP; inline;
  2205. procedure clearRBF; inline;
  2206. procedure clearR_W; inline;
  2207. procedure clearS; inline;
  2208. procedure clearTBF; inline;
  2209. procedure clearTRSTAT; inline;
  2210. procedure setACKSTAT; inline;
  2211. procedure setADD10; inline;
  2212. procedure setBCL; inline;
  2213. procedure setD_A; inline;
  2214. procedure setGCSTAT; inline;
  2215. procedure setI2COV; inline;
  2216. procedure setI2CPOV; inline;
  2217. procedure setIWCOL; inline;
  2218. procedure setP; inline;
  2219. procedure setRBF; inline;
  2220. procedure setR_W; inline;
  2221. procedure setS; inline;
  2222. procedure setTBF; inline;
  2223. procedure setTRSTAT; inline;
  2224. property ACKSTAT : TBits_1 read getACKSTAT write setACKSTAT;
  2225. property ADD10 : TBits_1 read getADD10 write setADD10;
  2226. property BCL : TBits_1 read getBCL write setBCL;
  2227. property D_A : TBits_1 read getD_A write setD_A;
  2228. property GCSTAT : TBits_1 read getGCSTAT write setGCSTAT;
  2229. property I2COV : TBits_1 read getI2COV write setI2COV;
  2230. property I2CPOV : TBits_1 read getI2CPOV write setI2CPOV;
  2231. property IWCOL : TBits_1 read getIWCOL write setIWCOL;
  2232. property P : TBits_1 read getP write setP;
  2233. property RBF : TBits_1 read getRBF write setRBF;
  2234. property R_W : TBits_1 read getR_W write setR_W;
  2235. property S : TBits_1 read getS write setS;
  2236. property TBF : TBits_1 read getTBF write setTBF;
  2237. property TRSTAT : TBits_1 read getTRSTAT write setTRSTAT;
  2238. property w : TBits_32 read getw write setw;
  2239. end;
  2240. type
  2241. TI2C2Registers = record
  2242. I2C2ACONbits : TI2C2_I2C2ACON;
  2243. I2C2ACON : longWord;
  2244. I2C2CONbits : TI2C2_I2C2CON;
  2245. I2C2CON : longWord;
  2246. I2C2ACONCLR : longWord;
  2247. I2C2CONCLR : longWord;
  2248. I2C2ACONSET : longWord;
  2249. I2C2CONSET : longWord;
  2250. I2C2ACONINV : longWord;
  2251. I2C2CONINV : longWord;
  2252. I2C2ASTATbits : TI2C2_I2C2ASTAT;
  2253. I2C2ASTAT : longWord;
  2254. I2C2STATbits : TI2C2_I2C2STAT;
  2255. I2C2STAT : longWord;
  2256. I2C2ASTATCLR : longWord;
  2257. I2C2STATCLR : longWord;
  2258. I2C2ASTATSET : longWord;
  2259. I2C2STATSET : longWord;
  2260. I2C2ASTATINV : longWord;
  2261. I2C2STATINV : longWord;
  2262. I2C2AADD : longWord;
  2263. I2C2ADD : longWord;
  2264. I2C2AADDCLR : longWord;
  2265. I2C2ADDCLR : longWord;
  2266. I2C2AADDSET : longWord;
  2267. I2C2ADDSET : longWord;
  2268. I2C2AADDINV : longWord;
  2269. I2C2ADDINV : longWord;
  2270. I2C2AMSK : longWord;
  2271. I2C2MSK : longWord;
  2272. I2C2AMSKCLR : longWord;
  2273. I2C2MSKCLR : longWord;
  2274. I2C2AMSKSET : longWord;
  2275. I2C2MSKSET : longWord;
  2276. I2C2AMSKINV : longWord;
  2277. I2C2MSKINV : longWord;
  2278. I2C2ABRG : longWord;
  2279. I2C2BRG : longWord;
  2280. I2C2ABRGCLR : longWord;
  2281. I2C2BRGCLR : longWord;
  2282. I2C2ABRGSET : longWord;
  2283. I2C2BRGSET : longWord;
  2284. I2C2ABRGINV : longWord;
  2285. I2C2BRGINV : longWord;
  2286. I2C2ATRN : longWord;
  2287. I2C2TRN : longWord;
  2288. I2C2ATRNCLR : longWord;
  2289. I2C2TRNCLR : longWord;
  2290. I2C2ATRNSET : longWord;
  2291. I2C2TRNSET : longWord;
  2292. I2C2ATRNINV : longWord;
  2293. I2C2TRNINV : longWord;
  2294. I2C2ARCV : longWord;
  2295. I2C2RCV : longWord;
  2296. end;
  2297. TSPI1_SPI1CON = record
  2298. private
  2299. function getCKE : TBits_1; inline;
  2300. function getCKP : TBits_1; inline;
  2301. function getDISSDI : TBits_1; inline;
  2302. function getDISSDO : TBits_1; inline;
  2303. function getENHBUF : TBits_1; inline;
  2304. function getFRMCNT : TBits_3; inline;
  2305. function getFRMEN : TBits_1; inline;
  2306. function getFRMPOL : TBits_1; inline;
  2307. function getFRMSYNC : TBits_1; inline;
  2308. function getFRMSYPW : TBits_1; inline;
  2309. function getMCLKSEL : TBits_1; inline;
  2310. function getMODE16 : TBits_1; inline;
  2311. function getMODE32 : TBits_1; inline;
  2312. function getMSSEN : TBits_1; inline;
  2313. function getMSTEN : TBits_1; inline;
  2314. function getON : TBits_1; inline;
  2315. function getSIDL : TBits_1; inline;
  2316. function getSMP : TBits_1; inline;
  2317. function getSPIFE : TBits_1; inline;
  2318. function getSRXISEL : TBits_2; inline;
  2319. function getSSEN : TBits_1; inline;
  2320. function getSTXISEL : TBits_2; inline;
  2321. function getw : TBits_32; inline;
  2322. procedure setCKE(thebits : TBits_1); inline;
  2323. procedure setCKP(thebits : TBits_1); inline;
  2324. procedure setDISSDI(thebits : TBits_1); inline;
  2325. procedure setDISSDO(thebits : TBits_1); inline;
  2326. procedure setENHBUF(thebits : TBits_1); inline;
  2327. procedure setFRMCNT(thebits : TBits_3); inline;
  2328. procedure setFRMEN(thebits : TBits_1); inline;
  2329. procedure setFRMPOL(thebits : TBits_1); inline;
  2330. procedure setFRMSYNC(thebits : TBits_1); inline;
  2331. procedure setFRMSYPW(thebits : TBits_1); inline;
  2332. procedure setMCLKSEL(thebits : TBits_1); inline;
  2333. procedure setMODE16(thebits : TBits_1); inline;
  2334. procedure setMODE32(thebits : TBits_1); inline;
  2335. procedure setMSSEN(thebits : TBits_1); inline;
  2336. procedure setMSTEN(thebits : TBits_1); inline;
  2337. procedure setON(thebits : TBits_1); inline;
  2338. procedure setSIDL(thebits : TBits_1); inline;
  2339. procedure setSMP(thebits : TBits_1); inline;
  2340. procedure setSPIFE(thebits : TBits_1); inline;
  2341. procedure setSRXISEL(thebits : TBits_2); inline;
  2342. procedure setSSEN(thebits : TBits_1); inline;
  2343. procedure setSTXISEL(thebits : TBits_2); inline;
  2344. procedure setw(thebits : TBits_32); inline;
  2345. public
  2346. procedure clearCKE; inline;
  2347. procedure clearCKP; inline;
  2348. procedure clearDISSDI; inline;
  2349. procedure clearDISSDO; inline;
  2350. procedure clearENHBUF; inline;
  2351. procedure clearFRMEN; inline;
  2352. procedure clearFRMPOL; inline;
  2353. procedure clearFRMSYNC; inline;
  2354. procedure clearFRMSYPW; inline;
  2355. procedure clearMCLKSEL; inline;
  2356. procedure clearMODE16; inline;
  2357. procedure clearMODE32; inline;
  2358. procedure clearMSSEN; inline;
  2359. procedure clearMSTEN; inline;
  2360. procedure clearON; inline;
  2361. procedure clearSIDL; inline;
  2362. procedure clearSMP; inline;
  2363. procedure clearSPIFE; inline;
  2364. procedure clearSSEN; inline;
  2365. procedure setCKE; inline;
  2366. procedure setCKP; inline;
  2367. procedure setDISSDI; inline;
  2368. procedure setDISSDO; inline;
  2369. procedure setENHBUF; inline;
  2370. procedure setFRMEN; inline;
  2371. procedure setFRMPOL; inline;
  2372. procedure setFRMSYNC; inline;
  2373. procedure setFRMSYPW; inline;
  2374. procedure setMCLKSEL; inline;
  2375. procedure setMODE16; inline;
  2376. procedure setMODE32; inline;
  2377. procedure setMSSEN; inline;
  2378. procedure setMSTEN; inline;
  2379. procedure setON; inline;
  2380. procedure setSIDL; inline;
  2381. procedure setSMP; inline;
  2382. procedure setSPIFE; inline;
  2383. procedure setSSEN; inline;
  2384. property CKE : TBits_1 read getCKE write setCKE;
  2385. property CKP : TBits_1 read getCKP write setCKP;
  2386. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2387. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2388. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2389. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2390. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2391. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2392. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2393. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2394. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2395. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2396. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2397. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2398. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2399. property ON : TBits_1 read getON write setON;
  2400. property SIDL : TBits_1 read getSIDL write setSIDL;
  2401. property SMP : TBits_1 read getSMP write setSMP;
  2402. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2403. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2404. property SSEN : TBits_1 read getSSEN write setSSEN;
  2405. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2406. property w : TBits_32 read getw write setw;
  2407. end;
  2408. TSPI1_SPI1STAT = record
  2409. private
  2410. function getFRMERR : TBits_1; inline;
  2411. function getRXBUFELM : TBits_5; inline;
  2412. function getSPIBUSY : TBits_1; inline;
  2413. function getSPIRBE : TBits_1; inline;
  2414. function getSPIRBF : TBits_1; inline;
  2415. function getSPIROV : TBits_1; inline;
  2416. function getSPITBE : TBits_1; inline;
  2417. function getSPITBF : TBits_1; inline;
  2418. function getSPITUR : TBits_1; inline;
  2419. function getSRMT : TBits_1; inline;
  2420. function getTXBUFELM : TBits_5; inline;
  2421. function getw : TBits_32; inline;
  2422. procedure setFRMERR(thebits : TBits_1); inline;
  2423. procedure setRXBUFELM(thebits : TBits_5); inline;
  2424. procedure setSPIBUSY(thebits : TBits_1); inline;
  2425. procedure setSPIRBE(thebits : TBits_1); inline;
  2426. procedure setSPIRBF(thebits : TBits_1); inline;
  2427. procedure setSPIROV(thebits : TBits_1); inline;
  2428. procedure setSPITBE(thebits : TBits_1); inline;
  2429. procedure setSPITBF(thebits : TBits_1); inline;
  2430. procedure setSPITUR(thebits : TBits_1); inline;
  2431. procedure setSRMT(thebits : TBits_1); inline;
  2432. procedure setTXBUFELM(thebits : TBits_5); inline;
  2433. procedure setw(thebits : TBits_32); inline;
  2434. public
  2435. procedure clearFRMERR; inline;
  2436. procedure clearSPIBUSY; inline;
  2437. procedure clearSPIRBE; inline;
  2438. procedure clearSPIRBF; inline;
  2439. procedure clearSPIROV; inline;
  2440. procedure clearSPITBE; inline;
  2441. procedure clearSPITBF; inline;
  2442. procedure clearSPITUR; inline;
  2443. procedure clearSRMT; inline;
  2444. procedure setFRMERR; inline;
  2445. procedure setSPIBUSY; inline;
  2446. procedure setSPIRBE; inline;
  2447. procedure setSPIRBF; inline;
  2448. procedure setSPIROV; inline;
  2449. procedure setSPITBE; inline;
  2450. procedure setSPITBF; inline;
  2451. procedure setSPITUR; inline;
  2452. procedure setSRMT; inline;
  2453. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2454. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2455. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2456. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2457. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2458. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2459. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2460. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2461. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2462. property SRMT : TBits_1 read getSRMT write setSRMT;
  2463. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2464. property w : TBits_32 read getw write setw;
  2465. end;
  2466. TSPI1_SPI1CON2 = record
  2467. private
  2468. function getAUDEN : TBits_1; inline;
  2469. function getAUDMOD : TBits_2; inline;
  2470. function getAUDMOD0 : TBits_1; inline;
  2471. function getAUDMOD1 : TBits_1; inline;
  2472. function getAUDMONO : TBits_1; inline;
  2473. function getFRMERREN : TBits_1; inline;
  2474. function getIGNROV : TBits_1; inline;
  2475. function getIGNTUR : TBits_1; inline;
  2476. function getSPIROVEN : TBits_1; inline;
  2477. function getSPISGNEXT : TBits_1; inline;
  2478. function getSPITUREN : TBits_1; inline;
  2479. function getw : TBits_32; inline;
  2480. procedure setAUDEN(thebits : TBits_1); inline;
  2481. procedure setAUDMOD(thebits : TBits_2); inline;
  2482. procedure setAUDMOD0(thebits : TBits_1); inline;
  2483. procedure setAUDMOD1(thebits : TBits_1); inline;
  2484. procedure setAUDMONO(thebits : TBits_1); inline;
  2485. procedure setFRMERREN(thebits : TBits_1); inline;
  2486. procedure setIGNROV(thebits : TBits_1); inline;
  2487. procedure setIGNTUR(thebits : TBits_1); inline;
  2488. procedure setSPIROVEN(thebits : TBits_1); inline;
  2489. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2490. procedure setSPITUREN(thebits : TBits_1); inline;
  2491. procedure setw(thebits : TBits_32); inline;
  2492. public
  2493. procedure clearAUDEN; inline;
  2494. procedure clearAUDMOD0; inline;
  2495. procedure clearAUDMOD1; inline;
  2496. procedure clearAUDMONO; inline;
  2497. procedure clearFRMERREN; inline;
  2498. procedure clearIGNROV; inline;
  2499. procedure clearIGNTUR; inline;
  2500. procedure clearSPIROVEN; inline;
  2501. procedure clearSPISGNEXT; inline;
  2502. procedure clearSPITUREN; inline;
  2503. procedure setAUDEN; inline;
  2504. procedure setAUDMOD0; inline;
  2505. procedure setAUDMOD1; inline;
  2506. procedure setAUDMONO; inline;
  2507. procedure setFRMERREN; inline;
  2508. procedure setIGNROV; inline;
  2509. procedure setIGNTUR; inline;
  2510. procedure setSPIROVEN; inline;
  2511. procedure setSPISGNEXT; inline;
  2512. procedure setSPITUREN; inline;
  2513. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2514. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2515. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2516. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2517. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2518. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2519. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2520. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2521. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2522. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2523. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2524. property w : TBits_32 read getw write setw;
  2525. end;
  2526. type
  2527. TSPI1Registers = record
  2528. SPI1CONbits : TSPI1_SPI1CON;
  2529. SPI1CON : longWord;
  2530. SPI1CONCLR : longWord;
  2531. SPI1CONSET : longWord;
  2532. SPI1CONINV : longWord;
  2533. SPI1STATbits : TSPI1_SPI1STAT;
  2534. SPI1STAT : longWord;
  2535. SPI1STATCLR : longWord;
  2536. SPI1STATSET : longWord;
  2537. SPI1STATINV : longWord;
  2538. SPI1BUF : longWord;
  2539. SPI1BRG : longWord;
  2540. SPI1BRGCLR : longWord;
  2541. SPI1BRGSET : longWord;
  2542. SPI1BRGINV : longWord;
  2543. SPI1CON2bits : TSPI1_SPI1CON2;
  2544. SPI1CON2 : longWord;
  2545. SPI1CON2CLR : longWord;
  2546. SPI1CON2SET : longWord;
  2547. SPI1CON2INV : longWord;
  2548. end;
  2549. TSPI2_SPI2CON = record
  2550. private
  2551. function getCKE : TBits_1; inline;
  2552. function getCKP : TBits_1; inline;
  2553. function getDISSDI : TBits_1; inline;
  2554. function getDISSDO : TBits_1; inline;
  2555. function getENHBUF : TBits_1; inline;
  2556. function getFRMCNT : TBits_3; inline;
  2557. function getFRMEN : TBits_1; inline;
  2558. function getFRMPOL : TBits_1; inline;
  2559. function getFRMSYNC : TBits_1; inline;
  2560. function getFRMSYPW : TBits_1; inline;
  2561. function getMCLKSEL : TBits_1; inline;
  2562. function getMODE16 : TBits_1; inline;
  2563. function getMODE32 : TBits_1; inline;
  2564. function getMSSEN : TBits_1; inline;
  2565. function getMSTEN : TBits_1; inline;
  2566. function getON : TBits_1; inline;
  2567. function getSIDL : TBits_1; inline;
  2568. function getSMP : TBits_1; inline;
  2569. function getSPIFE : TBits_1; inline;
  2570. function getSRXISEL : TBits_2; inline;
  2571. function getSSEN : TBits_1; inline;
  2572. function getSTXISEL : TBits_2; inline;
  2573. function getw : TBits_32; inline;
  2574. procedure setCKE(thebits : TBits_1); inline;
  2575. procedure setCKP(thebits : TBits_1); inline;
  2576. procedure setDISSDI(thebits : TBits_1); inline;
  2577. procedure setDISSDO(thebits : TBits_1); inline;
  2578. procedure setENHBUF(thebits : TBits_1); inline;
  2579. procedure setFRMCNT(thebits : TBits_3); inline;
  2580. procedure setFRMEN(thebits : TBits_1); inline;
  2581. procedure setFRMPOL(thebits : TBits_1); inline;
  2582. procedure setFRMSYNC(thebits : TBits_1); inline;
  2583. procedure setFRMSYPW(thebits : TBits_1); inline;
  2584. procedure setMCLKSEL(thebits : TBits_1); inline;
  2585. procedure setMODE16(thebits : TBits_1); inline;
  2586. procedure setMODE32(thebits : TBits_1); inline;
  2587. procedure setMSSEN(thebits : TBits_1); inline;
  2588. procedure setMSTEN(thebits : TBits_1); inline;
  2589. procedure setON(thebits : TBits_1); inline;
  2590. procedure setSIDL(thebits : TBits_1); inline;
  2591. procedure setSMP(thebits : TBits_1); inline;
  2592. procedure setSPIFE(thebits : TBits_1); inline;
  2593. procedure setSRXISEL(thebits : TBits_2); inline;
  2594. procedure setSSEN(thebits : TBits_1); inline;
  2595. procedure setSTXISEL(thebits : TBits_2); inline;
  2596. procedure setw(thebits : TBits_32); inline;
  2597. public
  2598. procedure clearCKE; inline;
  2599. procedure clearCKP; inline;
  2600. procedure clearDISSDI; inline;
  2601. procedure clearDISSDO; inline;
  2602. procedure clearENHBUF; inline;
  2603. procedure clearFRMEN; inline;
  2604. procedure clearFRMPOL; inline;
  2605. procedure clearFRMSYNC; inline;
  2606. procedure clearFRMSYPW; inline;
  2607. procedure clearMCLKSEL; inline;
  2608. procedure clearMODE16; inline;
  2609. procedure clearMODE32; inline;
  2610. procedure clearMSSEN; inline;
  2611. procedure clearMSTEN; inline;
  2612. procedure clearON; inline;
  2613. procedure clearSIDL; inline;
  2614. procedure clearSMP; inline;
  2615. procedure clearSPIFE; inline;
  2616. procedure clearSSEN; inline;
  2617. procedure setCKE; inline;
  2618. procedure setCKP; inline;
  2619. procedure setDISSDI; inline;
  2620. procedure setDISSDO; inline;
  2621. procedure setENHBUF; inline;
  2622. procedure setFRMEN; inline;
  2623. procedure setFRMPOL; inline;
  2624. procedure setFRMSYNC; inline;
  2625. procedure setFRMSYPW; inline;
  2626. procedure setMCLKSEL; inline;
  2627. procedure setMODE16; inline;
  2628. procedure setMODE32; inline;
  2629. procedure setMSSEN; inline;
  2630. procedure setMSTEN; inline;
  2631. procedure setON; inline;
  2632. procedure setSIDL; inline;
  2633. procedure setSMP; inline;
  2634. procedure setSPIFE; inline;
  2635. procedure setSSEN; inline;
  2636. property CKE : TBits_1 read getCKE write setCKE;
  2637. property CKP : TBits_1 read getCKP write setCKP;
  2638. property DISSDI : TBits_1 read getDISSDI write setDISSDI;
  2639. property DISSDO : TBits_1 read getDISSDO write setDISSDO;
  2640. property ENHBUF : TBits_1 read getENHBUF write setENHBUF;
  2641. property FRMCNT : TBits_3 read getFRMCNT write setFRMCNT;
  2642. property FRMEN : TBits_1 read getFRMEN write setFRMEN;
  2643. property FRMPOL : TBits_1 read getFRMPOL write setFRMPOL;
  2644. property FRMSYNC : TBits_1 read getFRMSYNC write setFRMSYNC;
  2645. property FRMSYPW : TBits_1 read getFRMSYPW write setFRMSYPW;
  2646. property MCLKSEL : TBits_1 read getMCLKSEL write setMCLKSEL;
  2647. property MODE16 : TBits_1 read getMODE16 write setMODE16;
  2648. property MODE32 : TBits_1 read getMODE32 write setMODE32;
  2649. property MSSEN : TBits_1 read getMSSEN write setMSSEN;
  2650. property MSTEN : TBits_1 read getMSTEN write setMSTEN;
  2651. property ON : TBits_1 read getON write setON;
  2652. property SIDL : TBits_1 read getSIDL write setSIDL;
  2653. property SMP : TBits_1 read getSMP write setSMP;
  2654. property SPIFE : TBits_1 read getSPIFE write setSPIFE;
  2655. property SRXISEL : TBits_2 read getSRXISEL write setSRXISEL;
  2656. property SSEN : TBits_1 read getSSEN write setSSEN;
  2657. property STXISEL : TBits_2 read getSTXISEL write setSTXISEL;
  2658. property w : TBits_32 read getw write setw;
  2659. end;
  2660. TSPI2_SPI2STAT = record
  2661. private
  2662. function getFRMERR : TBits_1; inline;
  2663. function getRXBUFELM : TBits_5; inline;
  2664. function getSPIBUSY : TBits_1; inline;
  2665. function getSPIRBE : TBits_1; inline;
  2666. function getSPIRBF : TBits_1; inline;
  2667. function getSPIROV : TBits_1; inline;
  2668. function getSPITBE : TBits_1; inline;
  2669. function getSPITBF : TBits_1; inline;
  2670. function getSPITUR : TBits_1; inline;
  2671. function getSRMT : TBits_1; inline;
  2672. function getTXBUFELM : TBits_5; inline;
  2673. function getw : TBits_32; inline;
  2674. procedure setFRMERR(thebits : TBits_1); inline;
  2675. procedure setRXBUFELM(thebits : TBits_5); inline;
  2676. procedure setSPIBUSY(thebits : TBits_1); inline;
  2677. procedure setSPIRBE(thebits : TBits_1); inline;
  2678. procedure setSPIRBF(thebits : TBits_1); inline;
  2679. procedure setSPIROV(thebits : TBits_1); inline;
  2680. procedure setSPITBE(thebits : TBits_1); inline;
  2681. procedure setSPITBF(thebits : TBits_1); inline;
  2682. procedure setSPITUR(thebits : TBits_1); inline;
  2683. procedure setSRMT(thebits : TBits_1); inline;
  2684. procedure setTXBUFELM(thebits : TBits_5); inline;
  2685. procedure setw(thebits : TBits_32); inline;
  2686. public
  2687. procedure clearFRMERR; inline;
  2688. procedure clearSPIBUSY; inline;
  2689. procedure clearSPIRBE; inline;
  2690. procedure clearSPIRBF; inline;
  2691. procedure clearSPIROV; inline;
  2692. procedure clearSPITBE; inline;
  2693. procedure clearSPITBF; inline;
  2694. procedure clearSPITUR; inline;
  2695. procedure clearSRMT; inline;
  2696. procedure setFRMERR; inline;
  2697. procedure setSPIBUSY; inline;
  2698. procedure setSPIRBE; inline;
  2699. procedure setSPIRBF; inline;
  2700. procedure setSPIROV; inline;
  2701. procedure setSPITBE; inline;
  2702. procedure setSPITBF; inline;
  2703. procedure setSPITUR; inline;
  2704. procedure setSRMT; inline;
  2705. property FRMERR : TBits_1 read getFRMERR write setFRMERR;
  2706. property RXBUFELM : TBits_5 read getRXBUFELM write setRXBUFELM;
  2707. property SPIBUSY : TBits_1 read getSPIBUSY write setSPIBUSY;
  2708. property SPIRBE : TBits_1 read getSPIRBE write setSPIRBE;
  2709. property SPIRBF : TBits_1 read getSPIRBF write setSPIRBF;
  2710. property SPIROV : TBits_1 read getSPIROV write setSPIROV;
  2711. property SPITBE : TBits_1 read getSPITBE write setSPITBE;
  2712. property SPITBF : TBits_1 read getSPITBF write setSPITBF;
  2713. property SPITUR : TBits_1 read getSPITUR write setSPITUR;
  2714. property SRMT : TBits_1 read getSRMT write setSRMT;
  2715. property TXBUFELM : TBits_5 read getTXBUFELM write setTXBUFELM;
  2716. property w : TBits_32 read getw write setw;
  2717. end;
  2718. TSPI2_SPI2CON2 = record
  2719. private
  2720. function getAUDEN : TBits_1; inline;
  2721. function getAUDMOD : TBits_2; inline;
  2722. function getAUDMOD0 : TBits_1; inline;
  2723. function getAUDMOD1 : TBits_1; inline;
  2724. function getAUDMONO : TBits_1; inline;
  2725. function getFRMERREN : TBits_1; inline;
  2726. function getIGNROV : TBits_1; inline;
  2727. function getIGNTUR : TBits_1; inline;
  2728. function getSPIROVEN : TBits_1; inline;
  2729. function getSPISGNEXT : TBits_1; inline;
  2730. function getSPITUREN : TBits_1; inline;
  2731. function getw : TBits_32; inline;
  2732. procedure setAUDEN(thebits : TBits_1); inline;
  2733. procedure setAUDMOD(thebits : TBits_2); inline;
  2734. procedure setAUDMOD0(thebits : TBits_1); inline;
  2735. procedure setAUDMOD1(thebits : TBits_1); inline;
  2736. procedure setAUDMONO(thebits : TBits_1); inline;
  2737. procedure setFRMERREN(thebits : TBits_1); inline;
  2738. procedure setIGNROV(thebits : TBits_1); inline;
  2739. procedure setIGNTUR(thebits : TBits_1); inline;
  2740. procedure setSPIROVEN(thebits : TBits_1); inline;
  2741. procedure setSPISGNEXT(thebits : TBits_1); inline;
  2742. procedure setSPITUREN(thebits : TBits_1); inline;
  2743. procedure setw(thebits : TBits_32); inline;
  2744. public
  2745. procedure clearAUDEN; inline;
  2746. procedure clearAUDMOD0; inline;
  2747. procedure clearAUDMOD1; inline;
  2748. procedure clearAUDMONO; inline;
  2749. procedure clearFRMERREN; inline;
  2750. procedure clearIGNROV; inline;
  2751. procedure clearIGNTUR; inline;
  2752. procedure clearSPIROVEN; inline;
  2753. procedure clearSPISGNEXT; inline;
  2754. procedure clearSPITUREN; inline;
  2755. procedure setAUDEN; inline;
  2756. procedure setAUDMOD0; inline;
  2757. procedure setAUDMOD1; inline;
  2758. procedure setAUDMONO; inline;
  2759. procedure setFRMERREN; inline;
  2760. procedure setIGNROV; inline;
  2761. procedure setIGNTUR; inline;
  2762. procedure setSPIROVEN; inline;
  2763. procedure setSPISGNEXT; inline;
  2764. procedure setSPITUREN; inline;
  2765. property AUDEN : TBits_1 read getAUDEN write setAUDEN;
  2766. property AUDMOD : TBits_2 read getAUDMOD write setAUDMOD;
  2767. property AUDMOD0 : TBits_1 read getAUDMOD0 write setAUDMOD0;
  2768. property AUDMOD1 : TBits_1 read getAUDMOD1 write setAUDMOD1;
  2769. property AUDMONO : TBits_1 read getAUDMONO write setAUDMONO;
  2770. property FRMERREN : TBits_1 read getFRMERREN write setFRMERREN;
  2771. property IGNROV : TBits_1 read getIGNROV write setIGNROV;
  2772. property IGNTUR : TBits_1 read getIGNTUR write setIGNTUR;
  2773. property SPIROVEN : TBits_1 read getSPIROVEN write setSPIROVEN;
  2774. property SPISGNEXT : TBits_1 read getSPISGNEXT write setSPISGNEXT;
  2775. property SPITUREN : TBits_1 read getSPITUREN write setSPITUREN;
  2776. property w : TBits_32 read getw write setw;
  2777. end;
  2778. type
  2779. TSPI2Registers = record
  2780. SPI2CONbits : TSPI2_SPI2CON;
  2781. SPI2CON : longWord;
  2782. SPI2CONCLR : longWord;
  2783. SPI2CONSET : longWord;
  2784. SPI2CONINV : longWord;
  2785. SPI2STATbits : TSPI2_SPI2STAT;
  2786. SPI2STAT : longWord;
  2787. SPI2STATCLR : longWord;
  2788. SPI2STATSET : longWord;
  2789. SPI2STATINV : longWord;
  2790. SPI2BUF : longWord;
  2791. SPI2BRG : longWord;
  2792. SPI2BRGCLR : longWord;
  2793. SPI2BRGSET : longWord;
  2794. SPI2BRGINV : longWord;
  2795. SPI2CON2bits : TSPI2_SPI2CON2;
  2796. SPI2CON2 : longWord;
  2797. SPI2CON2CLR : longWord;
  2798. SPI2CON2SET : longWord;
  2799. SPI2CON2INV : longWord;
  2800. end;
  2801. TUART1_U1AMODE = record
  2802. private
  2803. function getABAUD : TBits_1; inline;
  2804. function getBRGH : TBits_1; inline;
  2805. function getIREN : TBits_1; inline;
  2806. function getLPBACK : TBits_1; inline;
  2807. function getON : TBits_1; inline;
  2808. function getPDSEL : TBits_2; inline;
  2809. function getPDSEL0 : TBits_1; inline;
  2810. function getPDSEL1 : TBits_1; inline;
  2811. function getRTSMD : TBits_1; inline;
  2812. function getRXINV : TBits_1; inline;
  2813. function getSIDL : TBits_1; inline;
  2814. function getSTSEL : TBits_1; inline;
  2815. function getUARTEN : TBits_1; inline;
  2816. function getUEN : TBits_2; inline;
  2817. function getUEN0 : TBits_1; inline;
  2818. function getUEN1 : TBits_1; inline;
  2819. function getUSIDL : TBits_1; inline;
  2820. function getWAKE : TBits_1; inline;
  2821. function getw : TBits_32; inline;
  2822. procedure setABAUD(thebits : TBits_1); inline;
  2823. procedure setBRGH(thebits : TBits_1); inline;
  2824. procedure setIREN(thebits : TBits_1); inline;
  2825. procedure setLPBACK(thebits : TBits_1); inline;
  2826. procedure setON(thebits : TBits_1); inline;
  2827. procedure setPDSEL(thebits : TBits_2); inline;
  2828. procedure setPDSEL0(thebits : TBits_1); inline;
  2829. procedure setPDSEL1(thebits : TBits_1); inline;
  2830. procedure setRTSMD(thebits : TBits_1); inline;
  2831. procedure setRXINV(thebits : TBits_1); inline;
  2832. procedure setSIDL(thebits : TBits_1); inline;
  2833. procedure setSTSEL(thebits : TBits_1); inline;
  2834. procedure setUARTEN(thebits : TBits_1); inline;
  2835. procedure setUEN(thebits : TBits_2); inline;
  2836. procedure setUEN0(thebits : TBits_1); inline;
  2837. procedure setUEN1(thebits : TBits_1); inline;
  2838. procedure setUSIDL(thebits : TBits_1); inline;
  2839. procedure setWAKE(thebits : TBits_1); inline;
  2840. procedure setw(thebits : TBits_32); inline;
  2841. public
  2842. procedure clearABAUD; inline;
  2843. procedure clearBRGH; inline;
  2844. procedure clearIREN; inline;
  2845. procedure clearLPBACK; inline;
  2846. procedure clearON; inline;
  2847. procedure clearPDSEL0; inline;
  2848. procedure clearPDSEL1; inline;
  2849. procedure clearRTSMD; inline;
  2850. procedure clearRXINV; inline;
  2851. procedure clearSIDL; inline;
  2852. procedure clearSTSEL; inline;
  2853. procedure clearUARTEN; inline;
  2854. procedure clearUEN0; inline;
  2855. procedure clearUEN1; inline;
  2856. procedure clearUSIDL; inline;
  2857. procedure clearWAKE; inline;
  2858. procedure setABAUD; inline;
  2859. procedure setBRGH; inline;
  2860. procedure setIREN; inline;
  2861. procedure setLPBACK; inline;
  2862. procedure setON; inline;
  2863. procedure setPDSEL0; inline;
  2864. procedure setPDSEL1; inline;
  2865. procedure setRTSMD; inline;
  2866. procedure setRXINV; inline;
  2867. procedure setSIDL; inline;
  2868. procedure setSTSEL; inline;
  2869. procedure setUARTEN; inline;
  2870. procedure setUEN0; inline;
  2871. procedure setUEN1; inline;
  2872. procedure setUSIDL; inline;
  2873. procedure setWAKE; inline;
  2874. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2875. property BRGH : TBits_1 read getBRGH write setBRGH;
  2876. property IREN : TBits_1 read getIREN write setIREN;
  2877. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2878. property ON : TBits_1 read getON write setON;
  2879. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2880. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2881. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2882. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2883. property RXINV : TBits_1 read getRXINV write setRXINV;
  2884. property SIDL : TBits_1 read getSIDL write setSIDL;
  2885. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2886. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2887. property UEN : TBits_2 read getUEN write setUEN;
  2888. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2889. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2890. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2891. property WAKE : TBits_1 read getWAKE write setWAKE;
  2892. property w : TBits_32 read getw write setw;
  2893. end;
  2894. TUART1_U1MODE = record
  2895. private
  2896. function getABAUD : TBits_1; inline;
  2897. function getBRGH : TBits_1; inline;
  2898. function getIREN : TBits_1; inline;
  2899. function getLPBACK : TBits_1; inline;
  2900. function getON : TBits_1; inline;
  2901. function getPDSEL : TBits_2; inline;
  2902. function getPDSEL0 : TBits_1; inline;
  2903. function getPDSEL1 : TBits_1; inline;
  2904. function getRTSMD : TBits_1; inline;
  2905. function getRXINV : TBits_1; inline;
  2906. function getSIDL : TBits_1; inline;
  2907. function getSTSEL : TBits_1; inline;
  2908. function getUARTEN : TBits_1; inline;
  2909. function getUEN : TBits_2; inline;
  2910. function getUEN0 : TBits_1; inline;
  2911. function getUEN1 : TBits_1; inline;
  2912. function getUSIDL : TBits_1; inline;
  2913. function getWAKE : TBits_1; inline;
  2914. function getw : TBits_32; inline;
  2915. procedure setABAUD(thebits : TBits_1); inline;
  2916. procedure setBRGH(thebits : TBits_1); inline;
  2917. procedure setIREN(thebits : TBits_1); inline;
  2918. procedure setLPBACK(thebits : TBits_1); inline;
  2919. procedure setON(thebits : TBits_1); inline;
  2920. procedure setPDSEL(thebits : TBits_2); inline;
  2921. procedure setPDSEL0(thebits : TBits_1); inline;
  2922. procedure setPDSEL1(thebits : TBits_1); inline;
  2923. procedure setRTSMD(thebits : TBits_1); inline;
  2924. procedure setRXINV(thebits : TBits_1); inline;
  2925. procedure setSIDL(thebits : TBits_1); inline;
  2926. procedure setSTSEL(thebits : TBits_1); inline;
  2927. procedure setUARTEN(thebits : TBits_1); inline;
  2928. procedure setUEN(thebits : TBits_2); inline;
  2929. procedure setUEN0(thebits : TBits_1); inline;
  2930. procedure setUEN1(thebits : TBits_1); inline;
  2931. procedure setUSIDL(thebits : TBits_1); inline;
  2932. procedure setWAKE(thebits : TBits_1); inline;
  2933. procedure setw(thebits : TBits_32); inline;
  2934. public
  2935. procedure clearABAUD; inline;
  2936. procedure clearBRGH; inline;
  2937. procedure clearIREN; inline;
  2938. procedure clearLPBACK; inline;
  2939. procedure clearON; inline;
  2940. procedure clearPDSEL0; inline;
  2941. procedure clearPDSEL1; inline;
  2942. procedure clearRTSMD; inline;
  2943. procedure clearRXINV; inline;
  2944. procedure clearSIDL; inline;
  2945. procedure clearSTSEL; inline;
  2946. procedure clearUARTEN; inline;
  2947. procedure clearUEN0; inline;
  2948. procedure clearUEN1; inline;
  2949. procedure clearUSIDL; inline;
  2950. procedure clearWAKE; inline;
  2951. procedure setABAUD; inline;
  2952. procedure setBRGH; inline;
  2953. procedure setIREN; inline;
  2954. procedure setLPBACK; inline;
  2955. procedure setON; inline;
  2956. procedure setPDSEL0; inline;
  2957. procedure setPDSEL1; inline;
  2958. procedure setRTSMD; inline;
  2959. procedure setRXINV; inline;
  2960. procedure setSIDL; inline;
  2961. procedure setSTSEL; inline;
  2962. procedure setUARTEN; inline;
  2963. procedure setUEN0; inline;
  2964. procedure setUEN1; inline;
  2965. procedure setUSIDL; inline;
  2966. procedure setWAKE; inline;
  2967. property ABAUD : TBits_1 read getABAUD write setABAUD;
  2968. property BRGH : TBits_1 read getBRGH write setBRGH;
  2969. property IREN : TBits_1 read getIREN write setIREN;
  2970. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  2971. property ON : TBits_1 read getON write setON;
  2972. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  2973. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  2974. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  2975. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  2976. property RXINV : TBits_1 read getRXINV write setRXINV;
  2977. property SIDL : TBits_1 read getSIDL write setSIDL;
  2978. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  2979. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  2980. property UEN : TBits_2 read getUEN write setUEN;
  2981. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  2982. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  2983. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  2984. property WAKE : TBits_1 read getWAKE write setWAKE;
  2985. property w : TBits_32 read getw write setw;
  2986. end;
  2987. TUART1_U1ASTA = record
  2988. private
  2989. function getADDEN : TBits_1; inline;
  2990. function getADDR : TBits_8; inline;
  2991. function getADM_EN : TBits_1; inline;
  2992. function getFERR : TBits_1; inline;
  2993. function getOERR : TBits_1; inline;
  2994. function getPERR : TBits_1; inline;
  2995. function getRIDLE : TBits_1; inline;
  2996. function getTRMT : TBits_1; inline;
  2997. function getURXDA : TBits_1; inline;
  2998. function getURXEN : TBits_1; inline;
  2999. function getURXISEL : TBits_2; inline;
  3000. function getURXISEL0 : TBits_1; inline;
  3001. function getURXISEL1 : TBits_1; inline;
  3002. function getUTXBF : TBits_1; inline;
  3003. function getUTXBRK : TBits_1; inline;
  3004. function getUTXEN : TBits_1; inline;
  3005. function getUTXINV : TBits_1; inline;
  3006. function getUTXISEL : TBits_2; inline;
  3007. function getUTXISEL0 : TBits_1; inline;
  3008. function getUTXISEL1 : TBits_1; inline;
  3009. function getUTXSEL : TBits_2; inline;
  3010. function getw : TBits_32; inline;
  3011. procedure setADDEN(thebits : TBits_1); inline;
  3012. procedure setADDR(thebits : TBits_8); inline;
  3013. procedure setADM_EN(thebits : TBits_1); inline;
  3014. procedure setFERR(thebits : TBits_1); inline;
  3015. procedure setOERR(thebits : TBits_1); inline;
  3016. procedure setPERR(thebits : TBits_1); inline;
  3017. procedure setRIDLE(thebits : TBits_1); inline;
  3018. procedure setTRMT(thebits : TBits_1); inline;
  3019. procedure setURXDA(thebits : TBits_1); inline;
  3020. procedure setURXEN(thebits : TBits_1); inline;
  3021. procedure setURXISEL(thebits : TBits_2); inline;
  3022. procedure setURXISEL0(thebits : TBits_1); inline;
  3023. procedure setURXISEL1(thebits : TBits_1); inline;
  3024. procedure setUTXBF(thebits : TBits_1); inline;
  3025. procedure setUTXBRK(thebits : TBits_1); inline;
  3026. procedure setUTXEN(thebits : TBits_1); inline;
  3027. procedure setUTXINV(thebits : TBits_1); inline;
  3028. procedure setUTXISEL(thebits : TBits_2); inline;
  3029. procedure setUTXISEL0(thebits : TBits_1); inline;
  3030. procedure setUTXISEL1(thebits : TBits_1); inline;
  3031. procedure setUTXSEL(thebits : TBits_2); inline;
  3032. procedure setw(thebits : TBits_32); inline;
  3033. public
  3034. procedure clearADDEN; inline;
  3035. procedure clearADM_EN; inline;
  3036. procedure clearFERR; inline;
  3037. procedure clearOERR; inline;
  3038. procedure clearPERR; inline;
  3039. procedure clearRIDLE; inline;
  3040. procedure clearTRMT; inline;
  3041. procedure clearURXDA; inline;
  3042. procedure clearURXEN; inline;
  3043. procedure clearURXISEL0; inline;
  3044. procedure clearURXISEL1; inline;
  3045. procedure clearUTXBF; inline;
  3046. procedure clearUTXBRK; inline;
  3047. procedure clearUTXEN; inline;
  3048. procedure clearUTXINV; inline;
  3049. procedure clearUTXISEL0; inline;
  3050. procedure clearUTXISEL1; inline;
  3051. procedure setADDEN; inline;
  3052. procedure setADM_EN; inline;
  3053. procedure setFERR; inline;
  3054. procedure setOERR; inline;
  3055. procedure setPERR; inline;
  3056. procedure setRIDLE; inline;
  3057. procedure setTRMT; inline;
  3058. procedure setURXDA; inline;
  3059. procedure setURXEN; inline;
  3060. procedure setURXISEL0; inline;
  3061. procedure setURXISEL1; inline;
  3062. procedure setUTXBF; inline;
  3063. procedure setUTXBRK; inline;
  3064. procedure setUTXEN; inline;
  3065. procedure setUTXINV; inline;
  3066. procedure setUTXISEL0; inline;
  3067. procedure setUTXISEL1; inline;
  3068. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3069. property ADDR : TBits_8 read getADDR write setADDR;
  3070. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3071. property FERR : TBits_1 read getFERR write setFERR;
  3072. property OERR : TBits_1 read getOERR write setOERR;
  3073. property PERR : TBits_1 read getPERR write setPERR;
  3074. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3075. property TRMT : TBits_1 read getTRMT write setTRMT;
  3076. property URXDA : TBits_1 read getURXDA write setURXDA;
  3077. property URXEN : TBits_1 read getURXEN write setURXEN;
  3078. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3079. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3080. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3081. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3082. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3083. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3084. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3085. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3086. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3087. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3088. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3089. property w : TBits_32 read getw write setw;
  3090. end;
  3091. TUART1_U1STA = record
  3092. private
  3093. function getADDEN : TBits_1; inline;
  3094. function getADDR : TBits_8; inline;
  3095. function getADM_EN : TBits_1; inline;
  3096. function getFERR : TBits_1; inline;
  3097. function getOERR : TBits_1; inline;
  3098. function getPERR : TBits_1; inline;
  3099. function getRIDLE : TBits_1; inline;
  3100. function getTRMT : TBits_1; inline;
  3101. function getURXDA : TBits_1; inline;
  3102. function getURXEN : TBits_1; inline;
  3103. function getURXISEL : TBits_2; inline;
  3104. function getURXISEL0 : TBits_1; inline;
  3105. function getURXISEL1 : TBits_1; inline;
  3106. function getUTXBF : TBits_1; inline;
  3107. function getUTXBRK : TBits_1; inline;
  3108. function getUTXEN : TBits_1; inline;
  3109. function getUTXINV : TBits_1; inline;
  3110. function getUTXISEL : TBits_2; inline;
  3111. function getUTXISEL0 : TBits_1; inline;
  3112. function getUTXISEL1 : TBits_1; inline;
  3113. function getUTXSEL : TBits_2; inline;
  3114. function getw : TBits_32; inline;
  3115. procedure setADDEN(thebits : TBits_1); inline;
  3116. procedure setADDR(thebits : TBits_8); inline;
  3117. procedure setADM_EN(thebits : TBits_1); inline;
  3118. procedure setFERR(thebits : TBits_1); inline;
  3119. procedure setOERR(thebits : TBits_1); inline;
  3120. procedure setPERR(thebits : TBits_1); inline;
  3121. procedure setRIDLE(thebits : TBits_1); inline;
  3122. procedure setTRMT(thebits : TBits_1); inline;
  3123. procedure setURXDA(thebits : TBits_1); inline;
  3124. procedure setURXEN(thebits : TBits_1); inline;
  3125. procedure setURXISEL(thebits : TBits_2); inline;
  3126. procedure setURXISEL0(thebits : TBits_1); inline;
  3127. procedure setURXISEL1(thebits : TBits_1); inline;
  3128. procedure setUTXBF(thebits : TBits_1); inline;
  3129. procedure setUTXBRK(thebits : TBits_1); inline;
  3130. procedure setUTXEN(thebits : TBits_1); inline;
  3131. procedure setUTXINV(thebits : TBits_1); inline;
  3132. procedure setUTXISEL(thebits : TBits_2); inline;
  3133. procedure setUTXISEL0(thebits : TBits_1); inline;
  3134. procedure setUTXISEL1(thebits : TBits_1); inline;
  3135. procedure setUTXSEL(thebits : TBits_2); inline;
  3136. procedure setw(thebits : TBits_32); inline;
  3137. public
  3138. procedure clearADDEN; inline;
  3139. procedure clearADM_EN; inline;
  3140. procedure clearFERR; inline;
  3141. procedure clearOERR; inline;
  3142. procedure clearPERR; inline;
  3143. procedure clearRIDLE; inline;
  3144. procedure clearTRMT; inline;
  3145. procedure clearURXDA; inline;
  3146. procedure clearURXEN; inline;
  3147. procedure clearURXISEL0; inline;
  3148. procedure clearURXISEL1; inline;
  3149. procedure clearUTXBF; inline;
  3150. procedure clearUTXBRK; inline;
  3151. procedure clearUTXEN; inline;
  3152. procedure clearUTXINV; inline;
  3153. procedure clearUTXISEL0; inline;
  3154. procedure clearUTXISEL1; inline;
  3155. procedure setADDEN; inline;
  3156. procedure setADM_EN; inline;
  3157. procedure setFERR; inline;
  3158. procedure setOERR; inline;
  3159. procedure setPERR; inline;
  3160. procedure setRIDLE; inline;
  3161. procedure setTRMT; inline;
  3162. procedure setURXDA; inline;
  3163. procedure setURXEN; inline;
  3164. procedure setURXISEL0; inline;
  3165. procedure setURXISEL1; inline;
  3166. procedure setUTXBF; inline;
  3167. procedure setUTXBRK; inline;
  3168. procedure setUTXEN; inline;
  3169. procedure setUTXINV; inline;
  3170. procedure setUTXISEL0; inline;
  3171. procedure setUTXISEL1; inline;
  3172. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3173. property ADDR : TBits_8 read getADDR write setADDR;
  3174. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3175. property FERR : TBits_1 read getFERR write setFERR;
  3176. property OERR : TBits_1 read getOERR write setOERR;
  3177. property PERR : TBits_1 read getPERR write setPERR;
  3178. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3179. property TRMT : TBits_1 read getTRMT write setTRMT;
  3180. property URXDA : TBits_1 read getURXDA write setURXDA;
  3181. property URXEN : TBits_1 read getURXEN write setURXEN;
  3182. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3183. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3184. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3185. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3186. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3187. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3188. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3189. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3190. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3191. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3192. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3193. property w : TBits_32 read getw write setw;
  3194. end;
  3195. type
  3196. TUART1Registers = record
  3197. U1AMODEbits : TUART1_U1AMODE;
  3198. U1AMODE : longWord;
  3199. U1MODEbits : TUART1_U1MODE;
  3200. U1MODE : longWord;
  3201. U1AMODECLR : longWord;
  3202. U1MODECLR : longWord;
  3203. U1AMODESET : longWord;
  3204. U1MODESET : longWord;
  3205. U1AMODEINV : longWord;
  3206. U1MODEINV : longWord;
  3207. U1ASTAbits : TUART1_U1ASTA;
  3208. U1ASTA : longWord;
  3209. U1STAbits : TUART1_U1STA;
  3210. U1STA : longWord;
  3211. U1ASTACLR : longWord;
  3212. U1STACLR : longWord;
  3213. U1ASTASET : longWord;
  3214. U1STASET : longWord;
  3215. U1ASTAINV : longWord;
  3216. U1STAINV : longWord;
  3217. U1ATXREG : longWord;
  3218. U1TXREG : longWord;
  3219. U1ARXREG : longWord;
  3220. U1RXREG : longWord;
  3221. U1ABRG : longWord;
  3222. U1BRG : longWord;
  3223. U1ABRGCLR : longWord;
  3224. U1BRGCLR : longWord;
  3225. U1ABRGSET : longWord;
  3226. U1BRGSET : longWord;
  3227. U1ABRGINV : longWord;
  3228. U1BRGINV : longWord;
  3229. end;
  3230. TUART2_U2MODE = record
  3231. private
  3232. function getABAUD : TBits_1; inline;
  3233. function getBRGH : TBits_1; inline;
  3234. function getIREN : TBits_1; inline;
  3235. function getLPBACK : TBits_1; inline;
  3236. function getON : TBits_1; inline;
  3237. function getPDSEL : TBits_2; inline;
  3238. function getPDSEL0 : TBits_1; inline;
  3239. function getPDSEL1 : TBits_1; inline;
  3240. function getRTSMD : TBits_1; inline;
  3241. function getRXINV : TBits_1; inline;
  3242. function getSIDL : TBits_1; inline;
  3243. function getSTSEL : TBits_1; inline;
  3244. function getUARTEN : TBits_1; inline;
  3245. function getUEN : TBits_2; inline;
  3246. function getUEN0 : TBits_1; inline;
  3247. function getUEN1 : TBits_1; inline;
  3248. function getUSIDL : TBits_1; inline;
  3249. function getWAKE : TBits_1; inline;
  3250. function getw : TBits_32; inline;
  3251. procedure setABAUD(thebits : TBits_1); inline;
  3252. procedure setBRGH(thebits : TBits_1); inline;
  3253. procedure setIREN(thebits : TBits_1); inline;
  3254. procedure setLPBACK(thebits : TBits_1); inline;
  3255. procedure setON(thebits : TBits_1); inline;
  3256. procedure setPDSEL(thebits : TBits_2); inline;
  3257. procedure setPDSEL0(thebits : TBits_1); inline;
  3258. procedure setPDSEL1(thebits : TBits_1); inline;
  3259. procedure setRTSMD(thebits : TBits_1); inline;
  3260. procedure setRXINV(thebits : TBits_1); inline;
  3261. procedure setSIDL(thebits : TBits_1); inline;
  3262. procedure setSTSEL(thebits : TBits_1); inline;
  3263. procedure setUARTEN(thebits : TBits_1); inline;
  3264. procedure setUEN(thebits : TBits_2); inline;
  3265. procedure setUEN0(thebits : TBits_1); inline;
  3266. procedure setUEN1(thebits : TBits_1); inline;
  3267. procedure setUSIDL(thebits : TBits_1); inline;
  3268. procedure setWAKE(thebits : TBits_1); inline;
  3269. procedure setw(thebits : TBits_32); inline;
  3270. public
  3271. procedure clearABAUD; inline;
  3272. procedure clearBRGH; inline;
  3273. procedure clearIREN; inline;
  3274. procedure clearLPBACK; inline;
  3275. procedure clearON; inline;
  3276. procedure clearPDSEL0; inline;
  3277. procedure clearPDSEL1; inline;
  3278. procedure clearRTSMD; inline;
  3279. procedure clearRXINV; inline;
  3280. procedure clearSIDL; inline;
  3281. procedure clearSTSEL; inline;
  3282. procedure clearUARTEN; inline;
  3283. procedure clearUEN0; inline;
  3284. procedure clearUEN1; inline;
  3285. procedure clearUSIDL; inline;
  3286. procedure clearWAKE; inline;
  3287. procedure setABAUD; inline;
  3288. procedure setBRGH; inline;
  3289. procedure setIREN; inline;
  3290. procedure setLPBACK; inline;
  3291. procedure setON; inline;
  3292. procedure setPDSEL0; inline;
  3293. procedure setPDSEL1; inline;
  3294. procedure setRTSMD; inline;
  3295. procedure setRXINV; inline;
  3296. procedure setSIDL; inline;
  3297. procedure setSTSEL; inline;
  3298. procedure setUARTEN; inline;
  3299. procedure setUEN0; inline;
  3300. procedure setUEN1; inline;
  3301. procedure setUSIDL; inline;
  3302. procedure setWAKE; inline;
  3303. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3304. property BRGH : TBits_1 read getBRGH write setBRGH;
  3305. property IREN : TBits_1 read getIREN write setIREN;
  3306. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3307. property ON : TBits_1 read getON write setON;
  3308. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3309. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3310. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3311. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3312. property RXINV : TBits_1 read getRXINV write setRXINV;
  3313. property SIDL : TBits_1 read getSIDL write setSIDL;
  3314. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3315. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3316. property UEN : TBits_2 read getUEN write setUEN;
  3317. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3318. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3319. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3320. property WAKE : TBits_1 read getWAKE write setWAKE;
  3321. property w : TBits_32 read getw write setw;
  3322. end;
  3323. TUART2_U3AMODE = record
  3324. private
  3325. function getABAUD : TBits_1; inline;
  3326. function getBRGH : TBits_1; inline;
  3327. function getIREN : TBits_1; inline;
  3328. function getLPBACK : TBits_1; inline;
  3329. function getON : TBits_1; inline;
  3330. function getPDSEL : TBits_2; inline;
  3331. function getPDSEL0 : TBits_1; inline;
  3332. function getPDSEL1 : TBits_1; inline;
  3333. function getRTSMD : TBits_1; inline;
  3334. function getRXINV : TBits_1; inline;
  3335. function getSIDL : TBits_1; inline;
  3336. function getSTSEL : TBits_1; inline;
  3337. function getUARTEN : TBits_1; inline;
  3338. function getUEN : TBits_2; inline;
  3339. function getUEN0 : TBits_1; inline;
  3340. function getUEN1 : TBits_1; inline;
  3341. function getUSIDL : TBits_1; inline;
  3342. function getWAKE : TBits_1; inline;
  3343. function getw : TBits_32; inline;
  3344. procedure setABAUD(thebits : TBits_1); inline;
  3345. procedure setBRGH(thebits : TBits_1); inline;
  3346. procedure setIREN(thebits : TBits_1); inline;
  3347. procedure setLPBACK(thebits : TBits_1); inline;
  3348. procedure setON(thebits : TBits_1); inline;
  3349. procedure setPDSEL(thebits : TBits_2); inline;
  3350. procedure setPDSEL0(thebits : TBits_1); inline;
  3351. procedure setPDSEL1(thebits : TBits_1); inline;
  3352. procedure setRTSMD(thebits : TBits_1); inline;
  3353. procedure setRXINV(thebits : TBits_1); inline;
  3354. procedure setSIDL(thebits : TBits_1); inline;
  3355. procedure setSTSEL(thebits : TBits_1); inline;
  3356. procedure setUARTEN(thebits : TBits_1); inline;
  3357. procedure setUEN(thebits : TBits_2); inline;
  3358. procedure setUEN0(thebits : TBits_1); inline;
  3359. procedure setUEN1(thebits : TBits_1); inline;
  3360. procedure setUSIDL(thebits : TBits_1); inline;
  3361. procedure setWAKE(thebits : TBits_1); inline;
  3362. procedure setw(thebits : TBits_32); inline;
  3363. public
  3364. procedure clearABAUD; inline;
  3365. procedure clearBRGH; inline;
  3366. procedure clearIREN; inline;
  3367. procedure clearLPBACK; inline;
  3368. procedure clearON; inline;
  3369. procedure clearPDSEL0; inline;
  3370. procedure clearPDSEL1; inline;
  3371. procedure clearRTSMD; inline;
  3372. procedure clearRXINV; inline;
  3373. procedure clearSIDL; inline;
  3374. procedure clearSTSEL; inline;
  3375. procedure clearUARTEN; inline;
  3376. procedure clearUEN0; inline;
  3377. procedure clearUEN1; inline;
  3378. procedure clearUSIDL; inline;
  3379. procedure clearWAKE; inline;
  3380. procedure setABAUD; inline;
  3381. procedure setBRGH; inline;
  3382. procedure setIREN; inline;
  3383. procedure setLPBACK; inline;
  3384. procedure setON; inline;
  3385. procedure setPDSEL0; inline;
  3386. procedure setPDSEL1; inline;
  3387. procedure setRTSMD; inline;
  3388. procedure setRXINV; inline;
  3389. procedure setSIDL; inline;
  3390. procedure setSTSEL; inline;
  3391. procedure setUARTEN; inline;
  3392. procedure setUEN0; inline;
  3393. procedure setUEN1; inline;
  3394. procedure setUSIDL; inline;
  3395. procedure setWAKE; inline;
  3396. property ABAUD : TBits_1 read getABAUD write setABAUD;
  3397. property BRGH : TBits_1 read getBRGH write setBRGH;
  3398. property IREN : TBits_1 read getIREN write setIREN;
  3399. property LPBACK : TBits_1 read getLPBACK write setLPBACK;
  3400. property ON : TBits_1 read getON write setON;
  3401. property PDSEL : TBits_2 read getPDSEL write setPDSEL;
  3402. property PDSEL0 : TBits_1 read getPDSEL0 write setPDSEL0;
  3403. property PDSEL1 : TBits_1 read getPDSEL1 write setPDSEL1;
  3404. property RTSMD : TBits_1 read getRTSMD write setRTSMD;
  3405. property RXINV : TBits_1 read getRXINV write setRXINV;
  3406. property SIDL : TBits_1 read getSIDL write setSIDL;
  3407. property STSEL : TBits_1 read getSTSEL write setSTSEL;
  3408. property UARTEN : TBits_1 read getUARTEN write setUARTEN;
  3409. property UEN : TBits_2 read getUEN write setUEN;
  3410. property UEN0 : TBits_1 read getUEN0 write setUEN0;
  3411. property UEN1 : TBits_1 read getUEN1 write setUEN1;
  3412. property USIDL : TBits_1 read getUSIDL write setUSIDL;
  3413. property WAKE : TBits_1 read getWAKE write setWAKE;
  3414. property w : TBits_32 read getw write setw;
  3415. end;
  3416. TUART2_U2STA = record
  3417. private
  3418. function getADDEN : TBits_1; inline;
  3419. function getADDR : TBits_8; inline;
  3420. function getADM_EN : TBits_1; inline;
  3421. function getFERR : TBits_1; inline;
  3422. function getOERR : TBits_1; inline;
  3423. function getPERR : TBits_1; inline;
  3424. function getRIDLE : TBits_1; inline;
  3425. function getTRMT : TBits_1; inline;
  3426. function getURXDA : TBits_1; inline;
  3427. function getURXEN : TBits_1; inline;
  3428. function getURXISEL : TBits_2; inline;
  3429. function getURXISEL0 : TBits_1; inline;
  3430. function getURXISEL1 : TBits_1; inline;
  3431. function getUTXBF : TBits_1; inline;
  3432. function getUTXBRK : TBits_1; inline;
  3433. function getUTXEN : TBits_1; inline;
  3434. function getUTXINV : TBits_1; inline;
  3435. function getUTXISEL : TBits_2; inline;
  3436. function getUTXISEL0 : TBits_1; inline;
  3437. function getUTXISEL1 : TBits_1; inline;
  3438. function getUTXSEL : TBits_2; inline;
  3439. function getw : TBits_32; inline;
  3440. procedure setADDEN(thebits : TBits_1); inline;
  3441. procedure setADDR(thebits : TBits_8); inline;
  3442. procedure setADM_EN(thebits : TBits_1); inline;
  3443. procedure setFERR(thebits : TBits_1); inline;
  3444. procedure setOERR(thebits : TBits_1); inline;
  3445. procedure setPERR(thebits : TBits_1); inline;
  3446. procedure setRIDLE(thebits : TBits_1); inline;
  3447. procedure setTRMT(thebits : TBits_1); inline;
  3448. procedure setURXDA(thebits : TBits_1); inline;
  3449. procedure setURXEN(thebits : TBits_1); inline;
  3450. procedure setURXISEL(thebits : TBits_2); inline;
  3451. procedure setURXISEL0(thebits : TBits_1); inline;
  3452. procedure setURXISEL1(thebits : TBits_1); inline;
  3453. procedure setUTXBF(thebits : TBits_1); inline;
  3454. procedure setUTXBRK(thebits : TBits_1); inline;
  3455. procedure setUTXEN(thebits : TBits_1); inline;
  3456. procedure setUTXINV(thebits : TBits_1); inline;
  3457. procedure setUTXISEL(thebits : TBits_2); inline;
  3458. procedure setUTXISEL0(thebits : TBits_1); inline;
  3459. procedure setUTXISEL1(thebits : TBits_1); inline;
  3460. procedure setUTXSEL(thebits : TBits_2); inline;
  3461. procedure setw(thebits : TBits_32); inline;
  3462. public
  3463. procedure clearADDEN; inline;
  3464. procedure clearADM_EN; inline;
  3465. procedure clearFERR; inline;
  3466. procedure clearOERR; inline;
  3467. procedure clearPERR; inline;
  3468. procedure clearRIDLE; inline;
  3469. procedure clearTRMT; inline;
  3470. procedure clearURXDA; inline;
  3471. procedure clearURXEN; inline;
  3472. procedure clearURXISEL0; inline;
  3473. procedure clearURXISEL1; inline;
  3474. procedure clearUTXBF; inline;
  3475. procedure clearUTXBRK; inline;
  3476. procedure clearUTXEN; inline;
  3477. procedure clearUTXINV; inline;
  3478. procedure clearUTXISEL0; inline;
  3479. procedure clearUTXISEL1; inline;
  3480. procedure setADDEN; inline;
  3481. procedure setADM_EN; inline;
  3482. procedure setFERR; inline;
  3483. procedure setOERR; inline;
  3484. procedure setPERR; inline;
  3485. procedure setRIDLE; inline;
  3486. procedure setTRMT; inline;
  3487. procedure setURXDA; inline;
  3488. procedure setURXEN; inline;
  3489. procedure setURXISEL0; inline;
  3490. procedure setURXISEL1; inline;
  3491. procedure setUTXBF; inline;
  3492. procedure setUTXBRK; inline;
  3493. procedure setUTXEN; inline;
  3494. procedure setUTXINV; inline;
  3495. procedure setUTXISEL0; inline;
  3496. procedure setUTXISEL1; inline;
  3497. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3498. property ADDR : TBits_8 read getADDR write setADDR;
  3499. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3500. property FERR : TBits_1 read getFERR write setFERR;
  3501. property OERR : TBits_1 read getOERR write setOERR;
  3502. property PERR : TBits_1 read getPERR write setPERR;
  3503. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3504. property TRMT : TBits_1 read getTRMT write setTRMT;
  3505. property URXDA : TBits_1 read getURXDA write setURXDA;
  3506. property URXEN : TBits_1 read getURXEN write setURXEN;
  3507. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3508. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3509. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3510. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3511. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3512. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3513. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3514. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3515. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3516. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3517. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3518. property w : TBits_32 read getw write setw;
  3519. end;
  3520. TUART2_U3ASTA = record
  3521. private
  3522. function getADDEN : TBits_1; inline;
  3523. function getADDR : TBits_8; inline;
  3524. function getADM_EN : TBits_1; inline;
  3525. function getFERR : TBits_1; inline;
  3526. function getOERR : TBits_1; inline;
  3527. function getPERR : TBits_1; inline;
  3528. function getRIDLE : TBits_1; inline;
  3529. function getTRMT : TBits_1; inline;
  3530. function getURXDA : TBits_1; inline;
  3531. function getURXEN : TBits_1; inline;
  3532. function getURXISEL : TBits_2; inline;
  3533. function getURXISEL0 : TBits_1; inline;
  3534. function getURXISEL1 : TBits_1; inline;
  3535. function getUTXBF : TBits_1; inline;
  3536. function getUTXBRK : TBits_1; inline;
  3537. function getUTXEN : TBits_1; inline;
  3538. function getUTXINV : TBits_1; inline;
  3539. function getUTXISEL : TBits_2; inline;
  3540. function getUTXISEL0 : TBits_1; inline;
  3541. function getUTXISEL1 : TBits_1; inline;
  3542. function getUTXSEL : TBits_2; inline;
  3543. function getw : TBits_32; inline;
  3544. procedure setADDEN(thebits : TBits_1); inline;
  3545. procedure setADDR(thebits : TBits_8); inline;
  3546. procedure setADM_EN(thebits : TBits_1); inline;
  3547. procedure setFERR(thebits : TBits_1); inline;
  3548. procedure setOERR(thebits : TBits_1); inline;
  3549. procedure setPERR(thebits : TBits_1); inline;
  3550. procedure setRIDLE(thebits : TBits_1); inline;
  3551. procedure setTRMT(thebits : TBits_1); inline;
  3552. procedure setURXDA(thebits : TBits_1); inline;
  3553. procedure setURXEN(thebits : TBits_1); inline;
  3554. procedure setURXISEL(thebits : TBits_2); inline;
  3555. procedure setURXISEL0(thebits : TBits_1); inline;
  3556. procedure setURXISEL1(thebits : TBits_1); inline;
  3557. procedure setUTXBF(thebits : TBits_1); inline;
  3558. procedure setUTXBRK(thebits : TBits_1); inline;
  3559. procedure setUTXEN(thebits : TBits_1); inline;
  3560. procedure setUTXINV(thebits : TBits_1); inline;
  3561. procedure setUTXISEL(thebits : TBits_2); inline;
  3562. procedure setUTXISEL0(thebits : TBits_1); inline;
  3563. procedure setUTXISEL1(thebits : TBits_1); inline;
  3564. procedure setUTXSEL(thebits : TBits_2); inline;
  3565. procedure setw(thebits : TBits_32); inline;
  3566. public
  3567. procedure clearADDEN; inline;
  3568. procedure clearADM_EN; inline;
  3569. procedure clearFERR; inline;
  3570. procedure clearOERR; inline;
  3571. procedure clearPERR; inline;
  3572. procedure clearRIDLE; inline;
  3573. procedure clearTRMT; inline;
  3574. procedure clearURXDA; inline;
  3575. procedure clearURXEN; inline;
  3576. procedure clearURXISEL0; inline;
  3577. procedure clearURXISEL1; inline;
  3578. procedure clearUTXBF; inline;
  3579. procedure clearUTXBRK; inline;
  3580. procedure clearUTXEN; inline;
  3581. procedure clearUTXINV; inline;
  3582. procedure clearUTXISEL0; inline;
  3583. procedure clearUTXISEL1; inline;
  3584. procedure setADDEN; inline;
  3585. procedure setADM_EN; inline;
  3586. procedure setFERR; inline;
  3587. procedure setOERR; inline;
  3588. procedure setPERR; inline;
  3589. procedure setRIDLE; inline;
  3590. procedure setTRMT; inline;
  3591. procedure setURXDA; inline;
  3592. procedure setURXEN; inline;
  3593. procedure setURXISEL0; inline;
  3594. procedure setURXISEL1; inline;
  3595. procedure setUTXBF; inline;
  3596. procedure setUTXBRK; inline;
  3597. procedure setUTXEN; inline;
  3598. procedure setUTXINV; inline;
  3599. procedure setUTXISEL0; inline;
  3600. procedure setUTXISEL1; inline;
  3601. property ADDEN : TBits_1 read getADDEN write setADDEN;
  3602. property ADDR : TBits_8 read getADDR write setADDR;
  3603. property ADM_EN : TBits_1 read getADM_EN write setADM_EN;
  3604. property FERR : TBits_1 read getFERR write setFERR;
  3605. property OERR : TBits_1 read getOERR write setOERR;
  3606. property PERR : TBits_1 read getPERR write setPERR;
  3607. property RIDLE : TBits_1 read getRIDLE write setRIDLE;
  3608. property TRMT : TBits_1 read getTRMT write setTRMT;
  3609. property URXDA : TBits_1 read getURXDA write setURXDA;
  3610. property URXEN : TBits_1 read getURXEN write setURXEN;
  3611. property URXISEL : TBits_2 read getURXISEL write setURXISEL;
  3612. property URXISEL0 : TBits_1 read getURXISEL0 write setURXISEL0;
  3613. property URXISEL1 : TBits_1 read getURXISEL1 write setURXISEL1;
  3614. property UTXBF : TBits_1 read getUTXBF write setUTXBF;
  3615. property UTXBRK : TBits_1 read getUTXBRK write setUTXBRK;
  3616. property UTXEN : TBits_1 read getUTXEN write setUTXEN;
  3617. property UTXINV : TBits_1 read getUTXINV write setUTXINV;
  3618. property UTXISEL : TBits_2 read getUTXISEL write setUTXISEL;
  3619. property UTXISEL0 : TBits_1 read getUTXISEL0 write setUTXISEL0;
  3620. property UTXISEL1 : TBits_1 read getUTXISEL1 write setUTXISEL1;
  3621. property UTXSEL : TBits_2 read getUTXSEL write setUTXSEL;
  3622. property w : TBits_32 read getw write setw;
  3623. end;
  3624. type
  3625. TUART2Registers = record
  3626. U2MODEbits : TUART2_U2MODE;
  3627. U2MODE : longWord;
  3628. U3AMODEbits : TUART2_U3AMODE;
  3629. U3AMODE : longWord;
  3630. U2MODECLR : longWord;
  3631. U3AMODECLR : longWord;
  3632. U2MODESET : longWord;
  3633. U3AMODESET : longWord;
  3634. U2MODEINV : longWord;
  3635. U3AMODEINV : longWord;
  3636. U2STAbits : TUART2_U2STA;
  3637. U2STA : longWord;
  3638. U3ASTAbits : TUART2_U3ASTA;
  3639. U3ASTA : longWord;
  3640. U2STACLR : longWord;
  3641. U3ASTACLR : longWord;
  3642. U2STASET : longWord;
  3643. U3ASTASET : longWord;
  3644. U2STAINV : longWord;
  3645. U3ASTAINV : longWord;
  3646. U2TXREG : longWord;
  3647. U3ATXREG : longWord;
  3648. U2RXREG : longWord;
  3649. U3ARXREG : longWord;
  3650. U2BRG : longWord;
  3651. U3ABRG : longWord;
  3652. U2BRGCLR : longWord;
  3653. U3ABRGCLR : longWord;
  3654. U2BRGSET : longWord;
  3655. U3ABRGSET : longWord;
  3656. U2BRGINV : longWord;
  3657. U3ABRGINV : longWord;
  3658. end;
  3659. TPMP_PMCON = record
  3660. private
  3661. function getADRMUX : TBits_2; inline;
  3662. function getADRMUX0 : TBits_1; inline;
  3663. function getADRMUX1 : TBits_1; inline;
  3664. function getALP : TBits_1; inline;
  3665. function getCS1P : TBits_1; inline;
  3666. function getCSF : TBits_2; inline;
  3667. function getCSF0 : TBits_1; inline;
  3668. function getCSF1 : TBits_1; inline;
  3669. function getON : TBits_1; inline;
  3670. function getPMPEN : TBits_1; inline;
  3671. function getPMPTTL : TBits_1; inline;
  3672. function getPSIDL : TBits_1; inline;
  3673. function getPTRDEN : TBits_1; inline;
  3674. function getPTWREN : TBits_1; inline;
  3675. function getRDSP : TBits_1; inline;
  3676. function getSIDL : TBits_1; inline;
  3677. function getWRSP : TBits_1; inline;
  3678. function getw : TBits_32; inline;
  3679. procedure setADRMUX(thebits : TBits_2); inline;
  3680. procedure setADRMUX0(thebits : TBits_1); inline;
  3681. procedure setADRMUX1(thebits : TBits_1); inline;
  3682. procedure setALP(thebits : TBits_1); inline;
  3683. procedure setCS1P(thebits : TBits_1); inline;
  3684. procedure setCSF(thebits : TBits_2); inline;
  3685. procedure setCSF0(thebits : TBits_1); inline;
  3686. procedure setCSF1(thebits : TBits_1); inline;
  3687. procedure setON(thebits : TBits_1); inline;
  3688. procedure setPMPEN(thebits : TBits_1); inline;
  3689. procedure setPMPTTL(thebits : TBits_1); inline;
  3690. procedure setPSIDL(thebits : TBits_1); inline;
  3691. procedure setPTRDEN(thebits : TBits_1); inline;
  3692. procedure setPTWREN(thebits : TBits_1); inline;
  3693. procedure setRDSP(thebits : TBits_1); inline;
  3694. procedure setSIDL(thebits : TBits_1); inline;
  3695. procedure setWRSP(thebits : TBits_1); inline;
  3696. procedure setw(thebits : TBits_32); inline;
  3697. public
  3698. procedure clearADRMUX0; inline;
  3699. procedure clearADRMUX1; inline;
  3700. procedure clearALP; inline;
  3701. procedure clearCS1P; inline;
  3702. procedure clearCSF0; inline;
  3703. procedure clearCSF1; inline;
  3704. procedure clearON; inline;
  3705. procedure clearPMPEN; inline;
  3706. procedure clearPMPTTL; inline;
  3707. procedure clearPSIDL; inline;
  3708. procedure clearPTRDEN; inline;
  3709. procedure clearPTWREN; inline;
  3710. procedure clearRDSP; inline;
  3711. procedure clearSIDL; inline;
  3712. procedure clearWRSP; inline;
  3713. procedure setADRMUX0; inline;
  3714. procedure setADRMUX1; inline;
  3715. procedure setALP; inline;
  3716. procedure setCS1P; inline;
  3717. procedure setCSF0; inline;
  3718. procedure setCSF1; inline;
  3719. procedure setON; inline;
  3720. procedure setPMPEN; inline;
  3721. procedure setPMPTTL; inline;
  3722. procedure setPSIDL; inline;
  3723. procedure setPTRDEN; inline;
  3724. procedure setPTWREN; inline;
  3725. procedure setRDSP; inline;
  3726. procedure setSIDL; inline;
  3727. procedure setWRSP; inline;
  3728. property ADRMUX : TBits_2 read getADRMUX write setADRMUX;
  3729. property ADRMUX0 : TBits_1 read getADRMUX0 write setADRMUX0;
  3730. property ADRMUX1 : TBits_1 read getADRMUX1 write setADRMUX1;
  3731. property ALP : TBits_1 read getALP write setALP;
  3732. property CS1P : TBits_1 read getCS1P write setCS1P;
  3733. property CSF : TBits_2 read getCSF write setCSF;
  3734. property CSF0 : TBits_1 read getCSF0 write setCSF0;
  3735. property CSF1 : TBits_1 read getCSF1 write setCSF1;
  3736. property ON : TBits_1 read getON write setON;
  3737. property PMPEN : TBits_1 read getPMPEN write setPMPEN;
  3738. property PMPTTL : TBits_1 read getPMPTTL write setPMPTTL;
  3739. property PSIDL : TBits_1 read getPSIDL write setPSIDL;
  3740. property PTRDEN : TBits_1 read getPTRDEN write setPTRDEN;
  3741. property PTWREN : TBits_1 read getPTWREN write setPTWREN;
  3742. property RDSP : TBits_1 read getRDSP write setRDSP;
  3743. property SIDL : TBits_1 read getSIDL write setSIDL;
  3744. property WRSP : TBits_1 read getWRSP write setWRSP;
  3745. property w : TBits_32 read getw write setw;
  3746. end;
  3747. TPMP_PMMODE = record
  3748. private
  3749. function getBUSY : TBits_1; inline;
  3750. function getINCM : TBits_2; inline;
  3751. function getINCM0 : TBits_1; inline;
  3752. function getINCM1 : TBits_1; inline;
  3753. function getIRQM : TBits_2; inline;
  3754. function getIRQM0 : TBits_1; inline;
  3755. function getIRQM1 : TBits_1; inline;
  3756. function getMODE : TBits_2; inline;
  3757. function getMODE0 : TBits_1; inline;
  3758. function getMODE1 : TBits_1; inline;
  3759. function getWAITB : TBits_2; inline;
  3760. function getWAITB0 : TBits_1; inline;
  3761. function getWAITB1 : TBits_1; inline;
  3762. function getWAITE : TBits_2; inline;
  3763. function getWAITE0 : TBits_1; inline;
  3764. function getWAITE1 : TBits_1; inline;
  3765. function getWAITM : TBits_4; inline;
  3766. function getWAITM0 : TBits_1; inline;
  3767. function getWAITM1 : TBits_1; inline;
  3768. function getWAITM2 : TBits_1; inline;
  3769. function getWAITM3 : TBits_1; inline;
  3770. function getw : TBits_32; inline;
  3771. procedure setBUSY(thebits : TBits_1); inline;
  3772. procedure setINCM(thebits : TBits_2); inline;
  3773. procedure setINCM0(thebits : TBits_1); inline;
  3774. procedure setINCM1(thebits : TBits_1); inline;
  3775. procedure setIRQM(thebits : TBits_2); inline;
  3776. procedure setIRQM0(thebits : TBits_1); inline;
  3777. procedure setIRQM1(thebits : TBits_1); inline;
  3778. procedure setMODE(thebits : TBits_2); inline;
  3779. procedure setMODE0(thebits : TBits_1); inline;
  3780. procedure setMODE1(thebits : TBits_1); inline;
  3781. procedure setWAITB(thebits : TBits_2); inline;
  3782. procedure setWAITB0(thebits : TBits_1); inline;
  3783. procedure setWAITB1(thebits : TBits_1); inline;
  3784. procedure setWAITE(thebits : TBits_2); inline;
  3785. procedure setWAITE0(thebits : TBits_1); inline;
  3786. procedure setWAITE1(thebits : TBits_1); inline;
  3787. procedure setWAITM(thebits : TBits_4); inline;
  3788. procedure setWAITM0(thebits : TBits_1); inline;
  3789. procedure setWAITM1(thebits : TBits_1); inline;
  3790. procedure setWAITM2(thebits : TBits_1); inline;
  3791. procedure setWAITM3(thebits : TBits_1); inline;
  3792. procedure setw(thebits : TBits_32); inline;
  3793. public
  3794. procedure clearBUSY; inline;
  3795. procedure clearINCM0; inline;
  3796. procedure clearINCM1; inline;
  3797. procedure clearIRQM0; inline;
  3798. procedure clearIRQM1; inline;
  3799. procedure clearMODE0; inline;
  3800. procedure clearMODE1; inline;
  3801. procedure clearWAITB0; inline;
  3802. procedure clearWAITB1; inline;
  3803. procedure clearWAITE0; inline;
  3804. procedure clearWAITE1; inline;
  3805. procedure clearWAITM0; inline;
  3806. procedure clearWAITM1; inline;
  3807. procedure clearWAITM2; inline;
  3808. procedure clearWAITM3; inline;
  3809. procedure setBUSY; inline;
  3810. procedure setINCM0; inline;
  3811. procedure setINCM1; inline;
  3812. procedure setIRQM0; inline;
  3813. procedure setIRQM1; inline;
  3814. procedure setMODE0; inline;
  3815. procedure setMODE1; inline;
  3816. procedure setWAITB0; inline;
  3817. procedure setWAITB1; inline;
  3818. procedure setWAITE0; inline;
  3819. procedure setWAITE1; inline;
  3820. procedure setWAITM0; inline;
  3821. procedure setWAITM1; inline;
  3822. procedure setWAITM2; inline;
  3823. procedure setWAITM3; inline;
  3824. property BUSY : TBits_1 read getBUSY write setBUSY;
  3825. property INCM : TBits_2 read getINCM write setINCM;
  3826. property INCM0 : TBits_1 read getINCM0 write setINCM0;
  3827. property INCM1 : TBits_1 read getINCM1 write setINCM1;
  3828. property IRQM : TBits_2 read getIRQM write setIRQM;
  3829. property IRQM0 : TBits_1 read getIRQM0 write setIRQM0;
  3830. property IRQM1 : TBits_1 read getIRQM1 write setIRQM1;
  3831. property MODE : TBits_2 read getMODE write setMODE;
  3832. property MODE0 : TBits_1 read getMODE0 write setMODE0;
  3833. property MODE1 : TBits_1 read getMODE1 write setMODE1;
  3834. property WAITB : TBits_2 read getWAITB write setWAITB;
  3835. property WAITB0 : TBits_1 read getWAITB0 write setWAITB0;
  3836. property WAITB1 : TBits_1 read getWAITB1 write setWAITB1;
  3837. property WAITE : TBits_2 read getWAITE write setWAITE;
  3838. property WAITE0 : TBits_1 read getWAITE0 write setWAITE0;
  3839. property WAITE1 : TBits_1 read getWAITE1 write setWAITE1;
  3840. property WAITM : TBits_4 read getWAITM write setWAITM;
  3841. property WAITM0 : TBits_1 read getWAITM0 write setWAITM0;
  3842. property WAITM1 : TBits_1 read getWAITM1 write setWAITM1;
  3843. property WAITM2 : TBits_1 read getWAITM2 write setWAITM2;
  3844. property WAITM3 : TBits_1 read getWAITM3 write setWAITM3;
  3845. property w : TBits_32 read getw write setw;
  3846. end;
  3847. TPMP_PMADDR = record
  3848. private
  3849. function getADDR : TBits_14; inline;
  3850. function getCS : TBits_2; inline;
  3851. function getCS1 : TBits_1; inline;
  3852. function getPADDR : TBits_14; inline;
  3853. function getw : TBits_32; inline;
  3854. procedure setADDR(thebits : TBits_14); inline;
  3855. procedure setCS(thebits : TBits_2); inline;
  3856. procedure setCS1(thebits : TBits_1); inline;
  3857. procedure setPADDR(thebits : TBits_14); inline;
  3858. procedure setw(thebits : TBits_32); inline;
  3859. public
  3860. procedure clearCS1; inline;
  3861. procedure setCS1; inline;
  3862. property ADDR : TBits_14 read getADDR write setADDR;
  3863. property CS : TBits_2 read getCS write setCS;
  3864. property CS1 : TBits_1 read getCS1 write setCS1;
  3865. property PADDR : TBits_14 read getPADDR write setPADDR;
  3866. property w : TBits_32 read getw write setw;
  3867. end;
  3868. TPMP_PMDOUT = record
  3869. private
  3870. function getDATAOUT : TBits_32; inline;
  3871. function getw : TBits_32; inline;
  3872. procedure setDATAOUT(thebits : TBits_32); inline;
  3873. procedure setw(thebits : TBits_32); inline;
  3874. public
  3875. property DATAOUT : TBits_32 read getDATAOUT write setDATAOUT;
  3876. property w : TBits_32 read getw write setw;
  3877. end;
  3878. TPMP_PMDIN = record
  3879. private
  3880. function getDATAIN : TBits_32; inline;
  3881. function getw : TBits_32; inline;
  3882. procedure setDATAIN(thebits : TBits_32); inline;
  3883. procedure setw(thebits : TBits_32); inline;
  3884. public
  3885. property DATAIN : TBits_32 read getDATAIN write setDATAIN;
  3886. property w : TBits_32 read getw write setw;
  3887. end;
  3888. TPMP_PMAEN = record
  3889. private
  3890. function getPTEN : TBits_16; inline;
  3891. function getPTEN0 : TBits_1; inline;
  3892. function getPTEN1 : TBits_1; inline;
  3893. function getPTEN10 : TBits_1; inline;
  3894. function getPTEN11 : TBits_1; inline;
  3895. function getPTEN12 : TBits_1; inline;
  3896. function getPTEN13 : TBits_1; inline;
  3897. function getPTEN14 : TBits_1; inline;
  3898. function getPTEN15 : TBits_1; inline;
  3899. function getPTEN2 : TBits_1; inline;
  3900. function getPTEN3 : TBits_1; inline;
  3901. function getPTEN4 : TBits_1; inline;
  3902. function getPTEN5 : TBits_1; inline;
  3903. function getPTEN6 : TBits_1; inline;
  3904. function getPTEN7 : TBits_1; inline;
  3905. function getPTEN8 : TBits_1; inline;
  3906. function getPTEN9 : TBits_1; inline;
  3907. function getw : TBits_32; inline;
  3908. procedure setPTEN(thebits : TBits_16); inline;
  3909. procedure setPTEN0(thebits : TBits_1); inline;
  3910. procedure setPTEN1(thebits : TBits_1); inline;
  3911. procedure setPTEN10(thebits : TBits_1); inline;
  3912. procedure setPTEN11(thebits : TBits_1); inline;
  3913. procedure setPTEN12(thebits : TBits_1); inline;
  3914. procedure setPTEN13(thebits : TBits_1); inline;
  3915. procedure setPTEN14(thebits : TBits_1); inline;
  3916. procedure setPTEN15(thebits : TBits_1); inline;
  3917. procedure setPTEN2(thebits : TBits_1); inline;
  3918. procedure setPTEN3(thebits : TBits_1); inline;
  3919. procedure setPTEN4(thebits : TBits_1); inline;
  3920. procedure setPTEN5(thebits : TBits_1); inline;
  3921. procedure setPTEN6(thebits : TBits_1); inline;
  3922. procedure setPTEN7(thebits : TBits_1); inline;
  3923. procedure setPTEN8(thebits : TBits_1); inline;
  3924. procedure setPTEN9(thebits : TBits_1); inline;
  3925. procedure setw(thebits : TBits_32); inline;
  3926. public
  3927. procedure clearPTEN0; inline;
  3928. procedure clearPTEN10; inline;
  3929. procedure clearPTEN11; inline;
  3930. procedure clearPTEN12; inline;
  3931. procedure clearPTEN13; inline;
  3932. procedure clearPTEN14; inline;
  3933. procedure clearPTEN15; inline;
  3934. procedure clearPTEN1; inline;
  3935. procedure clearPTEN2; inline;
  3936. procedure clearPTEN3; inline;
  3937. procedure clearPTEN4; inline;
  3938. procedure clearPTEN5; inline;
  3939. procedure clearPTEN6; inline;
  3940. procedure clearPTEN7; inline;
  3941. procedure clearPTEN8; inline;
  3942. procedure clearPTEN9; inline;
  3943. procedure setPTEN0; inline;
  3944. procedure setPTEN10; inline;
  3945. procedure setPTEN11; inline;
  3946. procedure setPTEN12; inline;
  3947. procedure setPTEN13; inline;
  3948. procedure setPTEN14; inline;
  3949. procedure setPTEN15; inline;
  3950. procedure setPTEN1; inline;
  3951. procedure setPTEN2; inline;
  3952. procedure setPTEN3; inline;
  3953. procedure setPTEN4; inline;
  3954. procedure setPTEN5; inline;
  3955. procedure setPTEN6; inline;
  3956. procedure setPTEN7; inline;
  3957. procedure setPTEN8; inline;
  3958. procedure setPTEN9; inline;
  3959. property PTEN : TBits_16 read getPTEN write setPTEN;
  3960. property PTEN0 : TBits_1 read getPTEN0 write setPTEN0;
  3961. property PTEN1 : TBits_1 read getPTEN1 write setPTEN1;
  3962. property PTEN10 : TBits_1 read getPTEN10 write setPTEN10;
  3963. property PTEN11 : TBits_1 read getPTEN11 write setPTEN11;
  3964. property PTEN12 : TBits_1 read getPTEN12 write setPTEN12;
  3965. property PTEN13 : TBits_1 read getPTEN13 write setPTEN13;
  3966. property PTEN14 : TBits_1 read getPTEN14 write setPTEN14;
  3967. property PTEN15 : TBits_1 read getPTEN15 write setPTEN15;
  3968. property PTEN2 : TBits_1 read getPTEN2 write setPTEN2;
  3969. property PTEN3 : TBits_1 read getPTEN3 write setPTEN3;
  3970. property PTEN4 : TBits_1 read getPTEN4 write setPTEN4;
  3971. property PTEN5 : TBits_1 read getPTEN5 write setPTEN5;
  3972. property PTEN6 : TBits_1 read getPTEN6 write setPTEN6;
  3973. property PTEN7 : TBits_1 read getPTEN7 write setPTEN7;
  3974. property PTEN8 : TBits_1 read getPTEN8 write setPTEN8;
  3975. property PTEN9 : TBits_1 read getPTEN9 write setPTEN9;
  3976. property w : TBits_32 read getw write setw;
  3977. end;
  3978. TPMP_PMSTAT = record
  3979. private
  3980. function getIB0F : TBits_1; inline;
  3981. function getIB1F : TBits_1; inline;
  3982. function getIB2F : TBits_1; inline;
  3983. function getIB3F : TBits_1; inline;
  3984. function getIBF : TBits_1; inline;
  3985. function getIBOV : TBits_1; inline;
  3986. function getOB0E : TBits_1; inline;
  3987. function getOB1E : TBits_1; inline;
  3988. function getOB2E : TBits_1; inline;
  3989. function getOB3E : TBits_1; inline;
  3990. function getOBE : TBits_1; inline;
  3991. function getOBUF : TBits_1; inline;
  3992. function getw : TBits_32; inline;
  3993. procedure setIB0F(thebits : TBits_1); inline;
  3994. procedure setIB1F(thebits : TBits_1); inline;
  3995. procedure setIB2F(thebits : TBits_1); inline;
  3996. procedure setIB3F(thebits : TBits_1); inline;
  3997. procedure setIBF(thebits : TBits_1); inline;
  3998. procedure setIBOV(thebits : TBits_1); inline;
  3999. procedure setOB0E(thebits : TBits_1); inline;
  4000. procedure setOB1E(thebits : TBits_1); inline;
  4001. procedure setOB2E(thebits : TBits_1); inline;
  4002. procedure setOB3E(thebits : TBits_1); inline;
  4003. procedure setOBE(thebits : TBits_1); inline;
  4004. procedure setOBUF(thebits : TBits_1); inline;
  4005. procedure setw(thebits : TBits_32); inline;
  4006. public
  4007. procedure clearIB0F; inline;
  4008. procedure clearIB1F; inline;
  4009. procedure clearIB2F; inline;
  4010. procedure clearIB3F; inline;
  4011. procedure clearIBF; inline;
  4012. procedure clearIBOV; inline;
  4013. procedure clearOB0E; inline;
  4014. procedure clearOB1E; inline;
  4015. procedure clearOB2E; inline;
  4016. procedure clearOB3E; inline;
  4017. procedure clearOBE; inline;
  4018. procedure clearOBUF; inline;
  4019. procedure setIB0F; inline;
  4020. procedure setIB1F; inline;
  4021. procedure setIB2F; inline;
  4022. procedure setIB3F; inline;
  4023. procedure setIBF; inline;
  4024. procedure setIBOV; inline;
  4025. procedure setOB0E; inline;
  4026. procedure setOB1E; inline;
  4027. procedure setOB2E; inline;
  4028. procedure setOB3E; inline;
  4029. procedure setOBE; inline;
  4030. procedure setOBUF; inline;
  4031. property IB0F : TBits_1 read getIB0F write setIB0F;
  4032. property IB1F : TBits_1 read getIB1F write setIB1F;
  4033. property IB2F : TBits_1 read getIB2F write setIB2F;
  4034. property IB3F : TBits_1 read getIB3F write setIB3F;
  4035. property IBF : TBits_1 read getIBF write setIBF;
  4036. property IBOV : TBits_1 read getIBOV write setIBOV;
  4037. property OB0E : TBits_1 read getOB0E write setOB0E;
  4038. property OB1E : TBits_1 read getOB1E write setOB1E;
  4039. property OB2E : TBits_1 read getOB2E write setOB2E;
  4040. property OB3E : TBits_1 read getOB3E write setOB3E;
  4041. property OBE : TBits_1 read getOBE write setOBE;
  4042. property OBUF : TBits_1 read getOBUF write setOBUF;
  4043. property w : TBits_32 read getw write setw;
  4044. end;
  4045. type
  4046. TPMPRegisters = record
  4047. PMCONbits : TPMP_PMCON;
  4048. PMCON : longWord;
  4049. PMCONCLR : longWord;
  4050. PMCONSET : longWord;
  4051. PMCONINV : longWord;
  4052. PMMODEbits : TPMP_PMMODE;
  4053. PMMODE : longWord;
  4054. PMMODECLR : longWord;
  4055. PMMODESET : longWord;
  4056. PMMODEINV : longWord;
  4057. PMADDRbits : TPMP_PMADDR;
  4058. PMADDR : longWord;
  4059. PMADDRCLR : longWord;
  4060. PMADDRSET : longWord;
  4061. PMADDRINV : longWord;
  4062. PMDOUTbits : TPMP_PMDOUT;
  4063. PMDOUT : longWord;
  4064. PMDOUTCLR : longWord;
  4065. PMDOUTSET : longWord;
  4066. PMDOUTINV : longWord;
  4067. PMDINbits : TPMP_PMDIN;
  4068. PMDIN : longWord;
  4069. PMDINCLR : longWord;
  4070. PMDINSET : longWord;
  4071. PMDININV : longWord;
  4072. PMAENbits : TPMP_PMAEN;
  4073. PMAEN : longWord;
  4074. PMAENCLR : longWord;
  4075. PMAENSET : longWord;
  4076. PMAENINV : longWord;
  4077. PMSTATbits : TPMP_PMSTAT;
  4078. PMSTAT : longWord;
  4079. PMSTATCLR : longWord;
  4080. PMSTATSET : longWord;
  4081. PMSTATINV : longWord;
  4082. end;
  4083. TADC10_AD1CON1 = record
  4084. private
  4085. function getADON : TBits_1; inline;
  4086. function getADSIDL : TBits_1; inline;
  4087. function getASAM : TBits_1; inline;
  4088. function getCLRASAM : TBits_1; inline;
  4089. function getDONE : TBits_1; inline;
  4090. function getFORM : TBits_3; inline;
  4091. function getFORM0 : TBits_1; inline;
  4092. function getFORM1 : TBits_1; inline;
  4093. function getFORM2 : TBits_1; inline;
  4094. function getON : TBits_1; inline;
  4095. function getSAMP : TBits_1; inline;
  4096. function getSIDL : TBits_1; inline;
  4097. function getSSRC : TBits_3; inline;
  4098. function getSSRC0 : TBits_1; inline;
  4099. function getSSRC1 : TBits_1; inline;
  4100. function getSSRC2 : TBits_1; inline;
  4101. function getw : TBits_32; inline;
  4102. procedure setADON(thebits : TBits_1); inline;
  4103. procedure setADSIDL(thebits : TBits_1); inline;
  4104. procedure setASAM(thebits : TBits_1); inline;
  4105. procedure setCLRASAM(thebits : TBits_1); inline;
  4106. procedure setDONE(thebits : TBits_1); inline;
  4107. procedure setFORM(thebits : TBits_3); inline;
  4108. procedure setFORM0(thebits : TBits_1); inline;
  4109. procedure setFORM1(thebits : TBits_1); inline;
  4110. procedure setFORM2(thebits : TBits_1); inline;
  4111. procedure setON(thebits : TBits_1); inline;
  4112. procedure setSAMP(thebits : TBits_1); inline;
  4113. procedure setSIDL(thebits : TBits_1); inline;
  4114. procedure setSSRC(thebits : TBits_3); inline;
  4115. procedure setSSRC0(thebits : TBits_1); inline;
  4116. procedure setSSRC1(thebits : TBits_1); inline;
  4117. procedure setSSRC2(thebits : TBits_1); inline;
  4118. procedure setw(thebits : TBits_32); inline;
  4119. public
  4120. procedure clearADON; inline;
  4121. procedure clearADSIDL; inline;
  4122. procedure clearASAM; inline;
  4123. procedure clearCLRASAM; inline;
  4124. procedure clearDONE; inline;
  4125. procedure clearFORM0; inline;
  4126. procedure clearFORM1; inline;
  4127. procedure clearFORM2; inline;
  4128. procedure clearON; inline;
  4129. procedure clearSAMP; inline;
  4130. procedure clearSIDL; inline;
  4131. procedure clearSSRC0; inline;
  4132. procedure clearSSRC1; inline;
  4133. procedure clearSSRC2; inline;
  4134. procedure setADON; inline;
  4135. procedure setADSIDL; inline;
  4136. procedure setASAM; inline;
  4137. procedure setCLRASAM; inline;
  4138. procedure setDONE; inline;
  4139. procedure setFORM0; inline;
  4140. procedure setFORM1; inline;
  4141. procedure setFORM2; inline;
  4142. procedure setON; inline;
  4143. procedure setSAMP; inline;
  4144. procedure setSIDL; inline;
  4145. procedure setSSRC0; inline;
  4146. procedure setSSRC1; inline;
  4147. procedure setSSRC2; inline;
  4148. property ADON : TBits_1 read getADON write setADON;
  4149. property ADSIDL : TBits_1 read getADSIDL write setADSIDL;
  4150. property ASAM : TBits_1 read getASAM write setASAM;
  4151. property CLRASAM : TBits_1 read getCLRASAM write setCLRASAM;
  4152. property DONE : TBits_1 read getDONE write setDONE;
  4153. property FORM : TBits_3 read getFORM write setFORM;
  4154. property FORM0 : TBits_1 read getFORM0 write setFORM0;
  4155. property FORM1 : TBits_1 read getFORM1 write setFORM1;
  4156. property FORM2 : TBits_1 read getFORM2 write setFORM2;
  4157. property ON : TBits_1 read getON write setON;
  4158. property SAMP : TBits_1 read getSAMP write setSAMP;
  4159. property SIDL : TBits_1 read getSIDL write setSIDL;
  4160. property SSRC : TBits_3 read getSSRC write setSSRC;
  4161. property SSRC0 : TBits_1 read getSSRC0 write setSSRC0;
  4162. property SSRC1 : TBits_1 read getSSRC1 write setSSRC1;
  4163. property SSRC2 : TBits_1 read getSSRC2 write setSSRC2;
  4164. property w : TBits_32 read getw write setw;
  4165. end;
  4166. TADC10_AD1CON2 = record
  4167. private
  4168. function getALTS : TBits_1; inline;
  4169. function getBUFM : TBits_1; inline;
  4170. function getBUFS : TBits_1; inline;
  4171. function getCSCNA : TBits_1; inline;
  4172. function getOFFCAL : TBits_1; inline;
  4173. function getSMPI : TBits_4; inline;
  4174. function getSMPI0 : TBits_1; inline;
  4175. function getSMPI1 : TBits_1; inline;
  4176. function getSMPI2 : TBits_1; inline;
  4177. function getSMPI3 : TBits_1; inline;
  4178. function getVCFG : TBits_3; inline;
  4179. function getVCFG0 : TBits_1; inline;
  4180. function getVCFG1 : TBits_1; inline;
  4181. function getVCFG2 : TBits_1; inline;
  4182. function getw : TBits_32; inline;
  4183. procedure setALTS(thebits : TBits_1); inline;
  4184. procedure setBUFM(thebits : TBits_1); inline;
  4185. procedure setBUFS(thebits : TBits_1); inline;
  4186. procedure setCSCNA(thebits : TBits_1); inline;
  4187. procedure setOFFCAL(thebits : TBits_1); inline;
  4188. procedure setSMPI(thebits : TBits_4); inline;
  4189. procedure setSMPI0(thebits : TBits_1); inline;
  4190. procedure setSMPI1(thebits : TBits_1); inline;
  4191. procedure setSMPI2(thebits : TBits_1); inline;
  4192. procedure setSMPI3(thebits : TBits_1); inline;
  4193. procedure setVCFG(thebits : TBits_3); inline;
  4194. procedure setVCFG0(thebits : TBits_1); inline;
  4195. procedure setVCFG1(thebits : TBits_1); inline;
  4196. procedure setVCFG2(thebits : TBits_1); inline;
  4197. procedure setw(thebits : TBits_32); inline;
  4198. public
  4199. procedure clearALTS; inline;
  4200. procedure clearBUFM; inline;
  4201. procedure clearBUFS; inline;
  4202. procedure clearCSCNA; inline;
  4203. procedure clearOFFCAL; inline;
  4204. procedure clearSMPI0; inline;
  4205. procedure clearSMPI1; inline;
  4206. procedure clearSMPI2; inline;
  4207. procedure clearSMPI3; inline;
  4208. procedure clearVCFG0; inline;
  4209. procedure clearVCFG1; inline;
  4210. procedure clearVCFG2; inline;
  4211. procedure setALTS; inline;
  4212. procedure setBUFM; inline;
  4213. procedure setBUFS; inline;
  4214. procedure setCSCNA; inline;
  4215. procedure setOFFCAL; inline;
  4216. procedure setSMPI0; inline;
  4217. procedure setSMPI1; inline;
  4218. procedure setSMPI2; inline;
  4219. procedure setSMPI3; inline;
  4220. procedure setVCFG0; inline;
  4221. procedure setVCFG1; inline;
  4222. procedure setVCFG2; inline;
  4223. property ALTS : TBits_1 read getALTS write setALTS;
  4224. property BUFM : TBits_1 read getBUFM write setBUFM;
  4225. property BUFS : TBits_1 read getBUFS write setBUFS;
  4226. property CSCNA : TBits_1 read getCSCNA write setCSCNA;
  4227. property OFFCAL : TBits_1 read getOFFCAL write setOFFCAL;
  4228. property SMPI : TBits_4 read getSMPI write setSMPI;
  4229. property SMPI0 : TBits_1 read getSMPI0 write setSMPI0;
  4230. property SMPI1 : TBits_1 read getSMPI1 write setSMPI1;
  4231. property SMPI2 : TBits_1 read getSMPI2 write setSMPI2;
  4232. property SMPI3 : TBits_1 read getSMPI3 write setSMPI3;
  4233. property VCFG : TBits_3 read getVCFG write setVCFG;
  4234. property VCFG0 : TBits_1 read getVCFG0 write setVCFG0;
  4235. property VCFG1 : TBits_1 read getVCFG1 write setVCFG1;
  4236. property VCFG2 : TBits_1 read getVCFG2 write setVCFG2;
  4237. property w : TBits_32 read getw write setw;
  4238. end;
  4239. TADC10_AD1CON3 = record
  4240. private
  4241. function getADCS : TBits_8; inline;
  4242. function getADCS0 : TBits_1; inline;
  4243. function getADCS1 : TBits_1; inline;
  4244. function getADCS2 : TBits_1; inline;
  4245. function getADCS3 : TBits_1; inline;
  4246. function getADCS4 : TBits_1; inline;
  4247. function getADCS5 : TBits_1; inline;
  4248. function getADCS6 : TBits_1; inline;
  4249. function getADCS7 : TBits_1; inline;
  4250. function getADRC : TBits_1; inline;
  4251. function getSAMC : TBits_5; inline;
  4252. function getSAMC0 : TBits_1; inline;
  4253. function getSAMC1 : TBits_1; inline;
  4254. function getSAMC2 : TBits_1; inline;
  4255. function getSAMC3 : TBits_1; inline;
  4256. function getSAMC4 : TBits_1; inline;
  4257. function getw : TBits_32; inline;
  4258. procedure setADCS(thebits : TBits_8); inline;
  4259. procedure setADCS0(thebits : TBits_1); inline;
  4260. procedure setADCS1(thebits : TBits_1); inline;
  4261. procedure setADCS2(thebits : TBits_1); inline;
  4262. procedure setADCS3(thebits : TBits_1); inline;
  4263. procedure setADCS4(thebits : TBits_1); inline;
  4264. procedure setADCS5(thebits : TBits_1); inline;
  4265. procedure setADCS6(thebits : TBits_1); inline;
  4266. procedure setADCS7(thebits : TBits_1); inline;
  4267. procedure setADRC(thebits : TBits_1); inline;
  4268. procedure setSAMC(thebits : TBits_5); inline;
  4269. procedure setSAMC0(thebits : TBits_1); inline;
  4270. procedure setSAMC1(thebits : TBits_1); inline;
  4271. procedure setSAMC2(thebits : TBits_1); inline;
  4272. procedure setSAMC3(thebits : TBits_1); inline;
  4273. procedure setSAMC4(thebits : TBits_1); inline;
  4274. procedure setw(thebits : TBits_32); inline;
  4275. public
  4276. procedure clearADCS0; inline;
  4277. procedure clearADCS1; inline;
  4278. procedure clearADCS2; inline;
  4279. procedure clearADCS3; inline;
  4280. procedure clearADCS4; inline;
  4281. procedure clearADCS5; inline;
  4282. procedure clearADCS6; inline;
  4283. procedure clearADCS7; inline;
  4284. procedure clearADRC; inline;
  4285. procedure clearSAMC0; inline;
  4286. procedure clearSAMC1; inline;
  4287. procedure clearSAMC2; inline;
  4288. procedure clearSAMC3; inline;
  4289. procedure clearSAMC4; inline;
  4290. procedure setADCS0; inline;
  4291. procedure setADCS1; inline;
  4292. procedure setADCS2; inline;
  4293. procedure setADCS3; inline;
  4294. procedure setADCS4; inline;
  4295. procedure setADCS5; inline;
  4296. procedure setADCS6; inline;
  4297. procedure setADCS7; inline;
  4298. procedure setADRC; inline;
  4299. procedure setSAMC0; inline;
  4300. procedure setSAMC1; inline;
  4301. procedure setSAMC2; inline;
  4302. procedure setSAMC3; inline;
  4303. procedure setSAMC4; inline;
  4304. property ADCS : TBits_8 read getADCS write setADCS;
  4305. property ADCS0 : TBits_1 read getADCS0 write setADCS0;
  4306. property ADCS1 : TBits_1 read getADCS1 write setADCS1;
  4307. property ADCS2 : TBits_1 read getADCS2 write setADCS2;
  4308. property ADCS3 : TBits_1 read getADCS3 write setADCS3;
  4309. property ADCS4 : TBits_1 read getADCS4 write setADCS4;
  4310. property ADCS5 : TBits_1 read getADCS5 write setADCS5;
  4311. property ADCS6 : TBits_1 read getADCS6 write setADCS6;
  4312. property ADCS7 : TBits_1 read getADCS7 write setADCS7;
  4313. property ADRC : TBits_1 read getADRC write setADRC;
  4314. property SAMC : TBits_5 read getSAMC write setSAMC;
  4315. property SAMC0 : TBits_1 read getSAMC0 write setSAMC0;
  4316. property SAMC1 : TBits_1 read getSAMC1 write setSAMC1;
  4317. property SAMC2 : TBits_1 read getSAMC2 write setSAMC2;
  4318. property SAMC3 : TBits_1 read getSAMC3 write setSAMC3;
  4319. property SAMC4 : TBits_1 read getSAMC4 write setSAMC4;
  4320. property w : TBits_32 read getw write setw;
  4321. end;
  4322. TADC10_AD1CHS = record
  4323. private
  4324. function getCH0NA : TBits_1; inline;
  4325. function getCH0NB : TBits_1; inline;
  4326. function getCH0SA : TBits_4; inline;
  4327. function getCH0SA0 : TBits_1; inline;
  4328. function getCH0SA1 : TBits_1; inline;
  4329. function getCH0SA2 : TBits_1; inline;
  4330. function getCH0SA3 : TBits_1; inline;
  4331. function getCH0SB : TBits_4; inline;
  4332. function getCH0SB0 : TBits_1; inline;
  4333. function getCH0SB1 : TBits_1; inline;
  4334. function getCH0SB2 : TBits_1; inline;
  4335. function getCH0SB3 : TBits_1; inline;
  4336. function getw : TBits_32; inline;
  4337. procedure setCH0NA(thebits : TBits_1); inline;
  4338. procedure setCH0NB(thebits : TBits_1); inline;
  4339. procedure setCH0SA(thebits : TBits_4); inline;
  4340. procedure setCH0SA0(thebits : TBits_1); inline;
  4341. procedure setCH0SA1(thebits : TBits_1); inline;
  4342. procedure setCH0SA2(thebits : TBits_1); inline;
  4343. procedure setCH0SA3(thebits : TBits_1); inline;
  4344. procedure setCH0SB(thebits : TBits_4); inline;
  4345. procedure setCH0SB0(thebits : TBits_1); inline;
  4346. procedure setCH0SB1(thebits : TBits_1); inline;
  4347. procedure setCH0SB2(thebits : TBits_1); inline;
  4348. procedure setCH0SB3(thebits : TBits_1); inline;
  4349. procedure setw(thebits : TBits_32); inline;
  4350. public
  4351. procedure clearCH0NA; inline;
  4352. procedure clearCH0NB; inline;
  4353. procedure clearCH0SA0; inline;
  4354. procedure clearCH0SA1; inline;
  4355. procedure clearCH0SA2; inline;
  4356. procedure clearCH0SA3; inline;
  4357. procedure clearCH0SB0; inline;
  4358. procedure clearCH0SB1; inline;
  4359. procedure clearCH0SB2; inline;
  4360. procedure clearCH0SB3; inline;
  4361. procedure setCH0NA; inline;
  4362. procedure setCH0NB; inline;
  4363. procedure setCH0SA0; inline;
  4364. procedure setCH0SA1; inline;
  4365. procedure setCH0SA2; inline;
  4366. procedure setCH0SA3; inline;
  4367. procedure setCH0SB0; inline;
  4368. procedure setCH0SB1; inline;
  4369. procedure setCH0SB2; inline;
  4370. procedure setCH0SB3; inline;
  4371. property CH0NA : TBits_1 read getCH0NA write setCH0NA;
  4372. property CH0NB : TBits_1 read getCH0NB write setCH0NB;
  4373. property CH0SA : TBits_4 read getCH0SA write setCH0SA;
  4374. property CH0SA0 : TBits_1 read getCH0SA0 write setCH0SA0;
  4375. property CH0SA1 : TBits_1 read getCH0SA1 write setCH0SA1;
  4376. property CH0SA2 : TBits_1 read getCH0SA2 write setCH0SA2;
  4377. property CH0SA3 : TBits_1 read getCH0SA3 write setCH0SA3;
  4378. property CH0SB : TBits_4 read getCH0SB write setCH0SB;
  4379. property CH0SB0 : TBits_1 read getCH0SB0 write setCH0SB0;
  4380. property CH0SB1 : TBits_1 read getCH0SB1 write setCH0SB1;
  4381. property CH0SB2 : TBits_1 read getCH0SB2 write setCH0SB2;
  4382. property CH0SB3 : TBits_1 read getCH0SB3 write setCH0SB3;
  4383. property w : TBits_32 read getw write setw;
  4384. end;
  4385. TADC10_AD1CSSL = record
  4386. private
  4387. function getCSSL : TBits_16; inline;
  4388. function getCSSL0 : TBits_1; inline;
  4389. function getCSSL1 : TBits_1; inline;
  4390. function getCSSL10 : TBits_1; inline;
  4391. function getCSSL11 : TBits_1; inline;
  4392. function getCSSL12 : TBits_1; inline;
  4393. function getCSSL13 : TBits_1; inline;
  4394. function getCSSL14 : TBits_1; inline;
  4395. function getCSSL15 : TBits_1; inline;
  4396. function getCSSL2 : TBits_1; inline;
  4397. function getCSSL3 : TBits_1; inline;
  4398. function getCSSL4 : TBits_1; inline;
  4399. function getCSSL5 : TBits_1; inline;
  4400. function getCSSL6 : TBits_1; inline;
  4401. function getCSSL7 : TBits_1; inline;
  4402. function getCSSL8 : TBits_1; inline;
  4403. function getCSSL9 : TBits_1; inline;
  4404. function getw : TBits_32; inline;
  4405. procedure setCSSL(thebits : TBits_16); inline;
  4406. procedure setCSSL0(thebits : TBits_1); inline;
  4407. procedure setCSSL1(thebits : TBits_1); inline;
  4408. procedure setCSSL10(thebits : TBits_1); inline;
  4409. procedure setCSSL11(thebits : TBits_1); inline;
  4410. procedure setCSSL12(thebits : TBits_1); inline;
  4411. procedure setCSSL13(thebits : TBits_1); inline;
  4412. procedure setCSSL14(thebits : TBits_1); inline;
  4413. procedure setCSSL15(thebits : TBits_1); inline;
  4414. procedure setCSSL2(thebits : TBits_1); inline;
  4415. procedure setCSSL3(thebits : TBits_1); inline;
  4416. procedure setCSSL4(thebits : TBits_1); inline;
  4417. procedure setCSSL5(thebits : TBits_1); inline;
  4418. procedure setCSSL6(thebits : TBits_1); inline;
  4419. procedure setCSSL7(thebits : TBits_1); inline;
  4420. procedure setCSSL8(thebits : TBits_1); inline;
  4421. procedure setCSSL9(thebits : TBits_1); inline;
  4422. procedure setw(thebits : TBits_32); inline;
  4423. public
  4424. procedure clearCSSL0; inline;
  4425. procedure clearCSSL10; inline;
  4426. procedure clearCSSL11; inline;
  4427. procedure clearCSSL12; inline;
  4428. procedure clearCSSL13; inline;
  4429. procedure clearCSSL14; inline;
  4430. procedure clearCSSL15; inline;
  4431. procedure clearCSSL1; inline;
  4432. procedure clearCSSL2; inline;
  4433. procedure clearCSSL3; inline;
  4434. procedure clearCSSL4; inline;
  4435. procedure clearCSSL5; inline;
  4436. procedure clearCSSL6; inline;
  4437. procedure clearCSSL7; inline;
  4438. procedure clearCSSL8; inline;
  4439. procedure clearCSSL9; inline;
  4440. procedure setCSSL0; inline;
  4441. procedure setCSSL10; inline;
  4442. procedure setCSSL11; inline;
  4443. procedure setCSSL12; inline;
  4444. procedure setCSSL13; inline;
  4445. procedure setCSSL14; inline;
  4446. procedure setCSSL15; inline;
  4447. procedure setCSSL1; inline;
  4448. procedure setCSSL2; inline;
  4449. procedure setCSSL3; inline;
  4450. procedure setCSSL4; inline;
  4451. procedure setCSSL5; inline;
  4452. procedure setCSSL6; inline;
  4453. procedure setCSSL7; inline;
  4454. procedure setCSSL8; inline;
  4455. procedure setCSSL9; inline;
  4456. property CSSL : TBits_16 read getCSSL write setCSSL;
  4457. property CSSL0 : TBits_1 read getCSSL0 write setCSSL0;
  4458. property CSSL1 : TBits_1 read getCSSL1 write setCSSL1;
  4459. property CSSL10 : TBits_1 read getCSSL10 write setCSSL10;
  4460. property CSSL11 : TBits_1 read getCSSL11 write setCSSL11;
  4461. property CSSL12 : TBits_1 read getCSSL12 write setCSSL12;
  4462. property CSSL13 : TBits_1 read getCSSL13 write setCSSL13;
  4463. property CSSL14 : TBits_1 read getCSSL14 write setCSSL14;
  4464. property CSSL15 : TBits_1 read getCSSL15 write setCSSL15;
  4465. property CSSL2 : TBits_1 read getCSSL2 write setCSSL2;
  4466. property CSSL3 : TBits_1 read getCSSL3 write setCSSL3;
  4467. property CSSL4 : TBits_1 read getCSSL4 write setCSSL4;
  4468. property CSSL5 : TBits_1 read getCSSL5 write setCSSL5;
  4469. property CSSL6 : TBits_1 read getCSSL6 write setCSSL6;
  4470. property CSSL7 : TBits_1 read getCSSL7 write setCSSL7;
  4471. property CSSL8 : TBits_1 read getCSSL8 write setCSSL8;
  4472. property CSSL9 : TBits_1 read getCSSL9 write setCSSL9;
  4473. property w : TBits_32 read getw write setw;
  4474. end;
  4475. type
  4476. TADC10Registers = record
  4477. AD1CON1bits : TADC10_AD1CON1;
  4478. AD1CON1 : longWord;
  4479. AD1CON1CLR : longWord;
  4480. AD1CON1SET : longWord;
  4481. AD1CON1INV : longWord;
  4482. AD1CON2bits : TADC10_AD1CON2;
  4483. AD1CON2 : longWord;
  4484. AD1CON2CLR : longWord;
  4485. AD1CON2SET : longWord;
  4486. AD1CON2INV : longWord;
  4487. AD1CON3bits : TADC10_AD1CON3;
  4488. AD1CON3 : longWord;
  4489. AD1CON3CLR : longWord;
  4490. AD1CON3SET : longWord;
  4491. AD1CON3INV : longWord;
  4492. AD1CHSbits : TADC10_AD1CHS;
  4493. AD1CHS : longWord;
  4494. AD1CHSCLR : longWord;
  4495. AD1CHSSET : longWord;
  4496. AD1CHSINV : longWord;
  4497. AD1CSSLbits : TADC10_AD1CSSL;
  4498. AD1CSSL : longWord;
  4499. AD1CSSLCLR : longWord;
  4500. AD1CSSLSET : longWord;
  4501. AD1CSSLINV : longWord;
  4502. ADC1BUF0 : longWord;
  4503. ADC1BUF1 : longWord;
  4504. ADC1BUF2 : longWord;
  4505. ADC1BUF3 : longWord;
  4506. ADC1BUF4 : longWord;
  4507. ADC1BUF5 : longWord;
  4508. ADC1BUF6 : longWord;
  4509. ADC1BUF7 : longWord;
  4510. ADC1BUF8 : longWord;
  4511. ADC1BUF9 : longWord;
  4512. ADC1BUFA : longWord;
  4513. ADC1BUFB : longWord;
  4514. ADC1BUFC : longWord;
  4515. ADC1BUFD : longWord;
  4516. ADC1BUFE : longWord;
  4517. ADC1BUFF : longWord;
  4518. end;
  4519. TCVR_CVRCON = record
  4520. private
  4521. function getCVR : TBits_4; inline;
  4522. function getCVR0 : TBits_1; inline;
  4523. function getCVR1 : TBits_1; inline;
  4524. function getCVR2 : TBits_1; inline;
  4525. function getCVR3 : TBits_1; inline;
  4526. function getCVROE : TBits_1; inline;
  4527. function getCVRR : TBits_1; inline;
  4528. function getCVRSS : TBits_1; inline;
  4529. function getON : TBits_1; inline;
  4530. function getw : TBits_32; inline;
  4531. procedure setCVR(thebits : TBits_4); inline;
  4532. procedure setCVR0(thebits : TBits_1); inline;
  4533. procedure setCVR1(thebits : TBits_1); inline;
  4534. procedure setCVR2(thebits : TBits_1); inline;
  4535. procedure setCVR3(thebits : TBits_1); inline;
  4536. procedure setCVROE(thebits : TBits_1); inline;
  4537. procedure setCVRR(thebits : TBits_1); inline;
  4538. procedure setCVRSS(thebits : TBits_1); inline;
  4539. procedure setON(thebits : TBits_1); inline;
  4540. procedure setw(thebits : TBits_32); inline;
  4541. public
  4542. procedure clearCVR0; inline;
  4543. procedure clearCVR1; inline;
  4544. procedure clearCVR2; inline;
  4545. procedure clearCVR3; inline;
  4546. procedure clearCVROE; inline;
  4547. procedure clearCVRR; inline;
  4548. procedure clearCVRSS; inline;
  4549. procedure clearON; inline;
  4550. procedure setCVR0; inline;
  4551. procedure setCVR1; inline;
  4552. procedure setCVR2; inline;
  4553. procedure setCVR3; inline;
  4554. procedure setCVROE; inline;
  4555. procedure setCVRR; inline;
  4556. procedure setCVRSS; inline;
  4557. procedure setON; inline;
  4558. property CVR : TBits_4 read getCVR write setCVR;
  4559. property CVR0 : TBits_1 read getCVR0 write setCVR0;
  4560. property CVR1 : TBits_1 read getCVR1 write setCVR1;
  4561. property CVR2 : TBits_1 read getCVR2 write setCVR2;
  4562. property CVR3 : TBits_1 read getCVR3 write setCVR3;
  4563. property CVROE : TBits_1 read getCVROE write setCVROE;
  4564. property CVRR : TBits_1 read getCVRR write setCVRR;
  4565. property CVRSS : TBits_1 read getCVRSS write setCVRSS;
  4566. property ON : TBits_1 read getON write setON;
  4567. property w : TBits_32 read getw write setw;
  4568. end;
  4569. type
  4570. TCVRRegisters = record
  4571. CVRCONbits : TCVR_CVRCON;
  4572. CVRCON : longWord;
  4573. CVRCONCLR : longWord;
  4574. CVRCONSET : longWord;
  4575. CVRCONINV : longWord;
  4576. end;
  4577. TCMP_CM1CON = record
  4578. private
  4579. function getCCH : TBits_2; inline;
  4580. function getCCH0 : TBits_1; inline;
  4581. function getCCH1 : TBits_1; inline;
  4582. function getCOE : TBits_1; inline;
  4583. function getCOUT : TBits_1; inline;
  4584. function getCPOL : TBits_1; inline;
  4585. function getCREF : TBits_1; inline;
  4586. function getEVPOL : TBits_2; inline;
  4587. function getEVPOL0 : TBits_1; inline;
  4588. function getEVPOL1 : TBits_1; inline;
  4589. function getON : TBits_1; inline;
  4590. function getw : TBits_32; inline;
  4591. procedure setCCH(thebits : TBits_2); inline;
  4592. procedure setCCH0(thebits : TBits_1); inline;
  4593. procedure setCCH1(thebits : TBits_1); inline;
  4594. procedure setCOE(thebits : TBits_1); inline;
  4595. procedure setCOUT(thebits : TBits_1); inline;
  4596. procedure setCPOL(thebits : TBits_1); inline;
  4597. procedure setCREF(thebits : TBits_1); inline;
  4598. procedure setEVPOL(thebits : TBits_2); inline;
  4599. procedure setEVPOL0(thebits : TBits_1); inline;
  4600. procedure setEVPOL1(thebits : TBits_1); inline;
  4601. procedure setON(thebits : TBits_1); inline;
  4602. procedure setw(thebits : TBits_32); inline;
  4603. public
  4604. procedure clearCCH0; inline;
  4605. procedure clearCCH1; inline;
  4606. procedure clearCOE; inline;
  4607. procedure clearCOUT; inline;
  4608. procedure clearCPOL; inline;
  4609. procedure clearCREF; inline;
  4610. procedure clearEVPOL0; inline;
  4611. procedure clearEVPOL1; inline;
  4612. procedure clearON; inline;
  4613. procedure setCCH0; inline;
  4614. procedure setCCH1; inline;
  4615. procedure setCOE; inline;
  4616. procedure setCOUT; inline;
  4617. procedure setCPOL; inline;
  4618. procedure setCREF; inline;
  4619. procedure setEVPOL0; inline;
  4620. procedure setEVPOL1; inline;
  4621. procedure setON; inline;
  4622. property CCH : TBits_2 read getCCH write setCCH;
  4623. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4624. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4625. property COE : TBits_1 read getCOE write setCOE;
  4626. property COUT : TBits_1 read getCOUT write setCOUT;
  4627. property CPOL : TBits_1 read getCPOL write setCPOL;
  4628. property CREF : TBits_1 read getCREF write setCREF;
  4629. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4630. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4631. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4632. property ON : TBits_1 read getON write setON;
  4633. property w : TBits_32 read getw write setw;
  4634. end;
  4635. TCMP_CM2CON = record
  4636. private
  4637. function getCCH : TBits_2; inline;
  4638. function getCCH0 : TBits_1; inline;
  4639. function getCCH1 : TBits_1; inline;
  4640. function getCOE : TBits_1; inline;
  4641. function getCOUT : TBits_1; inline;
  4642. function getCPOL : TBits_1; inline;
  4643. function getCREF : TBits_1; inline;
  4644. function getEVPOL : TBits_2; inline;
  4645. function getEVPOL0 : TBits_1; inline;
  4646. function getEVPOL1 : TBits_1; inline;
  4647. function getON : TBits_1; inline;
  4648. function getw : TBits_32; inline;
  4649. procedure setCCH(thebits : TBits_2); inline;
  4650. procedure setCCH0(thebits : TBits_1); inline;
  4651. procedure setCCH1(thebits : TBits_1); inline;
  4652. procedure setCOE(thebits : TBits_1); inline;
  4653. procedure setCOUT(thebits : TBits_1); inline;
  4654. procedure setCPOL(thebits : TBits_1); inline;
  4655. procedure setCREF(thebits : TBits_1); inline;
  4656. procedure setEVPOL(thebits : TBits_2); inline;
  4657. procedure setEVPOL0(thebits : TBits_1); inline;
  4658. procedure setEVPOL1(thebits : TBits_1); inline;
  4659. procedure setON(thebits : TBits_1); inline;
  4660. procedure setw(thebits : TBits_32); inline;
  4661. public
  4662. procedure clearCCH0; inline;
  4663. procedure clearCCH1; inline;
  4664. procedure clearCOE; inline;
  4665. procedure clearCOUT; inline;
  4666. procedure clearCPOL; inline;
  4667. procedure clearCREF; inline;
  4668. procedure clearEVPOL0; inline;
  4669. procedure clearEVPOL1; inline;
  4670. procedure clearON; inline;
  4671. procedure setCCH0; inline;
  4672. procedure setCCH1; inline;
  4673. procedure setCOE; inline;
  4674. procedure setCOUT; inline;
  4675. procedure setCPOL; inline;
  4676. procedure setCREF; inline;
  4677. procedure setEVPOL0; inline;
  4678. procedure setEVPOL1; inline;
  4679. procedure setON; inline;
  4680. property CCH : TBits_2 read getCCH write setCCH;
  4681. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4682. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4683. property COE : TBits_1 read getCOE write setCOE;
  4684. property COUT : TBits_1 read getCOUT write setCOUT;
  4685. property CPOL : TBits_1 read getCPOL write setCPOL;
  4686. property CREF : TBits_1 read getCREF write setCREF;
  4687. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4688. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4689. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4690. property ON : TBits_1 read getON write setON;
  4691. property w : TBits_32 read getw write setw;
  4692. end;
  4693. TCMP_CM3CON = record
  4694. private
  4695. function getCCH : TBits_2; inline;
  4696. function getCCH0 : TBits_1; inline;
  4697. function getCCH1 : TBits_1; inline;
  4698. function getCOE : TBits_1; inline;
  4699. function getCOUT : TBits_1; inline;
  4700. function getCPOL : TBits_1; inline;
  4701. function getCREF : TBits_1; inline;
  4702. function getEVPOL : TBits_2; inline;
  4703. function getEVPOL0 : TBits_1; inline;
  4704. function getEVPOL1 : TBits_1; inline;
  4705. function getON : TBits_1; inline;
  4706. function getw : TBits_32; inline;
  4707. procedure setCCH(thebits : TBits_2); inline;
  4708. procedure setCCH0(thebits : TBits_1); inline;
  4709. procedure setCCH1(thebits : TBits_1); inline;
  4710. procedure setCOE(thebits : TBits_1); inline;
  4711. procedure setCOUT(thebits : TBits_1); inline;
  4712. procedure setCPOL(thebits : TBits_1); inline;
  4713. procedure setCREF(thebits : TBits_1); inline;
  4714. procedure setEVPOL(thebits : TBits_2); inline;
  4715. procedure setEVPOL0(thebits : TBits_1); inline;
  4716. procedure setEVPOL1(thebits : TBits_1); inline;
  4717. procedure setON(thebits : TBits_1); inline;
  4718. procedure setw(thebits : TBits_32); inline;
  4719. public
  4720. procedure clearCCH0; inline;
  4721. procedure clearCCH1; inline;
  4722. procedure clearCOE; inline;
  4723. procedure clearCOUT; inline;
  4724. procedure clearCPOL; inline;
  4725. procedure clearCREF; inline;
  4726. procedure clearEVPOL0; inline;
  4727. procedure clearEVPOL1; inline;
  4728. procedure clearON; inline;
  4729. procedure setCCH0; inline;
  4730. procedure setCCH1; inline;
  4731. procedure setCOE; inline;
  4732. procedure setCOUT; inline;
  4733. procedure setCPOL; inline;
  4734. procedure setCREF; inline;
  4735. procedure setEVPOL0; inline;
  4736. procedure setEVPOL1; inline;
  4737. procedure setON; inline;
  4738. property CCH : TBits_2 read getCCH write setCCH;
  4739. property CCH0 : TBits_1 read getCCH0 write setCCH0;
  4740. property CCH1 : TBits_1 read getCCH1 write setCCH1;
  4741. property COE : TBits_1 read getCOE write setCOE;
  4742. property COUT : TBits_1 read getCOUT write setCOUT;
  4743. property CPOL : TBits_1 read getCPOL write setCPOL;
  4744. property CREF : TBits_1 read getCREF write setCREF;
  4745. property EVPOL : TBits_2 read getEVPOL write setEVPOL;
  4746. property EVPOL0 : TBits_1 read getEVPOL0 write setEVPOL0;
  4747. property EVPOL1 : TBits_1 read getEVPOL1 write setEVPOL1;
  4748. property ON : TBits_1 read getON write setON;
  4749. property w : TBits_32 read getw write setw;
  4750. end;
  4751. TCMP_CMSTAT = record
  4752. private
  4753. function getC1OUT : TBits_1; inline;
  4754. function getC2OUT : TBits_1; inline;
  4755. function getC3OUT : TBits_1; inline;
  4756. function getSIDL : TBits_1; inline;
  4757. function getw : TBits_32; inline;
  4758. procedure setC1OUT(thebits : TBits_1); inline;
  4759. procedure setC2OUT(thebits : TBits_1); inline;
  4760. procedure setC3OUT(thebits : TBits_1); inline;
  4761. procedure setSIDL(thebits : TBits_1); inline;
  4762. procedure setw(thebits : TBits_32); inline;
  4763. public
  4764. procedure clearC1OUT; inline;
  4765. procedure clearC2OUT; inline;
  4766. procedure clearC3OUT; inline;
  4767. procedure clearSIDL; inline;
  4768. procedure setC1OUT; inline;
  4769. procedure setC2OUT; inline;
  4770. procedure setC3OUT; inline;
  4771. procedure setSIDL; inline;
  4772. property C1OUT : TBits_1 read getC1OUT write setC1OUT;
  4773. property C2OUT : TBits_1 read getC2OUT write setC2OUT;
  4774. property C3OUT : TBits_1 read getC3OUT write setC3OUT;
  4775. property SIDL : TBits_1 read getSIDL write setSIDL;
  4776. property w : TBits_32 read getw write setw;
  4777. end;
  4778. TCMP_CTMUCON = record
  4779. private
  4780. function getCTMUSIDL : TBits_1; inline;
  4781. function getCTTRIG : TBits_1; inline;
  4782. function getEDG1MOD : TBits_1; inline;
  4783. function getEDG1POL : TBits_1; inline;
  4784. function getEDG1SEL : TBits_4; inline;
  4785. function getEDG1STAT : TBits_1; inline;
  4786. function getEDG2MOD : TBits_1; inline;
  4787. function getEDG2POL : TBits_1; inline;
  4788. function getEDG2SEL : TBits_4; inline;
  4789. function getEDG2STAT : TBits_1; inline;
  4790. function getEDGEN : TBits_1; inline;
  4791. function getEDGSEQEN : TBits_1; inline;
  4792. function getIDISSEN : TBits_1; inline;
  4793. function getIRNG : TBits_2; inline;
  4794. function getITRIM : TBits_6; inline;
  4795. function getON : TBits_1; inline;
  4796. function getTGEN : TBits_1; inline;
  4797. function getw : TBits_32; inline;
  4798. procedure setCTMUSIDL(thebits : TBits_1); inline;
  4799. procedure setCTTRIG(thebits : TBits_1); inline;
  4800. procedure setEDG1MOD(thebits : TBits_1); inline;
  4801. procedure setEDG1POL(thebits : TBits_1); inline;
  4802. procedure setEDG1SEL(thebits : TBits_4); inline;
  4803. procedure setEDG1STAT(thebits : TBits_1); inline;
  4804. procedure setEDG2MOD(thebits : TBits_1); inline;
  4805. procedure setEDG2POL(thebits : TBits_1); inline;
  4806. procedure setEDG2SEL(thebits : TBits_4); inline;
  4807. procedure setEDG2STAT(thebits : TBits_1); inline;
  4808. procedure setEDGEN(thebits : TBits_1); inline;
  4809. procedure setEDGSEQEN(thebits : TBits_1); inline;
  4810. procedure setIDISSEN(thebits : TBits_1); inline;
  4811. procedure setIRNG(thebits : TBits_2); inline;
  4812. procedure setITRIM(thebits : TBits_6); inline;
  4813. procedure setON(thebits : TBits_1); inline;
  4814. procedure setTGEN(thebits : TBits_1); inline;
  4815. procedure setw(thebits : TBits_32); inline;
  4816. public
  4817. procedure clearCTMUSIDL; inline;
  4818. procedure clearCTTRIG; inline;
  4819. procedure clearEDG1MOD; inline;
  4820. procedure clearEDG1POL; inline;
  4821. procedure clearEDG1STAT; inline;
  4822. procedure clearEDG2MOD; inline;
  4823. procedure clearEDG2POL; inline;
  4824. procedure clearEDG2STAT; inline;
  4825. procedure clearEDGEN; inline;
  4826. procedure clearEDGSEQEN; inline;
  4827. procedure clearIDISSEN; inline;
  4828. procedure clearON; inline;
  4829. procedure clearTGEN; inline;
  4830. procedure setCTMUSIDL; inline;
  4831. procedure setCTTRIG; inline;
  4832. procedure setEDG1MOD; inline;
  4833. procedure setEDG1POL; inline;
  4834. procedure setEDG1STAT; inline;
  4835. procedure setEDG2MOD; inline;
  4836. procedure setEDG2POL; inline;
  4837. procedure setEDG2STAT; inline;
  4838. procedure setEDGEN; inline;
  4839. procedure setEDGSEQEN; inline;
  4840. procedure setIDISSEN; inline;
  4841. procedure setON; inline;
  4842. procedure setTGEN; inline;
  4843. property CTMUSIDL : TBits_1 read getCTMUSIDL write setCTMUSIDL;
  4844. property CTTRIG : TBits_1 read getCTTRIG write setCTTRIG;
  4845. property EDG1MOD : TBits_1 read getEDG1MOD write setEDG1MOD;
  4846. property EDG1POL : TBits_1 read getEDG1POL write setEDG1POL;
  4847. property EDG1SEL : TBits_4 read getEDG1SEL write setEDG1SEL;
  4848. property EDG1STAT : TBits_1 read getEDG1STAT write setEDG1STAT;
  4849. property EDG2MOD : TBits_1 read getEDG2MOD write setEDG2MOD;
  4850. property EDG2POL : TBits_1 read getEDG2POL write setEDG2POL;
  4851. property EDG2SEL : TBits_4 read getEDG2SEL write setEDG2SEL;
  4852. property EDG2STAT : TBits_1 read getEDG2STAT write setEDG2STAT;
  4853. property EDGEN : TBits_1 read getEDGEN write setEDGEN;
  4854. property EDGSEQEN : TBits_1 read getEDGSEQEN write setEDGSEQEN;
  4855. property IDISSEN : TBits_1 read getIDISSEN write setIDISSEN;
  4856. property IRNG : TBits_2 read getIRNG write setIRNG;
  4857. property ITRIM : TBits_6 read getITRIM write setITRIM;
  4858. property ON : TBits_1 read getON write setON;
  4859. property TGEN : TBits_1 read getTGEN write setTGEN;
  4860. property w : TBits_32 read getw write setw;
  4861. end;
  4862. type
  4863. TCMPRegisters = record
  4864. CM1CONbits : TCMP_CM1CON;
  4865. CM1CON : longWord;
  4866. CM1CONCLR : longWord;
  4867. CM1CONSET : longWord;
  4868. CM1CONINV : longWord;
  4869. CM2CONbits : TCMP_CM2CON;
  4870. CM2CON : longWord;
  4871. CM2CONCLR : longWord;
  4872. CM2CONSET : longWord;
  4873. CM2CONINV : longWord;
  4874. CM3CONbits : TCMP_CM3CON;
  4875. CM3CON : longWord;
  4876. CM3CONCLR : longWord;
  4877. CM3CONSET : longWord;
  4878. CM3CONINV : longWord;
  4879. CMSTATbits : TCMP_CMSTAT;
  4880. CMSTAT : longWord;
  4881. CMSTATCLR : longWord;
  4882. CMSTATSET : longWord;
  4883. CMSTATINV : longWord;
  4884. CTMUCONbits : TCMP_CTMUCON;
  4885. CTMUCON : longWord;
  4886. CTMUCONCLR : longWord;
  4887. CTMUCONSET : longWord;
  4888. CTMUCONINV : longWord;
  4889. end;
  4890. TOSC_OSCCON = record
  4891. private
  4892. function getCF : TBits_1; inline;
  4893. function getCLKLOCK : TBits_1; inline;
  4894. function getCOSC : TBits_3; inline;
  4895. function getCOSC0 : TBits_1; inline;
  4896. function getCOSC1 : TBits_1; inline;
  4897. function getCOSC2 : TBits_1; inline;
  4898. function getFRCDIV : TBits_3; inline;
  4899. function getFRCDIV0 : TBits_1; inline;
  4900. function getFRCDIV1 : TBits_1; inline;
  4901. function getFRCDIV2 : TBits_1; inline;
  4902. function getNOSC : TBits_3; inline;
  4903. function getNOSC0 : TBits_1; inline;
  4904. function getNOSC1 : TBits_1; inline;
  4905. function getNOSC2 : TBits_1; inline;
  4906. function getOSWEN : TBits_1; inline;
  4907. function getPBDIV : TBits_2; inline;
  4908. function getPBDIV0 : TBits_1; inline;
  4909. function getPBDIV1 : TBits_1; inline;
  4910. function getPBDIVRDY : TBits_1; inline;
  4911. function getPLLMULT : TBits_3; inline;
  4912. function getPLLMULT0 : TBits_1; inline;
  4913. function getPLLMULT1 : TBits_1; inline;
  4914. function getPLLMULT2 : TBits_1; inline;
  4915. function getPLLODIV : TBits_3; inline;
  4916. function getPLLODIV0 : TBits_1; inline;
  4917. function getPLLODIV1 : TBits_1; inline;
  4918. function getPLLODIV2 : TBits_1; inline;
  4919. function getSLOCK : TBits_1; inline;
  4920. function getSLPEN : TBits_1; inline;
  4921. function getSOSCEN : TBits_1; inline;
  4922. function getSOSCRDY : TBits_1; inline;
  4923. function getUFRCEN : TBits_1; inline;
  4924. function getULOCK : TBits_1; inline;
  4925. function getw : TBits_32; inline;
  4926. procedure setCF(thebits : TBits_1); inline;
  4927. procedure setCLKLOCK(thebits : TBits_1); inline;
  4928. procedure setCOSC(thebits : TBits_3); inline;
  4929. procedure setCOSC0(thebits : TBits_1); inline;
  4930. procedure setCOSC1(thebits : TBits_1); inline;
  4931. procedure setCOSC2(thebits : TBits_1); inline;
  4932. procedure setFRCDIV(thebits : TBits_3); inline;
  4933. procedure setFRCDIV0(thebits : TBits_1); inline;
  4934. procedure setFRCDIV1(thebits : TBits_1); inline;
  4935. procedure setFRCDIV2(thebits : TBits_1); inline;
  4936. procedure setNOSC(thebits : TBits_3); inline;
  4937. procedure setNOSC0(thebits : TBits_1); inline;
  4938. procedure setNOSC1(thebits : TBits_1); inline;
  4939. procedure setNOSC2(thebits : TBits_1); inline;
  4940. procedure setOSWEN(thebits : TBits_1); inline;
  4941. procedure setPBDIV(thebits : TBits_2); inline;
  4942. procedure setPBDIV0(thebits : TBits_1); inline;
  4943. procedure setPBDIV1(thebits : TBits_1); inline;
  4944. procedure setPBDIVRDY(thebits : TBits_1); inline;
  4945. procedure setPLLMULT(thebits : TBits_3); inline;
  4946. procedure setPLLMULT0(thebits : TBits_1); inline;
  4947. procedure setPLLMULT1(thebits : TBits_1); inline;
  4948. procedure setPLLMULT2(thebits : TBits_1); inline;
  4949. procedure setPLLODIV(thebits : TBits_3); inline;
  4950. procedure setPLLODIV0(thebits : TBits_1); inline;
  4951. procedure setPLLODIV1(thebits : TBits_1); inline;
  4952. procedure setPLLODIV2(thebits : TBits_1); inline;
  4953. procedure setSLOCK(thebits : TBits_1); inline;
  4954. procedure setSLPEN(thebits : TBits_1); inline;
  4955. procedure setSOSCEN(thebits : TBits_1); inline;
  4956. procedure setSOSCRDY(thebits : TBits_1); inline;
  4957. procedure setUFRCEN(thebits : TBits_1); inline;
  4958. procedure setULOCK(thebits : TBits_1); inline;
  4959. procedure setw(thebits : TBits_32); inline;
  4960. public
  4961. procedure clearCF; inline;
  4962. procedure clearCLKLOCK; inline;
  4963. procedure clearCOSC0; inline;
  4964. procedure clearCOSC1; inline;
  4965. procedure clearCOSC2; inline;
  4966. procedure clearFRCDIV0; inline;
  4967. procedure clearFRCDIV1; inline;
  4968. procedure clearFRCDIV2; inline;
  4969. procedure clearNOSC0; inline;
  4970. procedure clearNOSC1; inline;
  4971. procedure clearNOSC2; inline;
  4972. procedure clearOSWEN; inline;
  4973. procedure clearPBDIV0; inline;
  4974. procedure clearPBDIV1; inline;
  4975. procedure clearPBDIVRDY; inline;
  4976. procedure clearPLLMULT0; inline;
  4977. procedure clearPLLMULT1; inline;
  4978. procedure clearPLLMULT2; inline;
  4979. procedure clearPLLODIV0; inline;
  4980. procedure clearPLLODIV1; inline;
  4981. procedure clearPLLODIV2; inline;
  4982. procedure clearSLOCK; inline;
  4983. procedure clearSLPEN; inline;
  4984. procedure clearSOSCEN; inline;
  4985. procedure clearSOSCRDY; inline;
  4986. procedure clearUFRCEN; inline;
  4987. procedure clearULOCK; inline;
  4988. procedure setCF; inline;
  4989. procedure setCLKLOCK; inline;
  4990. procedure setCOSC0; inline;
  4991. procedure setCOSC1; inline;
  4992. procedure setCOSC2; inline;
  4993. procedure setFRCDIV0; inline;
  4994. procedure setFRCDIV1; inline;
  4995. procedure setFRCDIV2; inline;
  4996. procedure setNOSC0; inline;
  4997. procedure setNOSC1; inline;
  4998. procedure setNOSC2; inline;
  4999. procedure setOSWEN; inline;
  5000. procedure setPBDIV0; inline;
  5001. procedure setPBDIV1; inline;
  5002. procedure setPBDIVRDY; inline;
  5003. procedure setPLLMULT0; inline;
  5004. procedure setPLLMULT1; inline;
  5005. procedure setPLLMULT2; inline;
  5006. procedure setPLLODIV0; inline;
  5007. procedure setPLLODIV1; inline;
  5008. procedure setPLLODIV2; inline;
  5009. procedure setSLOCK; inline;
  5010. procedure setSLPEN; inline;
  5011. procedure setSOSCEN; inline;
  5012. procedure setSOSCRDY; inline;
  5013. procedure setUFRCEN; inline;
  5014. procedure setULOCK; inline;
  5015. property CF : TBits_1 read getCF write setCF;
  5016. property CLKLOCK : TBits_1 read getCLKLOCK write setCLKLOCK;
  5017. property COSC : TBits_3 read getCOSC write setCOSC;
  5018. property COSC0 : TBits_1 read getCOSC0 write setCOSC0;
  5019. property COSC1 : TBits_1 read getCOSC1 write setCOSC1;
  5020. property COSC2 : TBits_1 read getCOSC2 write setCOSC2;
  5021. property FRCDIV : TBits_3 read getFRCDIV write setFRCDIV;
  5022. property FRCDIV0 : TBits_1 read getFRCDIV0 write setFRCDIV0;
  5023. property FRCDIV1 : TBits_1 read getFRCDIV1 write setFRCDIV1;
  5024. property FRCDIV2 : TBits_1 read getFRCDIV2 write setFRCDIV2;
  5025. property NOSC : TBits_3 read getNOSC write setNOSC;
  5026. property NOSC0 : TBits_1 read getNOSC0 write setNOSC0;
  5027. property NOSC1 : TBits_1 read getNOSC1 write setNOSC1;
  5028. property NOSC2 : TBits_1 read getNOSC2 write setNOSC2;
  5029. property OSWEN : TBits_1 read getOSWEN write setOSWEN;
  5030. property PBDIV : TBits_2 read getPBDIV write setPBDIV;
  5031. property PBDIV0 : TBits_1 read getPBDIV0 write setPBDIV0;
  5032. property PBDIV1 : TBits_1 read getPBDIV1 write setPBDIV1;
  5033. property PBDIVRDY : TBits_1 read getPBDIVRDY write setPBDIVRDY;
  5034. property PLLMULT : TBits_3 read getPLLMULT write setPLLMULT;
  5035. property PLLMULT0 : TBits_1 read getPLLMULT0 write setPLLMULT0;
  5036. property PLLMULT1 : TBits_1 read getPLLMULT1 write setPLLMULT1;
  5037. property PLLMULT2 : TBits_1 read getPLLMULT2 write setPLLMULT2;
  5038. property PLLODIV : TBits_3 read getPLLODIV write setPLLODIV;
  5039. property PLLODIV0 : TBits_1 read getPLLODIV0 write setPLLODIV0;
  5040. property PLLODIV1 : TBits_1 read getPLLODIV1 write setPLLODIV1;
  5041. property PLLODIV2 : TBits_1 read getPLLODIV2 write setPLLODIV2;
  5042. property SLOCK : TBits_1 read getSLOCK write setSLOCK;
  5043. property SLPEN : TBits_1 read getSLPEN write setSLPEN;
  5044. property SOSCEN : TBits_1 read getSOSCEN write setSOSCEN;
  5045. property SOSCRDY : TBits_1 read getSOSCRDY write setSOSCRDY;
  5046. property UFRCEN : TBits_1 read getUFRCEN write setUFRCEN;
  5047. property ULOCK : TBits_1 read getULOCK write setULOCK;
  5048. property w : TBits_32 read getw write setw;
  5049. end;
  5050. TOSC_OSCTUN = record
  5051. private
  5052. function getTUN : TBits_6; inline;
  5053. function getTUN0 : TBits_1; inline;
  5054. function getTUN1 : TBits_1; inline;
  5055. function getTUN2 : TBits_1; inline;
  5056. function getTUN3 : TBits_1; inline;
  5057. function getTUN4 : TBits_1; inline;
  5058. function getTUN5 : TBits_1; inline;
  5059. function getw : TBits_32; inline;
  5060. procedure setTUN(thebits : TBits_6); inline;
  5061. procedure setTUN0(thebits : TBits_1); inline;
  5062. procedure setTUN1(thebits : TBits_1); inline;
  5063. procedure setTUN2(thebits : TBits_1); inline;
  5064. procedure setTUN3(thebits : TBits_1); inline;
  5065. procedure setTUN4(thebits : TBits_1); inline;
  5066. procedure setTUN5(thebits : TBits_1); inline;
  5067. procedure setw(thebits : TBits_32); inline;
  5068. public
  5069. procedure clearTUN0; inline;
  5070. procedure clearTUN1; inline;
  5071. procedure clearTUN2; inline;
  5072. procedure clearTUN3; inline;
  5073. procedure clearTUN4; inline;
  5074. procedure clearTUN5; inline;
  5075. procedure setTUN0; inline;
  5076. procedure setTUN1; inline;
  5077. procedure setTUN2; inline;
  5078. procedure setTUN3; inline;
  5079. procedure setTUN4; inline;
  5080. procedure setTUN5; inline;
  5081. property TUN : TBits_6 read getTUN write setTUN;
  5082. property TUN0 : TBits_1 read getTUN0 write setTUN0;
  5083. property TUN1 : TBits_1 read getTUN1 write setTUN1;
  5084. property TUN2 : TBits_1 read getTUN2 write setTUN2;
  5085. property TUN3 : TBits_1 read getTUN3 write setTUN3;
  5086. property TUN4 : TBits_1 read getTUN4 write setTUN4;
  5087. property TUN5 : TBits_1 read getTUN5 write setTUN5;
  5088. property w : TBits_32 read getw write setw;
  5089. end;
  5090. TOSC_REFOCON = record
  5091. private
  5092. function getACTIVE : TBits_1; inline;
  5093. function getDIVSWEN : TBits_1; inline;
  5094. function getOE : TBits_1; inline;
  5095. function getON : TBits_1; inline;
  5096. function getRODIV : TBits_15; inline;
  5097. function getROSEL : TBits_4; inline;
  5098. function getRSLP : TBits_1; inline;
  5099. function getSIDL : TBits_1; inline;
  5100. function getw : TBits_32; inline;
  5101. procedure setACTIVE(thebits : TBits_1); inline;
  5102. procedure setDIVSWEN(thebits : TBits_1); inline;
  5103. procedure setOE(thebits : TBits_1); inline;
  5104. procedure setON(thebits : TBits_1); inline;
  5105. procedure setRODIV(thebits : TBits_15); inline;
  5106. procedure setROSEL(thebits : TBits_4); inline;
  5107. procedure setRSLP(thebits : TBits_1); inline;
  5108. procedure setSIDL(thebits : TBits_1); inline;
  5109. procedure setw(thebits : TBits_32); inline;
  5110. public
  5111. procedure clearACTIVE; inline;
  5112. procedure clearDIVSWEN; inline;
  5113. procedure clearOE; inline;
  5114. procedure clearON; inline;
  5115. procedure clearRSLP; inline;
  5116. procedure clearSIDL; inline;
  5117. procedure setACTIVE; inline;
  5118. procedure setDIVSWEN; inline;
  5119. procedure setOE; inline;
  5120. procedure setON; inline;
  5121. procedure setRSLP; inline;
  5122. procedure setSIDL; inline;
  5123. property ACTIVE : TBits_1 read getACTIVE write setACTIVE;
  5124. property DIVSWEN : TBits_1 read getDIVSWEN write setDIVSWEN;
  5125. property OE : TBits_1 read getOE write setOE;
  5126. property ON : TBits_1 read getON write setON;
  5127. property RODIV : TBits_15 read getRODIV write setRODIV;
  5128. property ROSEL : TBits_4 read getROSEL write setROSEL;
  5129. property RSLP : TBits_1 read getRSLP write setRSLP;
  5130. property SIDL : TBits_1 read getSIDL write setSIDL;
  5131. property w : TBits_32 read getw write setw;
  5132. end;
  5133. TOSC_REFOTRIM = record
  5134. private
  5135. function getROTRIM : TBits_9; inline;
  5136. function getw : TBits_32; inline;
  5137. procedure setROTRIM(thebits : TBits_9); inline;
  5138. procedure setw(thebits : TBits_32); inline;
  5139. public
  5140. property ROTRIM : TBits_9 read getROTRIM write setROTRIM;
  5141. property w : TBits_32 read getw write setw;
  5142. end;
  5143. type
  5144. TOSCRegisters = record
  5145. OSCCONbits : TOSC_OSCCON;
  5146. OSCCON : longWord;
  5147. OSCCONCLR : longWord;
  5148. OSCCONSET : longWord;
  5149. OSCCONINV : longWord;
  5150. OSCTUNbits : TOSC_OSCTUN;
  5151. OSCTUN : longWord;
  5152. OSCTUNCLR : longWord;
  5153. OSCTUNSET : longWord;
  5154. OSCTUNINV : longWord;
  5155. REFOCONbits : TOSC_REFOCON;
  5156. REFOCON : longWord;
  5157. REFOCONCLR : longWord;
  5158. REFOCONSET : longWord;
  5159. REFOCONINV : longWord;
  5160. REFOTRIMbits : TOSC_REFOTRIM;
  5161. REFOTRIM : longWord;
  5162. REFOTRIMCLR : longWord;
  5163. REFOTRIMSET : longWord;
  5164. REFOTRIMINV : longWord;
  5165. end;
  5166. type
  5167. TCFGRegisters = record
  5168. CFGCON : longWord;
  5169. DDPCON : longWord;
  5170. DEVID : longWord;
  5171. SYSKEY : longWord;
  5172. SYSKEYCLR : longWord;
  5173. SYSKEYSET : longWord;
  5174. SYSKEYINV : longWord;
  5175. PMD1 : longWord;
  5176. PMD1CLR : longWord;
  5177. PMD1SET : longWord;
  5178. PMD1INV : longWord;
  5179. PMD2 : longWord;
  5180. PMD2CLR : longWord;
  5181. PMD2SET : longWord;
  5182. PMD2INV : longWord;
  5183. PMD3 : longWord;
  5184. PMD3CLR : longWord;
  5185. PMD3SET : longWord;
  5186. PMD3INV : longWord;
  5187. PMD4 : longWord;
  5188. PMD4CLR : longWord;
  5189. PMD4SET : longWord;
  5190. PMD4INV : longWord;
  5191. PMD5 : longWord;
  5192. PMD5CLR : longWord;
  5193. PMD5SET : longWord;
  5194. PMD5INV : longWord;
  5195. PMD6 : longWord;
  5196. PMD6CLR : longWord;
  5197. PMD6SET : longWord;
  5198. PMD6INV : longWord;
  5199. end;
  5200. TNVM_NVMCON = record
  5201. private
  5202. function getLVDERR : TBits_1; inline;
  5203. function getLVDSTAT : TBits_1; inline;
  5204. function getNVMOP : TBits_4; inline;
  5205. function getNVMOP0 : TBits_1; inline;
  5206. function getNVMOP1 : TBits_1; inline;
  5207. function getNVMOP2 : TBits_1; inline;
  5208. function getNVMOP3 : TBits_1; inline;
  5209. function getPROGOP : TBits_4; inline;
  5210. function getPROGOP0 : TBits_1; inline;
  5211. function getPROGOP1 : TBits_1; inline;
  5212. function getPROGOP2 : TBits_1; inline;
  5213. function getPROGOP3 : TBits_1; inline;
  5214. function getWR : TBits_1; inline;
  5215. function getWREN : TBits_1; inline;
  5216. function getWRERR : TBits_1; inline;
  5217. function getw : TBits_32; inline;
  5218. procedure setLVDERR(thebits : TBits_1); inline;
  5219. procedure setLVDSTAT(thebits : TBits_1); inline;
  5220. procedure setNVMOP(thebits : TBits_4); inline;
  5221. procedure setNVMOP0(thebits : TBits_1); inline;
  5222. procedure setNVMOP1(thebits : TBits_1); inline;
  5223. procedure setNVMOP2(thebits : TBits_1); inline;
  5224. procedure setNVMOP3(thebits : TBits_1); inline;
  5225. procedure setPROGOP(thebits : TBits_4); inline;
  5226. procedure setPROGOP0(thebits : TBits_1); inline;
  5227. procedure setPROGOP1(thebits : TBits_1); inline;
  5228. procedure setPROGOP2(thebits : TBits_1); inline;
  5229. procedure setPROGOP3(thebits : TBits_1); inline;
  5230. procedure setWR(thebits : TBits_1); inline;
  5231. procedure setWREN(thebits : TBits_1); inline;
  5232. procedure setWRERR(thebits : TBits_1); inline;
  5233. procedure setw(thebits : TBits_32); inline;
  5234. public
  5235. procedure clearLVDERR; inline;
  5236. procedure clearLVDSTAT; inline;
  5237. procedure clearNVMOP0; inline;
  5238. procedure clearNVMOP1; inline;
  5239. procedure clearNVMOP2; inline;
  5240. procedure clearNVMOP3; inline;
  5241. procedure clearPROGOP0; inline;
  5242. procedure clearPROGOP1; inline;
  5243. procedure clearPROGOP2; inline;
  5244. procedure clearPROGOP3; inline;
  5245. procedure clearWR; inline;
  5246. procedure clearWREN; inline;
  5247. procedure clearWRERR; inline;
  5248. procedure setLVDERR; inline;
  5249. procedure setLVDSTAT; inline;
  5250. procedure setNVMOP0; inline;
  5251. procedure setNVMOP1; inline;
  5252. procedure setNVMOP2; inline;
  5253. procedure setNVMOP3; inline;
  5254. procedure setPROGOP0; inline;
  5255. procedure setPROGOP1; inline;
  5256. procedure setPROGOP2; inline;
  5257. procedure setPROGOP3; inline;
  5258. procedure setWR; inline;
  5259. procedure setWREN; inline;
  5260. procedure setWRERR; inline;
  5261. property LVDERR : TBits_1 read getLVDERR write setLVDERR;
  5262. property LVDSTAT : TBits_1 read getLVDSTAT write setLVDSTAT;
  5263. property NVMOP : TBits_4 read getNVMOP write setNVMOP;
  5264. property NVMOP0 : TBits_1 read getNVMOP0 write setNVMOP0;
  5265. property NVMOP1 : TBits_1 read getNVMOP1 write setNVMOP1;
  5266. property NVMOP2 : TBits_1 read getNVMOP2 write setNVMOP2;
  5267. property NVMOP3 : TBits_1 read getNVMOP3 write setNVMOP3;
  5268. property PROGOP : TBits_4 read getPROGOP write setPROGOP;
  5269. property PROGOP0 : TBits_1 read getPROGOP0 write setPROGOP0;
  5270. property PROGOP1 : TBits_1 read getPROGOP1 write setPROGOP1;
  5271. property PROGOP2 : TBits_1 read getPROGOP2 write setPROGOP2;
  5272. property PROGOP3 : TBits_1 read getPROGOP3 write setPROGOP3;
  5273. property WR : TBits_1 read getWR write setWR;
  5274. property WREN : TBits_1 read getWREN write setWREN;
  5275. property WRERR : TBits_1 read getWRERR write setWRERR;
  5276. property w : TBits_32 read getw write setw;
  5277. end;
  5278. type
  5279. TNVMRegisters = record
  5280. NVMCONbits : TNVM_NVMCON;
  5281. NVMCON : longWord;
  5282. NVMCONCLR : longWord;
  5283. NVMCONSET : longWord;
  5284. NVMCONINV : longWord;
  5285. NVMKEY : longWord;
  5286. NVMADDR : longWord;
  5287. NVMADDRCLR : longWord;
  5288. NVMADDRSET : longWord;
  5289. NVMADDRINV : longWord;
  5290. NVMDATA : longWord;
  5291. NVMSRCADDR : longWord;
  5292. end;
  5293. TRCON_RCON = record
  5294. private
  5295. function getBOR : TBits_1; inline;
  5296. function getCMR : TBits_1; inline;
  5297. function getEXTR : TBits_1; inline;
  5298. function getIDLE : TBits_1; inline;
  5299. function getPOR : TBits_1; inline;
  5300. function getSLEEP : TBits_1; inline;
  5301. function getSWR : TBits_1; inline;
  5302. function getVREGS : TBits_1; inline;
  5303. function getWDTO : TBits_1; inline;
  5304. function getw : TBits_32; inline;
  5305. procedure setBOR(thebits : TBits_1); inline;
  5306. procedure setCMR(thebits : TBits_1); inline;
  5307. procedure setEXTR(thebits : TBits_1); inline;
  5308. procedure setIDLE(thebits : TBits_1); inline;
  5309. procedure setPOR(thebits : TBits_1); inline;
  5310. procedure setSLEEP(thebits : TBits_1); inline;
  5311. procedure setSWR(thebits : TBits_1); inline;
  5312. procedure setVREGS(thebits : TBits_1); inline;
  5313. procedure setWDTO(thebits : TBits_1); inline;
  5314. procedure setw(thebits : TBits_32); inline;
  5315. public
  5316. procedure clearBOR; inline;
  5317. procedure clearCMR; inline;
  5318. procedure clearEXTR; inline;
  5319. procedure clearIDLE; inline;
  5320. procedure clearPOR; inline;
  5321. procedure clearSLEEP; inline;
  5322. procedure clearSWR; inline;
  5323. procedure clearVREGS; inline;
  5324. procedure clearWDTO; inline;
  5325. procedure setBOR; inline;
  5326. procedure setCMR; inline;
  5327. procedure setEXTR; inline;
  5328. procedure setIDLE; inline;
  5329. procedure setPOR; inline;
  5330. procedure setSLEEP; inline;
  5331. procedure setSWR; inline;
  5332. procedure setVREGS; inline;
  5333. procedure setWDTO; inline;
  5334. property BOR : TBits_1 read getBOR write setBOR;
  5335. property CMR : TBits_1 read getCMR write setCMR;
  5336. property EXTR : TBits_1 read getEXTR write setEXTR;
  5337. property IDLE : TBits_1 read getIDLE write setIDLE;
  5338. property POR : TBits_1 read getPOR write setPOR;
  5339. property SLEEP : TBits_1 read getSLEEP write setSLEEP;
  5340. property SWR : TBits_1 read getSWR write setSWR;
  5341. property VREGS : TBits_1 read getVREGS write setVREGS;
  5342. property WDTO : TBits_1 read getWDTO write setWDTO;
  5343. property w : TBits_32 read getw write setw;
  5344. end;
  5345. TRCON_RSWRST = record
  5346. private
  5347. function getSWRST : TBits_1; inline;
  5348. function getw : TBits_32; inline;
  5349. procedure setSWRST(thebits : TBits_1); inline;
  5350. procedure setw(thebits : TBits_32); inline;
  5351. public
  5352. procedure clearSWRST; inline;
  5353. procedure setSWRST; inline;
  5354. property SWRST : TBits_1 read getSWRST write setSWRST;
  5355. property w : TBits_32 read getw write setw;
  5356. end;
  5357. type
  5358. TRCONRegisters = record
  5359. RCONbits : TRCON_RCON;
  5360. RCON : longWord;
  5361. RCONCLR : longWord;
  5362. RCONSET : longWord;
  5363. RCONINV : longWord;
  5364. RSWRSTbits : TRCON_RSWRST;
  5365. RSWRST : longWord;
  5366. RSWRSTCLR : longWord;
  5367. RSWRSTSET : longWord;
  5368. RSWRSTINV : longWord;
  5369. INT1R : longWord;
  5370. INT2R : longWord;
  5371. INT3R : longWord;
  5372. INT4R : longWord;
  5373. T2CKR : longWord;
  5374. T3CKR : longWord;
  5375. T4CKR : longWord;
  5376. T5CKR : longWord;
  5377. IC1R : longWord;
  5378. IC2R : longWord;
  5379. IC3R : longWord;
  5380. IC4R : longWord;
  5381. IC5R : longWord;
  5382. OCFAR : longWord;
  5383. OCFBR : longWord;
  5384. U1RXR : longWord;
  5385. U1CTSR : longWord;
  5386. U2RXR : longWord;
  5387. U2CTSR : longWord;
  5388. SDI1R : longWord;
  5389. SS1R : longWord;
  5390. SDI2R : longWord;
  5391. SS2R : longWord;
  5392. REFCLKIR : longWord;
  5393. RPA0R : longWord;
  5394. RPA1R : longWord;
  5395. RPA2R : longWord;
  5396. RPA3R : longWord;
  5397. RPA4R : longWord;
  5398. RPA8R : longWord;
  5399. RPA9R : longWord;
  5400. RPB0R : longWord;
  5401. RPB1R : longWord;
  5402. RPB2R : longWord;
  5403. RPB3R : longWord;
  5404. RPB4R : longWord;
  5405. RPB5R : longWord;
  5406. RPB6R : longWord;
  5407. RPB7R : longWord;
  5408. RPB8R : longWord;
  5409. RPB9R : longWord;
  5410. RPB10R : longWord;
  5411. RPB11R : longWord;
  5412. RPB12R : longWord;
  5413. RPB13R : longWord;
  5414. RPB14R : longWord;
  5415. RPB15R : longWord;
  5416. RPC0R : longWord;
  5417. RPC1R : longWord;
  5418. RPC2R : longWord;
  5419. RPC3R : longWord;
  5420. RPC4R : longWord;
  5421. RPC5R : longWord;
  5422. RPC6R : longWord;
  5423. RPC7R : longWord;
  5424. RPC8R : longWord;
  5425. RPC9R : longWord;
  5426. end;
  5427. TINT_INTCON = record
  5428. private
  5429. function getINT0EP : TBits_1; inline;
  5430. function getINT1EP : TBits_1; inline;
  5431. function getINT2EP : TBits_1; inline;
  5432. function getINT3EP : TBits_1; inline;
  5433. function getINT4EP : TBits_1; inline;
  5434. function getMVEC : TBits_1; inline;
  5435. function getSS0 : TBits_1; inline;
  5436. function getTPC : TBits_3; inline;
  5437. function getw : TBits_32; inline;
  5438. procedure setINT0EP(thebits : TBits_1); inline;
  5439. procedure setINT1EP(thebits : TBits_1); inline;
  5440. procedure setINT2EP(thebits : TBits_1); inline;
  5441. procedure setINT3EP(thebits : TBits_1); inline;
  5442. procedure setINT4EP(thebits : TBits_1); inline;
  5443. procedure setMVEC(thebits : TBits_1); inline;
  5444. procedure setSS0(thebits : TBits_1); inline;
  5445. procedure setTPC(thebits : TBits_3); inline;
  5446. procedure setw(thebits : TBits_32); inline;
  5447. public
  5448. procedure clearINT0EP; inline;
  5449. procedure clearINT1EP; inline;
  5450. procedure clearINT2EP; inline;
  5451. procedure clearINT3EP; inline;
  5452. procedure clearINT4EP; inline;
  5453. procedure clearMVEC; inline;
  5454. procedure clearSS0; inline;
  5455. procedure setINT0EP; inline;
  5456. procedure setINT1EP; inline;
  5457. procedure setINT2EP; inline;
  5458. procedure setINT3EP; inline;
  5459. procedure setINT4EP; inline;
  5460. procedure setMVEC; inline;
  5461. procedure setSS0; inline;
  5462. property INT0EP : TBits_1 read getINT0EP write setINT0EP;
  5463. property INT1EP : TBits_1 read getINT1EP write setINT1EP;
  5464. property INT2EP : TBits_1 read getINT2EP write setINT2EP;
  5465. property INT3EP : TBits_1 read getINT3EP write setINT3EP;
  5466. property INT4EP : TBits_1 read getINT4EP write setINT4EP;
  5467. property MVEC : TBits_1 read getMVEC write setMVEC;
  5468. property SS0 : TBits_1 read getSS0 write setSS0;
  5469. property TPC : TBits_3 read getTPC write setTPC;
  5470. property w : TBits_32 read getw write setw;
  5471. end;
  5472. TINT_IFS0 = record
  5473. private
  5474. function getAD1IF : TBits_1; inline;
  5475. function getCS0IF : TBits_1; inline;
  5476. function getCS1IF : TBits_1; inline;
  5477. function getCTIF : TBits_1; inline;
  5478. function getFCEIF : TBits_1; inline;
  5479. function getFSCMIF : TBits_1; inline;
  5480. function getIC1EIF : TBits_1; inline;
  5481. function getIC1IF : TBits_1; inline;
  5482. function getIC2EIF : TBits_1; inline;
  5483. function getIC2IF : TBits_1; inline;
  5484. function getIC3EIF : TBits_1; inline;
  5485. function getIC3IF : TBits_1; inline;
  5486. function getIC4EIF : TBits_1; inline;
  5487. function getIC4IF : TBits_1; inline;
  5488. function getIC5EIF : TBits_1; inline;
  5489. function getIC5IF : TBits_1; inline;
  5490. function getINT0IF : TBits_1; inline;
  5491. function getINT1IF : TBits_1; inline;
  5492. function getINT2IF : TBits_1; inline;
  5493. function getINT3IF : TBits_1; inline;
  5494. function getINT4IF : TBits_1; inline;
  5495. function getOC1IF : TBits_1; inline;
  5496. function getOC2IF : TBits_1; inline;
  5497. function getOC3IF : TBits_1; inline;
  5498. function getOC4IF : TBits_1; inline;
  5499. function getOC5IF : TBits_1; inline;
  5500. function getRTCCIF : TBits_1; inline;
  5501. function getT1IF : TBits_1; inline;
  5502. function getT2IF : TBits_1; inline;
  5503. function getT3IF : TBits_1; inline;
  5504. function getT4IF : TBits_1; inline;
  5505. function getT5IF : TBits_1; inline;
  5506. function getw : TBits_32; inline;
  5507. procedure setAD1IF(thebits : TBits_1); inline;
  5508. procedure setCS0IF(thebits : TBits_1); inline;
  5509. procedure setCS1IF(thebits : TBits_1); inline;
  5510. procedure setCTIF(thebits : TBits_1); inline;
  5511. procedure setFCEIF(thebits : TBits_1); inline;
  5512. procedure setFSCMIF(thebits : TBits_1); inline;
  5513. procedure setIC1EIF(thebits : TBits_1); inline;
  5514. procedure setIC1IF(thebits : TBits_1); inline;
  5515. procedure setIC2EIF(thebits : TBits_1); inline;
  5516. procedure setIC2IF(thebits : TBits_1); inline;
  5517. procedure setIC3EIF(thebits : TBits_1); inline;
  5518. procedure setIC3IF(thebits : TBits_1); inline;
  5519. procedure setIC4EIF(thebits : TBits_1); inline;
  5520. procedure setIC4IF(thebits : TBits_1); inline;
  5521. procedure setIC5EIF(thebits : TBits_1); inline;
  5522. procedure setIC5IF(thebits : TBits_1); inline;
  5523. procedure setINT0IF(thebits : TBits_1); inline;
  5524. procedure setINT1IF(thebits : TBits_1); inline;
  5525. procedure setINT2IF(thebits : TBits_1); inline;
  5526. procedure setINT3IF(thebits : TBits_1); inline;
  5527. procedure setINT4IF(thebits : TBits_1); inline;
  5528. procedure setOC1IF(thebits : TBits_1); inline;
  5529. procedure setOC2IF(thebits : TBits_1); inline;
  5530. procedure setOC3IF(thebits : TBits_1); inline;
  5531. procedure setOC4IF(thebits : TBits_1); inline;
  5532. procedure setOC5IF(thebits : TBits_1); inline;
  5533. procedure setRTCCIF(thebits : TBits_1); inline;
  5534. procedure setT1IF(thebits : TBits_1); inline;
  5535. procedure setT2IF(thebits : TBits_1); inline;
  5536. procedure setT3IF(thebits : TBits_1); inline;
  5537. procedure setT4IF(thebits : TBits_1); inline;
  5538. procedure setT5IF(thebits : TBits_1); inline;
  5539. procedure setw(thebits : TBits_32); inline;
  5540. public
  5541. procedure clearAD1IF; inline;
  5542. procedure clearCS0IF; inline;
  5543. procedure clearCS1IF; inline;
  5544. procedure clearCTIF; inline;
  5545. procedure clearFCEIF; inline;
  5546. procedure clearFSCMIF; inline;
  5547. procedure clearIC1EIF; inline;
  5548. procedure clearIC1IF; inline;
  5549. procedure clearIC2EIF; inline;
  5550. procedure clearIC2IF; inline;
  5551. procedure clearIC3EIF; inline;
  5552. procedure clearIC3IF; inline;
  5553. procedure clearIC4EIF; inline;
  5554. procedure clearIC4IF; inline;
  5555. procedure clearIC5EIF; inline;
  5556. procedure clearIC5IF; inline;
  5557. procedure clearINT0IF; inline;
  5558. procedure clearINT1IF; inline;
  5559. procedure clearINT2IF; inline;
  5560. procedure clearINT3IF; inline;
  5561. procedure clearINT4IF; inline;
  5562. procedure clearOC1IF; inline;
  5563. procedure clearOC2IF; inline;
  5564. procedure clearOC3IF; inline;
  5565. procedure clearOC4IF; inline;
  5566. procedure clearOC5IF; inline;
  5567. procedure clearRTCCIF; inline;
  5568. procedure clearT1IF; inline;
  5569. procedure clearT2IF; inline;
  5570. procedure clearT3IF; inline;
  5571. procedure clearT4IF; inline;
  5572. procedure clearT5IF; inline;
  5573. procedure setAD1IF; inline;
  5574. procedure setCS0IF; inline;
  5575. procedure setCS1IF; inline;
  5576. procedure setCTIF; inline;
  5577. procedure setFCEIF; inline;
  5578. procedure setFSCMIF; inline;
  5579. procedure setIC1EIF; inline;
  5580. procedure setIC1IF; inline;
  5581. procedure setIC2EIF; inline;
  5582. procedure setIC2IF; inline;
  5583. procedure setIC3EIF; inline;
  5584. procedure setIC3IF; inline;
  5585. procedure setIC4EIF; inline;
  5586. procedure setIC4IF; inline;
  5587. procedure setIC5EIF; inline;
  5588. procedure setIC5IF; inline;
  5589. procedure setINT0IF; inline;
  5590. procedure setINT1IF; inline;
  5591. procedure setINT2IF; inline;
  5592. procedure setINT3IF; inline;
  5593. procedure setINT4IF; inline;
  5594. procedure setOC1IF; inline;
  5595. procedure setOC2IF; inline;
  5596. procedure setOC3IF; inline;
  5597. procedure setOC4IF; inline;
  5598. procedure setOC5IF; inline;
  5599. procedure setRTCCIF; inline;
  5600. procedure setT1IF; inline;
  5601. procedure setT2IF; inline;
  5602. procedure setT3IF; inline;
  5603. procedure setT4IF; inline;
  5604. procedure setT5IF; inline;
  5605. property AD1IF : TBits_1 read getAD1IF write setAD1IF;
  5606. property CS0IF : TBits_1 read getCS0IF write setCS0IF;
  5607. property CS1IF : TBits_1 read getCS1IF write setCS1IF;
  5608. property CTIF : TBits_1 read getCTIF write setCTIF;
  5609. property FCEIF : TBits_1 read getFCEIF write setFCEIF;
  5610. property FSCMIF : TBits_1 read getFSCMIF write setFSCMIF;
  5611. property IC1EIF : TBits_1 read getIC1EIF write setIC1EIF;
  5612. property IC1IF : TBits_1 read getIC1IF write setIC1IF;
  5613. property IC2EIF : TBits_1 read getIC2EIF write setIC2EIF;
  5614. property IC2IF : TBits_1 read getIC2IF write setIC2IF;
  5615. property IC3EIF : TBits_1 read getIC3EIF write setIC3EIF;
  5616. property IC3IF : TBits_1 read getIC3IF write setIC3IF;
  5617. property IC4EIF : TBits_1 read getIC4EIF write setIC4EIF;
  5618. property IC4IF : TBits_1 read getIC4IF write setIC4IF;
  5619. property IC5EIF : TBits_1 read getIC5EIF write setIC5EIF;
  5620. property IC5IF : TBits_1 read getIC5IF write setIC5IF;
  5621. property INT0IF : TBits_1 read getINT0IF write setINT0IF;
  5622. property INT1IF : TBits_1 read getINT1IF write setINT1IF;
  5623. property INT2IF : TBits_1 read getINT2IF write setINT2IF;
  5624. property INT3IF : TBits_1 read getINT3IF write setINT3IF;
  5625. property INT4IF : TBits_1 read getINT4IF write setINT4IF;
  5626. property OC1IF : TBits_1 read getOC1IF write setOC1IF;
  5627. property OC2IF : TBits_1 read getOC2IF write setOC2IF;
  5628. property OC3IF : TBits_1 read getOC3IF write setOC3IF;
  5629. property OC4IF : TBits_1 read getOC4IF write setOC4IF;
  5630. property OC5IF : TBits_1 read getOC5IF write setOC5IF;
  5631. property RTCCIF : TBits_1 read getRTCCIF write setRTCCIF;
  5632. property T1IF : TBits_1 read getT1IF write setT1IF;
  5633. property T2IF : TBits_1 read getT2IF write setT2IF;
  5634. property T3IF : TBits_1 read getT3IF write setT3IF;
  5635. property T4IF : TBits_1 read getT4IF write setT4IF;
  5636. property T5IF : TBits_1 read getT5IF write setT5IF;
  5637. property w : TBits_32 read getw write setw;
  5638. end;
  5639. TINT_IFS1 = record
  5640. private
  5641. function getCMP1IF : TBits_1; inline;
  5642. function getCMP2IF : TBits_1; inline;
  5643. function getCMP3IF : TBits_1; inline;
  5644. function getCNAIF : TBits_1; inline;
  5645. function getCNBIF : TBits_1; inline;
  5646. function getCNCIF : TBits_1; inline;
  5647. function getCTMUIF : TBits_1; inline;
  5648. function getDMA0IF : TBits_1; inline;
  5649. function getDMA1IF : TBits_1; inline;
  5650. function getDMA2IF : TBits_1; inline;
  5651. function getDMA3IF : TBits_1; inline;
  5652. function getI2C1BIF : TBits_1; inline;
  5653. function getI2C1MIF : TBits_1; inline;
  5654. function getI2C1SIF : TBits_1; inline;
  5655. function getI2C2BIF : TBits_1; inline;
  5656. function getI2C2MIF : TBits_1; inline;
  5657. function getI2C2SIF : TBits_1; inline;
  5658. function getPMPEIF : TBits_1; inline;
  5659. function getPMPIF : TBits_1; inline;
  5660. function getSPI1EIF : TBits_1; inline;
  5661. function getSPI1RXIF : TBits_1; inline;
  5662. function getSPI1TXIF : TBits_1; inline;
  5663. function getSPI2EIF : TBits_1; inline;
  5664. function getSPI2RXIF : TBits_1; inline;
  5665. function getSPI2TXIF : TBits_1; inline;
  5666. function getU1EIF : TBits_1; inline;
  5667. function getU1RXIF : TBits_1; inline;
  5668. function getU1TXIF : TBits_1; inline;
  5669. function getU2EIF : TBits_1; inline;
  5670. function getU2RXIF : TBits_1; inline;
  5671. function getU2TXIF : TBits_1; inline;
  5672. function getw : TBits_32; inline;
  5673. procedure setCMP1IF(thebits : TBits_1); inline;
  5674. procedure setCMP2IF(thebits : TBits_1); inline;
  5675. procedure setCMP3IF(thebits : TBits_1); inline;
  5676. procedure setCNAIF(thebits : TBits_1); inline;
  5677. procedure setCNBIF(thebits : TBits_1); inline;
  5678. procedure setCNCIF(thebits : TBits_1); inline;
  5679. procedure setCTMUIF(thebits : TBits_1); inline;
  5680. procedure setDMA0IF(thebits : TBits_1); inline;
  5681. procedure setDMA1IF(thebits : TBits_1); inline;
  5682. procedure setDMA2IF(thebits : TBits_1); inline;
  5683. procedure setDMA3IF(thebits : TBits_1); inline;
  5684. procedure setI2C1BIF(thebits : TBits_1); inline;
  5685. procedure setI2C1MIF(thebits : TBits_1); inline;
  5686. procedure setI2C1SIF(thebits : TBits_1); inline;
  5687. procedure setI2C2BIF(thebits : TBits_1); inline;
  5688. procedure setI2C2MIF(thebits : TBits_1); inline;
  5689. procedure setI2C2SIF(thebits : TBits_1); inline;
  5690. procedure setPMPEIF(thebits : TBits_1); inline;
  5691. procedure setPMPIF(thebits : TBits_1); inline;
  5692. procedure setSPI1EIF(thebits : TBits_1); inline;
  5693. procedure setSPI1RXIF(thebits : TBits_1); inline;
  5694. procedure setSPI1TXIF(thebits : TBits_1); inline;
  5695. procedure setSPI2EIF(thebits : TBits_1); inline;
  5696. procedure setSPI2RXIF(thebits : TBits_1); inline;
  5697. procedure setSPI2TXIF(thebits : TBits_1); inline;
  5698. procedure setU1EIF(thebits : TBits_1); inline;
  5699. procedure setU1RXIF(thebits : TBits_1); inline;
  5700. procedure setU1TXIF(thebits : TBits_1); inline;
  5701. procedure setU2EIF(thebits : TBits_1); inline;
  5702. procedure setU2RXIF(thebits : TBits_1); inline;
  5703. procedure setU2TXIF(thebits : TBits_1); inline;
  5704. procedure setw(thebits : TBits_32); inline;
  5705. public
  5706. procedure clearCMP1IF; inline;
  5707. procedure clearCMP2IF; inline;
  5708. procedure clearCMP3IF; inline;
  5709. procedure clearCNAIF; inline;
  5710. procedure clearCNBIF; inline;
  5711. procedure clearCNCIF; inline;
  5712. procedure clearCTMUIF; inline;
  5713. procedure clearDMA0IF; inline;
  5714. procedure clearDMA1IF; inline;
  5715. procedure clearDMA2IF; inline;
  5716. procedure clearDMA3IF; inline;
  5717. procedure clearI2C1BIF; inline;
  5718. procedure clearI2C1MIF; inline;
  5719. procedure clearI2C1SIF; inline;
  5720. procedure clearI2C2BIF; inline;
  5721. procedure clearI2C2MIF; inline;
  5722. procedure clearI2C2SIF; inline;
  5723. procedure clearPMPEIF; inline;
  5724. procedure clearPMPIF; inline;
  5725. procedure clearSPI1EIF; inline;
  5726. procedure clearSPI1RXIF; inline;
  5727. procedure clearSPI1TXIF; inline;
  5728. procedure clearSPI2EIF; inline;
  5729. procedure clearSPI2RXIF; inline;
  5730. procedure clearSPI2TXIF; inline;
  5731. procedure clearU1EIF; inline;
  5732. procedure clearU1RXIF; inline;
  5733. procedure clearU1TXIF; inline;
  5734. procedure clearU2EIF; inline;
  5735. procedure clearU2RXIF; inline;
  5736. procedure clearU2TXIF; inline;
  5737. procedure setCMP1IF; inline;
  5738. procedure setCMP2IF; inline;
  5739. procedure setCMP3IF; inline;
  5740. procedure setCNAIF; inline;
  5741. procedure setCNBIF; inline;
  5742. procedure setCNCIF; inline;
  5743. procedure setCTMUIF; inline;
  5744. procedure setDMA0IF; inline;
  5745. procedure setDMA1IF; inline;
  5746. procedure setDMA2IF; inline;
  5747. procedure setDMA3IF; inline;
  5748. procedure setI2C1BIF; inline;
  5749. procedure setI2C1MIF; inline;
  5750. procedure setI2C1SIF; inline;
  5751. procedure setI2C2BIF; inline;
  5752. procedure setI2C2MIF; inline;
  5753. procedure setI2C2SIF; inline;
  5754. procedure setPMPEIF; inline;
  5755. procedure setPMPIF; inline;
  5756. procedure setSPI1EIF; inline;
  5757. procedure setSPI1RXIF; inline;
  5758. procedure setSPI1TXIF; inline;
  5759. procedure setSPI2EIF; inline;
  5760. procedure setSPI2RXIF; inline;
  5761. procedure setSPI2TXIF; inline;
  5762. procedure setU1EIF; inline;
  5763. procedure setU1RXIF; inline;
  5764. procedure setU1TXIF; inline;
  5765. procedure setU2EIF; inline;
  5766. procedure setU2RXIF; inline;
  5767. procedure setU2TXIF; inline;
  5768. property CMP1IF : TBits_1 read getCMP1IF write setCMP1IF;
  5769. property CMP2IF : TBits_1 read getCMP2IF write setCMP2IF;
  5770. property CMP3IF : TBits_1 read getCMP3IF write setCMP3IF;
  5771. property CNAIF : TBits_1 read getCNAIF write setCNAIF;
  5772. property CNBIF : TBits_1 read getCNBIF write setCNBIF;
  5773. property CNCIF : TBits_1 read getCNCIF write setCNCIF;
  5774. property CTMUIF : TBits_1 read getCTMUIF write setCTMUIF;
  5775. property DMA0IF : TBits_1 read getDMA0IF write setDMA0IF;
  5776. property DMA1IF : TBits_1 read getDMA1IF write setDMA1IF;
  5777. property DMA2IF : TBits_1 read getDMA2IF write setDMA2IF;
  5778. property DMA3IF : TBits_1 read getDMA3IF write setDMA3IF;
  5779. property I2C1BIF : TBits_1 read getI2C1BIF write setI2C1BIF;
  5780. property I2C1MIF : TBits_1 read getI2C1MIF write setI2C1MIF;
  5781. property I2C1SIF : TBits_1 read getI2C1SIF write setI2C1SIF;
  5782. property I2C2BIF : TBits_1 read getI2C2BIF write setI2C2BIF;
  5783. property I2C2MIF : TBits_1 read getI2C2MIF write setI2C2MIF;
  5784. property I2C2SIF : TBits_1 read getI2C2SIF write setI2C2SIF;
  5785. property PMPEIF : TBits_1 read getPMPEIF write setPMPEIF;
  5786. property PMPIF : TBits_1 read getPMPIF write setPMPIF;
  5787. property SPI1EIF : TBits_1 read getSPI1EIF write setSPI1EIF;
  5788. property SPI1RXIF : TBits_1 read getSPI1RXIF write setSPI1RXIF;
  5789. property SPI1TXIF : TBits_1 read getSPI1TXIF write setSPI1TXIF;
  5790. property SPI2EIF : TBits_1 read getSPI2EIF write setSPI2EIF;
  5791. property SPI2RXIF : TBits_1 read getSPI2RXIF write setSPI2RXIF;
  5792. property SPI2TXIF : TBits_1 read getSPI2TXIF write setSPI2TXIF;
  5793. property U1EIF : TBits_1 read getU1EIF write setU1EIF;
  5794. property U1RXIF : TBits_1 read getU1RXIF write setU1RXIF;
  5795. property U1TXIF : TBits_1 read getU1TXIF write setU1TXIF;
  5796. property U2EIF : TBits_1 read getU2EIF write setU2EIF;
  5797. property U2RXIF : TBits_1 read getU2RXIF write setU2RXIF;
  5798. property U2TXIF : TBits_1 read getU2TXIF write setU2TXIF;
  5799. property w : TBits_32 read getw write setw;
  5800. end;
  5801. TINT_IEC0 = record
  5802. private
  5803. function getAD1IE : TBits_1; inline;
  5804. function getCS0IE : TBits_1; inline;
  5805. function getCS1IE : TBits_1; inline;
  5806. function getCTIE : TBits_1; inline;
  5807. function getFCEIE : TBits_1; inline;
  5808. function getFSCMIE : TBits_1; inline;
  5809. function getIC1EIE : TBits_1; inline;
  5810. function getIC1IE : TBits_1; inline;
  5811. function getIC2EIE : TBits_1; inline;
  5812. function getIC2IE : TBits_1; inline;
  5813. function getIC3EIE : TBits_1; inline;
  5814. function getIC3IE : TBits_1; inline;
  5815. function getIC4EIE : TBits_1; inline;
  5816. function getIC4IE : TBits_1; inline;
  5817. function getIC5EIE : TBits_1; inline;
  5818. function getIC5IE : TBits_1; inline;
  5819. function getINT0IE : TBits_1; inline;
  5820. function getINT1IE : TBits_1; inline;
  5821. function getINT2IE : TBits_1; inline;
  5822. function getINT3IE : TBits_1; inline;
  5823. function getINT4IE : TBits_1; inline;
  5824. function getOC1IE : TBits_1; inline;
  5825. function getOC2IE : TBits_1; inline;
  5826. function getOC3IE : TBits_1; inline;
  5827. function getOC4IE : TBits_1; inline;
  5828. function getOC5IE : TBits_1; inline;
  5829. function getRTCCIE : TBits_1; inline;
  5830. function getT1IE : TBits_1; inline;
  5831. function getT2IE : TBits_1; inline;
  5832. function getT3IE : TBits_1; inline;
  5833. function getT4IE : TBits_1; inline;
  5834. function getT5IE : TBits_1; inline;
  5835. function getw : TBits_32; inline;
  5836. procedure setAD1IE(thebits : TBits_1); inline;
  5837. procedure setCS0IE(thebits : TBits_1); inline;
  5838. procedure setCS1IE(thebits : TBits_1); inline;
  5839. procedure setCTIE(thebits : TBits_1); inline;
  5840. procedure setFCEIE(thebits : TBits_1); inline;
  5841. procedure setFSCMIE(thebits : TBits_1); inline;
  5842. procedure setIC1EIE(thebits : TBits_1); inline;
  5843. procedure setIC1IE(thebits : TBits_1); inline;
  5844. procedure setIC2EIE(thebits : TBits_1); inline;
  5845. procedure setIC2IE(thebits : TBits_1); inline;
  5846. procedure setIC3EIE(thebits : TBits_1); inline;
  5847. procedure setIC3IE(thebits : TBits_1); inline;
  5848. procedure setIC4EIE(thebits : TBits_1); inline;
  5849. procedure setIC4IE(thebits : TBits_1); inline;
  5850. procedure setIC5EIE(thebits : TBits_1); inline;
  5851. procedure setIC5IE(thebits : TBits_1); inline;
  5852. procedure setINT0IE(thebits : TBits_1); inline;
  5853. procedure setINT1IE(thebits : TBits_1); inline;
  5854. procedure setINT2IE(thebits : TBits_1); inline;
  5855. procedure setINT3IE(thebits : TBits_1); inline;
  5856. procedure setINT4IE(thebits : TBits_1); inline;
  5857. procedure setOC1IE(thebits : TBits_1); inline;
  5858. procedure setOC2IE(thebits : TBits_1); inline;
  5859. procedure setOC3IE(thebits : TBits_1); inline;
  5860. procedure setOC4IE(thebits : TBits_1); inline;
  5861. procedure setOC5IE(thebits : TBits_1); inline;
  5862. procedure setRTCCIE(thebits : TBits_1); inline;
  5863. procedure setT1IE(thebits : TBits_1); inline;
  5864. procedure setT2IE(thebits : TBits_1); inline;
  5865. procedure setT3IE(thebits : TBits_1); inline;
  5866. procedure setT4IE(thebits : TBits_1); inline;
  5867. procedure setT5IE(thebits : TBits_1); inline;
  5868. procedure setw(thebits : TBits_32); inline;
  5869. public
  5870. procedure clearAD1IE; inline;
  5871. procedure clearCS0IE; inline;
  5872. procedure clearCS1IE; inline;
  5873. procedure clearCTIE; inline;
  5874. procedure clearFCEIE; inline;
  5875. procedure clearFSCMIE; inline;
  5876. procedure clearIC1EIE; inline;
  5877. procedure clearIC1IE; inline;
  5878. procedure clearIC2EIE; inline;
  5879. procedure clearIC2IE; inline;
  5880. procedure clearIC3EIE; inline;
  5881. procedure clearIC3IE; inline;
  5882. procedure clearIC4EIE; inline;
  5883. procedure clearIC4IE; inline;
  5884. procedure clearIC5EIE; inline;
  5885. procedure clearIC5IE; inline;
  5886. procedure clearINT0IE; inline;
  5887. procedure clearINT1IE; inline;
  5888. procedure clearINT2IE; inline;
  5889. procedure clearINT3IE; inline;
  5890. procedure clearINT4IE; inline;
  5891. procedure clearOC1IE; inline;
  5892. procedure clearOC2IE; inline;
  5893. procedure clearOC3IE; inline;
  5894. procedure clearOC4IE; inline;
  5895. procedure clearOC5IE; inline;
  5896. procedure clearRTCCIE; inline;
  5897. procedure clearT1IE; inline;
  5898. procedure clearT2IE; inline;
  5899. procedure clearT3IE; inline;
  5900. procedure clearT4IE; inline;
  5901. procedure clearT5IE; inline;
  5902. procedure setAD1IE; inline;
  5903. procedure setCS0IE; inline;
  5904. procedure setCS1IE; inline;
  5905. procedure setCTIE; inline;
  5906. procedure setFCEIE; inline;
  5907. procedure setFSCMIE; inline;
  5908. procedure setIC1EIE; inline;
  5909. procedure setIC1IE; inline;
  5910. procedure setIC2EIE; inline;
  5911. procedure setIC2IE; inline;
  5912. procedure setIC3EIE; inline;
  5913. procedure setIC3IE; inline;
  5914. procedure setIC4EIE; inline;
  5915. procedure setIC4IE; inline;
  5916. procedure setIC5EIE; inline;
  5917. procedure setIC5IE; inline;
  5918. procedure setINT0IE; inline;
  5919. procedure setINT1IE; inline;
  5920. procedure setINT2IE; inline;
  5921. procedure setINT3IE; inline;
  5922. procedure setINT4IE; inline;
  5923. procedure setOC1IE; inline;
  5924. procedure setOC2IE; inline;
  5925. procedure setOC3IE; inline;
  5926. procedure setOC4IE; inline;
  5927. procedure setOC5IE; inline;
  5928. procedure setRTCCIE; inline;
  5929. procedure setT1IE; inline;
  5930. procedure setT2IE; inline;
  5931. procedure setT3IE; inline;
  5932. procedure setT4IE; inline;
  5933. procedure setT5IE; inline;
  5934. property AD1IE : TBits_1 read getAD1IE write setAD1IE;
  5935. property CS0IE : TBits_1 read getCS0IE write setCS0IE;
  5936. property CS1IE : TBits_1 read getCS1IE write setCS1IE;
  5937. property CTIE : TBits_1 read getCTIE write setCTIE;
  5938. property FCEIE : TBits_1 read getFCEIE write setFCEIE;
  5939. property FSCMIE : TBits_1 read getFSCMIE write setFSCMIE;
  5940. property IC1EIE : TBits_1 read getIC1EIE write setIC1EIE;
  5941. property IC1IE : TBits_1 read getIC1IE write setIC1IE;
  5942. property IC2EIE : TBits_1 read getIC2EIE write setIC2EIE;
  5943. property IC2IE : TBits_1 read getIC2IE write setIC2IE;
  5944. property IC3EIE : TBits_1 read getIC3EIE write setIC3EIE;
  5945. property IC3IE : TBits_1 read getIC3IE write setIC3IE;
  5946. property IC4EIE : TBits_1 read getIC4EIE write setIC4EIE;
  5947. property IC4IE : TBits_1 read getIC4IE write setIC4IE;
  5948. property IC5EIE : TBits_1 read getIC5EIE write setIC5EIE;
  5949. property IC5IE : TBits_1 read getIC5IE write setIC5IE;
  5950. property INT0IE : TBits_1 read getINT0IE write setINT0IE;
  5951. property INT1IE : TBits_1 read getINT1IE write setINT1IE;
  5952. property INT2IE : TBits_1 read getINT2IE write setINT2IE;
  5953. property INT3IE : TBits_1 read getINT3IE write setINT3IE;
  5954. property INT4IE : TBits_1 read getINT4IE write setINT4IE;
  5955. property OC1IE : TBits_1 read getOC1IE write setOC1IE;
  5956. property OC2IE : TBits_1 read getOC2IE write setOC2IE;
  5957. property OC3IE : TBits_1 read getOC3IE write setOC3IE;
  5958. property OC4IE : TBits_1 read getOC4IE write setOC4IE;
  5959. property OC5IE : TBits_1 read getOC5IE write setOC5IE;
  5960. property RTCCIE : TBits_1 read getRTCCIE write setRTCCIE;
  5961. property T1IE : TBits_1 read getT1IE write setT1IE;
  5962. property T2IE : TBits_1 read getT2IE write setT2IE;
  5963. property T3IE : TBits_1 read getT3IE write setT3IE;
  5964. property T4IE : TBits_1 read getT4IE write setT4IE;
  5965. property T5IE : TBits_1 read getT5IE write setT5IE;
  5966. property w : TBits_32 read getw write setw;
  5967. end;
  5968. TINT_IEC1 = record
  5969. private
  5970. function getCMP1IE : TBits_1; inline;
  5971. function getCMP2IE : TBits_1; inline;
  5972. function getCMP3IE : TBits_1; inline;
  5973. function getCNAIE : TBits_1; inline;
  5974. function getCNBIE : TBits_1; inline;
  5975. function getCNCIE : TBits_1; inline;
  5976. function getCTMUIE : TBits_1; inline;
  5977. function getDMA0IE : TBits_1; inline;
  5978. function getDMA1IE : TBits_1; inline;
  5979. function getDMA2IE : TBits_1; inline;
  5980. function getDMA3IE : TBits_1; inline;
  5981. function getI2C1BIE : TBits_1; inline;
  5982. function getI2C1MIE : TBits_1; inline;
  5983. function getI2C1SIE : TBits_1; inline;
  5984. function getI2C2BIE : TBits_1; inline;
  5985. function getI2C2MIE : TBits_1; inline;
  5986. function getI2C2SIE : TBits_1; inline;
  5987. function getPMPEIE : TBits_1; inline;
  5988. function getPMPIE : TBits_1; inline;
  5989. function getSPI1EIE : TBits_1; inline;
  5990. function getSPI1RXIE : TBits_1; inline;
  5991. function getSPI1TXIE : TBits_1; inline;
  5992. function getSPI2EIE : TBits_1; inline;
  5993. function getSPI2RXIE : TBits_1; inline;
  5994. function getSPI2TXIE : TBits_1; inline;
  5995. function getU1EIE : TBits_1; inline;
  5996. function getU1RXIE : TBits_1; inline;
  5997. function getU1TXIE : TBits_1; inline;
  5998. function getU2EIE : TBits_1; inline;
  5999. function getU2RXIE : TBits_1; inline;
  6000. function getU2TXIE : TBits_1; inline;
  6001. function getw : TBits_32; inline;
  6002. procedure setCMP1IE(thebits : TBits_1); inline;
  6003. procedure setCMP2IE(thebits : TBits_1); inline;
  6004. procedure setCMP3IE(thebits : TBits_1); inline;
  6005. procedure setCNAIE(thebits : TBits_1); inline;
  6006. procedure setCNBIE(thebits : TBits_1); inline;
  6007. procedure setCNCIE(thebits : TBits_1); inline;
  6008. procedure setCTMUIE(thebits : TBits_1); inline;
  6009. procedure setDMA0IE(thebits : TBits_1); inline;
  6010. procedure setDMA1IE(thebits : TBits_1); inline;
  6011. procedure setDMA2IE(thebits : TBits_1); inline;
  6012. procedure setDMA3IE(thebits : TBits_1); inline;
  6013. procedure setI2C1BIE(thebits : TBits_1); inline;
  6014. procedure setI2C1MIE(thebits : TBits_1); inline;
  6015. procedure setI2C1SIE(thebits : TBits_1); inline;
  6016. procedure setI2C2BIE(thebits : TBits_1); inline;
  6017. procedure setI2C2MIE(thebits : TBits_1); inline;
  6018. procedure setI2C2SIE(thebits : TBits_1); inline;
  6019. procedure setPMPEIE(thebits : TBits_1); inline;
  6020. procedure setPMPIE(thebits : TBits_1); inline;
  6021. procedure setSPI1EIE(thebits : TBits_1); inline;
  6022. procedure setSPI1RXIE(thebits : TBits_1); inline;
  6023. procedure setSPI1TXIE(thebits : TBits_1); inline;
  6024. procedure setSPI2EIE(thebits : TBits_1); inline;
  6025. procedure setSPI2RXIE(thebits : TBits_1); inline;
  6026. procedure setSPI2TXIE(thebits : TBits_1); inline;
  6027. procedure setU1EIE(thebits : TBits_1); inline;
  6028. procedure setU1RXIE(thebits : TBits_1); inline;
  6029. procedure setU1TXIE(thebits : TBits_1); inline;
  6030. procedure setU2EIE(thebits : TBits_1); inline;
  6031. procedure setU2RXIE(thebits : TBits_1); inline;
  6032. procedure setU2TXIE(thebits : TBits_1); inline;
  6033. procedure setw(thebits : TBits_32); inline;
  6034. public
  6035. procedure clearCMP1IE; inline;
  6036. procedure clearCMP2IE; inline;
  6037. procedure clearCMP3IE; inline;
  6038. procedure clearCNAIE; inline;
  6039. procedure clearCNBIE; inline;
  6040. procedure clearCNCIE; inline;
  6041. procedure clearCTMUIE; inline;
  6042. procedure clearDMA0IE; inline;
  6043. procedure clearDMA1IE; inline;
  6044. procedure clearDMA2IE; inline;
  6045. procedure clearDMA3IE; inline;
  6046. procedure clearI2C1BIE; inline;
  6047. procedure clearI2C1MIE; inline;
  6048. procedure clearI2C1SIE; inline;
  6049. procedure clearI2C2BIE; inline;
  6050. procedure clearI2C2MIE; inline;
  6051. procedure clearI2C2SIE; inline;
  6052. procedure clearPMPEIE; inline;
  6053. procedure clearPMPIE; inline;
  6054. procedure clearSPI1EIE; inline;
  6055. procedure clearSPI1RXIE; inline;
  6056. procedure clearSPI1TXIE; inline;
  6057. procedure clearSPI2EIE; inline;
  6058. procedure clearSPI2RXIE; inline;
  6059. procedure clearSPI2TXIE; inline;
  6060. procedure clearU1EIE; inline;
  6061. procedure clearU1RXIE; inline;
  6062. procedure clearU1TXIE; inline;
  6063. procedure clearU2EIE; inline;
  6064. procedure clearU2RXIE; inline;
  6065. procedure clearU2TXIE; inline;
  6066. procedure setCMP1IE; inline;
  6067. procedure setCMP2IE; inline;
  6068. procedure setCMP3IE; inline;
  6069. procedure setCNAIE; inline;
  6070. procedure setCNBIE; inline;
  6071. procedure setCNCIE; inline;
  6072. procedure setCTMUIE; inline;
  6073. procedure setDMA0IE; inline;
  6074. procedure setDMA1IE; inline;
  6075. procedure setDMA2IE; inline;
  6076. procedure setDMA3IE; inline;
  6077. procedure setI2C1BIE; inline;
  6078. procedure setI2C1MIE; inline;
  6079. procedure setI2C1SIE; inline;
  6080. procedure setI2C2BIE; inline;
  6081. procedure setI2C2MIE; inline;
  6082. procedure setI2C2SIE; inline;
  6083. procedure setPMPEIE; inline;
  6084. procedure setPMPIE; inline;
  6085. procedure setSPI1EIE; inline;
  6086. procedure setSPI1RXIE; inline;
  6087. procedure setSPI1TXIE; inline;
  6088. procedure setSPI2EIE; inline;
  6089. procedure setSPI2RXIE; inline;
  6090. procedure setSPI2TXIE; inline;
  6091. procedure setU1EIE; inline;
  6092. procedure setU1RXIE; inline;
  6093. procedure setU1TXIE; inline;
  6094. procedure setU2EIE; inline;
  6095. procedure setU2RXIE; inline;
  6096. procedure setU2TXIE; inline;
  6097. property CMP1IE : TBits_1 read getCMP1IE write setCMP1IE;
  6098. property CMP2IE : TBits_1 read getCMP2IE write setCMP2IE;
  6099. property CMP3IE : TBits_1 read getCMP3IE write setCMP3IE;
  6100. property CNAIE : TBits_1 read getCNAIE write setCNAIE;
  6101. property CNBIE : TBits_1 read getCNBIE write setCNBIE;
  6102. property CNCIE : TBits_1 read getCNCIE write setCNCIE;
  6103. property CTMUIE : TBits_1 read getCTMUIE write setCTMUIE;
  6104. property DMA0IE : TBits_1 read getDMA0IE write setDMA0IE;
  6105. property DMA1IE : TBits_1 read getDMA1IE write setDMA1IE;
  6106. property DMA2IE : TBits_1 read getDMA2IE write setDMA2IE;
  6107. property DMA3IE : TBits_1 read getDMA3IE write setDMA3IE;
  6108. property I2C1BIE : TBits_1 read getI2C1BIE write setI2C1BIE;
  6109. property I2C1MIE : TBits_1 read getI2C1MIE write setI2C1MIE;
  6110. property I2C1SIE : TBits_1 read getI2C1SIE write setI2C1SIE;
  6111. property I2C2BIE : TBits_1 read getI2C2BIE write setI2C2BIE;
  6112. property I2C2MIE : TBits_1 read getI2C2MIE write setI2C2MIE;
  6113. property I2C2SIE : TBits_1 read getI2C2SIE write setI2C2SIE;
  6114. property PMPEIE : TBits_1 read getPMPEIE write setPMPEIE;
  6115. property PMPIE : TBits_1 read getPMPIE write setPMPIE;
  6116. property SPI1EIE : TBits_1 read getSPI1EIE write setSPI1EIE;
  6117. property SPI1RXIE : TBits_1 read getSPI1RXIE write setSPI1RXIE;
  6118. property SPI1TXIE : TBits_1 read getSPI1TXIE write setSPI1TXIE;
  6119. property SPI2EIE : TBits_1 read getSPI2EIE write setSPI2EIE;
  6120. property SPI2RXIE : TBits_1 read getSPI2RXIE write setSPI2RXIE;
  6121. property SPI2TXIE : TBits_1 read getSPI2TXIE write setSPI2TXIE;
  6122. property U1EIE : TBits_1 read getU1EIE write setU1EIE;
  6123. property U1RXIE : TBits_1 read getU1RXIE write setU1RXIE;
  6124. property U1TXIE : TBits_1 read getU1TXIE write setU1TXIE;
  6125. property U2EIE : TBits_1 read getU2EIE write setU2EIE;
  6126. property U2RXIE : TBits_1 read getU2RXIE write setU2RXIE;
  6127. property U2TXIE : TBits_1 read getU2TXIE write setU2TXIE;
  6128. property w : TBits_32 read getw write setw;
  6129. end;
  6130. TINT_IPC0 = record
  6131. private
  6132. function getCS0IP : TBits_3; inline;
  6133. function getCS0IS : TBits_2; inline;
  6134. function getCS1IP : TBits_3; inline;
  6135. function getCS1IS : TBits_2; inline;
  6136. function getCTIP : TBits_3; inline;
  6137. function getCTIS : TBits_2; inline;
  6138. function getINT0IP : TBits_3; inline;
  6139. function getINT0IS : TBits_2; inline;
  6140. function getw : TBits_32; inline;
  6141. procedure setCS0IP(thebits : TBits_3); inline;
  6142. procedure setCS0IS(thebits : TBits_2); inline;
  6143. procedure setCS1IP(thebits : TBits_3); inline;
  6144. procedure setCS1IS(thebits : TBits_2); inline;
  6145. procedure setCTIP(thebits : TBits_3); inline;
  6146. procedure setCTIS(thebits : TBits_2); inline;
  6147. procedure setINT0IP(thebits : TBits_3); inline;
  6148. procedure setINT0IS(thebits : TBits_2); inline;
  6149. procedure setw(thebits : TBits_32); inline;
  6150. public
  6151. property CS0IP : TBits_3 read getCS0IP write setCS0IP;
  6152. property CS0IS : TBits_2 read getCS0IS write setCS0IS;
  6153. property CS1IP : TBits_3 read getCS1IP write setCS1IP;
  6154. property CS1IS : TBits_2 read getCS1IS write setCS1IS;
  6155. property CTIP : TBits_3 read getCTIP write setCTIP;
  6156. property CTIS : TBits_2 read getCTIS write setCTIS;
  6157. property INT0IP : TBits_3 read getINT0IP write setINT0IP;
  6158. property INT0IS : TBits_2 read getINT0IS write setINT0IS;
  6159. property w : TBits_32 read getw write setw;
  6160. end;
  6161. TINT_IPC1 = record
  6162. private
  6163. function getIC1IP : TBits_3; inline;
  6164. function getIC1IS : TBits_2; inline;
  6165. function getINT1IP : TBits_3; inline;
  6166. function getINT1IS : TBits_2; inline;
  6167. function getOC1IP : TBits_3; inline;
  6168. function getOC1IS : TBits_2; inline;
  6169. function getT1IP : TBits_3; inline;
  6170. function getT1IS : TBits_2; inline;
  6171. function getw : TBits_32; inline;
  6172. procedure setIC1IP(thebits : TBits_3); inline;
  6173. procedure setIC1IS(thebits : TBits_2); inline;
  6174. procedure setINT1IP(thebits : TBits_3); inline;
  6175. procedure setINT1IS(thebits : TBits_2); inline;
  6176. procedure setOC1IP(thebits : TBits_3); inline;
  6177. procedure setOC1IS(thebits : TBits_2); inline;
  6178. procedure setT1IP(thebits : TBits_3); inline;
  6179. procedure setT1IS(thebits : TBits_2); inline;
  6180. procedure setw(thebits : TBits_32); inline;
  6181. public
  6182. property IC1IP : TBits_3 read getIC1IP write setIC1IP;
  6183. property IC1IS : TBits_2 read getIC1IS write setIC1IS;
  6184. property INT1IP : TBits_3 read getINT1IP write setINT1IP;
  6185. property INT1IS : TBits_2 read getINT1IS write setINT1IS;
  6186. property OC1IP : TBits_3 read getOC1IP write setOC1IP;
  6187. property OC1IS : TBits_2 read getOC1IS write setOC1IS;
  6188. property T1IP : TBits_3 read getT1IP write setT1IP;
  6189. property T1IS : TBits_2 read getT1IS write setT1IS;
  6190. property w : TBits_32 read getw write setw;
  6191. end;
  6192. TINT_IPC2 = record
  6193. private
  6194. function getIC2IP : TBits_3; inline;
  6195. function getIC2IS : TBits_2; inline;
  6196. function getINT2IP : TBits_3; inline;
  6197. function getINT2IS : TBits_2; inline;
  6198. function getOC2IP : TBits_3; inline;
  6199. function getOC2IS : TBits_2; inline;
  6200. function getT2IP : TBits_3; inline;
  6201. function getT2IS : TBits_2; inline;
  6202. function getw : TBits_32; inline;
  6203. procedure setIC2IP(thebits : TBits_3); inline;
  6204. procedure setIC2IS(thebits : TBits_2); inline;
  6205. procedure setINT2IP(thebits : TBits_3); inline;
  6206. procedure setINT2IS(thebits : TBits_2); inline;
  6207. procedure setOC2IP(thebits : TBits_3); inline;
  6208. procedure setOC2IS(thebits : TBits_2); inline;
  6209. procedure setT2IP(thebits : TBits_3); inline;
  6210. procedure setT2IS(thebits : TBits_2); inline;
  6211. procedure setw(thebits : TBits_32); inline;
  6212. public
  6213. property IC2IP : TBits_3 read getIC2IP write setIC2IP;
  6214. property IC2IS : TBits_2 read getIC2IS write setIC2IS;
  6215. property INT2IP : TBits_3 read getINT2IP write setINT2IP;
  6216. property INT2IS : TBits_2 read getINT2IS write setINT2IS;
  6217. property OC2IP : TBits_3 read getOC2IP write setOC2IP;
  6218. property OC2IS : TBits_2 read getOC2IS write setOC2IS;
  6219. property T2IP : TBits_3 read getT2IP write setT2IP;
  6220. property T2IS : TBits_2 read getT2IS write setT2IS;
  6221. property w : TBits_32 read getw write setw;
  6222. end;
  6223. TINT_IPC3 = record
  6224. private
  6225. function getIC3IP : TBits_3; inline;
  6226. function getIC3IS : TBits_2; inline;
  6227. function getINT3IP : TBits_3; inline;
  6228. function getINT3IS : TBits_2; inline;
  6229. function getOC3IP : TBits_3; inline;
  6230. function getOC3IS : TBits_2; inline;
  6231. function getT3IP : TBits_3; inline;
  6232. function getT3IS : TBits_2; inline;
  6233. function getw : TBits_32; inline;
  6234. procedure setIC3IP(thebits : TBits_3); inline;
  6235. procedure setIC3IS(thebits : TBits_2); inline;
  6236. procedure setINT3IP(thebits : TBits_3); inline;
  6237. procedure setINT3IS(thebits : TBits_2); inline;
  6238. procedure setOC3IP(thebits : TBits_3); inline;
  6239. procedure setOC3IS(thebits : TBits_2); inline;
  6240. procedure setT3IP(thebits : TBits_3); inline;
  6241. procedure setT3IS(thebits : TBits_2); inline;
  6242. procedure setw(thebits : TBits_32); inline;
  6243. public
  6244. property IC3IP : TBits_3 read getIC3IP write setIC3IP;
  6245. property IC3IS : TBits_2 read getIC3IS write setIC3IS;
  6246. property INT3IP : TBits_3 read getINT3IP write setINT3IP;
  6247. property INT3IS : TBits_2 read getINT3IS write setINT3IS;
  6248. property OC3IP : TBits_3 read getOC3IP write setOC3IP;
  6249. property OC3IS : TBits_2 read getOC3IS write setOC3IS;
  6250. property T3IP : TBits_3 read getT3IP write setT3IP;
  6251. property T3IS : TBits_2 read getT3IS write setT3IS;
  6252. property w : TBits_32 read getw write setw;
  6253. end;
  6254. TINT_IPC4 = record
  6255. private
  6256. function getIC4IP : TBits_3; inline;
  6257. function getIC4IS : TBits_2; inline;
  6258. function getINT4IP : TBits_3; inline;
  6259. function getINT4IS : TBits_2; inline;
  6260. function getOC4IP : TBits_3; inline;
  6261. function getOC4IS : TBits_2; inline;
  6262. function getT4IP : TBits_3; inline;
  6263. function getT4IS : TBits_2; inline;
  6264. function getw : TBits_32; inline;
  6265. procedure setIC4IP(thebits : TBits_3); inline;
  6266. procedure setIC4IS(thebits : TBits_2); inline;
  6267. procedure setINT4IP(thebits : TBits_3); inline;
  6268. procedure setINT4IS(thebits : TBits_2); inline;
  6269. procedure setOC4IP(thebits : TBits_3); inline;
  6270. procedure setOC4IS(thebits : TBits_2); inline;
  6271. procedure setT4IP(thebits : TBits_3); inline;
  6272. procedure setT4IS(thebits : TBits_2); inline;
  6273. procedure setw(thebits : TBits_32); inline;
  6274. public
  6275. property IC4IP : TBits_3 read getIC4IP write setIC4IP;
  6276. property IC4IS : TBits_2 read getIC4IS write setIC4IS;
  6277. property INT4IP : TBits_3 read getINT4IP write setINT4IP;
  6278. property INT4IS : TBits_2 read getINT4IS write setINT4IS;
  6279. property OC4IP : TBits_3 read getOC4IP write setOC4IP;
  6280. property OC4IS : TBits_2 read getOC4IS write setOC4IS;
  6281. property T4IP : TBits_3 read getT4IP write setT4IP;
  6282. property T4IS : TBits_2 read getT4IS write setT4IS;
  6283. property w : TBits_32 read getw write setw;
  6284. end;
  6285. TINT_IPC5 = record
  6286. private
  6287. function getAD1IP : TBits_3; inline;
  6288. function getAD1IS : TBits_2; inline;
  6289. function getIC5IP : TBits_3; inline;
  6290. function getIC5IS : TBits_2; inline;
  6291. function getOC5IP : TBits_3; inline;
  6292. function getOC5IS : TBits_2; inline;
  6293. function getT5IP : TBits_3; inline;
  6294. function getT5IS : TBits_2; inline;
  6295. function getw : TBits_32; inline;
  6296. procedure setAD1IP(thebits : TBits_3); inline;
  6297. procedure setAD1IS(thebits : TBits_2); inline;
  6298. procedure setIC5IP(thebits : TBits_3); inline;
  6299. procedure setIC5IS(thebits : TBits_2); inline;
  6300. procedure setOC5IP(thebits : TBits_3); inline;
  6301. procedure setOC5IS(thebits : TBits_2); inline;
  6302. procedure setT5IP(thebits : TBits_3); inline;
  6303. procedure setT5IS(thebits : TBits_2); inline;
  6304. procedure setw(thebits : TBits_32); inline;
  6305. public
  6306. property AD1IP : TBits_3 read getAD1IP write setAD1IP;
  6307. property AD1IS : TBits_2 read getAD1IS write setAD1IS;
  6308. property IC5IP : TBits_3 read getIC5IP write setIC5IP;
  6309. property IC5IS : TBits_2 read getIC5IS write setIC5IS;
  6310. property OC5IP : TBits_3 read getOC5IP write setOC5IP;
  6311. property OC5IS : TBits_2 read getOC5IS write setOC5IS;
  6312. property T5IP : TBits_3 read getT5IP write setT5IP;
  6313. property T5IS : TBits_2 read getT5IS write setT5IS;
  6314. property w : TBits_32 read getw write setw;
  6315. end;
  6316. TINT_IPC6 = record
  6317. private
  6318. function getCMP1IP : TBits_3; inline;
  6319. function getCMP1IS : TBits_2; inline;
  6320. function getFCEIP : TBits_3; inline;
  6321. function getFCEIS : TBits_2; inline;
  6322. function getFSCMIP : TBits_3; inline;
  6323. function getFSCMIS : TBits_2; inline;
  6324. function getRTCCIP : TBits_3; inline;
  6325. function getRTCCIS : TBits_2; inline;
  6326. function getw : TBits_32; inline;
  6327. procedure setCMP1IP(thebits : TBits_3); inline;
  6328. procedure setCMP1IS(thebits : TBits_2); inline;
  6329. procedure setFCEIP(thebits : TBits_3); inline;
  6330. procedure setFCEIS(thebits : TBits_2); inline;
  6331. procedure setFSCMIP(thebits : TBits_3); inline;
  6332. procedure setFSCMIS(thebits : TBits_2); inline;
  6333. procedure setRTCCIP(thebits : TBits_3); inline;
  6334. procedure setRTCCIS(thebits : TBits_2); inline;
  6335. procedure setw(thebits : TBits_32); inline;
  6336. public
  6337. property CMP1IP : TBits_3 read getCMP1IP write setCMP1IP;
  6338. property CMP1IS : TBits_2 read getCMP1IS write setCMP1IS;
  6339. property FCEIP : TBits_3 read getFCEIP write setFCEIP;
  6340. property FCEIS : TBits_2 read getFCEIS write setFCEIS;
  6341. property FSCMIP : TBits_3 read getFSCMIP write setFSCMIP;
  6342. property FSCMIS : TBits_2 read getFSCMIS write setFSCMIS;
  6343. property RTCCIP : TBits_3 read getRTCCIP write setRTCCIP;
  6344. property RTCCIS : TBits_2 read getRTCCIS write setRTCCIS;
  6345. property w : TBits_32 read getw write setw;
  6346. end;
  6347. TINT_IPC7 = record
  6348. private
  6349. function getCMP2IP : TBits_3; inline;
  6350. function getCMP2IS : TBits_2; inline;
  6351. function getCMP3IP : TBits_3; inline;
  6352. function getCMP3IS : TBits_2; inline;
  6353. function getSPI1IP : TBits_3; inline;
  6354. function getSPI1IS : TBits_2; inline;
  6355. function getw : TBits_32; inline;
  6356. procedure setCMP2IP(thebits : TBits_3); inline;
  6357. procedure setCMP2IS(thebits : TBits_2); inline;
  6358. procedure setCMP3IP(thebits : TBits_3); inline;
  6359. procedure setCMP3IS(thebits : TBits_2); inline;
  6360. procedure setSPI1IP(thebits : TBits_3); inline;
  6361. procedure setSPI1IS(thebits : TBits_2); inline;
  6362. procedure setw(thebits : TBits_32); inline;
  6363. public
  6364. property CMP2IP : TBits_3 read getCMP2IP write setCMP2IP;
  6365. property CMP2IS : TBits_2 read getCMP2IS write setCMP2IS;
  6366. property CMP3IP : TBits_3 read getCMP3IP write setCMP3IP;
  6367. property CMP3IS : TBits_2 read getCMP3IS write setCMP3IS;
  6368. property SPI1IP : TBits_3 read getSPI1IP write setSPI1IP;
  6369. property SPI1IS : TBits_2 read getSPI1IS write setSPI1IS;
  6370. property w : TBits_32 read getw write setw;
  6371. end;
  6372. TINT_IPC8 = record
  6373. private
  6374. function getCNIP : TBits_3; inline;
  6375. function getCNIS : TBits_2; inline;
  6376. function getI2C1IP : TBits_3; inline;
  6377. function getI2C1IS : TBits_2; inline;
  6378. function getPMPIP : TBits_3; inline;
  6379. function getPMPIS : TBits_2; inline;
  6380. function getU1IP : TBits_3; inline;
  6381. function getU1IS : TBits_2; inline;
  6382. function getw : TBits_32; inline;
  6383. procedure setCNIP(thebits : TBits_3); inline;
  6384. procedure setCNIS(thebits : TBits_2); inline;
  6385. procedure setI2C1IP(thebits : TBits_3); inline;
  6386. procedure setI2C1IS(thebits : TBits_2); inline;
  6387. procedure setPMPIP(thebits : TBits_3); inline;
  6388. procedure setPMPIS(thebits : TBits_2); inline;
  6389. procedure setU1IP(thebits : TBits_3); inline;
  6390. procedure setU1IS(thebits : TBits_2); inline;
  6391. procedure setw(thebits : TBits_32); inline;
  6392. public
  6393. property CNIP : TBits_3 read getCNIP write setCNIP;
  6394. property CNIS : TBits_2 read getCNIS write setCNIS;
  6395. property I2C1IP : TBits_3 read getI2C1IP write setI2C1IP;
  6396. property I2C1IS : TBits_2 read getI2C1IS write setI2C1IS;
  6397. property PMPIP : TBits_3 read getPMPIP write setPMPIP;
  6398. property PMPIS : TBits_2 read getPMPIS write setPMPIS;
  6399. property U1IP : TBits_3 read getU1IP write setU1IP;
  6400. property U1IS : TBits_2 read getU1IS write setU1IS;
  6401. property w : TBits_32 read getw write setw;
  6402. end;
  6403. TINT_IPC9 = record
  6404. private
  6405. function getCTMUIP : TBits_3; inline;
  6406. function getCTMUIS : TBits_2; inline;
  6407. function getI2C2IP : TBits_3; inline;
  6408. function getI2C2IS : TBits_2; inline;
  6409. function getSPI2IP : TBits_3; inline;
  6410. function getSPI2IS : TBits_2; inline;
  6411. function getU2IP : TBits_3; inline;
  6412. function getU2IS : TBits_2; inline;
  6413. function getw : TBits_32; inline;
  6414. procedure setCTMUIP(thebits : TBits_3); inline;
  6415. procedure setCTMUIS(thebits : TBits_2); inline;
  6416. procedure setI2C2IP(thebits : TBits_3); inline;
  6417. procedure setI2C2IS(thebits : TBits_2); inline;
  6418. procedure setSPI2IP(thebits : TBits_3); inline;
  6419. procedure setSPI2IS(thebits : TBits_2); inline;
  6420. procedure setU2IP(thebits : TBits_3); inline;
  6421. procedure setU2IS(thebits : TBits_2); inline;
  6422. procedure setw(thebits : TBits_32); inline;
  6423. public
  6424. property CTMUIP : TBits_3 read getCTMUIP write setCTMUIP;
  6425. property CTMUIS : TBits_2 read getCTMUIS write setCTMUIS;
  6426. property I2C2IP : TBits_3 read getI2C2IP write setI2C2IP;
  6427. property I2C2IS : TBits_2 read getI2C2IS write setI2C2IS;
  6428. property SPI2IP : TBits_3 read getSPI2IP write setSPI2IP;
  6429. property SPI2IS : TBits_2 read getSPI2IS write setSPI2IS;
  6430. property U2IP : TBits_3 read getU2IP write setU2IP;
  6431. property U2IS : TBits_2 read getU2IS write setU2IS;
  6432. property w : TBits_32 read getw write setw;
  6433. end;
  6434. TINT_IPC10 = record
  6435. private
  6436. function getDMA0IP : TBits_3; inline;
  6437. function getDMA0IS : TBits_2; inline;
  6438. function getDMA1IP : TBits_3; inline;
  6439. function getDMA1IS : TBits_2; inline;
  6440. function getDMA2IP : TBits_3; inline;
  6441. function getDMA2IS : TBits_2; inline;
  6442. function getDMA3IP : TBits_3; inline;
  6443. function getDMA3IS : TBits_2; inline;
  6444. function getw : TBits_32; inline;
  6445. procedure setDMA0IP(thebits : TBits_3); inline;
  6446. procedure setDMA0IS(thebits : TBits_2); inline;
  6447. procedure setDMA1IP(thebits : TBits_3); inline;
  6448. procedure setDMA1IS(thebits : TBits_2); inline;
  6449. procedure setDMA2IP(thebits : TBits_3); inline;
  6450. procedure setDMA2IS(thebits : TBits_2); inline;
  6451. procedure setDMA3IP(thebits : TBits_3); inline;
  6452. procedure setDMA3IS(thebits : TBits_2); inline;
  6453. procedure setw(thebits : TBits_32); inline;
  6454. public
  6455. property DMA0IP : TBits_3 read getDMA0IP write setDMA0IP;
  6456. property DMA0IS : TBits_2 read getDMA0IS write setDMA0IS;
  6457. property DMA1IP : TBits_3 read getDMA1IP write setDMA1IP;
  6458. property DMA1IS : TBits_2 read getDMA1IS write setDMA1IS;
  6459. property DMA2IP : TBits_3 read getDMA2IP write setDMA2IP;
  6460. property DMA2IS : TBits_2 read getDMA2IS write setDMA2IS;
  6461. property DMA3IP : TBits_3 read getDMA3IP write setDMA3IP;
  6462. property DMA3IS : TBits_2 read getDMA3IS write setDMA3IS;
  6463. property w : TBits_32 read getw write setw;
  6464. end;
  6465. type
  6466. TINTRegisters = record
  6467. INTCONbits : TINT_INTCON;
  6468. INTCON : longWord;
  6469. INTCONCLR : longWord;
  6470. INTCONSET : longWord;
  6471. INTCONINV : longWord;
  6472. INTSTAT : longWord;
  6473. IPTMR : longWord;
  6474. IPTMRCLR : longWord;
  6475. IPTMRSET : longWord;
  6476. IPTMRINV : longWord;
  6477. IFS0bits : TINT_IFS0;
  6478. IFS0 : longWord;
  6479. IFS0CLR : longWord;
  6480. IFS0SET : longWord;
  6481. IFS0INV : longWord;
  6482. IFS1bits : TINT_IFS1;
  6483. IFS1 : longWord;
  6484. IFS1CLR : longWord;
  6485. IFS1SET : longWord;
  6486. IFS1INV : longWord;
  6487. IEC0bits : TINT_IEC0;
  6488. IEC0 : longWord;
  6489. IEC0CLR : longWord;
  6490. IEC0SET : longWord;
  6491. IEC0INV : longWord;
  6492. IEC1bits : TINT_IEC1;
  6493. IEC1 : longWord;
  6494. IEC1CLR : longWord;
  6495. IEC1SET : longWord;
  6496. IEC1INV : longWord;
  6497. IPC0bits : TINT_IPC0;
  6498. IPC0 : longWord;
  6499. IPC0CLR : longWord;
  6500. IPC0SET : longWord;
  6501. IPC0INV : longWord;
  6502. IPC1bits : TINT_IPC1;
  6503. IPC1 : longWord;
  6504. IPC1CLR : longWord;
  6505. IPC1SET : longWord;
  6506. IPC1INV : longWord;
  6507. IPC2bits : TINT_IPC2;
  6508. IPC2 : longWord;
  6509. IPC2CLR : longWord;
  6510. IPC2SET : longWord;
  6511. IPC2INV : longWord;
  6512. IPC3bits : TINT_IPC3;
  6513. IPC3 : longWord;
  6514. IPC3CLR : longWord;
  6515. IPC3SET : longWord;
  6516. IPC3INV : longWord;
  6517. IPC4bits : TINT_IPC4;
  6518. IPC4 : longWord;
  6519. IPC4CLR : longWord;
  6520. IPC4SET : longWord;
  6521. IPC4INV : longWord;
  6522. IPC5bits : TINT_IPC5;
  6523. IPC5 : longWord;
  6524. IPC5CLR : longWord;
  6525. IPC5SET : longWord;
  6526. IPC5INV : longWord;
  6527. IPC6bits : TINT_IPC6;
  6528. IPC6 : longWord;
  6529. IPC6CLR : longWord;
  6530. IPC6SET : longWord;
  6531. IPC6INV : longWord;
  6532. IPC7bits : TINT_IPC7;
  6533. IPC7 : longWord;
  6534. IPC7CLR : longWord;
  6535. IPC7SET : longWord;
  6536. IPC7INV : longWord;
  6537. IPC8bits : TINT_IPC8;
  6538. IPC8 : longWord;
  6539. IPC8CLR : longWord;
  6540. IPC8SET : longWord;
  6541. IPC8INV : longWord;
  6542. IPC9bits : TINT_IPC9;
  6543. IPC9 : longWord;
  6544. IPC9CLR : longWord;
  6545. IPC9SET : longWord;
  6546. IPC9INV : longWord;
  6547. IPC10bits : TINT_IPC10;
  6548. IPC10 : longWord;
  6549. IPC10CLR : longWord;
  6550. IPC10SET : longWord;
  6551. IPC10INV : longWord;
  6552. end;
  6553. TBMX_BMXCON = record
  6554. private
  6555. function getBMXARB : TBits_3; inline;
  6556. function getBMXCHEDMA : TBits_1; inline;
  6557. function getBMXERRDMA : TBits_1; inline;
  6558. function getBMXERRDS : TBits_1; inline;
  6559. function getBMXERRICD : TBits_1; inline;
  6560. function getBMXERRIS : TBits_1; inline;
  6561. function getBMXERRIXI : TBits_1; inline;
  6562. function getBMXWSDRM : TBits_1; inline;
  6563. function getw : TBits_32; inline;
  6564. procedure setBMXARB(thebits : TBits_3); inline;
  6565. procedure setBMXCHEDMA(thebits : TBits_1); inline;
  6566. procedure setBMXERRDMA(thebits : TBits_1); inline;
  6567. procedure setBMXERRDS(thebits : TBits_1); inline;
  6568. procedure setBMXERRICD(thebits : TBits_1); inline;
  6569. procedure setBMXERRIS(thebits : TBits_1); inline;
  6570. procedure setBMXERRIXI(thebits : TBits_1); inline;
  6571. procedure setBMXWSDRM(thebits : TBits_1); inline;
  6572. procedure setw(thebits : TBits_32); inline;
  6573. public
  6574. procedure clearBMXCHEDMA; inline;
  6575. procedure clearBMXERRDMA; inline;
  6576. procedure clearBMXERRDS; inline;
  6577. procedure clearBMXERRICD; inline;
  6578. procedure clearBMXERRIS; inline;
  6579. procedure clearBMXERRIXI; inline;
  6580. procedure clearBMXWSDRM; inline;
  6581. procedure setBMXCHEDMA; inline;
  6582. procedure setBMXERRDMA; inline;
  6583. procedure setBMXERRDS; inline;
  6584. procedure setBMXERRICD; inline;
  6585. procedure setBMXERRIS; inline;
  6586. procedure setBMXERRIXI; inline;
  6587. procedure setBMXWSDRM; inline;
  6588. property BMXARB : TBits_3 read getBMXARB write setBMXARB;
  6589. property BMXCHEDMA : TBits_1 read getBMXCHEDMA write setBMXCHEDMA;
  6590. property BMXERRDMA : TBits_1 read getBMXERRDMA write setBMXERRDMA;
  6591. property BMXERRDS : TBits_1 read getBMXERRDS write setBMXERRDS;
  6592. property BMXERRICD : TBits_1 read getBMXERRICD write setBMXERRICD;
  6593. property BMXERRIS : TBits_1 read getBMXERRIS write setBMXERRIS;
  6594. property BMXERRIXI : TBits_1 read getBMXERRIXI write setBMXERRIXI;
  6595. property BMXWSDRM : TBits_1 read getBMXWSDRM write setBMXWSDRM;
  6596. property w : TBits_32 read getw write setw;
  6597. end;
  6598. type
  6599. TBMXRegisters = record
  6600. BMXCONbits : TBMX_BMXCON;
  6601. BMXCON : longWord;
  6602. BMXCONCLR : longWord;
  6603. BMXCONSET : longWord;
  6604. BMXCONINV : longWord;
  6605. BMXDKPBA : longWord;
  6606. BMXDKPBACLR : longWord;
  6607. BMXDKPBASET : longWord;
  6608. BMXDKPBAINV : longWord;
  6609. BMXDUDBA : longWord;
  6610. BMXDUDBACLR : longWord;
  6611. BMXDUDBASET : longWord;
  6612. BMXDUDBAINV : longWord;
  6613. BMXDUPBA : longWord;
  6614. BMXDUPBACLR : longWord;
  6615. BMXDUPBASET : longWord;
  6616. BMXDUPBAINV : longWord;
  6617. BMXDRMSZ : longWord;
  6618. BMXPUPBA : longWord;
  6619. BMXPUPBACLR : longWord;
  6620. BMXPUPBASET : longWord;
  6621. BMXPUPBAINV : longWord;
  6622. BMXPFMSZ : longWord;
  6623. BMXBOOTSZ : longWord;
  6624. end;
  6625. TDMAC_DMACON = record
  6626. private
  6627. function getDMABUSY : TBits_1; inline;
  6628. function getON : TBits_1; inline;
  6629. function getSUSPEND : TBits_1; inline;
  6630. function getw : TBits_32; inline;
  6631. procedure setDMABUSY(thebits : TBits_1); inline;
  6632. procedure setON(thebits : TBits_1); inline;
  6633. procedure setSUSPEND(thebits : TBits_1); inline;
  6634. procedure setw(thebits : TBits_32); inline;
  6635. public
  6636. procedure clearDMABUSY; inline;
  6637. procedure clearON; inline;
  6638. procedure clearSUSPEND; inline;
  6639. procedure setDMABUSY; inline;
  6640. procedure setON; inline;
  6641. procedure setSUSPEND; inline;
  6642. property DMABUSY : TBits_1 read getDMABUSY write setDMABUSY;
  6643. property ON : TBits_1 read getON write setON;
  6644. property SUSPEND : TBits_1 read getSUSPEND write setSUSPEND;
  6645. property w : TBits_32 read getw write setw;
  6646. end;
  6647. TDMAC_DMASTAT = record
  6648. private
  6649. function getDMACH : TBits_3; inline;
  6650. function getRDWR : TBits_1; inline;
  6651. function getw : TBits_32; inline;
  6652. procedure setDMACH(thebits : TBits_3); inline;
  6653. procedure setRDWR(thebits : TBits_1); inline;
  6654. procedure setw(thebits : TBits_32); inline;
  6655. public
  6656. procedure clearRDWR; inline;
  6657. procedure setRDWR; inline;
  6658. property DMACH : TBits_3 read getDMACH write setDMACH;
  6659. property RDWR : TBits_1 read getRDWR write setRDWR;
  6660. property w : TBits_32 read getw write setw;
  6661. end;
  6662. TDMAC_DCRCCON = record
  6663. private
  6664. function getBITO : TBits_1; inline;
  6665. function getBYTO : TBits_2; inline;
  6666. function getCRCAPP : TBits_1; inline;
  6667. function getCRCCH : TBits_3; inline;
  6668. function getCRCEN : TBits_1; inline;
  6669. function getCRCTYP : TBits_1; inline;
  6670. function getPLEN : TBits_5; inline;
  6671. function getWBO : TBits_1; inline;
  6672. function getw : TBits_32; inline;
  6673. procedure setBITO(thebits : TBits_1); inline;
  6674. procedure setBYTO(thebits : TBits_2); inline;
  6675. procedure setCRCAPP(thebits : TBits_1); inline;
  6676. procedure setCRCCH(thebits : TBits_3); inline;
  6677. procedure setCRCEN(thebits : TBits_1); inline;
  6678. procedure setCRCTYP(thebits : TBits_1); inline;
  6679. procedure setPLEN(thebits : TBits_5); inline;
  6680. procedure setWBO(thebits : TBits_1); inline;
  6681. procedure setw(thebits : TBits_32); inline;
  6682. public
  6683. procedure clearBITO; inline;
  6684. procedure clearCRCAPP; inline;
  6685. procedure clearCRCEN; inline;
  6686. procedure clearCRCTYP; inline;
  6687. procedure clearWBO; inline;
  6688. procedure setBITO; inline;
  6689. procedure setCRCAPP; inline;
  6690. procedure setCRCEN; inline;
  6691. procedure setCRCTYP; inline;
  6692. procedure setWBO; inline;
  6693. property BITO : TBits_1 read getBITO write setBITO;
  6694. property BYTO : TBits_2 read getBYTO write setBYTO;
  6695. property CRCAPP : TBits_1 read getCRCAPP write setCRCAPP;
  6696. property CRCCH : TBits_3 read getCRCCH write setCRCCH;
  6697. property CRCEN : TBits_1 read getCRCEN write setCRCEN;
  6698. property CRCTYP : TBits_1 read getCRCTYP write setCRCTYP;
  6699. property PLEN : TBits_5 read getPLEN write setPLEN;
  6700. property WBO : TBits_1 read getWBO write setWBO;
  6701. property w : TBits_32 read getw write setw;
  6702. end;
  6703. type
  6704. TDMACRegisters = record
  6705. DMACONbits : TDMAC_DMACON;
  6706. DMACON : longWord;
  6707. DMACONCLR : longWord;
  6708. DMACONSET : longWord;
  6709. DMACONINV : longWord;
  6710. DMASTATbits : TDMAC_DMASTAT;
  6711. DMASTAT : longWord;
  6712. DMASTATCLR : longWord;
  6713. DMASTATSET : longWord;
  6714. DMASTATINV : longWord;
  6715. DMAADDR : longWord;
  6716. DMAADDRCLR : longWord;
  6717. DMAADDRSET : longWord;
  6718. DMAADDRINV : longWord;
  6719. DCRCCONbits : TDMAC_DCRCCON;
  6720. DCRCCON : longWord;
  6721. DCRCCONCLR : longWord;
  6722. DCRCCONSET : longWord;
  6723. DCRCCONINV : longWord;
  6724. DCRCDATA : longWord;
  6725. DCRCDATACLR : longWord;
  6726. DCRCDATASET : longWord;
  6727. DCRCDATAINV : longWord;
  6728. DCRCXOR : longWord;
  6729. DCRCXORCLR : longWord;
  6730. DCRCXORSET : longWord;
  6731. DCRCXORINV : longWord;
  6732. end;
  6733. TDMAC0_DCH0CON = record
  6734. private
  6735. function getCHAED : TBits_1; inline;
  6736. function getCHAEN : TBits_1; inline;
  6737. function getCHBUSY : TBits_1; inline;
  6738. function getCHCHN : TBits_1; inline;
  6739. function getCHCHNS : TBits_1; inline;
  6740. function getCHEDET : TBits_1; inline;
  6741. function getCHEN : TBits_1; inline;
  6742. function getCHPRI : TBits_2; inline;
  6743. function getw : TBits_32; inline;
  6744. procedure setCHAED(thebits : TBits_1); inline;
  6745. procedure setCHAEN(thebits : TBits_1); inline;
  6746. procedure setCHBUSY(thebits : TBits_1); inline;
  6747. procedure setCHCHN(thebits : TBits_1); inline;
  6748. procedure setCHCHNS(thebits : TBits_1); inline;
  6749. procedure setCHEDET(thebits : TBits_1); inline;
  6750. procedure setCHEN(thebits : TBits_1); inline;
  6751. procedure setCHPRI(thebits : TBits_2); inline;
  6752. procedure setw(thebits : TBits_32); inline;
  6753. public
  6754. procedure clearCHAED; inline;
  6755. procedure clearCHAEN; inline;
  6756. procedure clearCHBUSY; inline;
  6757. procedure clearCHCHN; inline;
  6758. procedure clearCHCHNS; inline;
  6759. procedure clearCHEDET; inline;
  6760. procedure clearCHEN; inline;
  6761. procedure setCHAED; inline;
  6762. procedure setCHAEN; inline;
  6763. procedure setCHBUSY; inline;
  6764. procedure setCHCHN; inline;
  6765. procedure setCHCHNS; inline;
  6766. procedure setCHEDET; inline;
  6767. procedure setCHEN; inline;
  6768. property CHAED : TBits_1 read getCHAED write setCHAED;
  6769. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6770. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6771. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6772. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6773. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6774. property CHEN : TBits_1 read getCHEN write setCHEN;
  6775. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  6776. property w : TBits_32 read getw write setw;
  6777. end;
  6778. TDMAC0_DCH0ECON = record
  6779. private
  6780. function getAIRQEN : TBits_1; inline;
  6781. function getCABORT : TBits_1; inline;
  6782. function getCFORCE : TBits_1; inline;
  6783. function getCHAIRQ : TBits_8; inline;
  6784. function getCHSIRQ : TBits_8; inline;
  6785. function getPATEN : TBits_1; inline;
  6786. function getSIRQEN : TBits_1; inline;
  6787. function getw : TBits_32; inline;
  6788. procedure setAIRQEN(thebits : TBits_1); inline;
  6789. procedure setCABORT(thebits : TBits_1); inline;
  6790. procedure setCFORCE(thebits : TBits_1); inline;
  6791. procedure setCHAIRQ(thebits : TBits_8); inline;
  6792. procedure setCHSIRQ(thebits : TBits_8); inline;
  6793. procedure setPATEN(thebits : TBits_1); inline;
  6794. procedure setSIRQEN(thebits : TBits_1); inline;
  6795. procedure setw(thebits : TBits_32); inline;
  6796. public
  6797. procedure clearAIRQEN; inline;
  6798. procedure clearCABORT; inline;
  6799. procedure clearCFORCE; inline;
  6800. procedure clearPATEN; inline;
  6801. procedure clearSIRQEN; inline;
  6802. procedure setAIRQEN; inline;
  6803. procedure setCABORT; inline;
  6804. procedure setCFORCE; inline;
  6805. procedure setPATEN; inline;
  6806. procedure setSIRQEN; inline;
  6807. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  6808. property CABORT : TBits_1 read getCABORT write setCABORT;
  6809. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  6810. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  6811. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  6812. property PATEN : TBits_1 read getPATEN write setPATEN;
  6813. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  6814. property w : TBits_32 read getw write setw;
  6815. end;
  6816. TDMAC0_DCH0INT = record
  6817. private
  6818. function getCHBCIE : TBits_1; inline;
  6819. function getCHBCIF : TBits_1; inline;
  6820. function getCHCCIE : TBits_1; inline;
  6821. function getCHCCIF : TBits_1; inline;
  6822. function getCHDDIE : TBits_1; inline;
  6823. function getCHDDIF : TBits_1; inline;
  6824. function getCHDHIE : TBits_1; inline;
  6825. function getCHDHIF : TBits_1; inline;
  6826. function getCHERIE : TBits_1; inline;
  6827. function getCHERIF : TBits_1; inline;
  6828. function getCHSDIE : TBits_1; inline;
  6829. function getCHSDIF : TBits_1; inline;
  6830. function getCHSHIE : TBits_1; inline;
  6831. function getCHSHIF : TBits_1; inline;
  6832. function getCHTAIE : TBits_1; inline;
  6833. function getCHTAIF : TBits_1; inline;
  6834. function getw : TBits_32; inline;
  6835. procedure setCHBCIE(thebits : TBits_1); inline;
  6836. procedure setCHBCIF(thebits : TBits_1); inline;
  6837. procedure setCHCCIE(thebits : TBits_1); inline;
  6838. procedure setCHCCIF(thebits : TBits_1); inline;
  6839. procedure setCHDDIE(thebits : TBits_1); inline;
  6840. procedure setCHDDIF(thebits : TBits_1); inline;
  6841. procedure setCHDHIE(thebits : TBits_1); inline;
  6842. procedure setCHDHIF(thebits : TBits_1); inline;
  6843. procedure setCHERIE(thebits : TBits_1); inline;
  6844. procedure setCHERIF(thebits : TBits_1); inline;
  6845. procedure setCHSDIE(thebits : TBits_1); inline;
  6846. procedure setCHSDIF(thebits : TBits_1); inline;
  6847. procedure setCHSHIE(thebits : TBits_1); inline;
  6848. procedure setCHSHIF(thebits : TBits_1); inline;
  6849. procedure setCHTAIE(thebits : TBits_1); inline;
  6850. procedure setCHTAIF(thebits : TBits_1); inline;
  6851. procedure setw(thebits : TBits_32); inline;
  6852. public
  6853. procedure clearCHBCIE; inline;
  6854. procedure clearCHBCIF; inline;
  6855. procedure clearCHCCIE; inline;
  6856. procedure clearCHCCIF; inline;
  6857. procedure clearCHDDIE; inline;
  6858. procedure clearCHDDIF; inline;
  6859. procedure clearCHDHIE; inline;
  6860. procedure clearCHDHIF; inline;
  6861. procedure clearCHERIE; inline;
  6862. procedure clearCHERIF; inline;
  6863. procedure clearCHSDIE; inline;
  6864. procedure clearCHSDIF; inline;
  6865. procedure clearCHSHIE; inline;
  6866. procedure clearCHSHIF; inline;
  6867. procedure clearCHTAIE; inline;
  6868. procedure clearCHTAIF; inline;
  6869. procedure setCHBCIE; inline;
  6870. procedure setCHBCIF; inline;
  6871. procedure setCHCCIE; inline;
  6872. procedure setCHCCIF; inline;
  6873. procedure setCHDDIE; inline;
  6874. procedure setCHDDIF; inline;
  6875. procedure setCHDHIE; inline;
  6876. procedure setCHDHIF; inline;
  6877. procedure setCHERIE; inline;
  6878. procedure setCHERIF; inline;
  6879. procedure setCHSDIE; inline;
  6880. procedure setCHSDIF; inline;
  6881. procedure setCHSHIE; inline;
  6882. procedure setCHSHIF; inline;
  6883. procedure setCHTAIE; inline;
  6884. procedure setCHTAIF; inline;
  6885. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  6886. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  6887. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  6888. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  6889. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  6890. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  6891. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  6892. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  6893. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  6894. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  6895. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  6896. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  6897. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  6898. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  6899. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  6900. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  6901. property w : TBits_32 read getw write setw;
  6902. end;
  6903. type
  6904. TDMAC0Registers = record
  6905. DCH0CONbits : TDMAC0_DCH0CON;
  6906. DCH0CON : longWord;
  6907. DCH0CONCLR : longWord;
  6908. DCH0CONSET : longWord;
  6909. DCH0CONINV : longWord;
  6910. DCH0ECONbits : TDMAC0_DCH0ECON;
  6911. DCH0ECON : longWord;
  6912. DCH0ECONCLR : longWord;
  6913. DCH0ECONSET : longWord;
  6914. DCH0ECONINV : longWord;
  6915. DCH0INTbits : TDMAC0_DCH0INT;
  6916. DCH0INT : longWord;
  6917. DCH0INTCLR : longWord;
  6918. DCH0INTSET : longWord;
  6919. DCH0INTINV : longWord;
  6920. DCH0SSA : longWord;
  6921. DCH0SSACLR : longWord;
  6922. DCH0SSASET : longWord;
  6923. DCH0SSAINV : longWord;
  6924. DCH0DSA : longWord;
  6925. DCH0DSACLR : longWord;
  6926. DCH0DSASET : longWord;
  6927. DCH0DSAINV : longWord;
  6928. DCH0SSIZ : longWord;
  6929. DCH0SSIZCLR : longWord;
  6930. DCH0SSIZSET : longWord;
  6931. DCH0SSIZINV : longWord;
  6932. DCH0DSIZ : longWord;
  6933. DCH0DSIZCLR : longWord;
  6934. DCH0DSIZSET : longWord;
  6935. DCH0DSIZINV : longWord;
  6936. DCH0SPTR : longWord;
  6937. DCH0SPTRCLR : longWord;
  6938. DCH0SPTRSET : longWord;
  6939. DCH0SPTRINV : longWord;
  6940. DCH0DPTR : longWord;
  6941. DCH0DPTRCLR : longWord;
  6942. DCH0DPTRSET : longWord;
  6943. DCH0DPTRINV : longWord;
  6944. DCH0CSIZ : longWord;
  6945. DCH0CSIZCLR : longWord;
  6946. DCH0CSIZSET : longWord;
  6947. DCH0CSIZINV : longWord;
  6948. DCH0CPTR : longWord;
  6949. DCH0CPTRCLR : longWord;
  6950. DCH0CPTRSET : longWord;
  6951. DCH0CPTRINV : longWord;
  6952. DCH0DAT : longWord;
  6953. DCH0DATCLR : longWord;
  6954. DCH0DATSET : longWord;
  6955. DCH0DATINV : longWord;
  6956. end;
  6957. TDMAC1_DCH1CON = record
  6958. private
  6959. function getCHAED : TBits_1; inline;
  6960. function getCHAEN : TBits_1; inline;
  6961. function getCHBUSY : TBits_1; inline;
  6962. function getCHCHN : TBits_1; inline;
  6963. function getCHCHNS : TBits_1; inline;
  6964. function getCHEDET : TBits_1; inline;
  6965. function getCHEN : TBits_1; inline;
  6966. function getCHPRI : TBits_2; inline;
  6967. function getw : TBits_32; inline;
  6968. procedure setCHAED(thebits : TBits_1); inline;
  6969. procedure setCHAEN(thebits : TBits_1); inline;
  6970. procedure setCHBUSY(thebits : TBits_1); inline;
  6971. procedure setCHCHN(thebits : TBits_1); inline;
  6972. procedure setCHCHNS(thebits : TBits_1); inline;
  6973. procedure setCHEDET(thebits : TBits_1); inline;
  6974. procedure setCHEN(thebits : TBits_1); inline;
  6975. procedure setCHPRI(thebits : TBits_2); inline;
  6976. procedure setw(thebits : TBits_32); inline;
  6977. public
  6978. procedure clearCHAED; inline;
  6979. procedure clearCHAEN; inline;
  6980. procedure clearCHBUSY; inline;
  6981. procedure clearCHCHN; inline;
  6982. procedure clearCHCHNS; inline;
  6983. procedure clearCHEDET; inline;
  6984. procedure clearCHEN; inline;
  6985. procedure setCHAED; inline;
  6986. procedure setCHAEN; inline;
  6987. procedure setCHBUSY; inline;
  6988. procedure setCHCHN; inline;
  6989. procedure setCHCHNS; inline;
  6990. procedure setCHEDET; inline;
  6991. procedure setCHEN; inline;
  6992. property CHAED : TBits_1 read getCHAED write setCHAED;
  6993. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  6994. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  6995. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  6996. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  6997. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  6998. property CHEN : TBits_1 read getCHEN write setCHEN;
  6999. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7000. property w : TBits_32 read getw write setw;
  7001. end;
  7002. TDMAC1_DCH1ECON = record
  7003. private
  7004. function getAIRQEN : TBits_1; inline;
  7005. function getCABORT : TBits_1; inline;
  7006. function getCFORCE : TBits_1; inline;
  7007. function getCHAIRQ : TBits_8; inline;
  7008. function getCHSIRQ : TBits_8; inline;
  7009. function getPATEN : TBits_1; inline;
  7010. function getSIRQEN : TBits_1; inline;
  7011. function getw : TBits_32; inline;
  7012. procedure setAIRQEN(thebits : TBits_1); inline;
  7013. procedure setCABORT(thebits : TBits_1); inline;
  7014. procedure setCFORCE(thebits : TBits_1); inline;
  7015. procedure setCHAIRQ(thebits : TBits_8); inline;
  7016. procedure setCHSIRQ(thebits : TBits_8); inline;
  7017. procedure setPATEN(thebits : TBits_1); inline;
  7018. procedure setSIRQEN(thebits : TBits_1); inline;
  7019. procedure setw(thebits : TBits_32); inline;
  7020. public
  7021. procedure clearAIRQEN; inline;
  7022. procedure clearCABORT; inline;
  7023. procedure clearCFORCE; inline;
  7024. procedure clearPATEN; inline;
  7025. procedure clearSIRQEN; inline;
  7026. procedure setAIRQEN; inline;
  7027. procedure setCABORT; inline;
  7028. procedure setCFORCE; inline;
  7029. procedure setPATEN; inline;
  7030. procedure setSIRQEN; inline;
  7031. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7032. property CABORT : TBits_1 read getCABORT write setCABORT;
  7033. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7034. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7035. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7036. property PATEN : TBits_1 read getPATEN write setPATEN;
  7037. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7038. property w : TBits_32 read getw write setw;
  7039. end;
  7040. TDMAC1_DCH1INT = record
  7041. private
  7042. function getCHBCIE : TBits_1; inline;
  7043. function getCHBCIF : TBits_1; inline;
  7044. function getCHCCIE : TBits_1; inline;
  7045. function getCHCCIF : TBits_1; inline;
  7046. function getCHDDIE : TBits_1; inline;
  7047. function getCHDDIF : TBits_1; inline;
  7048. function getCHDHIE : TBits_1; inline;
  7049. function getCHDHIF : TBits_1; inline;
  7050. function getCHERIE : TBits_1; inline;
  7051. function getCHERIF : TBits_1; inline;
  7052. function getCHSDIE : TBits_1; inline;
  7053. function getCHSDIF : TBits_1; inline;
  7054. function getCHSHIE : TBits_1; inline;
  7055. function getCHSHIF : TBits_1; inline;
  7056. function getCHTAIE : TBits_1; inline;
  7057. function getCHTAIF : TBits_1; inline;
  7058. function getw : TBits_32; inline;
  7059. procedure setCHBCIE(thebits : TBits_1); inline;
  7060. procedure setCHBCIF(thebits : TBits_1); inline;
  7061. procedure setCHCCIE(thebits : TBits_1); inline;
  7062. procedure setCHCCIF(thebits : TBits_1); inline;
  7063. procedure setCHDDIE(thebits : TBits_1); inline;
  7064. procedure setCHDDIF(thebits : TBits_1); inline;
  7065. procedure setCHDHIE(thebits : TBits_1); inline;
  7066. procedure setCHDHIF(thebits : TBits_1); inline;
  7067. procedure setCHERIE(thebits : TBits_1); inline;
  7068. procedure setCHERIF(thebits : TBits_1); inline;
  7069. procedure setCHSDIE(thebits : TBits_1); inline;
  7070. procedure setCHSDIF(thebits : TBits_1); inline;
  7071. procedure setCHSHIE(thebits : TBits_1); inline;
  7072. procedure setCHSHIF(thebits : TBits_1); inline;
  7073. procedure setCHTAIE(thebits : TBits_1); inline;
  7074. procedure setCHTAIF(thebits : TBits_1); inline;
  7075. procedure setw(thebits : TBits_32); inline;
  7076. public
  7077. procedure clearCHBCIE; inline;
  7078. procedure clearCHBCIF; inline;
  7079. procedure clearCHCCIE; inline;
  7080. procedure clearCHCCIF; inline;
  7081. procedure clearCHDDIE; inline;
  7082. procedure clearCHDDIF; inline;
  7083. procedure clearCHDHIE; inline;
  7084. procedure clearCHDHIF; inline;
  7085. procedure clearCHERIE; inline;
  7086. procedure clearCHERIF; inline;
  7087. procedure clearCHSDIE; inline;
  7088. procedure clearCHSDIF; inline;
  7089. procedure clearCHSHIE; inline;
  7090. procedure clearCHSHIF; inline;
  7091. procedure clearCHTAIE; inline;
  7092. procedure clearCHTAIF; inline;
  7093. procedure setCHBCIE; inline;
  7094. procedure setCHBCIF; inline;
  7095. procedure setCHCCIE; inline;
  7096. procedure setCHCCIF; inline;
  7097. procedure setCHDDIE; inline;
  7098. procedure setCHDDIF; inline;
  7099. procedure setCHDHIE; inline;
  7100. procedure setCHDHIF; inline;
  7101. procedure setCHERIE; inline;
  7102. procedure setCHERIF; inline;
  7103. procedure setCHSDIE; inline;
  7104. procedure setCHSDIF; inline;
  7105. procedure setCHSHIE; inline;
  7106. procedure setCHSHIF; inline;
  7107. procedure setCHTAIE; inline;
  7108. procedure setCHTAIF; inline;
  7109. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7110. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7111. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7112. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7113. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7114. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7115. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7116. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7117. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7118. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7119. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7120. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7121. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7122. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7123. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7124. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7125. property w : TBits_32 read getw write setw;
  7126. end;
  7127. type
  7128. TDMAC1Registers = record
  7129. DCH1CONbits : TDMAC1_DCH1CON;
  7130. DCH1CON : longWord;
  7131. DCH1CONCLR : longWord;
  7132. DCH1CONSET : longWord;
  7133. DCH1CONINV : longWord;
  7134. DCH1ECONbits : TDMAC1_DCH1ECON;
  7135. DCH1ECON : longWord;
  7136. DCH1ECONCLR : longWord;
  7137. DCH1ECONSET : longWord;
  7138. DCH1ECONINV : longWord;
  7139. DCH1INTbits : TDMAC1_DCH1INT;
  7140. DCH1INT : longWord;
  7141. DCH1INTCLR : longWord;
  7142. DCH1INTSET : longWord;
  7143. DCH1INTINV : longWord;
  7144. DCH1SSA : longWord;
  7145. DCH1SSACLR : longWord;
  7146. DCH1SSASET : longWord;
  7147. DCH1SSAINV : longWord;
  7148. DCH1DSA : longWord;
  7149. DCH1DSACLR : longWord;
  7150. DCH1DSASET : longWord;
  7151. DCH1DSAINV : longWord;
  7152. DCH1SSIZ : longWord;
  7153. DCH1SSIZCLR : longWord;
  7154. DCH1SSIZSET : longWord;
  7155. DCH1SSIZINV : longWord;
  7156. DCH1DSIZ : longWord;
  7157. DCH1DSIZCLR : longWord;
  7158. DCH1DSIZSET : longWord;
  7159. DCH1DSIZINV : longWord;
  7160. DCH1SPTR : longWord;
  7161. DCH1SPTRCLR : longWord;
  7162. DCH1SPTRSET : longWord;
  7163. DCH1SPTRINV : longWord;
  7164. DCH1DPTR : longWord;
  7165. DCH1DPTRCLR : longWord;
  7166. DCH1DPTRSET : longWord;
  7167. DCH1DPTRINV : longWord;
  7168. DCH1CSIZ : longWord;
  7169. DCH1CSIZCLR : longWord;
  7170. DCH1CSIZSET : longWord;
  7171. DCH1CSIZINV : longWord;
  7172. DCH1CPTR : longWord;
  7173. DCH1CPTRCLR : longWord;
  7174. DCH1CPTRSET : longWord;
  7175. DCH1CPTRINV : longWord;
  7176. DCH1DAT : longWord;
  7177. DCH1DATCLR : longWord;
  7178. DCH1DATSET : longWord;
  7179. DCH1DATINV : longWord;
  7180. end;
  7181. TDMAC2_DCH2CON = record
  7182. private
  7183. function getCHAED : TBits_1; inline;
  7184. function getCHAEN : TBits_1; inline;
  7185. function getCHBUSY : TBits_1; inline;
  7186. function getCHCHN : TBits_1; inline;
  7187. function getCHCHNS : TBits_1; inline;
  7188. function getCHEDET : TBits_1; inline;
  7189. function getCHEN : TBits_1; inline;
  7190. function getCHPRI : TBits_2; inline;
  7191. function getw : TBits_32; inline;
  7192. procedure setCHAED(thebits : TBits_1); inline;
  7193. procedure setCHAEN(thebits : TBits_1); inline;
  7194. procedure setCHBUSY(thebits : TBits_1); inline;
  7195. procedure setCHCHN(thebits : TBits_1); inline;
  7196. procedure setCHCHNS(thebits : TBits_1); inline;
  7197. procedure setCHEDET(thebits : TBits_1); inline;
  7198. procedure setCHEN(thebits : TBits_1); inline;
  7199. procedure setCHPRI(thebits : TBits_2); inline;
  7200. procedure setw(thebits : TBits_32); inline;
  7201. public
  7202. procedure clearCHAED; inline;
  7203. procedure clearCHAEN; inline;
  7204. procedure clearCHBUSY; inline;
  7205. procedure clearCHCHN; inline;
  7206. procedure clearCHCHNS; inline;
  7207. procedure clearCHEDET; inline;
  7208. procedure clearCHEN; inline;
  7209. procedure setCHAED; inline;
  7210. procedure setCHAEN; inline;
  7211. procedure setCHBUSY; inline;
  7212. procedure setCHCHN; inline;
  7213. procedure setCHCHNS; inline;
  7214. procedure setCHEDET; inline;
  7215. procedure setCHEN; inline;
  7216. property CHAED : TBits_1 read getCHAED write setCHAED;
  7217. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7218. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7219. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7220. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7221. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7222. property CHEN : TBits_1 read getCHEN write setCHEN;
  7223. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7224. property w : TBits_32 read getw write setw;
  7225. end;
  7226. TDMAC2_DCH2ECON = record
  7227. private
  7228. function getAIRQEN : TBits_1; inline;
  7229. function getCABORT : TBits_1; inline;
  7230. function getCFORCE : TBits_1; inline;
  7231. function getCHAIRQ : TBits_8; inline;
  7232. function getCHSIRQ : TBits_8; inline;
  7233. function getPATEN : TBits_1; inline;
  7234. function getSIRQEN : TBits_1; inline;
  7235. function getw : TBits_32; inline;
  7236. procedure setAIRQEN(thebits : TBits_1); inline;
  7237. procedure setCABORT(thebits : TBits_1); inline;
  7238. procedure setCFORCE(thebits : TBits_1); inline;
  7239. procedure setCHAIRQ(thebits : TBits_8); inline;
  7240. procedure setCHSIRQ(thebits : TBits_8); inline;
  7241. procedure setPATEN(thebits : TBits_1); inline;
  7242. procedure setSIRQEN(thebits : TBits_1); inline;
  7243. procedure setw(thebits : TBits_32); inline;
  7244. public
  7245. procedure clearAIRQEN; inline;
  7246. procedure clearCABORT; inline;
  7247. procedure clearCFORCE; inline;
  7248. procedure clearPATEN; inline;
  7249. procedure clearSIRQEN; inline;
  7250. procedure setAIRQEN; inline;
  7251. procedure setCABORT; inline;
  7252. procedure setCFORCE; inline;
  7253. procedure setPATEN; inline;
  7254. procedure setSIRQEN; inline;
  7255. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7256. property CABORT : TBits_1 read getCABORT write setCABORT;
  7257. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7258. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7259. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7260. property PATEN : TBits_1 read getPATEN write setPATEN;
  7261. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7262. property w : TBits_32 read getw write setw;
  7263. end;
  7264. TDMAC2_DCH2INT = record
  7265. private
  7266. function getCHBCIE : TBits_1; inline;
  7267. function getCHBCIF : TBits_1; inline;
  7268. function getCHCCIE : TBits_1; inline;
  7269. function getCHCCIF : TBits_1; inline;
  7270. function getCHDDIE : TBits_1; inline;
  7271. function getCHDDIF : TBits_1; inline;
  7272. function getCHDHIE : TBits_1; inline;
  7273. function getCHDHIF : TBits_1; inline;
  7274. function getCHERIE : TBits_1; inline;
  7275. function getCHERIF : TBits_1; inline;
  7276. function getCHSDIE : TBits_1; inline;
  7277. function getCHSDIF : TBits_1; inline;
  7278. function getCHSHIE : TBits_1; inline;
  7279. function getCHSHIF : TBits_1; inline;
  7280. function getCHTAIE : TBits_1; inline;
  7281. function getCHTAIF : TBits_1; inline;
  7282. function getw : TBits_32; inline;
  7283. procedure setCHBCIE(thebits : TBits_1); inline;
  7284. procedure setCHBCIF(thebits : TBits_1); inline;
  7285. procedure setCHCCIE(thebits : TBits_1); inline;
  7286. procedure setCHCCIF(thebits : TBits_1); inline;
  7287. procedure setCHDDIE(thebits : TBits_1); inline;
  7288. procedure setCHDDIF(thebits : TBits_1); inline;
  7289. procedure setCHDHIE(thebits : TBits_1); inline;
  7290. procedure setCHDHIF(thebits : TBits_1); inline;
  7291. procedure setCHERIE(thebits : TBits_1); inline;
  7292. procedure setCHERIF(thebits : TBits_1); inline;
  7293. procedure setCHSDIE(thebits : TBits_1); inline;
  7294. procedure setCHSDIF(thebits : TBits_1); inline;
  7295. procedure setCHSHIE(thebits : TBits_1); inline;
  7296. procedure setCHSHIF(thebits : TBits_1); inline;
  7297. procedure setCHTAIE(thebits : TBits_1); inline;
  7298. procedure setCHTAIF(thebits : TBits_1); inline;
  7299. procedure setw(thebits : TBits_32); inline;
  7300. public
  7301. procedure clearCHBCIE; inline;
  7302. procedure clearCHBCIF; inline;
  7303. procedure clearCHCCIE; inline;
  7304. procedure clearCHCCIF; inline;
  7305. procedure clearCHDDIE; inline;
  7306. procedure clearCHDDIF; inline;
  7307. procedure clearCHDHIE; inline;
  7308. procedure clearCHDHIF; inline;
  7309. procedure clearCHERIE; inline;
  7310. procedure clearCHERIF; inline;
  7311. procedure clearCHSDIE; inline;
  7312. procedure clearCHSDIF; inline;
  7313. procedure clearCHSHIE; inline;
  7314. procedure clearCHSHIF; inline;
  7315. procedure clearCHTAIE; inline;
  7316. procedure clearCHTAIF; inline;
  7317. procedure setCHBCIE; inline;
  7318. procedure setCHBCIF; inline;
  7319. procedure setCHCCIE; inline;
  7320. procedure setCHCCIF; inline;
  7321. procedure setCHDDIE; inline;
  7322. procedure setCHDDIF; inline;
  7323. procedure setCHDHIE; inline;
  7324. procedure setCHDHIF; inline;
  7325. procedure setCHERIE; inline;
  7326. procedure setCHERIF; inline;
  7327. procedure setCHSDIE; inline;
  7328. procedure setCHSDIF; inline;
  7329. procedure setCHSHIE; inline;
  7330. procedure setCHSHIF; inline;
  7331. procedure setCHTAIE; inline;
  7332. procedure setCHTAIF; inline;
  7333. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7334. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7335. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7336. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7337. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7338. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7339. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7340. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7341. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7342. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7343. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7344. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7345. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7346. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7347. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7348. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7349. property w : TBits_32 read getw write setw;
  7350. end;
  7351. type
  7352. TDMAC2Registers = record
  7353. DCH2CONbits : TDMAC2_DCH2CON;
  7354. DCH2CON : longWord;
  7355. DCH2CONCLR : longWord;
  7356. DCH2CONSET : longWord;
  7357. DCH2CONINV : longWord;
  7358. DCH2ECONbits : TDMAC2_DCH2ECON;
  7359. DCH2ECON : longWord;
  7360. DCH2ECONCLR : longWord;
  7361. DCH2ECONSET : longWord;
  7362. DCH2ECONINV : longWord;
  7363. DCH2INTbits : TDMAC2_DCH2INT;
  7364. DCH2INT : longWord;
  7365. DCH2INTCLR : longWord;
  7366. DCH2INTSET : longWord;
  7367. DCH2INTINV : longWord;
  7368. DCH2SSA : longWord;
  7369. DCH2SSACLR : longWord;
  7370. DCH2SSASET : longWord;
  7371. DCH2SSAINV : longWord;
  7372. DCH2DSA : longWord;
  7373. DCH2DSACLR : longWord;
  7374. DCH2DSASET : longWord;
  7375. DCH2DSAINV : longWord;
  7376. DCH2SSIZ : longWord;
  7377. DCH2SSIZCLR : longWord;
  7378. DCH2SSIZSET : longWord;
  7379. DCH2SSIZINV : longWord;
  7380. DCH2DSIZ : longWord;
  7381. DCH2DSIZCLR : longWord;
  7382. DCH2DSIZSET : longWord;
  7383. DCH2DSIZINV : longWord;
  7384. DCH2SPTR : longWord;
  7385. DCH2SPTRCLR : longWord;
  7386. DCH2SPTRSET : longWord;
  7387. DCH2SPTRINV : longWord;
  7388. DCH2DPTR : longWord;
  7389. DCH2DPTRCLR : longWord;
  7390. DCH2DPTRSET : longWord;
  7391. DCH2DPTRINV : longWord;
  7392. DCH2CSIZ : longWord;
  7393. DCH2CSIZCLR : longWord;
  7394. DCH2CSIZSET : longWord;
  7395. DCH2CSIZINV : longWord;
  7396. DCH2CPTR : longWord;
  7397. DCH2CPTRCLR : longWord;
  7398. DCH2CPTRSET : longWord;
  7399. DCH2CPTRINV : longWord;
  7400. DCH2DAT : longWord;
  7401. DCH2DATCLR : longWord;
  7402. DCH2DATSET : longWord;
  7403. DCH2DATINV : longWord;
  7404. end;
  7405. TDMAC3_DCH3CON = record
  7406. private
  7407. function getCHAED : TBits_1; inline;
  7408. function getCHAEN : TBits_1; inline;
  7409. function getCHBUSY : TBits_1; inline;
  7410. function getCHCHN : TBits_1; inline;
  7411. function getCHCHNS : TBits_1; inline;
  7412. function getCHEDET : TBits_1; inline;
  7413. function getCHEN : TBits_1; inline;
  7414. function getCHPRI : TBits_2; inline;
  7415. function getw : TBits_32; inline;
  7416. procedure setCHAED(thebits : TBits_1); inline;
  7417. procedure setCHAEN(thebits : TBits_1); inline;
  7418. procedure setCHBUSY(thebits : TBits_1); inline;
  7419. procedure setCHCHN(thebits : TBits_1); inline;
  7420. procedure setCHCHNS(thebits : TBits_1); inline;
  7421. procedure setCHEDET(thebits : TBits_1); inline;
  7422. procedure setCHEN(thebits : TBits_1); inline;
  7423. procedure setCHPRI(thebits : TBits_2); inline;
  7424. procedure setw(thebits : TBits_32); inline;
  7425. public
  7426. procedure clearCHAED; inline;
  7427. procedure clearCHAEN; inline;
  7428. procedure clearCHBUSY; inline;
  7429. procedure clearCHCHN; inline;
  7430. procedure clearCHCHNS; inline;
  7431. procedure clearCHEDET; inline;
  7432. procedure clearCHEN; inline;
  7433. procedure setCHAED; inline;
  7434. procedure setCHAEN; inline;
  7435. procedure setCHBUSY; inline;
  7436. procedure setCHCHN; inline;
  7437. procedure setCHCHNS; inline;
  7438. procedure setCHEDET; inline;
  7439. procedure setCHEN; inline;
  7440. property CHAED : TBits_1 read getCHAED write setCHAED;
  7441. property CHAEN : TBits_1 read getCHAEN write setCHAEN;
  7442. property CHBUSY : TBits_1 read getCHBUSY write setCHBUSY;
  7443. property CHCHN : TBits_1 read getCHCHN write setCHCHN;
  7444. property CHCHNS : TBits_1 read getCHCHNS write setCHCHNS;
  7445. property CHEDET : TBits_1 read getCHEDET write setCHEDET;
  7446. property CHEN : TBits_1 read getCHEN write setCHEN;
  7447. property CHPRI : TBits_2 read getCHPRI write setCHPRI;
  7448. property w : TBits_32 read getw write setw;
  7449. end;
  7450. TDMAC3_DCH3ECON = record
  7451. private
  7452. function getAIRQEN : TBits_1; inline;
  7453. function getCABORT : TBits_1; inline;
  7454. function getCFORCE : TBits_1; inline;
  7455. function getCHAIRQ : TBits_8; inline;
  7456. function getCHSIRQ : TBits_8; inline;
  7457. function getPATEN : TBits_1; inline;
  7458. function getSIRQEN : TBits_1; inline;
  7459. function getw : TBits_32; inline;
  7460. procedure setAIRQEN(thebits : TBits_1); inline;
  7461. procedure setCABORT(thebits : TBits_1); inline;
  7462. procedure setCFORCE(thebits : TBits_1); inline;
  7463. procedure setCHAIRQ(thebits : TBits_8); inline;
  7464. procedure setCHSIRQ(thebits : TBits_8); inline;
  7465. procedure setPATEN(thebits : TBits_1); inline;
  7466. procedure setSIRQEN(thebits : TBits_1); inline;
  7467. procedure setw(thebits : TBits_32); inline;
  7468. public
  7469. procedure clearAIRQEN; inline;
  7470. procedure clearCABORT; inline;
  7471. procedure clearCFORCE; inline;
  7472. procedure clearPATEN; inline;
  7473. procedure clearSIRQEN; inline;
  7474. procedure setAIRQEN; inline;
  7475. procedure setCABORT; inline;
  7476. procedure setCFORCE; inline;
  7477. procedure setPATEN; inline;
  7478. procedure setSIRQEN; inline;
  7479. property AIRQEN : TBits_1 read getAIRQEN write setAIRQEN;
  7480. property CABORT : TBits_1 read getCABORT write setCABORT;
  7481. property CFORCE : TBits_1 read getCFORCE write setCFORCE;
  7482. property CHAIRQ : TBits_8 read getCHAIRQ write setCHAIRQ;
  7483. property CHSIRQ : TBits_8 read getCHSIRQ write setCHSIRQ;
  7484. property PATEN : TBits_1 read getPATEN write setPATEN;
  7485. property SIRQEN : TBits_1 read getSIRQEN write setSIRQEN;
  7486. property w : TBits_32 read getw write setw;
  7487. end;
  7488. TDMAC3_DCH3INT = record
  7489. private
  7490. function getCHBCIE : TBits_1; inline;
  7491. function getCHBCIF : TBits_1; inline;
  7492. function getCHCCIE : TBits_1; inline;
  7493. function getCHCCIF : TBits_1; inline;
  7494. function getCHDDIE : TBits_1; inline;
  7495. function getCHDDIF : TBits_1; inline;
  7496. function getCHDHIE : TBits_1; inline;
  7497. function getCHDHIF : TBits_1; inline;
  7498. function getCHERIE : TBits_1; inline;
  7499. function getCHERIF : TBits_1; inline;
  7500. function getCHSDIE : TBits_1; inline;
  7501. function getCHSDIF : TBits_1; inline;
  7502. function getCHSHIE : TBits_1; inline;
  7503. function getCHSHIF : TBits_1; inline;
  7504. function getCHTAIE : TBits_1; inline;
  7505. function getCHTAIF : TBits_1; inline;
  7506. function getw : TBits_32; inline;
  7507. procedure setCHBCIE(thebits : TBits_1); inline;
  7508. procedure setCHBCIF(thebits : TBits_1); inline;
  7509. procedure setCHCCIE(thebits : TBits_1); inline;
  7510. procedure setCHCCIF(thebits : TBits_1); inline;
  7511. procedure setCHDDIE(thebits : TBits_1); inline;
  7512. procedure setCHDDIF(thebits : TBits_1); inline;
  7513. procedure setCHDHIE(thebits : TBits_1); inline;
  7514. procedure setCHDHIF(thebits : TBits_1); inline;
  7515. procedure setCHERIE(thebits : TBits_1); inline;
  7516. procedure setCHERIF(thebits : TBits_1); inline;
  7517. procedure setCHSDIE(thebits : TBits_1); inline;
  7518. procedure setCHSDIF(thebits : TBits_1); inline;
  7519. procedure setCHSHIE(thebits : TBits_1); inline;
  7520. procedure setCHSHIF(thebits : TBits_1); inline;
  7521. procedure setCHTAIE(thebits : TBits_1); inline;
  7522. procedure setCHTAIF(thebits : TBits_1); inline;
  7523. procedure setw(thebits : TBits_32); inline;
  7524. public
  7525. procedure clearCHBCIE; inline;
  7526. procedure clearCHBCIF; inline;
  7527. procedure clearCHCCIE; inline;
  7528. procedure clearCHCCIF; inline;
  7529. procedure clearCHDDIE; inline;
  7530. procedure clearCHDDIF; inline;
  7531. procedure clearCHDHIE; inline;
  7532. procedure clearCHDHIF; inline;
  7533. procedure clearCHERIE; inline;
  7534. procedure clearCHERIF; inline;
  7535. procedure clearCHSDIE; inline;
  7536. procedure clearCHSDIF; inline;
  7537. procedure clearCHSHIE; inline;
  7538. procedure clearCHSHIF; inline;
  7539. procedure clearCHTAIE; inline;
  7540. procedure clearCHTAIF; inline;
  7541. procedure setCHBCIE; inline;
  7542. procedure setCHBCIF; inline;
  7543. procedure setCHCCIE; inline;
  7544. procedure setCHCCIF; inline;
  7545. procedure setCHDDIE; inline;
  7546. procedure setCHDDIF; inline;
  7547. procedure setCHDHIE; inline;
  7548. procedure setCHDHIF; inline;
  7549. procedure setCHERIE; inline;
  7550. procedure setCHERIF; inline;
  7551. procedure setCHSDIE; inline;
  7552. procedure setCHSDIF; inline;
  7553. procedure setCHSHIE; inline;
  7554. procedure setCHSHIF; inline;
  7555. procedure setCHTAIE; inline;
  7556. procedure setCHTAIF; inline;
  7557. property CHBCIE : TBits_1 read getCHBCIE write setCHBCIE;
  7558. property CHBCIF : TBits_1 read getCHBCIF write setCHBCIF;
  7559. property CHCCIE : TBits_1 read getCHCCIE write setCHCCIE;
  7560. property CHCCIF : TBits_1 read getCHCCIF write setCHCCIF;
  7561. property CHDDIE : TBits_1 read getCHDDIE write setCHDDIE;
  7562. property CHDDIF : TBits_1 read getCHDDIF write setCHDDIF;
  7563. property CHDHIE : TBits_1 read getCHDHIE write setCHDHIE;
  7564. property CHDHIF : TBits_1 read getCHDHIF write setCHDHIF;
  7565. property CHERIE : TBits_1 read getCHERIE write setCHERIE;
  7566. property CHERIF : TBits_1 read getCHERIF write setCHERIF;
  7567. property CHSDIE : TBits_1 read getCHSDIE write setCHSDIE;
  7568. property CHSDIF : TBits_1 read getCHSDIF write setCHSDIF;
  7569. property CHSHIE : TBits_1 read getCHSHIE write setCHSHIE;
  7570. property CHSHIF : TBits_1 read getCHSHIF write setCHSHIF;
  7571. property CHTAIE : TBits_1 read getCHTAIE write setCHTAIE;
  7572. property CHTAIF : TBits_1 read getCHTAIF write setCHTAIF;
  7573. property w : TBits_32 read getw write setw;
  7574. end;
  7575. TDMAC3_U1IR = record
  7576. private
  7577. function getATTACHIF : TBits_1; inline;
  7578. function getDETACHIF : TBits_1; inline;
  7579. function getIDLEIF : TBits_1; inline;
  7580. function getRESUMEIF : TBits_1; inline;
  7581. function getSOFIF : TBits_1; inline;
  7582. function getSTALLIF : TBits_1; inline;
  7583. function getTRNIF : TBits_1; inline;
  7584. function getUERRIF : TBits_1; inline;
  7585. function getURSTIF : TBits_1; inline;
  7586. function getURSTIF_DETACHIF : TBits_1; inline;
  7587. procedure setATTACHIF(thebits : TBits_1); inline;
  7588. procedure setDETACHIF(thebits : TBits_1); inline;
  7589. procedure setIDLEIF(thebits : TBits_1); inline;
  7590. procedure setRESUMEIF(thebits : TBits_1); inline;
  7591. procedure setSOFIF(thebits : TBits_1); inline;
  7592. procedure setSTALLIF(thebits : TBits_1); inline;
  7593. procedure setTRNIF(thebits : TBits_1); inline;
  7594. procedure setUERRIF(thebits : TBits_1); inline;
  7595. procedure setURSTIF(thebits : TBits_1); inline;
  7596. procedure setURSTIF_DETACHIF(thebits : TBits_1); inline;
  7597. public
  7598. procedure clearATTACHIF; inline;
  7599. procedure clearDETACHIF; inline;
  7600. procedure clearIDLEIF; inline;
  7601. procedure clearRESUMEIF; inline;
  7602. procedure clearSOFIF; inline;
  7603. procedure clearSTALLIF; inline;
  7604. procedure clearTRNIF; inline;
  7605. procedure clearUERRIF; inline;
  7606. procedure clearURSTIF; inline;
  7607. procedure clearURSTIF_DETACHIF; inline;
  7608. procedure setATTACHIF; inline;
  7609. procedure setDETACHIF; inline;
  7610. procedure setIDLEIF; inline;
  7611. procedure setRESUMEIF; inline;
  7612. procedure setSOFIF; inline;
  7613. procedure setSTALLIF; inline;
  7614. procedure setTRNIF; inline;
  7615. procedure setUERRIF; inline;
  7616. procedure setURSTIF; inline;
  7617. procedure setURSTIF_DETACHIF; inline;
  7618. property ATTACHIF : TBits_1 read getATTACHIF write setATTACHIF;
  7619. property DETACHIF : TBits_1 read getDETACHIF write setDETACHIF;
  7620. property IDLEIF : TBits_1 read getIDLEIF write setIDLEIF;
  7621. property RESUMEIF : TBits_1 read getRESUMEIF write setRESUMEIF;
  7622. property SOFIF : TBits_1 read getSOFIF write setSOFIF;
  7623. property STALLIF : TBits_1 read getSTALLIF write setSTALLIF;
  7624. property TRNIF : TBits_1 read getTRNIF write setTRNIF;
  7625. property UERRIF : TBits_1 read getUERRIF write setUERRIF;
  7626. property URSTIF : TBits_1 read getURSTIF write setURSTIF;
  7627. property URSTIF_DETACHIF : TBits_1 read getURSTIF_DETACHIF write setURSTIF_DETACHIF;
  7628. end;
  7629. TDMAC3_U1IE = record
  7630. private
  7631. function getATTACHIE : TBits_1; inline;
  7632. function getDETACHIE : TBits_1; inline;
  7633. function getIDLEIE : TBits_1; inline;
  7634. function getRESUMEIE : TBits_1; inline;
  7635. function getSOFIE : TBits_1; inline;
  7636. function getSTALLIE : TBits_1; inline;
  7637. function getTRNIE : TBits_1; inline;
  7638. function getUERRIE : TBits_1; inline;
  7639. function getURSTIE : TBits_1; inline;
  7640. function getURSTIE_DETACHIE : TBits_1; inline;
  7641. procedure setATTACHIE(thebits : TBits_1); inline;
  7642. procedure setDETACHIE(thebits : TBits_1); inline;
  7643. procedure setIDLEIE(thebits : TBits_1); inline;
  7644. procedure setRESUMEIE(thebits : TBits_1); inline;
  7645. procedure setSOFIE(thebits : TBits_1); inline;
  7646. procedure setSTALLIE(thebits : TBits_1); inline;
  7647. procedure setTRNIE(thebits : TBits_1); inline;
  7648. procedure setUERRIE(thebits : TBits_1); inline;
  7649. procedure setURSTIE(thebits : TBits_1); inline;
  7650. procedure setURSTIE_DETACHIE(thebits : TBits_1); inline;
  7651. public
  7652. procedure clearATTACHIE; inline;
  7653. procedure clearDETACHIE; inline;
  7654. procedure clearIDLEIE; inline;
  7655. procedure clearRESUMEIE; inline;
  7656. procedure clearSOFIE; inline;
  7657. procedure clearSTALLIE; inline;
  7658. procedure clearTRNIE; inline;
  7659. procedure clearUERRIE; inline;
  7660. procedure clearURSTIE; inline;
  7661. procedure clearURSTIE_DETACHIE; inline;
  7662. procedure setATTACHIE; inline;
  7663. procedure setDETACHIE; inline;
  7664. procedure setIDLEIE; inline;
  7665. procedure setRESUMEIE; inline;
  7666. procedure setSOFIE; inline;
  7667. procedure setSTALLIE; inline;
  7668. procedure setTRNIE; inline;
  7669. procedure setUERRIE; inline;
  7670. procedure setURSTIE; inline;
  7671. procedure setURSTIE_DETACHIE; inline;
  7672. property ATTACHIE : TBits_1 read getATTACHIE write setATTACHIE;
  7673. property DETACHIE : TBits_1 read getDETACHIE write setDETACHIE;
  7674. property IDLEIE : TBits_1 read getIDLEIE write setIDLEIE;
  7675. property RESUMEIE : TBits_1 read getRESUMEIE write setRESUMEIE;
  7676. property SOFIE : TBits_1 read getSOFIE write setSOFIE;
  7677. property STALLIE : TBits_1 read getSTALLIE write setSTALLIE;
  7678. property TRNIE : TBits_1 read getTRNIE write setTRNIE;
  7679. property UERRIE : TBits_1 read getUERRIE write setUERRIE;
  7680. property URSTIE : TBits_1 read getURSTIE write setURSTIE;
  7681. property URSTIE_DETACHIE : TBits_1 read getURSTIE_DETACHIE write setURSTIE_DETACHIE;
  7682. end;
  7683. TDMAC3_U1EIR = record
  7684. private
  7685. function getBMXEF : TBits_1; inline;
  7686. function getBTOEF : TBits_1; inline;
  7687. function getBTSEF : TBits_1; inline;
  7688. function getCRC16EF : TBits_1; inline;
  7689. function getCRC5EF : TBits_1; inline;
  7690. function getCRC5EF_EOFEF : TBits_1; inline;
  7691. function getDFN8EF : TBits_1; inline;
  7692. function getDMAEF : TBits_1; inline;
  7693. function getEOFEF : TBits_1; inline;
  7694. function getPIDEF : TBits_1; inline;
  7695. procedure setBMXEF(thebits : TBits_1); inline;
  7696. procedure setBTOEF(thebits : TBits_1); inline;
  7697. procedure setBTSEF(thebits : TBits_1); inline;
  7698. procedure setCRC16EF(thebits : TBits_1); inline;
  7699. procedure setCRC5EF(thebits : TBits_1); inline;
  7700. procedure setCRC5EF_EOFEF(thebits : TBits_1); inline;
  7701. procedure setDFN8EF(thebits : TBits_1); inline;
  7702. procedure setDMAEF(thebits : TBits_1); inline;
  7703. procedure setEOFEF(thebits : TBits_1); inline;
  7704. procedure setPIDEF(thebits : TBits_1); inline;
  7705. public
  7706. procedure clearBMXEF; inline;
  7707. procedure clearBTOEF; inline;
  7708. procedure clearBTSEF; inline;
  7709. procedure clearCRC16EF; inline;
  7710. procedure clearCRC5EF; inline;
  7711. procedure clearCRC5EF_EOFEF; inline;
  7712. procedure clearDFN8EF; inline;
  7713. procedure clearDMAEF; inline;
  7714. procedure clearEOFEF; inline;
  7715. procedure clearPIDEF; inline;
  7716. procedure setBMXEF; inline;
  7717. procedure setBTOEF; inline;
  7718. procedure setBTSEF; inline;
  7719. procedure setCRC16EF; inline;
  7720. procedure setCRC5EF; inline;
  7721. procedure setCRC5EF_EOFEF; inline;
  7722. procedure setDFN8EF; inline;
  7723. procedure setDMAEF; inline;
  7724. procedure setEOFEF; inline;
  7725. procedure setPIDEF; inline;
  7726. property BMXEF : TBits_1 read getBMXEF write setBMXEF;
  7727. property BTOEF : TBits_1 read getBTOEF write setBTOEF;
  7728. property BTSEF : TBits_1 read getBTSEF write setBTSEF;
  7729. property CRC16EF : TBits_1 read getCRC16EF write setCRC16EF;
  7730. property CRC5EF : TBits_1 read getCRC5EF write setCRC5EF;
  7731. property CRC5EF_EOFEF : TBits_1 read getCRC5EF_EOFEF write setCRC5EF_EOFEF;
  7732. property DFN8EF : TBits_1 read getDFN8EF write setDFN8EF;
  7733. property DMAEF : TBits_1 read getDMAEF write setDMAEF;
  7734. property EOFEF : TBits_1 read getEOFEF write setEOFEF;
  7735. property PIDEF : TBits_1 read getPIDEF write setPIDEF;
  7736. end;
  7737. TDMAC3_U1EIE = record
  7738. private
  7739. function getBMXEE : TBits_1; inline;
  7740. function getBTOEE : TBits_1; inline;
  7741. function getBTSEE : TBits_1; inline;
  7742. function getCRC16EE : TBits_1; inline;
  7743. function getCRC5EE : TBits_1; inline;
  7744. function getCRC5EE_EOFEE : TBits_1; inline;
  7745. function getDFN8EE : TBits_1; inline;
  7746. function getDMAEE : TBits_1; inline;
  7747. function getEOFEE : TBits_1; inline;
  7748. function getPIDEE : TBits_1; inline;
  7749. procedure setBMXEE(thebits : TBits_1); inline;
  7750. procedure setBTOEE(thebits : TBits_1); inline;
  7751. procedure setBTSEE(thebits : TBits_1); inline;
  7752. procedure setCRC16EE(thebits : TBits_1); inline;
  7753. procedure setCRC5EE(thebits : TBits_1); inline;
  7754. procedure setCRC5EE_EOFEE(thebits : TBits_1); inline;
  7755. procedure setDFN8EE(thebits : TBits_1); inline;
  7756. procedure setDMAEE(thebits : TBits_1); inline;
  7757. procedure setEOFEE(thebits : TBits_1); inline;
  7758. procedure setPIDEE(thebits : TBits_1); inline;
  7759. public
  7760. procedure clearBMXEE; inline;
  7761. procedure clearBTOEE; inline;
  7762. procedure clearBTSEE; inline;
  7763. procedure clearCRC16EE; inline;
  7764. procedure clearCRC5EE; inline;
  7765. procedure clearCRC5EE_EOFEE; inline;
  7766. procedure clearDFN8EE; inline;
  7767. procedure clearDMAEE; inline;
  7768. procedure clearEOFEE; inline;
  7769. procedure clearPIDEE; inline;
  7770. procedure setBMXEE; inline;
  7771. procedure setBTOEE; inline;
  7772. procedure setBTSEE; inline;
  7773. procedure setCRC16EE; inline;
  7774. procedure setCRC5EE; inline;
  7775. procedure setCRC5EE_EOFEE; inline;
  7776. procedure setDFN8EE; inline;
  7777. procedure setDMAEE; inline;
  7778. procedure setEOFEE; inline;
  7779. procedure setPIDEE; inline;
  7780. property BMXEE : TBits_1 read getBMXEE write setBMXEE;
  7781. property BTOEE : TBits_1 read getBTOEE write setBTOEE;
  7782. property BTSEE : TBits_1 read getBTSEE write setBTSEE;
  7783. property CRC16EE : TBits_1 read getCRC16EE write setCRC16EE;
  7784. property CRC5EE : TBits_1 read getCRC5EE write setCRC5EE;
  7785. property CRC5EE_EOFEE : TBits_1 read getCRC5EE_EOFEE write setCRC5EE_EOFEE;
  7786. property DFN8EE : TBits_1 read getDFN8EE write setDFN8EE;
  7787. property DMAEE : TBits_1 read getDMAEE write setDMAEE;
  7788. property EOFEE : TBits_1 read getEOFEE write setEOFEE;
  7789. property PIDEE : TBits_1 read getPIDEE write setPIDEE;
  7790. end;
  7791. TDMAC3_U1STAT = record
  7792. private
  7793. function getDIR : TBits_1; inline;
  7794. function getENDPT : TBits_4; inline;
  7795. function getENDPT0 : TBits_1; inline;
  7796. function getENDPT1 : TBits_1; inline;
  7797. function getENDPT2 : TBits_1; inline;
  7798. function getENDPT3 : TBits_1; inline;
  7799. function getPPBI : TBits_1; inline;
  7800. procedure setDIR(thebits : TBits_1); inline;
  7801. procedure setENDPT(thebits : TBits_4); inline;
  7802. procedure setENDPT0(thebits : TBits_1); inline;
  7803. procedure setENDPT1(thebits : TBits_1); inline;
  7804. procedure setENDPT2(thebits : TBits_1); inline;
  7805. procedure setENDPT3(thebits : TBits_1); inline;
  7806. procedure setPPBI(thebits : TBits_1); inline;
  7807. public
  7808. procedure clearDIR; inline;
  7809. procedure clearENDPT0; inline;
  7810. procedure clearENDPT1; inline;
  7811. procedure clearENDPT2; inline;
  7812. procedure clearENDPT3; inline;
  7813. procedure clearPPBI; inline;
  7814. procedure setDIR; inline;
  7815. procedure setENDPT0; inline;
  7816. procedure setENDPT1; inline;
  7817. procedure setENDPT2; inline;
  7818. procedure setENDPT3; inline;
  7819. procedure setPPBI; inline;
  7820. property DIR : TBits_1 read getDIR write setDIR;
  7821. property ENDPT : TBits_4 read getENDPT write setENDPT;
  7822. property ENDPT0 : TBits_1 read getENDPT0 write setENDPT0;
  7823. property ENDPT1 : TBits_1 read getENDPT1 write setENDPT1;
  7824. property ENDPT2 : TBits_1 read getENDPT2 write setENDPT2;
  7825. property ENDPT3 : TBits_1 read getENDPT3 write setENDPT3;
  7826. property PPBI : TBits_1 read getPPBI write setPPBI;
  7827. end;
  7828. TDMAC3_U1CON = record
  7829. private
  7830. function getHOSTEN : TBits_1; inline;
  7831. function getJSTATE : TBits_1; inline;
  7832. function getPKTDIS : TBits_1; inline;
  7833. function getPKTDIS_TOKBUSY : TBits_1; inline;
  7834. function getPPBRST : TBits_1; inline;
  7835. function getRESUME : TBits_1; inline;
  7836. function getSE0 : TBits_1; inline;
  7837. function getSOFEN : TBits_1; inline;
  7838. function getTOKBUSY : TBits_1; inline;
  7839. function getUSBEN : TBits_1; inline;
  7840. function getUSBEN_SOFEN : TBits_1; inline;
  7841. function getUSBRST : TBits_1; inline;
  7842. procedure setHOSTEN(thebits : TBits_1); inline;
  7843. procedure setJSTATE(thebits : TBits_1); inline;
  7844. procedure setPKTDIS(thebits : TBits_1); inline;
  7845. procedure setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  7846. procedure setPPBRST(thebits : TBits_1); inline;
  7847. procedure setRESUME(thebits : TBits_1); inline;
  7848. procedure setSE0(thebits : TBits_1); inline;
  7849. procedure setSOFEN(thebits : TBits_1); inline;
  7850. procedure setTOKBUSY(thebits : TBits_1); inline;
  7851. procedure setUSBEN(thebits : TBits_1); inline;
  7852. procedure setUSBEN_SOFEN(thebits : TBits_1); inline;
  7853. procedure setUSBRST(thebits : TBits_1); inline;
  7854. public
  7855. procedure clearHOSTEN; inline;
  7856. procedure clearJSTATE; inline;
  7857. procedure clearPKTDIS; inline;
  7858. procedure clearPKTDIS_TOKBUSY; inline;
  7859. procedure clearPPBRST; inline;
  7860. procedure clearRESUME; inline;
  7861. procedure clearSE0; inline;
  7862. procedure clearSOFEN; inline;
  7863. procedure clearTOKBUSY; inline;
  7864. procedure clearUSBEN; inline;
  7865. procedure clearUSBEN_SOFEN; inline;
  7866. procedure clearUSBRST; inline;
  7867. procedure setHOSTEN; inline;
  7868. procedure setJSTATE; inline;
  7869. procedure setPKTDIS; inline;
  7870. procedure setPKTDIS_TOKBUSY; inline;
  7871. procedure setPPBRST; inline;
  7872. procedure setRESUME; inline;
  7873. procedure setSE0; inline;
  7874. procedure setSOFEN; inline;
  7875. procedure setTOKBUSY; inline;
  7876. procedure setUSBEN; inline;
  7877. procedure setUSBEN_SOFEN; inline;
  7878. procedure setUSBRST; inline;
  7879. property HOSTEN : TBits_1 read getHOSTEN write setHOSTEN;
  7880. property JSTATE : TBits_1 read getJSTATE write setJSTATE;
  7881. property PKTDIS : TBits_1 read getPKTDIS write setPKTDIS;
  7882. property PKTDIS_TOKBUSY : TBits_1 read getPKTDIS_TOKBUSY write setPKTDIS_TOKBUSY;
  7883. property PPBRST : TBits_1 read getPPBRST write setPPBRST;
  7884. property RESUME : TBits_1 read getRESUME write setRESUME;
  7885. property SE0 : TBits_1 read getSE0 write setSE0;
  7886. property SOFEN : TBits_1 read getSOFEN write setSOFEN;
  7887. property TOKBUSY : TBits_1 read getTOKBUSY write setTOKBUSY;
  7888. property USBEN : TBits_1 read getUSBEN write setUSBEN;
  7889. property USBEN_SOFEN : TBits_1 read getUSBEN_SOFEN write setUSBEN_SOFEN;
  7890. property USBRST : TBits_1 read getUSBRST write setUSBRST;
  7891. end;
  7892. TDMAC3_U1ADDR = record
  7893. private
  7894. function getDEVADDR : TBits_7; inline;
  7895. function getDEVADDR0 : TBits_1; inline;
  7896. function getDEVADDR1 : TBits_1; inline;
  7897. function getDEVADDR2 : TBits_1; inline;
  7898. function getDEVADDR3 : TBits_1; inline;
  7899. function getDEVADDR4 : TBits_1; inline;
  7900. function getDEVADDR5 : TBits_1; inline;
  7901. function getDEVADDR6 : TBits_1; inline;
  7902. function getLSPDEN : TBits_1; inline;
  7903. procedure setDEVADDR(thebits : TBits_7); inline;
  7904. procedure setDEVADDR0(thebits : TBits_1); inline;
  7905. procedure setDEVADDR1(thebits : TBits_1); inline;
  7906. procedure setDEVADDR2(thebits : TBits_1); inline;
  7907. procedure setDEVADDR3(thebits : TBits_1); inline;
  7908. procedure setDEVADDR4(thebits : TBits_1); inline;
  7909. procedure setDEVADDR5(thebits : TBits_1); inline;
  7910. procedure setDEVADDR6(thebits : TBits_1); inline;
  7911. procedure setLSPDEN(thebits : TBits_1); inline;
  7912. public
  7913. procedure clearDEVADDR0; inline;
  7914. procedure clearDEVADDR1; inline;
  7915. procedure clearDEVADDR2; inline;
  7916. procedure clearDEVADDR3; inline;
  7917. procedure clearDEVADDR4; inline;
  7918. procedure clearDEVADDR5; inline;
  7919. procedure clearDEVADDR6; inline;
  7920. procedure clearLSPDEN; inline;
  7921. procedure setDEVADDR0; inline;
  7922. procedure setDEVADDR1; inline;
  7923. procedure setDEVADDR2; inline;
  7924. procedure setDEVADDR3; inline;
  7925. procedure setDEVADDR4; inline;
  7926. procedure setDEVADDR5; inline;
  7927. procedure setDEVADDR6; inline;
  7928. procedure setLSPDEN; inline;
  7929. property DEVADDR : TBits_7 read getDEVADDR write setDEVADDR;
  7930. property DEVADDR0 : TBits_1 read getDEVADDR0 write setDEVADDR0;
  7931. property DEVADDR1 : TBits_1 read getDEVADDR1 write setDEVADDR1;
  7932. property DEVADDR2 : TBits_1 read getDEVADDR2 write setDEVADDR2;
  7933. property DEVADDR3 : TBits_1 read getDEVADDR3 write setDEVADDR3;
  7934. property DEVADDR4 : TBits_1 read getDEVADDR4 write setDEVADDR4;
  7935. property DEVADDR5 : TBits_1 read getDEVADDR5 write setDEVADDR5;
  7936. property DEVADDR6 : TBits_1 read getDEVADDR6 write setDEVADDR6;
  7937. property LSPDEN : TBits_1 read getLSPDEN write setLSPDEN;
  7938. end;
  7939. TDMAC3_U1FRML = record
  7940. private
  7941. function getFRM0 : TBits_1; inline;
  7942. function getFRM1 : TBits_1; inline;
  7943. function getFRM2 : TBits_1; inline;
  7944. function getFRM3 : TBits_1; inline;
  7945. function getFRM4 : TBits_1; inline;
  7946. function getFRM5 : TBits_1; inline;
  7947. function getFRM6 : TBits_1; inline;
  7948. function getFRM7 : TBits_1; inline;
  7949. function getFRML : TBits_8; inline;
  7950. procedure setFRM0(thebits : TBits_1); inline;
  7951. procedure setFRM1(thebits : TBits_1); inline;
  7952. procedure setFRM2(thebits : TBits_1); inline;
  7953. procedure setFRM3(thebits : TBits_1); inline;
  7954. procedure setFRM4(thebits : TBits_1); inline;
  7955. procedure setFRM5(thebits : TBits_1); inline;
  7956. procedure setFRM6(thebits : TBits_1); inline;
  7957. procedure setFRM7(thebits : TBits_1); inline;
  7958. procedure setFRML(thebits : TBits_8); inline;
  7959. public
  7960. procedure clearFRM0; inline;
  7961. procedure clearFRM1; inline;
  7962. procedure clearFRM2; inline;
  7963. procedure clearFRM3; inline;
  7964. procedure clearFRM4; inline;
  7965. procedure clearFRM5; inline;
  7966. procedure clearFRM6; inline;
  7967. procedure clearFRM7; inline;
  7968. procedure setFRM0; inline;
  7969. procedure setFRM1; inline;
  7970. procedure setFRM2; inline;
  7971. procedure setFRM3; inline;
  7972. procedure setFRM4; inline;
  7973. procedure setFRM5; inline;
  7974. procedure setFRM6; inline;
  7975. procedure setFRM7; inline;
  7976. property FRM0 : TBits_1 read getFRM0 write setFRM0;
  7977. property FRM1 : TBits_1 read getFRM1 write setFRM1;
  7978. property FRM2 : TBits_1 read getFRM2 write setFRM2;
  7979. property FRM3 : TBits_1 read getFRM3 write setFRM3;
  7980. property FRM4 : TBits_1 read getFRM4 write setFRM4;
  7981. property FRM5 : TBits_1 read getFRM5 write setFRM5;
  7982. property FRM6 : TBits_1 read getFRM6 write setFRM6;
  7983. property FRM7 : TBits_1 read getFRM7 write setFRM7;
  7984. property FRML : TBits_8 read getFRML write setFRML;
  7985. end;
  7986. TDMAC3_U1FRMH = record
  7987. private
  7988. function getFRM10 : TBits_1; inline;
  7989. function getFRM8 : TBits_1; inline;
  7990. function getFRM9 : TBits_1; inline;
  7991. function getFRMH : TBits_3; inline;
  7992. procedure setFRM10(thebits : TBits_1); inline;
  7993. procedure setFRM8(thebits : TBits_1); inline;
  7994. procedure setFRM9(thebits : TBits_1); inline;
  7995. procedure setFRMH(thebits : TBits_3); inline;
  7996. public
  7997. procedure clearFRM10; inline;
  7998. procedure clearFRM8; inline;
  7999. procedure clearFRM9; inline;
  8000. procedure setFRM10; inline;
  8001. procedure setFRM8; inline;
  8002. procedure setFRM9; inline;
  8003. property FRM10 : TBits_1 read getFRM10 write setFRM10;
  8004. property FRM8 : TBits_1 read getFRM8 write setFRM8;
  8005. property FRM9 : TBits_1 read getFRM9 write setFRM9;
  8006. property FRMH : TBits_3 read getFRMH write setFRMH;
  8007. end;
  8008. TDMAC3_U1TOK = record
  8009. private
  8010. function getEP : TBits_4; inline;
  8011. function getEP0 : TBits_1; inline;
  8012. function getEP1 : TBits_1; inline;
  8013. function getEP2 : TBits_1; inline;
  8014. function getEP3 : TBits_1; inline;
  8015. function getPID : TBits_4; inline;
  8016. function getPID0 : TBits_1; inline;
  8017. function getPID1 : TBits_1; inline;
  8018. function getPID2 : TBits_1; inline;
  8019. function getPID3 : TBits_1; inline;
  8020. procedure setEP(thebits : TBits_4); inline;
  8021. procedure setEP0(thebits : TBits_1); inline;
  8022. procedure setEP1(thebits : TBits_1); inline;
  8023. procedure setEP2(thebits : TBits_1); inline;
  8024. procedure setEP3(thebits : TBits_1); inline;
  8025. procedure setPID(thebits : TBits_4); inline;
  8026. procedure setPID0(thebits : TBits_1); inline;
  8027. procedure setPID1(thebits : TBits_1); inline;
  8028. procedure setPID2(thebits : TBits_1); inline;
  8029. procedure setPID3(thebits : TBits_1); inline;
  8030. public
  8031. procedure clearEP0; inline;
  8032. procedure clearEP1; inline;
  8033. procedure clearEP2; inline;
  8034. procedure clearEP3; inline;
  8035. procedure clearPID0; inline;
  8036. procedure clearPID1; inline;
  8037. procedure clearPID2; inline;
  8038. procedure clearPID3; inline;
  8039. procedure setEP0; inline;
  8040. procedure setEP1; inline;
  8041. procedure setEP2; inline;
  8042. procedure setEP3; inline;
  8043. procedure setPID0; inline;
  8044. procedure setPID1; inline;
  8045. procedure setPID2; inline;
  8046. procedure setPID3; inline;
  8047. property EP : TBits_4 read getEP write setEP;
  8048. property EP0 : TBits_1 read getEP0 write setEP0;
  8049. property EP1 : TBits_1 read getEP1 write setEP1;
  8050. property EP2 : TBits_1 read getEP2 write setEP2;
  8051. property EP3 : TBits_1 read getEP3 write setEP3;
  8052. property PID : TBits_4 read getPID write setPID;
  8053. property PID0 : TBits_1 read getPID0 write setPID0;
  8054. property PID1 : TBits_1 read getPID1 write setPID1;
  8055. property PID2 : TBits_1 read getPID2 write setPID2;
  8056. property PID3 : TBits_1 read getPID3 write setPID3;
  8057. end;
  8058. type
  8059. TDMAC3Registers = record
  8060. DCH3CONbits : TDMAC3_DCH3CON;
  8061. DCH3CON : longWord;
  8062. DCH3CONCLR : longWord;
  8063. DCH3CONSET : longWord;
  8064. DCH3CONINV : longWord;
  8065. DCH3ECONbits : TDMAC3_DCH3ECON;
  8066. DCH3ECON : longWord;
  8067. DCH3ECONCLR : longWord;
  8068. DCH3ECONSET : longWord;
  8069. DCH3ECONINV : longWord;
  8070. DCH3INTbits : TDMAC3_DCH3INT;
  8071. DCH3INT : longWord;
  8072. DCH3INTCLR : longWord;
  8073. DCH3INTSET : longWord;
  8074. DCH3INTINV : longWord;
  8075. DCH3SSA : longWord;
  8076. DCH3SSACLR : longWord;
  8077. DCH3SSASET : longWord;
  8078. DCH3SSAINV : longWord;
  8079. DCH3DSA : longWord;
  8080. DCH3DSACLR : longWord;
  8081. DCH3DSASET : longWord;
  8082. DCH3DSAINV : longWord;
  8083. DCH3SSIZ : longWord;
  8084. DCH3SSIZCLR : longWord;
  8085. DCH3SSIZSET : longWord;
  8086. DCH3SSIZINV : longWord;
  8087. DCH3DSIZ : longWord;
  8088. DCH3DSIZCLR : longWord;
  8089. DCH3DSIZSET : longWord;
  8090. DCH3DSIZINV : longWord;
  8091. DCH3SPTR : longWord;
  8092. DCH3SPTRCLR : longWord;
  8093. DCH3SPTRSET : longWord;
  8094. DCH3SPTRINV : longWord;
  8095. DCH3DPTR : longWord;
  8096. DCH3DPTRCLR : longWord;
  8097. DCH3DPTRSET : longWord;
  8098. DCH3DPTRINV : longWord;
  8099. DCH3CSIZ : longWord;
  8100. DCH3CSIZCLR : longWord;
  8101. DCH3CSIZSET : longWord;
  8102. DCH3CSIZINV : longWord;
  8103. DCH3CPTR : longWord;
  8104. DCH3CPTRCLR : longWord;
  8105. DCH3CPTRSET : longWord;
  8106. DCH3CPTRINV : longWord;
  8107. DCH3DAT : longWord;
  8108. DCH3DATCLR : longWord;
  8109. DCH3DATSET : longWord;
  8110. DCH3DATINV : longWord;
  8111. U1OTGIR : longWord;
  8112. U1OTGIRCLR : longWord;
  8113. U1OTGIE : longWord;
  8114. U1OTGIECLR : longWord;
  8115. U1OTGIESET : longWord;
  8116. U1OTGIEINV : longWord;
  8117. U1OTGSTAT : longWord;
  8118. U1OTGCON : longWord;
  8119. U1OTGCONCLR : longWord;
  8120. U1OTGCONSET : longWord;
  8121. U1OTGCONINV : longWord;
  8122. U1PWRC : longWord;
  8123. U1PWRCCLR : longWord;
  8124. U1PWRCSET : longWord;
  8125. U1PWRCINV : longWord;
  8126. U1IRbits : TDMAC3_U1IR;
  8127. U1IR : longWord;
  8128. U1IRCLR : longWord;
  8129. U1IEbits : TDMAC3_U1IE;
  8130. U1IE : longWord;
  8131. U1IECLR : longWord;
  8132. U1IESET : longWord;
  8133. U1IEINV : longWord;
  8134. U1EIRbits : TDMAC3_U1EIR;
  8135. U1EIR : longWord;
  8136. U1EIRCLR : longWord;
  8137. U1EIEbits : TDMAC3_U1EIE;
  8138. U1EIE : longWord;
  8139. U1EIECLR : longWord;
  8140. U1EIESET : longWord;
  8141. U1EIEINV : longWord;
  8142. U1STATbits : TDMAC3_U1STAT;
  8143. U1STAT : longWord;
  8144. U1CONbits : TDMAC3_U1CON;
  8145. U1CON : longWord;
  8146. U1CONCLR : longWord;
  8147. U1CONSET : longWord;
  8148. U1CONINV : longWord;
  8149. U1ADDRbits : TDMAC3_U1ADDR;
  8150. U1ADDR : longWord;
  8151. U1ADDRCLR : longWord;
  8152. U1ADDRSET : longWord;
  8153. U1ADDRINV : longWord;
  8154. U1BDTP1 : longWord;
  8155. U1BDTP1CLR : longWord;
  8156. U1BDTP1SET : longWord;
  8157. U1BDTP1INV : longWord;
  8158. U1FRMLbits : TDMAC3_U1FRML;
  8159. U1FRML : longWord;
  8160. U1FRMHbits : TDMAC3_U1FRMH;
  8161. U1FRMH : longWord;
  8162. U1TOKbits : TDMAC3_U1TOK;
  8163. U1TOK : longWord;
  8164. U1TOKCLR : longWord;
  8165. U1TOKSET : longWord;
  8166. U1TOKINV : longWord;
  8167. U1SOF : longWord;
  8168. U1SOFCLR : longWord;
  8169. U1SOFSET : longWord;
  8170. U1SOFINV : longWord;
  8171. U1BDTP2 : longWord;
  8172. U1BDTP2CLR : longWord;
  8173. U1BDTP2SET : longWord;
  8174. U1BDTP2INV : longWord;
  8175. U1BDTP3 : longWord;
  8176. U1BDTP3CLR : longWord;
  8177. U1BDTP3SET : longWord;
  8178. U1BDTP3INV : longWord;
  8179. U1CNFG1 : longWord;
  8180. U1CNFG1CLR : longWord;
  8181. U1CNFG1SET : longWord;
  8182. U1CNFG1INV : longWord;
  8183. U1EP0 : longWord;
  8184. U1EP0CLR : longWord;
  8185. U1EP0SET : longWord;
  8186. U1EP0INV : longWord;
  8187. U1EP1 : longWord;
  8188. U1EP1CLR : longWord;
  8189. U1EP1SET : longWord;
  8190. U1EP1INV : longWord;
  8191. U1EP2 : longWord;
  8192. U1EP2CLR : longWord;
  8193. U1EP2SET : longWord;
  8194. U1EP2INV : longWord;
  8195. U1EP3 : longWord;
  8196. U1EP3CLR : longWord;
  8197. U1EP3SET : longWord;
  8198. U1EP3INV : longWord;
  8199. U1EP4 : longWord;
  8200. U1EP4CLR : longWord;
  8201. U1EP4SET : longWord;
  8202. U1EP4INV : longWord;
  8203. U1EP5 : longWord;
  8204. U1EP5CLR : longWord;
  8205. U1EP5SET : longWord;
  8206. U1EP5INV : longWord;
  8207. U1EP6 : longWord;
  8208. U1EP6CLR : longWord;
  8209. U1EP6SET : longWord;
  8210. U1EP6INV : longWord;
  8211. U1EP7 : longWord;
  8212. U1EP7CLR : longWord;
  8213. U1EP7SET : longWord;
  8214. U1EP7INV : longWord;
  8215. U1EP8 : longWord;
  8216. U1EP8CLR : longWord;
  8217. U1EP8SET : longWord;
  8218. U1EP8INV : longWord;
  8219. U1EP9 : longWord;
  8220. U1EP9CLR : longWord;
  8221. U1EP9SET : longWord;
  8222. U1EP9INV : longWord;
  8223. U1EP10 : longWord;
  8224. U1EP10CLR : longWord;
  8225. U1EP10SET : longWord;
  8226. U1EP10INV : longWord;
  8227. U1EP11 : longWord;
  8228. U1EP11CLR : longWord;
  8229. U1EP11SET : longWord;
  8230. U1EP11INV : longWord;
  8231. U1EP12 : longWord;
  8232. U1EP12CLR : longWord;
  8233. U1EP12SET : longWord;
  8234. U1EP12INV : longWord;
  8235. U1EP13 : longWord;
  8236. U1EP13CLR : longWord;
  8237. U1EP13SET : longWord;
  8238. U1EP13INV : longWord;
  8239. U1EP14 : longWord;
  8240. U1EP14CLR : longWord;
  8241. U1EP14SET : longWord;
  8242. U1EP14INV : longWord;
  8243. U1EP15 : longWord;
  8244. U1EP15CLR : longWord;
  8245. U1EP15SET : longWord;
  8246. U1EP15INV : longWord;
  8247. end;
  8248. TPORTA_ANSELA = record
  8249. private
  8250. function getANSA0 : TBits_1; inline;
  8251. function getANSA1 : TBits_1; inline;
  8252. function getw : TBits_32; inline;
  8253. procedure setANSA0(thebits : TBits_1); inline;
  8254. procedure setANSA1(thebits : TBits_1); inline;
  8255. procedure setw(thebits : TBits_32); inline;
  8256. public
  8257. procedure clearANSA0; inline;
  8258. procedure clearANSA1; inline;
  8259. procedure setANSA0; inline;
  8260. procedure setANSA1; inline;
  8261. property ANSA0 : TBits_1 read getANSA0 write setANSA0;
  8262. property ANSA1 : TBits_1 read getANSA1 write setANSA1;
  8263. property w : TBits_32 read getw write setw;
  8264. end;
  8265. TPORTA_TRISA = record
  8266. private
  8267. function getTRISA0 : TBits_1; inline;
  8268. function getTRISA1 : TBits_1; inline;
  8269. function getTRISA2 : TBits_1; inline;
  8270. function getTRISA3 : TBits_1; inline;
  8271. function getTRISA4 : TBits_1; inline;
  8272. function getw : TBits_32; inline;
  8273. procedure setTRISA0(thebits : TBits_1); inline;
  8274. procedure setTRISA1(thebits : TBits_1); inline;
  8275. procedure setTRISA2(thebits : TBits_1); inline;
  8276. procedure setTRISA3(thebits : TBits_1); inline;
  8277. procedure setTRISA4(thebits : TBits_1); inline;
  8278. procedure setw(thebits : TBits_32); inline;
  8279. public
  8280. procedure clearTRISA0; inline;
  8281. procedure clearTRISA1; inline;
  8282. procedure clearTRISA2; inline;
  8283. procedure clearTRISA3; inline;
  8284. procedure clearTRISA4; inline;
  8285. procedure setTRISA0; inline;
  8286. procedure setTRISA1; inline;
  8287. procedure setTRISA2; inline;
  8288. procedure setTRISA3; inline;
  8289. procedure setTRISA4; inline;
  8290. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8291. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8292. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8293. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8294. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8295. property w : TBits_32 read getw write setw;
  8296. end;
  8297. TPORTA_PORTA = record
  8298. private
  8299. function getRA0 : TBits_1; inline;
  8300. function getRA1 : TBits_1; inline;
  8301. function getRA2 : TBits_1; inline;
  8302. function getRA3 : TBits_1; inline;
  8303. function getRA4 : TBits_1; inline;
  8304. function getw : TBits_32; inline;
  8305. procedure setRA0(thebits : TBits_1); inline;
  8306. procedure setRA1(thebits : TBits_1); inline;
  8307. procedure setRA2(thebits : TBits_1); inline;
  8308. procedure setRA3(thebits : TBits_1); inline;
  8309. procedure setRA4(thebits : TBits_1); inline;
  8310. procedure setw(thebits : TBits_32); inline;
  8311. public
  8312. procedure clearRA0; inline;
  8313. procedure clearRA1; inline;
  8314. procedure clearRA2; inline;
  8315. procedure clearRA3; inline;
  8316. procedure clearRA4; inline;
  8317. procedure setRA0; inline;
  8318. procedure setRA1; inline;
  8319. procedure setRA2; inline;
  8320. procedure setRA3; inline;
  8321. procedure setRA4; inline;
  8322. property RA0 : TBits_1 read getRA0 write setRA0;
  8323. property RA1 : TBits_1 read getRA1 write setRA1;
  8324. property RA2 : TBits_1 read getRA2 write setRA2;
  8325. property RA3 : TBits_1 read getRA3 write setRA3;
  8326. property RA4 : TBits_1 read getRA4 write setRA4;
  8327. property w : TBits_32 read getw write setw;
  8328. end;
  8329. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4);
  8330. TPortA_bitset = set of TPortA_bits;
  8331. TPORTA_LATA = record
  8332. private
  8333. function getLATA0 : TBits_1; inline;
  8334. function getLATA1 : TBits_1; inline;
  8335. function getLATA2 : TBits_1; inline;
  8336. function getLATA3 : TBits_1; inline;
  8337. function getLATA4 : TBits_1; inline;
  8338. function getw : TBits_32; inline;
  8339. procedure setLATA0(thebits : TBits_1); inline;
  8340. procedure setLATA1(thebits : TBits_1); inline;
  8341. procedure setLATA2(thebits : TBits_1); inline;
  8342. procedure setLATA3(thebits : TBits_1); inline;
  8343. procedure setLATA4(thebits : TBits_1); inline;
  8344. procedure setw(thebits : TBits_32); inline;
  8345. public
  8346. procedure clearLATA0; inline;
  8347. procedure clearLATA1; inline;
  8348. procedure clearLATA2; inline;
  8349. procedure clearLATA3; inline;
  8350. procedure clearLATA4; inline;
  8351. procedure setLATA0; inline;
  8352. procedure setLATA1; inline;
  8353. procedure setLATA2; inline;
  8354. procedure setLATA3; inline;
  8355. procedure setLATA4; inline;
  8356. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8357. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8358. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8359. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8360. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8361. property w : TBits_32 read getw write setw;
  8362. end;
  8363. TPORTA_CNPUA = record
  8364. private
  8365. function getCNPUA0 : TBits_1; inline;
  8366. function getCNPUA1 : TBits_1; inline;
  8367. function getCNPUA2 : TBits_1; inline;
  8368. function getCNPUA3 : TBits_1; inline;
  8369. function getCNPUA4 : TBits_1; inline;
  8370. function getw : TBits_32; inline;
  8371. procedure setCNPUA0(thebits : TBits_1); inline;
  8372. procedure setCNPUA1(thebits : TBits_1); inline;
  8373. procedure setCNPUA2(thebits : TBits_1); inline;
  8374. procedure setCNPUA3(thebits : TBits_1); inline;
  8375. procedure setCNPUA4(thebits : TBits_1); inline;
  8376. procedure setw(thebits : TBits_32); inline;
  8377. public
  8378. procedure clearCNPUA0; inline;
  8379. procedure clearCNPUA1; inline;
  8380. procedure clearCNPUA2; inline;
  8381. procedure clearCNPUA3; inline;
  8382. procedure clearCNPUA4; inline;
  8383. procedure setCNPUA0; inline;
  8384. procedure setCNPUA1; inline;
  8385. procedure setCNPUA2; inline;
  8386. procedure setCNPUA3; inline;
  8387. procedure setCNPUA4; inline;
  8388. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8389. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8390. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8391. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8392. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8393. property w : TBits_32 read getw write setw;
  8394. end;
  8395. TPORTA_CNPDA = record
  8396. private
  8397. function getCNPDA0 : TBits_1; inline;
  8398. function getCNPDA1 : TBits_1; inline;
  8399. function getCNPDA2 : TBits_1; inline;
  8400. function getCNPDA3 : TBits_1; inline;
  8401. function getCNPDA4 : TBits_1; inline;
  8402. function getw : TBits_32; inline;
  8403. procedure setCNPDA0(thebits : TBits_1); inline;
  8404. procedure setCNPDA1(thebits : TBits_1); inline;
  8405. procedure setCNPDA2(thebits : TBits_1); inline;
  8406. procedure setCNPDA3(thebits : TBits_1); inline;
  8407. procedure setCNPDA4(thebits : TBits_1); inline;
  8408. procedure setw(thebits : TBits_32); inline;
  8409. public
  8410. procedure clearCNPDA0; inline;
  8411. procedure clearCNPDA1; inline;
  8412. procedure clearCNPDA2; inline;
  8413. procedure clearCNPDA3; inline;
  8414. procedure clearCNPDA4; inline;
  8415. procedure setCNPDA0; inline;
  8416. procedure setCNPDA1; inline;
  8417. procedure setCNPDA2; inline;
  8418. procedure setCNPDA3; inline;
  8419. procedure setCNPDA4; inline;
  8420. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8421. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8422. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8423. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8424. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8425. property w : TBits_32 read getw write setw;
  8426. end;
  8427. TPORTA_CNCONA = record
  8428. private
  8429. function getON : TBits_1; inline;
  8430. function getSIDL : TBits_1; inline;
  8431. function getw : TBits_32; inline;
  8432. procedure setON(thebits : TBits_1); inline;
  8433. procedure setSIDL(thebits : TBits_1); inline;
  8434. procedure setw(thebits : TBits_32); inline;
  8435. public
  8436. procedure clearON; inline;
  8437. procedure clearSIDL; inline;
  8438. procedure setON; inline;
  8439. procedure setSIDL; inline;
  8440. property ON : TBits_1 read getON write setON;
  8441. property SIDL : TBits_1 read getSIDL write setSIDL;
  8442. property w : TBits_32 read getw write setw;
  8443. end;
  8444. TPORTA_CNENA = record
  8445. private
  8446. function getCNIEA0 : TBits_1; inline;
  8447. function getCNIEA1 : TBits_1; inline;
  8448. function getCNIEA2 : TBits_1; inline;
  8449. function getCNIEA3 : TBits_1; inline;
  8450. function getCNIEA4 : TBits_1; inline;
  8451. function getw : TBits_32; inline;
  8452. procedure setCNIEA0(thebits : TBits_1); inline;
  8453. procedure setCNIEA1(thebits : TBits_1); inline;
  8454. procedure setCNIEA2(thebits : TBits_1); inline;
  8455. procedure setCNIEA3(thebits : TBits_1); inline;
  8456. procedure setCNIEA4(thebits : TBits_1); inline;
  8457. procedure setw(thebits : TBits_32); inline;
  8458. public
  8459. procedure clearCNIEA0; inline;
  8460. procedure clearCNIEA1; inline;
  8461. procedure clearCNIEA2; inline;
  8462. procedure clearCNIEA3; inline;
  8463. procedure clearCNIEA4; inline;
  8464. procedure setCNIEA0; inline;
  8465. procedure setCNIEA1; inline;
  8466. procedure setCNIEA2; inline;
  8467. procedure setCNIEA3; inline;
  8468. procedure setCNIEA4; inline;
  8469. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8470. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8471. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8472. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8473. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8474. property w : TBits_32 read getw write setw;
  8475. end;
  8476. TPORTA_CNSTATA = record
  8477. private
  8478. function getCNSTATA0 : TBits_1; inline;
  8479. function getCNSTATA1 : TBits_1; inline;
  8480. function getCNSTATA2 : TBits_1; inline;
  8481. function getCNSTATA3 : TBits_1; inline;
  8482. function getCNSTATA4 : TBits_1; inline;
  8483. function getw : TBits_32; inline;
  8484. procedure setCNSTATA0(thebits : TBits_1); inline;
  8485. procedure setCNSTATA1(thebits : TBits_1); inline;
  8486. procedure setCNSTATA2(thebits : TBits_1); inline;
  8487. procedure setCNSTATA3(thebits : TBits_1); inline;
  8488. procedure setCNSTATA4(thebits : TBits_1); inline;
  8489. procedure setw(thebits : TBits_32); inline;
  8490. public
  8491. procedure clearCNSTATA0; inline;
  8492. procedure clearCNSTATA1; inline;
  8493. procedure clearCNSTATA2; inline;
  8494. procedure clearCNSTATA3; inline;
  8495. procedure clearCNSTATA4; inline;
  8496. procedure setCNSTATA0; inline;
  8497. procedure setCNSTATA1; inline;
  8498. procedure setCNSTATA2; inline;
  8499. procedure setCNSTATA3; inline;
  8500. procedure setCNSTATA4; inline;
  8501. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8502. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8503. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8504. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8505. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8506. property w : TBits_32 read getw write setw;
  8507. end;
  8508. type
  8509. TPORTARegisters = record
  8510. ANSELAbits : TPORTA_ANSELA;
  8511. ANSELA : longWord;
  8512. ANSELACLR : longWord;
  8513. ANSELASET : longWord;
  8514. ANSELAINV : longWord;
  8515. TRISAbits : TPORTA_TRISA;
  8516. TRISA : longWord;
  8517. TRISACLR : longWord;
  8518. TRISASET : longWord;
  8519. TRISAINV : longWord;
  8520. PORTAbits : TPORTA_PORTA;
  8521. PORTA : longWord;
  8522. PORTACLR : longWord;
  8523. PORTASET : longWord;
  8524. PORTAINV : longWord;
  8525. LATAbits : TPORTA_LATA;
  8526. LATA : longWord;
  8527. LATACLR : longWord;
  8528. LATASET : longWord;
  8529. LATAINV : longWord;
  8530. ODCA : longWord;
  8531. ODCACLR : longWord;
  8532. ODCASET : longWord;
  8533. ODCAINV : longWord;
  8534. CNPUAbits : TPORTA_CNPUA;
  8535. CNPUA : longWord;
  8536. CNPUACLR : longWord;
  8537. CNPUASET : longWord;
  8538. CNPUAINV : longWord;
  8539. CNPDAbits : TPORTA_CNPDA;
  8540. CNPDA : longWord;
  8541. CNPDACLR : longWord;
  8542. CNPDASET : longWord;
  8543. CNPDAINV : longWord;
  8544. CNCONAbits : TPORTA_CNCONA;
  8545. CNCONA : longWord;
  8546. CNCONACLR : longWord;
  8547. CNCONASET : longWord;
  8548. CNCONAINV : longWord;
  8549. CNENAbits : TPORTA_CNENA;
  8550. CNENA : longWord;
  8551. CNENACLR : longWord;
  8552. CNENASET : longWord;
  8553. CNENAINV : longWord;
  8554. CNSTATAbits : TPORTA_CNSTATA;
  8555. CNSTATA : longWord;
  8556. CNSTATACLR : longWord;
  8557. CNSTATASET : longWord;
  8558. CNSTATAINV : longWord;
  8559. end;
  8560. TPORTB_ANSELB = record
  8561. private
  8562. function getANSB0 : TBits_1; inline;
  8563. function getANSB1 : TBits_1; inline;
  8564. function getANSB12 : TBits_1; inline;
  8565. function getANSB13 : TBits_1; inline;
  8566. function getANSB14 : TBits_1; inline;
  8567. function getANSB15 : TBits_1; inline;
  8568. function getANSB2 : TBits_1; inline;
  8569. function getANSB3 : TBits_1; inline;
  8570. function getw : TBits_32; inline;
  8571. procedure setANSB0(thebits : TBits_1); inline;
  8572. procedure setANSB1(thebits : TBits_1); inline;
  8573. procedure setANSB12(thebits : TBits_1); inline;
  8574. procedure setANSB13(thebits : TBits_1); inline;
  8575. procedure setANSB14(thebits : TBits_1); inline;
  8576. procedure setANSB15(thebits : TBits_1); inline;
  8577. procedure setANSB2(thebits : TBits_1); inline;
  8578. procedure setANSB3(thebits : TBits_1); inline;
  8579. procedure setw(thebits : TBits_32); inline;
  8580. public
  8581. procedure clearANSB0; inline;
  8582. procedure clearANSB12; inline;
  8583. procedure clearANSB13; inline;
  8584. procedure clearANSB14; inline;
  8585. procedure clearANSB15; inline;
  8586. procedure clearANSB1; inline;
  8587. procedure clearANSB2; inline;
  8588. procedure clearANSB3; inline;
  8589. procedure setANSB0; inline;
  8590. procedure setANSB12; inline;
  8591. procedure setANSB13; inline;
  8592. procedure setANSB14; inline;
  8593. procedure setANSB15; inline;
  8594. procedure setANSB1; inline;
  8595. procedure setANSB2; inline;
  8596. procedure setANSB3; inline;
  8597. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8598. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8599. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8600. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8601. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8602. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8603. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8604. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8605. property w : TBits_32 read getw write setw;
  8606. end;
  8607. TPORTB_TRISB = record
  8608. private
  8609. function getTRISB0 : TBits_1; inline;
  8610. function getTRISB1 : TBits_1; inline;
  8611. function getTRISB10 : TBits_1; inline;
  8612. function getTRISB11 : TBits_1; inline;
  8613. function getTRISB12 : TBits_1; inline;
  8614. function getTRISB13 : TBits_1; inline;
  8615. function getTRISB14 : TBits_1; inline;
  8616. function getTRISB15 : TBits_1; inline;
  8617. function getTRISB2 : TBits_1; inline;
  8618. function getTRISB3 : TBits_1; inline;
  8619. function getTRISB4 : TBits_1; inline;
  8620. function getTRISB5 : TBits_1; inline;
  8621. function getTRISB6 : TBits_1; inline;
  8622. function getTRISB7 : TBits_1; inline;
  8623. function getTRISB8 : TBits_1; inline;
  8624. function getTRISB9 : TBits_1; inline;
  8625. function getw : TBits_32; inline;
  8626. procedure setTRISB0(thebits : TBits_1); inline;
  8627. procedure setTRISB1(thebits : TBits_1); inline;
  8628. procedure setTRISB10(thebits : TBits_1); inline;
  8629. procedure setTRISB11(thebits : TBits_1); inline;
  8630. procedure setTRISB12(thebits : TBits_1); inline;
  8631. procedure setTRISB13(thebits : TBits_1); inline;
  8632. procedure setTRISB14(thebits : TBits_1); inline;
  8633. procedure setTRISB15(thebits : TBits_1); inline;
  8634. procedure setTRISB2(thebits : TBits_1); inline;
  8635. procedure setTRISB3(thebits : TBits_1); inline;
  8636. procedure setTRISB4(thebits : TBits_1); inline;
  8637. procedure setTRISB5(thebits : TBits_1); inline;
  8638. procedure setTRISB6(thebits : TBits_1); inline;
  8639. procedure setTRISB7(thebits : TBits_1); inline;
  8640. procedure setTRISB8(thebits : TBits_1); inline;
  8641. procedure setTRISB9(thebits : TBits_1); inline;
  8642. procedure setw(thebits : TBits_32); inline;
  8643. public
  8644. procedure clearTRISB0; inline;
  8645. procedure clearTRISB10; inline;
  8646. procedure clearTRISB11; inline;
  8647. procedure clearTRISB12; inline;
  8648. procedure clearTRISB13; inline;
  8649. procedure clearTRISB14; inline;
  8650. procedure clearTRISB15; inline;
  8651. procedure clearTRISB1; inline;
  8652. procedure clearTRISB2; inline;
  8653. procedure clearTRISB3; inline;
  8654. procedure clearTRISB4; inline;
  8655. procedure clearTRISB5; inline;
  8656. procedure clearTRISB6; inline;
  8657. procedure clearTRISB7; inline;
  8658. procedure clearTRISB8; inline;
  8659. procedure clearTRISB9; inline;
  8660. procedure setTRISB0; inline;
  8661. procedure setTRISB10; inline;
  8662. procedure setTRISB11; inline;
  8663. procedure setTRISB12; inline;
  8664. procedure setTRISB13; inline;
  8665. procedure setTRISB14; inline;
  8666. procedure setTRISB15; inline;
  8667. procedure setTRISB1; inline;
  8668. procedure setTRISB2; inline;
  8669. procedure setTRISB3; inline;
  8670. procedure setTRISB4; inline;
  8671. procedure setTRISB5; inline;
  8672. procedure setTRISB6; inline;
  8673. procedure setTRISB7; inline;
  8674. procedure setTRISB8; inline;
  8675. procedure setTRISB9; inline;
  8676. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8677. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8678. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8679. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8680. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8681. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8682. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8683. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8684. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8685. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8686. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8687. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8688. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8689. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8690. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8691. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8692. property w : TBits_32 read getw write setw;
  8693. end;
  8694. TPORTB_PORTB = record
  8695. private
  8696. function getRB0 : TBits_1; inline;
  8697. function getRB1 : TBits_1; inline;
  8698. function getRB10 : TBits_1; inline;
  8699. function getRB11 : TBits_1; inline;
  8700. function getRB12 : TBits_1; inline;
  8701. function getRB13 : TBits_1; inline;
  8702. function getRB14 : TBits_1; inline;
  8703. function getRB15 : TBits_1; inline;
  8704. function getRB2 : TBits_1; inline;
  8705. function getRB3 : TBits_1; inline;
  8706. function getRB4 : TBits_1; inline;
  8707. function getRB5 : TBits_1; inline;
  8708. function getRB6 : TBits_1; inline;
  8709. function getRB7 : TBits_1; inline;
  8710. function getRB8 : TBits_1; inline;
  8711. function getRB9 : TBits_1; inline;
  8712. function getw : TBits_32; inline;
  8713. procedure setRB0(thebits : TBits_1); inline;
  8714. procedure setRB1(thebits : TBits_1); inline;
  8715. procedure setRB10(thebits : TBits_1); inline;
  8716. procedure setRB11(thebits : TBits_1); inline;
  8717. procedure setRB12(thebits : TBits_1); inline;
  8718. procedure setRB13(thebits : TBits_1); inline;
  8719. procedure setRB14(thebits : TBits_1); inline;
  8720. procedure setRB15(thebits : TBits_1); inline;
  8721. procedure setRB2(thebits : TBits_1); inline;
  8722. procedure setRB3(thebits : TBits_1); inline;
  8723. procedure setRB4(thebits : TBits_1); inline;
  8724. procedure setRB5(thebits : TBits_1); inline;
  8725. procedure setRB6(thebits : TBits_1); inline;
  8726. procedure setRB7(thebits : TBits_1); inline;
  8727. procedure setRB8(thebits : TBits_1); inline;
  8728. procedure setRB9(thebits : TBits_1); inline;
  8729. procedure setw(thebits : TBits_32); inline;
  8730. public
  8731. procedure clearRB0; inline;
  8732. procedure clearRB10; inline;
  8733. procedure clearRB11; inline;
  8734. procedure clearRB12; inline;
  8735. procedure clearRB13; inline;
  8736. procedure clearRB14; inline;
  8737. procedure clearRB15; inline;
  8738. procedure clearRB1; inline;
  8739. procedure clearRB2; inline;
  8740. procedure clearRB3; inline;
  8741. procedure clearRB4; inline;
  8742. procedure clearRB5; inline;
  8743. procedure clearRB6; inline;
  8744. procedure clearRB7; inline;
  8745. procedure clearRB8; inline;
  8746. procedure clearRB9; inline;
  8747. procedure setRB0; inline;
  8748. procedure setRB10; inline;
  8749. procedure setRB11; inline;
  8750. procedure setRB12; inline;
  8751. procedure setRB13; inline;
  8752. procedure setRB14; inline;
  8753. procedure setRB15; inline;
  8754. procedure setRB1; inline;
  8755. procedure setRB2; inline;
  8756. procedure setRB3; inline;
  8757. procedure setRB4; inline;
  8758. procedure setRB5; inline;
  8759. procedure setRB6; inline;
  8760. procedure setRB7; inline;
  8761. procedure setRB8; inline;
  8762. procedure setRB9; inline;
  8763. property RB0 : TBits_1 read getRB0 write setRB0;
  8764. property RB1 : TBits_1 read getRB1 write setRB1;
  8765. property RB10 : TBits_1 read getRB10 write setRB10;
  8766. property RB11 : TBits_1 read getRB11 write setRB11;
  8767. property RB12 : TBits_1 read getRB12 write setRB12;
  8768. property RB13 : TBits_1 read getRB13 write setRB13;
  8769. property RB14 : TBits_1 read getRB14 write setRB14;
  8770. property RB15 : TBits_1 read getRB15 write setRB15;
  8771. property RB2 : TBits_1 read getRB2 write setRB2;
  8772. property RB3 : TBits_1 read getRB3 write setRB3;
  8773. property RB4 : TBits_1 read getRB4 write setRB4;
  8774. property RB5 : TBits_1 read getRB5 write setRB5;
  8775. property RB6 : TBits_1 read getRB6 write setRB6;
  8776. property RB7 : TBits_1 read getRB7 write setRB7;
  8777. property RB8 : TBits_1 read getRB8 write setRB8;
  8778. property RB9 : TBits_1 read getRB9 write setRB9;
  8779. property w : TBits_32 read getw write setw;
  8780. end;
  8781. 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);
  8782. TPortB_bitset = set of TPortB_bits;
  8783. TPORTB_LATB = record
  8784. private
  8785. function getLATB0 : TBits_1; inline;
  8786. function getLATB1 : TBits_1; inline;
  8787. function getLATB10 : TBits_1; inline;
  8788. function getLATB11 : TBits_1; inline;
  8789. function getLATB12 : TBits_1; inline;
  8790. function getLATB13 : TBits_1; inline;
  8791. function getLATB14 : TBits_1; inline;
  8792. function getLATB15 : TBits_1; inline;
  8793. function getLATB2 : TBits_1; inline;
  8794. function getLATB3 : TBits_1; inline;
  8795. function getLATB4 : TBits_1; inline;
  8796. function getLATB5 : TBits_1; inline;
  8797. function getLATB6 : TBits_1; inline;
  8798. function getLATB7 : TBits_1; inline;
  8799. function getLATB8 : TBits_1; inline;
  8800. function getLATB9 : TBits_1; inline;
  8801. function getw : TBits_32; inline;
  8802. procedure setLATB0(thebits : TBits_1); inline;
  8803. procedure setLATB1(thebits : TBits_1); inline;
  8804. procedure setLATB10(thebits : TBits_1); inline;
  8805. procedure setLATB11(thebits : TBits_1); inline;
  8806. procedure setLATB12(thebits : TBits_1); inline;
  8807. procedure setLATB13(thebits : TBits_1); inline;
  8808. procedure setLATB14(thebits : TBits_1); inline;
  8809. procedure setLATB15(thebits : TBits_1); inline;
  8810. procedure setLATB2(thebits : TBits_1); inline;
  8811. procedure setLATB3(thebits : TBits_1); inline;
  8812. procedure setLATB4(thebits : TBits_1); inline;
  8813. procedure setLATB5(thebits : TBits_1); inline;
  8814. procedure setLATB6(thebits : TBits_1); inline;
  8815. procedure setLATB7(thebits : TBits_1); inline;
  8816. procedure setLATB8(thebits : TBits_1); inline;
  8817. procedure setLATB9(thebits : TBits_1); inline;
  8818. procedure setw(thebits : TBits_32); inline;
  8819. public
  8820. procedure clearLATB0; inline;
  8821. procedure clearLATB10; inline;
  8822. procedure clearLATB11; inline;
  8823. procedure clearLATB12; inline;
  8824. procedure clearLATB13; inline;
  8825. procedure clearLATB14; inline;
  8826. procedure clearLATB15; inline;
  8827. procedure clearLATB1; inline;
  8828. procedure clearLATB2; inline;
  8829. procedure clearLATB3; inline;
  8830. procedure clearLATB4; inline;
  8831. procedure clearLATB5; inline;
  8832. procedure clearLATB6; inline;
  8833. procedure clearLATB7; inline;
  8834. procedure clearLATB8; inline;
  8835. procedure clearLATB9; inline;
  8836. procedure setLATB0; inline;
  8837. procedure setLATB10; inline;
  8838. procedure setLATB11; inline;
  8839. procedure setLATB12; inline;
  8840. procedure setLATB13; inline;
  8841. procedure setLATB14; inline;
  8842. procedure setLATB15; inline;
  8843. procedure setLATB1; inline;
  8844. procedure setLATB2; inline;
  8845. procedure setLATB3; inline;
  8846. procedure setLATB4; inline;
  8847. procedure setLATB5; inline;
  8848. procedure setLATB6; inline;
  8849. procedure setLATB7; inline;
  8850. procedure setLATB8; inline;
  8851. procedure setLATB9; inline;
  8852. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8853. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8854. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8855. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8856. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  8857. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8858. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8859. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8860. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8861. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8862. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8863. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8864. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  8865. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8866. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8867. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8868. property w : TBits_32 read getw write setw;
  8869. end;
  8870. TPORTB_ODCB = record
  8871. private
  8872. function getODCB10 : TBits_1; inline;
  8873. function getODCB11 : TBits_1; inline;
  8874. function getODCB4 : TBits_1; inline;
  8875. function getODCB5 : TBits_1; inline;
  8876. function getODCB6 : TBits_1; inline;
  8877. function getODCB7 : TBits_1; inline;
  8878. function getODCB8 : TBits_1; inline;
  8879. function getODCB9 : TBits_1; inline;
  8880. function getw : TBits_32; inline;
  8881. procedure setODCB10(thebits : TBits_1); inline;
  8882. procedure setODCB11(thebits : TBits_1); inline;
  8883. procedure setODCB4(thebits : TBits_1); inline;
  8884. procedure setODCB5(thebits : TBits_1); inline;
  8885. procedure setODCB6(thebits : TBits_1); inline;
  8886. procedure setODCB7(thebits : TBits_1); inline;
  8887. procedure setODCB8(thebits : TBits_1); inline;
  8888. procedure setODCB9(thebits : TBits_1); inline;
  8889. procedure setw(thebits : TBits_32); inline;
  8890. public
  8891. procedure clearODCB10; inline;
  8892. procedure clearODCB11; inline;
  8893. procedure clearODCB4; inline;
  8894. procedure clearODCB5; inline;
  8895. procedure clearODCB6; inline;
  8896. procedure clearODCB7; inline;
  8897. procedure clearODCB8; inline;
  8898. procedure clearODCB9; inline;
  8899. procedure setODCB10; inline;
  8900. procedure setODCB11; inline;
  8901. procedure setODCB4; inline;
  8902. procedure setODCB5; inline;
  8903. procedure setODCB6; inline;
  8904. procedure setODCB7; inline;
  8905. procedure setODCB8; inline;
  8906. procedure setODCB9; inline;
  8907. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8908. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8909. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  8910. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  8911. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  8912. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  8913. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  8914. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  8915. property w : TBits_32 read getw write setw;
  8916. end;
  8917. TPORTB_CNPUB = record
  8918. private
  8919. function getCNPUB0 : TBits_1; inline;
  8920. function getCNPUB1 : TBits_1; inline;
  8921. function getCNPUB10 : TBits_1; inline;
  8922. function getCNPUB11 : TBits_1; inline;
  8923. function getCNPUB12 : TBits_1; inline;
  8924. function getCNPUB13 : TBits_1; inline;
  8925. function getCNPUB14 : TBits_1; inline;
  8926. function getCNPUB15 : TBits_1; inline;
  8927. function getCNPUB2 : TBits_1; inline;
  8928. function getCNPUB3 : TBits_1; inline;
  8929. function getCNPUB4 : TBits_1; inline;
  8930. function getCNPUB5 : TBits_1; inline;
  8931. function getCNPUB6 : TBits_1; inline;
  8932. function getCNPUB7 : TBits_1; inline;
  8933. function getCNPUB8 : TBits_1; inline;
  8934. function getCNPUB9 : TBits_1; inline;
  8935. function getw : TBits_32; inline;
  8936. procedure setCNPUB0(thebits : TBits_1); inline;
  8937. procedure setCNPUB1(thebits : TBits_1); inline;
  8938. procedure setCNPUB10(thebits : TBits_1); inline;
  8939. procedure setCNPUB11(thebits : TBits_1); inline;
  8940. procedure setCNPUB12(thebits : TBits_1); inline;
  8941. procedure setCNPUB13(thebits : TBits_1); inline;
  8942. procedure setCNPUB14(thebits : TBits_1); inline;
  8943. procedure setCNPUB15(thebits : TBits_1); inline;
  8944. procedure setCNPUB2(thebits : TBits_1); inline;
  8945. procedure setCNPUB3(thebits : TBits_1); inline;
  8946. procedure setCNPUB4(thebits : TBits_1); inline;
  8947. procedure setCNPUB5(thebits : TBits_1); inline;
  8948. procedure setCNPUB6(thebits : TBits_1); inline;
  8949. procedure setCNPUB7(thebits : TBits_1); inline;
  8950. procedure setCNPUB8(thebits : TBits_1); inline;
  8951. procedure setCNPUB9(thebits : TBits_1); inline;
  8952. procedure setw(thebits : TBits_32); inline;
  8953. public
  8954. procedure clearCNPUB0; inline;
  8955. procedure clearCNPUB10; inline;
  8956. procedure clearCNPUB11; inline;
  8957. procedure clearCNPUB12; inline;
  8958. procedure clearCNPUB13; inline;
  8959. procedure clearCNPUB14; inline;
  8960. procedure clearCNPUB15; inline;
  8961. procedure clearCNPUB1; inline;
  8962. procedure clearCNPUB2; inline;
  8963. procedure clearCNPUB3; inline;
  8964. procedure clearCNPUB4; inline;
  8965. procedure clearCNPUB5; inline;
  8966. procedure clearCNPUB6; inline;
  8967. procedure clearCNPUB7; inline;
  8968. procedure clearCNPUB8; inline;
  8969. procedure clearCNPUB9; inline;
  8970. procedure setCNPUB0; inline;
  8971. procedure setCNPUB10; inline;
  8972. procedure setCNPUB11; inline;
  8973. procedure setCNPUB12; inline;
  8974. procedure setCNPUB13; inline;
  8975. procedure setCNPUB14; inline;
  8976. procedure setCNPUB15; inline;
  8977. procedure setCNPUB1; inline;
  8978. procedure setCNPUB2; inline;
  8979. procedure setCNPUB3; inline;
  8980. procedure setCNPUB4; inline;
  8981. procedure setCNPUB5; inline;
  8982. procedure setCNPUB6; inline;
  8983. procedure setCNPUB7; inline;
  8984. procedure setCNPUB8; inline;
  8985. procedure setCNPUB9; inline;
  8986. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  8987. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  8988. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  8989. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  8990. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  8991. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  8992. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  8993. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  8994. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  8995. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  8996. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  8997. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  8998. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  8999. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9000. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9001. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9002. property w : TBits_32 read getw write setw;
  9003. end;
  9004. TPORTB_CNPDB = record
  9005. private
  9006. function getCNPDB0 : TBits_1; inline;
  9007. function getCNPDB1 : TBits_1; inline;
  9008. function getCNPDB10 : TBits_1; inline;
  9009. function getCNPDB11 : TBits_1; inline;
  9010. function getCNPDB12 : TBits_1; inline;
  9011. function getCNPDB13 : TBits_1; inline;
  9012. function getCNPDB14 : TBits_1; inline;
  9013. function getCNPDB15 : TBits_1; inline;
  9014. function getCNPDB2 : TBits_1; inline;
  9015. function getCNPDB3 : TBits_1; inline;
  9016. function getCNPDB4 : TBits_1; inline;
  9017. function getCNPDB5 : TBits_1; inline;
  9018. function getCNPDB6 : TBits_1; inline;
  9019. function getCNPDB7 : TBits_1; inline;
  9020. function getCNPDB8 : TBits_1; inline;
  9021. function getCNPDB9 : TBits_1; inline;
  9022. function getw : TBits_32; inline;
  9023. procedure setCNPDB0(thebits : TBits_1); inline;
  9024. procedure setCNPDB1(thebits : TBits_1); inline;
  9025. procedure setCNPDB10(thebits : TBits_1); inline;
  9026. procedure setCNPDB11(thebits : TBits_1); inline;
  9027. procedure setCNPDB12(thebits : TBits_1); inline;
  9028. procedure setCNPDB13(thebits : TBits_1); inline;
  9029. procedure setCNPDB14(thebits : TBits_1); inline;
  9030. procedure setCNPDB15(thebits : TBits_1); inline;
  9031. procedure setCNPDB2(thebits : TBits_1); inline;
  9032. procedure setCNPDB3(thebits : TBits_1); inline;
  9033. procedure setCNPDB4(thebits : TBits_1); inline;
  9034. procedure setCNPDB5(thebits : TBits_1); inline;
  9035. procedure setCNPDB6(thebits : TBits_1); inline;
  9036. procedure setCNPDB7(thebits : TBits_1); inline;
  9037. procedure setCNPDB8(thebits : TBits_1); inline;
  9038. procedure setCNPDB9(thebits : TBits_1); inline;
  9039. procedure setw(thebits : TBits_32); inline;
  9040. public
  9041. procedure clearCNPDB0; inline;
  9042. procedure clearCNPDB10; inline;
  9043. procedure clearCNPDB11; inline;
  9044. procedure clearCNPDB12; inline;
  9045. procedure clearCNPDB13; inline;
  9046. procedure clearCNPDB14; inline;
  9047. procedure clearCNPDB15; inline;
  9048. procedure clearCNPDB1; inline;
  9049. procedure clearCNPDB2; inline;
  9050. procedure clearCNPDB3; inline;
  9051. procedure clearCNPDB4; inline;
  9052. procedure clearCNPDB5; inline;
  9053. procedure clearCNPDB6; inline;
  9054. procedure clearCNPDB7; inline;
  9055. procedure clearCNPDB8; inline;
  9056. procedure clearCNPDB9; inline;
  9057. procedure setCNPDB0; inline;
  9058. procedure setCNPDB10; inline;
  9059. procedure setCNPDB11; inline;
  9060. procedure setCNPDB12; inline;
  9061. procedure setCNPDB13; inline;
  9062. procedure setCNPDB14; inline;
  9063. procedure setCNPDB15; inline;
  9064. procedure setCNPDB1; inline;
  9065. procedure setCNPDB2; inline;
  9066. procedure setCNPDB3; inline;
  9067. procedure setCNPDB4; inline;
  9068. procedure setCNPDB5; inline;
  9069. procedure setCNPDB6; inline;
  9070. procedure setCNPDB7; inline;
  9071. procedure setCNPDB8; inline;
  9072. procedure setCNPDB9; inline;
  9073. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9074. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9075. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9076. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9077. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9078. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9079. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9080. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9081. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9082. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9083. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9084. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9085. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9086. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9087. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9088. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9089. property w : TBits_32 read getw write setw;
  9090. end;
  9091. TPORTB_CNCONB = record
  9092. private
  9093. function getON : TBits_1; inline;
  9094. function getSIDL : TBits_1; inline;
  9095. function getw : TBits_32; inline;
  9096. procedure setON(thebits : TBits_1); inline;
  9097. procedure setSIDL(thebits : TBits_1); inline;
  9098. procedure setw(thebits : TBits_32); inline;
  9099. public
  9100. procedure clearON; inline;
  9101. procedure clearSIDL; inline;
  9102. procedure setON; inline;
  9103. procedure setSIDL; inline;
  9104. property ON : TBits_1 read getON write setON;
  9105. property SIDL : TBits_1 read getSIDL write setSIDL;
  9106. property w : TBits_32 read getw write setw;
  9107. end;
  9108. TPORTB_CNENB = record
  9109. private
  9110. function getCNIEB0 : TBits_1; inline;
  9111. function getCNIEB1 : TBits_1; inline;
  9112. function getCNIEB10 : TBits_1; inline;
  9113. function getCNIEB11 : TBits_1; inline;
  9114. function getCNIEB12 : TBits_1; inline;
  9115. function getCNIEB13 : TBits_1; inline;
  9116. function getCNIEB14 : TBits_1; inline;
  9117. function getCNIEB15 : TBits_1; inline;
  9118. function getCNIEB2 : TBits_1; inline;
  9119. function getCNIEB3 : TBits_1; inline;
  9120. function getCNIEB4 : TBits_1; inline;
  9121. function getCNIEB5 : TBits_1; inline;
  9122. function getCNIEB6 : TBits_1; inline;
  9123. function getCNIEB7 : TBits_1; inline;
  9124. function getCNIEB8 : TBits_1; inline;
  9125. function getCNIEB9 : TBits_1; inline;
  9126. function getw : TBits_32; inline;
  9127. procedure setCNIEB0(thebits : TBits_1); inline;
  9128. procedure setCNIEB1(thebits : TBits_1); inline;
  9129. procedure setCNIEB10(thebits : TBits_1); inline;
  9130. procedure setCNIEB11(thebits : TBits_1); inline;
  9131. procedure setCNIEB12(thebits : TBits_1); inline;
  9132. procedure setCNIEB13(thebits : TBits_1); inline;
  9133. procedure setCNIEB14(thebits : TBits_1); inline;
  9134. procedure setCNIEB15(thebits : TBits_1); inline;
  9135. procedure setCNIEB2(thebits : TBits_1); inline;
  9136. procedure setCNIEB3(thebits : TBits_1); inline;
  9137. procedure setCNIEB4(thebits : TBits_1); inline;
  9138. procedure setCNIEB5(thebits : TBits_1); inline;
  9139. procedure setCNIEB6(thebits : TBits_1); inline;
  9140. procedure setCNIEB7(thebits : TBits_1); inline;
  9141. procedure setCNIEB8(thebits : TBits_1); inline;
  9142. procedure setCNIEB9(thebits : TBits_1); inline;
  9143. procedure setw(thebits : TBits_32); inline;
  9144. public
  9145. procedure clearCNIEB0; inline;
  9146. procedure clearCNIEB10; inline;
  9147. procedure clearCNIEB11; inline;
  9148. procedure clearCNIEB12; inline;
  9149. procedure clearCNIEB13; inline;
  9150. procedure clearCNIEB14; inline;
  9151. procedure clearCNIEB15; inline;
  9152. procedure clearCNIEB1; inline;
  9153. procedure clearCNIEB2; inline;
  9154. procedure clearCNIEB3; inline;
  9155. procedure clearCNIEB4; inline;
  9156. procedure clearCNIEB5; inline;
  9157. procedure clearCNIEB6; inline;
  9158. procedure clearCNIEB7; inline;
  9159. procedure clearCNIEB8; inline;
  9160. procedure clearCNIEB9; inline;
  9161. procedure setCNIEB0; inline;
  9162. procedure setCNIEB10; inline;
  9163. procedure setCNIEB11; inline;
  9164. procedure setCNIEB12; inline;
  9165. procedure setCNIEB13; inline;
  9166. procedure setCNIEB14; inline;
  9167. procedure setCNIEB15; inline;
  9168. procedure setCNIEB1; inline;
  9169. procedure setCNIEB2; inline;
  9170. procedure setCNIEB3; inline;
  9171. procedure setCNIEB4; inline;
  9172. procedure setCNIEB5; inline;
  9173. procedure setCNIEB6; inline;
  9174. procedure setCNIEB7; inline;
  9175. procedure setCNIEB8; inline;
  9176. procedure setCNIEB9; inline;
  9177. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9178. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9179. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9180. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9181. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9182. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9183. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9184. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9185. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9186. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9187. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9188. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9189. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9190. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9191. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9192. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9193. property w : TBits_32 read getw write setw;
  9194. end;
  9195. TPORTB_CNSTATB = record
  9196. private
  9197. function getCNSTATB0 : TBits_1; inline;
  9198. function getCNSTATB1 : TBits_1; inline;
  9199. function getCNSTATB10 : TBits_1; inline;
  9200. function getCNSTATB11 : TBits_1; inline;
  9201. function getCNSTATB12 : TBits_1; inline;
  9202. function getCNSTATB13 : TBits_1; inline;
  9203. function getCNSTATB14 : TBits_1; inline;
  9204. function getCNSTATB15 : TBits_1; inline;
  9205. function getCNSTATB2 : TBits_1; inline;
  9206. function getCNSTATB3 : TBits_1; inline;
  9207. function getCNSTATB4 : TBits_1; inline;
  9208. function getCNSTATB5 : TBits_1; inline;
  9209. function getCNSTATB6 : TBits_1; inline;
  9210. function getCNSTATB7 : TBits_1; inline;
  9211. function getCNSTATB8 : TBits_1; inline;
  9212. function getCNSTATB9 : TBits_1; inline;
  9213. function getw : TBits_32; inline;
  9214. procedure setCNSTATB0(thebits : TBits_1); inline;
  9215. procedure setCNSTATB1(thebits : TBits_1); inline;
  9216. procedure setCNSTATB10(thebits : TBits_1); inline;
  9217. procedure setCNSTATB11(thebits : TBits_1); inline;
  9218. procedure setCNSTATB12(thebits : TBits_1); inline;
  9219. procedure setCNSTATB13(thebits : TBits_1); inline;
  9220. procedure setCNSTATB14(thebits : TBits_1); inline;
  9221. procedure setCNSTATB15(thebits : TBits_1); inline;
  9222. procedure setCNSTATB2(thebits : TBits_1); inline;
  9223. procedure setCNSTATB3(thebits : TBits_1); inline;
  9224. procedure setCNSTATB4(thebits : TBits_1); inline;
  9225. procedure setCNSTATB5(thebits : TBits_1); inline;
  9226. procedure setCNSTATB6(thebits : TBits_1); inline;
  9227. procedure setCNSTATB7(thebits : TBits_1); inline;
  9228. procedure setCNSTATB8(thebits : TBits_1); inline;
  9229. procedure setCNSTATB9(thebits : TBits_1); inline;
  9230. procedure setw(thebits : TBits_32); inline;
  9231. public
  9232. procedure clearCNSTATB0; inline;
  9233. procedure clearCNSTATB10; inline;
  9234. procedure clearCNSTATB11; inline;
  9235. procedure clearCNSTATB12; inline;
  9236. procedure clearCNSTATB13; inline;
  9237. procedure clearCNSTATB14; inline;
  9238. procedure clearCNSTATB15; inline;
  9239. procedure clearCNSTATB1; inline;
  9240. procedure clearCNSTATB2; inline;
  9241. procedure clearCNSTATB3; inline;
  9242. procedure clearCNSTATB4; inline;
  9243. procedure clearCNSTATB5; inline;
  9244. procedure clearCNSTATB6; inline;
  9245. procedure clearCNSTATB7; inline;
  9246. procedure clearCNSTATB8; inline;
  9247. procedure clearCNSTATB9; inline;
  9248. procedure setCNSTATB0; inline;
  9249. procedure setCNSTATB10; inline;
  9250. procedure setCNSTATB11; inline;
  9251. procedure setCNSTATB12; inline;
  9252. procedure setCNSTATB13; inline;
  9253. procedure setCNSTATB14; inline;
  9254. procedure setCNSTATB15; inline;
  9255. procedure setCNSTATB1; inline;
  9256. procedure setCNSTATB2; inline;
  9257. procedure setCNSTATB3; inline;
  9258. procedure setCNSTATB4; inline;
  9259. procedure setCNSTATB5; inline;
  9260. procedure setCNSTATB6; inline;
  9261. procedure setCNSTATB7; inline;
  9262. procedure setCNSTATB8; inline;
  9263. procedure setCNSTATB9; inline;
  9264. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9265. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9266. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9267. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9268. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9269. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9270. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9271. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9272. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9273. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9274. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9275. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9276. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9277. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9278. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9279. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9280. property w : TBits_32 read getw write setw;
  9281. end;
  9282. type
  9283. TPORTBRegisters = record
  9284. ANSELBbits : TPORTB_ANSELB;
  9285. ANSELB : longWord;
  9286. ANSELBCLR : longWord;
  9287. ANSELBSET : longWord;
  9288. ANSELBINV : longWord;
  9289. TRISBbits : TPORTB_TRISB;
  9290. TRISB : longWord;
  9291. TRISBCLR : longWord;
  9292. TRISBSET : longWord;
  9293. TRISBINV : longWord;
  9294. PORTBbits : TPORTB_PORTB;
  9295. PORTB : longWord;
  9296. PORTBCLR : longWord;
  9297. PORTBSET : longWord;
  9298. PORTBINV : longWord;
  9299. LATBbits : TPORTB_LATB;
  9300. LATB : longWord;
  9301. LATBCLR : longWord;
  9302. LATBSET : longWord;
  9303. LATBINV : longWord;
  9304. ODCBbits : TPORTB_ODCB;
  9305. ODCB : longWord;
  9306. ODCBCLR : longWord;
  9307. ODCBSET : longWord;
  9308. ODCBINV : longWord;
  9309. CNPUBbits : TPORTB_CNPUB;
  9310. CNPUB : longWord;
  9311. CNPUBCLR : longWord;
  9312. CNPUBSET : longWord;
  9313. CNPUBINV : longWord;
  9314. CNPDBbits : TPORTB_CNPDB;
  9315. CNPDB : longWord;
  9316. CNPDBCLR : longWord;
  9317. CNPDBSET : longWord;
  9318. CNPDBINV : longWord;
  9319. CNCONBbits : TPORTB_CNCONB;
  9320. CNCONB : longWord;
  9321. CNCONBCLR : longWord;
  9322. CNCONBSET : longWord;
  9323. CNCONBINV : longWord;
  9324. CNENBbits : TPORTB_CNENB;
  9325. CNENB : longWord;
  9326. CNENBCLR : longWord;
  9327. CNENBSET : longWord;
  9328. CNENBINV : longWord;
  9329. CNSTATBbits : TPORTB_CNSTATB;
  9330. CNSTATB : longWord;
  9331. CNSTATBCLR : longWord;
  9332. CNSTATBSET : longWord;
  9333. CNSTATBINV : longWord;
  9334. end;
  9335. TDEVCFG_DEVCFG3 = record
  9336. private
  9337. function getFUSBIDIO : TBits_1; inline;
  9338. function getFVBUSONIO : TBits_1; inline;
  9339. function getIOL1WAY : TBits_1; inline;
  9340. function getPMDL1WAY : TBits_1; inline;
  9341. function getUSERID : TBits_16; inline;
  9342. function getw : TBits_32; inline;
  9343. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9344. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9345. procedure setIOL1WAY(thebits : TBits_1); inline;
  9346. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9347. procedure setUSERID(thebits : TBits_16); inline;
  9348. procedure setw(thebits : TBits_32); inline;
  9349. public
  9350. procedure clearFUSBIDIO; inline;
  9351. procedure clearFVBUSONIO; inline;
  9352. procedure clearIOL1WAY; inline;
  9353. procedure clearPMDL1WAY; inline;
  9354. procedure setFUSBIDIO; inline;
  9355. procedure setFVBUSONIO; inline;
  9356. procedure setIOL1WAY; inline;
  9357. procedure setPMDL1WAY; inline;
  9358. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9359. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9360. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9361. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9362. property USERID : TBits_16 read getUSERID write setUSERID;
  9363. property w : TBits_32 read getw write setw;
  9364. end;
  9365. TDEVCFG_DEVCFG2 = record
  9366. private
  9367. function getFPLLIDIV : TBits_3; inline;
  9368. function getFPLLMUL : TBits_3; inline;
  9369. function getFPLLODIV : TBits_3; inline;
  9370. function getw : TBits_32; inline;
  9371. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9372. procedure setFPLLMUL(thebits : TBits_3); inline;
  9373. procedure setFPLLODIV(thebits : TBits_3); inline;
  9374. procedure setw(thebits : TBits_32); inline;
  9375. public
  9376. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9377. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9378. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9379. property w : TBits_32 read getw write setw;
  9380. end;
  9381. TDEVCFG_DEVCFG1 = record
  9382. private
  9383. function getFCKSM : TBits_2; inline;
  9384. function getFNOSC : TBits_3; inline;
  9385. function getFPBDIV : TBits_2; inline;
  9386. function getFSOSCEN : TBits_1; inline;
  9387. function getFWDTEN : TBits_1; inline;
  9388. function getFWDTWINSZ : TBits_2; inline;
  9389. function getIESO : TBits_1; inline;
  9390. function getOSCIOFNC : TBits_1; inline;
  9391. function getPOSCMOD : TBits_2; inline;
  9392. function getWDTPS : TBits_5; inline;
  9393. function getWINDIS : TBits_1; inline;
  9394. function getw : TBits_32; inline;
  9395. procedure setFCKSM(thebits : TBits_2); inline;
  9396. procedure setFNOSC(thebits : TBits_3); inline;
  9397. procedure setFPBDIV(thebits : TBits_2); inline;
  9398. procedure setFSOSCEN(thebits : TBits_1); inline;
  9399. procedure setFWDTEN(thebits : TBits_1); inline;
  9400. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9401. procedure setIESO(thebits : TBits_1); inline;
  9402. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9403. procedure setPOSCMOD(thebits : TBits_2); inline;
  9404. procedure setWDTPS(thebits : TBits_5); inline;
  9405. procedure setWINDIS(thebits : TBits_1); inline;
  9406. procedure setw(thebits : TBits_32); inline;
  9407. public
  9408. procedure clearFSOSCEN; inline;
  9409. procedure clearFWDTEN; inline;
  9410. procedure clearIESO; inline;
  9411. procedure clearOSCIOFNC; inline;
  9412. procedure clearWINDIS; inline;
  9413. procedure setFSOSCEN; inline;
  9414. procedure setFWDTEN; inline;
  9415. procedure setIESO; inline;
  9416. procedure setOSCIOFNC; inline;
  9417. procedure setWINDIS; inline;
  9418. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9419. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9420. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9421. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9422. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9423. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9424. property IESO : TBits_1 read getIESO write setIESO;
  9425. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9426. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9427. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9428. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9429. property w : TBits_32 read getw write setw;
  9430. end;
  9431. TDEVCFG_DEVCFG0 = record
  9432. private
  9433. function getBWP : TBits_1; inline;
  9434. function getCP : TBits_1; inline;
  9435. function getDEBUG : TBits_2; inline;
  9436. function getFDEBUG : TBits_2; inline;
  9437. function getICESEL : TBits_2; inline;
  9438. function getJTAGEN : TBits_1; inline;
  9439. function getPWP : TBits_6; inline;
  9440. function getw : TBits_32; inline;
  9441. procedure setBWP(thebits : TBits_1); inline;
  9442. procedure setCP(thebits : TBits_1); inline;
  9443. procedure setDEBUG(thebits : TBits_2); inline;
  9444. procedure setFDEBUG(thebits : TBits_2); inline;
  9445. procedure setICESEL(thebits : TBits_2); inline;
  9446. procedure setJTAGEN(thebits : TBits_1); inline;
  9447. procedure setPWP(thebits : TBits_6); inline;
  9448. procedure setw(thebits : TBits_32); inline;
  9449. public
  9450. procedure clearBWP; inline;
  9451. procedure clearCP; inline;
  9452. procedure clearJTAGEN; inline;
  9453. procedure setBWP; inline;
  9454. procedure setCP; inline;
  9455. procedure setJTAGEN; inline;
  9456. property BWP : TBits_1 read getBWP write setBWP;
  9457. property CP : TBits_1 read getCP write setCP;
  9458. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9459. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9460. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9461. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9462. property PWP : TBits_6 read getPWP write setPWP;
  9463. property w : TBits_32 read getw write setw;
  9464. end;
  9465. const
  9466. _CORE_TIMER_IRQ = 0;
  9467. _CORE_SOFTWARE_0_IRQ = 1;
  9468. _CORE_SOFTWARE_1_IRQ = 2;
  9469. _EXTERNAL_0_IRQ = 3;
  9470. _TIMER_1_IRQ = 4;
  9471. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9472. _INPUT_CAPTURE_1_IRQ = 6;
  9473. _OUTPUT_COMPARE_1_IRQ = 7;
  9474. _EXTERNAL_1_IRQ = 8;
  9475. _TIMER_2_IRQ = 9;
  9476. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9477. _INPUT_CAPTURE_2_IRQ = 11;
  9478. _OUTPUT_COMPARE_2_IRQ = 12;
  9479. _EXTERNAL_2_IRQ = 13;
  9480. _TIMER_3_IRQ = 14;
  9481. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9482. _INPUT_CAPTURE_3_IRQ = 16;
  9483. _OUTPUT_COMPARE_3_IRQ = 17;
  9484. _EXTERNAL_3_IRQ = 18;
  9485. _TIMER_4_IRQ = 19;
  9486. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9487. _INPUT_CAPTURE_4_IRQ = 21;
  9488. _OUTPUT_COMPARE_4_IRQ = 22;
  9489. _EXTERNAL_4_IRQ = 23;
  9490. _TIMER_5_IRQ = 24;
  9491. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9492. _INPUT_CAPTURE_5_IRQ = 26;
  9493. _OUTPUT_COMPARE_5_IRQ = 27;
  9494. _ADC_IRQ = 28;
  9495. _FAIL_SAFE_MONITOR_IRQ = 29;
  9496. _RTCC_IRQ = 30;
  9497. _FLASH_CONTROL_IRQ = 31;
  9498. _COMPARATOR_1_IRQ = 32;
  9499. _COMPARATOR_2_IRQ = 33;
  9500. _COMPARATOR_3_IRQ = 34;
  9501. _USB_IRQ = 35;
  9502. _SPI1_ERR_IRQ = 36;
  9503. _SPI1_RX_IRQ = 37;
  9504. _SPI1_TX_IRQ = 38;
  9505. _UART1_ERR_IRQ = 39;
  9506. _UART1_RX_IRQ = 40;
  9507. _UART1_TX_IRQ = 41;
  9508. _I2C1_BUS_IRQ = 42;
  9509. _I2C1_SLAVE_IRQ = 43;
  9510. _I2C1_MASTER_IRQ = 44;
  9511. _CHANGE_NOTICE_A_IRQ = 45;
  9512. _CHANGE_NOTICE_B_IRQ = 46;
  9513. _CHANGE_NOTICE_C_IRQ = 47;
  9514. _PMP_IRQ = 48;
  9515. _PMP_ERROR_IRQ = 49;
  9516. _SPI2_ERR_IRQ = 50;
  9517. _SPI2_RX_IRQ = 51;
  9518. _SPI2_TX_IRQ = 52;
  9519. _UART2_ERR_IRQ = 53;
  9520. _UART2_RX_IRQ = 54;
  9521. _UART2_TX_IRQ = 55;
  9522. _I2C2_BUS_IRQ = 56;
  9523. _I2C2_SLAVE_IRQ = 57;
  9524. _I2C2_MASTER_IRQ = 58;
  9525. _CTMU_IRQ = 59;
  9526. _DMA0_IRQ = 60;
  9527. _DMA1_IRQ = 61;
  9528. _DMA2_IRQ = 62;
  9529. _DMA3_IRQ = 63;
  9530. const
  9531. ADC10_BASE_ADDRESS = $BF809000;
  9532. var
  9533. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9534. const
  9535. BMX_BASE_ADDRESS = $BF882000;
  9536. var
  9537. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9538. const
  9539. CFG_BASE_ADDRESS = $BF80F200;
  9540. var
  9541. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9542. const
  9543. CMP_BASE_ADDRESS = $BF80A000;
  9544. var
  9545. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9546. const
  9547. CVR_BASE_ADDRESS = $BF809800;
  9548. var
  9549. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9550. const
  9551. DMAC_BASE_ADDRESS = $BF883000;
  9552. var
  9553. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9554. const
  9555. DMAC0_BASE_ADDRESS = $BF883060;
  9556. var
  9557. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9558. const
  9559. DMAC1_BASE_ADDRESS = $BF883120;
  9560. var
  9561. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9562. const
  9563. DMAC2_BASE_ADDRESS = $BF8831E0;
  9564. var
  9565. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9566. const
  9567. DMAC3_BASE_ADDRESS = $BF8832A0;
  9568. var
  9569. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9570. const
  9571. I2C1_BASE_ADDRESS = $BF805000;
  9572. var
  9573. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9574. const
  9575. I2C2_BASE_ADDRESS = $BF805100;
  9576. var
  9577. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9578. const
  9579. ICAP1_BASE_ADDRESS = $BF802000;
  9580. var
  9581. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9582. const
  9583. ICAP2_BASE_ADDRESS = $BF802200;
  9584. var
  9585. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9586. const
  9587. ICAP3_BASE_ADDRESS = $BF802400;
  9588. var
  9589. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9590. const
  9591. ICAP4_BASE_ADDRESS = $BF802600;
  9592. var
  9593. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9594. const
  9595. ICAP5_BASE_ADDRESS = $BF802800;
  9596. var
  9597. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9598. const
  9599. INT_BASE_ADDRESS = $BF881000;
  9600. var
  9601. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9602. const
  9603. NVM_BASE_ADDRESS = $BF80F400;
  9604. var
  9605. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9606. const
  9607. OCMP1_BASE_ADDRESS = $BF803000;
  9608. var
  9609. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9610. const
  9611. OCMP2_BASE_ADDRESS = $BF803200;
  9612. var
  9613. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9614. const
  9615. OCMP3_BASE_ADDRESS = $BF803400;
  9616. var
  9617. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9618. const
  9619. OCMP4_BASE_ADDRESS = $BF803600;
  9620. var
  9621. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9622. const
  9623. OCMP5_BASE_ADDRESS = $BF803800;
  9624. var
  9625. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9626. const
  9627. OSC_BASE_ADDRESS = $BF80F000;
  9628. var
  9629. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9630. const
  9631. PMP_BASE_ADDRESS = $BF807000;
  9632. var
  9633. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9634. const
  9635. PORTA_BASE_ADDRESS = $BF886000;
  9636. var
  9637. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9638. const
  9639. PORTB_BASE_ADDRESS = $BF886100;
  9640. var
  9641. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9642. const
  9643. RCON_BASE_ADDRESS = $BF80F600;
  9644. var
  9645. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9646. const
  9647. RTCC_BASE_ADDRESS = $BF800200;
  9648. var
  9649. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9650. const
  9651. SPI1_BASE_ADDRESS = $BF805800;
  9652. var
  9653. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9654. const
  9655. SPI2_BASE_ADDRESS = $BF805A00;
  9656. var
  9657. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9658. const
  9659. TMR1_BASE_ADDRESS = $BF800600;
  9660. var
  9661. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9662. const
  9663. TMR2_BASE_ADDRESS = $BF800800;
  9664. var
  9665. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9666. const
  9667. TMR3_BASE_ADDRESS = $BF800A00;
  9668. var
  9669. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9670. const
  9671. TMR4_BASE_ADDRESS = $BF800C00;
  9672. var
  9673. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9674. const
  9675. TMR5_BASE_ADDRESS = $BF800E00;
  9676. var
  9677. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9678. const
  9679. UART1_BASE_ADDRESS = $BF806000;
  9680. var
  9681. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9682. const
  9683. UART2_BASE_ADDRESS = $BF806200;
  9684. var
  9685. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9686. const
  9687. WDT_BASE_ADDRESS = $BF800000;
  9688. var
  9689. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9690. implementation
  9691. type
  9692. TDefRegMap = record
  9693. val : longWord;
  9694. clr : longWord;
  9695. &set : longWord;
  9696. inv : longWord;
  9697. end;
  9698. pTDefRegMap = ^TDefRegMap;
  9699. procedure TWDT_WDTCON.setWDTCLR; inline;
  9700. begin
  9701. pTDefRegMap(@Self)^.&set := $00000001;
  9702. end;
  9703. procedure TWDT_WDTCON.clearWDTCLR; inline;
  9704. begin
  9705. pTDefRegMap(@Self)^.clr := $00000001;
  9706. end;
  9707. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  9708. begin
  9709. if thebits = 0 then
  9710. pTDefRegMap(@Self)^.clr := $00000001
  9711. else
  9712. pTDefRegMap(@Self)^.&set := $00000001;
  9713. end;
  9714. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  9715. begin
  9716. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9717. end;
  9718. procedure TWDT_WDTCON.setWDTWINEN; inline;
  9719. begin
  9720. pTDefRegMap(@Self)^.&set := $00000002;
  9721. end;
  9722. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  9723. begin
  9724. pTDefRegMap(@Self)^.clr := $00000002;
  9725. end;
  9726. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  9727. begin
  9728. if thebits = 0 then
  9729. pTDefRegMap(@Self)^.clr := $00000002
  9730. else
  9731. pTDefRegMap(@Self)^.&set := $00000002;
  9732. end;
  9733. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  9734. begin
  9735. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9736. end;
  9737. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  9738. begin
  9739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9740. end;
  9741. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  9742. begin
  9743. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9744. end;
  9745. procedure TWDT_WDTCON.setON; inline;
  9746. begin
  9747. pTDefRegMap(@Self)^.&set := $00008000;
  9748. end;
  9749. procedure TWDT_WDTCON.clearON; inline;
  9750. begin
  9751. pTDefRegMap(@Self)^.clr := $00008000;
  9752. end;
  9753. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  9754. begin
  9755. if thebits = 0 then
  9756. pTDefRegMap(@Self)^.clr := $00008000
  9757. else
  9758. pTDefRegMap(@Self)^.&set := $00008000;
  9759. end;
  9760. function TWDT_WDTCON.getON : TBits_1; inline;
  9761. begin
  9762. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9763. end;
  9764. procedure TWDT_WDTCON.setSWDTPS0; inline;
  9765. begin
  9766. pTDefRegMap(@Self)^.&set := $00000004;
  9767. end;
  9768. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  9769. begin
  9770. pTDefRegMap(@Self)^.clr := $00000004;
  9771. end;
  9772. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  9773. begin
  9774. if thebits = 0 then
  9775. pTDefRegMap(@Self)^.clr := $00000004
  9776. else
  9777. pTDefRegMap(@Self)^.&set := $00000004;
  9778. end;
  9779. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  9780. begin
  9781. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9782. end;
  9783. procedure TWDT_WDTCON.setSWDTPS1; inline;
  9784. begin
  9785. pTDefRegMap(@Self)^.&set := $00000008;
  9786. end;
  9787. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  9788. begin
  9789. pTDefRegMap(@Self)^.clr := $00000008;
  9790. end;
  9791. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  9792. begin
  9793. if thebits = 0 then
  9794. pTDefRegMap(@Self)^.clr := $00000008
  9795. else
  9796. pTDefRegMap(@Self)^.&set := $00000008;
  9797. end;
  9798. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  9799. begin
  9800. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9801. end;
  9802. procedure TWDT_WDTCON.setSWDTPS2; inline;
  9803. begin
  9804. pTDefRegMap(@Self)^.&set := $00000010;
  9805. end;
  9806. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  9807. begin
  9808. pTDefRegMap(@Self)^.clr := $00000010;
  9809. end;
  9810. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  9811. begin
  9812. if thebits = 0 then
  9813. pTDefRegMap(@Self)^.clr := $00000010
  9814. else
  9815. pTDefRegMap(@Self)^.&set := $00000010;
  9816. end;
  9817. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  9818. begin
  9819. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9820. end;
  9821. procedure TWDT_WDTCON.setSWDTPS3; inline;
  9822. begin
  9823. pTDefRegMap(@Self)^.&set := $00000020;
  9824. end;
  9825. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  9826. begin
  9827. pTDefRegMap(@Self)^.clr := $00000020;
  9828. end;
  9829. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  9830. begin
  9831. if thebits = 0 then
  9832. pTDefRegMap(@Self)^.clr := $00000020
  9833. else
  9834. pTDefRegMap(@Self)^.&set := $00000020;
  9835. end;
  9836. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  9837. begin
  9838. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9839. end;
  9840. procedure TWDT_WDTCON.setSWDTPS4; inline;
  9841. begin
  9842. pTDefRegMap(@Self)^.&set := $00000040;
  9843. end;
  9844. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  9845. begin
  9846. pTDefRegMap(@Self)^.clr := $00000040;
  9847. end;
  9848. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  9849. begin
  9850. if thebits = 0 then
  9851. pTDefRegMap(@Self)^.clr := $00000040
  9852. else
  9853. pTDefRegMap(@Self)^.&set := $00000040;
  9854. end;
  9855. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  9856. begin
  9857. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9858. end;
  9859. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  9860. begin
  9861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9862. end;
  9863. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  9864. begin
  9865. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9866. end;
  9867. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  9868. begin
  9869. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9870. end;
  9871. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  9872. begin
  9873. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9874. end;
  9875. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  9876. begin
  9877. pTDefRegMap(@Self)^.val := thebits;
  9878. end;
  9879. function TWDT_WDTCON.getw : TBits_32; inline;
  9880. begin
  9881. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9882. end;
  9883. procedure TRTCC_RTCCON.setRTCOE; inline;
  9884. begin
  9885. pTDefRegMap(@Self)^.&set := $00000001;
  9886. end;
  9887. procedure TRTCC_RTCCON.clearRTCOE; inline;
  9888. begin
  9889. pTDefRegMap(@Self)^.clr := $00000001;
  9890. end;
  9891. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  9892. begin
  9893. if thebits = 0 then
  9894. pTDefRegMap(@Self)^.clr := $00000001
  9895. else
  9896. pTDefRegMap(@Self)^.&set := $00000001;
  9897. end;
  9898. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  9899. begin
  9900. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9901. end;
  9902. procedure TRTCC_RTCCON.setHALFSEC; inline;
  9903. begin
  9904. pTDefRegMap(@Self)^.&set := $00000002;
  9905. end;
  9906. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  9907. begin
  9908. pTDefRegMap(@Self)^.clr := $00000002;
  9909. end;
  9910. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  9911. begin
  9912. if thebits = 0 then
  9913. pTDefRegMap(@Self)^.clr := $00000002
  9914. else
  9915. pTDefRegMap(@Self)^.&set := $00000002;
  9916. end;
  9917. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  9918. begin
  9919. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9920. end;
  9921. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  9922. begin
  9923. pTDefRegMap(@Self)^.&set := $00000004;
  9924. end;
  9925. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  9926. begin
  9927. pTDefRegMap(@Self)^.clr := $00000004;
  9928. end;
  9929. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  9930. begin
  9931. if thebits = 0 then
  9932. pTDefRegMap(@Self)^.clr := $00000004
  9933. else
  9934. pTDefRegMap(@Self)^.&set := $00000004;
  9935. end;
  9936. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  9937. begin
  9938. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9939. end;
  9940. procedure TRTCC_RTCCON.setRTCWREN; inline;
  9941. begin
  9942. pTDefRegMap(@Self)^.&set := $00000008;
  9943. end;
  9944. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  9945. begin
  9946. pTDefRegMap(@Self)^.clr := $00000008;
  9947. end;
  9948. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  9949. begin
  9950. if thebits = 0 then
  9951. pTDefRegMap(@Self)^.clr := $00000008
  9952. else
  9953. pTDefRegMap(@Self)^.&set := $00000008;
  9954. end;
  9955. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  9956. begin
  9957. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9958. end;
  9959. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  9960. begin
  9961. pTDefRegMap(@Self)^.&set := $00000040;
  9962. end;
  9963. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  9964. begin
  9965. pTDefRegMap(@Self)^.clr := $00000040;
  9966. end;
  9967. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  9968. begin
  9969. if thebits = 0 then
  9970. pTDefRegMap(@Self)^.clr := $00000040
  9971. else
  9972. pTDefRegMap(@Self)^.&set := $00000040;
  9973. end;
  9974. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  9975. begin
  9976. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9977. end;
  9978. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  9979. begin
  9980. pTDefRegMap(@Self)^.&set := $00000080;
  9981. end;
  9982. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  9983. begin
  9984. pTDefRegMap(@Self)^.clr := $00000080;
  9985. end;
  9986. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  9987. begin
  9988. if thebits = 0 then
  9989. pTDefRegMap(@Self)^.clr := $00000080
  9990. else
  9991. pTDefRegMap(@Self)^.&set := $00000080;
  9992. end;
  9993. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  9994. begin
  9995. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  9996. end;
  9997. procedure TRTCC_RTCCON.setSIDL; inline;
  9998. begin
  9999. pTDefRegMap(@Self)^.&set := $00002000;
  10000. end;
  10001. procedure TRTCC_RTCCON.clearSIDL; inline;
  10002. begin
  10003. pTDefRegMap(@Self)^.clr := $00002000;
  10004. end;
  10005. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10006. begin
  10007. if thebits = 0 then
  10008. pTDefRegMap(@Self)^.clr := $00002000
  10009. else
  10010. pTDefRegMap(@Self)^.&set := $00002000;
  10011. end;
  10012. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10013. begin
  10014. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10015. end;
  10016. procedure TRTCC_RTCCON.setON; inline;
  10017. begin
  10018. pTDefRegMap(@Self)^.&set := $00008000;
  10019. end;
  10020. procedure TRTCC_RTCCON.clearON; inline;
  10021. begin
  10022. pTDefRegMap(@Self)^.clr := $00008000;
  10023. end;
  10024. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10025. begin
  10026. if thebits = 0 then
  10027. pTDefRegMap(@Self)^.clr := $00008000
  10028. else
  10029. pTDefRegMap(@Self)^.&set := $00008000;
  10030. end;
  10031. function TRTCC_RTCCON.getON : TBits_1; inline;
  10032. begin
  10033. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10034. end;
  10035. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10036. begin
  10037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10038. end;
  10039. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10040. begin
  10041. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10042. end;
  10043. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10044. begin
  10045. pTDefRegMap(@Self)^.val := thebits;
  10046. end;
  10047. function TRTCC_RTCCON.getw : TBits_32; inline;
  10048. begin
  10049. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10050. end;
  10051. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10052. begin
  10053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10054. end;
  10055. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10056. begin
  10057. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10058. end;
  10059. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10060. begin
  10061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10062. end;
  10063. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10064. begin
  10065. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10066. end;
  10067. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10068. begin
  10069. pTDefRegMap(@Self)^.&set := $00001000;
  10070. end;
  10071. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10072. begin
  10073. pTDefRegMap(@Self)^.clr := $00001000;
  10074. end;
  10075. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10076. begin
  10077. if thebits = 0 then
  10078. pTDefRegMap(@Self)^.clr := $00001000
  10079. else
  10080. pTDefRegMap(@Self)^.&set := $00001000;
  10081. end;
  10082. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10083. begin
  10084. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10085. end;
  10086. procedure TRTCC_RTCALRM.setPIV; inline;
  10087. begin
  10088. pTDefRegMap(@Self)^.&set := $00002000;
  10089. end;
  10090. procedure TRTCC_RTCALRM.clearPIV; inline;
  10091. begin
  10092. pTDefRegMap(@Self)^.clr := $00002000;
  10093. end;
  10094. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10095. begin
  10096. if thebits = 0 then
  10097. pTDefRegMap(@Self)^.clr := $00002000
  10098. else
  10099. pTDefRegMap(@Self)^.&set := $00002000;
  10100. end;
  10101. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10102. begin
  10103. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10104. end;
  10105. procedure TRTCC_RTCALRM.setCHIME; inline;
  10106. begin
  10107. pTDefRegMap(@Self)^.&set := $00004000;
  10108. end;
  10109. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10110. begin
  10111. pTDefRegMap(@Self)^.clr := $00004000;
  10112. end;
  10113. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10114. begin
  10115. if thebits = 0 then
  10116. pTDefRegMap(@Self)^.clr := $00004000
  10117. else
  10118. pTDefRegMap(@Self)^.&set := $00004000;
  10119. end;
  10120. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10121. begin
  10122. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10123. end;
  10124. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10125. begin
  10126. pTDefRegMap(@Self)^.&set := $00008000;
  10127. end;
  10128. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10129. begin
  10130. pTDefRegMap(@Self)^.clr := $00008000;
  10131. end;
  10132. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10133. begin
  10134. if thebits = 0 then
  10135. pTDefRegMap(@Self)^.clr := $00008000
  10136. else
  10137. pTDefRegMap(@Self)^.&set := $00008000;
  10138. end;
  10139. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10140. begin
  10141. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10142. end;
  10143. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10144. begin
  10145. pTDefRegMap(@Self)^.val := thebits;
  10146. end;
  10147. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10148. begin
  10149. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10150. end;
  10151. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10152. begin
  10153. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10154. end;
  10155. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10156. begin
  10157. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10158. end;
  10159. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10160. begin
  10161. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10162. end;
  10163. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10164. begin
  10165. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10166. end;
  10167. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10168. begin
  10169. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10170. end;
  10171. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10172. begin
  10173. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10174. end;
  10175. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10176. begin
  10177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10178. end;
  10179. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10180. begin
  10181. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10182. end;
  10183. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10184. begin
  10185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10186. end;
  10187. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10188. begin
  10189. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10190. end;
  10191. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10192. begin
  10193. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10194. end;
  10195. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10196. begin
  10197. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10198. end;
  10199. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10200. begin
  10201. pTDefRegMap(@Self)^.val := thebits;
  10202. end;
  10203. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10204. begin
  10205. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10206. end;
  10207. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10208. begin
  10209. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10210. end;
  10211. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10212. begin
  10213. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10214. end;
  10215. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10216. begin
  10217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10218. end;
  10219. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10220. begin
  10221. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10222. end;
  10223. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10224. begin
  10225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10226. end;
  10227. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10228. begin
  10229. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10230. end;
  10231. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10232. begin
  10233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10234. end;
  10235. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10236. begin
  10237. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10238. end;
  10239. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10240. begin
  10241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10242. end;
  10243. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10244. begin
  10245. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10246. end;
  10247. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10248. begin
  10249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10250. end;
  10251. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10252. begin
  10253. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10254. end;
  10255. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10256. begin
  10257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10258. end;
  10259. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10260. begin
  10261. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10262. end;
  10263. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10264. begin
  10265. pTDefRegMap(@Self)^.val := thebits;
  10266. end;
  10267. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10268. begin
  10269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10270. end;
  10271. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10272. begin
  10273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10274. end;
  10275. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10276. begin
  10277. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10278. end;
  10279. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10280. begin
  10281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10282. end;
  10283. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10284. begin
  10285. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10286. end;
  10287. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10288. begin
  10289. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10290. end;
  10291. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10292. begin
  10293. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10294. end;
  10295. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10296. begin
  10297. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10298. end;
  10299. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10300. begin
  10301. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10302. end;
  10303. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10304. begin
  10305. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10306. end;
  10307. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10308. begin
  10309. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10310. end;
  10311. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10312. begin
  10313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10314. end;
  10315. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10316. begin
  10317. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10318. end;
  10319. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10320. begin
  10321. pTDefRegMap(@Self)^.val := thebits;
  10322. end;
  10323. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10324. begin
  10325. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10326. end;
  10327. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10328. begin
  10329. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10330. end;
  10331. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10332. begin
  10333. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10334. end;
  10335. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10336. begin
  10337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10338. end;
  10339. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10340. begin
  10341. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10342. end;
  10343. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10344. begin
  10345. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10346. end;
  10347. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10348. begin
  10349. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10350. end;
  10351. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10352. begin
  10353. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10354. end;
  10355. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10356. begin
  10357. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10358. end;
  10359. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10360. begin
  10361. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10362. end;
  10363. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10364. begin
  10365. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10366. end;
  10367. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10368. begin
  10369. pTDefRegMap(@Self)^.val := thebits;
  10370. end;
  10371. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10372. begin
  10373. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10374. end;
  10375. procedure TTMR1_T1CON.setTCS; inline;
  10376. begin
  10377. pTDefRegMap(@Self)^.&set := $00000002;
  10378. end;
  10379. procedure TTMR1_T1CON.clearTCS; inline;
  10380. begin
  10381. pTDefRegMap(@Self)^.clr := $00000002;
  10382. end;
  10383. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10384. begin
  10385. if thebits = 0 then
  10386. pTDefRegMap(@Self)^.clr := $00000002
  10387. else
  10388. pTDefRegMap(@Self)^.&set := $00000002;
  10389. end;
  10390. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10391. begin
  10392. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10393. end;
  10394. procedure TTMR1_T1CON.setTSYNC; inline;
  10395. begin
  10396. pTDefRegMap(@Self)^.&set := $00000004;
  10397. end;
  10398. procedure TTMR1_T1CON.clearTSYNC; inline;
  10399. begin
  10400. pTDefRegMap(@Self)^.clr := $00000004;
  10401. end;
  10402. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10403. begin
  10404. if thebits = 0 then
  10405. pTDefRegMap(@Self)^.clr := $00000004
  10406. else
  10407. pTDefRegMap(@Self)^.&set := $00000004;
  10408. end;
  10409. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10410. begin
  10411. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10412. end;
  10413. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10414. begin
  10415. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10416. end;
  10417. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10418. begin
  10419. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10420. end;
  10421. procedure TTMR1_T1CON.setTGATE; inline;
  10422. begin
  10423. pTDefRegMap(@Self)^.&set := $00000080;
  10424. end;
  10425. procedure TTMR1_T1CON.clearTGATE; inline;
  10426. begin
  10427. pTDefRegMap(@Self)^.clr := $00000080;
  10428. end;
  10429. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10430. begin
  10431. if thebits = 0 then
  10432. pTDefRegMap(@Self)^.clr := $00000080
  10433. else
  10434. pTDefRegMap(@Self)^.&set := $00000080;
  10435. end;
  10436. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10437. begin
  10438. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10439. end;
  10440. procedure TTMR1_T1CON.setTWIP; inline;
  10441. begin
  10442. pTDefRegMap(@Self)^.&set := $00000800;
  10443. end;
  10444. procedure TTMR1_T1CON.clearTWIP; inline;
  10445. begin
  10446. pTDefRegMap(@Self)^.clr := $00000800;
  10447. end;
  10448. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10449. begin
  10450. if thebits = 0 then
  10451. pTDefRegMap(@Self)^.clr := $00000800
  10452. else
  10453. pTDefRegMap(@Self)^.&set := $00000800;
  10454. end;
  10455. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10456. begin
  10457. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10458. end;
  10459. procedure TTMR1_T1CON.setTWDIS; inline;
  10460. begin
  10461. pTDefRegMap(@Self)^.&set := $00001000;
  10462. end;
  10463. procedure TTMR1_T1CON.clearTWDIS; inline;
  10464. begin
  10465. pTDefRegMap(@Self)^.clr := $00001000;
  10466. end;
  10467. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10468. begin
  10469. if thebits = 0 then
  10470. pTDefRegMap(@Self)^.clr := $00001000
  10471. else
  10472. pTDefRegMap(@Self)^.&set := $00001000;
  10473. end;
  10474. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10475. begin
  10476. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10477. end;
  10478. procedure TTMR1_T1CON.setSIDL; inline;
  10479. begin
  10480. pTDefRegMap(@Self)^.&set := $00002000;
  10481. end;
  10482. procedure TTMR1_T1CON.clearSIDL; inline;
  10483. begin
  10484. pTDefRegMap(@Self)^.clr := $00002000;
  10485. end;
  10486. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10487. begin
  10488. if thebits = 0 then
  10489. pTDefRegMap(@Self)^.clr := $00002000
  10490. else
  10491. pTDefRegMap(@Self)^.&set := $00002000;
  10492. end;
  10493. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10494. begin
  10495. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10496. end;
  10497. procedure TTMR1_T1CON.setON; inline;
  10498. begin
  10499. pTDefRegMap(@Self)^.&set := $00008000;
  10500. end;
  10501. procedure TTMR1_T1CON.clearON; inline;
  10502. begin
  10503. pTDefRegMap(@Self)^.clr := $00008000;
  10504. end;
  10505. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10506. begin
  10507. if thebits = 0 then
  10508. pTDefRegMap(@Self)^.clr := $00008000
  10509. else
  10510. pTDefRegMap(@Self)^.&set := $00008000;
  10511. end;
  10512. function TTMR1_T1CON.getON : TBits_1; inline;
  10513. begin
  10514. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10515. end;
  10516. procedure TTMR1_T1CON.setTCKPS0; inline;
  10517. begin
  10518. pTDefRegMap(@Self)^.&set := $00000010;
  10519. end;
  10520. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10521. begin
  10522. pTDefRegMap(@Self)^.clr := $00000010;
  10523. end;
  10524. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10525. begin
  10526. if thebits = 0 then
  10527. pTDefRegMap(@Self)^.clr := $00000010
  10528. else
  10529. pTDefRegMap(@Self)^.&set := $00000010;
  10530. end;
  10531. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10532. begin
  10533. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10534. end;
  10535. procedure TTMR1_T1CON.setTCKPS1; inline;
  10536. begin
  10537. pTDefRegMap(@Self)^.&set := $00000020;
  10538. end;
  10539. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10540. begin
  10541. pTDefRegMap(@Self)^.clr := $00000020;
  10542. end;
  10543. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10544. begin
  10545. if thebits = 0 then
  10546. pTDefRegMap(@Self)^.clr := $00000020
  10547. else
  10548. pTDefRegMap(@Self)^.&set := $00000020;
  10549. end;
  10550. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10551. begin
  10552. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10553. end;
  10554. procedure TTMR1_T1CON.setTSIDL; inline;
  10555. begin
  10556. pTDefRegMap(@Self)^.&set := $00002000;
  10557. end;
  10558. procedure TTMR1_T1CON.clearTSIDL; inline;
  10559. begin
  10560. pTDefRegMap(@Self)^.clr := $00002000;
  10561. end;
  10562. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10563. begin
  10564. if thebits = 0 then
  10565. pTDefRegMap(@Self)^.clr := $00002000
  10566. else
  10567. pTDefRegMap(@Self)^.&set := $00002000;
  10568. end;
  10569. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10570. begin
  10571. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10572. end;
  10573. procedure TTMR1_T1CON.setTON; inline;
  10574. begin
  10575. pTDefRegMap(@Self)^.&set := $00008000;
  10576. end;
  10577. procedure TTMR1_T1CON.clearTON; inline;
  10578. begin
  10579. pTDefRegMap(@Self)^.clr := $00008000;
  10580. end;
  10581. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10582. begin
  10583. if thebits = 0 then
  10584. pTDefRegMap(@Self)^.clr := $00008000
  10585. else
  10586. pTDefRegMap(@Self)^.&set := $00008000;
  10587. end;
  10588. function TTMR1_T1CON.getTON : TBits_1; inline;
  10589. begin
  10590. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10591. end;
  10592. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10593. begin
  10594. pTDefRegMap(@Self)^.val := thebits;
  10595. end;
  10596. function TTMR1_T1CON.getw : TBits_32; inline;
  10597. begin
  10598. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10599. end;
  10600. procedure TTMR2_T2CON.setTCS; inline;
  10601. begin
  10602. pTDefRegMap(@Self)^.&set := $00000002;
  10603. end;
  10604. procedure TTMR2_T2CON.clearTCS; inline;
  10605. begin
  10606. pTDefRegMap(@Self)^.clr := $00000002;
  10607. end;
  10608. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10609. begin
  10610. if thebits = 0 then
  10611. pTDefRegMap(@Self)^.clr := $00000002
  10612. else
  10613. pTDefRegMap(@Self)^.&set := $00000002;
  10614. end;
  10615. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10616. begin
  10617. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10618. end;
  10619. procedure TTMR2_T2CON.setT32; inline;
  10620. begin
  10621. pTDefRegMap(@Self)^.&set := $00000008;
  10622. end;
  10623. procedure TTMR2_T2CON.clearT32; inline;
  10624. begin
  10625. pTDefRegMap(@Self)^.clr := $00000008;
  10626. end;
  10627. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10628. begin
  10629. if thebits = 0 then
  10630. pTDefRegMap(@Self)^.clr := $00000008
  10631. else
  10632. pTDefRegMap(@Self)^.&set := $00000008;
  10633. end;
  10634. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10635. begin
  10636. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10637. end;
  10638. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10639. begin
  10640. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10641. end;
  10642. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10643. begin
  10644. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10645. end;
  10646. procedure TTMR2_T2CON.setTGATE; inline;
  10647. begin
  10648. pTDefRegMap(@Self)^.&set := $00000080;
  10649. end;
  10650. procedure TTMR2_T2CON.clearTGATE; inline;
  10651. begin
  10652. pTDefRegMap(@Self)^.clr := $00000080;
  10653. end;
  10654. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10655. begin
  10656. if thebits = 0 then
  10657. pTDefRegMap(@Self)^.clr := $00000080
  10658. else
  10659. pTDefRegMap(@Self)^.&set := $00000080;
  10660. end;
  10661. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10662. begin
  10663. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10664. end;
  10665. procedure TTMR2_T2CON.setSIDL; inline;
  10666. begin
  10667. pTDefRegMap(@Self)^.&set := $00002000;
  10668. end;
  10669. procedure TTMR2_T2CON.clearSIDL; inline;
  10670. begin
  10671. pTDefRegMap(@Self)^.clr := $00002000;
  10672. end;
  10673. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10674. begin
  10675. if thebits = 0 then
  10676. pTDefRegMap(@Self)^.clr := $00002000
  10677. else
  10678. pTDefRegMap(@Self)^.&set := $00002000;
  10679. end;
  10680. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10681. begin
  10682. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10683. end;
  10684. procedure TTMR2_T2CON.setON; inline;
  10685. begin
  10686. pTDefRegMap(@Self)^.&set := $00008000;
  10687. end;
  10688. procedure TTMR2_T2CON.clearON; inline;
  10689. begin
  10690. pTDefRegMap(@Self)^.clr := $00008000;
  10691. end;
  10692. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10693. begin
  10694. if thebits = 0 then
  10695. pTDefRegMap(@Self)^.clr := $00008000
  10696. else
  10697. pTDefRegMap(@Self)^.&set := $00008000;
  10698. end;
  10699. function TTMR2_T2CON.getON : TBits_1; inline;
  10700. begin
  10701. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10702. end;
  10703. procedure TTMR2_T2CON.setTCKPS0; inline;
  10704. begin
  10705. pTDefRegMap(@Self)^.&set := $00000010;
  10706. end;
  10707. procedure TTMR2_T2CON.clearTCKPS0; inline;
  10708. begin
  10709. pTDefRegMap(@Self)^.clr := $00000010;
  10710. end;
  10711. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  10712. begin
  10713. if thebits = 0 then
  10714. pTDefRegMap(@Self)^.clr := $00000010
  10715. else
  10716. pTDefRegMap(@Self)^.&set := $00000010;
  10717. end;
  10718. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  10719. begin
  10720. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10721. end;
  10722. procedure TTMR2_T2CON.setTCKPS1; inline;
  10723. begin
  10724. pTDefRegMap(@Self)^.&set := $00000020;
  10725. end;
  10726. procedure TTMR2_T2CON.clearTCKPS1; inline;
  10727. begin
  10728. pTDefRegMap(@Self)^.clr := $00000020;
  10729. end;
  10730. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  10731. begin
  10732. if thebits = 0 then
  10733. pTDefRegMap(@Self)^.clr := $00000020
  10734. else
  10735. pTDefRegMap(@Self)^.&set := $00000020;
  10736. end;
  10737. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  10738. begin
  10739. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10740. end;
  10741. procedure TTMR2_T2CON.setTCKPS2; inline;
  10742. begin
  10743. pTDefRegMap(@Self)^.&set := $00000040;
  10744. end;
  10745. procedure TTMR2_T2CON.clearTCKPS2; inline;
  10746. begin
  10747. pTDefRegMap(@Self)^.clr := $00000040;
  10748. end;
  10749. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  10750. begin
  10751. if thebits = 0 then
  10752. pTDefRegMap(@Self)^.clr := $00000040
  10753. else
  10754. pTDefRegMap(@Self)^.&set := $00000040;
  10755. end;
  10756. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  10757. begin
  10758. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10759. end;
  10760. procedure TTMR2_T2CON.setTSIDL; inline;
  10761. begin
  10762. pTDefRegMap(@Self)^.&set := $00002000;
  10763. end;
  10764. procedure TTMR2_T2CON.clearTSIDL; inline;
  10765. begin
  10766. pTDefRegMap(@Self)^.clr := $00002000;
  10767. end;
  10768. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  10769. begin
  10770. if thebits = 0 then
  10771. pTDefRegMap(@Self)^.clr := $00002000
  10772. else
  10773. pTDefRegMap(@Self)^.&set := $00002000;
  10774. end;
  10775. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  10776. begin
  10777. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10778. end;
  10779. procedure TTMR2_T2CON.setTON; inline;
  10780. begin
  10781. pTDefRegMap(@Self)^.&set := $00008000;
  10782. end;
  10783. procedure TTMR2_T2CON.clearTON; inline;
  10784. begin
  10785. pTDefRegMap(@Self)^.clr := $00008000;
  10786. end;
  10787. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  10788. begin
  10789. if thebits = 0 then
  10790. pTDefRegMap(@Self)^.clr := $00008000
  10791. else
  10792. pTDefRegMap(@Self)^.&set := $00008000;
  10793. end;
  10794. function TTMR2_T2CON.getTON : TBits_1; inline;
  10795. begin
  10796. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10797. end;
  10798. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  10799. begin
  10800. pTDefRegMap(@Self)^.val := thebits;
  10801. end;
  10802. function TTMR2_T2CON.getw : TBits_32; inline;
  10803. begin
  10804. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10805. end;
  10806. procedure TTMR3_T3CON.setTCS; inline;
  10807. begin
  10808. pTDefRegMap(@Self)^.&set := $00000002;
  10809. end;
  10810. procedure TTMR3_T3CON.clearTCS; inline;
  10811. begin
  10812. pTDefRegMap(@Self)^.clr := $00000002;
  10813. end;
  10814. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  10815. begin
  10816. if thebits = 0 then
  10817. pTDefRegMap(@Self)^.clr := $00000002
  10818. else
  10819. pTDefRegMap(@Self)^.&set := $00000002;
  10820. end;
  10821. function TTMR3_T3CON.getTCS : TBits_1; inline;
  10822. begin
  10823. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10824. end;
  10825. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  10826. begin
  10827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10828. end;
  10829. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  10830. begin
  10831. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10832. end;
  10833. procedure TTMR3_T3CON.setTGATE; inline;
  10834. begin
  10835. pTDefRegMap(@Self)^.&set := $00000080;
  10836. end;
  10837. procedure TTMR3_T3CON.clearTGATE; inline;
  10838. begin
  10839. pTDefRegMap(@Self)^.clr := $00000080;
  10840. end;
  10841. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  10842. begin
  10843. if thebits = 0 then
  10844. pTDefRegMap(@Self)^.clr := $00000080
  10845. else
  10846. pTDefRegMap(@Self)^.&set := $00000080;
  10847. end;
  10848. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  10849. begin
  10850. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10851. end;
  10852. procedure TTMR3_T3CON.setSIDL; inline;
  10853. begin
  10854. pTDefRegMap(@Self)^.&set := $00002000;
  10855. end;
  10856. procedure TTMR3_T3CON.clearSIDL; inline;
  10857. begin
  10858. pTDefRegMap(@Self)^.clr := $00002000;
  10859. end;
  10860. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  10861. begin
  10862. if thebits = 0 then
  10863. pTDefRegMap(@Self)^.clr := $00002000
  10864. else
  10865. pTDefRegMap(@Self)^.&set := $00002000;
  10866. end;
  10867. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  10868. begin
  10869. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10870. end;
  10871. procedure TTMR3_T3CON.setON; inline;
  10872. begin
  10873. pTDefRegMap(@Self)^.&set := $00008000;
  10874. end;
  10875. procedure TTMR3_T3CON.clearON; inline;
  10876. begin
  10877. pTDefRegMap(@Self)^.clr := $00008000;
  10878. end;
  10879. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  10880. begin
  10881. if thebits = 0 then
  10882. pTDefRegMap(@Self)^.clr := $00008000
  10883. else
  10884. pTDefRegMap(@Self)^.&set := $00008000;
  10885. end;
  10886. function TTMR3_T3CON.getON : TBits_1; inline;
  10887. begin
  10888. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10889. end;
  10890. procedure TTMR3_T3CON.setTCKPS0; inline;
  10891. begin
  10892. pTDefRegMap(@Self)^.&set := $00000010;
  10893. end;
  10894. procedure TTMR3_T3CON.clearTCKPS0; inline;
  10895. begin
  10896. pTDefRegMap(@Self)^.clr := $00000010;
  10897. end;
  10898. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  10899. begin
  10900. if thebits = 0 then
  10901. pTDefRegMap(@Self)^.clr := $00000010
  10902. else
  10903. pTDefRegMap(@Self)^.&set := $00000010;
  10904. end;
  10905. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  10906. begin
  10907. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10908. end;
  10909. procedure TTMR3_T3CON.setTCKPS1; inline;
  10910. begin
  10911. pTDefRegMap(@Self)^.&set := $00000020;
  10912. end;
  10913. procedure TTMR3_T3CON.clearTCKPS1; inline;
  10914. begin
  10915. pTDefRegMap(@Self)^.clr := $00000020;
  10916. end;
  10917. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  10918. begin
  10919. if thebits = 0 then
  10920. pTDefRegMap(@Self)^.clr := $00000020
  10921. else
  10922. pTDefRegMap(@Self)^.&set := $00000020;
  10923. end;
  10924. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  10925. begin
  10926. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10927. end;
  10928. procedure TTMR3_T3CON.setTCKPS2; inline;
  10929. begin
  10930. pTDefRegMap(@Self)^.&set := $00000040;
  10931. end;
  10932. procedure TTMR3_T3CON.clearTCKPS2; inline;
  10933. begin
  10934. pTDefRegMap(@Self)^.clr := $00000040;
  10935. end;
  10936. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  10937. begin
  10938. if thebits = 0 then
  10939. pTDefRegMap(@Self)^.clr := $00000040
  10940. else
  10941. pTDefRegMap(@Self)^.&set := $00000040;
  10942. end;
  10943. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  10944. begin
  10945. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10946. end;
  10947. procedure TTMR3_T3CON.setTSIDL; inline;
  10948. begin
  10949. pTDefRegMap(@Self)^.&set := $00002000;
  10950. end;
  10951. procedure TTMR3_T3CON.clearTSIDL; inline;
  10952. begin
  10953. pTDefRegMap(@Self)^.clr := $00002000;
  10954. end;
  10955. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  10956. begin
  10957. if thebits = 0 then
  10958. pTDefRegMap(@Self)^.clr := $00002000
  10959. else
  10960. pTDefRegMap(@Self)^.&set := $00002000;
  10961. end;
  10962. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  10963. begin
  10964. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10965. end;
  10966. procedure TTMR3_T3CON.setTON; inline;
  10967. begin
  10968. pTDefRegMap(@Self)^.&set := $00008000;
  10969. end;
  10970. procedure TTMR3_T3CON.clearTON; inline;
  10971. begin
  10972. pTDefRegMap(@Self)^.clr := $00008000;
  10973. end;
  10974. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  10975. begin
  10976. if thebits = 0 then
  10977. pTDefRegMap(@Self)^.clr := $00008000
  10978. else
  10979. pTDefRegMap(@Self)^.&set := $00008000;
  10980. end;
  10981. function TTMR3_T3CON.getTON : TBits_1; inline;
  10982. begin
  10983. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10984. end;
  10985. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  10986. begin
  10987. pTDefRegMap(@Self)^.val := thebits;
  10988. end;
  10989. function TTMR3_T3CON.getw : TBits_32; inline;
  10990. begin
  10991. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10992. end;
  10993. procedure TTMR4_T4CON.setTCS; inline;
  10994. begin
  10995. pTDefRegMap(@Self)^.&set := $00000002;
  10996. end;
  10997. procedure TTMR4_T4CON.clearTCS; inline;
  10998. begin
  10999. pTDefRegMap(@Self)^.clr := $00000002;
  11000. end;
  11001. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11002. begin
  11003. if thebits = 0 then
  11004. pTDefRegMap(@Self)^.clr := $00000002
  11005. else
  11006. pTDefRegMap(@Self)^.&set := $00000002;
  11007. end;
  11008. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11009. begin
  11010. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11011. end;
  11012. procedure TTMR4_T4CON.setT32; inline;
  11013. begin
  11014. pTDefRegMap(@Self)^.&set := $00000008;
  11015. end;
  11016. procedure TTMR4_T4CON.clearT32; inline;
  11017. begin
  11018. pTDefRegMap(@Self)^.clr := $00000008;
  11019. end;
  11020. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11021. begin
  11022. if thebits = 0 then
  11023. pTDefRegMap(@Self)^.clr := $00000008
  11024. else
  11025. pTDefRegMap(@Self)^.&set := $00000008;
  11026. end;
  11027. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11028. begin
  11029. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11030. end;
  11031. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11032. begin
  11033. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11034. end;
  11035. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11036. begin
  11037. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11038. end;
  11039. procedure TTMR4_T4CON.setTGATE; inline;
  11040. begin
  11041. pTDefRegMap(@Self)^.&set := $00000080;
  11042. end;
  11043. procedure TTMR4_T4CON.clearTGATE; inline;
  11044. begin
  11045. pTDefRegMap(@Self)^.clr := $00000080;
  11046. end;
  11047. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11048. begin
  11049. if thebits = 0 then
  11050. pTDefRegMap(@Self)^.clr := $00000080
  11051. else
  11052. pTDefRegMap(@Self)^.&set := $00000080;
  11053. end;
  11054. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11055. begin
  11056. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11057. end;
  11058. procedure TTMR4_T4CON.setSIDL; inline;
  11059. begin
  11060. pTDefRegMap(@Self)^.&set := $00002000;
  11061. end;
  11062. procedure TTMR4_T4CON.clearSIDL; inline;
  11063. begin
  11064. pTDefRegMap(@Self)^.clr := $00002000;
  11065. end;
  11066. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11067. begin
  11068. if thebits = 0 then
  11069. pTDefRegMap(@Self)^.clr := $00002000
  11070. else
  11071. pTDefRegMap(@Self)^.&set := $00002000;
  11072. end;
  11073. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11074. begin
  11075. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11076. end;
  11077. procedure TTMR4_T4CON.setON; inline;
  11078. begin
  11079. pTDefRegMap(@Self)^.&set := $00008000;
  11080. end;
  11081. procedure TTMR4_T4CON.clearON; inline;
  11082. begin
  11083. pTDefRegMap(@Self)^.clr := $00008000;
  11084. end;
  11085. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11086. begin
  11087. if thebits = 0 then
  11088. pTDefRegMap(@Self)^.clr := $00008000
  11089. else
  11090. pTDefRegMap(@Self)^.&set := $00008000;
  11091. end;
  11092. function TTMR4_T4CON.getON : TBits_1; inline;
  11093. begin
  11094. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11095. end;
  11096. procedure TTMR4_T4CON.setTCKPS0; inline;
  11097. begin
  11098. pTDefRegMap(@Self)^.&set := $00000010;
  11099. end;
  11100. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11101. begin
  11102. pTDefRegMap(@Self)^.clr := $00000010;
  11103. end;
  11104. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11105. begin
  11106. if thebits = 0 then
  11107. pTDefRegMap(@Self)^.clr := $00000010
  11108. else
  11109. pTDefRegMap(@Self)^.&set := $00000010;
  11110. end;
  11111. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11112. begin
  11113. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11114. end;
  11115. procedure TTMR4_T4CON.setTCKPS1; inline;
  11116. begin
  11117. pTDefRegMap(@Self)^.&set := $00000020;
  11118. end;
  11119. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11120. begin
  11121. pTDefRegMap(@Self)^.clr := $00000020;
  11122. end;
  11123. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11124. begin
  11125. if thebits = 0 then
  11126. pTDefRegMap(@Self)^.clr := $00000020
  11127. else
  11128. pTDefRegMap(@Self)^.&set := $00000020;
  11129. end;
  11130. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11131. begin
  11132. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11133. end;
  11134. procedure TTMR4_T4CON.setTCKPS2; inline;
  11135. begin
  11136. pTDefRegMap(@Self)^.&set := $00000040;
  11137. end;
  11138. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11139. begin
  11140. pTDefRegMap(@Self)^.clr := $00000040;
  11141. end;
  11142. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11143. begin
  11144. if thebits = 0 then
  11145. pTDefRegMap(@Self)^.clr := $00000040
  11146. else
  11147. pTDefRegMap(@Self)^.&set := $00000040;
  11148. end;
  11149. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11150. begin
  11151. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11152. end;
  11153. procedure TTMR4_T4CON.setTSIDL; inline;
  11154. begin
  11155. pTDefRegMap(@Self)^.&set := $00002000;
  11156. end;
  11157. procedure TTMR4_T4CON.clearTSIDL; inline;
  11158. begin
  11159. pTDefRegMap(@Self)^.clr := $00002000;
  11160. end;
  11161. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11162. begin
  11163. if thebits = 0 then
  11164. pTDefRegMap(@Self)^.clr := $00002000
  11165. else
  11166. pTDefRegMap(@Self)^.&set := $00002000;
  11167. end;
  11168. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11169. begin
  11170. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11171. end;
  11172. procedure TTMR4_T4CON.setTON; inline;
  11173. begin
  11174. pTDefRegMap(@Self)^.&set := $00008000;
  11175. end;
  11176. procedure TTMR4_T4CON.clearTON; inline;
  11177. begin
  11178. pTDefRegMap(@Self)^.clr := $00008000;
  11179. end;
  11180. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11181. begin
  11182. if thebits = 0 then
  11183. pTDefRegMap(@Self)^.clr := $00008000
  11184. else
  11185. pTDefRegMap(@Self)^.&set := $00008000;
  11186. end;
  11187. function TTMR4_T4CON.getTON : TBits_1; inline;
  11188. begin
  11189. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11190. end;
  11191. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11192. begin
  11193. pTDefRegMap(@Self)^.val := thebits;
  11194. end;
  11195. function TTMR4_T4CON.getw : TBits_32; inline;
  11196. begin
  11197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11198. end;
  11199. procedure TTMR5_T5CON.setTCS; inline;
  11200. begin
  11201. pTDefRegMap(@Self)^.&set := $00000002;
  11202. end;
  11203. procedure TTMR5_T5CON.clearTCS; inline;
  11204. begin
  11205. pTDefRegMap(@Self)^.clr := $00000002;
  11206. end;
  11207. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11208. begin
  11209. if thebits = 0 then
  11210. pTDefRegMap(@Self)^.clr := $00000002
  11211. else
  11212. pTDefRegMap(@Self)^.&set := $00000002;
  11213. end;
  11214. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11215. begin
  11216. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11217. end;
  11218. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11219. begin
  11220. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11221. end;
  11222. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11223. begin
  11224. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11225. end;
  11226. procedure TTMR5_T5CON.setTGATE; inline;
  11227. begin
  11228. pTDefRegMap(@Self)^.&set := $00000080;
  11229. end;
  11230. procedure TTMR5_T5CON.clearTGATE; inline;
  11231. begin
  11232. pTDefRegMap(@Self)^.clr := $00000080;
  11233. end;
  11234. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11235. begin
  11236. if thebits = 0 then
  11237. pTDefRegMap(@Self)^.clr := $00000080
  11238. else
  11239. pTDefRegMap(@Self)^.&set := $00000080;
  11240. end;
  11241. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11242. begin
  11243. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11244. end;
  11245. procedure TTMR5_T5CON.setSIDL; inline;
  11246. begin
  11247. pTDefRegMap(@Self)^.&set := $00002000;
  11248. end;
  11249. procedure TTMR5_T5CON.clearSIDL; inline;
  11250. begin
  11251. pTDefRegMap(@Self)^.clr := $00002000;
  11252. end;
  11253. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11254. begin
  11255. if thebits = 0 then
  11256. pTDefRegMap(@Self)^.clr := $00002000
  11257. else
  11258. pTDefRegMap(@Self)^.&set := $00002000;
  11259. end;
  11260. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11261. begin
  11262. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11263. end;
  11264. procedure TTMR5_T5CON.setON; inline;
  11265. begin
  11266. pTDefRegMap(@Self)^.&set := $00008000;
  11267. end;
  11268. procedure TTMR5_T5CON.clearON; inline;
  11269. begin
  11270. pTDefRegMap(@Self)^.clr := $00008000;
  11271. end;
  11272. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11273. begin
  11274. if thebits = 0 then
  11275. pTDefRegMap(@Self)^.clr := $00008000
  11276. else
  11277. pTDefRegMap(@Self)^.&set := $00008000;
  11278. end;
  11279. function TTMR5_T5CON.getON : TBits_1; inline;
  11280. begin
  11281. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11282. end;
  11283. procedure TTMR5_T5CON.setTCKPS0; inline;
  11284. begin
  11285. pTDefRegMap(@Self)^.&set := $00000010;
  11286. end;
  11287. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11288. begin
  11289. pTDefRegMap(@Self)^.clr := $00000010;
  11290. end;
  11291. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11292. begin
  11293. if thebits = 0 then
  11294. pTDefRegMap(@Self)^.clr := $00000010
  11295. else
  11296. pTDefRegMap(@Self)^.&set := $00000010;
  11297. end;
  11298. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11299. begin
  11300. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11301. end;
  11302. procedure TTMR5_T5CON.setTCKPS1; inline;
  11303. begin
  11304. pTDefRegMap(@Self)^.&set := $00000020;
  11305. end;
  11306. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11307. begin
  11308. pTDefRegMap(@Self)^.clr := $00000020;
  11309. end;
  11310. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11311. begin
  11312. if thebits = 0 then
  11313. pTDefRegMap(@Self)^.clr := $00000020
  11314. else
  11315. pTDefRegMap(@Self)^.&set := $00000020;
  11316. end;
  11317. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11318. begin
  11319. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11320. end;
  11321. procedure TTMR5_T5CON.setTCKPS2; inline;
  11322. begin
  11323. pTDefRegMap(@Self)^.&set := $00000040;
  11324. end;
  11325. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11326. begin
  11327. pTDefRegMap(@Self)^.clr := $00000040;
  11328. end;
  11329. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11330. begin
  11331. if thebits = 0 then
  11332. pTDefRegMap(@Self)^.clr := $00000040
  11333. else
  11334. pTDefRegMap(@Self)^.&set := $00000040;
  11335. end;
  11336. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11337. begin
  11338. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11339. end;
  11340. procedure TTMR5_T5CON.setTSIDL; inline;
  11341. begin
  11342. pTDefRegMap(@Self)^.&set := $00002000;
  11343. end;
  11344. procedure TTMR5_T5CON.clearTSIDL; inline;
  11345. begin
  11346. pTDefRegMap(@Self)^.clr := $00002000;
  11347. end;
  11348. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11349. begin
  11350. if thebits = 0 then
  11351. pTDefRegMap(@Self)^.clr := $00002000
  11352. else
  11353. pTDefRegMap(@Self)^.&set := $00002000;
  11354. end;
  11355. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11356. begin
  11357. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11358. end;
  11359. procedure TTMR5_T5CON.setTON; inline;
  11360. begin
  11361. pTDefRegMap(@Self)^.&set := $00008000;
  11362. end;
  11363. procedure TTMR5_T5CON.clearTON; inline;
  11364. begin
  11365. pTDefRegMap(@Self)^.clr := $00008000;
  11366. end;
  11367. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11368. begin
  11369. if thebits = 0 then
  11370. pTDefRegMap(@Self)^.clr := $00008000
  11371. else
  11372. pTDefRegMap(@Self)^.&set := $00008000;
  11373. end;
  11374. function TTMR5_T5CON.getTON : TBits_1; inline;
  11375. begin
  11376. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11377. end;
  11378. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11379. begin
  11380. pTDefRegMap(@Self)^.val := thebits;
  11381. end;
  11382. function TTMR5_T5CON.getw : TBits_32; inline;
  11383. begin
  11384. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11385. end;
  11386. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11387. begin
  11388. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11389. end;
  11390. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11391. begin
  11392. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11393. end;
  11394. procedure TICAP1_IC1CON.setICBNE; inline;
  11395. begin
  11396. pTDefRegMap(@Self)^.&set := $00000008;
  11397. end;
  11398. procedure TICAP1_IC1CON.clearICBNE; inline;
  11399. begin
  11400. pTDefRegMap(@Self)^.clr := $00000008;
  11401. end;
  11402. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11403. begin
  11404. if thebits = 0 then
  11405. pTDefRegMap(@Self)^.clr := $00000008
  11406. else
  11407. pTDefRegMap(@Self)^.&set := $00000008;
  11408. end;
  11409. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11410. begin
  11411. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11412. end;
  11413. procedure TICAP1_IC1CON.setICOV; inline;
  11414. begin
  11415. pTDefRegMap(@Self)^.&set := $00000010;
  11416. end;
  11417. procedure TICAP1_IC1CON.clearICOV; inline;
  11418. begin
  11419. pTDefRegMap(@Self)^.clr := $00000010;
  11420. end;
  11421. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11422. begin
  11423. if thebits = 0 then
  11424. pTDefRegMap(@Self)^.clr := $00000010
  11425. else
  11426. pTDefRegMap(@Self)^.&set := $00000010;
  11427. end;
  11428. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11429. begin
  11430. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11431. end;
  11432. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11433. begin
  11434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11435. end;
  11436. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11437. begin
  11438. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11439. end;
  11440. procedure TICAP1_IC1CON.setICTMR; inline;
  11441. begin
  11442. pTDefRegMap(@Self)^.&set := $00000080;
  11443. end;
  11444. procedure TICAP1_IC1CON.clearICTMR; inline;
  11445. begin
  11446. pTDefRegMap(@Self)^.clr := $00000080;
  11447. end;
  11448. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11449. begin
  11450. if thebits = 0 then
  11451. pTDefRegMap(@Self)^.clr := $00000080
  11452. else
  11453. pTDefRegMap(@Self)^.&set := $00000080;
  11454. end;
  11455. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11456. begin
  11457. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11458. end;
  11459. procedure TICAP1_IC1CON.setC32; inline;
  11460. begin
  11461. pTDefRegMap(@Self)^.&set := $00000100;
  11462. end;
  11463. procedure TICAP1_IC1CON.clearC32; inline;
  11464. begin
  11465. pTDefRegMap(@Self)^.clr := $00000100;
  11466. end;
  11467. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11468. begin
  11469. if thebits = 0 then
  11470. pTDefRegMap(@Self)^.clr := $00000100
  11471. else
  11472. pTDefRegMap(@Self)^.&set := $00000100;
  11473. end;
  11474. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11475. begin
  11476. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11477. end;
  11478. procedure TICAP1_IC1CON.setFEDGE; inline;
  11479. begin
  11480. pTDefRegMap(@Self)^.&set := $00000200;
  11481. end;
  11482. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11483. begin
  11484. pTDefRegMap(@Self)^.clr := $00000200;
  11485. end;
  11486. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11487. begin
  11488. if thebits = 0 then
  11489. pTDefRegMap(@Self)^.clr := $00000200
  11490. else
  11491. pTDefRegMap(@Self)^.&set := $00000200;
  11492. end;
  11493. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11494. begin
  11495. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11496. end;
  11497. procedure TICAP1_IC1CON.setSIDL; inline;
  11498. begin
  11499. pTDefRegMap(@Self)^.&set := $00002000;
  11500. end;
  11501. procedure TICAP1_IC1CON.clearSIDL; inline;
  11502. begin
  11503. pTDefRegMap(@Self)^.clr := $00002000;
  11504. end;
  11505. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11506. begin
  11507. if thebits = 0 then
  11508. pTDefRegMap(@Self)^.clr := $00002000
  11509. else
  11510. pTDefRegMap(@Self)^.&set := $00002000;
  11511. end;
  11512. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11513. begin
  11514. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11515. end;
  11516. procedure TICAP1_IC1CON.setON; inline;
  11517. begin
  11518. pTDefRegMap(@Self)^.&set := $00008000;
  11519. end;
  11520. procedure TICAP1_IC1CON.clearON; inline;
  11521. begin
  11522. pTDefRegMap(@Self)^.clr := $00008000;
  11523. end;
  11524. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11525. begin
  11526. if thebits = 0 then
  11527. pTDefRegMap(@Self)^.clr := $00008000
  11528. else
  11529. pTDefRegMap(@Self)^.&set := $00008000;
  11530. end;
  11531. function TICAP1_IC1CON.getON : TBits_1; inline;
  11532. begin
  11533. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11534. end;
  11535. procedure TICAP1_IC1CON.setICM0; inline;
  11536. begin
  11537. pTDefRegMap(@Self)^.&set := $00000001;
  11538. end;
  11539. procedure TICAP1_IC1CON.clearICM0; inline;
  11540. begin
  11541. pTDefRegMap(@Self)^.clr := $00000001;
  11542. end;
  11543. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11544. begin
  11545. if thebits = 0 then
  11546. pTDefRegMap(@Self)^.clr := $00000001
  11547. else
  11548. pTDefRegMap(@Self)^.&set := $00000001;
  11549. end;
  11550. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11551. begin
  11552. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11553. end;
  11554. procedure TICAP1_IC1CON.setICM1; inline;
  11555. begin
  11556. pTDefRegMap(@Self)^.&set := $00000002;
  11557. end;
  11558. procedure TICAP1_IC1CON.clearICM1; inline;
  11559. begin
  11560. pTDefRegMap(@Self)^.clr := $00000002;
  11561. end;
  11562. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11563. begin
  11564. if thebits = 0 then
  11565. pTDefRegMap(@Self)^.clr := $00000002
  11566. else
  11567. pTDefRegMap(@Self)^.&set := $00000002;
  11568. end;
  11569. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11570. begin
  11571. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11572. end;
  11573. procedure TICAP1_IC1CON.setICM2; inline;
  11574. begin
  11575. pTDefRegMap(@Self)^.&set := $00000004;
  11576. end;
  11577. procedure TICAP1_IC1CON.clearICM2; inline;
  11578. begin
  11579. pTDefRegMap(@Self)^.clr := $00000004;
  11580. end;
  11581. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11582. begin
  11583. if thebits = 0 then
  11584. pTDefRegMap(@Self)^.clr := $00000004
  11585. else
  11586. pTDefRegMap(@Self)^.&set := $00000004;
  11587. end;
  11588. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11589. begin
  11590. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11591. end;
  11592. procedure TICAP1_IC1CON.setICI0; inline;
  11593. begin
  11594. pTDefRegMap(@Self)^.&set := $00000020;
  11595. end;
  11596. procedure TICAP1_IC1CON.clearICI0; inline;
  11597. begin
  11598. pTDefRegMap(@Self)^.clr := $00000020;
  11599. end;
  11600. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11601. begin
  11602. if thebits = 0 then
  11603. pTDefRegMap(@Self)^.clr := $00000020
  11604. else
  11605. pTDefRegMap(@Self)^.&set := $00000020;
  11606. end;
  11607. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11608. begin
  11609. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11610. end;
  11611. procedure TICAP1_IC1CON.setICI1; inline;
  11612. begin
  11613. pTDefRegMap(@Self)^.&set := $00000040;
  11614. end;
  11615. procedure TICAP1_IC1CON.clearICI1; inline;
  11616. begin
  11617. pTDefRegMap(@Self)^.clr := $00000040;
  11618. end;
  11619. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11620. begin
  11621. if thebits = 0 then
  11622. pTDefRegMap(@Self)^.clr := $00000040
  11623. else
  11624. pTDefRegMap(@Self)^.&set := $00000040;
  11625. end;
  11626. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11627. begin
  11628. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11629. end;
  11630. procedure TICAP1_IC1CON.setICSIDL; inline;
  11631. begin
  11632. pTDefRegMap(@Self)^.&set := $00002000;
  11633. end;
  11634. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11635. begin
  11636. pTDefRegMap(@Self)^.clr := $00002000;
  11637. end;
  11638. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11639. begin
  11640. if thebits = 0 then
  11641. pTDefRegMap(@Self)^.clr := $00002000
  11642. else
  11643. pTDefRegMap(@Self)^.&set := $00002000;
  11644. end;
  11645. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11646. begin
  11647. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11648. end;
  11649. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11650. begin
  11651. pTDefRegMap(@Self)^.val := thebits;
  11652. end;
  11653. function TICAP1_IC1CON.getw : TBits_32; inline;
  11654. begin
  11655. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11656. end;
  11657. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11658. begin
  11659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11660. end;
  11661. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11662. begin
  11663. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11664. end;
  11665. procedure TICAP2_IC2CON.setICBNE; inline;
  11666. begin
  11667. pTDefRegMap(@Self)^.&set := $00000008;
  11668. end;
  11669. procedure TICAP2_IC2CON.clearICBNE; inline;
  11670. begin
  11671. pTDefRegMap(@Self)^.clr := $00000008;
  11672. end;
  11673. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11674. begin
  11675. if thebits = 0 then
  11676. pTDefRegMap(@Self)^.clr := $00000008
  11677. else
  11678. pTDefRegMap(@Self)^.&set := $00000008;
  11679. end;
  11680. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11681. begin
  11682. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11683. end;
  11684. procedure TICAP2_IC2CON.setICOV; inline;
  11685. begin
  11686. pTDefRegMap(@Self)^.&set := $00000010;
  11687. end;
  11688. procedure TICAP2_IC2CON.clearICOV; inline;
  11689. begin
  11690. pTDefRegMap(@Self)^.clr := $00000010;
  11691. end;
  11692. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11693. begin
  11694. if thebits = 0 then
  11695. pTDefRegMap(@Self)^.clr := $00000010
  11696. else
  11697. pTDefRegMap(@Self)^.&set := $00000010;
  11698. end;
  11699. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11700. begin
  11701. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11702. end;
  11703. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  11704. begin
  11705. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11706. end;
  11707. function TICAP2_IC2CON.getICI : TBits_2; inline;
  11708. begin
  11709. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11710. end;
  11711. procedure TICAP2_IC2CON.setICTMR; inline;
  11712. begin
  11713. pTDefRegMap(@Self)^.&set := $00000080;
  11714. end;
  11715. procedure TICAP2_IC2CON.clearICTMR; inline;
  11716. begin
  11717. pTDefRegMap(@Self)^.clr := $00000080;
  11718. end;
  11719. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  11720. begin
  11721. if thebits = 0 then
  11722. pTDefRegMap(@Self)^.clr := $00000080
  11723. else
  11724. pTDefRegMap(@Self)^.&set := $00000080;
  11725. end;
  11726. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  11727. begin
  11728. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11729. end;
  11730. procedure TICAP2_IC2CON.setC32; inline;
  11731. begin
  11732. pTDefRegMap(@Self)^.&set := $00000100;
  11733. end;
  11734. procedure TICAP2_IC2CON.clearC32; inline;
  11735. begin
  11736. pTDefRegMap(@Self)^.clr := $00000100;
  11737. end;
  11738. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  11739. begin
  11740. if thebits = 0 then
  11741. pTDefRegMap(@Self)^.clr := $00000100
  11742. else
  11743. pTDefRegMap(@Self)^.&set := $00000100;
  11744. end;
  11745. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  11746. begin
  11747. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11748. end;
  11749. procedure TICAP2_IC2CON.setFEDGE; inline;
  11750. begin
  11751. pTDefRegMap(@Self)^.&set := $00000200;
  11752. end;
  11753. procedure TICAP2_IC2CON.clearFEDGE; inline;
  11754. begin
  11755. pTDefRegMap(@Self)^.clr := $00000200;
  11756. end;
  11757. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  11758. begin
  11759. if thebits = 0 then
  11760. pTDefRegMap(@Self)^.clr := $00000200
  11761. else
  11762. pTDefRegMap(@Self)^.&set := $00000200;
  11763. end;
  11764. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  11765. begin
  11766. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11767. end;
  11768. procedure TICAP2_IC2CON.setSIDL; inline;
  11769. begin
  11770. pTDefRegMap(@Self)^.&set := $00002000;
  11771. end;
  11772. procedure TICAP2_IC2CON.clearSIDL; inline;
  11773. begin
  11774. pTDefRegMap(@Self)^.clr := $00002000;
  11775. end;
  11776. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  11777. begin
  11778. if thebits = 0 then
  11779. pTDefRegMap(@Self)^.clr := $00002000
  11780. else
  11781. pTDefRegMap(@Self)^.&set := $00002000;
  11782. end;
  11783. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  11784. begin
  11785. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11786. end;
  11787. procedure TICAP2_IC2CON.setON; inline;
  11788. begin
  11789. pTDefRegMap(@Self)^.&set := $00008000;
  11790. end;
  11791. procedure TICAP2_IC2CON.clearON; inline;
  11792. begin
  11793. pTDefRegMap(@Self)^.clr := $00008000;
  11794. end;
  11795. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  11796. begin
  11797. if thebits = 0 then
  11798. pTDefRegMap(@Self)^.clr := $00008000
  11799. else
  11800. pTDefRegMap(@Self)^.&set := $00008000;
  11801. end;
  11802. function TICAP2_IC2CON.getON : TBits_1; inline;
  11803. begin
  11804. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11805. end;
  11806. procedure TICAP2_IC2CON.setICM0; inline;
  11807. begin
  11808. pTDefRegMap(@Self)^.&set := $00000001;
  11809. end;
  11810. procedure TICAP2_IC2CON.clearICM0; inline;
  11811. begin
  11812. pTDefRegMap(@Self)^.clr := $00000001;
  11813. end;
  11814. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  11815. begin
  11816. if thebits = 0 then
  11817. pTDefRegMap(@Self)^.clr := $00000001
  11818. else
  11819. pTDefRegMap(@Self)^.&set := $00000001;
  11820. end;
  11821. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  11822. begin
  11823. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11824. end;
  11825. procedure TICAP2_IC2CON.setICM1; inline;
  11826. begin
  11827. pTDefRegMap(@Self)^.&set := $00000002;
  11828. end;
  11829. procedure TICAP2_IC2CON.clearICM1; inline;
  11830. begin
  11831. pTDefRegMap(@Self)^.clr := $00000002;
  11832. end;
  11833. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  11834. begin
  11835. if thebits = 0 then
  11836. pTDefRegMap(@Self)^.clr := $00000002
  11837. else
  11838. pTDefRegMap(@Self)^.&set := $00000002;
  11839. end;
  11840. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  11841. begin
  11842. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11843. end;
  11844. procedure TICAP2_IC2CON.setICM2; inline;
  11845. begin
  11846. pTDefRegMap(@Self)^.&set := $00000004;
  11847. end;
  11848. procedure TICAP2_IC2CON.clearICM2; inline;
  11849. begin
  11850. pTDefRegMap(@Self)^.clr := $00000004;
  11851. end;
  11852. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  11853. begin
  11854. if thebits = 0 then
  11855. pTDefRegMap(@Self)^.clr := $00000004
  11856. else
  11857. pTDefRegMap(@Self)^.&set := $00000004;
  11858. end;
  11859. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  11860. begin
  11861. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11862. end;
  11863. procedure TICAP2_IC2CON.setICI0; inline;
  11864. begin
  11865. pTDefRegMap(@Self)^.&set := $00000020;
  11866. end;
  11867. procedure TICAP2_IC2CON.clearICI0; inline;
  11868. begin
  11869. pTDefRegMap(@Self)^.clr := $00000020;
  11870. end;
  11871. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  11872. begin
  11873. if thebits = 0 then
  11874. pTDefRegMap(@Self)^.clr := $00000020
  11875. else
  11876. pTDefRegMap(@Self)^.&set := $00000020;
  11877. end;
  11878. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  11879. begin
  11880. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11881. end;
  11882. procedure TICAP2_IC2CON.setICI1; inline;
  11883. begin
  11884. pTDefRegMap(@Self)^.&set := $00000040;
  11885. end;
  11886. procedure TICAP2_IC2CON.clearICI1; inline;
  11887. begin
  11888. pTDefRegMap(@Self)^.clr := $00000040;
  11889. end;
  11890. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  11891. begin
  11892. if thebits = 0 then
  11893. pTDefRegMap(@Self)^.clr := $00000040
  11894. else
  11895. pTDefRegMap(@Self)^.&set := $00000040;
  11896. end;
  11897. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  11898. begin
  11899. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11900. end;
  11901. procedure TICAP2_IC2CON.setICSIDL; inline;
  11902. begin
  11903. pTDefRegMap(@Self)^.&set := $00002000;
  11904. end;
  11905. procedure TICAP2_IC2CON.clearICSIDL; inline;
  11906. begin
  11907. pTDefRegMap(@Self)^.clr := $00002000;
  11908. end;
  11909. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  11910. begin
  11911. if thebits = 0 then
  11912. pTDefRegMap(@Self)^.clr := $00002000
  11913. else
  11914. pTDefRegMap(@Self)^.&set := $00002000;
  11915. end;
  11916. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  11917. begin
  11918. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11919. end;
  11920. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  11921. begin
  11922. pTDefRegMap(@Self)^.val := thebits;
  11923. end;
  11924. function TICAP2_IC2CON.getw : TBits_32; inline;
  11925. begin
  11926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11927. end;
  11928. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  11929. begin
  11930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11931. end;
  11932. function TICAP3_IC3CON.getICM : TBits_3; inline;
  11933. begin
  11934. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11935. end;
  11936. procedure TICAP3_IC3CON.setICBNE; inline;
  11937. begin
  11938. pTDefRegMap(@Self)^.&set := $00000008;
  11939. end;
  11940. procedure TICAP3_IC3CON.clearICBNE; inline;
  11941. begin
  11942. pTDefRegMap(@Self)^.clr := $00000008;
  11943. end;
  11944. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  11945. begin
  11946. if thebits = 0 then
  11947. pTDefRegMap(@Self)^.clr := $00000008
  11948. else
  11949. pTDefRegMap(@Self)^.&set := $00000008;
  11950. end;
  11951. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  11952. begin
  11953. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11954. end;
  11955. procedure TICAP3_IC3CON.setICOV; inline;
  11956. begin
  11957. pTDefRegMap(@Self)^.&set := $00000010;
  11958. end;
  11959. procedure TICAP3_IC3CON.clearICOV; inline;
  11960. begin
  11961. pTDefRegMap(@Self)^.clr := $00000010;
  11962. end;
  11963. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  11964. begin
  11965. if thebits = 0 then
  11966. pTDefRegMap(@Self)^.clr := $00000010
  11967. else
  11968. pTDefRegMap(@Self)^.&set := $00000010;
  11969. end;
  11970. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  11971. begin
  11972. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11973. end;
  11974. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  11975. begin
  11976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11977. end;
  11978. function TICAP3_IC3CON.getICI : TBits_2; inline;
  11979. begin
  11980. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11981. end;
  11982. procedure TICAP3_IC3CON.setICTMR; inline;
  11983. begin
  11984. pTDefRegMap(@Self)^.&set := $00000080;
  11985. end;
  11986. procedure TICAP3_IC3CON.clearICTMR; inline;
  11987. begin
  11988. pTDefRegMap(@Self)^.clr := $00000080;
  11989. end;
  11990. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  11991. begin
  11992. if thebits = 0 then
  11993. pTDefRegMap(@Self)^.clr := $00000080
  11994. else
  11995. pTDefRegMap(@Self)^.&set := $00000080;
  11996. end;
  11997. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  11998. begin
  11999. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12000. end;
  12001. procedure TICAP3_IC3CON.setC32; inline;
  12002. begin
  12003. pTDefRegMap(@Self)^.&set := $00000100;
  12004. end;
  12005. procedure TICAP3_IC3CON.clearC32; inline;
  12006. begin
  12007. pTDefRegMap(@Self)^.clr := $00000100;
  12008. end;
  12009. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12010. begin
  12011. if thebits = 0 then
  12012. pTDefRegMap(@Self)^.clr := $00000100
  12013. else
  12014. pTDefRegMap(@Self)^.&set := $00000100;
  12015. end;
  12016. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12017. begin
  12018. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12019. end;
  12020. procedure TICAP3_IC3CON.setFEDGE; inline;
  12021. begin
  12022. pTDefRegMap(@Self)^.&set := $00000200;
  12023. end;
  12024. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12025. begin
  12026. pTDefRegMap(@Self)^.clr := $00000200;
  12027. end;
  12028. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12029. begin
  12030. if thebits = 0 then
  12031. pTDefRegMap(@Self)^.clr := $00000200
  12032. else
  12033. pTDefRegMap(@Self)^.&set := $00000200;
  12034. end;
  12035. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12036. begin
  12037. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12038. end;
  12039. procedure TICAP3_IC3CON.setSIDL; inline;
  12040. begin
  12041. pTDefRegMap(@Self)^.&set := $00002000;
  12042. end;
  12043. procedure TICAP3_IC3CON.clearSIDL; inline;
  12044. begin
  12045. pTDefRegMap(@Self)^.clr := $00002000;
  12046. end;
  12047. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12048. begin
  12049. if thebits = 0 then
  12050. pTDefRegMap(@Self)^.clr := $00002000
  12051. else
  12052. pTDefRegMap(@Self)^.&set := $00002000;
  12053. end;
  12054. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12055. begin
  12056. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12057. end;
  12058. procedure TICAP3_IC3CON.setON; inline;
  12059. begin
  12060. pTDefRegMap(@Self)^.&set := $00008000;
  12061. end;
  12062. procedure TICAP3_IC3CON.clearON; inline;
  12063. begin
  12064. pTDefRegMap(@Self)^.clr := $00008000;
  12065. end;
  12066. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12067. begin
  12068. if thebits = 0 then
  12069. pTDefRegMap(@Self)^.clr := $00008000
  12070. else
  12071. pTDefRegMap(@Self)^.&set := $00008000;
  12072. end;
  12073. function TICAP3_IC3CON.getON : TBits_1; inline;
  12074. begin
  12075. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12076. end;
  12077. procedure TICAP3_IC3CON.setICM0; inline;
  12078. begin
  12079. pTDefRegMap(@Self)^.&set := $00000001;
  12080. end;
  12081. procedure TICAP3_IC3CON.clearICM0; inline;
  12082. begin
  12083. pTDefRegMap(@Self)^.clr := $00000001;
  12084. end;
  12085. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12086. begin
  12087. if thebits = 0 then
  12088. pTDefRegMap(@Self)^.clr := $00000001
  12089. else
  12090. pTDefRegMap(@Self)^.&set := $00000001;
  12091. end;
  12092. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12093. begin
  12094. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12095. end;
  12096. procedure TICAP3_IC3CON.setICM1; inline;
  12097. begin
  12098. pTDefRegMap(@Self)^.&set := $00000002;
  12099. end;
  12100. procedure TICAP3_IC3CON.clearICM1; inline;
  12101. begin
  12102. pTDefRegMap(@Self)^.clr := $00000002;
  12103. end;
  12104. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12105. begin
  12106. if thebits = 0 then
  12107. pTDefRegMap(@Self)^.clr := $00000002
  12108. else
  12109. pTDefRegMap(@Self)^.&set := $00000002;
  12110. end;
  12111. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12112. begin
  12113. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12114. end;
  12115. procedure TICAP3_IC3CON.setICM2; inline;
  12116. begin
  12117. pTDefRegMap(@Self)^.&set := $00000004;
  12118. end;
  12119. procedure TICAP3_IC3CON.clearICM2; inline;
  12120. begin
  12121. pTDefRegMap(@Self)^.clr := $00000004;
  12122. end;
  12123. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12124. begin
  12125. if thebits = 0 then
  12126. pTDefRegMap(@Self)^.clr := $00000004
  12127. else
  12128. pTDefRegMap(@Self)^.&set := $00000004;
  12129. end;
  12130. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12131. begin
  12132. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12133. end;
  12134. procedure TICAP3_IC3CON.setICI0; inline;
  12135. begin
  12136. pTDefRegMap(@Self)^.&set := $00000020;
  12137. end;
  12138. procedure TICAP3_IC3CON.clearICI0; inline;
  12139. begin
  12140. pTDefRegMap(@Self)^.clr := $00000020;
  12141. end;
  12142. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12143. begin
  12144. if thebits = 0 then
  12145. pTDefRegMap(@Self)^.clr := $00000020
  12146. else
  12147. pTDefRegMap(@Self)^.&set := $00000020;
  12148. end;
  12149. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12150. begin
  12151. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12152. end;
  12153. procedure TICAP3_IC3CON.setICI1; inline;
  12154. begin
  12155. pTDefRegMap(@Self)^.&set := $00000040;
  12156. end;
  12157. procedure TICAP3_IC3CON.clearICI1; inline;
  12158. begin
  12159. pTDefRegMap(@Self)^.clr := $00000040;
  12160. end;
  12161. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12162. begin
  12163. if thebits = 0 then
  12164. pTDefRegMap(@Self)^.clr := $00000040
  12165. else
  12166. pTDefRegMap(@Self)^.&set := $00000040;
  12167. end;
  12168. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12169. begin
  12170. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12171. end;
  12172. procedure TICAP3_IC3CON.setICSIDL; inline;
  12173. begin
  12174. pTDefRegMap(@Self)^.&set := $00002000;
  12175. end;
  12176. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12177. begin
  12178. pTDefRegMap(@Self)^.clr := $00002000;
  12179. end;
  12180. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12181. begin
  12182. if thebits = 0 then
  12183. pTDefRegMap(@Self)^.clr := $00002000
  12184. else
  12185. pTDefRegMap(@Self)^.&set := $00002000;
  12186. end;
  12187. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12188. begin
  12189. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12190. end;
  12191. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12192. begin
  12193. pTDefRegMap(@Self)^.val := thebits;
  12194. end;
  12195. function TICAP3_IC3CON.getw : TBits_32; inline;
  12196. begin
  12197. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12198. end;
  12199. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12200. begin
  12201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12202. end;
  12203. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12204. begin
  12205. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12206. end;
  12207. procedure TICAP4_IC4CON.setICBNE; inline;
  12208. begin
  12209. pTDefRegMap(@Self)^.&set := $00000008;
  12210. end;
  12211. procedure TICAP4_IC4CON.clearICBNE; inline;
  12212. begin
  12213. pTDefRegMap(@Self)^.clr := $00000008;
  12214. end;
  12215. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12216. begin
  12217. if thebits = 0 then
  12218. pTDefRegMap(@Self)^.clr := $00000008
  12219. else
  12220. pTDefRegMap(@Self)^.&set := $00000008;
  12221. end;
  12222. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12223. begin
  12224. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12225. end;
  12226. procedure TICAP4_IC4CON.setICOV; inline;
  12227. begin
  12228. pTDefRegMap(@Self)^.&set := $00000010;
  12229. end;
  12230. procedure TICAP4_IC4CON.clearICOV; inline;
  12231. begin
  12232. pTDefRegMap(@Self)^.clr := $00000010;
  12233. end;
  12234. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12235. begin
  12236. if thebits = 0 then
  12237. pTDefRegMap(@Self)^.clr := $00000010
  12238. else
  12239. pTDefRegMap(@Self)^.&set := $00000010;
  12240. end;
  12241. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12242. begin
  12243. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12244. end;
  12245. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12246. begin
  12247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12248. end;
  12249. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12250. begin
  12251. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12252. end;
  12253. procedure TICAP4_IC4CON.setICTMR; inline;
  12254. begin
  12255. pTDefRegMap(@Self)^.&set := $00000080;
  12256. end;
  12257. procedure TICAP4_IC4CON.clearICTMR; inline;
  12258. begin
  12259. pTDefRegMap(@Self)^.clr := $00000080;
  12260. end;
  12261. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12262. begin
  12263. if thebits = 0 then
  12264. pTDefRegMap(@Self)^.clr := $00000080
  12265. else
  12266. pTDefRegMap(@Self)^.&set := $00000080;
  12267. end;
  12268. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12269. begin
  12270. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12271. end;
  12272. procedure TICAP4_IC4CON.setC32; inline;
  12273. begin
  12274. pTDefRegMap(@Self)^.&set := $00000100;
  12275. end;
  12276. procedure TICAP4_IC4CON.clearC32; inline;
  12277. begin
  12278. pTDefRegMap(@Self)^.clr := $00000100;
  12279. end;
  12280. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12281. begin
  12282. if thebits = 0 then
  12283. pTDefRegMap(@Self)^.clr := $00000100
  12284. else
  12285. pTDefRegMap(@Self)^.&set := $00000100;
  12286. end;
  12287. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12288. begin
  12289. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12290. end;
  12291. procedure TICAP4_IC4CON.setFEDGE; inline;
  12292. begin
  12293. pTDefRegMap(@Self)^.&set := $00000200;
  12294. end;
  12295. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12296. begin
  12297. pTDefRegMap(@Self)^.clr := $00000200;
  12298. end;
  12299. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12300. begin
  12301. if thebits = 0 then
  12302. pTDefRegMap(@Self)^.clr := $00000200
  12303. else
  12304. pTDefRegMap(@Self)^.&set := $00000200;
  12305. end;
  12306. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12307. begin
  12308. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12309. end;
  12310. procedure TICAP4_IC4CON.setSIDL; inline;
  12311. begin
  12312. pTDefRegMap(@Self)^.&set := $00002000;
  12313. end;
  12314. procedure TICAP4_IC4CON.clearSIDL; inline;
  12315. begin
  12316. pTDefRegMap(@Self)^.clr := $00002000;
  12317. end;
  12318. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12319. begin
  12320. if thebits = 0 then
  12321. pTDefRegMap(@Self)^.clr := $00002000
  12322. else
  12323. pTDefRegMap(@Self)^.&set := $00002000;
  12324. end;
  12325. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12326. begin
  12327. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12328. end;
  12329. procedure TICAP4_IC4CON.setON; inline;
  12330. begin
  12331. pTDefRegMap(@Self)^.&set := $00008000;
  12332. end;
  12333. procedure TICAP4_IC4CON.clearON; inline;
  12334. begin
  12335. pTDefRegMap(@Self)^.clr := $00008000;
  12336. end;
  12337. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12338. begin
  12339. if thebits = 0 then
  12340. pTDefRegMap(@Self)^.clr := $00008000
  12341. else
  12342. pTDefRegMap(@Self)^.&set := $00008000;
  12343. end;
  12344. function TICAP4_IC4CON.getON : TBits_1; inline;
  12345. begin
  12346. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12347. end;
  12348. procedure TICAP4_IC4CON.setICM0; inline;
  12349. begin
  12350. pTDefRegMap(@Self)^.&set := $00000001;
  12351. end;
  12352. procedure TICAP4_IC4CON.clearICM0; inline;
  12353. begin
  12354. pTDefRegMap(@Self)^.clr := $00000001;
  12355. end;
  12356. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12357. begin
  12358. if thebits = 0 then
  12359. pTDefRegMap(@Self)^.clr := $00000001
  12360. else
  12361. pTDefRegMap(@Self)^.&set := $00000001;
  12362. end;
  12363. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12364. begin
  12365. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12366. end;
  12367. procedure TICAP4_IC4CON.setICM1; inline;
  12368. begin
  12369. pTDefRegMap(@Self)^.&set := $00000002;
  12370. end;
  12371. procedure TICAP4_IC4CON.clearICM1; inline;
  12372. begin
  12373. pTDefRegMap(@Self)^.clr := $00000002;
  12374. end;
  12375. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12376. begin
  12377. if thebits = 0 then
  12378. pTDefRegMap(@Self)^.clr := $00000002
  12379. else
  12380. pTDefRegMap(@Self)^.&set := $00000002;
  12381. end;
  12382. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12383. begin
  12384. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12385. end;
  12386. procedure TICAP4_IC4CON.setICM2; inline;
  12387. begin
  12388. pTDefRegMap(@Self)^.&set := $00000004;
  12389. end;
  12390. procedure TICAP4_IC4CON.clearICM2; inline;
  12391. begin
  12392. pTDefRegMap(@Self)^.clr := $00000004;
  12393. end;
  12394. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12395. begin
  12396. if thebits = 0 then
  12397. pTDefRegMap(@Self)^.clr := $00000004
  12398. else
  12399. pTDefRegMap(@Self)^.&set := $00000004;
  12400. end;
  12401. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12402. begin
  12403. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12404. end;
  12405. procedure TICAP4_IC4CON.setICI0; inline;
  12406. begin
  12407. pTDefRegMap(@Self)^.&set := $00000020;
  12408. end;
  12409. procedure TICAP4_IC4CON.clearICI0; inline;
  12410. begin
  12411. pTDefRegMap(@Self)^.clr := $00000020;
  12412. end;
  12413. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12414. begin
  12415. if thebits = 0 then
  12416. pTDefRegMap(@Self)^.clr := $00000020
  12417. else
  12418. pTDefRegMap(@Self)^.&set := $00000020;
  12419. end;
  12420. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12421. begin
  12422. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12423. end;
  12424. procedure TICAP4_IC4CON.setICI1; inline;
  12425. begin
  12426. pTDefRegMap(@Self)^.&set := $00000040;
  12427. end;
  12428. procedure TICAP4_IC4CON.clearICI1; inline;
  12429. begin
  12430. pTDefRegMap(@Self)^.clr := $00000040;
  12431. end;
  12432. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12433. begin
  12434. if thebits = 0 then
  12435. pTDefRegMap(@Self)^.clr := $00000040
  12436. else
  12437. pTDefRegMap(@Self)^.&set := $00000040;
  12438. end;
  12439. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12440. begin
  12441. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12442. end;
  12443. procedure TICAP4_IC4CON.setICSIDL; inline;
  12444. begin
  12445. pTDefRegMap(@Self)^.&set := $00002000;
  12446. end;
  12447. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12448. begin
  12449. pTDefRegMap(@Self)^.clr := $00002000;
  12450. end;
  12451. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12452. begin
  12453. if thebits = 0 then
  12454. pTDefRegMap(@Self)^.clr := $00002000
  12455. else
  12456. pTDefRegMap(@Self)^.&set := $00002000;
  12457. end;
  12458. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12459. begin
  12460. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12461. end;
  12462. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12463. begin
  12464. pTDefRegMap(@Self)^.val := thebits;
  12465. end;
  12466. function TICAP4_IC4CON.getw : TBits_32; inline;
  12467. begin
  12468. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12469. end;
  12470. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12471. begin
  12472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12473. end;
  12474. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12475. begin
  12476. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12477. end;
  12478. procedure TICAP5_IC5CON.setICBNE; inline;
  12479. begin
  12480. pTDefRegMap(@Self)^.&set := $00000008;
  12481. end;
  12482. procedure TICAP5_IC5CON.clearICBNE; inline;
  12483. begin
  12484. pTDefRegMap(@Self)^.clr := $00000008;
  12485. end;
  12486. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12487. begin
  12488. if thebits = 0 then
  12489. pTDefRegMap(@Self)^.clr := $00000008
  12490. else
  12491. pTDefRegMap(@Self)^.&set := $00000008;
  12492. end;
  12493. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12494. begin
  12495. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12496. end;
  12497. procedure TICAP5_IC5CON.setICOV; inline;
  12498. begin
  12499. pTDefRegMap(@Self)^.&set := $00000010;
  12500. end;
  12501. procedure TICAP5_IC5CON.clearICOV; inline;
  12502. begin
  12503. pTDefRegMap(@Self)^.clr := $00000010;
  12504. end;
  12505. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12506. begin
  12507. if thebits = 0 then
  12508. pTDefRegMap(@Self)^.clr := $00000010
  12509. else
  12510. pTDefRegMap(@Self)^.&set := $00000010;
  12511. end;
  12512. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12513. begin
  12514. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12515. end;
  12516. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12517. begin
  12518. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12519. end;
  12520. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12521. begin
  12522. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12523. end;
  12524. procedure TICAP5_IC5CON.setICTMR; inline;
  12525. begin
  12526. pTDefRegMap(@Self)^.&set := $00000080;
  12527. end;
  12528. procedure TICAP5_IC5CON.clearICTMR; inline;
  12529. begin
  12530. pTDefRegMap(@Self)^.clr := $00000080;
  12531. end;
  12532. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12533. begin
  12534. if thebits = 0 then
  12535. pTDefRegMap(@Self)^.clr := $00000080
  12536. else
  12537. pTDefRegMap(@Self)^.&set := $00000080;
  12538. end;
  12539. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12540. begin
  12541. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12542. end;
  12543. procedure TICAP5_IC5CON.setC32; inline;
  12544. begin
  12545. pTDefRegMap(@Self)^.&set := $00000100;
  12546. end;
  12547. procedure TICAP5_IC5CON.clearC32; inline;
  12548. begin
  12549. pTDefRegMap(@Self)^.clr := $00000100;
  12550. end;
  12551. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12552. begin
  12553. if thebits = 0 then
  12554. pTDefRegMap(@Self)^.clr := $00000100
  12555. else
  12556. pTDefRegMap(@Self)^.&set := $00000100;
  12557. end;
  12558. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12559. begin
  12560. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12561. end;
  12562. procedure TICAP5_IC5CON.setFEDGE; inline;
  12563. begin
  12564. pTDefRegMap(@Self)^.&set := $00000200;
  12565. end;
  12566. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12567. begin
  12568. pTDefRegMap(@Self)^.clr := $00000200;
  12569. end;
  12570. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12571. begin
  12572. if thebits = 0 then
  12573. pTDefRegMap(@Self)^.clr := $00000200
  12574. else
  12575. pTDefRegMap(@Self)^.&set := $00000200;
  12576. end;
  12577. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12578. begin
  12579. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12580. end;
  12581. procedure TICAP5_IC5CON.setSIDL; inline;
  12582. begin
  12583. pTDefRegMap(@Self)^.&set := $00002000;
  12584. end;
  12585. procedure TICAP5_IC5CON.clearSIDL; inline;
  12586. begin
  12587. pTDefRegMap(@Self)^.clr := $00002000;
  12588. end;
  12589. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12590. begin
  12591. if thebits = 0 then
  12592. pTDefRegMap(@Self)^.clr := $00002000
  12593. else
  12594. pTDefRegMap(@Self)^.&set := $00002000;
  12595. end;
  12596. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12597. begin
  12598. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12599. end;
  12600. procedure TICAP5_IC5CON.setON; inline;
  12601. begin
  12602. pTDefRegMap(@Self)^.&set := $00008000;
  12603. end;
  12604. procedure TICAP5_IC5CON.clearON; inline;
  12605. begin
  12606. pTDefRegMap(@Self)^.clr := $00008000;
  12607. end;
  12608. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12609. begin
  12610. if thebits = 0 then
  12611. pTDefRegMap(@Self)^.clr := $00008000
  12612. else
  12613. pTDefRegMap(@Self)^.&set := $00008000;
  12614. end;
  12615. function TICAP5_IC5CON.getON : TBits_1; inline;
  12616. begin
  12617. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12618. end;
  12619. procedure TICAP5_IC5CON.setICM0; inline;
  12620. begin
  12621. pTDefRegMap(@Self)^.&set := $00000001;
  12622. end;
  12623. procedure TICAP5_IC5CON.clearICM0; inline;
  12624. begin
  12625. pTDefRegMap(@Self)^.clr := $00000001;
  12626. end;
  12627. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12628. begin
  12629. if thebits = 0 then
  12630. pTDefRegMap(@Self)^.clr := $00000001
  12631. else
  12632. pTDefRegMap(@Self)^.&set := $00000001;
  12633. end;
  12634. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12635. begin
  12636. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12637. end;
  12638. procedure TICAP5_IC5CON.setICM1; inline;
  12639. begin
  12640. pTDefRegMap(@Self)^.&set := $00000002;
  12641. end;
  12642. procedure TICAP5_IC5CON.clearICM1; inline;
  12643. begin
  12644. pTDefRegMap(@Self)^.clr := $00000002;
  12645. end;
  12646. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12647. begin
  12648. if thebits = 0 then
  12649. pTDefRegMap(@Self)^.clr := $00000002
  12650. else
  12651. pTDefRegMap(@Self)^.&set := $00000002;
  12652. end;
  12653. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12654. begin
  12655. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12656. end;
  12657. procedure TICAP5_IC5CON.setICM2; inline;
  12658. begin
  12659. pTDefRegMap(@Self)^.&set := $00000004;
  12660. end;
  12661. procedure TICAP5_IC5CON.clearICM2; inline;
  12662. begin
  12663. pTDefRegMap(@Self)^.clr := $00000004;
  12664. end;
  12665. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12666. begin
  12667. if thebits = 0 then
  12668. pTDefRegMap(@Self)^.clr := $00000004
  12669. else
  12670. pTDefRegMap(@Self)^.&set := $00000004;
  12671. end;
  12672. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12673. begin
  12674. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12675. end;
  12676. procedure TICAP5_IC5CON.setICI0; inline;
  12677. begin
  12678. pTDefRegMap(@Self)^.&set := $00000020;
  12679. end;
  12680. procedure TICAP5_IC5CON.clearICI0; inline;
  12681. begin
  12682. pTDefRegMap(@Self)^.clr := $00000020;
  12683. end;
  12684. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12685. begin
  12686. if thebits = 0 then
  12687. pTDefRegMap(@Self)^.clr := $00000020
  12688. else
  12689. pTDefRegMap(@Self)^.&set := $00000020;
  12690. end;
  12691. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12692. begin
  12693. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12694. end;
  12695. procedure TICAP5_IC5CON.setICI1; inline;
  12696. begin
  12697. pTDefRegMap(@Self)^.&set := $00000040;
  12698. end;
  12699. procedure TICAP5_IC5CON.clearICI1; inline;
  12700. begin
  12701. pTDefRegMap(@Self)^.clr := $00000040;
  12702. end;
  12703. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  12704. begin
  12705. if thebits = 0 then
  12706. pTDefRegMap(@Self)^.clr := $00000040
  12707. else
  12708. pTDefRegMap(@Self)^.&set := $00000040;
  12709. end;
  12710. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  12711. begin
  12712. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12713. end;
  12714. procedure TICAP5_IC5CON.setICSIDL; inline;
  12715. begin
  12716. pTDefRegMap(@Self)^.&set := $00002000;
  12717. end;
  12718. procedure TICAP5_IC5CON.clearICSIDL; inline;
  12719. begin
  12720. pTDefRegMap(@Self)^.clr := $00002000;
  12721. end;
  12722. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  12723. begin
  12724. if thebits = 0 then
  12725. pTDefRegMap(@Self)^.clr := $00002000
  12726. else
  12727. pTDefRegMap(@Self)^.&set := $00002000;
  12728. end;
  12729. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  12730. begin
  12731. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12732. end;
  12733. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  12734. begin
  12735. pTDefRegMap(@Self)^.val := thebits;
  12736. end;
  12737. function TICAP5_IC5CON.getw : TBits_32; inline;
  12738. begin
  12739. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12740. end;
  12741. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  12742. begin
  12743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12744. end;
  12745. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  12746. begin
  12747. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12748. end;
  12749. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  12750. begin
  12751. pTDefRegMap(@Self)^.&set := $00000008;
  12752. end;
  12753. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  12754. begin
  12755. pTDefRegMap(@Self)^.clr := $00000008;
  12756. end;
  12757. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  12758. begin
  12759. if thebits = 0 then
  12760. pTDefRegMap(@Self)^.clr := $00000008
  12761. else
  12762. pTDefRegMap(@Self)^.&set := $00000008;
  12763. end;
  12764. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  12765. begin
  12766. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12767. end;
  12768. procedure TOCMP1_OC1CON.setOCFLT; inline;
  12769. begin
  12770. pTDefRegMap(@Self)^.&set := $00000010;
  12771. end;
  12772. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  12773. begin
  12774. pTDefRegMap(@Self)^.clr := $00000010;
  12775. end;
  12776. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  12777. begin
  12778. if thebits = 0 then
  12779. pTDefRegMap(@Self)^.clr := $00000010
  12780. else
  12781. pTDefRegMap(@Self)^.&set := $00000010;
  12782. end;
  12783. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  12784. begin
  12785. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12786. end;
  12787. procedure TOCMP1_OC1CON.setOC32; inline;
  12788. begin
  12789. pTDefRegMap(@Self)^.&set := $00000020;
  12790. end;
  12791. procedure TOCMP1_OC1CON.clearOC32; inline;
  12792. begin
  12793. pTDefRegMap(@Self)^.clr := $00000020;
  12794. end;
  12795. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  12796. begin
  12797. if thebits = 0 then
  12798. pTDefRegMap(@Self)^.clr := $00000020
  12799. else
  12800. pTDefRegMap(@Self)^.&set := $00000020;
  12801. end;
  12802. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  12803. begin
  12804. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12805. end;
  12806. procedure TOCMP1_OC1CON.setSIDL; inline;
  12807. begin
  12808. pTDefRegMap(@Self)^.&set := $00002000;
  12809. end;
  12810. procedure TOCMP1_OC1CON.clearSIDL; inline;
  12811. begin
  12812. pTDefRegMap(@Self)^.clr := $00002000;
  12813. end;
  12814. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  12815. begin
  12816. if thebits = 0 then
  12817. pTDefRegMap(@Self)^.clr := $00002000
  12818. else
  12819. pTDefRegMap(@Self)^.&set := $00002000;
  12820. end;
  12821. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  12822. begin
  12823. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12824. end;
  12825. procedure TOCMP1_OC1CON.setON; inline;
  12826. begin
  12827. pTDefRegMap(@Self)^.&set := $00008000;
  12828. end;
  12829. procedure TOCMP1_OC1CON.clearON; inline;
  12830. begin
  12831. pTDefRegMap(@Self)^.clr := $00008000;
  12832. end;
  12833. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  12834. begin
  12835. if thebits = 0 then
  12836. pTDefRegMap(@Self)^.clr := $00008000
  12837. else
  12838. pTDefRegMap(@Self)^.&set := $00008000;
  12839. end;
  12840. function TOCMP1_OC1CON.getON : TBits_1; inline;
  12841. begin
  12842. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12843. end;
  12844. procedure TOCMP1_OC1CON.setOCM0; inline;
  12845. begin
  12846. pTDefRegMap(@Self)^.&set := $00000001;
  12847. end;
  12848. procedure TOCMP1_OC1CON.clearOCM0; inline;
  12849. begin
  12850. pTDefRegMap(@Self)^.clr := $00000001;
  12851. end;
  12852. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  12853. begin
  12854. if thebits = 0 then
  12855. pTDefRegMap(@Self)^.clr := $00000001
  12856. else
  12857. pTDefRegMap(@Self)^.&set := $00000001;
  12858. end;
  12859. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  12860. begin
  12861. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12862. end;
  12863. procedure TOCMP1_OC1CON.setOCM1; inline;
  12864. begin
  12865. pTDefRegMap(@Self)^.&set := $00000002;
  12866. end;
  12867. procedure TOCMP1_OC1CON.clearOCM1; inline;
  12868. begin
  12869. pTDefRegMap(@Self)^.clr := $00000002;
  12870. end;
  12871. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  12872. begin
  12873. if thebits = 0 then
  12874. pTDefRegMap(@Self)^.clr := $00000002
  12875. else
  12876. pTDefRegMap(@Self)^.&set := $00000002;
  12877. end;
  12878. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  12879. begin
  12880. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12881. end;
  12882. procedure TOCMP1_OC1CON.setOCM2; inline;
  12883. begin
  12884. pTDefRegMap(@Self)^.&set := $00000004;
  12885. end;
  12886. procedure TOCMP1_OC1CON.clearOCM2; inline;
  12887. begin
  12888. pTDefRegMap(@Self)^.clr := $00000004;
  12889. end;
  12890. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  12891. begin
  12892. if thebits = 0 then
  12893. pTDefRegMap(@Self)^.clr := $00000004
  12894. else
  12895. pTDefRegMap(@Self)^.&set := $00000004;
  12896. end;
  12897. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  12898. begin
  12899. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12900. end;
  12901. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  12902. begin
  12903. pTDefRegMap(@Self)^.&set := $00002000;
  12904. end;
  12905. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  12906. begin
  12907. pTDefRegMap(@Self)^.clr := $00002000;
  12908. end;
  12909. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  12910. begin
  12911. if thebits = 0 then
  12912. pTDefRegMap(@Self)^.clr := $00002000
  12913. else
  12914. pTDefRegMap(@Self)^.&set := $00002000;
  12915. end;
  12916. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  12917. begin
  12918. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12919. end;
  12920. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  12921. begin
  12922. pTDefRegMap(@Self)^.val := thebits;
  12923. end;
  12924. function TOCMP1_OC1CON.getw : TBits_32; inline;
  12925. begin
  12926. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12927. end;
  12928. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  12929. begin
  12930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12931. end;
  12932. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  12933. begin
  12934. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12935. end;
  12936. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  12937. begin
  12938. pTDefRegMap(@Self)^.&set := $00000008;
  12939. end;
  12940. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  12941. begin
  12942. pTDefRegMap(@Self)^.clr := $00000008;
  12943. end;
  12944. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  12945. begin
  12946. if thebits = 0 then
  12947. pTDefRegMap(@Self)^.clr := $00000008
  12948. else
  12949. pTDefRegMap(@Self)^.&set := $00000008;
  12950. end;
  12951. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  12952. begin
  12953. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12954. end;
  12955. procedure TOCMP2_OC2CON.setOCFLT; inline;
  12956. begin
  12957. pTDefRegMap(@Self)^.&set := $00000010;
  12958. end;
  12959. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  12960. begin
  12961. pTDefRegMap(@Self)^.clr := $00000010;
  12962. end;
  12963. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  12964. begin
  12965. if thebits = 0 then
  12966. pTDefRegMap(@Self)^.clr := $00000010
  12967. else
  12968. pTDefRegMap(@Self)^.&set := $00000010;
  12969. end;
  12970. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  12971. begin
  12972. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12973. end;
  12974. procedure TOCMP2_OC2CON.setOC32; inline;
  12975. begin
  12976. pTDefRegMap(@Self)^.&set := $00000020;
  12977. end;
  12978. procedure TOCMP2_OC2CON.clearOC32; inline;
  12979. begin
  12980. pTDefRegMap(@Self)^.clr := $00000020;
  12981. end;
  12982. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  12983. begin
  12984. if thebits = 0 then
  12985. pTDefRegMap(@Self)^.clr := $00000020
  12986. else
  12987. pTDefRegMap(@Self)^.&set := $00000020;
  12988. end;
  12989. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  12990. begin
  12991. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12992. end;
  12993. procedure TOCMP2_OC2CON.setSIDL; inline;
  12994. begin
  12995. pTDefRegMap(@Self)^.&set := $00002000;
  12996. end;
  12997. procedure TOCMP2_OC2CON.clearSIDL; inline;
  12998. begin
  12999. pTDefRegMap(@Self)^.clr := $00002000;
  13000. end;
  13001. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13002. begin
  13003. if thebits = 0 then
  13004. pTDefRegMap(@Self)^.clr := $00002000
  13005. else
  13006. pTDefRegMap(@Self)^.&set := $00002000;
  13007. end;
  13008. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13009. begin
  13010. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13011. end;
  13012. procedure TOCMP2_OC2CON.setON; inline;
  13013. begin
  13014. pTDefRegMap(@Self)^.&set := $00008000;
  13015. end;
  13016. procedure TOCMP2_OC2CON.clearON; inline;
  13017. begin
  13018. pTDefRegMap(@Self)^.clr := $00008000;
  13019. end;
  13020. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13021. begin
  13022. if thebits = 0 then
  13023. pTDefRegMap(@Self)^.clr := $00008000
  13024. else
  13025. pTDefRegMap(@Self)^.&set := $00008000;
  13026. end;
  13027. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13028. begin
  13029. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13030. end;
  13031. procedure TOCMP2_OC2CON.setOCM0; inline;
  13032. begin
  13033. pTDefRegMap(@Self)^.&set := $00000001;
  13034. end;
  13035. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13036. begin
  13037. pTDefRegMap(@Self)^.clr := $00000001;
  13038. end;
  13039. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13040. begin
  13041. if thebits = 0 then
  13042. pTDefRegMap(@Self)^.clr := $00000001
  13043. else
  13044. pTDefRegMap(@Self)^.&set := $00000001;
  13045. end;
  13046. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13047. begin
  13048. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13049. end;
  13050. procedure TOCMP2_OC2CON.setOCM1; inline;
  13051. begin
  13052. pTDefRegMap(@Self)^.&set := $00000002;
  13053. end;
  13054. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13055. begin
  13056. pTDefRegMap(@Self)^.clr := $00000002;
  13057. end;
  13058. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13059. begin
  13060. if thebits = 0 then
  13061. pTDefRegMap(@Self)^.clr := $00000002
  13062. else
  13063. pTDefRegMap(@Self)^.&set := $00000002;
  13064. end;
  13065. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13066. begin
  13067. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13068. end;
  13069. procedure TOCMP2_OC2CON.setOCM2; inline;
  13070. begin
  13071. pTDefRegMap(@Self)^.&set := $00000004;
  13072. end;
  13073. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13074. begin
  13075. pTDefRegMap(@Self)^.clr := $00000004;
  13076. end;
  13077. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13078. begin
  13079. if thebits = 0 then
  13080. pTDefRegMap(@Self)^.clr := $00000004
  13081. else
  13082. pTDefRegMap(@Self)^.&set := $00000004;
  13083. end;
  13084. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13085. begin
  13086. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13087. end;
  13088. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13089. begin
  13090. pTDefRegMap(@Self)^.&set := $00002000;
  13091. end;
  13092. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13093. begin
  13094. pTDefRegMap(@Self)^.clr := $00002000;
  13095. end;
  13096. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13097. begin
  13098. if thebits = 0 then
  13099. pTDefRegMap(@Self)^.clr := $00002000
  13100. else
  13101. pTDefRegMap(@Self)^.&set := $00002000;
  13102. end;
  13103. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13104. begin
  13105. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13106. end;
  13107. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13108. begin
  13109. pTDefRegMap(@Self)^.val := thebits;
  13110. end;
  13111. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13112. begin
  13113. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13114. end;
  13115. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13116. begin
  13117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13118. end;
  13119. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13120. begin
  13121. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13122. end;
  13123. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13124. begin
  13125. pTDefRegMap(@Self)^.&set := $00000008;
  13126. end;
  13127. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13128. begin
  13129. pTDefRegMap(@Self)^.clr := $00000008;
  13130. end;
  13131. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13132. begin
  13133. if thebits = 0 then
  13134. pTDefRegMap(@Self)^.clr := $00000008
  13135. else
  13136. pTDefRegMap(@Self)^.&set := $00000008;
  13137. end;
  13138. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13139. begin
  13140. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13141. end;
  13142. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13143. begin
  13144. pTDefRegMap(@Self)^.&set := $00000010;
  13145. end;
  13146. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13147. begin
  13148. pTDefRegMap(@Self)^.clr := $00000010;
  13149. end;
  13150. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13151. begin
  13152. if thebits = 0 then
  13153. pTDefRegMap(@Self)^.clr := $00000010
  13154. else
  13155. pTDefRegMap(@Self)^.&set := $00000010;
  13156. end;
  13157. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13158. begin
  13159. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13160. end;
  13161. procedure TOCMP3_OC3CON.setOC32; inline;
  13162. begin
  13163. pTDefRegMap(@Self)^.&set := $00000020;
  13164. end;
  13165. procedure TOCMP3_OC3CON.clearOC32; inline;
  13166. begin
  13167. pTDefRegMap(@Self)^.clr := $00000020;
  13168. end;
  13169. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13170. begin
  13171. if thebits = 0 then
  13172. pTDefRegMap(@Self)^.clr := $00000020
  13173. else
  13174. pTDefRegMap(@Self)^.&set := $00000020;
  13175. end;
  13176. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13177. begin
  13178. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13179. end;
  13180. procedure TOCMP3_OC3CON.setSIDL; inline;
  13181. begin
  13182. pTDefRegMap(@Self)^.&set := $00002000;
  13183. end;
  13184. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13185. begin
  13186. pTDefRegMap(@Self)^.clr := $00002000;
  13187. end;
  13188. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13189. begin
  13190. if thebits = 0 then
  13191. pTDefRegMap(@Self)^.clr := $00002000
  13192. else
  13193. pTDefRegMap(@Self)^.&set := $00002000;
  13194. end;
  13195. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13196. begin
  13197. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13198. end;
  13199. procedure TOCMP3_OC3CON.setON; inline;
  13200. begin
  13201. pTDefRegMap(@Self)^.&set := $00008000;
  13202. end;
  13203. procedure TOCMP3_OC3CON.clearON; inline;
  13204. begin
  13205. pTDefRegMap(@Self)^.clr := $00008000;
  13206. end;
  13207. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13208. begin
  13209. if thebits = 0 then
  13210. pTDefRegMap(@Self)^.clr := $00008000
  13211. else
  13212. pTDefRegMap(@Self)^.&set := $00008000;
  13213. end;
  13214. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13215. begin
  13216. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13217. end;
  13218. procedure TOCMP3_OC3CON.setOCM0; inline;
  13219. begin
  13220. pTDefRegMap(@Self)^.&set := $00000001;
  13221. end;
  13222. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13223. begin
  13224. pTDefRegMap(@Self)^.clr := $00000001;
  13225. end;
  13226. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13227. begin
  13228. if thebits = 0 then
  13229. pTDefRegMap(@Self)^.clr := $00000001
  13230. else
  13231. pTDefRegMap(@Self)^.&set := $00000001;
  13232. end;
  13233. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13234. begin
  13235. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13236. end;
  13237. procedure TOCMP3_OC3CON.setOCM1; inline;
  13238. begin
  13239. pTDefRegMap(@Self)^.&set := $00000002;
  13240. end;
  13241. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13242. begin
  13243. pTDefRegMap(@Self)^.clr := $00000002;
  13244. end;
  13245. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13246. begin
  13247. if thebits = 0 then
  13248. pTDefRegMap(@Self)^.clr := $00000002
  13249. else
  13250. pTDefRegMap(@Self)^.&set := $00000002;
  13251. end;
  13252. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13253. begin
  13254. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13255. end;
  13256. procedure TOCMP3_OC3CON.setOCM2; inline;
  13257. begin
  13258. pTDefRegMap(@Self)^.&set := $00000004;
  13259. end;
  13260. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13261. begin
  13262. pTDefRegMap(@Self)^.clr := $00000004;
  13263. end;
  13264. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13265. begin
  13266. if thebits = 0 then
  13267. pTDefRegMap(@Self)^.clr := $00000004
  13268. else
  13269. pTDefRegMap(@Self)^.&set := $00000004;
  13270. end;
  13271. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13272. begin
  13273. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13274. end;
  13275. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13276. begin
  13277. pTDefRegMap(@Self)^.&set := $00002000;
  13278. end;
  13279. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13280. begin
  13281. pTDefRegMap(@Self)^.clr := $00002000;
  13282. end;
  13283. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13284. begin
  13285. if thebits = 0 then
  13286. pTDefRegMap(@Self)^.clr := $00002000
  13287. else
  13288. pTDefRegMap(@Self)^.&set := $00002000;
  13289. end;
  13290. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13291. begin
  13292. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13293. end;
  13294. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13295. begin
  13296. pTDefRegMap(@Self)^.val := thebits;
  13297. end;
  13298. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13299. begin
  13300. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13301. end;
  13302. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13303. begin
  13304. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13305. end;
  13306. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13307. begin
  13308. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13309. end;
  13310. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13311. begin
  13312. pTDefRegMap(@Self)^.&set := $00000008;
  13313. end;
  13314. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13315. begin
  13316. pTDefRegMap(@Self)^.clr := $00000008;
  13317. end;
  13318. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13319. begin
  13320. if thebits = 0 then
  13321. pTDefRegMap(@Self)^.clr := $00000008
  13322. else
  13323. pTDefRegMap(@Self)^.&set := $00000008;
  13324. end;
  13325. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13326. begin
  13327. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13328. end;
  13329. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13330. begin
  13331. pTDefRegMap(@Self)^.&set := $00000010;
  13332. end;
  13333. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13334. begin
  13335. pTDefRegMap(@Self)^.clr := $00000010;
  13336. end;
  13337. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13338. begin
  13339. if thebits = 0 then
  13340. pTDefRegMap(@Self)^.clr := $00000010
  13341. else
  13342. pTDefRegMap(@Self)^.&set := $00000010;
  13343. end;
  13344. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13345. begin
  13346. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13347. end;
  13348. procedure TOCMP4_OC4CON.setOC32; inline;
  13349. begin
  13350. pTDefRegMap(@Self)^.&set := $00000020;
  13351. end;
  13352. procedure TOCMP4_OC4CON.clearOC32; inline;
  13353. begin
  13354. pTDefRegMap(@Self)^.clr := $00000020;
  13355. end;
  13356. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13357. begin
  13358. if thebits = 0 then
  13359. pTDefRegMap(@Self)^.clr := $00000020
  13360. else
  13361. pTDefRegMap(@Self)^.&set := $00000020;
  13362. end;
  13363. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13364. begin
  13365. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13366. end;
  13367. procedure TOCMP4_OC4CON.setSIDL; inline;
  13368. begin
  13369. pTDefRegMap(@Self)^.&set := $00002000;
  13370. end;
  13371. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13372. begin
  13373. pTDefRegMap(@Self)^.clr := $00002000;
  13374. end;
  13375. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13376. begin
  13377. if thebits = 0 then
  13378. pTDefRegMap(@Self)^.clr := $00002000
  13379. else
  13380. pTDefRegMap(@Self)^.&set := $00002000;
  13381. end;
  13382. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13383. begin
  13384. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13385. end;
  13386. procedure TOCMP4_OC4CON.setON; inline;
  13387. begin
  13388. pTDefRegMap(@Self)^.&set := $00008000;
  13389. end;
  13390. procedure TOCMP4_OC4CON.clearON; inline;
  13391. begin
  13392. pTDefRegMap(@Self)^.clr := $00008000;
  13393. end;
  13394. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13395. begin
  13396. if thebits = 0 then
  13397. pTDefRegMap(@Self)^.clr := $00008000
  13398. else
  13399. pTDefRegMap(@Self)^.&set := $00008000;
  13400. end;
  13401. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13402. begin
  13403. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13404. end;
  13405. procedure TOCMP4_OC4CON.setOCM0; inline;
  13406. begin
  13407. pTDefRegMap(@Self)^.&set := $00000001;
  13408. end;
  13409. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13410. begin
  13411. pTDefRegMap(@Self)^.clr := $00000001;
  13412. end;
  13413. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13414. begin
  13415. if thebits = 0 then
  13416. pTDefRegMap(@Self)^.clr := $00000001
  13417. else
  13418. pTDefRegMap(@Self)^.&set := $00000001;
  13419. end;
  13420. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13421. begin
  13422. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13423. end;
  13424. procedure TOCMP4_OC4CON.setOCM1; inline;
  13425. begin
  13426. pTDefRegMap(@Self)^.&set := $00000002;
  13427. end;
  13428. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13429. begin
  13430. pTDefRegMap(@Self)^.clr := $00000002;
  13431. end;
  13432. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13433. begin
  13434. if thebits = 0 then
  13435. pTDefRegMap(@Self)^.clr := $00000002
  13436. else
  13437. pTDefRegMap(@Self)^.&set := $00000002;
  13438. end;
  13439. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13440. begin
  13441. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13442. end;
  13443. procedure TOCMP4_OC4CON.setOCM2; inline;
  13444. begin
  13445. pTDefRegMap(@Self)^.&set := $00000004;
  13446. end;
  13447. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13448. begin
  13449. pTDefRegMap(@Self)^.clr := $00000004;
  13450. end;
  13451. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13452. begin
  13453. if thebits = 0 then
  13454. pTDefRegMap(@Self)^.clr := $00000004
  13455. else
  13456. pTDefRegMap(@Self)^.&set := $00000004;
  13457. end;
  13458. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13459. begin
  13460. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13461. end;
  13462. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13463. begin
  13464. pTDefRegMap(@Self)^.&set := $00002000;
  13465. end;
  13466. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13467. begin
  13468. pTDefRegMap(@Self)^.clr := $00002000;
  13469. end;
  13470. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13471. begin
  13472. if thebits = 0 then
  13473. pTDefRegMap(@Self)^.clr := $00002000
  13474. else
  13475. pTDefRegMap(@Self)^.&set := $00002000;
  13476. end;
  13477. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13478. begin
  13479. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13480. end;
  13481. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13482. begin
  13483. pTDefRegMap(@Self)^.val := thebits;
  13484. end;
  13485. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13486. begin
  13487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13488. end;
  13489. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13490. begin
  13491. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13492. end;
  13493. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13494. begin
  13495. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13496. end;
  13497. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13498. begin
  13499. pTDefRegMap(@Self)^.&set := $00000008;
  13500. end;
  13501. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13502. begin
  13503. pTDefRegMap(@Self)^.clr := $00000008;
  13504. end;
  13505. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13506. begin
  13507. if thebits = 0 then
  13508. pTDefRegMap(@Self)^.clr := $00000008
  13509. else
  13510. pTDefRegMap(@Self)^.&set := $00000008;
  13511. end;
  13512. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13513. begin
  13514. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13515. end;
  13516. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13517. begin
  13518. pTDefRegMap(@Self)^.&set := $00000010;
  13519. end;
  13520. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13521. begin
  13522. pTDefRegMap(@Self)^.clr := $00000010;
  13523. end;
  13524. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13525. begin
  13526. if thebits = 0 then
  13527. pTDefRegMap(@Self)^.clr := $00000010
  13528. else
  13529. pTDefRegMap(@Self)^.&set := $00000010;
  13530. end;
  13531. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13532. begin
  13533. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13534. end;
  13535. procedure TOCMP5_OC5CON.setOC32; inline;
  13536. begin
  13537. pTDefRegMap(@Self)^.&set := $00000020;
  13538. end;
  13539. procedure TOCMP5_OC5CON.clearOC32; inline;
  13540. begin
  13541. pTDefRegMap(@Self)^.clr := $00000020;
  13542. end;
  13543. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13544. begin
  13545. if thebits = 0 then
  13546. pTDefRegMap(@Self)^.clr := $00000020
  13547. else
  13548. pTDefRegMap(@Self)^.&set := $00000020;
  13549. end;
  13550. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13551. begin
  13552. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13553. end;
  13554. procedure TOCMP5_OC5CON.setSIDL; inline;
  13555. begin
  13556. pTDefRegMap(@Self)^.&set := $00002000;
  13557. end;
  13558. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13559. begin
  13560. pTDefRegMap(@Self)^.clr := $00002000;
  13561. end;
  13562. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13563. begin
  13564. if thebits = 0 then
  13565. pTDefRegMap(@Self)^.clr := $00002000
  13566. else
  13567. pTDefRegMap(@Self)^.&set := $00002000;
  13568. end;
  13569. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13570. begin
  13571. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13572. end;
  13573. procedure TOCMP5_OC5CON.setON; inline;
  13574. begin
  13575. pTDefRegMap(@Self)^.&set := $00008000;
  13576. end;
  13577. procedure TOCMP5_OC5CON.clearON; inline;
  13578. begin
  13579. pTDefRegMap(@Self)^.clr := $00008000;
  13580. end;
  13581. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13582. begin
  13583. if thebits = 0 then
  13584. pTDefRegMap(@Self)^.clr := $00008000
  13585. else
  13586. pTDefRegMap(@Self)^.&set := $00008000;
  13587. end;
  13588. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13589. begin
  13590. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13591. end;
  13592. procedure TOCMP5_OC5CON.setOCM0; inline;
  13593. begin
  13594. pTDefRegMap(@Self)^.&set := $00000001;
  13595. end;
  13596. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13597. begin
  13598. pTDefRegMap(@Self)^.clr := $00000001;
  13599. end;
  13600. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13601. begin
  13602. if thebits = 0 then
  13603. pTDefRegMap(@Self)^.clr := $00000001
  13604. else
  13605. pTDefRegMap(@Self)^.&set := $00000001;
  13606. end;
  13607. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13608. begin
  13609. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13610. end;
  13611. procedure TOCMP5_OC5CON.setOCM1; inline;
  13612. begin
  13613. pTDefRegMap(@Self)^.&set := $00000002;
  13614. end;
  13615. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13616. begin
  13617. pTDefRegMap(@Self)^.clr := $00000002;
  13618. end;
  13619. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13620. begin
  13621. if thebits = 0 then
  13622. pTDefRegMap(@Self)^.clr := $00000002
  13623. else
  13624. pTDefRegMap(@Self)^.&set := $00000002;
  13625. end;
  13626. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13627. begin
  13628. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13629. end;
  13630. procedure TOCMP5_OC5CON.setOCM2; inline;
  13631. begin
  13632. pTDefRegMap(@Self)^.&set := $00000004;
  13633. end;
  13634. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13635. begin
  13636. pTDefRegMap(@Self)^.clr := $00000004;
  13637. end;
  13638. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13639. begin
  13640. if thebits = 0 then
  13641. pTDefRegMap(@Self)^.clr := $00000004
  13642. else
  13643. pTDefRegMap(@Self)^.&set := $00000004;
  13644. end;
  13645. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13646. begin
  13647. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13648. end;
  13649. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13650. begin
  13651. pTDefRegMap(@Self)^.&set := $00002000;
  13652. end;
  13653. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13654. begin
  13655. pTDefRegMap(@Self)^.clr := $00002000;
  13656. end;
  13657. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13658. begin
  13659. if thebits = 0 then
  13660. pTDefRegMap(@Self)^.clr := $00002000
  13661. else
  13662. pTDefRegMap(@Self)^.&set := $00002000;
  13663. end;
  13664. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13665. begin
  13666. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13667. end;
  13668. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13669. begin
  13670. pTDefRegMap(@Self)^.val := thebits;
  13671. end;
  13672. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13673. begin
  13674. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13675. end;
  13676. procedure TI2C1_I2C1ACON.setSEN; inline;
  13677. begin
  13678. pTDefRegMap(@Self)^.&set := $00000001;
  13679. end;
  13680. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13681. begin
  13682. pTDefRegMap(@Self)^.clr := $00000001;
  13683. end;
  13684. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13685. begin
  13686. if thebits = 0 then
  13687. pTDefRegMap(@Self)^.clr := $00000001
  13688. else
  13689. pTDefRegMap(@Self)^.&set := $00000001;
  13690. end;
  13691. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13692. begin
  13693. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13694. end;
  13695. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13696. begin
  13697. pTDefRegMap(@Self)^.&set := $00000002;
  13698. end;
  13699. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13700. begin
  13701. pTDefRegMap(@Self)^.clr := $00000002;
  13702. end;
  13703. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  13704. begin
  13705. if thebits = 0 then
  13706. pTDefRegMap(@Self)^.clr := $00000002
  13707. else
  13708. pTDefRegMap(@Self)^.&set := $00000002;
  13709. end;
  13710. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  13711. begin
  13712. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13713. end;
  13714. procedure TI2C1_I2C1ACON.setPEN; inline;
  13715. begin
  13716. pTDefRegMap(@Self)^.&set := $00000004;
  13717. end;
  13718. procedure TI2C1_I2C1ACON.clearPEN; inline;
  13719. begin
  13720. pTDefRegMap(@Self)^.clr := $00000004;
  13721. end;
  13722. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  13723. begin
  13724. if thebits = 0 then
  13725. pTDefRegMap(@Self)^.clr := $00000004
  13726. else
  13727. pTDefRegMap(@Self)^.&set := $00000004;
  13728. end;
  13729. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  13730. begin
  13731. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13732. end;
  13733. procedure TI2C1_I2C1ACON.setRCEN; inline;
  13734. begin
  13735. pTDefRegMap(@Self)^.&set := $00000008;
  13736. end;
  13737. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  13738. begin
  13739. pTDefRegMap(@Self)^.clr := $00000008;
  13740. end;
  13741. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  13742. begin
  13743. if thebits = 0 then
  13744. pTDefRegMap(@Self)^.clr := $00000008
  13745. else
  13746. pTDefRegMap(@Self)^.&set := $00000008;
  13747. end;
  13748. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  13749. begin
  13750. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13751. end;
  13752. procedure TI2C1_I2C1ACON.setACKEN; inline;
  13753. begin
  13754. pTDefRegMap(@Self)^.&set := $00000010;
  13755. end;
  13756. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  13757. begin
  13758. pTDefRegMap(@Self)^.clr := $00000010;
  13759. end;
  13760. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  13761. begin
  13762. if thebits = 0 then
  13763. pTDefRegMap(@Self)^.clr := $00000010
  13764. else
  13765. pTDefRegMap(@Self)^.&set := $00000010;
  13766. end;
  13767. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  13768. begin
  13769. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13770. end;
  13771. procedure TI2C1_I2C1ACON.setACKDT; inline;
  13772. begin
  13773. pTDefRegMap(@Self)^.&set := $00000020;
  13774. end;
  13775. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  13776. begin
  13777. pTDefRegMap(@Self)^.clr := $00000020;
  13778. end;
  13779. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  13780. begin
  13781. if thebits = 0 then
  13782. pTDefRegMap(@Self)^.clr := $00000020
  13783. else
  13784. pTDefRegMap(@Self)^.&set := $00000020;
  13785. end;
  13786. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  13787. begin
  13788. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13789. end;
  13790. procedure TI2C1_I2C1ACON.setSTREN; inline;
  13791. begin
  13792. pTDefRegMap(@Self)^.&set := $00000040;
  13793. end;
  13794. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  13795. begin
  13796. pTDefRegMap(@Self)^.clr := $00000040;
  13797. end;
  13798. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  13799. begin
  13800. if thebits = 0 then
  13801. pTDefRegMap(@Self)^.clr := $00000040
  13802. else
  13803. pTDefRegMap(@Self)^.&set := $00000040;
  13804. end;
  13805. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  13806. begin
  13807. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13808. end;
  13809. procedure TI2C1_I2C1ACON.setGCEN; inline;
  13810. begin
  13811. pTDefRegMap(@Self)^.&set := $00000080;
  13812. end;
  13813. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  13814. begin
  13815. pTDefRegMap(@Self)^.clr := $00000080;
  13816. end;
  13817. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  13818. begin
  13819. if thebits = 0 then
  13820. pTDefRegMap(@Self)^.clr := $00000080
  13821. else
  13822. pTDefRegMap(@Self)^.&set := $00000080;
  13823. end;
  13824. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  13825. begin
  13826. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13827. end;
  13828. procedure TI2C1_I2C1ACON.setSMEN; inline;
  13829. begin
  13830. pTDefRegMap(@Self)^.&set := $00000100;
  13831. end;
  13832. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  13833. begin
  13834. pTDefRegMap(@Self)^.clr := $00000100;
  13835. end;
  13836. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  13837. begin
  13838. if thebits = 0 then
  13839. pTDefRegMap(@Self)^.clr := $00000100
  13840. else
  13841. pTDefRegMap(@Self)^.&set := $00000100;
  13842. end;
  13843. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  13844. begin
  13845. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13846. end;
  13847. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  13848. begin
  13849. pTDefRegMap(@Self)^.&set := $00000200;
  13850. end;
  13851. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  13852. begin
  13853. pTDefRegMap(@Self)^.clr := $00000200;
  13854. end;
  13855. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  13856. begin
  13857. if thebits = 0 then
  13858. pTDefRegMap(@Self)^.clr := $00000200
  13859. else
  13860. pTDefRegMap(@Self)^.&set := $00000200;
  13861. end;
  13862. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  13863. begin
  13864. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13865. end;
  13866. procedure TI2C1_I2C1ACON.setA10M; inline;
  13867. begin
  13868. pTDefRegMap(@Self)^.&set := $00000400;
  13869. end;
  13870. procedure TI2C1_I2C1ACON.clearA10M; inline;
  13871. begin
  13872. pTDefRegMap(@Self)^.clr := $00000400;
  13873. end;
  13874. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  13875. begin
  13876. if thebits = 0 then
  13877. pTDefRegMap(@Self)^.clr := $00000400
  13878. else
  13879. pTDefRegMap(@Self)^.&set := $00000400;
  13880. end;
  13881. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  13882. begin
  13883. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13884. end;
  13885. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  13886. begin
  13887. pTDefRegMap(@Self)^.&set := $00000800;
  13888. end;
  13889. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  13890. begin
  13891. pTDefRegMap(@Self)^.clr := $00000800;
  13892. end;
  13893. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  13894. begin
  13895. if thebits = 0 then
  13896. pTDefRegMap(@Self)^.clr := $00000800
  13897. else
  13898. pTDefRegMap(@Self)^.&set := $00000800;
  13899. end;
  13900. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  13901. begin
  13902. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13903. end;
  13904. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  13905. begin
  13906. pTDefRegMap(@Self)^.&set := $00001000;
  13907. end;
  13908. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  13909. begin
  13910. pTDefRegMap(@Self)^.clr := $00001000;
  13911. end;
  13912. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  13913. begin
  13914. if thebits = 0 then
  13915. pTDefRegMap(@Self)^.clr := $00001000
  13916. else
  13917. pTDefRegMap(@Self)^.&set := $00001000;
  13918. end;
  13919. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  13920. begin
  13921. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13922. end;
  13923. procedure TI2C1_I2C1ACON.setSIDL; inline;
  13924. begin
  13925. pTDefRegMap(@Self)^.&set := $00002000;
  13926. end;
  13927. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  13928. begin
  13929. pTDefRegMap(@Self)^.clr := $00002000;
  13930. end;
  13931. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  13932. begin
  13933. if thebits = 0 then
  13934. pTDefRegMap(@Self)^.clr := $00002000
  13935. else
  13936. pTDefRegMap(@Self)^.&set := $00002000;
  13937. end;
  13938. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  13939. begin
  13940. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13941. end;
  13942. procedure TI2C1_I2C1ACON.setON; inline;
  13943. begin
  13944. pTDefRegMap(@Self)^.&set := $00008000;
  13945. end;
  13946. procedure TI2C1_I2C1ACON.clearON; inline;
  13947. begin
  13948. pTDefRegMap(@Self)^.clr := $00008000;
  13949. end;
  13950. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  13951. begin
  13952. if thebits = 0 then
  13953. pTDefRegMap(@Self)^.clr := $00008000
  13954. else
  13955. pTDefRegMap(@Self)^.&set := $00008000;
  13956. end;
  13957. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  13958. begin
  13959. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13960. end;
  13961. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  13962. begin
  13963. pTDefRegMap(@Self)^.&set := $00000800;
  13964. end;
  13965. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  13966. begin
  13967. pTDefRegMap(@Self)^.clr := $00000800;
  13968. end;
  13969. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  13970. begin
  13971. if thebits = 0 then
  13972. pTDefRegMap(@Self)^.clr := $00000800
  13973. else
  13974. pTDefRegMap(@Self)^.&set := $00000800;
  13975. end;
  13976. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  13977. begin
  13978. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13979. end;
  13980. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  13981. begin
  13982. pTDefRegMap(@Self)^.&set := $00002000;
  13983. end;
  13984. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  13985. begin
  13986. pTDefRegMap(@Self)^.clr := $00002000;
  13987. end;
  13988. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  13989. begin
  13990. if thebits = 0 then
  13991. pTDefRegMap(@Self)^.clr := $00002000
  13992. else
  13993. pTDefRegMap(@Self)^.&set := $00002000;
  13994. end;
  13995. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  13996. begin
  13997. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13998. end;
  13999. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14000. begin
  14001. pTDefRegMap(@Self)^.&set := $00008000;
  14002. end;
  14003. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14004. begin
  14005. pTDefRegMap(@Self)^.clr := $00008000;
  14006. end;
  14007. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14008. begin
  14009. if thebits = 0 then
  14010. pTDefRegMap(@Self)^.clr := $00008000
  14011. else
  14012. pTDefRegMap(@Self)^.&set := $00008000;
  14013. end;
  14014. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14015. begin
  14016. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14017. end;
  14018. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14019. begin
  14020. pTDefRegMap(@Self)^.val := thebits;
  14021. end;
  14022. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14023. begin
  14024. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14025. end;
  14026. procedure TI2C1_I2C1CON.setSEN; inline;
  14027. begin
  14028. pTDefRegMap(@Self)^.&set := $00000001;
  14029. end;
  14030. procedure TI2C1_I2C1CON.clearSEN; inline;
  14031. begin
  14032. pTDefRegMap(@Self)^.clr := $00000001;
  14033. end;
  14034. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14035. begin
  14036. if thebits = 0 then
  14037. pTDefRegMap(@Self)^.clr := $00000001
  14038. else
  14039. pTDefRegMap(@Self)^.&set := $00000001;
  14040. end;
  14041. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14042. begin
  14043. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14044. end;
  14045. procedure TI2C1_I2C1CON.setRSEN; inline;
  14046. begin
  14047. pTDefRegMap(@Self)^.&set := $00000002;
  14048. end;
  14049. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14050. begin
  14051. pTDefRegMap(@Self)^.clr := $00000002;
  14052. end;
  14053. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14054. begin
  14055. if thebits = 0 then
  14056. pTDefRegMap(@Self)^.clr := $00000002
  14057. else
  14058. pTDefRegMap(@Self)^.&set := $00000002;
  14059. end;
  14060. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14061. begin
  14062. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14063. end;
  14064. procedure TI2C1_I2C1CON.setPEN; inline;
  14065. begin
  14066. pTDefRegMap(@Self)^.&set := $00000004;
  14067. end;
  14068. procedure TI2C1_I2C1CON.clearPEN; inline;
  14069. begin
  14070. pTDefRegMap(@Self)^.clr := $00000004;
  14071. end;
  14072. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14073. begin
  14074. if thebits = 0 then
  14075. pTDefRegMap(@Self)^.clr := $00000004
  14076. else
  14077. pTDefRegMap(@Self)^.&set := $00000004;
  14078. end;
  14079. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14080. begin
  14081. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14082. end;
  14083. procedure TI2C1_I2C1CON.setRCEN; inline;
  14084. begin
  14085. pTDefRegMap(@Self)^.&set := $00000008;
  14086. end;
  14087. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14088. begin
  14089. pTDefRegMap(@Self)^.clr := $00000008;
  14090. end;
  14091. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14092. begin
  14093. if thebits = 0 then
  14094. pTDefRegMap(@Self)^.clr := $00000008
  14095. else
  14096. pTDefRegMap(@Self)^.&set := $00000008;
  14097. end;
  14098. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14099. begin
  14100. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14101. end;
  14102. procedure TI2C1_I2C1CON.setACKEN; inline;
  14103. begin
  14104. pTDefRegMap(@Self)^.&set := $00000010;
  14105. end;
  14106. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14107. begin
  14108. pTDefRegMap(@Self)^.clr := $00000010;
  14109. end;
  14110. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14111. begin
  14112. if thebits = 0 then
  14113. pTDefRegMap(@Self)^.clr := $00000010
  14114. else
  14115. pTDefRegMap(@Self)^.&set := $00000010;
  14116. end;
  14117. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14118. begin
  14119. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14120. end;
  14121. procedure TI2C1_I2C1CON.setACKDT; inline;
  14122. begin
  14123. pTDefRegMap(@Self)^.&set := $00000020;
  14124. end;
  14125. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14126. begin
  14127. pTDefRegMap(@Self)^.clr := $00000020;
  14128. end;
  14129. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14130. begin
  14131. if thebits = 0 then
  14132. pTDefRegMap(@Self)^.clr := $00000020
  14133. else
  14134. pTDefRegMap(@Self)^.&set := $00000020;
  14135. end;
  14136. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14137. begin
  14138. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14139. end;
  14140. procedure TI2C1_I2C1CON.setSTREN; inline;
  14141. begin
  14142. pTDefRegMap(@Self)^.&set := $00000040;
  14143. end;
  14144. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14145. begin
  14146. pTDefRegMap(@Self)^.clr := $00000040;
  14147. end;
  14148. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14149. begin
  14150. if thebits = 0 then
  14151. pTDefRegMap(@Self)^.clr := $00000040
  14152. else
  14153. pTDefRegMap(@Self)^.&set := $00000040;
  14154. end;
  14155. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14156. begin
  14157. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14158. end;
  14159. procedure TI2C1_I2C1CON.setGCEN; inline;
  14160. begin
  14161. pTDefRegMap(@Self)^.&set := $00000080;
  14162. end;
  14163. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14164. begin
  14165. pTDefRegMap(@Self)^.clr := $00000080;
  14166. end;
  14167. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14168. begin
  14169. if thebits = 0 then
  14170. pTDefRegMap(@Self)^.clr := $00000080
  14171. else
  14172. pTDefRegMap(@Self)^.&set := $00000080;
  14173. end;
  14174. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14175. begin
  14176. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14177. end;
  14178. procedure TI2C1_I2C1CON.setSMEN; inline;
  14179. begin
  14180. pTDefRegMap(@Self)^.&set := $00000100;
  14181. end;
  14182. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14183. begin
  14184. pTDefRegMap(@Self)^.clr := $00000100;
  14185. end;
  14186. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14187. begin
  14188. if thebits = 0 then
  14189. pTDefRegMap(@Self)^.clr := $00000100
  14190. else
  14191. pTDefRegMap(@Self)^.&set := $00000100;
  14192. end;
  14193. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14194. begin
  14195. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14196. end;
  14197. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14198. begin
  14199. pTDefRegMap(@Self)^.&set := $00000200;
  14200. end;
  14201. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14202. begin
  14203. pTDefRegMap(@Self)^.clr := $00000200;
  14204. end;
  14205. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14206. begin
  14207. if thebits = 0 then
  14208. pTDefRegMap(@Self)^.clr := $00000200
  14209. else
  14210. pTDefRegMap(@Self)^.&set := $00000200;
  14211. end;
  14212. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14213. begin
  14214. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14215. end;
  14216. procedure TI2C1_I2C1CON.setA10M; inline;
  14217. begin
  14218. pTDefRegMap(@Self)^.&set := $00000400;
  14219. end;
  14220. procedure TI2C1_I2C1CON.clearA10M; inline;
  14221. begin
  14222. pTDefRegMap(@Self)^.clr := $00000400;
  14223. end;
  14224. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14225. begin
  14226. if thebits = 0 then
  14227. pTDefRegMap(@Self)^.clr := $00000400
  14228. else
  14229. pTDefRegMap(@Self)^.&set := $00000400;
  14230. end;
  14231. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14232. begin
  14233. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14234. end;
  14235. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14236. begin
  14237. pTDefRegMap(@Self)^.&set := $00000800;
  14238. end;
  14239. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14240. begin
  14241. pTDefRegMap(@Self)^.clr := $00000800;
  14242. end;
  14243. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14244. begin
  14245. if thebits = 0 then
  14246. pTDefRegMap(@Self)^.clr := $00000800
  14247. else
  14248. pTDefRegMap(@Self)^.&set := $00000800;
  14249. end;
  14250. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14251. begin
  14252. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14253. end;
  14254. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14255. begin
  14256. pTDefRegMap(@Self)^.&set := $00001000;
  14257. end;
  14258. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14259. begin
  14260. pTDefRegMap(@Self)^.clr := $00001000;
  14261. end;
  14262. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14263. begin
  14264. if thebits = 0 then
  14265. pTDefRegMap(@Self)^.clr := $00001000
  14266. else
  14267. pTDefRegMap(@Self)^.&set := $00001000;
  14268. end;
  14269. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14270. begin
  14271. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14272. end;
  14273. procedure TI2C1_I2C1CON.setSIDL; inline;
  14274. begin
  14275. pTDefRegMap(@Self)^.&set := $00002000;
  14276. end;
  14277. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14278. begin
  14279. pTDefRegMap(@Self)^.clr := $00002000;
  14280. end;
  14281. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14282. begin
  14283. if thebits = 0 then
  14284. pTDefRegMap(@Self)^.clr := $00002000
  14285. else
  14286. pTDefRegMap(@Self)^.&set := $00002000;
  14287. end;
  14288. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14289. begin
  14290. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14291. end;
  14292. procedure TI2C1_I2C1CON.setON; inline;
  14293. begin
  14294. pTDefRegMap(@Self)^.&set := $00008000;
  14295. end;
  14296. procedure TI2C1_I2C1CON.clearON; inline;
  14297. begin
  14298. pTDefRegMap(@Self)^.clr := $00008000;
  14299. end;
  14300. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14301. begin
  14302. if thebits = 0 then
  14303. pTDefRegMap(@Self)^.clr := $00008000
  14304. else
  14305. pTDefRegMap(@Self)^.&set := $00008000;
  14306. end;
  14307. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14308. begin
  14309. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14310. end;
  14311. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14312. begin
  14313. pTDefRegMap(@Self)^.&set := $00000800;
  14314. end;
  14315. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14316. begin
  14317. pTDefRegMap(@Self)^.clr := $00000800;
  14318. end;
  14319. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14320. begin
  14321. if thebits = 0 then
  14322. pTDefRegMap(@Self)^.clr := $00000800
  14323. else
  14324. pTDefRegMap(@Self)^.&set := $00000800;
  14325. end;
  14326. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14327. begin
  14328. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14329. end;
  14330. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14331. begin
  14332. pTDefRegMap(@Self)^.&set := $00002000;
  14333. end;
  14334. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14335. begin
  14336. pTDefRegMap(@Self)^.clr := $00002000;
  14337. end;
  14338. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14339. begin
  14340. if thebits = 0 then
  14341. pTDefRegMap(@Self)^.clr := $00002000
  14342. else
  14343. pTDefRegMap(@Self)^.&set := $00002000;
  14344. end;
  14345. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14346. begin
  14347. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14348. end;
  14349. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14350. begin
  14351. pTDefRegMap(@Self)^.&set := $00008000;
  14352. end;
  14353. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14354. begin
  14355. pTDefRegMap(@Self)^.clr := $00008000;
  14356. end;
  14357. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14358. begin
  14359. if thebits = 0 then
  14360. pTDefRegMap(@Self)^.clr := $00008000
  14361. else
  14362. pTDefRegMap(@Self)^.&set := $00008000;
  14363. end;
  14364. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14365. begin
  14366. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14367. end;
  14368. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14369. begin
  14370. pTDefRegMap(@Self)^.val := thebits;
  14371. end;
  14372. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14373. begin
  14374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14375. end;
  14376. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14377. begin
  14378. pTDefRegMap(@Self)^.&set := $00000001;
  14379. end;
  14380. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14381. begin
  14382. pTDefRegMap(@Self)^.clr := $00000001;
  14383. end;
  14384. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14385. begin
  14386. if thebits = 0 then
  14387. pTDefRegMap(@Self)^.clr := $00000001
  14388. else
  14389. pTDefRegMap(@Self)^.&set := $00000001;
  14390. end;
  14391. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14392. begin
  14393. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14394. end;
  14395. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14396. begin
  14397. pTDefRegMap(@Self)^.&set := $00000002;
  14398. end;
  14399. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14400. begin
  14401. pTDefRegMap(@Self)^.clr := $00000002;
  14402. end;
  14403. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14404. begin
  14405. if thebits = 0 then
  14406. pTDefRegMap(@Self)^.clr := $00000002
  14407. else
  14408. pTDefRegMap(@Self)^.&set := $00000002;
  14409. end;
  14410. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14411. begin
  14412. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14413. end;
  14414. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14415. begin
  14416. pTDefRegMap(@Self)^.&set := $00000004;
  14417. end;
  14418. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14419. begin
  14420. pTDefRegMap(@Self)^.clr := $00000004;
  14421. end;
  14422. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14423. begin
  14424. if thebits = 0 then
  14425. pTDefRegMap(@Self)^.clr := $00000004
  14426. else
  14427. pTDefRegMap(@Self)^.&set := $00000004;
  14428. end;
  14429. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14430. begin
  14431. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14432. end;
  14433. procedure TI2C1_I2C1ASTAT.setS; inline;
  14434. begin
  14435. pTDefRegMap(@Self)^.&set := $00000008;
  14436. end;
  14437. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14438. begin
  14439. pTDefRegMap(@Self)^.clr := $00000008;
  14440. end;
  14441. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14442. begin
  14443. if thebits = 0 then
  14444. pTDefRegMap(@Self)^.clr := $00000008
  14445. else
  14446. pTDefRegMap(@Self)^.&set := $00000008;
  14447. end;
  14448. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14449. begin
  14450. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14451. end;
  14452. procedure TI2C1_I2C1ASTAT.setP; inline;
  14453. begin
  14454. pTDefRegMap(@Self)^.&set := $00000010;
  14455. end;
  14456. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14457. begin
  14458. pTDefRegMap(@Self)^.clr := $00000010;
  14459. end;
  14460. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14461. begin
  14462. if thebits = 0 then
  14463. pTDefRegMap(@Self)^.clr := $00000010
  14464. else
  14465. pTDefRegMap(@Self)^.&set := $00000010;
  14466. end;
  14467. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14468. begin
  14469. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14470. end;
  14471. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14472. begin
  14473. pTDefRegMap(@Self)^.&set := $00000020;
  14474. end;
  14475. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14476. begin
  14477. pTDefRegMap(@Self)^.clr := $00000020;
  14478. end;
  14479. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14480. begin
  14481. if thebits = 0 then
  14482. pTDefRegMap(@Self)^.clr := $00000020
  14483. else
  14484. pTDefRegMap(@Self)^.&set := $00000020;
  14485. end;
  14486. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14487. begin
  14488. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14489. end;
  14490. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14491. begin
  14492. pTDefRegMap(@Self)^.&set := $00000040;
  14493. end;
  14494. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14495. begin
  14496. pTDefRegMap(@Self)^.clr := $00000040;
  14497. end;
  14498. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14499. begin
  14500. if thebits = 0 then
  14501. pTDefRegMap(@Self)^.clr := $00000040
  14502. else
  14503. pTDefRegMap(@Self)^.&set := $00000040;
  14504. end;
  14505. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14506. begin
  14507. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14508. end;
  14509. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14510. begin
  14511. pTDefRegMap(@Self)^.&set := $00000080;
  14512. end;
  14513. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14514. begin
  14515. pTDefRegMap(@Self)^.clr := $00000080;
  14516. end;
  14517. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14518. begin
  14519. if thebits = 0 then
  14520. pTDefRegMap(@Self)^.clr := $00000080
  14521. else
  14522. pTDefRegMap(@Self)^.&set := $00000080;
  14523. end;
  14524. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14525. begin
  14526. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14527. end;
  14528. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14529. begin
  14530. pTDefRegMap(@Self)^.&set := $00000100;
  14531. end;
  14532. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14533. begin
  14534. pTDefRegMap(@Self)^.clr := $00000100;
  14535. end;
  14536. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14537. begin
  14538. if thebits = 0 then
  14539. pTDefRegMap(@Self)^.clr := $00000100
  14540. else
  14541. pTDefRegMap(@Self)^.&set := $00000100;
  14542. end;
  14543. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14544. begin
  14545. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14546. end;
  14547. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14548. begin
  14549. pTDefRegMap(@Self)^.&set := $00000200;
  14550. end;
  14551. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14552. begin
  14553. pTDefRegMap(@Self)^.clr := $00000200;
  14554. end;
  14555. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14556. begin
  14557. if thebits = 0 then
  14558. pTDefRegMap(@Self)^.clr := $00000200
  14559. else
  14560. pTDefRegMap(@Self)^.&set := $00000200;
  14561. end;
  14562. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14563. begin
  14564. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14565. end;
  14566. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14567. begin
  14568. pTDefRegMap(@Self)^.&set := $00000400;
  14569. end;
  14570. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14571. begin
  14572. pTDefRegMap(@Self)^.clr := $00000400;
  14573. end;
  14574. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14575. begin
  14576. if thebits = 0 then
  14577. pTDefRegMap(@Self)^.clr := $00000400
  14578. else
  14579. pTDefRegMap(@Self)^.&set := $00000400;
  14580. end;
  14581. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14582. begin
  14583. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14584. end;
  14585. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14586. begin
  14587. pTDefRegMap(@Self)^.&set := $00004000;
  14588. end;
  14589. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14590. begin
  14591. pTDefRegMap(@Self)^.clr := $00004000;
  14592. end;
  14593. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14594. begin
  14595. if thebits = 0 then
  14596. pTDefRegMap(@Self)^.clr := $00004000
  14597. else
  14598. pTDefRegMap(@Self)^.&set := $00004000;
  14599. end;
  14600. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14601. begin
  14602. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14603. end;
  14604. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14605. begin
  14606. pTDefRegMap(@Self)^.&set := $00008000;
  14607. end;
  14608. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14609. begin
  14610. pTDefRegMap(@Self)^.clr := $00008000;
  14611. end;
  14612. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14613. begin
  14614. if thebits = 0 then
  14615. pTDefRegMap(@Self)^.clr := $00008000
  14616. else
  14617. pTDefRegMap(@Self)^.&set := $00008000;
  14618. end;
  14619. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14620. begin
  14621. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14622. end;
  14623. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14624. begin
  14625. pTDefRegMap(@Self)^.&set := $00000040;
  14626. end;
  14627. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14628. begin
  14629. pTDefRegMap(@Self)^.clr := $00000040;
  14630. end;
  14631. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14632. begin
  14633. if thebits = 0 then
  14634. pTDefRegMap(@Self)^.clr := $00000040
  14635. else
  14636. pTDefRegMap(@Self)^.&set := $00000040;
  14637. end;
  14638. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14639. begin
  14640. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14641. end;
  14642. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14643. begin
  14644. pTDefRegMap(@Self)^.val := thebits;
  14645. end;
  14646. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14647. begin
  14648. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14649. end;
  14650. procedure TI2C1_I2C1STAT.setTBF; inline;
  14651. begin
  14652. pTDefRegMap(@Self)^.&set := $00000001;
  14653. end;
  14654. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14655. begin
  14656. pTDefRegMap(@Self)^.clr := $00000001;
  14657. end;
  14658. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14659. begin
  14660. if thebits = 0 then
  14661. pTDefRegMap(@Self)^.clr := $00000001
  14662. else
  14663. pTDefRegMap(@Self)^.&set := $00000001;
  14664. end;
  14665. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14666. begin
  14667. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14668. end;
  14669. procedure TI2C1_I2C1STAT.setRBF; inline;
  14670. begin
  14671. pTDefRegMap(@Self)^.&set := $00000002;
  14672. end;
  14673. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14674. begin
  14675. pTDefRegMap(@Self)^.clr := $00000002;
  14676. end;
  14677. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14678. begin
  14679. if thebits = 0 then
  14680. pTDefRegMap(@Self)^.clr := $00000002
  14681. else
  14682. pTDefRegMap(@Self)^.&set := $00000002;
  14683. end;
  14684. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14685. begin
  14686. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14687. end;
  14688. procedure TI2C1_I2C1STAT.setR_W; inline;
  14689. begin
  14690. pTDefRegMap(@Self)^.&set := $00000004;
  14691. end;
  14692. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14693. begin
  14694. pTDefRegMap(@Self)^.clr := $00000004;
  14695. end;
  14696. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14697. begin
  14698. if thebits = 0 then
  14699. pTDefRegMap(@Self)^.clr := $00000004
  14700. else
  14701. pTDefRegMap(@Self)^.&set := $00000004;
  14702. end;
  14703. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  14704. begin
  14705. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14706. end;
  14707. procedure TI2C1_I2C1STAT.setS; inline;
  14708. begin
  14709. pTDefRegMap(@Self)^.&set := $00000008;
  14710. end;
  14711. procedure TI2C1_I2C1STAT.clearS; inline;
  14712. begin
  14713. pTDefRegMap(@Self)^.clr := $00000008;
  14714. end;
  14715. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  14716. begin
  14717. if thebits = 0 then
  14718. pTDefRegMap(@Self)^.clr := $00000008
  14719. else
  14720. pTDefRegMap(@Self)^.&set := $00000008;
  14721. end;
  14722. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  14723. begin
  14724. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14725. end;
  14726. procedure TI2C1_I2C1STAT.setP; inline;
  14727. begin
  14728. pTDefRegMap(@Self)^.&set := $00000010;
  14729. end;
  14730. procedure TI2C1_I2C1STAT.clearP; inline;
  14731. begin
  14732. pTDefRegMap(@Self)^.clr := $00000010;
  14733. end;
  14734. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  14735. begin
  14736. if thebits = 0 then
  14737. pTDefRegMap(@Self)^.clr := $00000010
  14738. else
  14739. pTDefRegMap(@Self)^.&set := $00000010;
  14740. end;
  14741. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  14742. begin
  14743. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14744. end;
  14745. procedure TI2C1_I2C1STAT.setD_A; inline;
  14746. begin
  14747. pTDefRegMap(@Self)^.&set := $00000020;
  14748. end;
  14749. procedure TI2C1_I2C1STAT.clearD_A; inline;
  14750. begin
  14751. pTDefRegMap(@Self)^.clr := $00000020;
  14752. end;
  14753. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  14754. begin
  14755. if thebits = 0 then
  14756. pTDefRegMap(@Self)^.clr := $00000020
  14757. else
  14758. pTDefRegMap(@Self)^.&set := $00000020;
  14759. end;
  14760. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  14761. begin
  14762. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14763. end;
  14764. procedure TI2C1_I2C1STAT.setI2COV; inline;
  14765. begin
  14766. pTDefRegMap(@Self)^.&set := $00000040;
  14767. end;
  14768. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  14769. begin
  14770. pTDefRegMap(@Self)^.clr := $00000040;
  14771. end;
  14772. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  14773. begin
  14774. if thebits = 0 then
  14775. pTDefRegMap(@Self)^.clr := $00000040
  14776. else
  14777. pTDefRegMap(@Self)^.&set := $00000040;
  14778. end;
  14779. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  14780. begin
  14781. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14782. end;
  14783. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  14784. begin
  14785. pTDefRegMap(@Self)^.&set := $00000080;
  14786. end;
  14787. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  14788. begin
  14789. pTDefRegMap(@Self)^.clr := $00000080;
  14790. end;
  14791. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  14792. begin
  14793. if thebits = 0 then
  14794. pTDefRegMap(@Self)^.clr := $00000080
  14795. else
  14796. pTDefRegMap(@Self)^.&set := $00000080;
  14797. end;
  14798. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  14799. begin
  14800. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14801. end;
  14802. procedure TI2C1_I2C1STAT.setADD10; inline;
  14803. begin
  14804. pTDefRegMap(@Self)^.&set := $00000100;
  14805. end;
  14806. procedure TI2C1_I2C1STAT.clearADD10; inline;
  14807. begin
  14808. pTDefRegMap(@Self)^.clr := $00000100;
  14809. end;
  14810. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  14811. begin
  14812. if thebits = 0 then
  14813. pTDefRegMap(@Self)^.clr := $00000100
  14814. else
  14815. pTDefRegMap(@Self)^.&set := $00000100;
  14816. end;
  14817. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  14818. begin
  14819. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14820. end;
  14821. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  14822. begin
  14823. pTDefRegMap(@Self)^.&set := $00000200;
  14824. end;
  14825. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  14826. begin
  14827. pTDefRegMap(@Self)^.clr := $00000200;
  14828. end;
  14829. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  14830. begin
  14831. if thebits = 0 then
  14832. pTDefRegMap(@Self)^.clr := $00000200
  14833. else
  14834. pTDefRegMap(@Self)^.&set := $00000200;
  14835. end;
  14836. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  14837. begin
  14838. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14839. end;
  14840. procedure TI2C1_I2C1STAT.setBCL; inline;
  14841. begin
  14842. pTDefRegMap(@Self)^.&set := $00000400;
  14843. end;
  14844. procedure TI2C1_I2C1STAT.clearBCL; inline;
  14845. begin
  14846. pTDefRegMap(@Self)^.clr := $00000400;
  14847. end;
  14848. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  14849. begin
  14850. if thebits = 0 then
  14851. pTDefRegMap(@Self)^.clr := $00000400
  14852. else
  14853. pTDefRegMap(@Self)^.&set := $00000400;
  14854. end;
  14855. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  14856. begin
  14857. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14858. end;
  14859. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  14860. begin
  14861. pTDefRegMap(@Self)^.&set := $00004000;
  14862. end;
  14863. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  14864. begin
  14865. pTDefRegMap(@Self)^.clr := $00004000;
  14866. end;
  14867. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  14868. begin
  14869. if thebits = 0 then
  14870. pTDefRegMap(@Self)^.clr := $00004000
  14871. else
  14872. pTDefRegMap(@Self)^.&set := $00004000;
  14873. end;
  14874. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  14875. begin
  14876. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14877. end;
  14878. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  14879. begin
  14880. pTDefRegMap(@Self)^.&set := $00008000;
  14881. end;
  14882. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  14883. begin
  14884. pTDefRegMap(@Self)^.clr := $00008000;
  14885. end;
  14886. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  14887. begin
  14888. if thebits = 0 then
  14889. pTDefRegMap(@Self)^.clr := $00008000
  14890. else
  14891. pTDefRegMap(@Self)^.&set := $00008000;
  14892. end;
  14893. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  14894. begin
  14895. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14896. end;
  14897. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  14898. begin
  14899. pTDefRegMap(@Self)^.&set := $00000040;
  14900. end;
  14901. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  14902. begin
  14903. pTDefRegMap(@Self)^.clr := $00000040;
  14904. end;
  14905. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  14906. begin
  14907. if thebits = 0 then
  14908. pTDefRegMap(@Self)^.clr := $00000040
  14909. else
  14910. pTDefRegMap(@Self)^.&set := $00000040;
  14911. end;
  14912. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  14913. begin
  14914. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14915. end;
  14916. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  14917. begin
  14918. pTDefRegMap(@Self)^.val := thebits;
  14919. end;
  14920. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  14921. begin
  14922. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14923. end;
  14924. procedure TI2C2_I2C2ACON.setSEN; inline;
  14925. begin
  14926. pTDefRegMap(@Self)^.&set := $00000001;
  14927. end;
  14928. procedure TI2C2_I2C2ACON.clearSEN; inline;
  14929. begin
  14930. pTDefRegMap(@Self)^.clr := $00000001;
  14931. end;
  14932. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  14933. begin
  14934. if thebits = 0 then
  14935. pTDefRegMap(@Self)^.clr := $00000001
  14936. else
  14937. pTDefRegMap(@Self)^.&set := $00000001;
  14938. end;
  14939. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  14940. begin
  14941. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14942. end;
  14943. procedure TI2C2_I2C2ACON.setRSEN; inline;
  14944. begin
  14945. pTDefRegMap(@Self)^.&set := $00000002;
  14946. end;
  14947. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  14948. begin
  14949. pTDefRegMap(@Self)^.clr := $00000002;
  14950. end;
  14951. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  14952. begin
  14953. if thebits = 0 then
  14954. pTDefRegMap(@Self)^.clr := $00000002
  14955. else
  14956. pTDefRegMap(@Self)^.&set := $00000002;
  14957. end;
  14958. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  14959. begin
  14960. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14961. end;
  14962. procedure TI2C2_I2C2ACON.setPEN; inline;
  14963. begin
  14964. pTDefRegMap(@Self)^.&set := $00000004;
  14965. end;
  14966. procedure TI2C2_I2C2ACON.clearPEN; inline;
  14967. begin
  14968. pTDefRegMap(@Self)^.clr := $00000004;
  14969. end;
  14970. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  14971. begin
  14972. if thebits = 0 then
  14973. pTDefRegMap(@Self)^.clr := $00000004
  14974. else
  14975. pTDefRegMap(@Self)^.&set := $00000004;
  14976. end;
  14977. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  14978. begin
  14979. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14980. end;
  14981. procedure TI2C2_I2C2ACON.setRCEN; inline;
  14982. begin
  14983. pTDefRegMap(@Self)^.&set := $00000008;
  14984. end;
  14985. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  14986. begin
  14987. pTDefRegMap(@Self)^.clr := $00000008;
  14988. end;
  14989. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  14990. begin
  14991. if thebits = 0 then
  14992. pTDefRegMap(@Self)^.clr := $00000008
  14993. else
  14994. pTDefRegMap(@Self)^.&set := $00000008;
  14995. end;
  14996. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  14997. begin
  14998. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14999. end;
  15000. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15001. begin
  15002. pTDefRegMap(@Self)^.&set := $00000010;
  15003. end;
  15004. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15005. begin
  15006. pTDefRegMap(@Self)^.clr := $00000010;
  15007. end;
  15008. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15009. begin
  15010. if thebits = 0 then
  15011. pTDefRegMap(@Self)^.clr := $00000010
  15012. else
  15013. pTDefRegMap(@Self)^.&set := $00000010;
  15014. end;
  15015. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15016. begin
  15017. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15018. end;
  15019. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15020. begin
  15021. pTDefRegMap(@Self)^.&set := $00000020;
  15022. end;
  15023. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15024. begin
  15025. pTDefRegMap(@Self)^.clr := $00000020;
  15026. end;
  15027. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15028. begin
  15029. if thebits = 0 then
  15030. pTDefRegMap(@Self)^.clr := $00000020
  15031. else
  15032. pTDefRegMap(@Self)^.&set := $00000020;
  15033. end;
  15034. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15035. begin
  15036. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15037. end;
  15038. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15039. begin
  15040. pTDefRegMap(@Self)^.&set := $00000040;
  15041. end;
  15042. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15043. begin
  15044. pTDefRegMap(@Self)^.clr := $00000040;
  15045. end;
  15046. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15047. begin
  15048. if thebits = 0 then
  15049. pTDefRegMap(@Self)^.clr := $00000040
  15050. else
  15051. pTDefRegMap(@Self)^.&set := $00000040;
  15052. end;
  15053. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15054. begin
  15055. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15056. end;
  15057. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15058. begin
  15059. pTDefRegMap(@Self)^.&set := $00000080;
  15060. end;
  15061. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15062. begin
  15063. pTDefRegMap(@Self)^.clr := $00000080;
  15064. end;
  15065. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15066. begin
  15067. if thebits = 0 then
  15068. pTDefRegMap(@Self)^.clr := $00000080
  15069. else
  15070. pTDefRegMap(@Self)^.&set := $00000080;
  15071. end;
  15072. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15073. begin
  15074. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15075. end;
  15076. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15077. begin
  15078. pTDefRegMap(@Self)^.&set := $00000100;
  15079. end;
  15080. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15081. begin
  15082. pTDefRegMap(@Self)^.clr := $00000100;
  15083. end;
  15084. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15085. begin
  15086. if thebits = 0 then
  15087. pTDefRegMap(@Self)^.clr := $00000100
  15088. else
  15089. pTDefRegMap(@Self)^.&set := $00000100;
  15090. end;
  15091. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15092. begin
  15093. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15094. end;
  15095. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15096. begin
  15097. pTDefRegMap(@Self)^.&set := $00000200;
  15098. end;
  15099. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15100. begin
  15101. pTDefRegMap(@Self)^.clr := $00000200;
  15102. end;
  15103. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15104. begin
  15105. if thebits = 0 then
  15106. pTDefRegMap(@Self)^.clr := $00000200
  15107. else
  15108. pTDefRegMap(@Self)^.&set := $00000200;
  15109. end;
  15110. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15111. begin
  15112. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15113. end;
  15114. procedure TI2C2_I2C2ACON.setA10M; inline;
  15115. begin
  15116. pTDefRegMap(@Self)^.&set := $00000400;
  15117. end;
  15118. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15119. begin
  15120. pTDefRegMap(@Self)^.clr := $00000400;
  15121. end;
  15122. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15123. begin
  15124. if thebits = 0 then
  15125. pTDefRegMap(@Self)^.clr := $00000400
  15126. else
  15127. pTDefRegMap(@Self)^.&set := $00000400;
  15128. end;
  15129. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15130. begin
  15131. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15132. end;
  15133. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15134. begin
  15135. pTDefRegMap(@Self)^.&set := $00000800;
  15136. end;
  15137. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15138. begin
  15139. pTDefRegMap(@Self)^.clr := $00000800;
  15140. end;
  15141. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15142. begin
  15143. if thebits = 0 then
  15144. pTDefRegMap(@Self)^.clr := $00000800
  15145. else
  15146. pTDefRegMap(@Self)^.&set := $00000800;
  15147. end;
  15148. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15149. begin
  15150. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15151. end;
  15152. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15153. begin
  15154. pTDefRegMap(@Self)^.&set := $00001000;
  15155. end;
  15156. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15157. begin
  15158. pTDefRegMap(@Self)^.clr := $00001000;
  15159. end;
  15160. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15161. begin
  15162. if thebits = 0 then
  15163. pTDefRegMap(@Self)^.clr := $00001000
  15164. else
  15165. pTDefRegMap(@Self)^.&set := $00001000;
  15166. end;
  15167. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15168. begin
  15169. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15170. end;
  15171. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15172. begin
  15173. pTDefRegMap(@Self)^.&set := $00002000;
  15174. end;
  15175. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15176. begin
  15177. pTDefRegMap(@Self)^.clr := $00002000;
  15178. end;
  15179. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15180. begin
  15181. if thebits = 0 then
  15182. pTDefRegMap(@Self)^.clr := $00002000
  15183. else
  15184. pTDefRegMap(@Self)^.&set := $00002000;
  15185. end;
  15186. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15187. begin
  15188. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15189. end;
  15190. procedure TI2C2_I2C2ACON.setON; inline;
  15191. begin
  15192. pTDefRegMap(@Self)^.&set := $00008000;
  15193. end;
  15194. procedure TI2C2_I2C2ACON.clearON; inline;
  15195. begin
  15196. pTDefRegMap(@Self)^.clr := $00008000;
  15197. end;
  15198. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15199. begin
  15200. if thebits = 0 then
  15201. pTDefRegMap(@Self)^.clr := $00008000
  15202. else
  15203. pTDefRegMap(@Self)^.&set := $00008000;
  15204. end;
  15205. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15206. begin
  15207. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15208. end;
  15209. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15210. begin
  15211. pTDefRegMap(@Self)^.&set := $00000800;
  15212. end;
  15213. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15214. begin
  15215. pTDefRegMap(@Self)^.clr := $00000800;
  15216. end;
  15217. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15218. begin
  15219. if thebits = 0 then
  15220. pTDefRegMap(@Self)^.clr := $00000800
  15221. else
  15222. pTDefRegMap(@Self)^.&set := $00000800;
  15223. end;
  15224. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15225. begin
  15226. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15227. end;
  15228. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15229. begin
  15230. pTDefRegMap(@Self)^.&set := $00002000;
  15231. end;
  15232. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15233. begin
  15234. pTDefRegMap(@Self)^.clr := $00002000;
  15235. end;
  15236. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15237. begin
  15238. if thebits = 0 then
  15239. pTDefRegMap(@Self)^.clr := $00002000
  15240. else
  15241. pTDefRegMap(@Self)^.&set := $00002000;
  15242. end;
  15243. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15244. begin
  15245. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15246. end;
  15247. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15248. begin
  15249. pTDefRegMap(@Self)^.&set := $00008000;
  15250. end;
  15251. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15252. begin
  15253. pTDefRegMap(@Self)^.clr := $00008000;
  15254. end;
  15255. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15256. begin
  15257. if thebits = 0 then
  15258. pTDefRegMap(@Self)^.clr := $00008000
  15259. else
  15260. pTDefRegMap(@Self)^.&set := $00008000;
  15261. end;
  15262. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15263. begin
  15264. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15265. end;
  15266. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15267. begin
  15268. pTDefRegMap(@Self)^.val := thebits;
  15269. end;
  15270. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15271. begin
  15272. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15273. end;
  15274. procedure TI2C2_I2C2CON.setSEN; inline;
  15275. begin
  15276. pTDefRegMap(@Self)^.&set := $00000001;
  15277. end;
  15278. procedure TI2C2_I2C2CON.clearSEN; inline;
  15279. begin
  15280. pTDefRegMap(@Self)^.clr := $00000001;
  15281. end;
  15282. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15283. begin
  15284. if thebits = 0 then
  15285. pTDefRegMap(@Self)^.clr := $00000001
  15286. else
  15287. pTDefRegMap(@Self)^.&set := $00000001;
  15288. end;
  15289. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15290. begin
  15291. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15292. end;
  15293. procedure TI2C2_I2C2CON.setRSEN; inline;
  15294. begin
  15295. pTDefRegMap(@Self)^.&set := $00000002;
  15296. end;
  15297. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15298. begin
  15299. pTDefRegMap(@Self)^.clr := $00000002;
  15300. end;
  15301. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15302. begin
  15303. if thebits = 0 then
  15304. pTDefRegMap(@Self)^.clr := $00000002
  15305. else
  15306. pTDefRegMap(@Self)^.&set := $00000002;
  15307. end;
  15308. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15309. begin
  15310. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15311. end;
  15312. procedure TI2C2_I2C2CON.setPEN; inline;
  15313. begin
  15314. pTDefRegMap(@Self)^.&set := $00000004;
  15315. end;
  15316. procedure TI2C2_I2C2CON.clearPEN; inline;
  15317. begin
  15318. pTDefRegMap(@Self)^.clr := $00000004;
  15319. end;
  15320. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15321. begin
  15322. if thebits = 0 then
  15323. pTDefRegMap(@Self)^.clr := $00000004
  15324. else
  15325. pTDefRegMap(@Self)^.&set := $00000004;
  15326. end;
  15327. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15328. begin
  15329. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15330. end;
  15331. procedure TI2C2_I2C2CON.setRCEN; inline;
  15332. begin
  15333. pTDefRegMap(@Self)^.&set := $00000008;
  15334. end;
  15335. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15336. begin
  15337. pTDefRegMap(@Self)^.clr := $00000008;
  15338. end;
  15339. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15340. begin
  15341. if thebits = 0 then
  15342. pTDefRegMap(@Self)^.clr := $00000008
  15343. else
  15344. pTDefRegMap(@Self)^.&set := $00000008;
  15345. end;
  15346. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15347. begin
  15348. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15349. end;
  15350. procedure TI2C2_I2C2CON.setACKEN; inline;
  15351. begin
  15352. pTDefRegMap(@Self)^.&set := $00000010;
  15353. end;
  15354. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15355. begin
  15356. pTDefRegMap(@Self)^.clr := $00000010;
  15357. end;
  15358. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15359. begin
  15360. if thebits = 0 then
  15361. pTDefRegMap(@Self)^.clr := $00000010
  15362. else
  15363. pTDefRegMap(@Self)^.&set := $00000010;
  15364. end;
  15365. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15366. begin
  15367. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15368. end;
  15369. procedure TI2C2_I2C2CON.setACKDT; inline;
  15370. begin
  15371. pTDefRegMap(@Self)^.&set := $00000020;
  15372. end;
  15373. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15374. begin
  15375. pTDefRegMap(@Self)^.clr := $00000020;
  15376. end;
  15377. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15378. begin
  15379. if thebits = 0 then
  15380. pTDefRegMap(@Self)^.clr := $00000020
  15381. else
  15382. pTDefRegMap(@Self)^.&set := $00000020;
  15383. end;
  15384. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15385. begin
  15386. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15387. end;
  15388. procedure TI2C2_I2C2CON.setSTREN; inline;
  15389. begin
  15390. pTDefRegMap(@Self)^.&set := $00000040;
  15391. end;
  15392. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15393. begin
  15394. pTDefRegMap(@Self)^.clr := $00000040;
  15395. end;
  15396. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15397. begin
  15398. if thebits = 0 then
  15399. pTDefRegMap(@Self)^.clr := $00000040
  15400. else
  15401. pTDefRegMap(@Self)^.&set := $00000040;
  15402. end;
  15403. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15404. begin
  15405. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15406. end;
  15407. procedure TI2C2_I2C2CON.setGCEN; inline;
  15408. begin
  15409. pTDefRegMap(@Self)^.&set := $00000080;
  15410. end;
  15411. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15412. begin
  15413. pTDefRegMap(@Self)^.clr := $00000080;
  15414. end;
  15415. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15416. begin
  15417. if thebits = 0 then
  15418. pTDefRegMap(@Self)^.clr := $00000080
  15419. else
  15420. pTDefRegMap(@Self)^.&set := $00000080;
  15421. end;
  15422. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15423. begin
  15424. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15425. end;
  15426. procedure TI2C2_I2C2CON.setSMEN; inline;
  15427. begin
  15428. pTDefRegMap(@Self)^.&set := $00000100;
  15429. end;
  15430. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15431. begin
  15432. pTDefRegMap(@Self)^.clr := $00000100;
  15433. end;
  15434. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15435. begin
  15436. if thebits = 0 then
  15437. pTDefRegMap(@Self)^.clr := $00000100
  15438. else
  15439. pTDefRegMap(@Self)^.&set := $00000100;
  15440. end;
  15441. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15442. begin
  15443. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15444. end;
  15445. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15446. begin
  15447. pTDefRegMap(@Self)^.&set := $00000200;
  15448. end;
  15449. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15450. begin
  15451. pTDefRegMap(@Self)^.clr := $00000200;
  15452. end;
  15453. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15454. begin
  15455. if thebits = 0 then
  15456. pTDefRegMap(@Self)^.clr := $00000200
  15457. else
  15458. pTDefRegMap(@Self)^.&set := $00000200;
  15459. end;
  15460. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15461. begin
  15462. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15463. end;
  15464. procedure TI2C2_I2C2CON.setA10M; inline;
  15465. begin
  15466. pTDefRegMap(@Self)^.&set := $00000400;
  15467. end;
  15468. procedure TI2C2_I2C2CON.clearA10M; inline;
  15469. begin
  15470. pTDefRegMap(@Self)^.clr := $00000400;
  15471. end;
  15472. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15473. begin
  15474. if thebits = 0 then
  15475. pTDefRegMap(@Self)^.clr := $00000400
  15476. else
  15477. pTDefRegMap(@Self)^.&set := $00000400;
  15478. end;
  15479. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15480. begin
  15481. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15482. end;
  15483. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15484. begin
  15485. pTDefRegMap(@Self)^.&set := $00000800;
  15486. end;
  15487. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15488. begin
  15489. pTDefRegMap(@Self)^.clr := $00000800;
  15490. end;
  15491. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15492. begin
  15493. if thebits = 0 then
  15494. pTDefRegMap(@Self)^.clr := $00000800
  15495. else
  15496. pTDefRegMap(@Self)^.&set := $00000800;
  15497. end;
  15498. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15499. begin
  15500. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15501. end;
  15502. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15503. begin
  15504. pTDefRegMap(@Self)^.&set := $00001000;
  15505. end;
  15506. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15507. begin
  15508. pTDefRegMap(@Self)^.clr := $00001000;
  15509. end;
  15510. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15511. begin
  15512. if thebits = 0 then
  15513. pTDefRegMap(@Self)^.clr := $00001000
  15514. else
  15515. pTDefRegMap(@Self)^.&set := $00001000;
  15516. end;
  15517. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15518. begin
  15519. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15520. end;
  15521. procedure TI2C2_I2C2CON.setSIDL; inline;
  15522. begin
  15523. pTDefRegMap(@Self)^.&set := $00002000;
  15524. end;
  15525. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15526. begin
  15527. pTDefRegMap(@Self)^.clr := $00002000;
  15528. end;
  15529. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15530. begin
  15531. if thebits = 0 then
  15532. pTDefRegMap(@Self)^.clr := $00002000
  15533. else
  15534. pTDefRegMap(@Self)^.&set := $00002000;
  15535. end;
  15536. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15537. begin
  15538. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15539. end;
  15540. procedure TI2C2_I2C2CON.setON; inline;
  15541. begin
  15542. pTDefRegMap(@Self)^.&set := $00008000;
  15543. end;
  15544. procedure TI2C2_I2C2CON.clearON; inline;
  15545. begin
  15546. pTDefRegMap(@Self)^.clr := $00008000;
  15547. end;
  15548. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15549. begin
  15550. if thebits = 0 then
  15551. pTDefRegMap(@Self)^.clr := $00008000
  15552. else
  15553. pTDefRegMap(@Self)^.&set := $00008000;
  15554. end;
  15555. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15556. begin
  15557. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15558. end;
  15559. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15560. begin
  15561. pTDefRegMap(@Self)^.&set := $00000800;
  15562. end;
  15563. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15564. begin
  15565. pTDefRegMap(@Self)^.clr := $00000800;
  15566. end;
  15567. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15568. begin
  15569. if thebits = 0 then
  15570. pTDefRegMap(@Self)^.clr := $00000800
  15571. else
  15572. pTDefRegMap(@Self)^.&set := $00000800;
  15573. end;
  15574. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15575. begin
  15576. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15577. end;
  15578. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15579. begin
  15580. pTDefRegMap(@Self)^.&set := $00002000;
  15581. end;
  15582. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15583. begin
  15584. pTDefRegMap(@Self)^.clr := $00002000;
  15585. end;
  15586. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15587. begin
  15588. if thebits = 0 then
  15589. pTDefRegMap(@Self)^.clr := $00002000
  15590. else
  15591. pTDefRegMap(@Self)^.&set := $00002000;
  15592. end;
  15593. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15594. begin
  15595. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15596. end;
  15597. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15598. begin
  15599. pTDefRegMap(@Self)^.&set := $00008000;
  15600. end;
  15601. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15602. begin
  15603. pTDefRegMap(@Self)^.clr := $00008000;
  15604. end;
  15605. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15606. begin
  15607. if thebits = 0 then
  15608. pTDefRegMap(@Self)^.clr := $00008000
  15609. else
  15610. pTDefRegMap(@Self)^.&set := $00008000;
  15611. end;
  15612. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15613. begin
  15614. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15615. end;
  15616. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15617. begin
  15618. pTDefRegMap(@Self)^.val := thebits;
  15619. end;
  15620. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15621. begin
  15622. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15623. end;
  15624. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15625. begin
  15626. pTDefRegMap(@Self)^.&set := $00000001;
  15627. end;
  15628. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15629. begin
  15630. pTDefRegMap(@Self)^.clr := $00000001;
  15631. end;
  15632. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15633. begin
  15634. if thebits = 0 then
  15635. pTDefRegMap(@Self)^.clr := $00000001
  15636. else
  15637. pTDefRegMap(@Self)^.&set := $00000001;
  15638. end;
  15639. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15640. begin
  15641. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15642. end;
  15643. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15644. begin
  15645. pTDefRegMap(@Self)^.&set := $00000002;
  15646. end;
  15647. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15648. begin
  15649. pTDefRegMap(@Self)^.clr := $00000002;
  15650. end;
  15651. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15652. begin
  15653. if thebits = 0 then
  15654. pTDefRegMap(@Self)^.clr := $00000002
  15655. else
  15656. pTDefRegMap(@Self)^.&set := $00000002;
  15657. end;
  15658. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15659. begin
  15660. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15661. end;
  15662. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15663. begin
  15664. pTDefRegMap(@Self)^.&set := $00000004;
  15665. end;
  15666. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15667. begin
  15668. pTDefRegMap(@Self)^.clr := $00000004;
  15669. end;
  15670. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15671. begin
  15672. if thebits = 0 then
  15673. pTDefRegMap(@Self)^.clr := $00000004
  15674. else
  15675. pTDefRegMap(@Self)^.&set := $00000004;
  15676. end;
  15677. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15678. begin
  15679. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15680. end;
  15681. procedure TI2C2_I2C2ASTAT.setS; inline;
  15682. begin
  15683. pTDefRegMap(@Self)^.&set := $00000008;
  15684. end;
  15685. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15686. begin
  15687. pTDefRegMap(@Self)^.clr := $00000008;
  15688. end;
  15689. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15690. begin
  15691. if thebits = 0 then
  15692. pTDefRegMap(@Self)^.clr := $00000008
  15693. else
  15694. pTDefRegMap(@Self)^.&set := $00000008;
  15695. end;
  15696. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15697. begin
  15698. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15699. end;
  15700. procedure TI2C2_I2C2ASTAT.setP; inline;
  15701. begin
  15702. pTDefRegMap(@Self)^.&set := $00000010;
  15703. end;
  15704. procedure TI2C2_I2C2ASTAT.clearP; inline;
  15705. begin
  15706. pTDefRegMap(@Self)^.clr := $00000010;
  15707. end;
  15708. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  15709. begin
  15710. if thebits = 0 then
  15711. pTDefRegMap(@Self)^.clr := $00000010
  15712. else
  15713. pTDefRegMap(@Self)^.&set := $00000010;
  15714. end;
  15715. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  15716. begin
  15717. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15718. end;
  15719. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  15720. begin
  15721. pTDefRegMap(@Self)^.&set := $00000020;
  15722. end;
  15723. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  15724. begin
  15725. pTDefRegMap(@Self)^.clr := $00000020;
  15726. end;
  15727. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  15728. begin
  15729. if thebits = 0 then
  15730. pTDefRegMap(@Self)^.clr := $00000020
  15731. else
  15732. pTDefRegMap(@Self)^.&set := $00000020;
  15733. end;
  15734. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  15735. begin
  15736. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15737. end;
  15738. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  15739. begin
  15740. pTDefRegMap(@Self)^.&set := $00000040;
  15741. end;
  15742. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  15743. begin
  15744. pTDefRegMap(@Self)^.clr := $00000040;
  15745. end;
  15746. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  15747. begin
  15748. if thebits = 0 then
  15749. pTDefRegMap(@Self)^.clr := $00000040
  15750. else
  15751. pTDefRegMap(@Self)^.&set := $00000040;
  15752. end;
  15753. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  15754. begin
  15755. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15756. end;
  15757. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  15758. begin
  15759. pTDefRegMap(@Self)^.&set := $00000080;
  15760. end;
  15761. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  15762. begin
  15763. pTDefRegMap(@Self)^.clr := $00000080;
  15764. end;
  15765. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  15766. begin
  15767. if thebits = 0 then
  15768. pTDefRegMap(@Self)^.clr := $00000080
  15769. else
  15770. pTDefRegMap(@Self)^.&set := $00000080;
  15771. end;
  15772. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  15773. begin
  15774. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15775. end;
  15776. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  15777. begin
  15778. pTDefRegMap(@Self)^.&set := $00000100;
  15779. end;
  15780. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  15781. begin
  15782. pTDefRegMap(@Self)^.clr := $00000100;
  15783. end;
  15784. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  15785. begin
  15786. if thebits = 0 then
  15787. pTDefRegMap(@Self)^.clr := $00000100
  15788. else
  15789. pTDefRegMap(@Self)^.&set := $00000100;
  15790. end;
  15791. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  15792. begin
  15793. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15794. end;
  15795. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  15796. begin
  15797. pTDefRegMap(@Self)^.&set := $00000200;
  15798. end;
  15799. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  15800. begin
  15801. pTDefRegMap(@Self)^.clr := $00000200;
  15802. end;
  15803. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15804. begin
  15805. if thebits = 0 then
  15806. pTDefRegMap(@Self)^.clr := $00000200
  15807. else
  15808. pTDefRegMap(@Self)^.&set := $00000200;
  15809. end;
  15810. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  15811. begin
  15812. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15813. end;
  15814. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  15815. begin
  15816. pTDefRegMap(@Self)^.&set := $00000400;
  15817. end;
  15818. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  15819. begin
  15820. pTDefRegMap(@Self)^.clr := $00000400;
  15821. end;
  15822. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  15823. begin
  15824. if thebits = 0 then
  15825. pTDefRegMap(@Self)^.clr := $00000400
  15826. else
  15827. pTDefRegMap(@Self)^.&set := $00000400;
  15828. end;
  15829. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  15830. begin
  15831. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15832. end;
  15833. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  15834. begin
  15835. pTDefRegMap(@Self)^.&set := $00004000;
  15836. end;
  15837. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  15838. begin
  15839. pTDefRegMap(@Self)^.clr := $00004000;
  15840. end;
  15841. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15842. begin
  15843. if thebits = 0 then
  15844. pTDefRegMap(@Self)^.clr := $00004000
  15845. else
  15846. pTDefRegMap(@Self)^.&set := $00004000;
  15847. end;
  15848. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  15849. begin
  15850. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15851. end;
  15852. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  15853. begin
  15854. pTDefRegMap(@Self)^.&set := $00008000;
  15855. end;
  15856. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  15857. begin
  15858. pTDefRegMap(@Self)^.clr := $00008000;
  15859. end;
  15860. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15861. begin
  15862. if thebits = 0 then
  15863. pTDefRegMap(@Self)^.clr := $00008000
  15864. else
  15865. pTDefRegMap(@Self)^.&set := $00008000;
  15866. end;
  15867. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  15868. begin
  15869. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15870. end;
  15871. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  15872. begin
  15873. pTDefRegMap(@Self)^.&set := $00000040;
  15874. end;
  15875. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  15876. begin
  15877. pTDefRegMap(@Self)^.clr := $00000040;
  15878. end;
  15879. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15880. begin
  15881. if thebits = 0 then
  15882. pTDefRegMap(@Self)^.clr := $00000040
  15883. else
  15884. pTDefRegMap(@Self)^.&set := $00000040;
  15885. end;
  15886. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  15887. begin
  15888. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15889. end;
  15890. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  15891. begin
  15892. pTDefRegMap(@Self)^.val := thebits;
  15893. end;
  15894. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  15895. begin
  15896. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15897. end;
  15898. procedure TI2C2_I2C2STAT.setTBF; inline;
  15899. begin
  15900. pTDefRegMap(@Self)^.&set := $00000001;
  15901. end;
  15902. procedure TI2C2_I2C2STAT.clearTBF; inline;
  15903. begin
  15904. pTDefRegMap(@Self)^.clr := $00000001;
  15905. end;
  15906. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  15907. begin
  15908. if thebits = 0 then
  15909. pTDefRegMap(@Self)^.clr := $00000001
  15910. else
  15911. pTDefRegMap(@Self)^.&set := $00000001;
  15912. end;
  15913. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  15914. begin
  15915. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15916. end;
  15917. procedure TI2C2_I2C2STAT.setRBF; inline;
  15918. begin
  15919. pTDefRegMap(@Self)^.&set := $00000002;
  15920. end;
  15921. procedure TI2C2_I2C2STAT.clearRBF; inline;
  15922. begin
  15923. pTDefRegMap(@Self)^.clr := $00000002;
  15924. end;
  15925. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  15926. begin
  15927. if thebits = 0 then
  15928. pTDefRegMap(@Self)^.clr := $00000002
  15929. else
  15930. pTDefRegMap(@Self)^.&set := $00000002;
  15931. end;
  15932. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  15933. begin
  15934. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15935. end;
  15936. procedure TI2C2_I2C2STAT.setR_W; inline;
  15937. begin
  15938. pTDefRegMap(@Self)^.&set := $00000004;
  15939. end;
  15940. procedure TI2C2_I2C2STAT.clearR_W; inline;
  15941. begin
  15942. pTDefRegMap(@Self)^.clr := $00000004;
  15943. end;
  15944. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  15945. begin
  15946. if thebits = 0 then
  15947. pTDefRegMap(@Self)^.clr := $00000004
  15948. else
  15949. pTDefRegMap(@Self)^.&set := $00000004;
  15950. end;
  15951. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  15952. begin
  15953. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15954. end;
  15955. procedure TI2C2_I2C2STAT.setS; inline;
  15956. begin
  15957. pTDefRegMap(@Self)^.&set := $00000008;
  15958. end;
  15959. procedure TI2C2_I2C2STAT.clearS; inline;
  15960. begin
  15961. pTDefRegMap(@Self)^.clr := $00000008;
  15962. end;
  15963. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  15964. begin
  15965. if thebits = 0 then
  15966. pTDefRegMap(@Self)^.clr := $00000008
  15967. else
  15968. pTDefRegMap(@Self)^.&set := $00000008;
  15969. end;
  15970. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  15971. begin
  15972. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15973. end;
  15974. procedure TI2C2_I2C2STAT.setP; inline;
  15975. begin
  15976. pTDefRegMap(@Self)^.&set := $00000010;
  15977. end;
  15978. procedure TI2C2_I2C2STAT.clearP; inline;
  15979. begin
  15980. pTDefRegMap(@Self)^.clr := $00000010;
  15981. end;
  15982. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  15983. begin
  15984. if thebits = 0 then
  15985. pTDefRegMap(@Self)^.clr := $00000010
  15986. else
  15987. pTDefRegMap(@Self)^.&set := $00000010;
  15988. end;
  15989. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  15990. begin
  15991. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15992. end;
  15993. procedure TI2C2_I2C2STAT.setD_A; inline;
  15994. begin
  15995. pTDefRegMap(@Self)^.&set := $00000020;
  15996. end;
  15997. procedure TI2C2_I2C2STAT.clearD_A; inline;
  15998. begin
  15999. pTDefRegMap(@Self)^.clr := $00000020;
  16000. end;
  16001. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16002. begin
  16003. if thebits = 0 then
  16004. pTDefRegMap(@Self)^.clr := $00000020
  16005. else
  16006. pTDefRegMap(@Self)^.&set := $00000020;
  16007. end;
  16008. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16009. begin
  16010. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16011. end;
  16012. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16013. begin
  16014. pTDefRegMap(@Self)^.&set := $00000040;
  16015. end;
  16016. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16017. begin
  16018. pTDefRegMap(@Self)^.clr := $00000040;
  16019. end;
  16020. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16021. begin
  16022. if thebits = 0 then
  16023. pTDefRegMap(@Self)^.clr := $00000040
  16024. else
  16025. pTDefRegMap(@Self)^.&set := $00000040;
  16026. end;
  16027. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16028. begin
  16029. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16030. end;
  16031. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16032. begin
  16033. pTDefRegMap(@Self)^.&set := $00000080;
  16034. end;
  16035. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16036. begin
  16037. pTDefRegMap(@Self)^.clr := $00000080;
  16038. end;
  16039. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16040. begin
  16041. if thebits = 0 then
  16042. pTDefRegMap(@Self)^.clr := $00000080
  16043. else
  16044. pTDefRegMap(@Self)^.&set := $00000080;
  16045. end;
  16046. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16047. begin
  16048. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16049. end;
  16050. procedure TI2C2_I2C2STAT.setADD10; inline;
  16051. begin
  16052. pTDefRegMap(@Self)^.&set := $00000100;
  16053. end;
  16054. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16055. begin
  16056. pTDefRegMap(@Self)^.clr := $00000100;
  16057. end;
  16058. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16059. begin
  16060. if thebits = 0 then
  16061. pTDefRegMap(@Self)^.clr := $00000100
  16062. else
  16063. pTDefRegMap(@Self)^.&set := $00000100;
  16064. end;
  16065. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16066. begin
  16067. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16068. end;
  16069. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16070. begin
  16071. pTDefRegMap(@Self)^.&set := $00000200;
  16072. end;
  16073. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16074. begin
  16075. pTDefRegMap(@Self)^.clr := $00000200;
  16076. end;
  16077. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16078. begin
  16079. if thebits = 0 then
  16080. pTDefRegMap(@Self)^.clr := $00000200
  16081. else
  16082. pTDefRegMap(@Self)^.&set := $00000200;
  16083. end;
  16084. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16085. begin
  16086. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16087. end;
  16088. procedure TI2C2_I2C2STAT.setBCL; inline;
  16089. begin
  16090. pTDefRegMap(@Self)^.&set := $00000400;
  16091. end;
  16092. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16093. begin
  16094. pTDefRegMap(@Self)^.clr := $00000400;
  16095. end;
  16096. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16097. begin
  16098. if thebits = 0 then
  16099. pTDefRegMap(@Self)^.clr := $00000400
  16100. else
  16101. pTDefRegMap(@Self)^.&set := $00000400;
  16102. end;
  16103. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16104. begin
  16105. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16106. end;
  16107. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16108. begin
  16109. pTDefRegMap(@Self)^.&set := $00004000;
  16110. end;
  16111. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16112. begin
  16113. pTDefRegMap(@Self)^.clr := $00004000;
  16114. end;
  16115. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16116. begin
  16117. if thebits = 0 then
  16118. pTDefRegMap(@Self)^.clr := $00004000
  16119. else
  16120. pTDefRegMap(@Self)^.&set := $00004000;
  16121. end;
  16122. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16123. begin
  16124. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16125. end;
  16126. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16127. begin
  16128. pTDefRegMap(@Self)^.&set := $00008000;
  16129. end;
  16130. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16131. begin
  16132. pTDefRegMap(@Self)^.clr := $00008000;
  16133. end;
  16134. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16135. begin
  16136. if thebits = 0 then
  16137. pTDefRegMap(@Self)^.clr := $00008000
  16138. else
  16139. pTDefRegMap(@Self)^.&set := $00008000;
  16140. end;
  16141. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16142. begin
  16143. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16144. end;
  16145. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16146. begin
  16147. pTDefRegMap(@Self)^.&set := $00000040;
  16148. end;
  16149. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16150. begin
  16151. pTDefRegMap(@Self)^.clr := $00000040;
  16152. end;
  16153. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16154. begin
  16155. if thebits = 0 then
  16156. pTDefRegMap(@Self)^.clr := $00000040
  16157. else
  16158. pTDefRegMap(@Self)^.&set := $00000040;
  16159. end;
  16160. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16161. begin
  16162. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16163. end;
  16164. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16165. begin
  16166. pTDefRegMap(@Self)^.val := thebits;
  16167. end;
  16168. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16169. begin
  16170. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16171. end;
  16172. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16173. begin
  16174. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16175. end;
  16176. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16177. begin
  16178. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16179. end;
  16180. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16181. begin
  16182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16183. end;
  16184. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16185. begin
  16186. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16187. end;
  16188. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16189. begin
  16190. pTDefRegMap(@Self)^.&set := $00000010;
  16191. end;
  16192. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16193. begin
  16194. pTDefRegMap(@Self)^.clr := $00000010;
  16195. end;
  16196. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16197. begin
  16198. if thebits = 0 then
  16199. pTDefRegMap(@Self)^.clr := $00000010
  16200. else
  16201. pTDefRegMap(@Self)^.&set := $00000010;
  16202. end;
  16203. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16204. begin
  16205. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16206. end;
  16207. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16208. begin
  16209. pTDefRegMap(@Self)^.&set := $00000020;
  16210. end;
  16211. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16212. begin
  16213. pTDefRegMap(@Self)^.clr := $00000020;
  16214. end;
  16215. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16216. begin
  16217. if thebits = 0 then
  16218. pTDefRegMap(@Self)^.clr := $00000020
  16219. else
  16220. pTDefRegMap(@Self)^.&set := $00000020;
  16221. end;
  16222. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16223. begin
  16224. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16225. end;
  16226. procedure TSPI1_SPI1CON.setCKP; inline;
  16227. begin
  16228. pTDefRegMap(@Self)^.&set := $00000040;
  16229. end;
  16230. procedure TSPI1_SPI1CON.clearCKP; inline;
  16231. begin
  16232. pTDefRegMap(@Self)^.clr := $00000040;
  16233. end;
  16234. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16235. begin
  16236. if thebits = 0 then
  16237. pTDefRegMap(@Self)^.clr := $00000040
  16238. else
  16239. pTDefRegMap(@Self)^.&set := $00000040;
  16240. end;
  16241. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16242. begin
  16243. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16244. end;
  16245. procedure TSPI1_SPI1CON.setSSEN; inline;
  16246. begin
  16247. pTDefRegMap(@Self)^.&set := $00000080;
  16248. end;
  16249. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16250. begin
  16251. pTDefRegMap(@Self)^.clr := $00000080;
  16252. end;
  16253. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16254. begin
  16255. if thebits = 0 then
  16256. pTDefRegMap(@Self)^.clr := $00000080
  16257. else
  16258. pTDefRegMap(@Self)^.&set := $00000080;
  16259. end;
  16260. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16261. begin
  16262. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16263. end;
  16264. procedure TSPI1_SPI1CON.setCKE; inline;
  16265. begin
  16266. pTDefRegMap(@Self)^.&set := $00000100;
  16267. end;
  16268. procedure TSPI1_SPI1CON.clearCKE; inline;
  16269. begin
  16270. pTDefRegMap(@Self)^.clr := $00000100;
  16271. end;
  16272. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16273. begin
  16274. if thebits = 0 then
  16275. pTDefRegMap(@Self)^.clr := $00000100
  16276. else
  16277. pTDefRegMap(@Self)^.&set := $00000100;
  16278. end;
  16279. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16280. begin
  16281. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16282. end;
  16283. procedure TSPI1_SPI1CON.setSMP; inline;
  16284. begin
  16285. pTDefRegMap(@Self)^.&set := $00000200;
  16286. end;
  16287. procedure TSPI1_SPI1CON.clearSMP; inline;
  16288. begin
  16289. pTDefRegMap(@Self)^.clr := $00000200;
  16290. end;
  16291. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16292. begin
  16293. if thebits = 0 then
  16294. pTDefRegMap(@Self)^.clr := $00000200
  16295. else
  16296. pTDefRegMap(@Self)^.&set := $00000200;
  16297. end;
  16298. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16299. begin
  16300. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16301. end;
  16302. procedure TSPI1_SPI1CON.setMODE16; inline;
  16303. begin
  16304. pTDefRegMap(@Self)^.&set := $00000400;
  16305. end;
  16306. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16307. begin
  16308. pTDefRegMap(@Self)^.clr := $00000400;
  16309. end;
  16310. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16311. begin
  16312. if thebits = 0 then
  16313. pTDefRegMap(@Self)^.clr := $00000400
  16314. else
  16315. pTDefRegMap(@Self)^.&set := $00000400;
  16316. end;
  16317. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16318. begin
  16319. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16320. end;
  16321. procedure TSPI1_SPI1CON.setMODE32; inline;
  16322. begin
  16323. pTDefRegMap(@Self)^.&set := $00000800;
  16324. end;
  16325. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16326. begin
  16327. pTDefRegMap(@Self)^.clr := $00000800;
  16328. end;
  16329. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16330. begin
  16331. if thebits = 0 then
  16332. pTDefRegMap(@Self)^.clr := $00000800
  16333. else
  16334. pTDefRegMap(@Self)^.&set := $00000800;
  16335. end;
  16336. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16337. begin
  16338. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16339. end;
  16340. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16341. begin
  16342. pTDefRegMap(@Self)^.&set := $00001000;
  16343. end;
  16344. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16345. begin
  16346. pTDefRegMap(@Self)^.clr := $00001000;
  16347. end;
  16348. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16349. begin
  16350. if thebits = 0 then
  16351. pTDefRegMap(@Self)^.clr := $00001000
  16352. else
  16353. pTDefRegMap(@Self)^.&set := $00001000;
  16354. end;
  16355. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16356. begin
  16357. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16358. end;
  16359. procedure TSPI1_SPI1CON.setSIDL; inline;
  16360. begin
  16361. pTDefRegMap(@Self)^.&set := $00002000;
  16362. end;
  16363. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16364. begin
  16365. pTDefRegMap(@Self)^.clr := $00002000;
  16366. end;
  16367. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16368. begin
  16369. if thebits = 0 then
  16370. pTDefRegMap(@Self)^.clr := $00002000
  16371. else
  16372. pTDefRegMap(@Self)^.&set := $00002000;
  16373. end;
  16374. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16375. begin
  16376. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16377. end;
  16378. procedure TSPI1_SPI1CON.setON; inline;
  16379. begin
  16380. pTDefRegMap(@Self)^.&set := $00008000;
  16381. end;
  16382. procedure TSPI1_SPI1CON.clearON; inline;
  16383. begin
  16384. pTDefRegMap(@Self)^.clr := $00008000;
  16385. end;
  16386. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16387. begin
  16388. if thebits = 0 then
  16389. pTDefRegMap(@Self)^.clr := $00008000
  16390. else
  16391. pTDefRegMap(@Self)^.&set := $00008000;
  16392. end;
  16393. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16394. begin
  16395. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16396. end;
  16397. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16398. begin
  16399. pTDefRegMap(@Self)^.&set := $00010000;
  16400. end;
  16401. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16402. begin
  16403. pTDefRegMap(@Self)^.clr := $00010000;
  16404. end;
  16405. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16406. begin
  16407. if thebits = 0 then
  16408. pTDefRegMap(@Self)^.clr := $00010000
  16409. else
  16410. pTDefRegMap(@Self)^.&set := $00010000;
  16411. end;
  16412. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16413. begin
  16414. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16415. end;
  16416. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16417. begin
  16418. pTDefRegMap(@Self)^.&set := $00020000;
  16419. end;
  16420. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16421. begin
  16422. pTDefRegMap(@Self)^.clr := $00020000;
  16423. end;
  16424. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16425. begin
  16426. if thebits = 0 then
  16427. pTDefRegMap(@Self)^.clr := $00020000
  16428. else
  16429. pTDefRegMap(@Self)^.&set := $00020000;
  16430. end;
  16431. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16432. begin
  16433. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16434. end;
  16435. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16436. begin
  16437. pTDefRegMap(@Self)^.&set := $00800000;
  16438. end;
  16439. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16440. begin
  16441. pTDefRegMap(@Self)^.clr := $00800000;
  16442. end;
  16443. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16444. begin
  16445. if thebits = 0 then
  16446. pTDefRegMap(@Self)^.clr := $00800000
  16447. else
  16448. pTDefRegMap(@Self)^.&set := $00800000;
  16449. end;
  16450. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16451. begin
  16452. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16453. end;
  16454. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16455. begin
  16456. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16457. end;
  16458. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16459. begin
  16460. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16461. end;
  16462. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16463. begin
  16464. pTDefRegMap(@Self)^.&set := $08000000;
  16465. end;
  16466. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16467. begin
  16468. pTDefRegMap(@Self)^.clr := $08000000;
  16469. end;
  16470. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16471. begin
  16472. if thebits = 0 then
  16473. pTDefRegMap(@Self)^.clr := $08000000
  16474. else
  16475. pTDefRegMap(@Self)^.&set := $08000000;
  16476. end;
  16477. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16478. begin
  16479. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16480. end;
  16481. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16482. begin
  16483. pTDefRegMap(@Self)^.&set := $10000000;
  16484. end;
  16485. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16486. begin
  16487. pTDefRegMap(@Self)^.clr := $10000000;
  16488. end;
  16489. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16490. begin
  16491. if thebits = 0 then
  16492. pTDefRegMap(@Self)^.clr := $10000000
  16493. else
  16494. pTDefRegMap(@Self)^.&set := $10000000;
  16495. end;
  16496. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16497. begin
  16498. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16499. end;
  16500. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16501. begin
  16502. pTDefRegMap(@Self)^.&set := $20000000;
  16503. end;
  16504. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16505. begin
  16506. pTDefRegMap(@Self)^.clr := $20000000;
  16507. end;
  16508. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16509. begin
  16510. if thebits = 0 then
  16511. pTDefRegMap(@Self)^.clr := $20000000
  16512. else
  16513. pTDefRegMap(@Self)^.&set := $20000000;
  16514. end;
  16515. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16516. begin
  16517. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16518. end;
  16519. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16520. begin
  16521. pTDefRegMap(@Self)^.&set := $40000000;
  16522. end;
  16523. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16524. begin
  16525. pTDefRegMap(@Self)^.clr := $40000000;
  16526. end;
  16527. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16528. begin
  16529. if thebits = 0 then
  16530. pTDefRegMap(@Self)^.clr := $40000000
  16531. else
  16532. pTDefRegMap(@Self)^.&set := $40000000;
  16533. end;
  16534. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16535. begin
  16536. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16537. end;
  16538. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16539. begin
  16540. pTDefRegMap(@Self)^.&set := $80000000;
  16541. end;
  16542. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16543. begin
  16544. pTDefRegMap(@Self)^.clr := $80000000;
  16545. end;
  16546. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16547. begin
  16548. if thebits = 0 then
  16549. pTDefRegMap(@Self)^.clr := $80000000
  16550. else
  16551. pTDefRegMap(@Self)^.&set := $80000000;
  16552. end;
  16553. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16554. begin
  16555. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16556. end;
  16557. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16558. begin
  16559. pTDefRegMap(@Self)^.val := thebits;
  16560. end;
  16561. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16562. begin
  16563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16564. end;
  16565. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16566. begin
  16567. pTDefRegMap(@Self)^.&set := $00000001;
  16568. end;
  16569. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16570. begin
  16571. pTDefRegMap(@Self)^.clr := $00000001;
  16572. end;
  16573. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16574. begin
  16575. if thebits = 0 then
  16576. pTDefRegMap(@Self)^.clr := $00000001
  16577. else
  16578. pTDefRegMap(@Self)^.&set := $00000001;
  16579. end;
  16580. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16581. begin
  16582. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16583. end;
  16584. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16585. begin
  16586. pTDefRegMap(@Self)^.&set := $00000002;
  16587. end;
  16588. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16589. begin
  16590. pTDefRegMap(@Self)^.clr := $00000002;
  16591. end;
  16592. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16593. begin
  16594. if thebits = 0 then
  16595. pTDefRegMap(@Self)^.clr := $00000002
  16596. else
  16597. pTDefRegMap(@Self)^.&set := $00000002;
  16598. end;
  16599. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16600. begin
  16601. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16602. end;
  16603. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16604. begin
  16605. pTDefRegMap(@Self)^.&set := $00000008;
  16606. end;
  16607. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16608. begin
  16609. pTDefRegMap(@Self)^.clr := $00000008;
  16610. end;
  16611. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16612. begin
  16613. if thebits = 0 then
  16614. pTDefRegMap(@Self)^.clr := $00000008
  16615. else
  16616. pTDefRegMap(@Self)^.&set := $00000008;
  16617. end;
  16618. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16619. begin
  16620. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16621. end;
  16622. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16623. begin
  16624. pTDefRegMap(@Self)^.&set := $00000020;
  16625. end;
  16626. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16627. begin
  16628. pTDefRegMap(@Self)^.clr := $00000020;
  16629. end;
  16630. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16631. begin
  16632. if thebits = 0 then
  16633. pTDefRegMap(@Self)^.clr := $00000020
  16634. else
  16635. pTDefRegMap(@Self)^.&set := $00000020;
  16636. end;
  16637. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16638. begin
  16639. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16640. end;
  16641. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16642. begin
  16643. pTDefRegMap(@Self)^.&set := $00000040;
  16644. end;
  16645. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16646. begin
  16647. pTDefRegMap(@Self)^.clr := $00000040;
  16648. end;
  16649. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16650. begin
  16651. if thebits = 0 then
  16652. pTDefRegMap(@Self)^.clr := $00000040
  16653. else
  16654. pTDefRegMap(@Self)^.&set := $00000040;
  16655. end;
  16656. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16657. begin
  16658. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16659. end;
  16660. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16661. begin
  16662. pTDefRegMap(@Self)^.&set := $00000080;
  16663. end;
  16664. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16665. begin
  16666. pTDefRegMap(@Self)^.clr := $00000080;
  16667. end;
  16668. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16669. begin
  16670. if thebits = 0 then
  16671. pTDefRegMap(@Self)^.clr := $00000080
  16672. else
  16673. pTDefRegMap(@Self)^.&set := $00000080;
  16674. end;
  16675. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16676. begin
  16677. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16678. end;
  16679. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16680. begin
  16681. pTDefRegMap(@Self)^.&set := $00000100;
  16682. end;
  16683. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16684. begin
  16685. pTDefRegMap(@Self)^.clr := $00000100;
  16686. end;
  16687. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16688. begin
  16689. if thebits = 0 then
  16690. pTDefRegMap(@Self)^.clr := $00000100
  16691. else
  16692. pTDefRegMap(@Self)^.&set := $00000100;
  16693. end;
  16694. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16695. begin
  16696. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16697. end;
  16698. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16699. begin
  16700. pTDefRegMap(@Self)^.&set := $00000800;
  16701. end;
  16702. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  16703. begin
  16704. pTDefRegMap(@Self)^.clr := $00000800;
  16705. end;
  16706. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  16707. begin
  16708. if thebits = 0 then
  16709. pTDefRegMap(@Self)^.clr := $00000800
  16710. else
  16711. pTDefRegMap(@Self)^.&set := $00000800;
  16712. end;
  16713. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  16714. begin
  16715. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16716. end;
  16717. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  16718. begin
  16719. pTDefRegMap(@Self)^.&set := $00001000;
  16720. end;
  16721. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  16722. begin
  16723. pTDefRegMap(@Self)^.clr := $00001000;
  16724. end;
  16725. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  16726. begin
  16727. if thebits = 0 then
  16728. pTDefRegMap(@Self)^.clr := $00001000
  16729. else
  16730. pTDefRegMap(@Self)^.&set := $00001000;
  16731. end;
  16732. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  16733. begin
  16734. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16735. end;
  16736. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  16737. begin
  16738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  16739. end;
  16740. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  16741. begin
  16742. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  16743. end;
  16744. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  16745. begin
  16746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  16747. end;
  16748. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  16749. begin
  16750. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  16751. end;
  16752. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  16753. begin
  16754. pTDefRegMap(@Self)^.val := thebits;
  16755. end;
  16756. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  16757. begin
  16758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16759. end;
  16760. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  16761. begin
  16762. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16763. end;
  16764. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  16765. begin
  16766. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16767. end;
  16768. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  16769. begin
  16770. pTDefRegMap(@Self)^.&set := $00000008;
  16771. end;
  16772. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  16773. begin
  16774. pTDefRegMap(@Self)^.clr := $00000008;
  16775. end;
  16776. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  16777. begin
  16778. if thebits = 0 then
  16779. pTDefRegMap(@Self)^.clr := $00000008
  16780. else
  16781. pTDefRegMap(@Self)^.&set := $00000008;
  16782. end;
  16783. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  16784. begin
  16785. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16786. end;
  16787. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  16788. begin
  16789. pTDefRegMap(@Self)^.&set := $00000080;
  16790. end;
  16791. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  16792. begin
  16793. pTDefRegMap(@Self)^.clr := $00000080;
  16794. end;
  16795. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  16796. begin
  16797. if thebits = 0 then
  16798. pTDefRegMap(@Self)^.clr := $00000080
  16799. else
  16800. pTDefRegMap(@Self)^.&set := $00000080;
  16801. end;
  16802. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  16803. begin
  16804. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16805. end;
  16806. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  16807. begin
  16808. pTDefRegMap(@Self)^.&set := $00000100;
  16809. end;
  16810. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  16811. begin
  16812. pTDefRegMap(@Self)^.clr := $00000100;
  16813. end;
  16814. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  16815. begin
  16816. if thebits = 0 then
  16817. pTDefRegMap(@Self)^.clr := $00000100
  16818. else
  16819. pTDefRegMap(@Self)^.&set := $00000100;
  16820. end;
  16821. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  16822. begin
  16823. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16824. end;
  16825. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  16826. begin
  16827. pTDefRegMap(@Self)^.&set := $00000200;
  16828. end;
  16829. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  16830. begin
  16831. pTDefRegMap(@Self)^.clr := $00000200;
  16832. end;
  16833. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  16834. begin
  16835. if thebits = 0 then
  16836. pTDefRegMap(@Self)^.clr := $00000200
  16837. else
  16838. pTDefRegMap(@Self)^.&set := $00000200;
  16839. end;
  16840. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  16841. begin
  16842. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16843. end;
  16844. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  16845. begin
  16846. pTDefRegMap(@Self)^.&set := $00000400;
  16847. end;
  16848. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  16849. begin
  16850. pTDefRegMap(@Self)^.clr := $00000400;
  16851. end;
  16852. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  16853. begin
  16854. if thebits = 0 then
  16855. pTDefRegMap(@Self)^.clr := $00000400
  16856. else
  16857. pTDefRegMap(@Self)^.&set := $00000400;
  16858. end;
  16859. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  16860. begin
  16861. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16862. end;
  16863. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  16864. begin
  16865. pTDefRegMap(@Self)^.&set := $00000800;
  16866. end;
  16867. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  16868. begin
  16869. pTDefRegMap(@Self)^.clr := $00000800;
  16870. end;
  16871. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  16872. begin
  16873. if thebits = 0 then
  16874. pTDefRegMap(@Self)^.clr := $00000800
  16875. else
  16876. pTDefRegMap(@Self)^.&set := $00000800;
  16877. end;
  16878. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  16879. begin
  16880. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16881. end;
  16882. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  16883. begin
  16884. pTDefRegMap(@Self)^.&set := $00001000;
  16885. end;
  16886. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  16887. begin
  16888. pTDefRegMap(@Self)^.clr := $00001000;
  16889. end;
  16890. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  16891. begin
  16892. if thebits = 0 then
  16893. pTDefRegMap(@Self)^.clr := $00001000
  16894. else
  16895. pTDefRegMap(@Self)^.&set := $00001000;
  16896. end;
  16897. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  16898. begin
  16899. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16900. end;
  16901. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  16902. begin
  16903. pTDefRegMap(@Self)^.&set := $00008000;
  16904. end;
  16905. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  16906. begin
  16907. pTDefRegMap(@Self)^.clr := $00008000;
  16908. end;
  16909. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  16910. begin
  16911. if thebits = 0 then
  16912. pTDefRegMap(@Self)^.clr := $00008000
  16913. else
  16914. pTDefRegMap(@Self)^.&set := $00008000;
  16915. end;
  16916. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  16917. begin
  16918. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16919. end;
  16920. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  16921. begin
  16922. pTDefRegMap(@Self)^.&set := $00000001;
  16923. end;
  16924. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  16925. begin
  16926. pTDefRegMap(@Self)^.clr := $00000001;
  16927. end;
  16928. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  16929. begin
  16930. if thebits = 0 then
  16931. pTDefRegMap(@Self)^.clr := $00000001
  16932. else
  16933. pTDefRegMap(@Self)^.&set := $00000001;
  16934. end;
  16935. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  16936. begin
  16937. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16938. end;
  16939. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  16940. begin
  16941. pTDefRegMap(@Self)^.&set := $00000002;
  16942. end;
  16943. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  16944. begin
  16945. pTDefRegMap(@Self)^.clr := $00000002;
  16946. end;
  16947. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  16948. begin
  16949. if thebits = 0 then
  16950. pTDefRegMap(@Self)^.clr := $00000002
  16951. else
  16952. pTDefRegMap(@Self)^.&set := $00000002;
  16953. end;
  16954. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  16955. begin
  16956. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16957. end;
  16958. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  16959. begin
  16960. pTDefRegMap(@Self)^.val := thebits;
  16961. end;
  16962. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  16963. begin
  16964. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16965. end;
  16966. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  16967. begin
  16968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16969. end;
  16970. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  16971. begin
  16972. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16973. end;
  16974. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  16975. begin
  16976. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16977. end;
  16978. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  16979. begin
  16980. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16981. end;
  16982. procedure TSPI2_SPI2CON.setDISSDI; inline;
  16983. begin
  16984. pTDefRegMap(@Self)^.&set := $00000010;
  16985. end;
  16986. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  16987. begin
  16988. pTDefRegMap(@Self)^.clr := $00000010;
  16989. end;
  16990. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  16991. begin
  16992. if thebits = 0 then
  16993. pTDefRegMap(@Self)^.clr := $00000010
  16994. else
  16995. pTDefRegMap(@Self)^.&set := $00000010;
  16996. end;
  16997. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  16998. begin
  16999. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17000. end;
  17001. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17002. begin
  17003. pTDefRegMap(@Self)^.&set := $00000020;
  17004. end;
  17005. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17006. begin
  17007. pTDefRegMap(@Self)^.clr := $00000020;
  17008. end;
  17009. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17010. begin
  17011. if thebits = 0 then
  17012. pTDefRegMap(@Self)^.clr := $00000020
  17013. else
  17014. pTDefRegMap(@Self)^.&set := $00000020;
  17015. end;
  17016. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17017. begin
  17018. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17019. end;
  17020. procedure TSPI2_SPI2CON.setCKP; inline;
  17021. begin
  17022. pTDefRegMap(@Self)^.&set := $00000040;
  17023. end;
  17024. procedure TSPI2_SPI2CON.clearCKP; inline;
  17025. begin
  17026. pTDefRegMap(@Self)^.clr := $00000040;
  17027. end;
  17028. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17029. begin
  17030. if thebits = 0 then
  17031. pTDefRegMap(@Self)^.clr := $00000040
  17032. else
  17033. pTDefRegMap(@Self)^.&set := $00000040;
  17034. end;
  17035. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17036. begin
  17037. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17038. end;
  17039. procedure TSPI2_SPI2CON.setSSEN; inline;
  17040. begin
  17041. pTDefRegMap(@Self)^.&set := $00000080;
  17042. end;
  17043. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17044. begin
  17045. pTDefRegMap(@Self)^.clr := $00000080;
  17046. end;
  17047. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17048. begin
  17049. if thebits = 0 then
  17050. pTDefRegMap(@Self)^.clr := $00000080
  17051. else
  17052. pTDefRegMap(@Self)^.&set := $00000080;
  17053. end;
  17054. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17055. begin
  17056. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17057. end;
  17058. procedure TSPI2_SPI2CON.setCKE; inline;
  17059. begin
  17060. pTDefRegMap(@Self)^.&set := $00000100;
  17061. end;
  17062. procedure TSPI2_SPI2CON.clearCKE; inline;
  17063. begin
  17064. pTDefRegMap(@Self)^.clr := $00000100;
  17065. end;
  17066. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17067. begin
  17068. if thebits = 0 then
  17069. pTDefRegMap(@Self)^.clr := $00000100
  17070. else
  17071. pTDefRegMap(@Self)^.&set := $00000100;
  17072. end;
  17073. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17074. begin
  17075. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17076. end;
  17077. procedure TSPI2_SPI2CON.setSMP; inline;
  17078. begin
  17079. pTDefRegMap(@Self)^.&set := $00000200;
  17080. end;
  17081. procedure TSPI2_SPI2CON.clearSMP; inline;
  17082. begin
  17083. pTDefRegMap(@Self)^.clr := $00000200;
  17084. end;
  17085. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17086. begin
  17087. if thebits = 0 then
  17088. pTDefRegMap(@Self)^.clr := $00000200
  17089. else
  17090. pTDefRegMap(@Self)^.&set := $00000200;
  17091. end;
  17092. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17093. begin
  17094. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17095. end;
  17096. procedure TSPI2_SPI2CON.setMODE16; inline;
  17097. begin
  17098. pTDefRegMap(@Self)^.&set := $00000400;
  17099. end;
  17100. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17101. begin
  17102. pTDefRegMap(@Self)^.clr := $00000400;
  17103. end;
  17104. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17105. begin
  17106. if thebits = 0 then
  17107. pTDefRegMap(@Self)^.clr := $00000400
  17108. else
  17109. pTDefRegMap(@Self)^.&set := $00000400;
  17110. end;
  17111. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17112. begin
  17113. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17114. end;
  17115. procedure TSPI2_SPI2CON.setMODE32; inline;
  17116. begin
  17117. pTDefRegMap(@Self)^.&set := $00000800;
  17118. end;
  17119. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17120. begin
  17121. pTDefRegMap(@Self)^.clr := $00000800;
  17122. end;
  17123. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17124. begin
  17125. if thebits = 0 then
  17126. pTDefRegMap(@Self)^.clr := $00000800
  17127. else
  17128. pTDefRegMap(@Self)^.&set := $00000800;
  17129. end;
  17130. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17131. begin
  17132. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17133. end;
  17134. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17135. begin
  17136. pTDefRegMap(@Self)^.&set := $00001000;
  17137. end;
  17138. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17139. begin
  17140. pTDefRegMap(@Self)^.clr := $00001000;
  17141. end;
  17142. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17143. begin
  17144. if thebits = 0 then
  17145. pTDefRegMap(@Self)^.clr := $00001000
  17146. else
  17147. pTDefRegMap(@Self)^.&set := $00001000;
  17148. end;
  17149. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17150. begin
  17151. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17152. end;
  17153. procedure TSPI2_SPI2CON.setSIDL; inline;
  17154. begin
  17155. pTDefRegMap(@Self)^.&set := $00002000;
  17156. end;
  17157. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17158. begin
  17159. pTDefRegMap(@Self)^.clr := $00002000;
  17160. end;
  17161. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17162. begin
  17163. if thebits = 0 then
  17164. pTDefRegMap(@Self)^.clr := $00002000
  17165. else
  17166. pTDefRegMap(@Self)^.&set := $00002000;
  17167. end;
  17168. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17169. begin
  17170. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17171. end;
  17172. procedure TSPI2_SPI2CON.setON; inline;
  17173. begin
  17174. pTDefRegMap(@Self)^.&set := $00008000;
  17175. end;
  17176. procedure TSPI2_SPI2CON.clearON; inline;
  17177. begin
  17178. pTDefRegMap(@Self)^.clr := $00008000;
  17179. end;
  17180. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17181. begin
  17182. if thebits = 0 then
  17183. pTDefRegMap(@Self)^.clr := $00008000
  17184. else
  17185. pTDefRegMap(@Self)^.&set := $00008000;
  17186. end;
  17187. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17188. begin
  17189. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17190. end;
  17191. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17192. begin
  17193. pTDefRegMap(@Self)^.&set := $00010000;
  17194. end;
  17195. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17196. begin
  17197. pTDefRegMap(@Self)^.clr := $00010000;
  17198. end;
  17199. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17200. begin
  17201. if thebits = 0 then
  17202. pTDefRegMap(@Self)^.clr := $00010000
  17203. else
  17204. pTDefRegMap(@Self)^.&set := $00010000;
  17205. end;
  17206. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17207. begin
  17208. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17209. end;
  17210. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17211. begin
  17212. pTDefRegMap(@Self)^.&set := $00020000;
  17213. end;
  17214. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17215. begin
  17216. pTDefRegMap(@Self)^.clr := $00020000;
  17217. end;
  17218. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17219. begin
  17220. if thebits = 0 then
  17221. pTDefRegMap(@Self)^.clr := $00020000
  17222. else
  17223. pTDefRegMap(@Self)^.&set := $00020000;
  17224. end;
  17225. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17226. begin
  17227. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17228. end;
  17229. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17230. begin
  17231. pTDefRegMap(@Self)^.&set := $00800000;
  17232. end;
  17233. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17234. begin
  17235. pTDefRegMap(@Self)^.clr := $00800000;
  17236. end;
  17237. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17238. begin
  17239. if thebits = 0 then
  17240. pTDefRegMap(@Self)^.clr := $00800000
  17241. else
  17242. pTDefRegMap(@Self)^.&set := $00800000;
  17243. end;
  17244. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17245. begin
  17246. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17247. end;
  17248. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17249. begin
  17250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17251. end;
  17252. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17253. begin
  17254. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17255. end;
  17256. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17257. begin
  17258. pTDefRegMap(@Self)^.&set := $08000000;
  17259. end;
  17260. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17261. begin
  17262. pTDefRegMap(@Self)^.clr := $08000000;
  17263. end;
  17264. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17265. begin
  17266. if thebits = 0 then
  17267. pTDefRegMap(@Self)^.clr := $08000000
  17268. else
  17269. pTDefRegMap(@Self)^.&set := $08000000;
  17270. end;
  17271. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17272. begin
  17273. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17274. end;
  17275. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17276. begin
  17277. pTDefRegMap(@Self)^.&set := $10000000;
  17278. end;
  17279. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17280. begin
  17281. pTDefRegMap(@Self)^.clr := $10000000;
  17282. end;
  17283. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17284. begin
  17285. if thebits = 0 then
  17286. pTDefRegMap(@Self)^.clr := $10000000
  17287. else
  17288. pTDefRegMap(@Self)^.&set := $10000000;
  17289. end;
  17290. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17291. begin
  17292. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17293. end;
  17294. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17295. begin
  17296. pTDefRegMap(@Self)^.&set := $20000000;
  17297. end;
  17298. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17299. begin
  17300. pTDefRegMap(@Self)^.clr := $20000000;
  17301. end;
  17302. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17303. begin
  17304. if thebits = 0 then
  17305. pTDefRegMap(@Self)^.clr := $20000000
  17306. else
  17307. pTDefRegMap(@Self)^.&set := $20000000;
  17308. end;
  17309. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17310. begin
  17311. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17312. end;
  17313. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17314. begin
  17315. pTDefRegMap(@Self)^.&set := $40000000;
  17316. end;
  17317. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17318. begin
  17319. pTDefRegMap(@Self)^.clr := $40000000;
  17320. end;
  17321. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17322. begin
  17323. if thebits = 0 then
  17324. pTDefRegMap(@Self)^.clr := $40000000
  17325. else
  17326. pTDefRegMap(@Self)^.&set := $40000000;
  17327. end;
  17328. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17329. begin
  17330. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17331. end;
  17332. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17333. begin
  17334. pTDefRegMap(@Self)^.&set := $80000000;
  17335. end;
  17336. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17337. begin
  17338. pTDefRegMap(@Self)^.clr := $80000000;
  17339. end;
  17340. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17341. begin
  17342. if thebits = 0 then
  17343. pTDefRegMap(@Self)^.clr := $80000000
  17344. else
  17345. pTDefRegMap(@Self)^.&set := $80000000;
  17346. end;
  17347. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17348. begin
  17349. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17350. end;
  17351. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17352. begin
  17353. pTDefRegMap(@Self)^.val := thebits;
  17354. end;
  17355. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17356. begin
  17357. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17358. end;
  17359. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17360. begin
  17361. pTDefRegMap(@Self)^.&set := $00000001;
  17362. end;
  17363. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17364. begin
  17365. pTDefRegMap(@Self)^.clr := $00000001;
  17366. end;
  17367. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17368. begin
  17369. if thebits = 0 then
  17370. pTDefRegMap(@Self)^.clr := $00000001
  17371. else
  17372. pTDefRegMap(@Self)^.&set := $00000001;
  17373. end;
  17374. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17375. begin
  17376. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17377. end;
  17378. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17379. begin
  17380. pTDefRegMap(@Self)^.&set := $00000002;
  17381. end;
  17382. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17383. begin
  17384. pTDefRegMap(@Self)^.clr := $00000002;
  17385. end;
  17386. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17387. begin
  17388. if thebits = 0 then
  17389. pTDefRegMap(@Self)^.clr := $00000002
  17390. else
  17391. pTDefRegMap(@Self)^.&set := $00000002;
  17392. end;
  17393. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17394. begin
  17395. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17396. end;
  17397. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17398. begin
  17399. pTDefRegMap(@Self)^.&set := $00000008;
  17400. end;
  17401. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17402. begin
  17403. pTDefRegMap(@Self)^.clr := $00000008;
  17404. end;
  17405. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17406. begin
  17407. if thebits = 0 then
  17408. pTDefRegMap(@Self)^.clr := $00000008
  17409. else
  17410. pTDefRegMap(@Self)^.&set := $00000008;
  17411. end;
  17412. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17413. begin
  17414. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17415. end;
  17416. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17417. begin
  17418. pTDefRegMap(@Self)^.&set := $00000020;
  17419. end;
  17420. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17421. begin
  17422. pTDefRegMap(@Self)^.clr := $00000020;
  17423. end;
  17424. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17425. begin
  17426. if thebits = 0 then
  17427. pTDefRegMap(@Self)^.clr := $00000020
  17428. else
  17429. pTDefRegMap(@Self)^.&set := $00000020;
  17430. end;
  17431. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17432. begin
  17433. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17434. end;
  17435. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17436. begin
  17437. pTDefRegMap(@Self)^.&set := $00000040;
  17438. end;
  17439. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17440. begin
  17441. pTDefRegMap(@Self)^.clr := $00000040;
  17442. end;
  17443. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17444. begin
  17445. if thebits = 0 then
  17446. pTDefRegMap(@Self)^.clr := $00000040
  17447. else
  17448. pTDefRegMap(@Self)^.&set := $00000040;
  17449. end;
  17450. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17451. begin
  17452. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17453. end;
  17454. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17455. begin
  17456. pTDefRegMap(@Self)^.&set := $00000080;
  17457. end;
  17458. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17459. begin
  17460. pTDefRegMap(@Self)^.clr := $00000080;
  17461. end;
  17462. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17463. begin
  17464. if thebits = 0 then
  17465. pTDefRegMap(@Self)^.clr := $00000080
  17466. else
  17467. pTDefRegMap(@Self)^.&set := $00000080;
  17468. end;
  17469. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17470. begin
  17471. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17472. end;
  17473. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17474. begin
  17475. pTDefRegMap(@Self)^.&set := $00000100;
  17476. end;
  17477. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17478. begin
  17479. pTDefRegMap(@Self)^.clr := $00000100;
  17480. end;
  17481. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17482. begin
  17483. if thebits = 0 then
  17484. pTDefRegMap(@Self)^.clr := $00000100
  17485. else
  17486. pTDefRegMap(@Self)^.&set := $00000100;
  17487. end;
  17488. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17489. begin
  17490. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17491. end;
  17492. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17493. begin
  17494. pTDefRegMap(@Self)^.&set := $00000800;
  17495. end;
  17496. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17497. begin
  17498. pTDefRegMap(@Self)^.clr := $00000800;
  17499. end;
  17500. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17501. begin
  17502. if thebits = 0 then
  17503. pTDefRegMap(@Self)^.clr := $00000800
  17504. else
  17505. pTDefRegMap(@Self)^.&set := $00000800;
  17506. end;
  17507. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17508. begin
  17509. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17510. end;
  17511. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17512. begin
  17513. pTDefRegMap(@Self)^.&set := $00001000;
  17514. end;
  17515. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17516. begin
  17517. pTDefRegMap(@Self)^.clr := $00001000;
  17518. end;
  17519. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17520. begin
  17521. if thebits = 0 then
  17522. pTDefRegMap(@Self)^.clr := $00001000
  17523. else
  17524. pTDefRegMap(@Self)^.&set := $00001000;
  17525. end;
  17526. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17527. begin
  17528. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17529. end;
  17530. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17531. begin
  17532. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17533. end;
  17534. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17535. begin
  17536. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17537. end;
  17538. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17539. begin
  17540. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17541. end;
  17542. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17543. begin
  17544. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17545. end;
  17546. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17547. begin
  17548. pTDefRegMap(@Self)^.val := thebits;
  17549. end;
  17550. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17551. begin
  17552. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17553. end;
  17554. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17555. begin
  17556. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17557. end;
  17558. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17559. begin
  17560. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17561. end;
  17562. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17563. begin
  17564. pTDefRegMap(@Self)^.&set := $00000008;
  17565. end;
  17566. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17567. begin
  17568. pTDefRegMap(@Self)^.clr := $00000008;
  17569. end;
  17570. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17571. begin
  17572. if thebits = 0 then
  17573. pTDefRegMap(@Self)^.clr := $00000008
  17574. else
  17575. pTDefRegMap(@Self)^.&set := $00000008;
  17576. end;
  17577. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17578. begin
  17579. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17580. end;
  17581. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17582. begin
  17583. pTDefRegMap(@Self)^.&set := $00000080;
  17584. end;
  17585. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17586. begin
  17587. pTDefRegMap(@Self)^.clr := $00000080;
  17588. end;
  17589. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17590. begin
  17591. if thebits = 0 then
  17592. pTDefRegMap(@Self)^.clr := $00000080
  17593. else
  17594. pTDefRegMap(@Self)^.&set := $00000080;
  17595. end;
  17596. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17597. begin
  17598. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17599. end;
  17600. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17601. begin
  17602. pTDefRegMap(@Self)^.&set := $00000100;
  17603. end;
  17604. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17605. begin
  17606. pTDefRegMap(@Self)^.clr := $00000100;
  17607. end;
  17608. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17609. begin
  17610. if thebits = 0 then
  17611. pTDefRegMap(@Self)^.clr := $00000100
  17612. else
  17613. pTDefRegMap(@Self)^.&set := $00000100;
  17614. end;
  17615. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17616. begin
  17617. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17618. end;
  17619. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17620. begin
  17621. pTDefRegMap(@Self)^.&set := $00000200;
  17622. end;
  17623. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17624. begin
  17625. pTDefRegMap(@Self)^.clr := $00000200;
  17626. end;
  17627. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17628. begin
  17629. if thebits = 0 then
  17630. pTDefRegMap(@Self)^.clr := $00000200
  17631. else
  17632. pTDefRegMap(@Self)^.&set := $00000200;
  17633. end;
  17634. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17635. begin
  17636. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17637. end;
  17638. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17639. begin
  17640. pTDefRegMap(@Self)^.&set := $00000400;
  17641. end;
  17642. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17643. begin
  17644. pTDefRegMap(@Self)^.clr := $00000400;
  17645. end;
  17646. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17647. begin
  17648. if thebits = 0 then
  17649. pTDefRegMap(@Self)^.clr := $00000400
  17650. else
  17651. pTDefRegMap(@Self)^.&set := $00000400;
  17652. end;
  17653. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17654. begin
  17655. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17656. end;
  17657. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17658. begin
  17659. pTDefRegMap(@Self)^.&set := $00000800;
  17660. end;
  17661. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17662. begin
  17663. pTDefRegMap(@Self)^.clr := $00000800;
  17664. end;
  17665. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17666. begin
  17667. if thebits = 0 then
  17668. pTDefRegMap(@Self)^.clr := $00000800
  17669. else
  17670. pTDefRegMap(@Self)^.&set := $00000800;
  17671. end;
  17672. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17673. begin
  17674. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17675. end;
  17676. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17677. begin
  17678. pTDefRegMap(@Self)^.&set := $00001000;
  17679. end;
  17680. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17681. begin
  17682. pTDefRegMap(@Self)^.clr := $00001000;
  17683. end;
  17684. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17685. begin
  17686. if thebits = 0 then
  17687. pTDefRegMap(@Self)^.clr := $00001000
  17688. else
  17689. pTDefRegMap(@Self)^.&set := $00001000;
  17690. end;
  17691. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17692. begin
  17693. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17694. end;
  17695. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17696. begin
  17697. pTDefRegMap(@Self)^.&set := $00008000;
  17698. end;
  17699. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17700. begin
  17701. pTDefRegMap(@Self)^.clr := $00008000;
  17702. end;
  17703. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17704. begin
  17705. if thebits = 0 then
  17706. pTDefRegMap(@Self)^.clr := $00008000
  17707. else
  17708. pTDefRegMap(@Self)^.&set := $00008000;
  17709. end;
  17710. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  17711. begin
  17712. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17713. end;
  17714. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  17715. begin
  17716. pTDefRegMap(@Self)^.&set := $00000001;
  17717. end;
  17718. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  17719. begin
  17720. pTDefRegMap(@Self)^.clr := $00000001;
  17721. end;
  17722. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  17723. begin
  17724. if thebits = 0 then
  17725. pTDefRegMap(@Self)^.clr := $00000001
  17726. else
  17727. pTDefRegMap(@Self)^.&set := $00000001;
  17728. end;
  17729. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  17730. begin
  17731. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17732. end;
  17733. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  17734. begin
  17735. pTDefRegMap(@Self)^.&set := $00000002;
  17736. end;
  17737. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  17738. begin
  17739. pTDefRegMap(@Self)^.clr := $00000002;
  17740. end;
  17741. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  17742. begin
  17743. if thebits = 0 then
  17744. pTDefRegMap(@Self)^.clr := $00000002
  17745. else
  17746. pTDefRegMap(@Self)^.&set := $00000002;
  17747. end;
  17748. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  17749. begin
  17750. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17751. end;
  17752. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  17753. begin
  17754. pTDefRegMap(@Self)^.val := thebits;
  17755. end;
  17756. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  17757. begin
  17758. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17759. end;
  17760. procedure TUART1_U1AMODE.setSTSEL; inline;
  17761. begin
  17762. pTDefRegMap(@Self)^.&set := $00000001;
  17763. end;
  17764. procedure TUART1_U1AMODE.clearSTSEL; inline;
  17765. begin
  17766. pTDefRegMap(@Self)^.clr := $00000001;
  17767. end;
  17768. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  17769. begin
  17770. if thebits = 0 then
  17771. pTDefRegMap(@Self)^.clr := $00000001
  17772. else
  17773. pTDefRegMap(@Self)^.&set := $00000001;
  17774. end;
  17775. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  17776. begin
  17777. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17778. end;
  17779. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  17780. begin
  17781. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  17782. end;
  17783. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  17784. begin
  17785. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  17786. end;
  17787. procedure TUART1_U1AMODE.setBRGH; inline;
  17788. begin
  17789. pTDefRegMap(@Self)^.&set := $00000008;
  17790. end;
  17791. procedure TUART1_U1AMODE.clearBRGH; inline;
  17792. begin
  17793. pTDefRegMap(@Self)^.clr := $00000008;
  17794. end;
  17795. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  17796. begin
  17797. if thebits = 0 then
  17798. pTDefRegMap(@Self)^.clr := $00000008
  17799. else
  17800. pTDefRegMap(@Self)^.&set := $00000008;
  17801. end;
  17802. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  17803. begin
  17804. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17805. end;
  17806. procedure TUART1_U1AMODE.setRXINV; inline;
  17807. begin
  17808. pTDefRegMap(@Self)^.&set := $00000010;
  17809. end;
  17810. procedure TUART1_U1AMODE.clearRXINV; inline;
  17811. begin
  17812. pTDefRegMap(@Self)^.clr := $00000010;
  17813. end;
  17814. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  17815. begin
  17816. if thebits = 0 then
  17817. pTDefRegMap(@Self)^.clr := $00000010
  17818. else
  17819. pTDefRegMap(@Self)^.&set := $00000010;
  17820. end;
  17821. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  17822. begin
  17823. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17824. end;
  17825. procedure TUART1_U1AMODE.setABAUD; inline;
  17826. begin
  17827. pTDefRegMap(@Self)^.&set := $00000020;
  17828. end;
  17829. procedure TUART1_U1AMODE.clearABAUD; inline;
  17830. begin
  17831. pTDefRegMap(@Self)^.clr := $00000020;
  17832. end;
  17833. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  17834. begin
  17835. if thebits = 0 then
  17836. pTDefRegMap(@Self)^.clr := $00000020
  17837. else
  17838. pTDefRegMap(@Self)^.&set := $00000020;
  17839. end;
  17840. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  17841. begin
  17842. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17843. end;
  17844. procedure TUART1_U1AMODE.setLPBACK; inline;
  17845. begin
  17846. pTDefRegMap(@Self)^.&set := $00000040;
  17847. end;
  17848. procedure TUART1_U1AMODE.clearLPBACK; inline;
  17849. begin
  17850. pTDefRegMap(@Self)^.clr := $00000040;
  17851. end;
  17852. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  17853. begin
  17854. if thebits = 0 then
  17855. pTDefRegMap(@Self)^.clr := $00000040
  17856. else
  17857. pTDefRegMap(@Self)^.&set := $00000040;
  17858. end;
  17859. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  17860. begin
  17861. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17862. end;
  17863. procedure TUART1_U1AMODE.setWAKE; inline;
  17864. begin
  17865. pTDefRegMap(@Self)^.&set := $00000080;
  17866. end;
  17867. procedure TUART1_U1AMODE.clearWAKE; inline;
  17868. begin
  17869. pTDefRegMap(@Self)^.clr := $00000080;
  17870. end;
  17871. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  17872. begin
  17873. if thebits = 0 then
  17874. pTDefRegMap(@Self)^.clr := $00000080
  17875. else
  17876. pTDefRegMap(@Self)^.&set := $00000080;
  17877. end;
  17878. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  17879. begin
  17880. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17881. end;
  17882. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  17883. begin
  17884. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  17885. end;
  17886. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  17887. begin
  17888. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  17889. end;
  17890. procedure TUART1_U1AMODE.setRTSMD; inline;
  17891. begin
  17892. pTDefRegMap(@Self)^.&set := $00000800;
  17893. end;
  17894. procedure TUART1_U1AMODE.clearRTSMD; inline;
  17895. begin
  17896. pTDefRegMap(@Self)^.clr := $00000800;
  17897. end;
  17898. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  17899. begin
  17900. if thebits = 0 then
  17901. pTDefRegMap(@Self)^.clr := $00000800
  17902. else
  17903. pTDefRegMap(@Self)^.&set := $00000800;
  17904. end;
  17905. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  17906. begin
  17907. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17908. end;
  17909. procedure TUART1_U1AMODE.setIREN; inline;
  17910. begin
  17911. pTDefRegMap(@Self)^.&set := $00001000;
  17912. end;
  17913. procedure TUART1_U1AMODE.clearIREN; inline;
  17914. begin
  17915. pTDefRegMap(@Self)^.clr := $00001000;
  17916. end;
  17917. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  17918. begin
  17919. if thebits = 0 then
  17920. pTDefRegMap(@Self)^.clr := $00001000
  17921. else
  17922. pTDefRegMap(@Self)^.&set := $00001000;
  17923. end;
  17924. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  17925. begin
  17926. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17927. end;
  17928. procedure TUART1_U1AMODE.setSIDL; inline;
  17929. begin
  17930. pTDefRegMap(@Self)^.&set := $00002000;
  17931. end;
  17932. procedure TUART1_U1AMODE.clearSIDL; inline;
  17933. begin
  17934. pTDefRegMap(@Self)^.clr := $00002000;
  17935. end;
  17936. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  17937. begin
  17938. if thebits = 0 then
  17939. pTDefRegMap(@Self)^.clr := $00002000
  17940. else
  17941. pTDefRegMap(@Self)^.&set := $00002000;
  17942. end;
  17943. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  17944. begin
  17945. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17946. end;
  17947. procedure TUART1_U1AMODE.setON; inline;
  17948. begin
  17949. pTDefRegMap(@Self)^.&set := $00008000;
  17950. end;
  17951. procedure TUART1_U1AMODE.clearON; inline;
  17952. begin
  17953. pTDefRegMap(@Self)^.clr := $00008000;
  17954. end;
  17955. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  17956. begin
  17957. if thebits = 0 then
  17958. pTDefRegMap(@Self)^.clr := $00008000
  17959. else
  17960. pTDefRegMap(@Self)^.&set := $00008000;
  17961. end;
  17962. function TUART1_U1AMODE.getON : TBits_1; inline;
  17963. begin
  17964. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17965. end;
  17966. procedure TUART1_U1AMODE.setPDSEL0; inline;
  17967. begin
  17968. pTDefRegMap(@Self)^.&set := $00000002;
  17969. end;
  17970. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  17971. begin
  17972. pTDefRegMap(@Self)^.clr := $00000002;
  17973. end;
  17974. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  17975. begin
  17976. if thebits = 0 then
  17977. pTDefRegMap(@Self)^.clr := $00000002
  17978. else
  17979. pTDefRegMap(@Self)^.&set := $00000002;
  17980. end;
  17981. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  17982. begin
  17983. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17984. end;
  17985. procedure TUART1_U1AMODE.setPDSEL1; inline;
  17986. begin
  17987. pTDefRegMap(@Self)^.&set := $00000004;
  17988. end;
  17989. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  17990. begin
  17991. pTDefRegMap(@Self)^.clr := $00000004;
  17992. end;
  17993. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  17994. begin
  17995. if thebits = 0 then
  17996. pTDefRegMap(@Self)^.clr := $00000004
  17997. else
  17998. pTDefRegMap(@Self)^.&set := $00000004;
  17999. end;
  18000. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18001. begin
  18002. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18003. end;
  18004. procedure TUART1_U1AMODE.setUEN0; inline;
  18005. begin
  18006. pTDefRegMap(@Self)^.&set := $00000100;
  18007. end;
  18008. procedure TUART1_U1AMODE.clearUEN0; inline;
  18009. begin
  18010. pTDefRegMap(@Self)^.clr := $00000100;
  18011. end;
  18012. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18013. begin
  18014. if thebits = 0 then
  18015. pTDefRegMap(@Self)^.clr := $00000100
  18016. else
  18017. pTDefRegMap(@Self)^.&set := $00000100;
  18018. end;
  18019. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18020. begin
  18021. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18022. end;
  18023. procedure TUART1_U1AMODE.setUEN1; inline;
  18024. begin
  18025. pTDefRegMap(@Self)^.&set := $00000200;
  18026. end;
  18027. procedure TUART1_U1AMODE.clearUEN1; inline;
  18028. begin
  18029. pTDefRegMap(@Self)^.clr := $00000200;
  18030. end;
  18031. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18032. begin
  18033. if thebits = 0 then
  18034. pTDefRegMap(@Self)^.clr := $00000200
  18035. else
  18036. pTDefRegMap(@Self)^.&set := $00000200;
  18037. end;
  18038. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18039. begin
  18040. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18041. end;
  18042. procedure TUART1_U1AMODE.setUSIDL; inline;
  18043. begin
  18044. pTDefRegMap(@Self)^.&set := $00002000;
  18045. end;
  18046. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18047. begin
  18048. pTDefRegMap(@Self)^.clr := $00002000;
  18049. end;
  18050. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18051. begin
  18052. if thebits = 0 then
  18053. pTDefRegMap(@Self)^.clr := $00002000
  18054. else
  18055. pTDefRegMap(@Self)^.&set := $00002000;
  18056. end;
  18057. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18058. begin
  18059. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18060. end;
  18061. procedure TUART1_U1AMODE.setUARTEN; inline;
  18062. begin
  18063. pTDefRegMap(@Self)^.&set := $00008000;
  18064. end;
  18065. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18066. begin
  18067. pTDefRegMap(@Self)^.clr := $00008000;
  18068. end;
  18069. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18070. begin
  18071. if thebits = 0 then
  18072. pTDefRegMap(@Self)^.clr := $00008000
  18073. else
  18074. pTDefRegMap(@Self)^.&set := $00008000;
  18075. end;
  18076. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18077. begin
  18078. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18079. end;
  18080. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18081. begin
  18082. pTDefRegMap(@Self)^.val := thebits;
  18083. end;
  18084. function TUART1_U1AMODE.getw : TBits_32; inline;
  18085. begin
  18086. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18087. end;
  18088. procedure TUART1_U1MODE.setSTSEL; inline;
  18089. begin
  18090. pTDefRegMap(@Self)^.&set := $00000001;
  18091. end;
  18092. procedure TUART1_U1MODE.clearSTSEL; inline;
  18093. begin
  18094. pTDefRegMap(@Self)^.clr := $00000001;
  18095. end;
  18096. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18097. begin
  18098. if thebits = 0 then
  18099. pTDefRegMap(@Self)^.clr := $00000001
  18100. else
  18101. pTDefRegMap(@Self)^.&set := $00000001;
  18102. end;
  18103. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18104. begin
  18105. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18106. end;
  18107. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18108. begin
  18109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18110. end;
  18111. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18112. begin
  18113. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18114. end;
  18115. procedure TUART1_U1MODE.setBRGH; inline;
  18116. begin
  18117. pTDefRegMap(@Self)^.&set := $00000008;
  18118. end;
  18119. procedure TUART1_U1MODE.clearBRGH; inline;
  18120. begin
  18121. pTDefRegMap(@Self)^.clr := $00000008;
  18122. end;
  18123. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18124. begin
  18125. if thebits = 0 then
  18126. pTDefRegMap(@Self)^.clr := $00000008
  18127. else
  18128. pTDefRegMap(@Self)^.&set := $00000008;
  18129. end;
  18130. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18131. begin
  18132. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18133. end;
  18134. procedure TUART1_U1MODE.setRXINV; inline;
  18135. begin
  18136. pTDefRegMap(@Self)^.&set := $00000010;
  18137. end;
  18138. procedure TUART1_U1MODE.clearRXINV; inline;
  18139. begin
  18140. pTDefRegMap(@Self)^.clr := $00000010;
  18141. end;
  18142. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18143. begin
  18144. if thebits = 0 then
  18145. pTDefRegMap(@Self)^.clr := $00000010
  18146. else
  18147. pTDefRegMap(@Self)^.&set := $00000010;
  18148. end;
  18149. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18150. begin
  18151. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18152. end;
  18153. procedure TUART1_U1MODE.setABAUD; inline;
  18154. begin
  18155. pTDefRegMap(@Self)^.&set := $00000020;
  18156. end;
  18157. procedure TUART1_U1MODE.clearABAUD; inline;
  18158. begin
  18159. pTDefRegMap(@Self)^.clr := $00000020;
  18160. end;
  18161. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18162. begin
  18163. if thebits = 0 then
  18164. pTDefRegMap(@Self)^.clr := $00000020
  18165. else
  18166. pTDefRegMap(@Self)^.&set := $00000020;
  18167. end;
  18168. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18169. begin
  18170. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18171. end;
  18172. procedure TUART1_U1MODE.setLPBACK; inline;
  18173. begin
  18174. pTDefRegMap(@Self)^.&set := $00000040;
  18175. end;
  18176. procedure TUART1_U1MODE.clearLPBACK; inline;
  18177. begin
  18178. pTDefRegMap(@Self)^.clr := $00000040;
  18179. end;
  18180. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18181. begin
  18182. if thebits = 0 then
  18183. pTDefRegMap(@Self)^.clr := $00000040
  18184. else
  18185. pTDefRegMap(@Self)^.&set := $00000040;
  18186. end;
  18187. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18188. begin
  18189. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18190. end;
  18191. procedure TUART1_U1MODE.setWAKE; inline;
  18192. begin
  18193. pTDefRegMap(@Self)^.&set := $00000080;
  18194. end;
  18195. procedure TUART1_U1MODE.clearWAKE; inline;
  18196. begin
  18197. pTDefRegMap(@Self)^.clr := $00000080;
  18198. end;
  18199. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18200. begin
  18201. if thebits = 0 then
  18202. pTDefRegMap(@Self)^.clr := $00000080
  18203. else
  18204. pTDefRegMap(@Self)^.&set := $00000080;
  18205. end;
  18206. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18207. begin
  18208. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18209. end;
  18210. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18211. begin
  18212. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18213. end;
  18214. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18215. begin
  18216. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18217. end;
  18218. procedure TUART1_U1MODE.setRTSMD; inline;
  18219. begin
  18220. pTDefRegMap(@Self)^.&set := $00000800;
  18221. end;
  18222. procedure TUART1_U1MODE.clearRTSMD; inline;
  18223. begin
  18224. pTDefRegMap(@Self)^.clr := $00000800;
  18225. end;
  18226. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18227. begin
  18228. if thebits = 0 then
  18229. pTDefRegMap(@Self)^.clr := $00000800
  18230. else
  18231. pTDefRegMap(@Self)^.&set := $00000800;
  18232. end;
  18233. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18234. begin
  18235. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18236. end;
  18237. procedure TUART1_U1MODE.setIREN; inline;
  18238. begin
  18239. pTDefRegMap(@Self)^.&set := $00001000;
  18240. end;
  18241. procedure TUART1_U1MODE.clearIREN; inline;
  18242. begin
  18243. pTDefRegMap(@Self)^.clr := $00001000;
  18244. end;
  18245. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18246. begin
  18247. if thebits = 0 then
  18248. pTDefRegMap(@Self)^.clr := $00001000
  18249. else
  18250. pTDefRegMap(@Self)^.&set := $00001000;
  18251. end;
  18252. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18253. begin
  18254. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18255. end;
  18256. procedure TUART1_U1MODE.setSIDL; inline;
  18257. begin
  18258. pTDefRegMap(@Self)^.&set := $00002000;
  18259. end;
  18260. procedure TUART1_U1MODE.clearSIDL; inline;
  18261. begin
  18262. pTDefRegMap(@Self)^.clr := $00002000;
  18263. end;
  18264. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18265. begin
  18266. if thebits = 0 then
  18267. pTDefRegMap(@Self)^.clr := $00002000
  18268. else
  18269. pTDefRegMap(@Self)^.&set := $00002000;
  18270. end;
  18271. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18272. begin
  18273. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18274. end;
  18275. procedure TUART1_U1MODE.setON; inline;
  18276. begin
  18277. pTDefRegMap(@Self)^.&set := $00008000;
  18278. end;
  18279. procedure TUART1_U1MODE.clearON; inline;
  18280. begin
  18281. pTDefRegMap(@Self)^.clr := $00008000;
  18282. end;
  18283. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18284. begin
  18285. if thebits = 0 then
  18286. pTDefRegMap(@Self)^.clr := $00008000
  18287. else
  18288. pTDefRegMap(@Self)^.&set := $00008000;
  18289. end;
  18290. function TUART1_U1MODE.getON : TBits_1; inline;
  18291. begin
  18292. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18293. end;
  18294. procedure TUART1_U1MODE.setPDSEL0; inline;
  18295. begin
  18296. pTDefRegMap(@Self)^.&set := $00000002;
  18297. end;
  18298. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18299. begin
  18300. pTDefRegMap(@Self)^.clr := $00000002;
  18301. end;
  18302. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18303. begin
  18304. if thebits = 0 then
  18305. pTDefRegMap(@Self)^.clr := $00000002
  18306. else
  18307. pTDefRegMap(@Self)^.&set := $00000002;
  18308. end;
  18309. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18310. begin
  18311. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18312. end;
  18313. procedure TUART1_U1MODE.setPDSEL1; inline;
  18314. begin
  18315. pTDefRegMap(@Self)^.&set := $00000004;
  18316. end;
  18317. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18318. begin
  18319. pTDefRegMap(@Self)^.clr := $00000004;
  18320. end;
  18321. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18322. begin
  18323. if thebits = 0 then
  18324. pTDefRegMap(@Self)^.clr := $00000004
  18325. else
  18326. pTDefRegMap(@Self)^.&set := $00000004;
  18327. end;
  18328. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18329. begin
  18330. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18331. end;
  18332. procedure TUART1_U1MODE.setUEN0; inline;
  18333. begin
  18334. pTDefRegMap(@Self)^.&set := $00000100;
  18335. end;
  18336. procedure TUART1_U1MODE.clearUEN0; inline;
  18337. begin
  18338. pTDefRegMap(@Self)^.clr := $00000100;
  18339. end;
  18340. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18341. begin
  18342. if thebits = 0 then
  18343. pTDefRegMap(@Self)^.clr := $00000100
  18344. else
  18345. pTDefRegMap(@Self)^.&set := $00000100;
  18346. end;
  18347. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18348. begin
  18349. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18350. end;
  18351. procedure TUART1_U1MODE.setUEN1; inline;
  18352. begin
  18353. pTDefRegMap(@Self)^.&set := $00000200;
  18354. end;
  18355. procedure TUART1_U1MODE.clearUEN1; inline;
  18356. begin
  18357. pTDefRegMap(@Self)^.clr := $00000200;
  18358. end;
  18359. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18360. begin
  18361. if thebits = 0 then
  18362. pTDefRegMap(@Self)^.clr := $00000200
  18363. else
  18364. pTDefRegMap(@Self)^.&set := $00000200;
  18365. end;
  18366. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18367. begin
  18368. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18369. end;
  18370. procedure TUART1_U1MODE.setUSIDL; inline;
  18371. begin
  18372. pTDefRegMap(@Self)^.&set := $00002000;
  18373. end;
  18374. procedure TUART1_U1MODE.clearUSIDL; inline;
  18375. begin
  18376. pTDefRegMap(@Self)^.clr := $00002000;
  18377. end;
  18378. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18379. begin
  18380. if thebits = 0 then
  18381. pTDefRegMap(@Self)^.clr := $00002000
  18382. else
  18383. pTDefRegMap(@Self)^.&set := $00002000;
  18384. end;
  18385. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18386. begin
  18387. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18388. end;
  18389. procedure TUART1_U1MODE.setUARTEN; inline;
  18390. begin
  18391. pTDefRegMap(@Self)^.&set := $00008000;
  18392. end;
  18393. procedure TUART1_U1MODE.clearUARTEN; inline;
  18394. begin
  18395. pTDefRegMap(@Self)^.clr := $00008000;
  18396. end;
  18397. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18398. begin
  18399. if thebits = 0 then
  18400. pTDefRegMap(@Self)^.clr := $00008000
  18401. else
  18402. pTDefRegMap(@Self)^.&set := $00008000;
  18403. end;
  18404. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18405. begin
  18406. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18407. end;
  18408. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18409. begin
  18410. pTDefRegMap(@Self)^.val := thebits;
  18411. end;
  18412. function TUART1_U1MODE.getw : TBits_32; inline;
  18413. begin
  18414. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18415. end;
  18416. procedure TUART1_U1ASTA.setURXDA; inline;
  18417. begin
  18418. pTDefRegMap(@Self)^.&set := $00000001;
  18419. end;
  18420. procedure TUART1_U1ASTA.clearURXDA; inline;
  18421. begin
  18422. pTDefRegMap(@Self)^.clr := $00000001;
  18423. end;
  18424. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18425. begin
  18426. if thebits = 0 then
  18427. pTDefRegMap(@Self)^.clr := $00000001
  18428. else
  18429. pTDefRegMap(@Self)^.&set := $00000001;
  18430. end;
  18431. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18432. begin
  18433. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18434. end;
  18435. procedure TUART1_U1ASTA.setOERR; inline;
  18436. begin
  18437. pTDefRegMap(@Self)^.&set := $00000002;
  18438. end;
  18439. procedure TUART1_U1ASTA.clearOERR; inline;
  18440. begin
  18441. pTDefRegMap(@Self)^.clr := $00000002;
  18442. end;
  18443. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18444. begin
  18445. if thebits = 0 then
  18446. pTDefRegMap(@Self)^.clr := $00000002
  18447. else
  18448. pTDefRegMap(@Self)^.&set := $00000002;
  18449. end;
  18450. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18451. begin
  18452. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18453. end;
  18454. procedure TUART1_U1ASTA.setFERR; inline;
  18455. begin
  18456. pTDefRegMap(@Self)^.&set := $00000004;
  18457. end;
  18458. procedure TUART1_U1ASTA.clearFERR; inline;
  18459. begin
  18460. pTDefRegMap(@Self)^.clr := $00000004;
  18461. end;
  18462. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18463. begin
  18464. if thebits = 0 then
  18465. pTDefRegMap(@Self)^.clr := $00000004
  18466. else
  18467. pTDefRegMap(@Self)^.&set := $00000004;
  18468. end;
  18469. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18470. begin
  18471. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18472. end;
  18473. procedure TUART1_U1ASTA.setPERR; inline;
  18474. begin
  18475. pTDefRegMap(@Self)^.&set := $00000008;
  18476. end;
  18477. procedure TUART1_U1ASTA.clearPERR; inline;
  18478. begin
  18479. pTDefRegMap(@Self)^.clr := $00000008;
  18480. end;
  18481. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18482. begin
  18483. if thebits = 0 then
  18484. pTDefRegMap(@Self)^.clr := $00000008
  18485. else
  18486. pTDefRegMap(@Self)^.&set := $00000008;
  18487. end;
  18488. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18489. begin
  18490. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18491. end;
  18492. procedure TUART1_U1ASTA.setRIDLE; inline;
  18493. begin
  18494. pTDefRegMap(@Self)^.&set := $00000010;
  18495. end;
  18496. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18497. begin
  18498. pTDefRegMap(@Self)^.clr := $00000010;
  18499. end;
  18500. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18501. begin
  18502. if thebits = 0 then
  18503. pTDefRegMap(@Self)^.clr := $00000010
  18504. else
  18505. pTDefRegMap(@Self)^.&set := $00000010;
  18506. end;
  18507. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18508. begin
  18509. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18510. end;
  18511. procedure TUART1_U1ASTA.setADDEN; inline;
  18512. begin
  18513. pTDefRegMap(@Self)^.&set := $00000020;
  18514. end;
  18515. procedure TUART1_U1ASTA.clearADDEN; inline;
  18516. begin
  18517. pTDefRegMap(@Self)^.clr := $00000020;
  18518. end;
  18519. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18520. begin
  18521. if thebits = 0 then
  18522. pTDefRegMap(@Self)^.clr := $00000020
  18523. else
  18524. pTDefRegMap(@Self)^.&set := $00000020;
  18525. end;
  18526. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18527. begin
  18528. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18529. end;
  18530. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18531. begin
  18532. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18533. end;
  18534. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18535. begin
  18536. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18537. end;
  18538. procedure TUART1_U1ASTA.setTRMT; inline;
  18539. begin
  18540. pTDefRegMap(@Self)^.&set := $00000100;
  18541. end;
  18542. procedure TUART1_U1ASTA.clearTRMT; inline;
  18543. begin
  18544. pTDefRegMap(@Self)^.clr := $00000100;
  18545. end;
  18546. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18547. begin
  18548. if thebits = 0 then
  18549. pTDefRegMap(@Self)^.clr := $00000100
  18550. else
  18551. pTDefRegMap(@Self)^.&set := $00000100;
  18552. end;
  18553. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18554. begin
  18555. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18556. end;
  18557. procedure TUART1_U1ASTA.setUTXBF; inline;
  18558. begin
  18559. pTDefRegMap(@Self)^.&set := $00000200;
  18560. end;
  18561. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18562. begin
  18563. pTDefRegMap(@Self)^.clr := $00000200;
  18564. end;
  18565. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18566. begin
  18567. if thebits = 0 then
  18568. pTDefRegMap(@Self)^.clr := $00000200
  18569. else
  18570. pTDefRegMap(@Self)^.&set := $00000200;
  18571. end;
  18572. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18573. begin
  18574. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18575. end;
  18576. procedure TUART1_U1ASTA.setUTXEN; inline;
  18577. begin
  18578. pTDefRegMap(@Self)^.&set := $00000400;
  18579. end;
  18580. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18581. begin
  18582. pTDefRegMap(@Self)^.clr := $00000400;
  18583. end;
  18584. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18585. begin
  18586. if thebits = 0 then
  18587. pTDefRegMap(@Self)^.clr := $00000400
  18588. else
  18589. pTDefRegMap(@Self)^.&set := $00000400;
  18590. end;
  18591. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18592. begin
  18593. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18594. end;
  18595. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18596. begin
  18597. pTDefRegMap(@Self)^.&set := $00000800;
  18598. end;
  18599. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18600. begin
  18601. pTDefRegMap(@Self)^.clr := $00000800;
  18602. end;
  18603. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18604. begin
  18605. if thebits = 0 then
  18606. pTDefRegMap(@Self)^.clr := $00000800
  18607. else
  18608. pTDefRegMap(@Self)^.&set := $00000800;
  18609. end;
  18610. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18611. begin
  18612. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18613. end;
  18614. procedure TUART1_U1ASTA.setURXEN; inline;
  18615. begin
  18616. pTDefRegMap(@Self)^.&set := $00001000;
  18617. end;
  18618. procedure TUART1_U1ASTA.clearURXEN; inline;
  18619. begin
  18620. pTDefRegMap(@Self)^.clr := $00001000;
  18621. end;
  18622. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18623. begin
  18624. if thebits = 0 then
  18625. pTDefRegMap(@Self)^.clr := $00001000
  18626. else
  18627. pTDefRegMap(@Self)^.&set := $00001000;
  18628. end;
  18629. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18630. begin
  18631. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18632. end;
  18633. procedure TUART1_U1ASTA.setUTXINV; inline;
  18634. begin
  18635. pTDefRegMap(@Self)^.&set := $00002000;
  18636. end;
  18637. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18638. begin
  18639. pTDefRegMap(@Self)^.clr := $00002000;
  18640. end;
  18641. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18642. begin
  18643. if thebits = 0 then
  18644. pTDefRegMap(@Self)^.clr := $00002000
  18645. else
  18646. pTDefRegMap(@Self)^.&set := $00002000;
  18647. end;
  18648. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18649. begin
  18650. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18651. end;
  18652. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18653. begin
  18654. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18655. end;
  18656. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18657. begin
  18658. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18659. end;
  18660. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18661. begin
  18662. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18663. end;
  18664. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18665. begin
  18666. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18667. end;
  18668. procedure TUART1_U1ASTA.setADM_EN; inline;
  18669. begin
  18670. pTDefRegMap(@Self)^.&set := $01000000;
  18671. end;
  18672. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18673. begin
  18674. pTDefRegMap(@Self)^.clr := $01000000;
  18675. end;
  18676. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18677. begin
  18678. if thebits = 0 then
  18679. pTDefRegMap(@Self)^.clr := $01000000
  18680. else
  18681. pTDefRegMap(@Self)^.&set := $01000000;
  18682. end;
  18683. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18684. begin
  18685. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18686. end;
  18687. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18688. begin
  18689. pTDefRegMap(@Self)^.&set := $00000040;
  18690. end;
  18691. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18692. begin
  18693. pTDefRegMap(@Self)^.clr := $00000040;
  18694. end;
  18695. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18696. begin
  18697. if thebits = 0 then
  18698. pTDefRegMap(@Self)^.clr := $00000040
  18699. else
  18700. pTDefRegMap(@Self)^.&set := $00000040;
  18701. end;
  18702. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  18703. begin
  18704. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18705. end;
  18706. procedure TUART1_U1ASTA.setURXISEL1; inline;
  18707. begin
  18708. pTDefRegMap(@Self)^.&set := $00000080;
  18709. end;
  18710. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  18711. begin
  18712. pTDefRegMap(@Self)^.clr := $00000080;
  18713. end;
  18714. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  18715. begin
  18716. if thebits = 0 then
  18717. pTDefRegMap(@Self)^.clr := $00000080
  18718. else
  18719. pTDefRegMap(@Self)^.&set := $00000080;
  18720. end;
  18721. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  18722. begin
  18723. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18724. end;
  18725. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  18726. begin
  18727. pTDefRegMap(@Self)^.&set := $00004000;
  18728. end;
  18729. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  18730. begin
  18731. pTDefRegMap(@Self)^.clr := $00004000;
  18732. end;
  18733. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  18734. begin
  18735. if thebits = 0 then
  18736. pTDefRegMap(@Self)^.clr := $00004000
  18737. else
  18738. pTDefRegMap(@Self)^.&set := $00004000;
  18739. end;
  18740. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  18741. begin
  18742. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18743. end;
  18744. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  18745. begin
  18746. pTDefRegMap(@Self)^.&set := $00008000;
  18747. end;
  18748. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  18749. begin
  18750. pTDefRegMap(@Self)^.clr := $00008000;
  18751. end;
  18752. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  18753. begin
  18754. if thebits = 0 then
  18755. pTDefRegMap(@Self)^.clr := $00008000
  18756. else
  18757. pTDefRegMap(@Self)^.&set := $00008000;
  18758. end;
  18759. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  18760. begin
  18761. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18762. end;
  18763. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  18764. begin
  18765. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18766. end;
  18767. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  18768. begin
  18769. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18770. end;
  18771. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  18772. begin
  18773. pTDefRegMap(@Self)^.val := thebits;
  18774. end;
  18775. function TUART1_U1ASTA.getw : TBits_32; inline;
  18776. begin
  18777. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18778. end;
  18779. procedure TUART1_U1STA.setURXDA; inline;
  18780. begin
  18781. pTDefRegMap(@Self)^.&set := $00000001;
  18782. end;
  18783. procedure TUART1_U1STA.clearURXDA; inline;
  18784. begin
  18785. pTDefRegMap(@Self)^.clr := $00000001;
  18786. end;
  18787. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  18788. begin
  18789. if thebits = 0 then
  18790. pTDefRegMap(@Self)^.clr := $00000001
  18791. else
  18792. pTDefRegMap(@Self)^.&set := $00000001;
  18793. end;
  18794. function TUART1_U1STA.getURXDA : TBits_1; inline;
  18795. begin
  18796. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18797. end;
  18798. procedure TUART1_U1STA.setOERR; inline;
  18799. begin
  18800. pTDefRegMap(@Self)^.&set := $00000002;
  18801. end;
  18802. procedure TUART1_U1STA.clearOERR; inline;
  18803. begin
  18804. pTDefRegMap(@Self)^.clr := $00000002;
  18805. end;
  18806. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  18807. begin
  18808. if thebits = 0 then
  18809. pTDefRegMap(@Self)^.clr := $00000002
  18810. else
  18811. pTDefRegMap(@Self)^.&set := $00000002;
  18812. end;
  18813. function TUART1_U1STA.getOERR : TBits_1; inline;
  18814. begin
  18815. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18816. end;
  18817. procedure TUART1_U1STA.setFERR; inline;
  18818. begin
  18819. pTDefRegMap(@Self)^.&set := $00000004;
  18820. end;
  18821. procedure TUART1_U1STA.clearFERR; inline;
  18822. begin
  18823. pTDefRegMap(@Self)^.clr := $00000004;
  18824. end;
  18825. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  18826. begin
  18827. if thebits = 0 then
  18828. pTDefRegMap(@Self)^.clr := $00000004
  18829. else
  18830. pTDefRegMap(@Self)^.&set := $00000004;
  18831. end;
  18832. function TUART1_U1STA.getFERR : TBits_1; inline;
  18833. begin
  18834. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18835. end;
  18836. procedure TUART1_U1STA.setPERR; inline;
  18837. begin
  18838. pTDefRegMap(@Self)^.&set := $00000008;
  18839. end;
  18840. procedure TUART1_U1STA.clearPERR; inline;
  18841. begin
  18842. pTDefRegMap(@Self)^.clr := $00000008;
  18843. end;
  18844. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  18845. begin
  18846. if thebits = 0 then
  18847. pTDefRegMap(@Self)^.clr := $00000008
  18848. else
  18849. pTDefRegMap(@Self)^.&set := $00000008;
  18850. end;
  18851. function TUART1_U1STA.getPERR : TBits_1; inline;
  18852. begin
  18853. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18854. end;
  18855. procedure TUART1_U1STA.setRIDLE; inline;
  18856. begin
  18857. pTDefRegMap(@Self)^.&set := $00000010;
  18858. end;
  18859. procedure TUART1_U1STA.clearRIDLE; inline;
  18860. begin
  18861. pTDefRegMap(@Self)^.clr := $00000010;
  18862. end;
  18863. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  18864. begin
  18865. if thebits = 0 then
  18866. pTDefRegMap(@Self)^.clr := $00000010
  18867. else
  18868. pTDefRegMap(@Self)^.&set := $00000010;
  18869. end;
  18870. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  18871. begin
  18872. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18873. end;
  18874. procedure TUART1_U1STA.setADDEN; inline;
  18875. begin
  18876. pTDefRegMap(@Self)^.&set := $00000020;
  18877. end;
  18878. procedure TUART1_U1STA.clearADDEN; inline;
  18879. begin
  18880. pTDefRegMap(@Self)^.clr := $00000020;
  18881. end;
  18882. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  18883. begin
  18884. if thebits = 0 then
  18885. pTDefRegMap(@Self)^.clr := $00000020
  18886. else
  18887. pTDefRegMap(@Self)^.&set := $00000020;
  18888. end;
  18889. function TUART1_U1STA.getADDEN : TBits_1; inline;
  18890. begin
  18891. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18892. end;
  18893. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  18894. begin
  18895. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18896. end;
  18897. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  18898. begin
  18899. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18900. end;
  18901. procedure TUART1_U1STA.setTRMT; inline;
  18902. begin
  18903. pTDefRegMap(@Self)^.&set := $00000100;
  18904. end;
  18905. procedure TUART1_U1STA.clearTRMT; inline;
  18906. begin
  18907. pTDefRegMap(@Self)^.clr := $00000100;
  18908. end;
  18909. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  18910. begin
  18911. if thebits = 0 then
  18912. pTDefRegMap(@Self)^.clr := $00000100
  18913. else
  18914. pTDefRegMap(@Self)^.&set := $00000100;
  18915. end;
  18916. function TUART1_U1STA.getTRMT : TBits_1; inline;
  18917. begin
  18918. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18919. end;
  18920. procedure TUART1_U1STA.setUTXBF; inline;
  18921. begin
  18922. pTDefRegMap(@Self)^.&set := $00000200;
  18923. end;
  18924. procedure TUART1_U1STA.clearUTXBF; inline;
  18925. begin
  18926. pTDefRegMap(@Self)^.clr := $00000200;
  18927. end;
  18928. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  18929. begin
  18930. if thebits = 0 then
  18931. pTDefRegMap(@Self)^.clr := $00000200
  18932. else
  18933. pTDefRegMap(@Self)^.&set := $00000200;
  18934. end;
  18935. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  18936. begin
  18937. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18938. end;
  18939. procedure TUART1_U1STA.setUTXEN; inline;
  18940. begin
  18941. pTDefRegMap(@Self)^.&set := $00000400;
  18942. end;
  18943. procedure TUART1_U1STA.clearUTXEN; inline;
  18944. begin
  18945. pTDefRegMap(@Self)^.clr := $00000400;
  18946. end;
  18947. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  18948. begin
  18949. if thebits = 0 then
  18950. pTDefRegMap(@Self)^.clr := $00000400
  18951. else
  18952. pTDefRegMap(@Self)^.&set := $00000400;
  18953. end;
  18954. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  18955. begin
  18956. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18957. end;
  18958. procedure TUART1_U1STA.setUTXBRK; inline;
  18959. begin
  18960. pTDefRegMap(@Self)^.&set := $00000800;
  18961. end;
  18962. procedure TUART1_U1STA.clearUTXBRK; inline;
  18963. begin
  18964. pTDefRegMap(@Self)^.clr := $00000800;
  18965. end;
  18966. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  18967. begin
  18968. if thebits = 0 then
  18969. pTDefRegMap(@Self)^.clr := $00000800
  18970. else
  18971. pTDefRegMap(@Self)^.&set := $00000800;
  18972. end;
  18973. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  18974. begin
  18975. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18976. end;
  18977. procedure TUART1_U1STA.setURXEN; inline;
  18978. begin
  18979. pTDefRegMap(@Self)^.&set := $00001000;
  18980. end;
  18981. procedure TUART1_U1STA.clearURXEN; inline;
  18982. begin
  18983. pTDefRegMap(@Self)^.clr := $00001000;
  18984. end;
  18985. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  18986. begin
  18987. if thebits = 0 then
  18988. pTDefRegMap(@Self)^.clr := $00001000
  18989. else
  18990. pTDefRegMap(@Self)^.&set := $00001000;
  18991. end;
  18992. function TUART1_U1STA.getURXEN : TBits_1; inline;
  18993. begin
  18994. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18995. end;
  18996. procedure TUART1_U1STA.setUTXINV; inline;
  18997. begin
  18998. pTDefRegMap(@Self)^.&set := $00002000;
  18999. end;
  19000. procedure TUART1_U1STA.clearUTXINV; inline;
  19001. begin
  19002. pTDefRegMap(@Self)^.clr := $00002000;
  19003. end;
  19004. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19005. begin
  19006. if thebits = 0 then
  19007. pTDefRegMap(@Self)^.clr := $00002000
  19008. else
  19009. pTDefRegMap(@Self)^.&set := $00002000;
  19010. end;
  19011. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19012. begin
  19013. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19014. end;
  19015. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19016. begin
  19017. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19018. end;
  19019. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19020. begin
  19021. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19022. end;
  19023. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19024. begin
  19025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19026. end;
  19027. function TUART1_U1STA.getADDR : TBits_8; inline;
  19028. begin
  19029. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19030. end;
  19031. procedure TUART1_U1STA.setADM_EN; inline;
  19032. begin
  19033. pTDefRegMap(@Self)^.&set := $01000000;
  19034. end;
  19035. procedure TUART1_U1STA.clearADM_EN; inline;
  19036. begin
  19037. pTDefRegMap(@Self)^.clr := $01000000;
  19038. end;
  19039. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19040. begin
  19041. if thebits = 0 then
  19042. pTDefRegMap(@Self)^.clr := $01000000
  19043. else
  19044. pTDefRegMap(@Self)^.&set := $01000000;
  19045. end;
  19046. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19047. begin
  19048. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19049. end;
  19050. procedure TUART1_U1STA.setURXISEL0; inline;
  19051. begin
  19052. pTDefRegMap(@Self)^.&set := $00000040;
  19053. end;
  19054. procedure TUART1_U1STA.clearURXISEL0; inline;
  19055. begin
  19056. pTDefRegMap(@Self)^.clr := $00000040;
  19057. end;
  19058. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19059. begin
  19060. if thebits = 0 then
  19061. pTDefRegMap(@Self)^.clr := $00000040
  19062. else
  19063. pTDefRegMap(@Self)^.&set := $00000040;
  19064. end;
  19065. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19066. begin
  19067. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19068. end;
  19069. procedure TUART1_U1STA.setURXISEL1; inline;
  19070. begin
  19071. pTDefRegMap(@Self)^.&set := $00000080;
  19072. end;
  19073. procedure TUART1_U1STA.clearURXISEL1; inline;
  19074. begin
  19075. pTDefRegMap(@Self)^.clr := $00000080;
  19076. end;
  19077. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19078. begin
  19079. if thebits = 0 then
  19080. pTDefRegMap(@Self)^.clr := $00000080
  19081. else
  19082. pTDefRegMap(@Self)^.&set := $00000080;
  19083. end;
  19084. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19085. begin
  19086. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19087. end;
  19088. procedure TUART1_U1STA.setUTXISEL0; inline;
  19089. begin
  19090. pTDefRegMap(@Self)^.&set := $00004000;
  19091. end;
  19092. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19093. begin
  19094. pTDefRegMap(@Self)^.clr := $00004000;
  19095. end;
  19096. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19097. begin
  19098. if thebits = 0 then
  19099. pTDefRegMap(@Self)^.clr := $00004000
  19100. else
  19101. pTDefRegMap(@Self)^.&set := $00004000;
  19102. end;
  19103. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19104. begin
  19105. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19106. end;
  19107. procedure TUART1_U1STA.setUTXISEL1; inline;
  19108. begin
  19109. pTDefRegMap(@Self)^.&set := $00008000;
  19110. end;
  19111. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19112. begin
  19113. pTDefRegMap(@Self)^.clr := $00008000;
  19114. end;
  19115. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19116. begin
  19117. if thebits = 0 then
  19118. pTDefRegMap(@Self)^.clr := $00008000
  19119. else
  19120. pTDefRegMap(@Self)^.&set := $00008000;
  19121. end;
  19122. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19123. begin
  19124. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19125. end;
  19126. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19127. begin
  19128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19129. end;
  19130. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19131. begin
  19132. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19133. end;
  19134. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19135. begin
  19136. pTDefRegMap(@Self)^.val := thebits;
  19137. end;
  19138. function TUART1_U1STA.getw : TBits_32; inline;
  19139. begin
  19140. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19141. end;
  19142. procedure TUART2_U2MODE.setSTSEL; inline;
  19143. begin
  19144. pTDefRegMap(@Self)^.&set := $00000001;
  19145. end;
  19146. procedure TUART2_U2MODE.clearSTSEL; inline;
  19147. begin
  19148. pTDefRegMap(@Self)^.clr := $00000001;
  19149. end;
  19150. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19151. begin
  19152. if thebits = 0 then
  19153. pTDefRegMap(@Self)^.clr := $00000001
  19154. else
  19155. pTDefRegMap(@Self)^.&set := $00000001;
  19156. end;
  19157. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19158. begin
  19159. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19160. end;
  19161. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19162. begin
  19163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19164. end;
  19165. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19166. begin
  19167. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19168. end;
  19169. procedure TUART2_U2MODE.setBRGH; inline;
  19170. begin
  19171. pTDefRegMap(@Self)^.&set := $00000008;
  19172. end;
  19173. procedure TUART2_U2MODE.clearBRGH; inline;
  19174. begin
  19175. pTDefRegMap(@Self)^.clr := $00000008;
  19176. end;
  19177. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19178. begin
  19179. if thebits = 0 then
  19180. pTDefRegMap(@Self)^.clr := $00000008
  19181. else
  19182. pTDefRegMap(@Self)^.&set := $00000008;
  19183. end;
  19184. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19185. begin
  19186. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19187. end;
  19188. procedure TUART2_U2MODE.setRXINV; inline;
  19189. begin
  19190. pTDefRegMap(@Self)^.&set := $00000010;
  19191. end;
  19192. procedure TUART2_U2MODE.clearRXINV; inline;
  19193. begin
  19194. pTDefRegMap(@Self)^.clr := $00000010;
  19195. end;
  19196. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19197. begin
  19198. if thebits = 0 then
  19199. pTDefRegMap(@Self)^.clr := $00000010
  19200. else
  19201. pTDefRegMap(@Self)^.&set := $00000010;
  19202. end;
  19203. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19204. begin
  19205. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19206. end;
  19207. procedure TUART2_U2MODE.setABAUD; inline;
  19208. begin
  19209. pTDefRegMap(@Self)^.&set := $00000020;
  19210. end;
  19211. procedure TUART2_U2MODE.clearABAUD; inline;
  19212. begin
  19213. pTDefRegMap(@Self)^.clr := $00000020;
  19214. end;
  19215. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19216. begin
  19217. if thebits = 0 then
  19218. pTDefRegMap(@Self)^.clr := $00000020
  19219. else
  19220. pTDefRegMap(@Self)^.&set := $00000020;
  19221. end;
  19222. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19223. begin
  19224. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19225. end;
  19226. procedure TUART2_U2MODE.setLPBACK; inline;
  19227. begin
  19228. pTDefRegMap(@Self)^.&set := $00000040;
  19229. end;
  19230. procedure TUART2_U2MODE.clearLPBACK; inline;
  19231. begin
  19232. pTDefRegMap(@Self)^.clr := $00000040;
  19233. end;
  19234. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19235. begin
  19236. if thebits = 0 then
  19237. pTDefRegMap(@Self)^.clr := $00000040
  19238. else
  19239. pTDefRegMap(@Self)^.&set := $00000040;
  19240. end;
  19241. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19242. begin
  19243. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19244. end;
  19245. procedure TUART2_U2MODE.setWAKE; inline;
  19246. begin
  19247. pTDefRegMap(@Self)^.&set := $00000080;
  19248. end;
  19249. procedure TUART2_U2MODE.clearWAKE; inline;
  19250. begin
  19251. pTDefRegMap(@Self)^.clr := $00000080;
  19252. end;
  19253. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19254. begin
  19255. if thebits = 0 then
  19256. pTDefRegMap(@Self)^.clr := $00000080
  19257. else
  19258. pTDefRegMap(@Self)^.&set := $00000080;
  19259. end;
  19260. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19261. begin
  19262. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19263. end;
  19264. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19265. begin
  19266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19267. end;
  19268. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19269. begin
  19270. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19271. end;
  19272. procedure TUART2_U2MODE.setRTSMD; inline;
  19273. begin
  19274. pTDefRegMap(@Self)^.&set := $00000800;
  19275. end;
  19276. procedure TUART2_U2MODE.clearRTSMD; inline;
  19277. begin
  19278. pTDefRegMap(@Self)^.clr := $00000800;
  19279. end;
  19280. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19281. begin
  19282. if thebits = 0 then
  19283. pTDefRegMap(@Self)^.clr := $00000800
  19284. else
  19285. pTDefRegMap(@Self)^.&set := $00000800;
  19286. end;
  19287. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19288. begin
  19289. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19290. end;
  19291. procedure TUART2_U2MODE.setIREN; inline;
  19292. begin
  19293. pTDefRegMap(@Self)^.&set := $00001000;
  19294. end;
  19295. procedure TUART2_U2MODE.clearIREN; inline;
  19296. begin
  19297. pTDefRegMap(@Self)^.clr := $00001000;
  19298. end;
  19299. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19300. begin
  19301. if thebits = 0 then
  19302. pTDefRegMap(@Self)^.clr := $00001000
  19303. else
  19304. pTDefRegMap(@Self)^.&set := $00001000;
  19305. end;
  19306. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19307. begin
  19308. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19309. end;
  19310. procedure TUART2_U2MODE.setSIDL; inline;
  19311. begin
  19312. pTDefRegMap(@Self)^.&set := $00002000;
  19313. end;
  19314. procedure TUART2_U2MODE.clearSIDL; inline;
  19315. begin
  19316. pTDefRegMap(@Self)^.clr := $00002000;
  19317. end;
  19318. procedure TUART2_U2MODE.setSIDL(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 TUART2_U2MODE.getSIDL : TBits_1; inline;
  19326. begin
  19327. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19328. end;
  19329. procedure TUART2_U2MODE.setON; inline;
  19330. begin
  19331. pTDefRegMap(@Self)^.&set := $00008000;
  19332. end;
  19333. procedure TUART2_U2MODE.clearON; inline;
  19334. begin
  19335. pTDefRegMap(@Self)^.clr := $00008000;
  19336. end;
  19337. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19338. begin
  19339. if thebits = 0 then
  19340. pTDefRegMap(@Self)^.clr := $00008000
  19341. else
  19342. pTDefRegMap(@Self)^.&set := $00008000;
  19343. end;
  19344. function TUART2_U2MODE.getON : TBits_1; inline;
  19345. begin
  19346. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19347. end;
  19348. procedure TUART2_U2MODE.setPDSEL0; inline;
  19349. begin
  19350. pTDefRegMap(@Self)^.&set := $00000002;
  19351. end;
  19352. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19353. begin
  19354. pTDefRegMap(@Self)^.clr := $00000002;
  19355. end;
  19356. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19357. begin
  19358. if thebits = 0 then
  19359. pTDefRegMap(@Self)^.clr := $00000002
  19360. else
  19361. pTDefRegMap(@Self)^.&set := $00000002;
  19362. end;
  19363. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19364. begin
  19365. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19366. end;
  19367. procedure TUART2_U2MODE.setPDSEL1; inline;
  19368. begin
  19369. pTDefRegMap(@Self)^.&set := $00000004;
  19370. end;
  19371. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19372. begin
  19373. pTDefRegMap(@Self)^.clr := $00000004;
  19374. end;
  19375. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19376. begin
  19377. if thebits = 0 then
  19378. pTDefRegMap(@Self)^.clr := $00000004
  19379. else
  19380. pTDefRegMap(@Self)^.&set := $00000004;
  19381. end;
  19382. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19383. begin
  19384. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19385. end;
  19386. procedure TUART2_U2MODE.setUEN0; inline;
  19387. begin
  19388. pTDefRegMap(@Self)^.&set := $00000100;
  19389. end;
  19390. procedure TUART2_U2MODE.clearUEN0; inline;
  19391. begin
  19392. pTDefRegMap(@Self)^.clr := $00000100;
  19393. end;
  19394. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19395. begin
  19396. if thebits = 0 then
  19397. pTDefRegMap(@Self)^.clr := $00000100
  19398. else
  19399. pTDefRegMap(@Self)^.&set := $00000100;
  19400. end;
  19401. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19402. begin
  19403. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19404. end;
  19405. procedure TUART2_U2MODE.setUEN1; inline;
  19406. begin
  19407. pTDefRegMap(@Self)^.&set := $00000200;
  19408. end;
  19409. procedure TUART2_U2MODE.clearUEN1; inline;
  19410. begin
  19411. pTDefRegMap(@Self)^.clr := $00000200;
  19412. end;
  19413. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19414. begin
  19415. if thebits = 0 then
  19416. pTDefRegMap(@Self)^.clr := $00000200
  19417. else
  19418. pTDefRegMap(@Self)^.&set := $00000200;
  19419. end;
  19420. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19421. begin
  19422. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19423. end;
  19424. procedure TUART2_U2MODE.setUSIDL; inline;
  19425. begin
  19426. pTDefRegMap(@Self)^.&set := $00002000;
  19427. end;
  19428. procedure TUART2_U2MODE.clearUSIDL; inline;
  19429. begin
  19430. pTDefRegMap(@Self)^.clr := $00002000;
  19431. end;
  19432. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19433. begin
  19434. if thebits = 0 then
  19435. pTDefRegMap(@Self)^.clr := $00002000
  19436. else
  19437. pTDefRegMap(@Self)^.&set := $00002000;
  19438. end;
  19439. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19440. begin
  19441. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19442. end;
  19443. procedure TUART2_U2MODE.setUARTEN; inline;
  19444. begin
  19445. pTDefRegMap(@Self)^.&set := $00008000;
  19446. end;
  19447. procedure TUART2_U2MODE.clearUARTEN; inline;
  19448. begin
  19449. pTDefRegMap(@Self)^.clr := $00008000;
  19450. end;
  19451. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19452. begin
  19453. if thebits = 0 then
  19454. pTDefRegMap(@Self)^.clr := $00008000
  19455. else
  19456. pTDefRegMap(@Self)^.&set := $00008000;
  19457. end;
  19458. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19459. begin
  19460. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19461. end;
  19462. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19463. begin
  19464. pTDefRegMap(@Self)^.val := thebits;
  19465. end;
  19466. function TUART2_U2MODE.getw : TBits_32; inline;
  19467. begin
  19468. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19469. end;
  19470. procedure TUART2_U3AMODE.setSTSEL; inline;
  19471. begin
  19472. pTDefRegMap(@Self)^.&set := $00000001;
  19473. end;
  19474. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19475. begin
  19476. pTDefRegMap(@Self)^.clr := $00000001;
  19477. end;
  19478. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19479. begin
  19480. if thebits = 0 then
  19481. pTDefRegMap(@Self)^.clr := $00000001
  19482. else
  19483. pTDefRegMap(@Self)^.&set := $00000001;
  19484. end;
  19485. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19486. begin
  19487. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19488. end;
  19489. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19490. begin
  19491. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19492. end;
  19493. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19494. begin
  19495. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19496. end;
  19497. procedure TUART2_U3AMODE.setBRGH; inline;
  19498. begin
  19499. pTDefRegMap(@Self)^.&set := $00000008;
  19500. end;
  19501. procedure TUART2_U3AMODE.clearBRGH; inline;
  19502. begin
  19503. pTDefRegMap(@Self)^.clr := $00000008;
  19504. end;
  19505. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19506. begin
  19507. if thebits = 0 then
  19508. pTDefRegMap(@Self)^.clr := $00000008
  19509. else
  19510. pTDefRegMap(@Self)^.&set := $00000008;
  19511. end;
  19512. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19513. begin
  19514. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19515. end;
  19516. procedure TUART2_U3AMODE.setRXINV; inline;
  19517. begin
  19518. pTDefRegMap(@Self)^.&set := $00000010;
  19519. end;
  19520. procedure TUART2_U3AMODE.clearRXINV; inline;
  19521. begin
  19522. pTDefRegMap(@Self)^.clr := $00000010;
  19523. end;
  19524. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19525. begin
  19526. if thebits = 0 then
  19527. pTDefRegMap(@Self)^.clr := $00000010
  19528. else
  19529. pTDefRegMap(@Self)^.&set := $00000010;
  19530. end;
  19531. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19532. begin
  19533. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19534. end;
  19535. procedure TUART2_U3AMODE.setABAUD; inline;
  19536. begin
  19537. pTDefRegMap(@Self)^.&set := $00000020;
  19538. end;
  19539. procedure TUART2_U3AMODE.clearABAUD; inline;
  19540. begin
  19541. pTDefRegMap(@Self)^.clr := $00000020;
  19542. end;
  19543. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19544. begin
  19545. if thebits = 0 then
  19546. pTDefRegMap(@Self)^.clr := $00000020
  19547. else
  19548. pTDefRegMap(@Self)^.&set := $00000020;
  19549. end;
  19550. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19551. begin
  19552. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19553. end;
  19554. procedure TUART2_U3AMODE.setLPBACK; inline;
  19555. begin
  19556. pTDefRegMap(@Self)^.&set := $00000040;
  19557. end;
  19558. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19559. begin
  19560. pTDefRegMap(@Self)^.clr := $00000040;
  19561. end;
  19562. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19563. begin
  19564. if thebits = 0 then
  19565. pTDefRegMap(@Self)^.clr := $00000040
  19566. else
  19567. pTDefRegMap(@Self)^.&set := $00000040;
  19568. end;
  19569. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19570. begin
  19571. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19572. end;
  19573. procedure TUART2_U3AMODE.setWAKE; inline;
  19574. begin
  19575. pTDefRegMap(@Self)^.&set := $00000080;
  19576. end;
  19577. procedure TUART2_U3AMODE.clearWAKE; inline;
  19578. begin
  19579. pTDefRegMap(@Self)^.clr := $00000080;
  19580. end;
  19581. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19582. begin
  19583. if thebits = 0 then
  19584. pTDefRegMap(@Self)^.clr := $00000080
  19585. else
  19586. pTDefRegMap(@Self)^.&set := $00000080;
  19587. end;
  19588. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19589. begin
  19590. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19591. end;
  19592. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19593. begin
  19594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19595. end;
  19596. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19597. begin
  19598. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19599. end;
  19600. procedure TUART2_U3AMODE.setRTSMD; inline;
  19601. begin
  19602. pTDefRegMap(@Self)^.&set := $00000800;
  19603. end;
  19604. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19605. begin
  19606. pTDefRegMap(@Self)^.clr := $00000800;
  19607. end;
  19608. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19609. begin
  19610. if thebits = 0 then
  19611. pTDefRegMap(@Self)^.clr := $00000800
  19612. else
  19613. pTDefRegMap(@Self)^.&set := $00000800;
  19614. end;
  19615. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19616. begin
  19617. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19618. end;
  19619. procedure TUART2_U3AMODE.setIREN; inline;
  19620. begin
  19621. pTDefRegMap(@Self)^.&set := $00001000;
  19622. end;
  19623. procedure TUART2_U3AMODE.clearIREN; inline;
  19624. begin
  19625. pTDefRegMap(@Self)^.clr := $00001000;
  19626. end;
  19627. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19628. begin
  19629. if thebits = 0 then
  19630. pTDefRegMap(@Self)^.clr := $00001000
  19631. else
  19632. pTDefRegMap(@Self)^.&set := $00001000;
  19633. end;
  19634. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19635. begin
  19636. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19637. end;
  19638. procedure TUART2_U3AMODE.setSIDL; inline;
  19639. begin
  19640. pTDefRegMap(@Self)^.&set := $00002000;
  19641. end;
  19642. procedure TUART2_U3AMODE.clearSIDL; inline;
  19643. begin
  19644. pTDefRegMap(@Self)^.clr := $00002000;
  19645. end;
  19646. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19647. begin
  19648. if thebits = 0 then
  19649. pTDefRegMap(@Self)^.clr := $00002000
  19650. else
  19651. pTDefRegMap(@Self)^.&set := $00002000;
  19652. end;
  19653. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19654. begin
  19655. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19656. end;
  19657. procedure TUART2_U3AMODE.setON; inline;
  19658. begin
  19659. pTDefRegMap(@Self)^.&set := $00008000;
  19660. end;
  19661. procedure TUART2_U3AMODE.clearON; inline;
  19662. begin
  19663. pTDefRegMap(@Self)^.clr := $00008000;
  19664. end;
  19665. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19666. begin
  19667. if thebits = 0 then
  19668. pTDefRegMap(@Self)^.clr := $00008000
  19669. else
  19670. pTDefRegMap(@Self)^.&set := $00008000;
  19671. end;
  19672. function TUART2_U3AMODE.getON : TBits_1; inline;
  19673. begin
  19674. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19675. end;
  19676. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19677. begin
  19678. pTDefRegMap(@Self)^.&set := $00000002;
  19679. end;
  19680. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19681. begin
  19682. pTDefRegMap(@Self)^.clr := $00000002;
  19683. end;
  19684. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19685. begin
  19686. if thebits = 0 then
  19687. pTDefRegMap(@Self)^.clr := $00000002
  19688. else
  19689. pTDefRegMap(@Self)^.&set := $00000002;
  19690. end;
  19691. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19692. begin
  19693. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19694. end;
  19695. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19696. begin
  19697. pTDefRegMap(@Self)^.&set := $00000004;
  19698. end;
  19699. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19700. begin
  19701. pTDefRegMap(@Self)^.clr := $00000004;
  19702. end;
  19703. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  19704. begin
  19705. if thebits = 0 then
  19706. pTDefRegMap(@Self)^.clr := $00000004
  19707. else
  19708. pTDefRegMap(@Self)^.&set := $00000004;
  19709. end;
  19710. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  19711. begin
  19712. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19713. end;
  19714. procedure TUART2_U3AMODE.setUEN0; inline;
  19715. begin
  19716. pTDefRegMap(@Self)^.&set := $00000100;
  19717. end;
  19718. procedure TUART2_U3AMODE.clearUEN0; inline;
  19719. begin
  19720. pTDefRegMap(@Self)^.clr := $00000100;
  19721. end;
  19722. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  19723. begin
  19724. if thebits = 0 then
  19725. pTDefRegMap(@Self)^.clr := $00000100
  19726. else
  19727. pTDefRegMap(@Self)^.&set := $00000100;
  19728. end;
  19729. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  19730. begin
  19731. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19732. end;
  19733. procedure TUART2_U3AMODE.setUEN1; inline;
  19734. begin
  19735. pTDefRegMap(@Self)^.&set := $00000200;
  19736. end;
  19737. procedure TUART2_U3AMODE.clearUEN1; inline;
  19738. begin
  19739. pTDefRegMap(@Self)^.clr := $00000200;
  19740. end;
  19741. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  19742. begin
  19743. if thebits = 0 then
  19744. pTDefRegMap(@Self)^.clr := $00000200
  19745. else
  19746. pTDefRegMap(@Self)^.&set := $00000200;
  19747. end;
  19748. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  19749. begin
  19750. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19751. end;
  19752. procedure TUART2_U3AMODE.setUSIDL; inline;
  19753. begin
  19754. pTDefRegMap(@Self)^.&set := $00002000;
  19755. end;
  19756. procedure TUART2_U3AMODE.clearUSIDL; inline;
  19757. begin
  19758. pTDefRegMap(@Self)^.clr := $00002000;
  19759. end;
  19760. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  19761. begin
  19762. if thebits = 0 then
  19763. pTDefRegMap(@Self)^.clr := $00002000
  19764. else
  19765. pTDefRegMap(@Self)^.&set := $00002000;
  19766. end;
  19767. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  19768. begin
  19769. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19770. end;
  19771. procedure TUART2_U3AMODE.setUARTEN; inline;
  19772. begin
  19773. pTDefRegMap(@Self)^.&set := $00008000;
  19774. end;
  19775. procedure TUART2_U3AMODE.clearUARTEN; inline;
  19776. begin
  19777. pTDefRegMap(@Self)^.clr := $00008000;
  19778. end;
  19779. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  19780. begin
  19781. if thebits = 0 then
  19782. pTDefRegMap(@Self)^.clr := $00008000
  19783. else
  19784. pTDefRegMap(@Self)^.&set := $00008000;
  19785. end;
  19786. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  19787. begin
  19788. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19789. end;
  19790. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  19791. begin
  19792. pTDefRegMap(@Self)^.val := thebits;
  19793. end;
  19794. function TUART2_U3AMODE.getw : TBits_32; inline;
  19795. begin
  19796. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19797. end;
  19798. procedure TUART2_U2STA.setURXDA; inline;
  19799. begin
  19800. pTDefRegMap(@Self)^.&set := $00000001;
  19801. end;
  19802. procedure TUART2_U2STA.clearURXDA; inline;
  19803. begin
  19804. pTDefRegMap(@Self)^.clr := $00000001;
  19805. end;
  19806. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  19807. begin
  19808. if thebits = 0 then
  19809. pTDefRegMap(@Self)^.clr := $00000001
  19810. else
  19811. pTDefRegMap(@Self)^.&set := $00000001;
  19812. end;
  19813. function TUART2_U2STA.getURXDA : TBits_1; inline;
  19814. begin
  19815. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19816. end;
  19817. procedure TUART2_U2STA.setOERR; inline;
  19818. begin
  19819. pTDefRegMap(@Self)^.&set := $00000002;
  19820. end;
  19821. procedure TUART2_U2STA.clearOERR; inline;
  19822. begin
  19823. pTDefRegMap(@Self)^.clr := $00000002;
  19824. end;
  19825. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  19826. begin
  19827. if thebits = 0 then
  19828. pTDefRegMap(@Self)^.clr := $00000002
  19829. else
  19830. pTDefRegMap(@Self)^.&set := $00000002;
  19831. end;
  19832. function TUART2_U2STA.getOERR : TBits_1; inline;
  19833. begin
  19834. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19835. end;
  19836. procedure TUART2_U2STA.setFERR; inline;
  19837. begin
  19838. pTDefRegMap(@Self)^.&set := $00000004;
  19839. end;
  19840. procedure TUART2_U2STA.clearFERR; inline;
  19841. begin
  19842. pTDefRegMap(@Self)^.clr := $00000004;
  19843. end;
  19844. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  19845. begin
  19846. if thebits = 0 then
  19847. pTDefRegMap(@Self)^.clr := $00000004
  19848. else
  19849. pTDefRegMap(@Self)^.&set := $00000004;
  19850. end;
  19851. function TUART2_U2STA.getFERR : TBits_1; inline;
  19852. begin
  19853. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19854. end;
  19855. procedure TUART2_U2STA.setPERR; inline;
  19856. begin
  19857. pTDefRegMap(@Self)^.&set := $00000008;
  19858. end;
  19859. procedure TUART2_U2STA.clearPERR; inline;
  19860. begin
  19861. pTDefRegMap(@Self)^.clr := $00000008;
  19862. end;
  19863. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  19864. begin
  19865. if thebits = 0 then
  19866. pTDefRegMap(@Self)^.clr := $00000008
  19867. else
  19868. pTDefRegMap(@Self)^.&set := $00000008;
  19869. end;
  19870. function TUART2_U2STA.getPERR : TBits_1; inline;
  19871. begin
  19872. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19873. end;
  19874. procedure TUART2_U2STA.setRIDLE; inline;
  19875. begin
  19876. pTDefRegMap(@Self)^.&set := $00000010;
  19877. end;
  19878. procedure TUART2_U2STA.clearRIDLE; inline;
  19879. begin
  19880. pTDefRegMap(@Self)^.clr := $00000010;
  19881. end;
  19882. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  19883. begin
  19884. if thebits = 0 then
  19885. pTDefRegMap(@Self)^.clr := $00000010
  19886. else
  19887. pTDefRegMap(@Self)^.&set := $00000010;
  19888. end;
  19889. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  19890. begin
  19891. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19892. end;
  19893. procedure TUART2_U2STA.setADDEN; inline;
  19894. begin
  19895. pTDefRegMap(@Self)^.&set := $00000020;
  19896. end;
  19897. procedure TUART2_U2STA.clearADDEN; inline;
  19898. begin
  19899. pTDefRegMap(@Self)^.clr := $00000020;
  19900. end;
  19901. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  19902. begin
  19903. if thebits = 0 then
  19904. pTDefRegMap(@Self)^.clr := $00000020
  19905. else
  19906. pTDefRegMap(@Self)^.&set := $00000020;
  19907. end;
  19908. function TUART2_U2STA.getADDEN : TBits_1; inline;
  19909. begin
  19910. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19911. end;
  19912. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  19913. begin
  19914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19915. end;
  19916. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  19917. begin
  19918. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19919. end;
  19920. procedure TUART2_U2STA.setTRMT; inline;
  19921. begin
  19922. pTDefRegMap(@Self)^.&set := $00000100;
  19923. end;
  19924. procedure TUART2_U2STA.clearTRMT; inline;
  19925. begin
  19926. pTDefRegMap(@Self)^.clr := $00000100;
  19927. end;
  19928. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  19929. begin
  19930. if thebits = 0 then
  19931. pTDefRegMap(@Self)^.clr := $00000100
  19932. else
  19933. pTDefRegMap(@Self)^.&set := $00000100;
  19934. end;
  19935. function TUART2_U2STA.getTRMT : TBits_1; inline;
  19936. begin
  19937. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19938. end;
  19939. procedure TUART2_U2STA.setUTXBF; inline;
  19940. begin
  19941. pTDefRegMap(@Self)^.&set := $00000200;
  19942. end;
  19943. procedure TUART2_U2STA.clearUTXBF; inline;
  19944. begin
  19945. pTDefRegMap(@Self)^.clr := $00000200;
  19946. end;
  19947. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  19948. begin
  19949. if thebits = 0 then
  19950. pTDefRegMap(@Self)^.clr := $00000200
  19951. else
  19952. pTDefRegMap(@Self)^.&set := $00000200;
  19953. end;
  19954. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  19955. begin
  19956. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19957. end;
  19958. procedure TUART2_U2STA.setUTXEN; inline;
  19959. begin
  19960. pTDefRegMap(@Self)^.&set := $00000400;
  19961. end;
  19962. procedure TUART2_U2STA.clearUTXEN; inline;
  19963. begin
  19964. pTDefRegMap(@Self)^.clr := $00000400;
  19965. end;
  19966. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  19967. begin
  19968. if thebits = 0 then
  19969. pTDefRegMap(@Self)^.clr := $00000400
  19970. else
  19971. pTDefRegMap(@Self)^.&set := $00000400;
  19972. end;
  19973. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  19974. begin
  19975. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19976. end;
  19977. procedure TUART2_U2STA.setUTXBRK; inline;
  19978. begin
  19979. pTDefRegMap(@Self)^.&set := $00000800;
  19980. end;
  19981. procedure TUART2_U2STA.clearUTXBRK; inline;
  19982. begin
  19983. pTDefRegMap(@Self)^.clr := $00000800;
  19984. end;
  19985. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  19986. begin
  19987. if thebits = 0 then
  19988. pTDefRegMap(@Self)^.clr := $00000800
  19989. else
  19990. pTDefRegMap(@Self)^.&set := $00000800;
  19991. end;
  19992. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  19993. begin
  19994. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19995. end;
  19996. procedure TUART2_U2STA.setURXEN; inline;
  19997. begin
  19998. pTDefRegMap(@Self)^.&set := $00001000;
  19999. end;
  20000. procedure TUART2_U2STA.clearURXEN; inline;
  20001. begin
  20002. pTDefRegMap(@Self)^.clr := $00001000;
  20003. end;
  20004. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20005. begin
  20006. if thebits = 0 then
  20007. pTDefRegMap(@Self)^.clr := $00001000
  20008. else
  20009. pTDefRegMap(@Self)^.&set := $00001000;
  20010. end;
  20011. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20012. begin
  20013. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20014. end;
  20015. procedure TUART2_U2STA.setUTXINV; inline;
  20016. begin
  20017. pTDefRegMap(@Self)^.&set := $00002000;
  20018. end;
  20019. procedure TUART2_U2STA.clearUTXINV; inline;
  20020. begin
  20021. pTDefRegMap(@Self)^.clr := $00002000;
  20022. end;
  20023. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20024. begin
  20025. if thebits = 0 then
  20026. pTDefRegMap(@Self)^.clr := $00002000
  20027. else
  20028. pTDefRegMap(@Self)^.&set := $00002000;
  20029. end;
  20030. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20031. begin
  20032. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20033. end;
  20034. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20035. begin
  20036. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20037. end;
  20038. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20039. begin
  20040. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20041. end;
  20042. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20043. begin
  20044. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20045. end;
  20046. function TUART2_U2STA.getADDR : TBits_8; inline;
  20047. begin
  20048. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20049. end;
  20050. procedure TUART2_U2STA.setADM_EN; inline;
  20051. begin
  20052. pTDefRegMap(@Self)^.&set := $01000000;
  20053. end;
  20054. procedure TUART2_U2STA.clearADM_EN; inline;
  20055. begin
  20056. pTDefRegMap(@Self)^.clr := $01000000;
  20057. end;
  20058. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20059. begin
  20060. if thebits = 0 then
  20061. pTDefRegMap(@Self)^.clr := $01000000
  20062. else
  20063. pTDefRegMap(@Self)^.&set := $01000000;
  20064. end;
  20065. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20066. begin
  20067. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20068. end;
  20069. procedure TUART2_U2STA.setURXISEL0; inline;
  20070. begin
  20071. pTDefRegMap(@Self)^.&set := $00000040;
  20072. end;
  20073. procedure TUART2_U2STA.clearURXISEL0; inline;
  20074. begin
  20075. pTDefRegMap(@Self)^.clr := $00000040;
  20076. end;
  20077. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20078. begin
  20079. if thebits = 0 then
  20080. pTDefRegMap(@Self)^.clr := $00000040
  20081. else
  20082. pTDefRegMap(@Self)^.&set := $00000040;
  20083. end;
  20084. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20085. begin
  20086. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20087. end;
  20088. procedure TUART2_U2STA.setURXISEL1; inline;
  20089. begin
  20090. pTDefRegMap(@Self)^.&set := $00000080;
  20091. end;
  20092. procedure TUART2_U2STA.clearURXISEL1; inline;
  20093. begin
  20094. pTDefRegMap(@Self)^.clr := $00000080;
  20095. end;
  20096. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20097. begin
  20098. if thebits = 0 then
  20099. pTDefRegMap(@Self)^.clr := $00000080
  20100. else
  20101. pTDefRegMap(@Self)^.&set := $00000080;
  20102. end;
  20103. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20104. begin
  20105. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20106. end;
  20107. procedure TUART2_U2STA.setUTXISEL0; inline;
  20108. begin
  20109. pTDefRegMap(@Self)^.&set := $00004000;
  20110. end;
  20111. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20112. begin
  20113. pTDefRegMap(@Self)^.clr := $00004000;
  20114. end;
  20115. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20116. begin
  20117. if thebits = 0 then
  20118. pTDefRegMap(@Self)^.clr := $00004000
  20119. else
  20120. pTDefRegMap(@Self)^.&set := $00004000;
  20121. end;
  20122. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20123. begin
  20124. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20125. end;
  20126. procedure TUART2_U2STA.setUTXISEL1; inline;
  20127. begin
  20128. pTDefRegMap(@Self)^.&set := $00008000;
  20129. end;
  20130. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20131. begin
  20132. pTDefRegMap(@Self)^.clr := $00008000;
  20133. end;
  20134. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20135. begin
  20136. if thebits = 0 then
  20137. pTDefRegMap(@Self)^.clr := $00008000
  20138. else
  20139. pTDefRegMap(@Self)^.&set := $00008000;
  20140. end;
  20141. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20142. begin
  20143. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20144. end;
  20145. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20146. begin
  20147. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20148. end;
  20149. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20150. begin
  20151. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20152. end;
  20153. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20154. begin
  20155. pTDefRegMap(@Self)^.val := thebits;
  20156. end;
  20157. function TUART2_U2STA.getw : TBits_32; inline;
  20158. begin
  20159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20160. end;
  20161. procedure TUART2_U3ASTA.setURXDA; inline;
  20162. begin
  20163. pTDefRegMap(@Self)^.&set := $00000001;
  20164. end;
  20165. procedure TUART2_U3ASTA.clearURXDA; inline;
  20166. begin
  20167. pTDefRegMap(@Self)^.clr := $00000001;
  20168. end;
  20169. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20170. begin
  20171. if thebits = 0 then
  20172. pTDefRegMap(@Self)^.clr := $00000001
  20173. else
  20174. pTDefRegMap(@Self)^.&set := $00000001;
  20175. end;
  20176. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20177. begin
  20178. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20179. end;
  20180. procedure TUART2_U3ASTA.setOERR; inline;
  20181. begin
  20182. pTDefRegMap(@Self)^.&set := $00000002;
  20183. end;
  20184. procedure TUART2_U3ASTA.clearOERR; inline;
  20185. begin
  20186. pTDefRegMap(@Self)^.clr := $00000002;
  20187. end;
  20188. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20189. begin
  20190. if thebits = 0 then
  20191. pTDefRegMap(@Self)^.clr := $00000002
  20192. else
  20193. pTDefRegMap(@Self)^.&set := $00000002;
  20194. end;
  20195. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20196. begin
  20197. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20198. end;
  20199. procedure TUART2_U3ASTA.setFERR; inline;
  20200. begin
  20201. pTDefRegMap(@Self)^.&set := $00000004;
  20202. end;
  20203. procedure TUART2_U3ASTA.clearFERR; inline;
  20204. begin
  20205. pTDefRegMap(@Self)^.clr := $00000004;
  20206. end;
  20207. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20208. begin
  20209. if thebits = 0 then
  20210. pTDefRegMap(@Self)^.clr := $00000004
  20211. else
  20212. pTDefRegMap(@Self)^.&set := $00000004;
  20213. end;
  20214. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20215. begin
  20216. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20217. end;
  20218. procedure TUART2_U3ASTA.setPERR; inline;
  20219. begin
  20220. pTDefRegMap(@Self)^.&set := $00000008;
  20221. end;
  20222. procedure TUART2_U3ASTA.clearPERR; inline;
  20223. begin
  20224. pTDefRegMap(@Self)^.clr := $00000008;
  20225. end;
  20226. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20227. begin
  20228. if thebits = 0 then
  20229. pTDefRegMap(@Self)^.clr := $00000008
  20230. else
  20231. pTDefRegMap(@Self)^.&set := $00000008;
  20232. end;
  20233. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20234. begin
  20235. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20236. end;
  20237. procedure TUART2_U3ASTA.setRIDLE; inline;
  20238. begin
  20239. pTDefRegMap(@Self)^.&set := $00000010;
  20240. end;
  20241. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20242. begin
  20243. pTDefRegMap(@Self)^.clr := $00000010;
  20244. end;
  20245. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20246. begin
  20247. if thebits = 0 then
  20248. pTDefRegMap(@Self)^.clr := $00000010
  20249. else
  20250. pTDefRegMap(@Self)^.&set := $00000010;
  20251. end;
  20252. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20253. begin
  20254. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20255. end;
  20256. procedure TUART2_U3ASTA.setADDEN; inline;
  20257. begin
  20258. pTDefRegMap(@Self)^.&set := $00000020;
  20259. end;
  20260. procedure TUART2_U3ASTA.clearADDEN; inline;
  20261. begin
  20262. pTDefRegMap(@Self)^.clr := $00000020;
  20263. end;
  20264. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20265. begin
  20266. if thebits = 0 then
  20267. pTDefRegMap(@Self)^.clr := $00000020
  20268. else
  20269. pTDefRegMap(@Self)^.&set := $00000020;
  20270. end;
  20271. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20272. begin
  20273. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20274. end;
  20275. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20276. begin
  20277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20278. end;
  20279. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20280. begin
  20281. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20282. end;
  20283. procedure TUART2_U3ASTA.setTRMT; inline;
  20284. begin
  20285. pTDefRegMap(@Self)^.&set := $00000100;
  20286. end;
  20287. procedure TUART2_U3ASTA.clearTRMT; inline;
  20288. begin
  20289. pTDefRegMap(@Self)^.clr := $00000100;
  20290. end;
  20291. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20292. begin
  20293. if thebits = 0 then
  20294. pTDefRegMap(@Self)^.clr := $00000100
  20295. else
  20296. pTDefRegMap(@Self)^.&set := $00000100;
  20297. end;
  20298. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20299. begin
  20300. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20301. end;
  20302. procedure TUART2_U3ASTA.setUTXBF; inline;
  20303. begin
  20304. pTDefRegMap(@Self)^.&set := $00000200;
  20305. end;
  20306. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20307. begin
  20308. pTDefRegMap(@Self)^.clr := $00000200;
  20309. end;
  20310. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20311. begin
  20312. if thebits = 0 then
  20313. pTDefRegMap(@Self)^.clr := $00000200
  20314. else
  20315. pTDefRegMap(@Self)^.&set := $00000200;
  20316. end;
  20317. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20318. begin
  20319. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20320. end;
  20321. procedure TUART2_U3ASTA.setUTXEN; inline;
  20322. begin
  20323. pTDefRegMap(@Self)^.&set := $00000400;
  20324. end;
  20325. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20326. begin
  20327. pTDefRegMap(@Self)^.clr := $00000400;
  20328. end;
  20329. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20330. begin
  20331. if thebits = 0 then
  20332. pTDefRegMap(@Self)^.clr := $00000400
  20333. else
  20334. pTDefRegMap(@Self)^.&set := $00000400;
  20335. end;
  20336. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20337. begin
  20338. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20339. end;
  20340. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20341. begin
  20342. pTDefRegMap(@Self)^.&set := $00000800;
  20343. end;
  20344. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20345. begin
  20346. pTDefRegMap(@Self)^.clr := $00000800;
  20347. end;
  20348. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20349. begin
  20350. if thebits = 0 then
  20351. pTDefRegMap(@Self)^.clr := $00000800
  20352. else
  20353. pTDefRegMap(@Self)^.&set := $00000800;
  20354. end;
  20355. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20356. begin
  20357. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20358. end;
  20359. procedure TUART2_U3ASTA.setURXEN; inline;
  20360. begin
  20361. pTDefRegMap(@Self)^.&set := $00001000;
  20362. end;
  20363. procedure TUART2_U3ASTA.clearURXEN; inline;
  20364. begin
  20365. pTDefRegMap(@Self)^.clr := $00001000;
  20366. end;
  20367. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20368. begin
  20369. if thebits = 0 then
  20370. pTDefRegMap(@Self)^.clr := $00001000
  20371. else
  20372. pTDefRegMap(@Self)^.&set := $00001000;
  20373. end;
  20374. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20375. begin
  20376. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20377. end;
  20378. procedure TUART2_U3ASTA.setUTXINV; inline;
  20379. begin
  20380. pTDefRegMap(@Self)^.&set := $00002000;
  20381. end;
  20382. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20383. begin
  20384. pTDefRegMap(@Self)^.clr := $00002000;
  20385. end;
  20386. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20387. begin
  20388. if thebits = 0 then
  20389. pTDefRegMap(@Self)^.clr := $00002000
  20390. else
  20391. pTDefRegMap(@Self)^.&set := $00002000;
  20392. end;
  20393. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20394. begin
  20395. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20396. end;
  20397. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20398. begin
  20399. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20400. end;
  20401. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20402. begin
  20403. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20404. end;
  20405. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20406. begin
  20407. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20408. end;
  20409. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20410. begin
  20411. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20412. end;
  20413. procedure TUART2_U3ASTA.setADM_EN; inline;
  20414. begin
  20415. pTDefRegMap(@Self)^.&set := $01000000;
  20416. end;
  20417. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20418. begin
  20419. pTDefRegMap(@Self)^.clr := $01000000;
  20420. end;
  20421. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20422. begin
  20423. if thebits = 0 then
  20424. pTDefRegMap(@Self)^.clr := $01000000
  20425. else
  20426. pTDefRegMap(@Self)^.&set := $01000000;
  20427. end;
  20428. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20429. begin
  20430. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20431. end;
  20432. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20433. begin
  20434. pTDefRegMap(@Self)^.&set := $00000040;
  20435. end;
  20436. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20437. begin
  20438. pTDefRegMap(@Self)^.clr := $00000040;
  20439. end;
  20440. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20441. begin
  20442. if thebits = 0 then
  20443. pTDefRegMap(@Self)^.clr := $00000040
  20444. else
  20445. pTDefRegMap(@Self)^.&set := $00000040;
  20446. end;
  20447. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20448. begin
  20449. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20450. end;
  20451. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20452. begin
  20453. pTDefRegMap(@Self)^.&set := $00000080;
  20454. end;
  20455. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20456. begin
  20457. pTDefRegMap(@Self)^.clr := $00000080;
  20458. end;
  20459. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20460. begin
  20461. if thebits = 0 then
  20462. pTDefRegMap(@Self)^.clr := $00000080
  20463. else
  20464. pTDefRegMap(@Self)^.&set := $00000080;
  20465. end;
  20466. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20467. begin
  20468. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20469. end;
  20470. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20471. begin
  20472. pTDefRegMap(@Self)^.&set := $00004000;
  20473. end;
  20474. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20475. begin
  20476. pTDefRegMap(@Self)^.clr := $00004000;
  20477. end;
  20478. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20479. begin
  20480. if thebits = 0 then
  20481. pTDefRegMap(@Self)^.clr := $00004000
  20482. else
  20483. pTDefRegMap(@Self)^.&set := $00004000;
  20484. end;
  20485. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20486. begin
  20487. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20488. end;
  20489. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20490. begin
  20491. pTDefRegMap(@Self)^.&set := $00008000;
  20492. end;
  20493. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20494. begin
  20495. pTDefRegMap(@Self)^.clr := $00008000;
  20496. end;
  20497. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20498. begin
  20499. if thebits = 0 then
  20500. pTDefRegMap(@Self)^.clr := $00008000
  20501. else
  20502. pTDefRegMap(@Self)^.&set := $00008000;
  20503. end;
  20504. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20505. begin
  20506. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20507. end;
  20508. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20509. begin
  20510. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20511. end;
  20512. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20513. begin
  20514. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20515. end;
  20516. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20517. begin
  20518. pTDefRegMap(@Self)^.val := thebits;
  20519. end;
  20520. function TUART2_U3ASTA.getw : TBits_32; inline;
  20521. begin
  20522. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20523. end;
  20524. procedure TPMP_PMCON.setRDSP; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000001;
  20527. end;
  20528. procedure TPMP_PMCON.clearRDSP; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000001;
  20531. end;
  20532. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000001
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000001;
  20538. end;
  20539. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20540. begin
  20541. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20542. end;
  20543. procedure TPMP_PMCON.setWRSP; inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.&set := $00000002;
  20546. end;
  20547. procedure TPMP_PMCON.clearWRSP; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.clr := $00000002;
  20550. end;
  20551. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20552. begin
  20553. if thebits = 0 then
  20554. pTDefRegMap(@Self)^.clr := $00000002
  20555. else
  20556. pTDefRegMap(@Self)^.&set := $00000002;
  20557. end;
  20558. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20559. begin
  20560. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20561. end;
  20562. procedure TPMP_PMCON.setCS1P; inline;
  20563. begin
  20564. pTDefRegMap(@Self)^.&set := $00000008;
  20565. end;
  20566. procedure TPMP_PMCON.clearCS1P; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.clr := $00000008;
  20569. end;
  20570. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20571. begin
  20572. if thebits = 0 then
  20573. pTDefRegMap(@Self)^.clr := $00000008
  20574. else
  20575. pTDefRegMap(@Self)^.&set := $00000008;
  20576. end;
  20577. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20578. begin
  20579. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20580. end;
  20581. procedure TPMP_PMCON.setALP; inline;
  20582. begin
  20583. pTDefRegMap(@Self)^.&set := $00000020;
  20584. end;
  20585. procedure TPMP_PMCON.clearALP; inline;
  20586. begin
  20587. pTDefRegMap(@Self)^.clr := $00000020;
  20588. end;
  20589. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20590. begin
  20591. if thebits = 0 then
  20592. pTDefRegMap(@Self)^.clr := $00000020
  20593. else
  20594. pTDefRegMap(@Self)^.&set := $00000020;
  20595. end;
  20596. function TPMP_PMCON.getALP : TBits_1; inline;
  20597. begin
  20598. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20599. end;
  20600. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20601. begin
  20602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20603. end;
  20604. function TPMP_PMCON.getCSF : TBits_2; inline;
  20605. begin
  20606. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20607. end;
  20608. procedure TPMP_PMCON.setPTRDEN; inline;
  20609. begin
  20610. pTDefRegMap(@Self)^.&set := $00000100;
  20611. end;
  20612. procedure TPMP_PMCON.clearPTRDEN; inline;
  20613. begin
  20614. pTDefRegMap(@Self)^.clr := $00000100;
  20615. end;
  20616. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20617. begin
  20618. if thebits = 0 then
  20619. pTDefRegMap(@Self)^.clr := $00000100
  20620. else
  20621. pTDefRegMap(@Self)^.&set := $00000100;
  20622. end;
  20623. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20624. begin
  20625. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20626. end;
  20627. procedure TPMP_PMCON.setPTWREN; inline;
  20628. begin
  20629. pTDefRegMap(@Self)^.&set := $00000200;
  20630. end;
  20631. procedure TPMP_PMCON.clearPTWREN; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.clr := $00000200;
  20634. end;
  20635. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20636. begin
  20637. if thebits = 0 then
  20638. pTDefRegMap(@Self)^.clr := $00000200
  20639. else
  20640. pTDefRegMap(@Self)^.&set := $00000200;
  20641. end;
  20642. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20643. begin
  20644. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20645. end;
  20646. procedure TPMP_PMCON.setPMPTTL; inline;
  20647. begin
  20648. pTDefRegMap(@Self)^.&set := $00000400;
  20649. end;
  20650. procedure TPMP_PMCON.clearPMPTTL; inline;
  20651. begin
  20652. pTDefRegMap(@Self)^.clr := $00000400;
  20653. end;
  20654. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20655. begin
  20656. if thebits = 0 then
  20657. pTDefRegMap(@Self)^.clr := $00000400
  20658. else
  20659. pTDefRegMap(@Self)^.&set := $00000400;
  20660. end;
  20661. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20662. begin
  20663. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20664. end;
  20665. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20666. begin
  20667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20668. end;
  20669. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20670. begin
  20671. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20672. end;
  20673. procedure TPMP_PMCON.setSIDL; inline;
  20674. begin
  20675. pTDefRegMap(@Self)^.&set := $00002000;
  20676. end;
  20677. procedure TPMP_PMCON.clearSIDL; inline;
  20678. begin
  20679. pTDefRegMap(@Self)^.clr := $00002000;
  20680. end;
  20681. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20682. begin
  20683. if thebits = 0 then
  20684. pTDefRegMap(@Self)^.clr := $00002000
  20685. else
  20686. pTDefRegMap(@Self)^.&set := $00002000;
  20687. end;
  20688. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20689. begin
  20690. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20691. end;
  20692. procedure TPMP_PMCON.setON; inline;
  20693. begin
  20694. pTDefRegMap(@Self)^.&set := $00008000;
  20695. end;
  20696. procedure TPMP_PMCON.clearON; inline;
  20697. begin
  20698. pTDefRegMap(@Self)^.clr := $00008000;
  20699. end;
  20700. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  20701. begin
  20702. if thebits = 0 then
  20703. pTDefRegMap(@Self)^.clr := $00008000
  20704. else
  20705. pTDefRegMap(@Self)^.&set := $00008000;
  20706. end;
  20707. function TPMP_PMCON.getON : TBits_1; inline;
  20708. begin
  20709. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20710. end;
  20711. procedure TPMP_PMCON.setCSF0; inline;
  20712. begin
  20713. pTDefRegMap(@Self)^.&set := $00000040;
  20714. end;
  20715. procedure TPMP_PMCON.clearCSF0; inline;
  20716. begin
  20717. pTDefRegMap(@Self)^.clr := $00000040;
  20718. end;
  20719. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  20720. begin
  20721. if thebits = 0 then
  20722. pTDefRegMap(@Self)^.clr := $00000040
  20723. else
  20724. pTDefRegMap(@Self)^.&set := $00000040;
  20725. end;
  20726. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  20727. begin
  20728. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20729. end;
  20730. procedure TPMP_PMCON.setCSF1; inline;
  20731. begin
  20732. pTDefRegMap(@Self)^.&set := $00000080;
  20733. end;
  20734. procedure TPMP_PMCON.clearCSF1; inline;
  20735. begin
  20736. pTDefRegMap(@Self)^.clr := $00000080;
  20737. end;
  20738. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  20739. begin
  20740. if thebits = 0 then
  20741. pTDefRegMap(@Self)^.clr := $00000080
  20742. else
  20743. pTDefRegMap(@Self)^.&set := $00000080;
  20744. end;
  20745. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  20746. begin
  20747. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20748. end;
  20749. procedure TPMP_PMCON.setADRMUX0; inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.&set := $00000800;
  20752. end;
  20753. procedure TPMP_PMCON.clearADRMUX0; inline;
  20754. begin
  20755. pTDefRegMap(@Self)^.clr := $00000800;
  20756. end;
  20757. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  20758. begin
  20759. if thebits = 0 then
  20760. pTDefRegMap(@Self)^.clr := $00000800
  20761. else
  20762. pTDefRegMap(@Self)^.&set := $00000800;
  20763. end;
  20764. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  20765. begin
  20766. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20767. end;
  20768. procedure TPMP_PMCON.setADRMUX1; inline;
  20769. begin
  20770. pTDefRegMap(@Self)^.&set := $00001000;
  20771. end;
  20772. procedure TPMP_PMCON.clearADRMUX1; inline;
  20773. begin
  20774. pTDefRegMap(@Self)^.clr := $00001000;
  20775. end;
  20776. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  20777. begin
  20778. if thebits = 0 then
  20779. pTDefRegMap(@Self)^.clr := $00001000
  20780. else
  20781. pTDefRegMap(@Self)^.&set := $00001000;
  20782. end;
  20783. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  20784. begin
  20785. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20786. end;
  20787. procedure TPMP_PMCON.setPSIDL; inline;
  20788. begin
  20789. pTDefRegMap(@Self)^.&set := $00002000;
  20790. end;
  20791. procedure TPMP_PMCON.clearPSIDL; inline;
  20792. begin
  20793. pTDefRegMap(@Self)^.clr := $00002000;
  20794. end;
  20795. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  20796. begin
  20797. if thebits = 0 then
  20798. pTDefRegMap(@Self)^.clr := $00002000
  20799. else
  20800. pTDefRegMap(@Self)^.&set := $00002000;
  20801. end;
  20802. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  20803. begin
  20804. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20805. end;
  20806. procedure TPMP_PMCON.setPMPEN; inline;
  20807. begin
  20808. pTDefRegMap(@Self)^.&set := $00008000;
  20809. end;
  20810. procedure TPMP_PMCON.clearPMPEN; inline;
  20811. begin
  20812. pTDefRegMap(@Self)^.clr := $00008000;
  20813. end;
  20814. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  20815. begin
  20816. if thebits = 0 then
  20817. pTDefRegMap(@Self)^.clr := $00008000
  20818. else
  20819. pTDefRegMap(@Self)^.&set := $00008000;
  20820. end;
  20821. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  20822. begin
  20823. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20824. end;
  20825. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  20826. begin
  20827. pTDefRegMap(@Self)^.val := thebits;
  20828. end;
  20829. function TPMP_PMCON.getw : TBits_32; inline;
  20830. begin
  20831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20832. end;
  20833. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  20834. begin
  20835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20836. end;
  20837. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  20838. begin
  20839. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20840. end;
  20841. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  20842. begin
  20843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  20844. end;
  20845. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  20846. begin
  20847. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  20848. end;
  20849. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  20850. begin
  20851. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20852. end;
  20853. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  20854. begin
  20855. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20856. end;
  20857. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  20858. begin
  20859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20860. end;
  20861. function TPMP_PMMODE.getMODE : TBits_2; inline;
  20862. begin
  20863. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20864. end;
  20865. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  20866. begin
  20867. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20868. end;
  20869. function TPMP_PMMODE.getINCM : TBits_2; inline;
  20870. begin
  20871. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20872. end;
  20873. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  20874. begin
  20875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  20876. end;
  20877. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  20878. begin
  20879. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  20880. end;
  20881. procedure TPMP_PMMODE.setBUSY; inline;
  20882. begin
  20883. pTDefRegMap(@Self)^.&set := $00008000;
  20884. end;
  20885. procedure TPMP_PMMODE.clearBUSY; inline;
  20886. begin
  20887. pTDefRegMap(@Self)^.clr := $00008000;
  20888. end;
  20889. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  20890. begin
  20891. if thebits = 0 then
  20892. pTDefRegMap(@Self)^.clr := $00008000
  20893. else
  20894. pTDefRegMap(@Self)^.&set := $00008000;
  20895. end;
  20896. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  20897. begin
  20898. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20899. end;
  20900. procedure TPMP_PMMODE.setWAITE0; inline;
  20901. begin
  20902. pTDefRegMap(@Self)^.&set := $00000001;
  20903. end;
  20904. procedure TPMP_PMMODE.clearWAITE0; inline;
  20905. begin
  20906. pTDefRegMap(@Self)^.clr := $00000001;
  20907. end;
  20908. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  20909. begin
  20910. if thebits = 0 then
  20911. pTDefRegMap(@Self)^.clr := $00000001
  20912. else
  20913. pTDefRegMap(@Self)^.&set := $00000001;
  20914. end;
  20915. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  20916. begin
  20917. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20918. end;
  20919. procedure TPMP_PMMODE.setWAITE1; inline;
  20920. begin
  20921. pTDefRegMap(@Self)^.&set := $00000002;
  20922. end;
  20923. procedure TPMP_PMMODE.clearWAITE1; inline;
  20924. begin
  20925. pTDefRegMap(@Self)^.clr := $00000002;
  20926. end;
  20927. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  20928. begin
  20929. if thebits = 0 then
  20930. pTDefRegMap(@Self)^.clr := $00000002
  20931. else
  20932. pTDefRegMap(@Self)^.&set := $00000002;
  20933. end;
  20934. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  20935. begin
  20936. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20937. end;
  20938. procedure TPMP_PMMODE.setWAITM0; inline;
  20939. begin
  20940. pTDefRegMap(@Self)^.&set := $00000004;
  20941. end;
  20942. procedure TPMP_PMMODE.clearWAITM0; inline;
  20943. begin
  20944. pTDefRegMap(@Self)^.clr := $00000004;
  20945. end;
  20946. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  20947. begin
  20948. if thebits = 0 then
  20949. pTDefRegMap(@Self)^.clr := $00000004
  20950. else
  20951. pTDefRegMap(@Self)^.&set := $00000004;
  20952. end;
  20953. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  20954. begin
  20955. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20956. end;
  20957. procedure TPMP_PMMODE.setWAITM1; inline;
  20958. begin
  20959. pTDefRegMap(@Self)^.&set := $00000008;
  20960. end;
  20961. procedure TPMP_PMMODE.clearWAITM1; inline;
  20962. begin
  20963. pTDefRegMap(@Self)^.clr := $00000008;
  20964. end;
  20965. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  20966. begin
  20967. if thebits = 0 then
  20968. pTDefRegMap(@Self)^.clr := $00000008
  20969. else
  20970. pTDefRegMap(@Self)^.&set := $00000008;
  20971. end;
  20972. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  20973. begin
  20974. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20975. end;
  20976. procedure TPMP_PMMODE.setWAITM2; inline;
  20977. begin
  20978. pTDefRegMap(@Self)^.&set := $00000010;
  20979. end;
  20980. procedure TPMP_PMMODE.clearWAITM2; inline;
  20981. begin
  20982. pTDefRegMap(@Self)^.clr := $00000010;
  20983. end;
  20984. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  20985. begin
  20986. if thebits = 0 then
  20987. pTDefRegMap(@Self)^.clr := $00000010
  20988. else
  20989. pTDefRegMap(@Self)^.&set := $00000010;
  20990. end;
  20991. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  20992. begin
  20993. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20994. end;
  20995. procedure TPMP_PMMODE.setWAITM3; inline;
  20996. begin
  20997. pTDefRegMap(@Self)^.&set := $00000020;
  20998. end;
  20999. procedure TPMP_PMMODE.clearWAITM3; inline;
  21000. begin
  21001. pTDefRegMap(@Self)^.clr := $00000020;
  21002. end;
  21003. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21004. begin
  21005. if thebits = 0 then
  21006. pTDefRegMap(@Self)^.clr := $00000020
  21007. else
  21008. pTDefRegMap(@Self)^.&set := $00000020;
  21009. end;
  21010. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21011. begin
  21012. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21013. end;
  21014. procedure TPMP_PMMODE.setWAITB0; inline;
  21015. begin
  21016. pTDefRegMap(@Self)^.&set := $00000040;
  21017. end;
  21018. procedure TPMP_PMMODE.clearWAITB0; inline;
  21019. begin
  21020. pTDefRegMap(@Self)^.clr := $00000040;
  21021. end;
  21022. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21023. begin
  21024. if thebits = 0 then
  21025. pTDefRegMap(@Self)^.clr := $00000040
  21026. else
  21027. pTDefRegMap(@Self)^.&set := $00000040;
  21028. end;
  21029. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21030. begin
  21031. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21032. end;
  21033. procedure TPMP_PMMODE.setWAITB1; inline;
  21034. begin
  21035. pTDefRegMap(@Self)^.&set := $00000080;
  21036. end;
  21037. procedure TPMP_PMMODE.clearWAITB1; inline;
  21038. begin
  21039. pTDefRegMap(@Self)^.clr := $00000080;
  21040. end;
  21041. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21042. begin
  21043. if thebits = 0 then
  21044. pTDefRegMap(@Self)^.clr := $00000080
  21045. else
  21046. pTDefRegMap(@Self)^.&set := $00000080;
  21047. end;
  21048. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21049. begin
  21050. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21051. end;
  21052. procedure TPMP_PMMODE.setMODE0; inline;
  21053. begin
  21054. pTDefRegMap(@Self)^.&set := $00000100;
  21055. end;
  21056. procedure TPMP_PMMODE.clearMODE0; inline;
  21057. begin
  21058. pTDefRegMap(@Self)^.clr := $00000100;
  21059. end;
  21060. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21061. begin
  21062. if thebits = 0 then
  21063. pTDefRegMap(@Self)^.clr := $00000100
  21064. else
  21065. pTDefRegMap(@Self)^.&set := $00000100;
  21066. end;
  21067. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21068. begin
  21069. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21070. end;
  21071. procedure TPMP_PMMODE.setMODE1; inline;
  21072. begin
  21073. pTDefRegMap(@Self)^.&set := $00000200;
  21074. end;
  21075. procedure TPMP_PMMODE.clearMODE1; inline;
  21076. begin
  21077. pTDefRegMap(@Self)^.clr := $00000200;
  21078. end;
  21079. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21080. begin
  21081. if thebits = 0 then
  21082. pTDefRegMap(@Self)^.clr := $00000200
  21083. else
  21084. pTDefRegMap(@Self)^.&set := $00000200;
  21085. end;
  21086. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21087. begin
  21088. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21089. end;
  21090. procedure TPMP_PMMODE.setINCM0; inline;
  21091. begin
  21092. pTDefRegMap(@Self)^.&set := $00000800;
  21093. end;
  21094. procedure TPMP_PMMODE.clearINCM0; inline;
  21095. begin
  21096. pTDefRegMap(@Self)^.clr := $00000800;
  21097. end;
  21098. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21099. begin
  21100. if thebits = 0 then
  21101. pTDefRegMap(@Self)^.clr := $00000800
  21102. else
  21103. pTDefRegMap(@Self)^.&set := $00000800;
  21104. end;
  21105. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21106. begin
  21107. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21108. end;
  21109. procedure TPMP_PMMODE.setINCM1; inline;
  21110. begin
  21111. pTDefRegMap(@Self)^.&set := $00001000;
  21112. end;
  21113. procedure TPMP_PMMODE.clearINCM1; inline;
  21114. begin
  21115. pTDefRegMap(@Self)^.clr := $00001000;
  21116. end;
  21117. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21118. begin
  21119. if thebits = 0 then
  21120. pTDefRegMap(@Self)^.clr := $00001000
  21121. else
  21122. pTDefRegMap(@Self)^.&set := $00001000;
  21123. end;
  21124. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21125. begin
  21126. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21127. end;
  21128. procedure TPMP_PMMODE.setIRQM0; inline;
  21129. begin
  21130. pTDefRegMap(@Self)^.&set := $00002000;
  21131. end;
  21132. procedure TPMP_PMMODE.clearIRQM0; inline;
  21133. begin
  21134. pTDefRegMap(@Self)^.clr := $00002000;
  21135. end;
  21136. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21137. begin
  21138. if thebits = 0 then
  21139. pTDefRegMap(@Self)^.clr := $00002000
  21140. else
  21141. pTDefRegMap(@Self)^.&set := $00002000;
  21142. end;
  21143. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21144. begin
  21145. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21146. end;
  21147. procedure TPMP_PMMODE.setIRQM1; inline;
  21148. begin
  21149. pTDefRegMap(@Self)^.&set := $00004000;
  21150. end;
  21151. procedure TPMP_PMMODE.clearIRQM1; inline;
  21152. begin
  21153. pTDefRegMap(@Self)^.clr := $00004000;
  21154. end;
  21155. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21156. begin
  21157. if thebits = 0 then
  21158. pTDefRegMap(@Self)^.clr := $00004000
  21159. else
  21160. pTDefRegMap(@Self)^.&set := $00004000;
  21161. end;
  21162. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21163. begin
  21164. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21165. end;
  21166. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21167. begin
  21168. pTDefRegMap(@Self)^.val := thebits;
  21169. end;
  21170. function TPMP_PMMODE.getw : TBits_32; inline;
  21171. begin
  21172. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21173. end;
  21174. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21175. begin
  21176. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21177. end;
  21178. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21179. begin
  21180. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21181. end;
  21182. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21183. begin
  21184. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21185. end;
  21186. function TPMP_PMADDR.getCS : TBits_2; inline;
  21187. begin
  21188. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21189. end;
  21190. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21191. begin
  21192. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21193. end;
  21194. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21195. begin
  21196. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21197. end;
  21198. procedure TPMP_PMADDR.setCS1; inline;
  21199. begin
  21200. pTDefRegMap(@Self)^.&set := $00004000;
  21201. end;
  21202. procedure TPMP_PMADDR.clearCS1; inline;
  21203. begin
  21204. pTDefRegMap(@Self)^.clr := $00004000;
  21205. end;
  21206. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21207. begin
  21208. if thebits = 0 then
  21209. pTDefRegMap(@Self)^.clr := $00004000
  21210. else
  21211. pTDefRegMap(@Self)^.&set := $00004000;
  21212. end;
  21213. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21214. begin
  21215. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21216. end;
  21217. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21218. begin
  21219. pTDefRegMap(@Self)^.val := thebits;
  21220. end;
  21221. function TPMP_PMADDR.getw : TBits_32; inline;
  21222. begin
  21223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21224. end;
  21225. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21226. begin
  21227. pTDefRegMap(@Self)^.val := thebits;
  21228. end;
  21229. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21230. begin
  21231. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21232. end;
  21233. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21234. begin
  21235. pTDefRegMap(@Self)^.val := thebits;
  21236. end;
  21237. function TPMP_PMDOUT.getw : TBits_32; inline;
  21238. begin
  21239. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21240. end;
  21241. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21242. begin
  21243. pTDefRegMap(@Self)^.val := thebits;
  21244. end;
  21245. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21246. begin
  21247. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21248. end;
  21249. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21250. begin
  21251. pTDefRegMap(@Self)^.val := thebits;
  21252. end;
  21253. function TPMP_PMDIN.getw : TBits_32; inline;
  21254. begin
  21255. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21256. end;
  21257. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21258. begin
  21259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21260. end;
  21261. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21262. begin
  21263. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21264. end;
  21265. procedure TPMP_PMAEN.setPTEN0; inline;
  21266. begin
  21267. pTDefRegMap(@Self)^.&set := $00000001;
  21268. end;
  21269. procedure TPMP_PMAEN.clearPTEN0; inline;
  21270. begin
  21271. pTDefRegMap(@Self)^.clr := $00000001;
  21272. end;
  21273. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21274. begin
  21275. if thebits = 0 then
  21276. pTDefRegMap(@Self)^.clr := $00000001
  21277. else
  21278. pTDefRegMap(@Self)^.&set := $00000001;
  21279. end;
  21280. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21281. begin
  21282. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21283. end;
  21284. procedure TPMP_PMAEN.setPTEN1; inline;
  21285. begin
  21286. pTDefRegMap(@Self)^.&set := $00000002;
  21287. end;
  21288. procedure TPMP_PMAEN.clearPTEN1; inline;
  21289. begin
  21290. pTDefRegMap(@Self)^.clr := $00000002;
  21291. end;
  21292. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21293. begin
  21294. if thebits = 0 then
  21295. pTDefRegMap(@Self)^.clr := $00000002
  21296. else
  21297. pTDefRegMap(@Self)^.&set := $00000002;
  21298. end;
  21299. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21300. begin
  21301. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21302. end;
  21303. procedure TPMP_PMAEN.setPTEN2; inline;
  21304. begin
  21305. pTDefRegMap(@Self)^.&set := $00000004;
  21306. end;
  21307. procedure TPMP_PMAEN.clearPTEN2; inline;
  21308. begin
  21309. pTDefRegMap(@Self)^.clr := $00000004;
  21310. end;
  21311. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21312. begin
  21313. if thebits = 0 then
  21314. pTDefRegMap(@Self)^.clr := $00000004
  21315. else
  21316. pTDefRegMap(@Self)^.&set := $00000004;
  21317. end;
  21318. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21319. begin
  21320. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21321. end;
  21322. procedure TPMP_PMAEN.setPTEN3; inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.&set := $00000008;
  21325. end;
  21326. procedure TPMP_PMAEN.clearPTEN3; inline;
  21327. begin
  21328. pTDefRegMap(@Self)^.clr := $00000008;
  21329. end;
  21330. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21331. begin
  21332. if thebits = 0 then
  21333. pTDefRegMap(@Self)^.clr := $00000008
  21334. else
  21335. pTDefRegMap(@Self)^.&set := $00000008;
  21336. end;
  21337. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21338. begin
  21339. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21340. end;
  21341. procedure TPMP_PMAEN.setPTEN4; inline;
  21342. begin
  21343. pTDefRegMap(@Self)^.&set := $00000010;
  21344. end;
  21345. procedure TPMP_PMAEN.clearPTEN4; inline;
  21346. begin
  21347. pTDefRegMap(@Self)^.clr := $00000010;
  21348. end;
  21349. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21350. begin
  21351. if thebits = 0 then
  21352. pTDefRegMap(@Self)^.clr := $00000010
  21353. else
  21354. pTDefRegMap(@Self)^.&set := $00000010;
  21355. end;
  21356. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21357. begin
  21358. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21359. end;
  21360. procedure TPMP_PMAEN.setPTEN5; inline;
  21361. begin
  21362. pTDefRegMap(@Self)^.&set := $00000020;
  21363. end;
  21364. procedure TPMP_PMAEN.clearPTEN5; inline;
  21365. begin
  21366. pTDefRegMap(@Self)^.clr := $00000020;
  21367. end;
  21368. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21369. begin
  21370. if thebits = 0 then
  21371. pTDefRegMap(@Self)^.clr := $00000020
  21372. else
  21373. pTDefRegMap(@Self)^.&set := $00000020;
  21374. end;
  21375. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21376. begin
  21377. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21378. end;
  21379. procedure TPMP_PMAEN.setPTEN6; inline;
  21380. begin
  21381. pTDefRegMap(@Self)^.&set := $00000040;
  21382. end;
  21383. procedure TPMP_PMAEN.clearPTEN6; inline;
  21384. begin
  21385. pTDefRegMap(@Self)^.clr := $00000040;
  21386. end;
  21387. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21388. begin
  21389. if thebits = 0 then
  21390. pTDefRegMap(@Self)^.clr := $00000040
  21391. else
  21392. pTDefRegMap(@Self)^.&set := $00000040;
  21393. end;
  21394. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21395. begin
  21396. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21397. end;
  21398. procedure TPMP_PMAEN.setPTEN7; inline;
  21399. begin
  21400. pTDefRegMap(@Self)^.&set := $00000080;
  21401. end;
  21402. procedure TPMP_PMAEN.clearPTEN7; inline;
  21403. begin
  21404. pTDefRegMap(@Self)^.clr := $00000080;
  21405. end;
  21406. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21407. begin
  21408. if thebits = 0 then
  21409. pTDefRegMap(@Self)^.clr := $00000080
  21410. else
  21411. pTDefRegMap(@Self)^.&set := $00000080;
  21412. end;
  21413. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21414. begin
  21415. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21416. end;
  21417. procedure TPMP_PMAEN.setPTEN8; inline;
  21418. begin
  21419. pTDefRegMap(@Self)^.&set := $00000100;
  21420. end;
  21421. procedure TPMP_PMAEN.clearPTEN8; inline;
  21422. begin
  21423. pTDefRegMap(@Self)^.clr := $00000100;
  21424. end;
  21425. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21426. begin
  21427. if thebits = 0 then
  21428. pTDefRegMap(@Self)^.clr := $00000100
  21429. else
  21430. pTDefRegMap(@Self)^.&set := $00000100;
  21431. end;
  21432. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21433. begin
  21434. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21435. end;
  21436. procedure TPMP_PMAEN.setPTEN9; inline;
  21437. begin
  21438. pTDefRegMap(@Self)^.&set := $00000200;
  21439. end;
  21440. procedure TPMP_PMAEN.clearPTEN9; inline;
  21441. begin
  21442. pTDefRegMap(@Self)^.clr := $00000200;
  21443. end;
  21444. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21445. begin
  21446. if thebits = 0 then
  21447. pTDefRegMap(@Self)^.clr := $00000200
  21448. else
  21449. pTDefRegMap(@Self)^.&set := $00000200;
  21450. end;
  21451. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21452. begin
  21453. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21454. end;
  21455. procedure TPMP_PMAEN.setPTEN10; inline;
  21456. begin
  21457. pTDefRegMap(@Self)^.&set := $00000400;
  21458. end;
  21459. procedure TPMP_PMAEN.clearPTEN10; inline;
  21460. begin
  21461. pTDefRegMap(@Self)^.clr := $00000400;
  21462. end;
  21463. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21464. begin
  21465. if thebits = 0 then
  21466. pTDefRegMap(@Self)^.clr := $00000400
  21467. else
  21468. pTDefRegMap(@Self)^.&set := $00000400;
  21469. end;
  21470. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21471. begin
  21472. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21473. end;
  21474. procedure TPMP_PMAEN.setPTEN11; inline;
  21475. begin
  21476. pTDefRegMap(@Self)^.&set := $00000800;
  21477. end;
  21478. procedure TPMP_PMAEN.clearPTEN11; inline;
  21479. begin
  21480. pTDefRegMap(@Self)^.clr := $00000800;
  21481. end;
  21482. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21483. begin
  21484. if thebits = 0 then
  21485. pTDefRegMap(@Self)^.clr := $00000800
  21486. else
  21487. pTDefRegMap(@Self)^.&set := $00000800;
  21488. end;
  21489. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21490. begin
  21491. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21492. end;
  21493. procedure TPMP_PMAEN.setPTEN12; inline;
  21494. begin
  21495. pTDefRegMap(@Self)^.&set := $00001000;
  21496. end;
  21497. procedure TPMP_PMAEN.clearPTEN12; inline;
  21498. begin
  21499. pTDefRegMap(@Self)^.clr := $00001000;
  21500. end;
  21501. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21502. begin
  21503. if thebits = 0 then
  21504. pTDefRegMap(@Self)^.clr := $00001000
  21505. else
  21506. pTDefRegMap(@Self)^.&set := $00001000;
  21507. end;
  21508. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21509. begin
  21510. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21511. end;
  21512. procedure TPMP_PMAEN.setPTEN13; inline;
  21513. begin
  21514. pTDefRegMap(@Self)^.&set := $00002000;
  21515. end;
  21516. procedure TPMP_PMAEN.clearPTEN13; inline;
  21517. begin
  21518. pTDefRegMap(@Self)^.clr := $00002000;
  21519. end;
  21520. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21521. begin
  21522. if thebits = 0 then
  21523. pTDefRegMap(@Self)^.clr := $00002000
  21524. else
  21525. pTDefRegMap(@Self)^.&set := $00002000;
  21526. end;
  21527. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21528. begin
  21529. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21530. end;
  21531. procedure TPMP_PMAEN.setPTEN14; inline;
  21532. begin
  21533. pTDefRegMap(@Self)^.&set := $00004000;
  21534. end;
  21535. procedure TPMP_PMAEN.clearPTEN14; inline;
  21536. begin
  21537. pTDefRegMap(@Self)^.clr := $00004000;
  21538. end;
  21539. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21540. begin
  21541. if thebits = 0 then
  21542. pTDefRegMap(@Self)^.clr := $00004000
  21543. else
  21544. pTDefRegMap(@Self)^.&set := $00004000;
  21545. end;
  21546. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21547. begin
  21548. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21549. end;
  21550. procedure TPMP_PMAEN.setPTEN15; inline;
  21551. begin
  21552. pTDefRegMap(@Self)^.&set := $00008000;
  21553. end;
  21554. procedure TPMP_PMAEN.clearPTEN15; inline;
  21555. begin
  21556. pTDefRegMap(@Self)^.clr := $00008000;
  21557. end;
  21558. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21559. begin
  21560. if thebits = 0 then
  21561. pTDefRegMap(@Self)^.clr := $00008000
  21562. else
  21563. pTDefRegMap(@Self)^.&set := $00008000;
  21564. end;
  21565. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21566. begin
  21567. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21568. end;
  21569. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21570. begin
  21571. pTDefRegMap(@Self)^.val := thebits;
  21572. end;
  21573. function TPMP_PMAEN.getw : TBits_32; inline;
  21574. begin
  21575. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21576. end;
  21577. procedure TPMP_PMSTAT.setOB0E; inline;
  21578. begin
  21579. pTDefRegMap(@Self)^.&set := $00000001;
  21580. end;
  21581. procedure TPMP_PMSTAT.clearOB0E; inline;
  21582. begin
  21583. pTDefRegMap(@Self)^.clr := $00000001;
  21584. end;
  21585. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21586. begin
  21587. if thebits = 0 then
  21588. pTDefRegMap(@Self)^.clr := $00000001
  21589. else
  21590. pTDefRegMap(@Self)^.&set := $00000001;
  21591. end;
  21592. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21593. begin
  21594. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21595. end;
  21596. procedure TPMP_PMSTAT.setOB1E; inline;
  21597. begin
  21598. pTDefRegMap(@Self)^.&set := $00000002;
  21599. end;
  21600. procedure TPMP_PMSTAT.clearOB1E; inline;
  21601. begin
  21602. pTDefRegMap(@Self)^.clr := $00000002;
  21603. end;
  21604. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21605. begin
  21606. if thebits = 0 then
  21607. pTDefRegMap(@Self)^.clr := $00000002
  21608. else
  21609. pTDefRegMap(@Self)^.&set := $00000002;
  21610. end;
  21611. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21612. begin
  21613. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21614. end;
  21615. procedure TPMP_PMSTAT.setOB2E; inline;
  21616. begin
  21617. pTDefRegMap(@Self)^.&set := $00000004;
  21618. end;
  21619. procedure TPMP_PMSTAT.clearOB2E; inline;
  21620. begin
  21621. pTDefRegMap(@Self)^.clr := $00000004;
  21622. end;
  21623. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21624. begin
  21625. if thebits = 0 then
  21626. pTDefRegMap(@Self)^.clr := $00000004
  21627. else
  21628. pTDefRegMap(@Self)^.&set := $00000004;
  21629. end;
  21630. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21631. begin
  21632. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21633. end;
  21634. procedure TPMP_PMSTAT.setOB3E; inline;
  21635. begin
  21636. pTDefRegMap(@Self)^.&set := $00000008;
  21637. end;
  21638. procedure TPMP_PMSTAT.clearOB3E; inline;
  21639. begin
  21640. pTDefRegMap(@Self)^.clr := $00000008;
  21641. end;
  21642. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21643. begin
  21644. if thebits = 0 then
  21645. pTDefRegMap(@Self)^.clr := $00000008
  21646. else
  21647. pTDefRegMap(@Self)^.&set := $00000008;
  21648. end;
  21649. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21650. begin
  21651. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21652. end;
  21653. procedure TPMP_PMSTAT.setOBUF; inline;
  21654. begin
  21655. pTDefRegMap(@Self)^.&set := $00000040;
  21656. end;
  21657. procedure TPMP_PMSTAT.clearOBUF; inline;
  21658. begin
  21659. pTDefRegMap(@Self)^.clr := $00000040;
  21660. end;
  21661. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21662. begin
  21663. if thebits = 0 then
  21664. pTDefRegMap(@Self)^.clr := $00000040
  21665. else
  21666. pTDefRegMap(@Self)^.&set := $00000040;
  21667. end;
  21668. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21669. begin
  21670. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21671. end;
  21672. procedure TPMP_PMSTAT.setOBE; inline;
  21673. begin
  21674. pTDefRegMap(@Self)^.&set := $00000080;
  21675. end;
  21676. procedure TPMP_PMSTAT.clearOBE; inline;
  21677. begin
  21678. pTDefRegMap(@Self)^.clr := $00000080;
  21679. end;
  21680. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21681. begin
  21682. if thebits = 0 then
  21683. pTDefRegMap(@Self)^.clr := $00000080
  21684. else
  21685. pTDefRegMap(@Self)^.&set := $00000080;
  21686. end;
  21687. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21688. begin
  21689. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21690. end;
  21691. procedure TPMP_PMSTAT.setIB0F; inline;
  21692. begin
  21693. pTDefRegMap(@Self)^.&set := $00000100;
  21694. end;
  21695. procedure TPMP_PMSTAT.clearIB0F; inline;
  21696. begin
  21697. pTDefRegMap(@Self)^.clr := $00000100;
  21698. end;
  21699. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21700. begin
  21701. if thebits = 0 then
  21702. pTDefRegMap(@Self)^.clr := $00000100
  21703. else
  21704. pTDefRegMap(@Self)^.&set := $00000100;
  21705. end;
  21706. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  21707. begin
  21708. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21709. end;
  21710. procedure TPMP_PMSTAT.setIB1F; inline;
  21711. begin
  21712. pTDefRegMap(@Self)^.&set := $00000200;
  21713. end;
  21714. procedure TPMP_PMSTAT.clearIB1F; inline;
  21715. begin
  21716. pTDefRegMap(@Self)^.clr := $00000200;
  21717. end;
  21718. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  21719. begin
  21720. if thebits = 0 then
  21721. pTDefRegMap(@Self)^.clr := $00000200
  21722. else
  21723. pTDefRegMap(@Self)^.&set := $00000200;
  21724. end;
  21725. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  21726. begin
  21727. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21728. end;
  21729. procedure TPMP_PMSTAT.setIB2F; inline;
  21730. begin
  21731. pTDefRegMap(@Self)^.&set := $00000400;
  21732. end;
  21733. procedure TPMP_PMSTAT.clearIB2F; inline;
  21734. begin
  21735. pTDefRegMap(@Self)^.clr := $00000400;
  21736. end;
  21737. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  21738. begin
  21739. if thebits = 0 then
  21740. pTDefRegMap(@Self)^.clr := $00000400
  21741. else
  21742. pTDefRegMap(@Self)^.&set := $00000400;
  21743. end;
  21744. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  21745. begin
  21746. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21747. end;
  21748. procedure TPMP_PMSTAT.setIB3F; inline;
  21749. begin
  21750. pTDefRegMap(@Self)^.&set := $00000800;
  21751. end;
  21752. procedure TPMP_PMSTAT.clearIB3F; inline;
  21753. begin
  21754. pTDefRegMap(@Self)^.clr := $00000800;
  21755. end;
  21756. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  21757. begin
  21758. if thebits = 0 then
  21759. pTDefRegMap(@Self)^.clr := $00000800
  21760. else
  21761. pTDefRegMap(@Self)^.&set := $00000800;
  21762. end;
  21763. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  21764. begin
  21765. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21766. end;
  21767. procedure TPMP_PMSTAT.setIBOV; inline;
  21768. begin
  21769. pTDefRegMap(@Self)^.&set := $00004000;
  21770. end;
  21771. procedure TPMP_PMSTAT.clearIBOV; inline;
  21772. begin
  21773. pTDefRegMap(@Self)^.clr := $00004000;
  21774. end;
  21775. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  21776. begin
  21777. if thebits = 0 then
  21778. pTDefRegMap(@Self)^.clr := $00004000
  21779. else
  21780. pTDefRegMap(@Self)^.&set := $00004000;
  21781. end;
  21782. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  21783. begin
  21784. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21785. end;
  21786. procedure TPMP_PMSTAT.setIBF; inline;
  21787. begin
  21788. pTDefRegMap(@Self)^.&set := $00008000;
  21789. end;
  21790. procedure TPMP_PMSTAT.clearIBF; inline;
  21791. begin
  21792. pTDefRegMap(@Self)^.clr := $00008000;
  21793. end;
  21794. procedure TPMP_PMSTAT.setIBF(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 TPMP_PMSTAT.getIBF : TBits_1; inline;
  21802. begin
  21803. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21804. end;
  21805. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  21806. begin
  21807. pTDefRegMap(@Self)^.val := thebits;
  21808. end;
  21809. function TPMP_PMSTAT.getw : TBits_32; inline;
  21810. begin
  21811. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21812. end;
  21813. procedure TADC10_AD1CON1.setDONE; inline;
  21814. begin
  21815. pTDefRegMap(@Self)^.&set := $00000001;
  21816. end;
  21817. procedure TADC10_AD1CON1.clearDONE; inline;
  21818. begin
  21819. pTDefRegMap(@Self)^.clr := $00000001;
  21820. end;
  21821. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  21822. begin
  21823. if thebits = 0 then
  21824. pTDefRegMap(@Self)^.clr := $00000001
  21825. else
  21826. pTDefRegMap(@Self)^.&set := $00000001;
  21827. end;
  21828. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  21829. begin
  21830. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21831. end;
  21832. procedure TADC10_AD1CON1.setSAMP; inline;
  21833. begin
  21834. pTDefRegMap(@Self)^.&set := $00000002;
  21835. end;
  21836. procedure TADC10_AD1CON1.clearSAMP; inline;
  21837. begin
  21838. pTDefRegMap(@Self)^.clr := $00000002;
  21839. end;
  21840. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  21841. begin
  21842. if thebits = 0 then
  21843. pTDefRegMap(@Self)^.clr := $00000002
  21844. else
  21845. pTDefRegMap(@Self)^.&set := $00000002;
  21846. end;
  21847. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  21848. begin
  21849. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21850. end;
  21851. procedure TADC10_AD1CON1.setASAM; inline;
  21852. begin
  21853. pTDefRegMap(@Self)^.&set := $00000004;
  21854. end;
  21855. procedure TADC10_AD1CON1.clearASAM; inline;
  21856. begin
  21857. pTDefRegMap(@Self)^.clr := $00000004;
  21858. end;
  21859. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  21860. begin
  21861. if thebits = 0 then
  21862. pTDefRegMap(@Self)^.clr := $00000004
  21863. else
  21864. pTDefRegMap(@Self)^.&set := $00000004;
  21865. end;
  21866. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  21867. begin
  21868. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21869. end;
  21870. procedure TADC10_AD1CON1.setCLRASAM; inline;
  21871. begin
  21872. pTDefRegMap(@Self)^.&set := $00000010;
  21873. end;
  21874. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  21875. begin
  21876. pTDefRegMap(@Self)^.clr := $00000010;
  21877. end;
  21878. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  21879. begin
  21880. if thebits = 0 then
  21881. pTDefRegMap(@Self)^.clr := $00000010
  21882. else
  21883. pTDefRegMap(@Self)^.&set := $00000010;
  21884. end;
  21885. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  21886. begin
  21887. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21888. end;
  21889. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  21892. end;
  21893. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  21894. begin
  21895. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  21896. end;
  21897. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  21898. begin
  21899. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  21900. end;
  21901. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  21902. begin
  21903. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  21904. end;
  21905. procedure TADC10_AD1CON1.setSIDL; inline;
  21906. begin
  21907. pTDefRegMap(@Self)^.&set := $00002000;
  21908. end;
  21909. procedure TADC10_AD1CON1.clearSIDL; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.clr := $00002000;
  21912. end;
  21913. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  21914. begin
  21915. if thebits = 0 then
  21916. pTDefRegMap(@Self)^.clr := $00002000
  21917. else
  21918. pTDefRegMap(@Self)^.&set := $00002000;
  21919. end;
  21920. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  21921. begin
  21922. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21923. end;
  21924. procedure TADC10_AD1CON1.setON; inline;
  21925. begin
  21926. pTDefRegMap(@Self)^.&set := $00008000;
  21927. end;
  21928. procedure TADC10_AD1CON1.clearON; inline;
  21929. begin
  21930. pTDefRegMap(@Self)^.clr := $00008000;
  21931. end;
  21932. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  21933. begin
  21934. if thebits = 0 then
  21935. pTDefRegMap(@Self)^.clr := $00008000
  21936. else
  21937. pTDefRegMap(@Self)^.&set := $00008000;
  21938. end;
  21939. function TADC10_AD1CON1.getON : TBits_1; inline;
  21940. begin
  21941. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21942. end;
  21943. procedure TADC10_AD1CON1.setSSRC0; inline;
  21944. begin
  21945. pTDefRegMap(@Self)^.&set := $00000020;
  21946. end;
  21947. procedure TADC10_AD1CON1.clearSSRC0; inline;
  21948. begin
  21949. pTDefRegMap(@Self)^.clr := $00000020;
  21950. end;
  21951. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  21952. begin
  21953. if thebits = 0 then
  21954. pTDefRegMap(@Self)^.clr := $00000020
  21955. else
  21956. pTDefRegMap(@Self)^.&set := $00000020;
  21957. end;
  21958. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  21959. begin
  21960. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21961. end;
  21962. procedure TADC10_AD1CON1.setSSRC1; inline;
  21963. begin
  21964. pTDefRegMap(@Self)^.&set := $00000040;
  21965. end;
  21966. procedure TADC10_AD1CON1.clearSSRC1; inline;
  21967. begin
  21968. pTDefRegMap(@Self)^.clr := $00000040;
  21969. end;
  21970. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  21971. begin
  21972. if thebits = 0 then
  21973. pTDefRegMap(@Self)^.clr := $00000040
  21974. else
  21975. pTDefRegMap(@Self)^.&set := $00000040;
  21976. end;
  21977. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  21978. begin
  21979. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21980. end;
  21981. procedure TADC10_AD1CON1.setSSRC2; inline;
  21982. begin
  21983. pTDefRegMap(@Self)^.&set := $00000080;
  21984. end;
  21985. procedure TADC10_AD1CON1.clearSSRC2; inline;
  21986. begin
  21987. pTDefRegMap(@Self)^.clr := $00000080;
  21988. end;
  21989. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  21990. begin
  21991. if thebits = 0 then
  21992. pTDefRegMap(@Self)^.clr := $00000080
  21993. else
  21994. pTDefRegMap(@Self)^.&set := $00000080;
  21995. end;
  21996. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  21997. begin
  21998. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21999. end;
  22000. procedure TADC10_AD1CON1.setFORM0; inline;
  22001. begin
  22002. pTDefRegMap(@Self)^.&set := $00000100;
  22003. end;
  22004. procedure TADC10_AD1CON1.clearFORM0; inline;
  22005. begin
  22006. pTDefRegMap(@Self)^.clr := $00000100;
  22007. end;
  22008. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22009. begin
  22010. if thebits = 0 then
  22011. pTDefRegMap(@Self)^.clr := $00000100
  22012. else
  22013. pTDefRegMap(@Self)^.&set := $00000100;
  22014. end;
  22015. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22016. begin
  22017. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22018. end;
  22019. procedure TADC10_AD1CON1.setFORM1; inline;
  22020. begin
  22021. pTDefRegMap(@Self)^.&set := $00000200;
  22022. end;
  22023. procedure TADC10_AD1CON1.clearFORM1; inline;
  22024. begin
  22025. pTDefRegMap(@Self)^.clr := $00000200;
  22026. end;
  22027. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22028. begin
  22029. if thebits = 0 then
  22030. pTDefRegMap(@Self)^.clr := $00000200
  22031. else
  22032. pTDefRegMap(@Self)^.&set := $00000200;
  22033. end;
  22034. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22035. begin
  22036. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22037. end;
  22038. procedure TADC10_AD1CON1.setFORM2; inline;
  22039. begin
  22040. pTDefRegMap(@Self)^.&set := $00000400;
  22041. end;
  22042. procedure TADC10_AD1CON1.clearFORM2; inline;
  22043. begin
  22044. pTDefRegMap(@Self)^.clr := $00000400;
  22045. end;
  22046. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22047. begin
  22048. if thebits = 0 then
  22049. pTDefRegMap(@Self)^.clr := $00000400
  22050. else
  22051. pTDefRegMap(@Self)^.&set := $00000400;
  22052. end;
  22053. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22054. begin
  22055. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22056. end;
  22057. procedure TADC10_AD1CON1.setADSIDL; inline;
  22058. begin
  22059. pTDefRegMap(@Self)^.&set := $00002000;
  22060. end;
  22061. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22062. begin
  22063. pTDefRegMap(@Self)^.clr := $00002000;
  22064. end;
  22065. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22066. begin
  22067. if thebits = 0 then
  22068. pTDefRegMap(@Self)^.clr := $00002000
  22069. else
  22070. pTDefRegMap(@Self)^.&set := $00002000;
  22071. end;
  22072. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22073. begin
  22074. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22075. end;
  22076. procedure TADC10_AD1CON1.setADON; inline;
  22077. begin
  22078. pTDefRegMap(@Self)^.&set := $00008000;
  22079. end;
  22080. procedure TADC10_AD1CON1.clearADON; inline;
  22081. begin
  22082. pTDefRegMap(@Self)^.clr := $00008000;
  22083. end;
  22084. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22085. begin
  22086. if thebits = 0 then
  22087. pTDefRegMap(@Self)^.clr := $00008000
  22088. else
  22089. pTDefRegMap(@Self)^.&set := $00008000;
  22090. end;
  22091. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22092. begin
  22093. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22094. end;
  22095. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22096. begin
  22097. pTDefRegMap(@Self)^.val := thebits;
  22098. end;
  22099. function TADC10_AD1CON1.getw : TBits_32; inline;
  22100. begin
  22101. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22102. end;
  22103. procedure TADC10_AD1CON2.setALTS; inline;
  22104. begin
  22105. pTDefRegMap(@Self)^.&set := $00000001;
  22106. end;
  22107. procedure TADC10_AD1CON2.clearALTS; inline;
  22108. begin
  22109. pTDefRegMap(@Self)^.clr := $00000001;
  22110. end;
  22111. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22112. begin
  22113. if thebits = 0 then
  22114. pTDefRegMap(@Self)^.clr := $00000001
  22115. else
  22116. pTDefRegMap(@Self)^.&set := $00000001;
  22117. end;
  22118. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22119. begin
  22120. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22121. end;
  22122. procedure TADC10_AD1CON2.setBUFM; inline;
  22123. begin
  22124. pTDefRegMap(@Self)^.&set := $00000002;
  22125. end;
  22126. procedure TADC10_AD1CON2.clearBUFM; inline;
  22127. begin
  22128. pTDefRegMap(@Self)^.clr := $00000002;
  22129. end;
  22130. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22131. begin
  22132. if thebits = 0 then
  22133. pTDefRegMap(@Self)^.clr := $00000002
  22134. else
  22135. pTDefRegMap(@Self)^.&set := $00000002;
  22136. end;
  22137. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22138. begin
  22139. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22140. end;
  22141. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22142. begin
  22143. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22144. end;
  22145. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22146. begin
  22147. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22148. end;
  22149. procedure TADC10_AD1CON2.setBUFS; inline;
  22150. begin
  22151. pTDefRegMap(@Self)^.&set := $00000080;
  22152. end;
  22153. procedure TADC10_AD1CON2.clearBUFS; inline;
  22154. begin
  22155. pTDefRegMap(@Self)^.clr := $00000080;
  22156. end;
  22157. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22158. begin
  22159. if thebits = 0 then
  22160. pTDefRegMap(@Self)^.clr := $00000080
  22161. else
  22162. pTDefRegMap(@Self)^.&set := $00000080;
  22163. end;
  22164. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22165. begin
  22166. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22167. end;
  22168. procedure TADC10_AD1CON2.setCSCNA; inline;
  22169. begin
  22170. pTDefRegMap(@Self)^.&set := $00000400;
  22171. end;
  22172. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22173. begin
  22174. pTDefRegMap(@Self)^.clr := $00000400;
  22175. end;
  22176. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22177. begin
  22178. if thebits = 0 then
  22179. pTDefRegMap(@Self)^.clr := $00000400
  22180. else
  22181. pTDefRegMap(@Self)^.&set := $00000400;
  22182. end;
  22183. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22184. begin
  22185. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22186. end;
  22187. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22188. begin
  22189. pTDefRegMap(@Self)^.&set := $00001000;
  22190. end;
  22191. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22192. begin
  22193. pTDefRegMap(@Self)^.clr := $00001000;
  22194. end;
  22195. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22196. begin
  22197. if thebits = 0 then
  22198. pTDefRegMap(@Self)^.clr := $00001000
  22199. else
  22200. pTDefRegMap(@Self)^.&set := $00001000;
  22201. end;
  22202. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22203. begin
  22204. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22205. end;
  22206. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22207. begin
  22208. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22209. end;
  22210. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22211. begin
  22212. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22213. end;
  22214. procedure TADC10_AD1CON2.setSMPI0; inline;
  22215. begin
  22216. pTDefRegMap(@Self)^.&set := $00000004;
  22217. end;
  22218. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22219. begin
  22220. pTDefRegMap(@Self)^.clr := $00000004;
  22221. end;
  22222. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22223. begin
  22224. if thebits = 0 then
  22225. pTDefRegMap(@Self)^.clr := $00000004
  22226. else
  22227. pTDefRegMap(@Self)^.&set := $00000004;
  22228. end;
  22229. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22230. begin
  22231. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22232. end;
  22233. procedure TADC10_AD1CON2.setSMPI1; inline;
  22234. begin
  22235. pTDefRegMap(@Self)^.&set := $00000008;
  22236. end;
  22237. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22238. begin
  22239. pTDefRegMap(@Self)^.clr := $00000008;
  22240. end;
  22241. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22242. begin
  22243. if thebits = 0 then
  22244. pTDefRegMap(@Self)^.clr := $00000008
  22245. else
  22246. pTDefRegMap(@Self)^.&set := $00000008;
  22247. end;
  22248. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22249. begin
  22250. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22251. end;
  22252. procedure TADC10_AD1CON2.setSMPI2; inline;
  22253. begin
  22254. pTDefRegMap(@Self)^.&set := $00000010;
  22255. end;
  22256. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22257. begin
  22258. pTDefRegMap(@Self)^.clr := $00000010;
  22259. end;
  22260. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22261. begin
  22262. if thebits = 0 then
  22263. pTDefRegMap(@Self)^.clr := $00000010
  22264. else
  22265. pTDefRegMap(@Self)^.&set := $00000010;
  22266. end;
  22267. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22268. begin
  22269. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22270. end;
  22271. procedure TADC10_AD1CON2.setSMPI3; inline;
  22272. begin
  22273. pTDefRegMap(@Self)^.&set := $00000020;
  22274. end;
  22275. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22276. begin
  22277. pTDefRegMap(@Self)^.clr := $00000020;
  22278. end;
  22279. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22280. begin
  22281. if thebits = 0 then
  22282. pTDefRegMap(@Self)^.clr := $00000020
  22283. else
  22284. pTDefRegMap(@Self)^.&set := $00000020;
  22285. end;
  22286. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22287. begin
  22288. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22289. end;
  22290. procedure TADC10_AD1CON2.setVCFG0; inline;
  22291. begin
  22292. pTDefRegMap(@Self)^.&set := $00002000;
  22293. end;
  22294. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22295. begin
  22296. pTDefRegMap(@Self)^.clr := $00002000;
  22297. end;
  22298. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22299. begin
  22300. if thebits = 0 then
  22301. pTDefRegMap(@Self)^.clr := $00002000
  22302. else
  22303. pTDefRegMap(@Self)^.&set := $00002000;
  22304. end;
  22305. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22306. begin
  22307. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22308. end;
  22309. procedure TADC10_AD1CON2.setVCFG1; inline;
  22310. begin
  22311. pTDefRegMap(@Self)^.&set := $00004000;
  22312. end;
  22313. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22314. begin
  22315. pTDefRegMap(@Self)^.clr := $00004000;
  22316. end;
  22317. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22318. begin
  22319. if thebits = 0 then
  22320. pTDefRegMap(@Self)^.clr := $00004000
  22321. else
  22322. pTDefRegMap(@Self)^.&set := $00004000;
  22323. end;
  22324. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22325. begin
  22326. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22327. end;
  22328. procedure TADC10_AD1CON2.setVCFG2; inline;
  22329. begin
  22330. pTDefRegMap(@Self)^.&set := $00008000;
  22331. end;
  22332. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22333. begin
  22334. pTDefRegMap(@Self)^.clr := $00008000;
  22335. end;
  22336. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22337. begin
  22338. if thebits = 0 then
  22339. pTDefRegMap(@Self)^.clr := $00008000
  22340. else
  22341. pTDefRegMap(@Self)^.&set := $00008000;
  22342. end;
  22343. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22344. begin
  22345. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22346. end;
  22347. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22348. begin
  22349. pTDefRegMap(@Self)^.val := thebits;
  22350. end;
  22351. function TADC10_AD1CON2.getw : TBits_32; inline;
  22352. begin
  22353. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22354. end;
  22355. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22356. begin
  22357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22358. end;
  22359. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22360. begin
  22361. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22362. end;
  22363. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22364. begin
  22365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22366. end;
  22367. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22368. begin
  22369. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22370. end;
  22371. procedure TADC10_AD1CON3.setADRC; inline;
  22372. begin
  22373. pTDefRegMap(@Self)^.&set := $00008000;
  22374. end;
  22375. procedure TADC10_AD1CON3.clearADRC; inline;
  22376. begin
  22377. pTDefRegMap(@Self)^.clr := $00008000;
  22378. end;
  22379. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22380. begin
  22381. if thebits = 0 then
  22382. pTDefRegMap(@Self)^.clr := $00008000
  22383. else
  22384. pTDefRegMap(@Self)^.&set := $00008000;
  22385. end;
  22386. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22387. begin
  22388. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22389. end;
  22390. procedure TADC10_AD1CON3.setADCS0; inline;
  22391. begin
  22392. pTDefRegMap(@Self)^.&set := $00000001;
  22393. end;
  22394. procedure TADC10_AD1CON3.clearADCS0; inline;
  22395. begin
  22396. pTDefRegMap(@Self)^.clr := $00000001;
  22397. end;
  22398. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22399. begin
  22400. if thebits = 0 then
  22401. pTDefRegMap(@Self)^.clr := $00000001
  22402. else
  22403. pTDefRegMap(@Self)^.&set := $00000001;
  22404. end;
  22405. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22406. begin
  22407. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22408. end;
  22409. procedure TADC10_AD1CON3.setADCS1; inline;
  22410. begin
  22411. pTDefRegMap(@Self)^.&set := $00000002;
  22412. end;
  22413. procedure TADC10_AD1CON3.clearADCS1; inline;
  22414. begin
  22415. pTDefRegMap(@Self)^.clr := $00000002;
  22416. end;
  22417. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22418. begin
  22419. if thebits = 0 then
  22420. pTDefRegMap(@Self)^.clr := $00000002
  22421. else
  22422. pTDefRegMap(@Self)^.&set := $00000002;
  22423. end;
  22424. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22425. begin
  22426. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22427. end;
  22428. procedure TADC10_AD1CON3.setADCS2; inline;
  22429. begin
  22430. pTDefRegMap(@Self)^.&set := $00000004;
  22431. end;
  22432. procedure TADC10_AD1CON3.clearADCS2; inline;
  22433. begin
  22434. pTDefRegMap(@Self)^.clr := $00000004;
  22435. end;
  22436. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22437. begin
  22438. if thebits = 0 then
  22439. pTDefRegMap(@Self)^.clr := $00000004
  22440. else
  22441. pTDefRegMap(@Self)^.&set := $00000004;
  22442. end;
  22443. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22444. begin
  22445. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22446. end;
  22447. procedure TADC10_AD1CON3.setADCS3; inline;
  22448. begin
  22449. pTDefRegMap(@Self)^.&set := $00000008;
  22450. end;
  22451. procedure TADC10_AD1CON3.clearADCS3; inline;
  22452. begin
  22453. pTDefRegMap(@Self)^.clr := $00000008;
  22454. end;
  22455. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22456. begin
  22457. if thebits = 0 then
  22458. pTDefRegMap(@Self)^.clr := $00000008
  22459. else
  22460. pTDefRegMap(@Self)^.&set := $00000008;
  22461. end;
  22462. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22463. begin
  22464. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22465. end;
  22466. procedure TADC10_AD1CON3.setADCS4; inline;
  22467. begin
  22468. pTDefRegMap(@Self)^.&set := $00000010;
  22469. end;
  22470. procedure TADC10_AD1CON3.clearADCS4; inline;
  22471. begin
  22472. pTDefRegMap(@Self)^.clr := $00000010;
  22473. end;
  22474. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22475. begin
  22476. if thebits = 0 then
  22477. pTDefRegMap(@Self)^.clr := $00000010
  22478. else
  22479. pTDefRegMap(@Self)^.&set := $00000010;
  22480. end;
  22481. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22482. begin
  22483. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22484. end;
  22485. procedure TADC10_AD1CON3.setADCS5; inline;
  22486. begin
  22487. pTDefRegMap(@Self)^.&set := $00000020;
  22488. end;
  22489. procedure TADC10_AD1CON3.clearADCS5; inline;
  22490. begin
  22491. pTDefRegMap(@Self)^.clr := $00000020;
  22492. end;
  22493. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22494. begin
  22495. if thebits = 0 then
  22496. pTDefRegMap(@Self)^.clr := $00000020
  22497. else
  22498. pTDefRegMap(@Self)^.&set := $00000020;
  22499. end;
  22500. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22501. begin
  22502. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22503. end;
  22504. procedure TADC10_AD1CON3.setADCS6; inline;
  22505. begin
  22506. pTDefRegMap(@Self)^.&set := $00000040;
  22507. end;
  22508. procedure TADC10_AD1CON3.clearADCS6; inline;
  22509. begin
  22510. pTDefRegMap(@Self)^.clr := $00000040;
  22511. end;
  22512. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22513. begin
  22514. if thebits = 0 then
  22515. pTDefRegMap(@Self)^.clr := $00000040
  22516. else
  22517. pTDefRegMap(@Self)^.&set := $00000040;
  22518. end;
  22519. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22520. begin
  22521. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22522. end;
  22523. procedure TADC10_AD1CON3.setADCS7; inline;
  22524. begin
  22525. pTDefRegMap(@Self)^.&set := $00000080;
  22526. end;
  22527. procedure TADC10_AD1CON3.clearADCS7; inline;
  22528. begin
  22529. pTDefRegMap(@Self)^.clr := $00000080;
  22530. end;
  22531. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22532. begin
  22533. if thebits = 0 then
  22534. pTDefRegMap(@Self)^.clr := $00000080
  22535. else
  22536. pTDefRegMap(@Self)^.&set := $00000080;
  22537. end;
  22538. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22539. begin
  22540. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22541. end;
  22542. procedure TADC10_AD1CON3.setSAMC0; inline;
  22543. begin
  22544. pTDefRegMap(@Self)^.&set := $00000100;
  22545. end;
  22546. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22547. begin
  22548. pTDefRegMap(@Self)^.clr := $00000100;
  22549. end;
  22550. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22551. begin
  22552. if thebits = 0 then
  22553. pTDefRegMap(@Self)^.clr := $00000100
  22554. else
  22555. pTDefRegMap(@Self)^.&set := $00000100;
  22556. end;
  22557. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22558. begin
  22559. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22560. end;
  22561. procedure TADC10_AD1CON3.setSAMC1; inline;
  22562. begin
  22563. pTDefRegMap(@Self)^.&set := $00000200;
  22564. end;
  22565. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22566. begin
  22567. pTDefRegMap(@Self)^.clr := $00000200;
  22568. end;
  22569. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22570. begin
  22571. if thebits = 0 then
  22572. pTDefRegMap(@Self)^.clr := $00000200
  22573. else
  22574. pTDefRegMap(@Self)^.&set := $00000200;
  22575. end;
  22576. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22577. begin
  22578. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22579. end;
  22580. procedure TADC10_AD1CON3.setSAMC2; inline;
  22581. begin
  22582. pTDefRegMap(@Self)^.&set := $00000400;
  22583. end;
  22584. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22585. begin
  22586. pTDefRegMap(@Self)^.clr := $00000400;
  22587. end;
  22588. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22589. begin
  22590. if thebits = 0 then
  22591. pTDefRegMap(@Self)^.clr := $00000400
  22592. else
  22593. pTDefRegMap(@Self)^.&set := $00000400;
  22594. end;
  22595. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22596. begin
  22597. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22598. end;
  22599. procedure TADC10_AD1CON3.setSAMC3; inline;
  22600. begin
  22601. pTDefRegMap(@Self)^.&set := $00000800;
  22602. end;
  22603. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22604. begin
  22605. pTDefRegMap(@Self)^.clr := $00000800;
  22606. end;
  22607. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22608. begin
  22609. if thebits = 0 then
  22610. pTDefRegMap(@Self)^.clr := $00000800
  22611. else
  22612. pTDefRegMap(@Self)^.&set := $00000800;
  22613. end;
  22614. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22615. begin
  22616. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22617. end;
  22618. procedure TADC10_AD1CON3.setSAMC4; inline;
  22619. begin
  22620. pTDefRegMap(@Self)^.&set := $00001000;
  22621. end;
  22622. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22623. begin
  22624. pTDefRegMap(@Self)^.clr := $00001000;
  22625. end;
  22626. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22627. begin
  22628. if thebits = 0 then
  22629. pTDefRegMap(@Self)^.clr := $00001000
  22630. else
  22631. pTDefRegMap(@Self)^.&set := $00001000;
  22632. end;
  22633. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22634. begin
  22635. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22636. end;
  22637. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22638. begin
  22639. pTDefRegMap(@Self)^.val := thebits;
  22640. end;
  22641. function TADC10_AD1CON3.getw : TBits_32; inline;
  22642. begin
  22643. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22644. end;
  22645. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22646. begin
  22647. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22648. end;
  22649. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22650. begin
  22651. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22652. end;
  22653. procedure TADC10_AD1CHS.setCH0NA; inline;
  22654. begin
  22655. pTDefRegMap(@Self)^.&set := $00800000;
  22656. end;
  22657. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22658. begin
  22659. pTDefRegMap(@Self)^.clr := $00800000;
  22660. end;
  22661. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22662. begin
  22663. if thebits = 0 then
  22664. pTDefRegMap(@Self)^.clr := $00800000
  22665. else
  22666. pTDefRegMap(@Self)^.&set := $00800000;
  22667. end;
  22668. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22669. begin
  22670. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22671. end;
  22672. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22673. begin
  22674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22675. end;
  22676. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22677. begin
  22678. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22679. end;
  22680. procedure TADC10_AD1CHS.setCH0NB; inline;
  22681. begin
  22682. pTDefRegMap(@Self)^.&set := $80000000;
  22683. end;
  22684. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22685. begin
  22686. pTDefRegMap(@Self)^.clr := $80000000;
  22687. end;
  22688. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22689. begin
  22690. if thebits = 0 then
  22691. pTDefRegMap(@Self)^.clr := $80000000
  22692. else
  22693. pTDefRegMap(@Self)^.&set := $80000000;
  22694. end;
  22695. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22696. begin
  22697. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22698. end;
  22699. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22700. begin
  22701. pTDefRegMap(@Self)^.&set := $00010000;
  22702. end;
  22703. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  22704. begin
  22705. pTDefRegMap(@Self)^.clr := $00010000;
  22706. end;
  22707. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  22708. begin
  22709. if thebits = 0 then
  22710. pTDefRegMap(@Self)^.clr := $00010000
  22711. else
  22712. pTDefRegMap(@Self)^.&set := $00010000;
  22713. end;
  22714. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  22715. begin
  22716. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22717. end;
  22718. procedure TADC10_AD1CHS.setCH0SA1; inline;
  22719. begin
  22720. pTDefRegMap(@Self)^.&set := $00020000;
  22721. end;
  22722. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  22723. begin
  22724. pTDefRegMap(@Self)^.clr := $00020000;
  22725. end;
  22726. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  22727. begin
  22728. if thebits = 0 then
  22729. pTDefRegMap(@Self)^.clr := $00020000
  22730. else
  22731. pTDefRegMap(@Self)^.&set := $00020000;
  22732. end;
  22733. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  22734. begin
  22735. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22736. end;
  22737. procedure TADC10_AD1CHS.setCH0SA2; inline;
  22738. begin
  22739. pTDefRegMap(@Self)^.&set := $00040000;
  22740. end;
  22741. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  22742. begin
  22743. pTDefRegMap(@Self)^.clr := $00040000;
  22744. end;
  22745. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  22746. begin
  22747. if thebits = 0 then
  22748. pTDefRegMap(@Self)^.clr := $00040000
  22749. else
  22750. pTDefRegMap(@Self)^.&set := $00040000;
  22751. end;
  22752. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  22753. begin
  22754. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22755. end;
  22756. procedure TADC10_AD1CHS.setCH0SA3; inline;
  22757. begin
  22758. pTDefRegMap(@Self)^.&set := $00080000;
  22759. end;
  22760. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  22761. begin
  22762. pTDefRegMap(@Self)^.clr := $00080000;
  22763. end;
  22764. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  22765. begin
  22766. if thebits = 0 then
  22767. pTDefRegMap(@Self)^.clr := $00080000
  22768. else
  22769. pTDefRegMap(@Self)^.&set := $00080000;
  22770. end;
  22771. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  22772. begin
  22773. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22774. end;
  22775. procedure TADC10_AD1CHS.setCH0SB0; inline;
  22776. begin
  22777. pTDefRegMap(@Self)^.&set := $01000000;
  22778. end;
  22779. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  22780. begin
  22781. pTDefRegMap(@Self)^.clr := $01000000;
  22782. end;
  22783. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  22784. begin
  22785. if thebits = 0 then
  22786. pTDefRegMap(@Self)^.clr := $01000000
  22787. else
  22788. pTDefRegMap(@Self)^.&set := $01000000;
  22789. end;
  22790. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  22791. begin
  22792. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22793. end;
  22794. procedure TADC10_AD1CHS.setCH0SB1; inline;
  22795. begin
  22796. pTDefRegMap(@Self)^.&set := $02000000;
  22797. end;
  22798. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  22799. begin
  22800. pTDefRegMap(@Self)^.clr := $02000000;
  22801. end;
  22802. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  22803. begin
  22804. if thebits = 0 then
  22805. pTDefRegMap(@Self)^.clr := $02000000
  22806. else
  22807. pTDefRegMap(@Self)^.&set := $02000000;
  22808. end;
  22809. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  22810. begin
  22811. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  22812. end;
  22813. procedure TADC10_AD1CHS.setCH0SB2; inline;
  22814. begin
  22815. pTDefRegMap(@Self)^.&set := $04000000;
  22816. end;
  22817. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  22818. begin
  22819. pTDefRegMap(@Self)^.clr := $04000000;
  22820. end;
  22821. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  22822. begin
  22823. if thebits = 0 then
  22824. pTDefRegMap(@Self)^.clr := $04000000
  22825. else
  22826. pTDefRegMap(@Self)^.&set := $04000000;
  22827. end;
  22828. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  22829. begin
  22830. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  22831. end;
  22832. procedure TADC10_AD1CHS.setCH0SB3; inline;
  22833. begin
  22834. pTDefRegMap(@Self)^.&set := $08000000;
  22835. end;
  22836. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  22837. begin
  22838. pTDefRegMap(@Self)^.clr := $08000000;
  22839. end;
  22840. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  22841. begin
  22842. if thebits = 0 then
  22843. pTDefRegMap(@Self)^.clr := $08000000
  22844. else
  22845. pTDefRegMap(@Self)^.&set := $08000000;
  22846. end;
  22847. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  22848. begin
  22849. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  22850. end;
  22851. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  22852. begin
  22853. pTDefRegMap(@Self)^.val := thebits;
  22854. end;
  22855. function TADC10_AD1CHS.getw : TBits_32; inline;
  22856. begin
  22857. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22858. end;
  22859. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  22860. begin
  22861. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22862. end;
  22863. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  22864. begin
  22865. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22866. end;
  22867. procedure TADC10_AD1CSSL.setCSSL0; inline;
  22868. begin
  22869. pTDefRegMap(@Self)^.&set := $00000001;
  22870. end;
  22871. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  22872. begin
  22873. pTDefRegMap(@Self)^.clr := $00000001;
  22874. end;
  22875. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  22876. begin
  22877. if thebits = 0 then
  22878. pTDefRegMap(@Self)^.clr := $00000001
  22879. else
  22880. pTDefRegMap(@Self)^.&set := $00000001;
  22881. end;
  22882. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  22883. begin
  22884. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22885. end;
  22886. procedure TADC10_AD1CSSL.setCSSL1; inline;
  22887. begin
  22888. pTDefRegMap(@Self)^.&set := $00000002;
  22889. end;
  22890. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  22891. begin
  22892. pTDefRegMap(@Self)^.clr := $00000002;
  22893. end;
  22894. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  22895. begin
  22896. if thebits = 0 then
  22897. pTDefRegMap(@Self)^.clr := $00000002
  22898. else
  22899. pTDefRegMap(@Self)^.&set := $00000002;
  22900. end;
  22901. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  22902. begin
  22903. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22904. end;
  22905. procedure TADC10_AD1CSSL.setCSSL2; inline;
  22906. begin
  22907. pTDefRegMap(@Self)^.&set := $00000004;
  22908. end;
  22909. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  22910. begin
  22911. pTDefRegMap(@Self)^.clr := $00000004;
  22912. end;
  22913. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  22914. begin
  22915. if thebits = 0 then
  22916. pTDefRegMap(@Self)^.clr := $00000004
  22917. else
  22918. pTDefRegMap(@Self)^.&set := $00000004;
  22919. end;
  22920. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  22921. begin
  22922. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22923. end;
  22924. procedure TADC10_AD1CSSL.setCSSL3; inline;
  22925. begin
  22926. pTDefRegMap(@Self)^.&set := $00000008;
  22927. end;
  22928. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  22929. begin
  22930. pTDefRegMap(@Self)^.clr := $00000008;
  22931. end;
  22932. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  22933. begin
  22934. if thebits = 0 then
  22935. pTDefRegMap(@Self)^.clr := $00000008
  22936. else
  22937. pTDefRegMap(@Self)^.&set := $00000008;
  22938. end;
  22939. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  22940. begin
  22941. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22942. end;
  22943. procedure TADC10_AD1CSSL.setCSSL4; inline;
  22944. begin
  22945. pTDefRegMap(@Self)^.&set := $00000010;
  22946. end;
  22947. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  22948. begin
  22949. pTDefRegMap(@Self)^.clr := $00000010;
  22950. end;
  22951. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  22952. begin
  22953. if thebits = 0 then
  22954. pTDefRegMap(@Self)^.clr := $00000010
  22955. else
  22956. pTDefRegMap(@Self)^.&set := $00000010;
  22957. end;
  22958. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  22959. begin
  22960. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22961. end;
  22962. procedure TADC10_AD1CSSL.setCSSL5; inline;
  22963. begin
  22964. pTDefRegMap(@Self)^.&set := $00000020;
  22965. end;
  22966. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  22967. begin
  22968. pTDefRegMap(@Self)^.clr := $00000020;
  22969. end;
  22970. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  22971. begin
  22972. if thebits = 0 then
  22973. pTDefRegMap(@Self)^.clr := $00000020
  22974. else
  22975. pTDefRegMap(@Self)^.&set := $00000020;
  22976. end;
  22977. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  22978. begin
  22979. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22980. end;
  22981. procedure TADC10_AD1CSSL.setCSSL6; inline;
  22982. begin
  22983. pTDefRegMap(@Self)^.&set := $00000040;
  22984. end;
  22985. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  22986. begin
  22987. pTDefRegMap(@Self)^.clr := $00000040;
  22988. end;
  22989. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  22990. begin
  22991. if thebits = 0 then
  22992. pTDefRegMap(@Self)^.clr := $00000040
  22993. else
  22994. pTDefRegMap(@Self)^.&set := $00000040;
  22995. end;
  22996. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  22997. begin
  22998. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22999. end;
  23000. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23001. begin
  23002. pTDefRegMap(@Self)^.&set := $00000080;
  23003. end;
  23004. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23005. begin
  23006. pTDefRegMap(@Self)^.clr := $00000080;
  23007. end;
  23008. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23009. begin
  23010. if thebits = 0 then
  23011. pTDefRegMap(@Self)^.clr := $00000080
  23012. else
  23013. pTDefRegMap(@Self)^.&set := $00000080;
  23014. end;
  23015. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23016. begin
  23017. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23018. end;
  23019. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23020. begin
  23021. pTDefRegMap(@Self)^.&set := $00000100;
  23022. end;
  23023. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23024. begin
  23025. pTDefRegMap(@Self)^.clr := $00000100;
  23026. end;
  23027. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23028. begin
  23029. if thebits = 0 then
  23030. pTDefRegMap(@Self)^.clr := $00000100
  23031. else
  23032. pTDefRegMap(@Self)^.&set := $00000100;
  23033. end;
  23034. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23035. begin
  23036. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23037. end;
  23038. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23039. begin
  23040. pTDefRegMap(@Self)^.&set := $00000200;
  23041. end;
  23042. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23043. begin
  23044. pTDefRegMap(@Self)^.clr := $00000200;
  23045. end;
  23046. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23047. begin
  23048. if thebits = 0 then
  23049. pTDefRegMap(@Self)^.clr := $00000200
  23050. else
  23051. pTDefRegMap(@Self)^.&set := $00000200;
  23052. end;
  23053. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23054. begin
  23055. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23056. end;
  23057. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23058. begin
  23059. pTDefRegMap(@Self)^.&set := $00000400;
  23060. end;
  23061. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23062. begin
  23063. pTDefRegMap(@Self)^.clr := $00000400;
  23064. end;
  23065. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23066. begin
  23067. if thebits = 0 then
  23068. pTDefRegMap(@Self)^.clr := $00000400
  23069. else
  23070. pTDefRegMap(@Self)^.&set := $00000400;
  23071. end;
  23072. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23073. begin
  23074. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23075. end;
  23076. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23077. begin
  23078. pTDefRegMap(@Self)^.&set := $00000800;
  23079. end;
  23080. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23081. begin
  23082. pTDefRegMap(@Self)^.clr := $00000800;
  23083. end;
  23084. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23085. begin
  23086. if thebits = 0 then
  23087. pTDefRegMap(@Self)^.clr := $00000800
  23088. else
  23089. pTDefRegMap(@Self)^.&set := $00000800;
  23090. end;
  23091. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23092. begin
  23093. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23094. end;
  23095. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23096. begin
  23097. pTDefRegMap(@Self)^.&set := $00001000;
  23098. end;
  23099. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23100. begin
  23101. pTDefRegMap(@Self)^.clr := $00001000;
  23102. end;
  23103. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23104. begin
  23105. if thebits = 0 then
  23106. pTDefRegMap(@Self)^.clr := $00001000
  23107. else
  23108. pTDefRegMap(@Self)^.&set := $00001000;
  23109. end;
  23110. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23111. begin
  23112. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23113. end;
  23114. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23115. begin
  23116. pTDefRegMap(@Self)^.&set := $00002000;
  23117. end;
  23118. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23119. begin
  23120. pTDefRegMap(@Self)^.clr := $00002000;
  23121. end;
  23122. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23123. begin
  23124. if thebits = 0 then
  23125. pTDefRegMap(@Self)^.clr := $00002000
  23126. else
  23127. pTDefRegMap(@Self)^.&set := $00002000;
  23128. end;
  23129. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23130. begin
  23131. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23132. end;
  23133. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23134. begin
  23135. pTDefRegMap(@Self)^.&set := $00004000;
  23136. end;
  23137. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23138. begin
  23139. pTDefRegMap(@Self)^.clr := $00004000;
  23140. end;
  23141. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23142. begin
  23143. if thebits = 0 then
  23144. pTDefRegMap(@Self)^.clr := $00004000
  23145. else
  23146. pTDefRegMap(@Self)^.&set := $00004000;
  23147. end;
  23148. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23149. begin
  23150. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23151. end;
  23152. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23153. begin
  23154. pTDefRegMap(@Self)^.&set := $00008000;
  23155. end;
  23156. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23157. begin
  23158. pTDefRegMap(@Self)^.clr := $00008000;
  23159. end;
  23160. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23161. begin
  23162. if thebits = 0 then
  23163. pTDefRegMap(@Self)^.clr := $00008000
  23164. else
  23165. pTDefRegMap(@Self)^.&set := $00008000;
  23166. end;
  23167. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23168. begin
  23169. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23170. end;
  23171. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23172. begin
  23173. pTDefRegMap(@Self)^.val := thebits;
  23174. end;
  23175. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23176. begin
  23177. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23178. end;
  23179. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23180. begin
  23181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23182. end;
  23183. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23184. begin
  23185. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23186. end;
  23187. procedure TCVR_CVRCON.setCVRSS; inline;
  23188. begin
  23189. pTDefRegMap(@Self)^.&set := $00000010;
  23190. end;
  23191. procedure TCVR_CVRCON.clearCVRSS; inline;
  23192. begin
  23193. pTDefRegMap(@Self)^.clr := $00000010;
  23194. end;
  23195. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23196. begin
  23197. if thebits = 0 then
  23198. pTDefRegMap(@Self)^.clr := $00000010
  23199. else
  23200. pTDefRegMap(@Self)^.&set := $00000010;
  23201. end;
  23202. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23203. begin
  23204. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23205. end;
  23206. procedure TCVR_CVRCON.setCVRR; inline;
  23207. begin
  23208. pTDefRegMap(@Self)^.&set := $00000020;
  23209. end;
  23210. procedure TCVR_CVRCON.clearCVRR; inline;
  23211. begin
  23212. pTDefRegMap(@Self)^.clr := $00000020;
  23213. end;
  23214. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23215. begin
  23216. if thebits = 0 then
  23217. pTDefRegMap(@Self)^.clr := $00000020
  23218. else
  23219. pTDefRegMap(@Self)^.&set := $00000020;
  23220. end;
  23221. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23222. begin
  23223. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23224. end;
  23225. procedure TCVR_CVRCON.setCVROE; inline;
  23226. begin
  23227. pTDefRegMap(@Self)^.&set := $00000040;
  23228. end;
  23229. procedure TCVR_CVRCON.clearCVROE; inline;
  23230. begin
  23231. pTDefRegMap(@Self)^.clr := $00000040;
  23232. end;
  23233. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23234. begin
  23235. if thebits = 0 then
  23236. pTDefRegMap(@Self)^.clr := $00000040
  23237. else
  23238. pTDefRegMap(@Self)^.&set := $00000040;
  23239. end;
  23240. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23241. begin
  23242. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23243. end;
  23244. procedure TCVR_CVRCON.setON; inline;
  23245. begin
  23246. pTDefRegMap(@Self)^.&set := $00008000;
  23247. end;
  23248. procedure TCVR_CVRCON.clearON; inline;
  23249. begin
  23250. pTDefRegMap(@Self)^.clr := $00008000;
  23251. end;
  23252. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23253. begin
  23254. if thebits = 0 then
  23255. pTDefRegMap(@Self)^.clr := $00008000
  23256. else
  23257. pTDefRegMap(@Self)^.&set := $00008000;
  23258. end;
  23259. function TCVR_CVRCON.getON : TBits_1; inline;
  23260. begin
  23261. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23262. end;
  23263. procedure TCVR_CVRCON.setCVR0; inline;
  23264. begin
  23265. pTDefRegMap(@Self)^.&set := $00000001;
  23266. end;
  23267. procedure TCVR_CVRCON.clearCVR0; inline;
  23268. begin
  23269. pTDefRegMap(@Self)^.clr := $00000001;
  23270. end;
  23271. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23272. begin
  23273. if thebits = 0 then
  23274. pTDefRegMap(@Self)^.clr := $00000001
  23275. else
  23276. pTDefRegMap(@Self)^.&set := $00000001;
  23277. end;
  23278. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23279. begin
  23280. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23281. end;
  23282. procedure TCVR_CVRCON.setCVR1; inline;
  23283. begin
  23284. pTDefRegMap(@Self)^.&set := $00000002;
  23285. end;
  23286. procedure TCVR_CVRCON.clearCVR1; inline;
  23287. begin
  23288. pTDefRegMap(@Self)^.clr := $00000002;
  23289. end;
  23290. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23291. begin
  23292. if thebits = 0 then
  23293. pTDefRegMap(@Self)^.clr := $00000002
  23294. else
  23295. pTDefRegMap(@Self)^.&set := $00000002;
  23296. end;
  23297. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23298. begin
  23299. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23300. end;
  23301. procedure TCVR_CVRCON.setCVR2; inline;
  23302. begin
  23303. pTDefRegMap(@Self)^.&set := $00000004;
  23304. end;
  23305. procedure TCVR_CVRCON.clearCVR2; inline;
  23306. begin
  23307. pTDefRegMap(@Self)^.clr := $00000004;
  23308. end;
  23309. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23310. begin
  23311. if thebits = 0 then
  23312. pTDefRegMap(@Self)^.clr := $00000004
  23313. else
  23314. pTDefRegMap(@Self)^.&set := $00000004;
  23315. end;
  23316. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23317. begin
  23318. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23319. end;
  23320. procedure TCVR_CVRCON.setCVR3; inline;
  23321. begin
  23322. pTDefRegMap(@Self)^.&set := $00000008;
  23323. end;
  23324. procedure TCVR_CVRCON.clearCVR3; inline;
  23325. begin
  23326. pTDefRegMap(@Self)^.clr := $00000008;
  23327. end;
  23328. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23329. begin
  23330. if thebits = 0 then
  23331. pTDefRegMap(@Self)^.clr := $00000008
  23332. else
  23333. pTDefRegMap(@Self)^.&set := $00000008;
  23334. end;
  23335. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23336. begin
  23337. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23338. end;
  23339. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23340. begin
  23341. pTDefRegMap(@Self)^.val := thebits;
  23342. end;
  23343. function TCVR_CVRCON.getw : TBits_32; inline;
  23344. begin
  23345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23346. end;
  23347. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23348. begin
  23349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23350. end;
  23351. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23352. begin
  23353. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23354. end;
  23355. procedure TCMP_CM1CON.setCREF; inline;
  23356. begin
  23357. pTDefRegMap(@Self)^.&set := $00000010;
  23358. end;
  23359. procedure TCMP_CM1CON.clearCREF; inline;
  23360. begin
  23361. pTDefRegMap(@Self)^.clr := $00000010;
  23362. end;
  23363. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23364. begin
  23365. if thebits = 0 then
  23366. pTDefRegMap(@Self)^.clr := $00000010
  23367. else
  23368. pTDefRegMap(@Self)^.&set := $00000010;
  23369. end;
  23370. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23371. begin
  23372. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23373. end;
  23374. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23375. begin
  23376. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23377. end;
  23378. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23379. begin
  23380. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23381. end;
  23382. procedure TCMP_CM1CON.setCOUT; inline;
  23383. begin
  23384. pTDefRegMap(@Self)^.&set := $00000100;
  23385. end;
  23386. procedure TCMP_CM1CON.clearCOUT; inline;
  23387. begin
  23388. pTDefRegMap(@Self)^.clr := $00000100;
  23389. end;
  23390. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23391. begin
  23392. if thebits = 0 then
  23393. pTDefRegMap(@Self)^.clr := $00000100
  23394. else
  23395. pTDefRegMap(@Self)^.&set := $00000100;
  23396. end;
  23397. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23398. begin
  23399. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23400. end;
  23401. procedure TCMP_CM1CON.setCPOL; inline;
  23402. begin
  23403. pTDefRegMap(@Self)^.&set := $00002000;
  23404. end;
  23405. procedure TCMP_CM1CON.clearCPOL; inline;
  23406. begin
  23407. pTDefRegMap(@Self)^.clr := $00002000;
  23408. end;
  23409. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23410. begin
  23411. if thebits = 0 then
  23412. pTDefRegMap(@Self)^.clr := $00002000
  23413. else
  23414. pTDefRegMap(@Self)^.&set := $00002000;
  23415. end;
  23416. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23417. begin
  23418. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23419. end;
  23420. procedure TCMP_CM1CON.setCOE; inline;
  23421. begin
  23422. pTDefRegMap(@Self)^.&set := $00004000;
  23423. end;
  23424. procedure TCMP_CM1CON.clearCOE; inline;
  23425. begin
  23426. pTDefRegMap(@Self)^.clr := $00004000;
  23427. end;
  23428. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23429. begin
  23430. if thebits = 0 then
  23431. pTDefRegMap(@Self)^.clr := $00004000
  23432. else
  23433. pTDefRegMap(@Self)^.&set := $00004000;
  23434. end;
  23435. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23436. begin
  23437. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23438. end;
  23439. procedure TCMP_CM1CON.setON; inline;
  23440. begin
  23441. pTDefRegMap(@Self)^.&set := $00008000;
  23442. end;
  23443. procedure TCMP_CM1CON.clearON; inline;
  23444. begin
  23445. pTDefRegMap(@Self)^.clr := $00008000;
  23446. end;
  23447. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23448. begin
  23449. if thebits = 0 then
  23450. pTDefRegMap(@Self)^.clr := $00008000
  23451. else
  23452. pTDefRegMap(@Self)^.&set := $00008000;
  23453. end;
  23454. function TCMP_CM1CON.getON : TBits_1; inline;
  23455. begin
  23456. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23457. end;
  23458. procedure TCMP_CM1CON.setCCH0; inline;
  23459. begin
  23460. pTDefRegMap(@Self)^.&set := $00000001;
  23461. end;
  23462. procedure TCMP_CM1CON.clearCCH0; inline;
  23463. begin
  23464. pTDefRegMap(@Self)^.clr := $00000001;
  23465. end;
  23466. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23467. begin
  23468. if thebits = 0 then
  23469. pTDefRegMap(@Self)^.clr := $00000001
  23470. else
  23471. pTDefRegMap(@Self)^.&set := $00000001;
  23472. end;
  23473. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23474. begin
  23475. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23476. end;
  23477. procedure TCMP_CM1CON.setCCH1; inline;
  23478. begin
  23479. pTDefRegMap(@Self)^.&set := $00000002;
  23480. end;
  23481. procedure TCMP_CM1CON.clearCCH1; inline;
  23482. begin
  23483. pTDefRegMap(@Self)^.clr := $00000002;
  23484. end;
  23485. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23486. begin
  23487. if thebits = 0 then
  23488. pTDefRegMap(@Self)^.clr := $00000002
  23489. else
  23490. pTDefRegMap(@Self)^.&set := $00000002;
  23491. end;
  23492. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23493. begin
  23494. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23495. end;
  23496. procedure TCMP_CM1CON.setEVPOL0; inline;
  23497. begin
  23498. pTDefRegMap(@Self)^.&set := $00000040;
  23499. end;
  23500. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23501. begin
  23502. pTDefRegMap(@Self)^.clr := $00000040;
  23503. end;
  23504. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23505. begin
  23506. if thebits = 0 then
  23507. pTDefRegMap(@Self)^.clr := $00000040
  23508. else
  23509. pTDefRegMap(@Self)^.&set := $00000040;
  23510. end;
  23511. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23512. begin
  23513. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23514. end;
  23515. procedure TCMP_CM1CON.setEVPOL1; inline;
  23516. begin
  23517. pTDefRegMap(@Self)^.&set := $00000080;
  23518. end;
  23519. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23520. begin
  23521. pTDefRegMap(@Self)^.clr := $00000080;
  23522. end;
  23523. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23524. begin
  23525. if thebits = 0 then
  23526. pTDefRegMap(@Self)^.clr := $00000080
  23527. else
  23528. pTDefRegMap(@Self)^.&set := $00000080;
  23529. end;
  23530. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23531. begin
  23532. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23533. end;
  23534. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23535. begin
  23536. pTDefRegMap(@Self)^.val := thebits;
  23537. end;
  23538. function TCMP_CM1CON.getw : TBits_32; inline;
  23539. begin
  23540. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23541. end;
  23542. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23543. begin
  23544. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23545. end;
  23546. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23547. begin
  23548. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23549. end;
  23550. procedure TCMP_CM2CON.setCREF; inline;
  23551. begin
  23552. pTDefRegMap(@Self)^.&set := $00000010;
  23553. end;
  23554. procedure TCMP_CM2CON.clearCREF; inline;
  23555. begin
  23556. pTDefRegMap(@Self)^.clr := $00000010;
  23557. end;
  23558. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23559. begin
  23560. if thebits = 0 then
  23561. pTDefRegMap(@Self)^.clr := $00000010
  23562. else
  23563. pTDefRegMap(@Self)^.&set := $00000010;
  23564. end;
  23565. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23566. begin
  23567. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23568. end;
  23569. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23570. begin
  23571. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23572. end;
  23573. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23574. begin
  23575. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23576. end;
  23577. procedure TCMP_CM2CON.setCOUT; inline;
  23578. begin
  23579. pTDefRegMap(@Self)^.&set := $00000100;
  23580. end;
  23581. procedure TCMP_CM2CON.clearCOUT; inline;
  23582. begin
  23583. pTDefRegMap(@Self)^.clr := $00000100;
  23584. end;
  23585. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23586. begin
  23587. if thebits = 0 then
  23588. pTDefRegMap(@Self)^.clr := $00000100
  23589. else
  23590. pTDefRegMap(@Self)^.&set := $00000100;
  23591. end;
  23592. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23593. begin
  23594. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23595. end;
  23596. procedure TCMP_CM2CON.setCPOL; inline;
  23597. begin
  23598. pTDefRegMap(@Self)^.&set := $00002000;
  23599. end;
  23600. procedure TCMP_CM2CON.clearCPOL; inline;
  23601. begin
  23602. pTDefRegMap(@Self)^.clr := $00002000;
  23603. end;
  23604. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23605. begin
  23606. if thebits = 0 then
  23607. pTDefRegMap(@Self)^.clr := $00002000
  23608. else
  23609. pTDefRegMap(@Self)^.&set := $00002000;
  23610. end;
  23611. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23612. begin
  23613. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23614. end;
  23615. procedure TCMP_CM2CON.setCOE; inline;
  23616. begin
  23617. pTDefRegMap(@Self)^.&set := $00004000;
  23618. end;
  23619. procedure TCMP_CM2CON.clearCOE; inline;
  23620. begin
  23621. pTDefRegMap(@Self)^.clr := $00004000;
  23622. end;
  23623. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23624. begin
  23625. if thebits = 0 then
  23626. pTDefRegMap(@Self)^.clr := $00004000
  23627. else
  23628. pTDefRegMap(@Self)^.&set := $00004000;
  23629. end;
  23630. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23631. begin
  23632. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23633. end;
  23634. procedure TCMP_CM2CON.setON; inline;
  23635. begin
  23636. pTDefRegMap(@Self)^.&set := $00008000;
  23637. end;
  23638. procedure TCMP_CM2CON.clearON; inline;
  23639. begin
  23640. pTDefRegMap(@Self)^.clr := $00008000;
  23641. end;
  23642. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23643. begin
  23644. if thebits = 0 then
  23645. pTDefRegMap(@Self)^.clr := $00008000
  23646. else
  23647. pTDefRegMap(@Self)^.&set := $00008000;
  23648. end;
  23649. function TCMP_CM2CON.getON : TBits_1; inline;
  23650. begin
  23651. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23652. end;
  23653. procedure TCMP_CM2CON.setCCH0; inline;
  23654. begin
  23655. pTDefRegMap(@Self)^.&set := $00000001;
  23656. end;
  23657. procedure TCMP_CM2CON.clearCCH0; inline;
  23658. begin
  23659. pTDefRegMap(@Self)^.clr := $00000001;
  23660. end;
  23661. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23662. begin
  23663. if thebits = 0 then
  23664. pTDefRegMap(@Self)^.clr := $00000001
  23665. else
  23666. pTDefRegMap(@Self)^.&set := $00000001;
  23667. end;
  23668. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23669. begin
  23670. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23671. end;
  23672. procedure TCMP_CM2CON.setCCH1; inline;
  23673. begin
  23674. pTDefRegMap(@Self)^.&set := $00000002;
  23675. end;
  23676. procedure TCMP_CM2CON.clearCCH1; inline;
  23677. begin
  23678. pTDefRegMap(@Self)^.clr := $00000002;
  23679. end;
  23680. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23681. begin
  23682. if thebits = 0 then
  23683. pTDefRegMap(@Self)^.clr := $00000002
  23684. else
  23685. pTDefRegMap(@Self)^.&set := $00000002;
  23686. end;
  23687. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23688. begin
  23689. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23690. end;
  23691. procedure TCMP_CM2CON.setEVPOL0; inline;
  23692. begin
  23693. pTDefRegMap(@Self)^.&set := $00000040;
  23694. end;
  23695. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23696. begin
  23697. pTDefRegMap(@Self)^.clr := $00000040;
  23698. end;
  23699. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23700. begin
  23701. if thebits = 0 then
  23702. pTDefRegMap(@Self)^.clr := $00000040
  23703. else
  23704. pTDefRegMap(@Self)^.&set := $00000040;
  23705. end;
  23706. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  23707. begin
  23708. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23709. end;
  23710. procedure TCMP_CM2CON.setEVPOL1; inline;
  23711. begin
  23712. pTDefRegMap(@Self)^.&set := $00000080;
  23713. end;
  23714. procedure TCMP_CM2CON.clearEVPOL1; inline;
  23715. begin
  23716. pTDefRegMap(@Self)^.clr := $00000080;
  23717. end;
  23718. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  23719. begin
  23720. if thebits = 0 then
  23721. pTDefRegMap(@Self)^.clr := $00000080
  23722. else
  23723. pTDefRegMap(@Self)^.&set := $00000080;
  23724. end;
  23725. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  23726. begin
  23727. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23728. end;
  23729. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  23730. begin
  23731. pTDefRegMap(@Self)^.val := thebits;
  23732. end;
  23733. function TCMP_CM2CON.getw : TBits_32; inline;
  23734. begin
  23735. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23736. end;
  23737. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  23738. begin
  23739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23740. end;
  23741. function TCMP_CM3CON.getCCH : TBits_2; inline;
  23742. begin
  23743. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23744. end;
  23745. procedure TCMP_CM3CON.setCREF; inline;
  23746. begin
  23747. pTDefRegMap(@Self)^.&set := $00000010;
  23748. end;
  23749. procedure TCMP_CM3CON.clearCREF; inline;
  23750. begin
  23751. pTDefRegMap(@Self)^.clr := $00000010;
  23752. end;
  23753. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  23754. begin
  23755. if thebits = 0 then
  23756. pTDefRegMap(@Self)^.clr := $00000010
  23757. else
  23758. pTDefRegMap(@Self)^.&set := $00000010;
  23759. end;
  23760. function TCMP_CM3CON.getCREF : TBits_1; inline;
  23761. begin
  23762. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23763. end;
  23764. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  23765. begin
  23766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23767. end;
  23768. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  23769. begin
  23770. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23771. end;
  23772. procedure TCMP_CM3CON.setCOUT; inline;
  23773. begin
  23774. pTDefRegMap(@Self)^.&set := $00000100;
  23775. end;
  23776. procedure TCMP_CM3CON.clearCOUT; inline;
  23777. begin
  23778. pTDefRegMap(@Self)^.clr := $00000100;
  23779. end;
  23780. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  23781. begin
  23782. if thebits = 0 then
  23783. pTDefRegMap(@Self)^.clr := $00000100
  23784. else
  23785. pTDefRegMap(@Self)^.&set := $00000100;
  23786. end;
  23787. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  23788. begin
  23789. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23790. end;
  23791. procedure TCMP_CM3CON.setCPOL; inline;
  23792. begin
  23793. pTDefRegMap(@Self)^.&set := $00002000;
  23794. end;
  23795. procedure TCMP_CM3CON.clearCPOL; inline;
  23796. begin
  23797. pTDefRegMap(@Self)^.clr := $00002000;
  23798. end;
  23799. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  23800. begin
  23801. if thebits = 0 then
  23802. pTDefRegMap(@Self)^.clr := $00002000
  23803. else
  23804. pTDefRegMap(@Self)^.&set := $00002000;
  23805. end;
  23806. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  23807. begin
  23808. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23809. end;
  23810. procedure TCMP_CM3CON.setCOE; inline;
  23811. begin
  23812. pTDefRegMap(@Self)^.&set := $00004000;
  23813. end;
  23814. procedure TCMP_CM3CON.clearCOE; inline;
  23815. begin
  23816. pTDefRegMap(@Self)^.clr := $00004000;
  23817. end;
  23818. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  23819. begin
  23820. if thebits = 0 then
  23821. pTDefRegMap(@Self)^.clr := $00004000
  23822. else
  23823. pTDefRegMap(@Self)^.&set := $00004000;
  23824. end;
  23825. function TCMP_CM3CON.getCOE : TBits_1; inline;
  23826. begin
  23827. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23828. end;
  23829. procedure TCMP_CM3CON.setON; inline;
  23830. begin
  23831. pTDefRegMap(@Self)^.&set := $00008000;
  23832. end;
  23833. procedure TCMP_CM3CON.clearON; inline;
  23834. begin
  23835. pTDefRegMap(@Self)^.clr := $00008000;
  23836. end;
  23837. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  23838. begin
  23839. if thebits = 0 then
  23840. pTDefRegMap(@Self)^.clr := $00008000
  23841. else
  23842. pTDefRegMap(@Self)^.&set := $00008000;
  23843. end;
  23844. function TCMP_CM3CON.getON : TBits_1; inline;
  23845. begin
  23846. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23847. end;
  23848. procedure TCMP_CM3CON.setCCH0; inline;
  23849. begin
  23850. pTDefRegMap(@Self)^.&set := $00000001;
  23851. end;
  23852. procedure TCMP_CM3CON.clearCCH0; inline;
  23853. begin
  23854. pTDefRegMap(@Self)^.clr := $00000001;
  23855. end;
  23856. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  23857. begin
  23858. if thebits = 0 then
  23859. pTDefRegMap(@Self)^.clr := $00000001
  23860. else
  23861. pTDefRegMap(@Self)^.&set := $00000001;
  23862. end;
  23863. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  23864. begin
  23865. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23866. end;
  23867. procedure TCMP_CM3CON.setCCH1; inline;
  23868. begin
  23869. pTDefRegMap(@Self)^.&set := $00000002;
  23870. end;
  23871. procedure TCMP_CM3CON.clearCCH1; inline;
  23872. begin
  23873. pTDefRegMap(@Self)^.clr := $00000002;
  23874. end;
  23875. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  23876. begin
  23877. if thebits = 0 then
  23878. pTDefRegMap(@Self)^.clr := $00000002
  23879. else
  23880. pTDefRegMap(@Self)^.&set := $00000002;
  23881. end;
  23882. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  23883. begin
  23884. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23885. end;
  23886. procedure TCMP_CM3CON.setEVPOL0; inline;
  23887. begin
  23888. pTDefRegMap(@Self)^.&set := $00000040;
  23889. end;
  23890. procedure TCMP_CM3CON.clearEVPOL0; inline;
  23891. begin
  23892. pTDefRegMap(@Self)^.clr := $00000040;
  23893. end;
  23894. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  23895. begin
  23896. if thebits = 0 then
  23897. pTDefRegMap(@Self)^.clr := $00000040
  23898. else
  23899. pTDefRegMap(@Self)^.&set := $00000040;
  23900. end;
  23901. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  23902. begin
  23903. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23904. end;
  23905. procedure TCMP_CM3CON.setEVPOL1; inline;
  23906. begin
  23907. pTDefRegMap(@Self)^.&set := $00000080;
  23908. end;
  23909. procedure TCMP_CM3CON.clearEVPOL1; inline;
  23910. begin
  23911. pTDefRegMap(@Self)^.clr := $00000080;
  23912. end;
  23913. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  23914. begin
  23915. if thebits = 0 then
  23916. pTDefRegMap(@Self)^.clr := $00000080
  23917. else
  23918. pTDefRegMap(@Self)^.&set := $00000080;
  23919. end;
  23920. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  23921. begin
  23922. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23923. end;
  23924. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  23925. begin
  23926. pTDefRegMap(@Self)^.val := thebits;
  23927. end;
  23928. function TCMP_CM3CON.getw : TBits_32; inline;
  23929. begin
  23930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23931. end;
  23932. procedure TCMP_CMSTAT.setC1OUT; inline;
  23933. begin
  23934. pTDefRegMap(@Self)^.&set := $00000001;
  23935. end;
  23936. procedure TCMP_CMSTAT.clearC1OUT; inline;
  23937. begin
  23938. pTDefRegMap(@Self)^.clr := $00000001;
  23939. end;
  23940. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  23941. begin
  23942. if thebits = 0 then
  23943. pTDefRegMap(@Self)^.clr := $00000001
  23944. else
  23945. pTDefRegMap(@Self)^.&set := $00000001;
  23946. end;
  23947. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  23948. begin
  23949. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23950. end;
  23951. procedure TCMP_CMSTAT.setC2OUT; inline;
  23952. begin
  23953. pTDefRegMap(@Self)^.&set := $00000002;
  23954. end;
  23955. procedure TCMP_CMSTAT.clearC2OUT; inline;
  23956. begin
  23957. pTDefRegMap(@Self)^.clr := $00000002;
  23958. end;
  23959. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  23960. begin
  23961. if thebits = 0 then
  23962. pTDefRegMap(@Self)^.clr := $00000002
  23963. else
  23964. pTDefRegMap(@Self)^.&set := $00000002;
  23965. end;
  23966. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  23967. begin
  23968. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23969. end;
  23970. procedure TCMP_CMSTAT.setC3OUT; inline;
  23971. begin
  23972. pTDefRegMap(@Self)^.&set := $00000004;
  23973. end;
  23974. procedure TCMP_CMSTAT.clearC3OUT; inline;
  23975. begin
  23976. pTDefRegMap(@Self)^.clr := $00000004;
  23977. end;
  23978. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  23979. begin
  23980. if thebits = 0 then
  23981. pTDefRegMap(@Self)^.clr := $00000004
  23982. else
  23983. pTDefRegMap(@Self)^.&set := $00000004;
  23984. end;
  23985. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  23986. begin
  23987. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23988. end;
  23989. procedure TCMP_CMSTAT.setSIDL; inline;
  23990. begin
  23991. pTDefRegMap(@Self)^.&set := $00002000;
  23992. end;
  23993. procedure TCMP_CMSTAT.clearSIDL; inline;
  23994. begin
  23995. pTDefRegMap(@Self)^.clr := $00002000;
  23996. end;
  23997. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  23998. begin
  23999. if thebits = 0 then
  24000. pTDefRegMap(@Self)^.clr := $00002000
  24001. else
  24002. pTDefRegMap(@Self)^.&set := $00002000;
  24003. end;
  24004. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24005. begin
  24006. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24007. end;
  24008. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24009. begin
  24010. pTDefRegMap(@Self)^.val := thebits;
  24011. end;
  24012. function TCMP_CMSTAT.getw : TBits_32; inline;
  24013. begin
  24014. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24015. end;
  24016. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24017. begin
  24018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24019. end;
  24020. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24021. begin
  24022. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24023. end;
  24024. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24025. begin
  24026. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24027. end;
  24028. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24029. begin
  24030. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24031. end;
  24032. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24033. begin
  24034. pTDefRegMap(@Self)^.&set := $00000100;
  24035. end;
  24036. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24037. begin
  24038. pTDefRegMap(@Self)^.clr := $00000100;
  24039. end;
  24040. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24041. begin
  24042. if thebits = 0 then
  24043. pTDefRegMap(@Self)^.clr := $00000100
  24044. else
  24045. pTDefRegMap(@Self)^.&set := $00000100;
  24046. end;
  24047. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24048. begin
  24049. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24050. end;
  24051. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24052. begin
  24053. pTDefRegMap(@Self)^.&set := $00000200;
  24054. end;
  24055. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24056. begin
  24057. pTDefRegMap(@Self)^.clr := $00000200;
  24058. end;
  24059. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24060. begin
  24061. if thebits = 0 then
  24062. pTDefRegMap(@Self)^.clr := $00000200
  24063. else
  24064. pTDefRegMap(@Self)^.&set := $00000200;
  24065. end;
  24066. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24067. begin
  24068. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24069. end;
  24070. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24071. begin
  24072. pTDefRegMap(@Self)^.&set := $00000400;
  24073. end;
  24074. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24075. begin
  24076. pTDefRegMap(@Self)^.clr := $00000400;
  24077. end;
  24078. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24079. begin
  24080. if thebits = 0 then
  24081. pTDefRegMap(@Self)^.clr := $00000400
  24082. else
  24083. pTDefRegMap(@Self)^.&set := $00000400;
  24084. end;
  24085. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24086. begin
  24087. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24088. end;
  24089. procedure TCMP_CTMUCON.setEDGEN; inline;
  24090. begin
  24091. pTDefRegMap(@Self)^.&set := $00000800;
  24092. end;
  24093. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24094. begin
  24095. pTDefRegMap(@Self)^.clr := $00000800;
  24096. end;
  24097. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24098. begin
  24099. if thebits = 0 then
  24100. pTDefRegMap(@Self)^.clr := $00000800
  24101. else
  24102. pTDefRegMap(@Self)^.&set := $00000800;
  24103. end;
  24104. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24105. begin
  24106. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24107. end;
  24108. procedure TCMP_CTMUCON.setTGEN; inline;
  24109. begin
  24110. pTDefRegMap(@Self)^.&set := $00001000;
  24111. end;
  24112. procedure TCMP_CTMUCON.clearTGEN; inline;
  24113. begin
  24114. pTDefRegMap(@Self)^.clr := $00001000;
  24115. end;
  24116. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24117. begin
  24118. if thebits = 0 then
  24119. pTDefRegMap(@Self)^.clr := $00001000
  24120. else
  24121. pTDefRegMap(@Self)^.&set := $00001000;
  24122. end;
  24123. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24124. begin
  24125. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24126. end;
  24127. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24128. begin
  24129. pTDefRegMap(@Self)^.&set := $00002000;
  24130. end;
  24131. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24132. begin
  24133. pTDefRegMap(@Self)^.clr := $00002000;
  24134. end;
  24135. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24136. begin
  24137. if thebits = 0 then
  24138. pTDefRegMap(@Self)^.clr := $00002000
  24139. else
  24140. pTDefRegMap(@Self)^.&set := $00002000;
  24141. end;
  24142. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24143. begin
  24144. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24145. end;
  24146. procedure TCMP_CTMUCON.setON; inline;
  24147. begin
  24148. pTDefRegMap(@Self)^.&set := $00008000;
  24149. end;
  24150. procedure TCMP_CTMUCON.clearON; inline;
  24151. begin
  24152. pTDefRegMap(@Self)^.clr := $00008000;
  24153. end;
  24154. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24155. begin
  24156. if thebits = 0 then
  24157. pTDefRegMap(@Self)^.clr := $00008000
  24158. else
  24159. pTDefRegMap(@Self)^.&set := $00008000;
  24160. end;
  24161. function TCMP_CTMUCON.getON : TBits_1; inline;
  24162. begin
  24163. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24164. end;
  24165. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24166. begin
  24167. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24168. end;
  24169. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24170. begin
  24171. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24172. end;
  24173. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24174. begin
  24175. pTDefRegMap(@Self)^.&set := $00400000;
  24176. end;
  24177. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24178. begin
  24179. pTDefRegMap(@Self)^.clr := $00400000;
  24180. end;
  24181. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24182. begin
  24183. if thebits = 0 then
  24184. pTDefRegMap(@Self)^.clr := $00400000
  24185. else
  24186. pTDefRegMap(@Self)^.&set := $00400000;
  24187. end;
  24188. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24189. begin
  24190. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24191. end;
  24192. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24193. begin
  24194. pTDefRegMap(@Self)^.&set := $00800000;
  24195. end;
  24196. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24197. begin
  24198. pTDefRegMap(@Self)^.clr := $00800000;
  24199. end;
  24200. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24201. begin
  24202. if thebits = 0 then
  24203. pTDefRegMap(@Self)^.clr := $00800000
  24204. else
  24205. pTDefRegMap(@Self)^.&set := $00800000;
  24206. end;
  24207. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24208. begin
  24209. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24210. end;
  24211. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24212. begin
  24213. pTDefRegMap(@Self)^.&set := $01000000;
  24214. end;
  24215. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24216. begin
  24217. pTDefRegMap(@Self)^.clr := $01000000;
  24218. end;
  24219. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24220. begin
  24221. if thebits = 0 then
  24222. pTDefRegMap(@Self)^.clr := $01000000
  24223. else
  24224. pTDefRegMap(@Self)^.&set := $01000000;
  24225. end;
  24226. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24227. begin
  24228. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24229. end;
  24230. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24231. begin
  24232. pTDefRegMap(@Self)^.&set := $02000000;
  24233. end;
  24234. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24235. begin
  24236. pTDefRegMap(@Self)^.clr := $02000000;
  24237. end;
  24238. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24239. begin
  24240. if thebits = 0 then
  24241. pTDefRegMap(@Self)^.clr := $02000000
  24242. else
  24243. pTDefRegMap(@Self)^.&set := $02000000;
  24244. end;
  24245. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24246. begin
  24247. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24248. end;
  24249. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24250. begin
  24251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24252. end;
  24253. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24254. begin
  24255. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24256. end;
  24257. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24258. begin
  24259. pTDefRegMap(@Self)^.&set := $40000000;
  24260. end;
  24261. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24262. begin
  24263. pTDefRegMap(@Self)^.clr := $40000000;
  24264. end;
  24265. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24266. begin
  24267. if thebits = 0 then
  24268. pTDefRegMap(@Self)^.clr := $40000000
  24269. else
  24270. pTDefRegMap(@Self)^.&set := $40000000;
  24271. end;
  24272. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24273. begin
  24274. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24275. end;
  24276. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24277. begin
  24278. pTDefRegMap(@Self)^.&set := $80000000;
  24279. end;
  24280. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24281. begin
  24282. pTDefRegMap(@Self)^.clr := $80000000;
  24283. end;
  24284. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24285. begin
  24286. if thebits = 0 then
  24287. pTDefRegMap(@Self)^.clr := $80000000
  24288. else
  24289. pTDefRegMap(@Self)^.&set := $80000000;
  24290. end;
  24291. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24292. begin
  24293. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24294. end;
  24295. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24296. begin
  24297. pTDefRegMap(@Self)^.val := thebits;
  24298. end;
  24299. function TCMP_CTMUCON.getw : TBits_32; inline;
  24300. begin
  24301. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24302. end;
  24303. procedure TOSC_OSCCON.setOSWEN; inline;
  24304. begin
  24305. pTDefRegMap(@Self)^.&set := $00000001;
  24306. end;
  24307. procedure TOSC_OSCCON.clearOSWEN; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.clr := $00000001;
  24310. end;
  24311. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24312. begin
  24313. if thebits = 0 then
  24314. pTDefRegMap(@Self)^.clr := $00000001
  24315. else
  24316. pTDefRegMap(@Self)^.&set := $00000001;
  24317. end;
  24318. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24319. begin
  24320. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24321. end;
  24322. procedure TOSC_OSCCON.setSOSCEN; inline;
  24323. begin
  24324. pTDefRegMap(@Self)^.&set := $00000002;
  24325. end;
  24326. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.clr := $00000002;
  24329. end;
  24330. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24331. begin
  24332. if thebits = 0 then
  24333. pTDefRegMap(@Self)^.clr := $00000002
  24334. else
  24335. pTDefRegMap(@Self)^.&set := $00000002;
  24336. end;
  24337. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24338. begin
  24339. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24340. end;
  24341. procedure TOSC_OSCCON.setUFRCEN; inline;
  24342. begin
  24343. pTDefRegMap(@Self)^.&set := $00000004;
  24344. end;
  24345. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24346. begin
  24347. pTDefRegMap(@Self)^.clr := $00000004;
  24348. end;
  24349. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24350. begin
  24351. if thebits = 0 then
  24352. pTDefRegMap(@Self)^.clr := $00000004
  24353. else
  24354. pTDefRegMap(@Self)^.&set := $00000004;
  24355. end;
  24356. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24357. begin
  24358. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24359. end;
  24360. procedure TOSC_OSCCON.setCF; inline;
  24361. begin
  24362. pTDefRegMap(@Self)^.&set := $00000008;
  24363. end;
  24364. procedure TOSC_OSCCON.clearCF; inline;
  24365. begin
  24366. pTDefRegMap(@Self)^.clr := $00000008;
  24367. end;
  24368. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24369. begin
  24370. if thebits = 0 then
  24371. pTDefRegMap(@Self)^.clr := $00000008
  24372. else
  24373. pTDefRegMap(@Self)^.&set := $00000008;
  24374. end;
  24375. function TOSC_OSCCON.getCF : TBits_1; inline;
  24376. begin
  24377. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24378. end;
  24379. procedure TOSC_OSCCON.setSLPEN; inline;
  24380. begin
  24381. pTDefRegMap(@Self)^.&set := $00000010;
  24382. end;
  24383. procedure TOSC_OSCCON.clearSLPEN; inline;
  24384. begin
  24385. pTDefRegMap(@Self)^.clr := $00000010;
  24386. end;
  24387. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24388. begin
  24389. if thebits = 0 then
  24390. pTDefRegMap(@Self)^.clr := $00000010
  24391. else
  24392. pTDefRegMap(@Self)^.&set := $00000010;
  24393. end;
  24394. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24395. begin
  24396. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24397. end;
  24398. procedure TOSC_OSCCON.setSLOCK; inline;
  24399. begin
  24400. pTDefRegMap(@Self)^.&set := $00000020;
  24401. end;
  24402. procedure TOSC_OSCCON.clearSLOCK; inline;
  24403. begin
  24404. pTDefRegMap(@Self)^.clr := $00000020;
  24405. end;
  24406. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24407. begin
  24408. if thebits = 0 then
  24409. pTDefRegMap(@Self)^.clr := $00000020
  24410. else
  24411. pTDefRegMap(@Self)^.&set := $00000020;
  24412. end;
  24413. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24414. begin
  24415. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24416. end;
  24417. procedure TOSC_OSCCON.setULOCK; inline;
  24418. begin
  24419. pTDefRegMap(@Self)^.&set := $00000040;
  24420. end;
  24421. procedure TOSC_OSCCON.clearULOCK; inline;
  24422. begin
  24423. pTDefRegMap(@Self)^.clr := $00000040;
  24424. end;
  24425. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24426. begin
  24427. if thebits = 0 then
  24428. pTDefRegMap(@Self)^.clr := $00000040
  24429. else
  24430. pTDefRegMap(@Self)^.&set := $00000040;
  24431. end;
  24432. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24433. begin
  24434. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24435. end;
  24436. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24437. begin
  24438. pTDefRegMap(@Self)^.&set := $00000080;
  24439. end;
  24440. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24441. begin
  24442. pTDefRegMap(@Self)^.clr := $00000080;
  24443. end;
  24444. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24445. begin
  24446. if thebits = 0 then
  24447. pTDefRegMap(@Self)^.clr := $00000080
  24448. else
  24449. pTDefRegMap(@Self)^.&set := $00000080;
  24450. end;
  24451. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24452. begin
  24453. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24454. end;
  24455. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24456. begin
  24457. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24458. end;
  24459. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24460. begin
  24461. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24462. end;
  24463. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24464. begin
  24465. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24466. end;
  24467. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24468. begin
  24469. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24470. end;
  24471. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24474. end;
  24475. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24476. begin
  24477. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24478. end;
  24479. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24480. begin
  24481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24482. end;
  24483. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24484. begin
  24485. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24486. end;
  24487. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24488. begin
  24489. pTDefRegMap(@Self)^.&set := $00200000;
  24490. end;
  24491. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24492. begin
  24493. pTDefRegMap(@Self)^.clr := $00200000;
  24494. end;
  24495. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24496. begin
  24497. if thebits = 0 then
  24498. pTDefRegMap(@Self)^.clr := $00200000
  24499. else
  24500. pTDefRegMap(@Self)^.&set := $00200000;
  24501. end;
  24502. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24503. begin
  24504. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24505. end;
  24506. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24507. begin
  24508. pTDefRegMap(@Self)^.&set := $00400000;
  24509. end;
  24510. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24511. begin
  24512. pTDefRegMap(@Self)^.clr := $00400000;
  24513. end;
  24514. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24515. begin
  24516. if thebits = 0 then
  24517. pTDefRegMap(@Self)^.clr := $00400000
  24518. else
  24519. pTDefRegMap(@Self)^.&set := $00400000;
  24520. end;
  24521. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24522. begin
  24523. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24524. end;
  24525. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24526. begin
  24527. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24528. end;
  24529. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24530. begin
  24531. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24532. end;
  24533. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24534. begin
  24535. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24536. end;
  24537. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24538. begin
  24539. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24540. end;
  24541. procedure TOSC_OSCCON.setNOSC0; inline;
  24542. begin
  24543. pTDefRegMap(@Self)^.&set := $00000100;
  24544. end;
  24545. procedure TOSC_OSCCON.clearNOSC0; inline;
  24546. begin
  24547. pTDefRegMap(@Self)^.clr := $00000100;
  24548. end;
  24549. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24550. begin
  24551. if thebits = 0 then
  24552. pTDefRegMap(@Self)^.clr := $00000100
  24553. else
  24554. pTDefRegMap(@Self)^.&set := $00000100;
  24555. end;
  24556. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24557. begin
  24558. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24559. end;
  24560. procedure TOSC_OSCCON.setNOSC1; inline;
  24561. begin
  24562. pTDefRegMap(@Self)^.&set := $00000200;
  24563. end;
  24564. procedure TOSC_OSCCON.clearNOSC1; inline;
  24565. begin
  24566. pTDefRegMap(@Self)^.clr := $00000200;
  24567. end;
  24568. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24569. begin
  24570. if thebits = 0 then
  24571. pTDefRegMap(@Self)^.clr := $00000200
  24572. else
  24573. pTDefRegMap(@Self)^.&set := $00000200;
  24574. end;
  24575. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24576. begin
  24577. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24578. end;
  24579. procedure TOSC_OSCCON.setNOSC2; inline;
  24580. begin
  24581. pTDefRegMap(@Self)^.&set := $00000400;
  24582. end;
  24583. procedure TOSC_OSCCON.clearNOSC2; inline;
  24584. begin
  24585. pTDefRegMap(@Self)^.clr := $00000400;
  24586. end;
  24587. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24588. begin
  24589. if thebits = 0 then
  24590. pTDefRegMap(@Self)^.clr := $00000400
  24591. else
  24592. pTDefRegMap(@Self)^.&set := $00000400;
  24593. end;
  24594. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24595. begin
  24596. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24597. end;
  24598. procedure TOSC_OSCCON.setCOSC0; inline;
  24599. begin
  24600. pTDefRegMap(@Self)^.&set := $00001000;
  24601. end;
  24602. procedure TOSC_OSCCON.clearCOSC0; inline;
  24603. begin
  24604. pTDefRegMap(@Self)^.clr := $00001000;
  24605. end;
  24606. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24607. begin
  24608. if thebits = 0 then
  24609. pTDefRegMap(@Self)^.clr := $00001000
  24610. else
  24611. pTDefRegMap(@Self)^.&set := $00001000;
  24612. end;
  24613. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24614. begin
  24615. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24616. end;
  24617. procedure TOSC_OSCCON.setCOSC1; inline;
  24618. begin
  24619. pTDefRegMap(@Self)^.&set := $00002000;
  24620. end;
  24621. procedure TOSC_OSCCON.clearCOSC1; inline;
  24622. begin
  24623. pTDefRegMap(@Self)^.clr := $00002000;
  24624. end;
  24625. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24626. begin
  24627. if thebits = 0 then
  24628. pTDefRegMap(@Self)^.clr := $00002000
  24629. else
  24630. pTDefRegMap(@Self)^.&set := $00002000;
  24631. end;
  24632. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24633. begin
  24634. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24635. end;
  24636. procedure TOSC_OSCCON.setCOSC2; inline;
  24637. begin
  24638. pTDefRegMap(@Self)^.&set := $00004000;
  24639. end;
  24640. procedure TOSC_OSCCON.clearCOSC2; inline;
  24641. begin
  24642. pTDefRegMap(@Self)^.clr := $00004000;
  24643. end;
  24644. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24645. begin
  24646. if thebits = 0 then
  24647. pTDefRegMap(@Self)^.clr := $00004000
  24648. else
  24649. pTDefRegMap(@Self)^.&set := $00004000;
  24650. end;
  24651. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24652. begin
  24653. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24654. end;
  24655. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24656. begin
  24657. pTDefRegMap(@Self)^.&set := $00010000;
  24658. end;
  24659. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24660. begin
  24661. pTDefRegMap(@Self)^.clr := $00010000;
  24662. end;
  24663. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24664. begin
  24665. if thebits = 0 then
  24666. pTDefRegMap(@Self)^.clr := $00010000
  24667. else
  24668. pTDefRegMap(@Self)^.&set := $00010000;
  24669. end;
  24670. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24671. begin
  24672. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24673. end;
  24674. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24675. begin
  24676. pTDefRegMap(@Self)^.&set := $00020000;
  24677. end;
  24678. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24679. begin
  24680. pTDefRegMap(@Self)^.clr := $00020000;
  24681. end;
  24682. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24683. begin
  24684. if thebits = 0 then
  24685. pTDefRegMap(@Self)^.clr := $00020000
  24686. else
  24687. pTDefRegMap(@Self)^.&set := $00020000;
  24688. end;
  24689. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24690. begin
  24691. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24692. end;
  24693. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24694. begin
  24695. pTDefRegMap(@Self)^.&set := $00040000;
  24696. end;
  24697. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24698. begin
  24699. pTDefRegMap(@Self)^.clr := $00040000;
  24700. end;
  24701. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  24702. begin
  24703. if thebits = 0 then
  24704. pTDefRegMap(@Self)^.clr := $00040000
  24705. else
  24706. pTDefRegMap(@Self)^.&set := $00040000;
  24707. end;
  24708. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  24709. begin
  24710. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  24711. end;
  24712. procedure TOSC_OSCCON.setPBDIV0; inline;
  24713. begin
  24714. pTDefRegMap(@Self)^.&set := $00080000;
  24715. end;
  24716. procedure TOSC_OSCCON.clearPBDIV0; inline;
  24717. begin
  24718. pTDefRegMap(@Self)^.clr := $00080000;
  24719. end;
  24720. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  24721. begin
  24722. if thebits = 0 then
  24723. pTDefRegMap(@Self)^.clr := $00080000
  24724. else
  24725. pTDefRegMap(@Self)^.&set := $00080000;
  24726. end;
  24727. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  24728. begin
  24729. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  24730. end;
  24731. procedure TOSC_OSCCON.setPBDIV1; inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.&set := $00100000;
  24734. end;
  24735. procedure TOSC_OSCCON.clearPBDIV1; inline;
  24736. begin
  24737. pTDefRegMap(@Self)^.clr := $00100000;
  24738. end;
  24739. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  24740. begin
  24741. if thebits = 0 then
  24742. pTDefRegMap(@Self)^.clr := $00100000
  24743. else
  24744. pTDefRegMap(@Self)^.&set := $00100000;
  24745. end;
  24746. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  24747. begin
  24748. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  24749. end;
  24750. procedure TOSC_OSCCON.setFRCDIV0; inline;
  24751. begin
  24752. pTDefRegMap(@Self)^.&set := $01000000;
  24753. end;
  24754. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  24755. begin
  24756. pTDefRegMap(@Self)^.clr := $01000000;
  24757. end;
  24758. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  24759. begin
  24760. if thebits = 0 then
  24761. pTDefRegMap(@Self)^.clr := $01000000
  24762. else
  24763. pTDefRegMap(@Self)^.&set := $01000000;
  24764. end;
  24765. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  24766. begin
  24767. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24768. end;
  24769. procedure TOSC_OSCCON.setFRCDIV1; inline;
  24770. begin
  24771. pTDefRegMap(@Self)^.&set := $02000000;
  24772. end;
  24773. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  24774. begin
  24775. pTDefRegMap(@Self)^.clr := $02000000;
  24776. end;
  24777. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  24778. begin
  24779. if thebits = 0 then
  24780. pTDefRegMap(@Self)^.clr := $02000000
  24781. else
  24782. pTDefRegMap(@Self)^.&set := $02000000;
  24783. end;
  24784. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  24785. begin
  24786. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24787. end;
  24788. procedure TOSC_OSCCON.setFRCDIV2; inline;
  24789. begin
  24790. pTDefRegMap(@Self)^.&set := $04000000;
  24791. end;
  24792. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  24793. begin
  24794. pTDefRegMap(@Self)^.clr := $04000000;
  24795. end;
  24796. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  24797. begin
  24798. if thebits = 0 then
  24799. pTDefRegMap(@Self)^.clr := $04000000
  24800. else
  24801. pTDefRegMap(@Self)^.&set := $04000000;
  24802. end;
  24803. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  24804. begin
  24805. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  24806. end;
  24807. procedure TOSC_OSCCON.setPLLODIV0; inline;
  24808. begin
  24809. pTDefRegMap(@Self)^.&set := $08000000;
  24810. end;
  24811. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  24812. begin
  24813. pTDefRegMap(@Self)^.clr := $08000000;
  24814. end;
  24815. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  24816. begin
  24817. if thebits = 0 then
  24818. pTDefRegMap(@Self)^.clr := $08000000
  24819. else
  24820. pTDefRegMap(@Self)^.&set := $08000000;
  24821. end;
  24822. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  24823. begin
  24824. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24825. end;
  24826. procedure TOSC_OSCCON.setPLLODIV1; inline;
  24827. begin
  24828. pTDefRegMap(@Self)^.&set := $10000000;
  24829. end;
  24830. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  24831. begin
  24832. pTDefRegMap(@Self)^.clr := $10000000;
  24833. end;
  24834. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  24835. begin
  24836. if thebits = 0 then
  24837. pTDefRegMap(@Self)^.clr := $10000000
  24838. else
  24839. pTDefRegMap(@Self)^.&set := $10000000;
  24840. end;
  24841. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  24842. begin
  24843. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24844. end;
  24845. procedure TOSC_OSCCON.setPLLODIV2; inline;
  24846. begin
  24847. pTDefRegMap(@Self)^.&set := $20000000;
  24848. end;
  24849. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  24850. begin
  24851. pTDefRegMap(@Self)^.clr := $20000000;
  24852. end;
  24853. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  24854. begin
  24855. if thebits = 0 then
  24856. pTDefRegMap(@Self)^.clr := $20000000
  24857. else
  24858. pTDefRegMap(@Self)^.&set := $20000000;
  24859. end;
  24860. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  24861. begin
  24862. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24863. end;
  24864. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  24865. begin
  24866. pTDefRegMap(@Self)^.val := thebits;
  24867. end;
  24868. function TOSC_OSCCON.getw : TBits_32; inline;
  24869. begin
  24870. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24871. end;
  24872. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  24873. begin
  24874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  24875. end;
  24876. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  24877. begin
  24878. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  24879. end;
  24880. procedure TOSC_OSCTUN.setTUN0; inline;
  24881. begin
  24882. pTDefRegMap(@Self)^.&set := $00000001;
  24883. end;
  24884. procedure TOSC_OSCTUN.clearTUN0; inline;
  24885. begin
  24886. pTDefRegMap(@Self)^.clr := $00000001;
  24887. end;
  24888. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  24889. begin
  24890. if thebits = 0 then
  24891. pTDefRegMap(@Self)^.clr := $00000001
  24892. else
  24893. pTDefRegMap(@Self)^.&set := $00000001;
  24894. end;
  24895. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  24896. begin
  24897. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24898. end;
  24899. procedure TOSC_OSCTUN.setTUN1; inline;
  24900. begin
  24901. pTDefRegMap(@Self)^.&set := $00000002;
  24902. end;
  24903. procedure TOSC_OSCTUN.clearTUN1; inline;
  24904. begin
  24905. pTDefRegMap(@Self)^.clr := $00000002;
  24906. end;
  24907. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  24908. begin
  24909. if thebits = 0 then
  24910. pTDefRegMap(@Self)^.clr := $00000002
  24911. else
  24912. pTDefRegMap(@Self)^.&set := $00000002;
  24913. end;
  24914. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  24915. begin
  24916. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24917. end;
  24918. procedure TOSC_OSCTUN.setTUN2; inline;
  24919. begin
  24920. pTDefRegMap(@Self)^.&set := $00000004;
  24921. end;
  24922. procedure TOSC_OSCTUN.clearTUN2; inline;
  24923. begin
  24924. pTDefRegMap(@Self)^.clr := $00000004;
  24925. end;
  24926. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  24927. begin
  24928. if thebits = 0 then
  24929. pTDefRegMap(@Self)^.clr := $00000004
  24930. else
  24931. pTDefRegMap(@Self)^.&set := $00000004;
  24932. end;
  24933. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  24934. begin
  24935. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24936. end;
  24937. procedure TOSC_OSCTUN.setTUN3; inline;
  24938. begin
  24939. pTDefRegMap(@Self)^.&set := $00000008;
  24940. end;
  24941. procedure TOSC_OSCTUN.clearTUN3; inline;
  24942. begin
  24943. pTDefRegMap(@Self)^.clr := $00000008;
  24944. end;
  24945. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  24946. begin
  24947. if thebits = 0 then
  24948. pTDefRegMap(@Self)^.clr := $00000008
  24949. else
  24950. pTDefRegMap(@Self)^.&set := $00000008;
  24951. end;
  24952. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  24953. begin
  24954. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24955. end;
  24956. procedure TOSC_OSCTUN.setTUN4; inline;
  24957. begin
  24958. pTDefRegMap(@Self)^.&set := $00000010;
  24959. end;
  24960. procedure TOSC_OSCTUN.clearTUN4; inline;
  24961. begin
  24962. pTDefRegMap(@Self)^.clr := $00000010;
  24963. end;
  24964. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  24965. begin
  24966. if thebits = 0 then
  24967. pTDefRegMap(@Self)^.clr := $00000010
  24968. else
  24969. pTDefRegMap(@Self)^.&set := $00000010;
  24970. end;
  24971. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  24972. begin
  24973. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24974. end;
  24975. procedure TOSC_OSCTUN.setTUN5; inline;
  24976. begin
  24977. pTDefRegMap(@Self)^.&set := $00000020;
  24978. end;
  24979. procedure TOSC_OSCTUN.clearTUN5; inline;
  24980. begin
  24981. pTDefRegMap(@Self)^.clr := $00000020;
  24982. end;
  24983. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  24984. begin
  24985. if thebits = 0 then
  24986. pTDefRegMap(@Self)^.clr := $00000020
  24987. else
  24988. pTDefRegMap(@Self)^.&set := $00000020;
  24989. end;
  24990. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  24991. begin
  24992. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24993. end;
  24994. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  24995. begin
  24996. pTDefRegMap(@Self)^.val := thebits;
  24997. end;
  24998. function TOSC_OSCTUN.getw : TBits_32; inline;
  24999. begin
  25000. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25001. end;
  25002. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25003. begin
  25004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25005. end;
  25006. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25007. begin
  25008. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25009. end;
  25010. procedure TOSC_REFOCON.setACTIVE; inline;
  25011. begin
  25012. pTDefRegMap(@Self)^.&set := $00000100;
  25013. end;
  25014. procedure TOSC_REFOCON.clearACTIVE; inline;
  25015. begin
  25016. pTDefRegMap(@Self)^.clr := $00000100;
  25017. end;
  25018. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25019. begin
  25020. if thebits = 0 then
  25021. pTDefRegMap(@Self)^.clr := $00000100
  25022. else
  25023. pTDefRegMap(@Self)^.&set := $00000100;
  25024. end;
  25025. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25026. begin
  25027. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25028. end;
  25029. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25030. begin
  25031. pTDefRegMap(@Self)^.&set := $00000200;
  25032. end;
  25033. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25034. begin
  25035. pTDefRegMap(@Self)^.clr := $00000200;
  25036. end;
  25037. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25038. begin
  25039. if thebits = 0 then
  25040. pTDefRegMap(@Self)^.clr := $00000200
  25041. else
  25042. pTDefRegMap(@Self)^.&set := $00000200;
  25043. end;
  25044. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25045. begin
  25046. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25047. end;
  25048. procedure TOSC_REFOCON.setRSLP; inline;
  25049. begin
  25050. pTDefRegMap(@Self)^.&set := $00000800;
  25051. end;
  25052. procedure TOSC_REFOCON.clearRSLP; inline;
  25053. begin
  25054. pTDefRegMap(@Self)^.clr := $00000800;
  25055. end;
  25056. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25057. begin
  25058. if thebits = 0 then
  25059. pTDefRegMap(@Self)^.clr := $00000800
  25060. else
  25061. pTDefRegMap(@Self)^.&set := $00000800;
  25062. end;
  25063. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25064. begin
  25065. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25066. end;
  25067. procedure TOSC_REFOCON.setOE; inline;
  25068. begin
  25069. pTDefRegMap(@Self)^.&set := $00001000;
  25070. end;
  25071. procedure TOSC_REFOCON.clearOE; inline;
  25072. begin
  25073. pTDefRegMap(@Self)^.clr := $00001000;
  25074. end;
  25075. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25076. begin
  25077. if thebits = 0 then
  25078. pTDefRegMap(@Self)^.clr := $00001000
  25079. else
  25080. pTDefRegMap(@Self)^.&set := $00001000;
  25081. end;
  25082. function TOSC_REFOCON.getOE : TBits_1; inline;
  25083. begin
  25084. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25085. end;
  25086. procedure TOSC_REFOCON.setSIDL; inline;
  25087. begin
  25088. pTDefRegMap(@Self)^.&set := $00002000;
  25089. end;
  25090. procedure TOSC_REFOCON.clearSIDL; inline;
  25091. begin
  25092. pTDefRegMap(@Self)^.clr := $00002000;
  25093. end;
  25094. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25095. begin
  25096. if thebits = 0 then
  25097. pTDefRegMap(@Self)^.clr := $00002000
  25098. else
  25099. pTDefRegMap(@Self)^.&set := $00002000;
  25100. end;
  25101. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25102. begin
  25103. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25104. end;
  25105. procedure TOSC_REFOCON.setON; inline;
  25106. begin
  25107. pTDefRegMap(@Self)^.&set := $00008000;
  25108. end;
  25109. procedure TOSC_REFOCON.clearON; inline;
  25110. begin
  25111. pTDefRegMap(@Self)^.clr := $00008000;
  25112. end;
  25113. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25114. begin
  25115. if thebits = 0 then
  25116. pTDefRegMap(@Self)^.clr := $00008000
  25117. else
  25118. pTDefRegMap(@Self)^.&set := $00008000;
  25119. end;
  25120. function TOSC_REFOCON.getON : TBits_1; inline;
  25121. begin
  25122. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25123. end;
  25124. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25125. begin
  25126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25127. end;
  25128. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25129. begin
  25130. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25131. end;
  25132. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25133. begin
  25134. pTDefRegMap(@Self)^.val := thebits;
  25135. end;
  25136. function TOSC_REFOCON.getw : TBits_32; inline;
  25137. begin
  25138. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25139. end;
  25140. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25141. begin
  25142. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25143. end;
  25144. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25145. begin
  25146. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25147. end;
  25148. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25149. begin
  25150. pTDefRegMap(@Self)^.val := thebits;
  25151. end;
  25152. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25153. begin
  25154. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25155. end;
  25156. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25157. begin
  25158. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25159. end;
  25160. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25161. begin
  25162. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25163. end;
  25164. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25165. begin
  25166. pTDefRegMap(@Self)^.&set := $00000800;
  25167. end;
  25168. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25169. begin
  25170. pTDefRegMap(@Self)^.clr := $00000800;
  25171. end;
  25172. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25173. begin
  25174. if thebits = 0 then
  25175. pTDefRegMap(@Self)^.clr := $00000800
  25176. else
  25177. pTDefRegMap(@Self)^.&set := $00000800;
  25178. end;
  25179. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25180. begin
  25181. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25182. end;
  25183. procedure TNVM_NVMCON.setLVDERR; inline;
  25184. begin
  25185. pTDefRegMap(@Self)^.&set := $00001000;
  25186. end;
  25187. procedure TNVM_NVMCON.clearLVDERR; inline;
  25188. begin
  25189. pTDefRegMap(@Self)^.clr := $00001000;
  25190. end;
  25191. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25192. begin
  25193. if thebits = 0 then
  25194. pTDefRegMap(@Self)^.clr := $00001000
  25195. else
  25196. pTDefRegMap(@Self)^.&set := $00001000;
  25197. end;
  25198. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25199. begin
  25200. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25201. end;
  25202. procedure TNVM_NVMCON.setWRERR; inline;
  25203. begin
  25204. pTDefRegMap(@Self)^.&set := $00002000;
  25205. end;
  25206. procedure TNVM_NVMCON.clearWRERR; inline;
  25207. begin
  25208. pTDefRegMap(@Self)^.clr := $00002000;
  25209. end;
  25210. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25211. begin
  25212. if thebits = 0 then
  25213. pTDefRegMap(@Self)^.clr := $00002000
  25214. else
  25215. pTDefRegMap(@Self)^.&set := $00002000;
  25216. end;
  25217. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25218. begin
  25219. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25220. end;
  25221. procedure TNVM_NVMCON.setWREN; inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.&set := $00004000;
  25224. end;
  25225. procedure TNVM_NVMCON.clearWREN; inline;
  25226. begin
  25227. pTDefRegMap(@Self)^.clr := $00004000;
  25228. end;
  25229. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25230. begin
  25231. if thebits = 0 then
  25232. pTDefRegMap(@Self)^.clr := $00004000
  25233. else
  25234. pTDefRegMap(@Self)^.&set := $00004000;
  25235. end;
  25236. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25237. begin
  25238. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25239. end;
  25240. procedure TNVM_NVMCON.setWR; inline;
  25241. begin
  25242. pTDefRegMap(@Self)^.&set := $00008000;
  25243. end;
  25244. procedure TNVM_NVMCON.clearWR; inline;
  25245. begin
  25246. pTDefRegMap(@Self)^.clr := $00008000;
  25247. end;
  25248. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25249. begin
  25250. if thebits = 0 then
  25251. pTDefRegMap(@Self)^.clr := $00008000
  25252. else
  25253. pTDefRegMap(@Self)^.&set := $00008000;
  25254. end;
  25255. function TNVM_NVMCON.getWR : TBits_1; inline;
  25256. begin
  25257. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25258. end;
  25259. procedure TNVM_NVMCON.setNVMOP0; inline;
  25260. begin
  25261. pTDefRegMap(@Self)^.&set := $00000001;
  25262. end;
  25263. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25264. begin
  25265. pTDefRegMap(@Self)^.clr := $00000001;
  25266. end;
  25267. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25268. begin
  25269. if thebits = 0 then
  25270. pTDefRegMap(@Self)^.clr := $00000001
  25271. else
  25272. pTDefRegMap(@Self)^.&set := $00000001;
  25273. end;
  25274. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25275. begin
  25276. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25277. end;
  25278. procedure TNVM_NVMCON.setNVMOP1; inline;
  25279. begin
  25280. pTDefRegMap(@Self)^.&set := $00000002;
  25281. end;
  25282. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25283. begin
  25284. pTDefRegMap(@Self)^.clr := $00000002;
  25285. end;
  25286. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25287. begin
  25288. if thebits = 0 then
  25289. pTDefRegMap(@Self)^.clr := $00000002
  25290. else
  25291. pTDefRegMap(@Self)^.&set := $00000002;
  25292. end;
  25293. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25294. begin
  25295. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25296. end;
  25297. procedure TNVM_NVMCON.setNVMOP2; inline;
  25298. begin
  25299. pTDefRegMap(@Self)^.&set := $00000004;
  25300. end;
  25301. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25302. begin
  25303. pTDefRegMap(@Self)^.clr := $00000004;
  25304. end;
  25305. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25306. begin
  25307. if thebits = 0 then
  25308. pTDefRegMap(@Self)^.clr := $00000004
  25309. else
  25310. pTDefRegMap(@Self)^.&set := $00000004;
  25311. end;
  25312. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25313. begin
  25314. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25315. end;
  25316. procedure TNVM_NVMCON.setNVMOP3; inline;
  25317. begin
  25318. pTDefRegMap(@Self)^.&set := $00000008;
  25319. end;
  25320. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25321. begin
  25322. pTDefRegMap(@Self)^.clr := $00000008;
  25323. end;
  25324. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25325. begin
  25326. if thebits = 0 then
  25327. pTDefRegMap(@Self)^.clr := $00000008
  25328. else
  25329. pTDefRegMap(@Self)^.&set := $00000008;
  25330. end;
  25331. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25332. begin
  25333. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25334. end;
  25335. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25336. begin
  25337. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25338. end;
  25339. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25340. begin
  25341. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25342. end;
  25343. procedure TNVM_NVMCON.setPROGOP0; inline;
  25344. begin
  25345. pTDefRegMap(@Self)^.&set := $00000001;
  25346. end;
  25347. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25348. begin
  25349. pTDefRegMap(@Self)^.clr := $00000001;
  25350. end;
  25351. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25352. begin
  25353. if thebits = 0 then
  25354. pTDefRegMap(@Self)^.clr := $00000001
  25355. else
  25356. pTDefRegMap(@Self)^.&set := $00000001;
  25357. end;
  25358. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25359. begin
  25360. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25361. end;
  25362. procedure TNVM_NVMCON.setPROGOP1; inline;
  25363. begin
  25364. pTDefRegMap(@Self)^.&set := $00000002;
  25365. end;
  25366. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25367. begin
  25368. pTDefRegMap(@Self)^.clr := $00000002;
  25369. end;
  25370. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25371. begin
  25372. if thebits = 0 then
  25373. pTDefRegMap(@Self)^.clr := $00000002
  25374. else
  25375. pTDefRegMap(@Self)^.&set := $00000002;
  25376. end;
  25377. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25378. begin
  25379. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25380. end;
  25381. procedure TNVM_NVMCON.setPROGOP2; inline;
  25382. begin
  25383. pTDefRegMap(@Self)^.&set := $00000004;
  25384. end;
  25385. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25386. begin
  25387. pTDefRegMap(@Self)^.clr := $00000004;
  25388. end;
  25389. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25390. begin
  25391. if thebits = 0 then
  25392. pTDefRegMap(@Self)^.clr := $00000004
  25393. else
  25394. pTDefRegMap(@Self)^.&set := $00000004;
  25395. end;
  25396. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25397. begin
  25398. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25399. end;
  25400. procedure TNVM_NVMCON.setPROGOP3; inline;
  25401. begin
  25402. pTDefRegMap(@Self)^.&set := $00000008;
  25403. end;
  25404. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25405. begin
  25406. pTDefRegMap(@Self)^.clr := $00000008;
  25407. end;
  25408. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25409. begin
  25410. if thebits = 0 then
  25411. pTDefRegMap(@Self)^.clr := $00000008
  25412. else
  25413. pTDefRegMap(@Self)^.&set := $00000008;
  25414. end;
  25415. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25416. begin
  25417. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25418. end;
  25419. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25420. begin
  25421. pTDefRegMap(@Self)^.val := thebits;
  25422. end;
  25423. function TNVM_NVMCON.getw : TBits_32; inline;
  25424. begin
  25425. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25426. end;
  25427. procedure TRCON_RCON.setPOR; inline;
  25428. begin
  25429. pTDefRegMap(@Self)^.&set := $00000001;
  25430. end;
  25431. procedure TRCON_RCON.clearPOR; inline;
  25432. begin
  25433. pTDefRegMap(@Self)^.clr := $00000001;
  25434. end;
  25435. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25436. begin
  25437. if thebits = 0 then
  25438. pTDefRegMap(@Self)^.clr := $00000001
  25439. else
  25440. pTDefRegMap(@Self)^.&set := $00000001;
  25441. end;
  25442. function TRCON_RCON.getPOR : TBits_1; inline;
  25443. begin
  25444. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25445. end;
  25446. procedure TRCON_RCON.setBOR; inline;
  25447. begin
  25448. pTDefRegMap(@Self)^.&set := $00000002;
  25449. end;
  25450. procedure TRCON_RCON.clearBOR; inline;
  25451. begin
  25452. pTDefRegMap(@Self)^.clr := $00000002;
  25453. end;
  25454. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25455. begin
  25456. if thebits = 0 then
  25457. pTDefRegMap(@Self)^.clr := $00000002
  25458. else
  25459. pTDefRegMap(@Self)^.&set := $00000002;
  25460. end;
  25461. function TRCON_RCON.getBOR : TBits_1; inline;
  25462. begin
  25463. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25464. end;
  25465. procedure TRCON_RCON.setIDLE; inline;
  25466. begin
  25467. pTDefRegMap(@Self)^.&set := $00000004;
  25468. end;
  25469. procedure TRCON_RCON.clearIDLE; inline;
  25470. begin
  25471. pTDefRegMap(@Self)^.clr := $00000004;
  25472. end;
  25473. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25474. begin
  25475. if thebits = 0 then
  25476. pTDefRegMap(@Self)^.clr := $00000004
  25477. else
  25478. pTDefRegMap(@Self)^.&set := $00000004;
  25479. end;
  25480. function TRCON_RCON.getIDLE : TBits_1; inline;
  25481. begin
  25482. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25483. end;
  25484. procedure TRCON_RCON.setSLEEP; inline;
  25485. begin
  25486. pTDefRegMap(@Self)^.&set := $00000008;
  25487. end;
  25488. procedure TRCON_RCON.clearSLEEP; inline;
  25489. begin
  25490. pTDefRegMap(@Self)^.clr := $00000008;
  25491. end;
  25492. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25493. begin
  25494. if thebits = 0 then
  25495. pTDefRegMap(@Self)^.clr := $00000008
  25496. else
  25497. pTDefRegMap(@Self)^.&set := $00000008;
  25498. end;
  25499. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25500. begin
  25501. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25502. end;
  25503. procedure TRCON_RCON.setWDTO; inline;
  25504. begin
  25505. pTDefRegMap(@Self)^.&set := $00000010;
  25506. end;
  25507. procedure TRCON_RCON.clearWDTO; inline;
  25508. begin
  25509. pTDefRegMap(@Self)^.clr := $00000010;
  25510. end;
  25511. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25512. begin
  25513. if thebits = 0 then
  25514. pTDefRegMap(@Self)^.clr := $00000010
  25515. else
  25516. pTDefRegMap(@Self)^.&set := $00000010;
  25517. end;
  25518. function TRCON_RCON.getWDTO : TBits_1; inline;
  25519. begin
  25520. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25521. end;
  25522. procedure TRCON_RCON.setSWR; inline;
  25523. begin
  25524. pTDefRegMap(@Self)^.&set := $00000040;
  25525. end;
  25526. procedure TRCON_RCON.clearSWR; inline;
  25527. begin
  25528. pTDefRegMap(@Self)^.clr := $00000040;
  25529. end;
  25530. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25531. begin
  25532. if thebits = 0 then
  25533. pTDefRegMap(@Self)^.clr := $00000040
  25534. else
  25535. pTDefRegMap(@Self)^.&set := $00000040;
  25536. end;
  25537. function TRCON_RCON.getSWR : TBits_1; inline;
  25538. begin
  25539. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25540. end;
  25541. procedure TRCON_RCON.setEXTR; inline;
  25542. begin
  25543. pTDefRegMap(@Self)^.&set := $00000080;
  25544. end;
  25545. procedure TRCON_RCON.clearEXTR; inline;
  25546. begin
  25547. pTDefRegMap(@Self)^.clr := $00000080;
  25548. end;
  25549. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25550. begin
  25551. if thebits = 0 then
  25552. pTDefRegMap(@Self)^.clr := $00000080
  25553. else
  25554. pTDefRegMap(@Self)^.&set := $00000080;
  25555. end;
  25556. function TRCON_RCON.getEXTR : TBits_1; inline;
  25557. begin
  25558. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25559. end;
  25560. procedure TRCON_RCON.setVREGS; inline;
  25561. begin
  25562. pTDefRegMap(@Self)^.&set := $00000100;
  25563. end;
  25564. procedure TRCON_RCON.clearVREGS; inline;
  25565. begin
  25566. pTDefRegMap(@Self)^.clr := $00000100;
  25567. end;
  25568. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  25569. begin
  25570. if thebits = 0 then
  25571. pTDefRegMap(@Self)^.clr := $00000100
  25572. else
  25573. pTDefRegMap(@Self)^.&set := $00000100;
  25574. end;
  25575. function TRCON_RCON.getVREGS : TBits_1; inline;
  25576. begin
  25577. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25578. end;
  25579. procedure TRCON_RCON.setCMR; inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.&set := $00000200;
  25582. end;
  25583. procedure TRCON_RCON.clearCMR; inline;
  25584. begin
  25585. pTDefRegMap(@Self)^.clr := $00000200;
  25586. end;
  25587. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  25588. begin
  25589. if thebits = 0 then
  25590. pTDefRegMap(@Self)^.clr := $00000200
  25591. else
  25592. pTDefRegMap(@Self)^.&set := $00000200;
  25593. end;
  25594. function TRCON_RCON.getCMR : TBits_1; inline;
  25595. begin
  25596. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25597. end;
  25598. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  25599. begin
  25600. pTDefRegMap(@Self)^.val := thebits;
  25601. end;
  25602. function TRCON_RCON.getw : TBits_32; inline;
  25603. begin
  25604. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25605. end;
  25606. procedure TRCON_RSWRST.setSWRST; inline;
  25607. begin
  25608. pTDefRegMap(@Self)^.&set := $00000001;
  25609. end;
  25610. procedure TRCON_RSWRST.clearSWRST; inline;
  25611. begin
  25612. pTDefRegMap(@Self)^.clr := $00000001;
  25613. end;
  25614. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  25615. begin
  25616. if thebits = 0 then
  25617. pTDefRegMap(@Self)^.clr := $00000001
  25618. else
  25619. pTDefRegMap(@Self)^.&set := $00000001;
  25620. end;
  25621. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  25622. begin
  25623. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25624. end;
  25625. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.val := thebits;
  25628. end;
  25629. function TRCON_RSWRST.getw : TBits_32; inline;
  25630. begin
  25631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25632. end;
  25633. procedure TINT_INTCON.setINT0EP; inline;
  25634. begin
  25635. pTDefRegMap(@Self)^.&set := $00000001;
  25636. end;
  25637. procedure TINT_INTCON.clearINT0EP; inline;
  25638. begin
  25639. pTDefRegMap(@Self)^.clr := $00000001;
  25640. end;
  25641. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  25642. begin
  25643. if thebits = 0 then
  25644. pTDefRegMap(@Self)^.clr := $00000001
  25645. else
  25646. pTDefRegMap(@Self)^.&set := $00000001;
  25647. end;
  25648. function TINT_INTCON.getINT0EP : TBits_1; inline;
  25649. begin
  25650. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25651. end;
  25652. procedure TINT_INTCON.setINT1EP; inline;
  25653. begin
  25654. pTDefRegMap(@Self)^.&set := $00000002;
  25655. end;
  25656. procedure TINT_INTCON.clearINT1EP; inline;
  25657. begin
  25658. pTDefRegMap(@Self)^.clr := $00000002;
  25659. end;
  25660. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  25661. begin
  25662. if thebits = 0 then
  25663. pTDefRegMap(@Self)^.clr := $00000002
  25664. else
  25665. pTDefRegMap(@Self)^.&set := $00000002;
  25666. end;
  25667. function TINT_INTCON.getINT1EP : TBits_1; inline;
  25668. begin
  25669. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25670. end;
  25671. procedure TINT_INTCON.setINT2EP; inline;
  25672. begin
  25673. pTDefRegMap(@Self)^.&set := $00000004;
  25674. end;
  25675. procedure TINT_INTCON.clearINT2EP; inline;
  25676. begin
  25677. pTDefRegMap(@Self)^.clr := $00000004;
  25678. end;
  25679. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  25680. begin
  25681. if thebits = 0 then
  25682. pTDefRegMap(@Self)^.clr := $00000004
  25683. else
  25684. pTDefRegMap(@Self)^.&set := $00000004;
  25685. end;
  25686. function TINT_INTCON.getINT2EP : TBits_1; inline;
  25687. begin
  25688. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25689. end;
  25690. procedure TINT_INTCON.setINT3EP; inline;
  25691. begin
  25692. pTDefRegMap(@Self)^.&set := $00000008;
  25693. end;
  25694. procedure TINT_INTCON.clearINT3EP; inline;
  25695. begin
  25696. pTDefRegMap(@Self)^.clr := $00000008;
  25697. end;
  25698. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  25699. begin
  25700. if thebits = 0 then
  25701. pTDefRegMap(@Self)^.clr := $00000008
  25702. else
  25703. pTDefRegMap(@Self)^.&set := $00000008;
  25704. end;
  25705. function TINT_INTCON.getINT3EP : TBits_1; inline;
  25706. begin
  25707. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25708. end;
  25709. procedure TINT_INTCON.setINT4EP; inline;
  25710. begin
  25711. pTDefRegMap(@Self)^.&set := $00000010;
  25712. end;
  25713. procedure TINT_INTCON.clearINT4EP; inline;
  25714. begin
  25715. pTDefRegMap(@Self)^.clr := $00000010;
  25716. end;
  25717. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  25718. begin
  25719. if thebits = 0 then
  25720. pTDefRegMap(@Self)^.clr := $00000010
  25721. else
  25722. pTDefRegMap(@Self)^.&set := $00000010;
  25723. end;
  25724. function TINT_INTCON.getINT4EP : TBits_1; inline;
  25725. begin
  25726. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25727. end;
  25728. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  25729. begin
  25730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25731. end;
  25732. function TINT_INTCON.getTPC : TBits_3; inline;
  25733. begin
  25734. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25735. end;
  25736. procedure TINT_INTCON.setMVEC; inline;
  25737. begin
  25738. pTDefRegMap(@Self)^.&set := $00001000;
  25739. end;
  25740. procedure TINT_INTCON.clearMVEC; inline;
  25741. begin
  25742. pTDefRegMap(@Self)^.clr := $00001000;
  25743. end;
  25744. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  25745. begin
  25746. if thebits = 0 then
  25747. pTDefRegMap(@Self)^.clr := $00001000
  25748. else
  25749. pTDefRegMap(@Self)^.&set := $00001000;
  25750. end;
  25751. function TINT_INTCON.getMVEC : TBits_1; inline;
  25752. begin
  25753. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25754. end;
  25755. procedure TINT_INTCON.setSS0; inline;
  25756. begin
  25757. pTDefRegMap(@Self)^.&set := $00010000;
  25758. end;
  25759. procedure TINT_INTCON.clearSS0; inline;
  25760. begin
  25761. pTDefRegMap(@Self)^.clr := $00010000;
  25762. end;
  25763. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  25764. begin
  25765. if thebits = 0 then
  25766. pTDefRegMap(@Self)^.clr := $00010000
  25767. else
  25768. pTDefRegMap(@Self)^.&set := $00010000;
  25769. end;
  25770. function TINT_INTCON.getSS0 : TBits_1; inline;
  25771. begin
  25772. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25773. end;
  25774. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  25775. begin
  25776. pTDefRegMap(@Self)^.val := thebits;
  25777. end;
  25778. function TINT_INTCON.getw : TBits_32; inline;
  25779. begin
  25780. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25781. end;
  25782. procedure TINT_IFS0.setCTIF; inline;
  25783. begin
  25784. pTDefRegMap(@Self)^.&set := $00000001;
  25785. end;
  25786. procedure TINT_IFS0.clearCTIF; inline;
  25787. begin
  25788. pTDefRegMap(@Self)^.clr := $00000001;
  25789. end;
  25790. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  25791. begin
  25792. if thebits = 0 then
  25793. pTDefRegMap(@Self)^.clr := $00000001
  25794. else
  25795. pTDefRegMap(@Self)^.&set := $00000001;
  25796. end;
  25797. function TINT_IFS0.getCTIF : TBits_1; inline;
  25798. begin
  25799. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25800. end;
  25801. procedure TINT_IFS0.setCS0IF; inline;
  25802. begin
  25803. pTDefRegMap(@Self)^.&set := $00000002;
  25804. end;
  25805. procedure TINT_IFS0.clearCS0IF; inline;
  25806. begin
  25807. pTDefRegMap(@Self)^.clr := $00000002;
  25808. end;
  25809. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  25810. begin
  25811. if thebits = 0 then
  25812. pTDefRegMap(@Self)^.clr := $00000002
  25813. else
  25814. pTDefRegMap(@Self)^.&set := $00000002;
  25815. end;
  25816. function TINT_IFS0.getCS0IF : TBits_1; inline;
  25817. begin
  25818. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25819. end;
  25820. procedure TINT_IFS0.setCS1IF; inline;
  25821. begin
  25822. pTDefRegMap(@Self)^.&set := $00000004;
  25823. end;
  25824. procedure TINT_IFS0.clearCS1IF; inline;
  25825. begin
  25826. pTDefRegMap(@Self)^.clr := $00000004;
  25827. end;
  25828. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  25829. begin
  25830. if thebits = 0 then
  25831. pTDefRegMap(@Self)^.clr := $00000004
  25832. else
  25833. pTDefRegMap(@Self)^.&set := $00000004;
  25834. end;
  25835. function TINT_IFS0.getCS1IF : TBits_1; inline;
  25836. begin
  25837. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25838. end;
  25839. procedure TINT_IFS0.setINT0IF; inline;
  25840. begin
  25841. pTDefRegMap(@Self)^.&set := $00000008;
  25842. end;
  25843. procedure TINT_IFS0.clearINT0IF; inline;
  25844. begin
  25845. pTDefRegMap(@Self)^.clr := $00000008;
  25846. end;
  25847. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  25848. begin
  25849. if thebits = 0 then
  25850. pTDefRegMap(@Self)^.clr := $00000008
  25851. else
  25852. pTDefRegMap(@Self)^.&set := $00000008;
  25853. end;
  25854. function TINT_IFS0.getINT0IF : TBits_1; inline;
  25855. begin
  25856. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25857. end;
  25858. procedure TINT_IFS0.setT1IF; inline;
  25859. begin
  25860. pTDefRegMap(@Self)^.&set := $00000010;
  25861. end;
  25862. procedure TINT_IFS0.clearT1IF; inline;
  25863. begin
  25864. pTDefRegMap(@Self)^.clr := $00000010;
  25865. end;
  25866. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  25867. begin
  25868. if thebits = 0 then
  25869. pTDefRegMap(@Self)^.clr := $00000010
  25870. else
  25871. pTDefRegMap(@Self)^.&set := $00000010;
  25872. end;
  25873. function TINT_IFS0.getT1IF : TBits_1; inline;
  25874. begin
  25875. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25876. end;
  25877. procedure TINT_IFS0.setIC1EIF; inline;
  25878. begin
  25879. pTDefRegMap(@Self)^.&set := $00000020;
  25880. end;
  25881. procedure TINT_IFS0.clearIC1EIF; inline;
  25882. begin
  25883. pTDefRegMap(@Self)^.clr := $00000020;
  25884. end;
  25885. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  25886. begin
  25887. if thebits = 0 then
  25888. pTDefRegMap(@Self)^.clr := $00000020
  25889. else
  25890. pTDefRegMap(@Self)^.&set := $00000020;
  25891. end;
  25892. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  25893. begin
  25894. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25895. end;
  25896. procedure TINT_IFS0.setIC1IF; inline;
  25897. begin
  25898. pTDefRegMap(@Self)^.&set := $00000040;
  25899. end;
  25900. procedure TINT_IFS0.clearIC1IF; inline;
  25901. begin
  25902. pTDefRegMap(@Self)^.clr := $00000040;
  25903. end;
  25904. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  25905. begin
  25906. if thebits = 0 then
  25907. pTDefRegMap(@Self)^.clr := $00000040
  25908. else
  25909. pTDefRegMap(@Self)^.&set := $00000040;
  25910. end;
  25911. function TINT_IFS0.getIC1IF : TBits_1; inline;
  25912. begin
  25913. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25914. end;
  25915. procedure TINT_IFS0.setOC1IF; inline;
  25916. begin
  25917. pTDefRegMap(@Self)^.&set := $00000080;
  25918. end;
  25919. procedure TINT_IFS0.clearOC1IF; inline;
  25920. begin
  25921. pTDefRegMap(@Self)^.clr := $00000080;
  25922. end;
  25923. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  25924. begin
  25925. if thebits = 0 then
  25926. pTDefRegMap(@Self)^.clr := $00000080
  25927. else
  25928. pTDefRegMap(@Self)^.&set := $00000080;
  25929. end;
  25930. function TINT_IFS0.getOC1IF : TBits_1; inline;
  25931. begin
  25932. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25933. end;
  25934. procedure TINT_IFS0.setINT1IF; inline;
  25935. begin
  25936. pTDefRegMap(@Self)^.&set := $00000100;
  25937. end;
  25938. procedure TINT_IFS0.clearINT1IF; inline;
  25939. begin
  25940. pTDefRegMap(@Self)^.clr := $00000100;
  25941. end;
  25942. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  25943. begin
  25944. if thebits = 0 then
  25945. pTDefRegMap(@Self)^.clr := $00000100
  25946. else
  25947. pTDefRegMap(@Self)^.&set := $00000100;
  25948. end;
  25949. function TINT_IFS0.getINT1IF : TBits_1; inline;
  25950. begin
  25951. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25952. end;
  25953. procedure TINT_IFS0.setT2IF; inline;
  25954. begin
  25955. pTDefRegMap(@Self)^.&set := $00000200;
  25956. end;
  25957. procedure TINT_IFS0.clearT2IF; inline;
  25958. begin
  25959. pTDefRegMap(@Self)^.clr := $00000200;
  25960. end;
  25961. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  25962. begin
  25963. if thebits = 0 then
  25964. pTDefRegMap(@Self)^.clr := $00000200
  25965. else
  25966. pTDefRegMap(@Self)^.&set := $00000200;
  25967. end;
  25968. function TINT_IFS0.getT2IF : TBits_1; inline;
  25969. begin
  25970. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25971. end;
  25972. procedure TINT_IFS0.setIC2EIF; inline;
  25973. begin
  25974. pTDefRegMap(@Self)^.&set := $00000400;
  25975. end;
  25976. procedure TINT_IFS0.clearIC2EIF; inline;
  25977. begin
  25978. pTDefRegMap(@Self)^.clr := $00000400;
  25979. end;
  25980. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  25981. begin
  25982. if thebits = 0 then
  25983. pTDefRegMap(@Self)^.clr := $00000400
  25984. else
  25985. pTDefRegMap(@Self)^.&set := $00000400;
  25986. end;
  25987. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  25988. begin
  25989. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25990. end;
  25991. procedure TINT_IFS0.setIC2IF; inline;
  25992. begin
  25993. pTDefRegMap(@Self)^.&set := $00000800;
  25994. end;
  25995. procedure TINT_IFS0.clearIC2IF; inline;
  25996. begin
  25997. pTDefRegMap(@Self)^.clr := $00000800;
  25998. end;
  25999. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26000. begin
  26001. if thebits = 0 then
  26002. pTDefRegMap(@Self)^.clr := $00000800
  26003. else
  26004. pTDefRegMap(@Self)^.&set := $00000800;
  26005. end;
  26006. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26007. begin
  26008. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26009. end;
  26010. procedure TINT_IFS0.setOC2IF; inline;
  26011. begin
  26012. pTDefRegMap(@Self)^.&set := $00001000;
  26013. end;
  26014. procedure TINT_IFS0.clearOC2IF; inline;
  26015. begin
  26016. pTDefRegMap(@Self)^.clr := $00001000;
  26017. end;
  26018. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26019. begin
  26020. if thebits = 0 then
  26021. pTDefRegMap(@Self)^.clr := $00001000
  26022. else
  26023. pTDefRegMap(@Self)^.&set := $00001000;
  26024. end;
  26025. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26026. begin
  26027. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26028. end;
  26029. procedure TINT_IFS0.setINT2IF; inline;
  26030. begin
  26031. pTDefRegMap(@Self)^.&set := $00002000;
  26032. end;
  26033. procedure TINT_IFS0.clearINT2IF; inline;
  26034. begin
  26035. pTDefRegMap(@Self)^.clr := $00002000;
  26036. end;
  26037. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26038. begin
  26039. if thebits = 0 then
  26040. pTDefRegMap(@Self)^.clr := $00002000
  26041. else
  26042. pTDefRegMap(@Self)^.&set := $00002000;
  26043. end;
  26044. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26045. begin
  26046. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26047. end;
  26048. procedure TINT_IFS0.setT3IF; inline;
  26049. begin
  26050. pTDefRegMap(@Self)^.&set := $00004000;
  26051. end;
  26052. procedure TINT_IFS0.clearT3IF; inline;
  26053. begin
  26054. pTDefRegMap(@Self)^.clr := $00004000;
  26055. end;
  26056. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26057. begin
  26058. if thebits = 0 then
  26059. pTDefRegMap(@Self)^.clr := $00004000
  26060. else
  26061. pTDefRegMap(@Self)^.&set := $00004000;
  26062. end;
  26063. function TINT_IFS0.getT3IF : TBits_1; inline;
  26064. begin
  26065. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26066. end;
  26067. procedure TINT_IFS0.setIC3EIF; inline;
  26068. begin
  26069. pTDefRegMap(@Self)^.&set := $00008000;
  26070. end;
  26071. procedure TINT_IFS0.clearIC3EIF; inline;
  26072. begin
  26073. pTDefRegMap(@Self)^.clr := $00008000;
  26074. end;
  26075. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26076. begin
  26077. if thebits = 0 then
  26078. pTDefRegMap(@Self)^.clr := $00008000
  26079. else
  26080. pTDefRegMap(@Self)^.&set := $00008000;
  26081. end;
  26082. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26083. begin
  26084. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26085. end;
  26086. procedure TINT_IFS0.setIC3IF; inline;
  26087. begin
  26088. pTDefRegMap(@Self)^.&set := $00010000;
  26089. end;
  26090. procedure TINT_IFS0.clearIC3IF; inline;
  26091. begin
  26092. pTDefRegMap(@Self)^.clr := $00010000;
  26093. end;
  26094. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26095. begin
  26096. if thebits = 0 then
  26097. pTDefRegMap(@Self)^.clr := $00010000
  26098. else
  26099. pTDefRegMap(@Self)^.&set := $00010000;
  26100. end;
  26101. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26102. begin
  26103. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26104. end;
  26105. procedure TINT_IFS0.setOC3IF; inline;
  26106. begin
  26107. pTDefRegMap(@Self)^.&set := $00020000;
  26108. end;
  26109. procedure TINT_IFS0.clearOC3IF; inline;
  26110. begin
  26111. pTDefRegMap(@Self)^.clr := $00020000;
  26112. end;
  26113. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26114. begin
  26115. if thebits = 0 then
  26116. pTDefRegMap(@Self)^.clr := $00020000
  26117. else
  26118. pTDefRegMap(@Self)^.&set := $00020000;
  26119. end;
  26120. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26121. begin
  26122. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26123. end;
  26124. procedure TINT_IFS0.setINT3IF; inline;
  26125. begin
  26126. pTDefRegMap(@Self)^.&set := $00040000;
  26127. end;
  26128. procedure TINT_IFS0.clearINT3IF; inline;
  26129. begin
  26130. pTDefRegMap(@Self)^.clr := $00040000;
  26131. end;
  26132. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26133. begin
  26134. if thebits = 0 then
  26135. pTDefRegMap(@Self)^.clr := $00040000
  26136. else
  26137. pTDefRegMap(@Self)^.&set := $00040000;
  26138. end;
  26139. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26140. begin
  26141. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26142. end;
  26143. procedure TINT_IFS0.setT4IF; inline;
  26144. begin
  26145. pTDefRegMap(@Self)^.&set := $00080000;
  26146. end;
  26147. procedure TINT_IFS0.clearT4IF; inline;
  26148. begin
  26149. pTDefRegMap(@Self)^.clr := $00080000;
  26150. end;
  26151. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26152. begin
  26153. if thebits = 0 then
  26154. pTDefRegMap(@Self)^.clr := $00080000
  26155. else
  26156. pTDefRegMap(@Self)^.&set := $00080000;
  26157. end;
  26158. function TINT_IFS0.getT4IF : TBits_1; inline;
  26159. begin
  26160. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26161. end;
  26162. procedure TINT_IFS0.setIC4EIF; inline;
  26163. begin
  26164. pTDefRegMap(@Self)^.&set := $00100000;
  26165. end;
  26166. procedure TINT_IFS0.clearIC4EIF; inline;
  26167. begin
  26168. pTDefRegMap(@Self)^.clr := $00100000;
  26169. end;
  26170. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26171. begin
  26172. if thebits = 0 then
  26173. pTDefRegMap(@Self)^.clr := $00100000
  26174. else
  26175. pTDefRegMap(@Self)^.&set := $00100000;
  26176. end;
  26177. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26178. begin
  26179. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26180. end;
  26181. procedure TINT_IFS0.setIC4IF; inline;
  26182. begin
  26183. pTDefRegMap(@Self)^.&set := $00200000;
  26184. end;
  26185. procedure TINT_IFS0.clearIC4IF; inline;
  26186. begin
  26187. pTDefRegMap(@Self)^.clr := $00200000;
  26188. end;
  26189. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26190. begin
  26191. if thebits = 0 then
  26192. pTDefRegMap(@Self)^.clr := $00200000
  26193. else
  26194. pTDefRegMap(@Self)^.&set := $00200000;
  26195. end;
  26196. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26197. begin
  26198. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26199. end;
  26200. procedure TINT_IFS0.setOC4IF; inline;
  26201. begin
  26202. pTDefRegMap(@Self)^.&set := $00400000;
  26203. end;
  26204. procedure TINT_IFS0.clearOC4IF; inline;
  26205. begin
  26206. pTDefRegMap(@Self)^.clr := $00400000;
  26207. end;
  26208. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26209. begin
  26210. if thebits = 0 then
  26211. pTDefRegMap(@Self)^.clr := $00400000
  26212. else
  26213. pTDefRegMap(@Self)^.&set := $00400000;
  26214. end;
  26215. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26216. begin
  26217. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26218. end;
  26219. procedure TINT_IFS0.setINT4IF; inline;
  26220. begin
  26221. pTDefRegMap(@Self)^.&set := $00800000;
  26222. end;
  26223. procedure TINT_IFS0.clearINT4IF; inline;
  26224. begin
  26225. pTDefRegMap(@Self)^.clr := $00800000;
  26226. end;
  26227. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26228. begin
  26229. if thebits = 0 then
  26230. pTDefRegMap(@Self)^.clr := $00800000
  26231. else
  26232. pTDefRegMap(@Self)^.&set := $00800000;
  26233. end;
  26234. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26235. begin
  26236. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26237. end;
  26238. procedure TINT_IFS0.setT5IF; inline;
  26239. begin
  26240. pTDefRegMap(@Self)^.&set := $01000000;
  26241. end;
  26242. procedure TINT_IFS0.clearT5IF; inline;
  26243. begin
  26244. pTDefRegMap(@Self)^.clr := $01000000;
  26245. end;
  26246. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26247. begin
  26248. if thebits = 0 then
  26249. pTDefRegMap(@Self)^.clr := $01000000
  26250. else
  26251. pTDefRegMap(@Self)^.&set := $01000000;
  26252. end;
  26253. function TINT_IFS0.getT5IF : TBits_1; inline;
  26254. begin
  26255. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26256. end;
  26257. procedure TINT_IFS0.setIC5EIF; inline;
  26258. begin
  26259. pTDefRegMap(@Self)^.&set := $02000000;
  26260. end;
  26261. procedure TINT_IFS0.clearIC5EIF; inline;
  26262. begin
  26263. pTDefRegMap(@Self)^.clr := $02000000;
  26264. end;
  26265. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26266. begin
  26267. if thebits = 0 then
  26268. pTDefRegMap(@Self)^.clr := $02000000
  26269. else
  26270. pTDefRegMap(@Self)^.&set := $02000000;
  26271. end;
  26272. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26273. begin
  26274. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26275. end;
  26276. procedure TINT_IFS0.setIC5IF; inline;
  26277. begin
  26278. pTDefRegMap(@Self)^.&set := $04000000;
  26279. end;
  26280. procedure TINT_IFS0.clearIC5IF; inline;
  26281. begin
  26282. pTDefRegMap(@Self)^.clr := $04000000;
  26283. end;
  26284. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26285. begin
  26286. if thebits = 0 then
  26287. pTDefRegMap(@Self)^.clr := $04000000
  26288. else
  26289. pTDefRegMap(@Self)^.&set := $04000000;
  26290. end;
  26291. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26292. begin
  26293. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26294. end;
  26295. procedure TINT_IFS0.setOC5IF; inline;
  26296. begin
  26297. pTDefRegMap(@Self)^.&set := $08000000;
  26298. end;
  26299. procedure TINT_IFS0.clearOC5IF; inline;
  26300. begin
  26301. pTDefRegMap(@Self)^.clr := $08000000;
  26302. end;
  26303. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26304. begin
  26305. if thebits = 0 then
  26306. pTDefRegMap(@Self)^.clr := $08000000
  26307. else
  26308. pTDefRegMap(@Self)^.&set := $08000000;
  26309. end;
  26310. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26311. begin
  26312. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26313. end;
  26314. procedure TINT_IFS0.setAD1IF; inline;
  26315. begin
  26316. pTDefRegMap(@Self)^.&set := $10000000;
  26317. end;
  26318. procedure TINT_IFS0.clearAD1IF; inline;
  26319. begin
  26320. pTDefRegMap(@Self)^.clr := $10000000;
  26321. end;
  26322. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26323. begin
  26324. if thebits = 0 then
  26325. pTDefRegMap(@Self)^.clr := $10000000
  26326. else
  26327. pTDefRegMap(@Self)^.&set := $10000000;
  26328. end;
  26329. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26330. begin
  26331. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26332. end;
  26333. procedure TINT_IFS0.setFSCMIF; inline;
  26334. begin
  26335. pTDefRegMap(@Self)^.&set := $20000000;
  26336. end;
  26337. procedure TINT_IFS0.clearFSCMIF; inline;
  26338. begin
  26339. pTDefRegMap(@Self)^.clr := $20000000;
  26340. end;
  26341. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26342. begin
  26343. if thebits = 0 then
  26344. pTDefRegMap(@Self)^.clr := $20000000
  26345. else
  26346. pTDefRegMap(@Self)^.&set := $20000000;
  26347. end;
  26348. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26349. begin
  26350. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26351. end;
  26352. procedure TINT_IFS0.setRTCCIF; inline;
  26353. begin
  26354. pTDefRegMap(@Self)^.&set := $40000000;
  26355. end;
  26356. procedure TINT_IFS0.clearRTCCIF; inline;
  26357. begin
  26358. pTDefRegMap(@Self)^.clr := $40000000;
  26359. end;
  26360. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26361. begin
  26362. if thebits = 0 then
  26363. pTDefRegMap(@Self)^.clr := $40000000
  26364. else
  26365. pTDefRegMap(@Self)^.&set := $40000000;
  26366. end;
  26367. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26368. begin
  26369. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26370. end;
  26371. procedure TINT_IFS0.setFCEIF; inline;
  26372. begin
  26373. pTDefRegMap(@Self)^.&set := $80000000;
  26374. end;
  26375. procedure TINT_IFS0.clearFCEIF; inline;
  26376. begin
  26377. pTDefRegMap(@Self)^.clr := $80000000;
  26378. end;
  26379. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26380. begin
  26381. if thebits = 0 then
  26382. pTDefRegMap(@Self)^.clr := $80000000
  26383. else
  26384. pTDefRegMap(@Self)^.&set := $80000000;
  26385. end;
  26386. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26387. begin
  26388. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26389. end;
  26390. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26391. begin
  26392. pTDefRegMap(@Self)^.val := thebits;
  26393. end;
  26394. function TINT_IFS0.getw : TBits_32; inline;
  26395. begin
  26396. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26397. end;
  26398. procedure TINT_IFS1.setCMP1IF; inline;
  26399. begin
  26400. pTDefRegMap(@Self)^.&set := $00000001;
  26401. end;
  26402. procedure TINT_IFS1.clearCMP1IF; inline;
  26403. begin
  26404. pTDefRegMap(@Self)^.clr := $00000001;
  26405. end;
  26406. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26407. begin
  26408. if thebits = 0 then
  26409. pTDefRegMap(@Self)^.clr := $00000001
  26410. else
  26411. pTDefRegMap(@Self)^.&set := $00000001;
  26412. end;
  26413. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26414. begin
  26415. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26416. end;
  26417. procedure TINT_IFS1.setCMP2IF; inline;
  26418. begin
  26419. pTDefRegMap(@Self)^.&set := $00000002;
  26420. end;
  26421. procedure TINT_IFS1.clearCMP2IF; inline;
  26422. begin
  26423. pTDefRegMap(@Self)^.clr := $00000002;
  26424. end;
  26425. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26426. begin
  26427. if thebits = 0 then
  26428. pTDefRegMap(@Self)^.clr := $00000002
  26429. else
  26430. pTDefRegMap(@Self)^.&set := $00000002;
  26431. end;
  26432. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26433. begin
  26434. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26435. end;
  26436. procedure TINT_IFS1.setCMP3IF; inline;
  26437. begin
  26438. pTDefRegMap(@Self)^.&set := $00000004;
  26439. end;
  26440. procedure TINT_IFS1.clearCMP3IF; inline;
  26441. begin
  26442. pTDefRegMap(@Self)^.clr := $00000004;
  26443. end;
  26444. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26445. begin
  26446. if thebits = 0 then
  26447. pTDefRegMap(@Self)^.clr := $00000004
  26448. else
  26449. pTDefRegMap(@Self)^.&set := $00000004;
  26450. end;
  26451. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26452. begin
  26453. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26454. end;
  26455. procedure TINT_IFS1.setSPI1EIF; inline;
  26456. begin
  26457. pTDefRegMap(@Self)^.&set := $00000010;
  26458. end;
  26459. procedure TINT_IFS1.clearSPI1EIF; inline;
  26460. begin
  26461. pTDefRegMap(@Self)^.clr := $00000010;
  26462. end;
  26463. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26464. begin
  26465. if thebits = 0 then
  26466. pTDefRegMap(@Self)^.clr := $00000010
  26467. else
  26468. pTDefRegMap(@Self)^.&set := $00000010;
  26469. end;
  26470. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26471. begin
  26472. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26473. end;
  26474. procedure TINT_IFS1.setSPI1RXIF; inline;
  26475. begin
  26476. pTDefRegMap(@Self)^.&set := $00000020;
  26477. end;
  26478. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26479. begin
  26480. pTDefRegMap(@Self)^.clr := $00000020;
  26481. end;
  26482. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26483. begin
  26484. if thebits = 0 then
  26485. pTDefRegMap(@Self)^.clr := $00000020
  26486. else
  26487. pTDefRegMap(@Self)^.&set := $00000020;
  26488. end;
  26489. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26490. begin
  26491. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26492. end;
  26493. procedure TINT_IFS1.setSPI1TXIF; inline;
  26494. begin
  26495. pTDefRegMap(@Self)^.&set := $00000040;
  26496. end;
  26497. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26498. begin
  26499. pTDefRegMap(@Self)^.clr := $00000040;
  26500. end;
  26501. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26502. begin
  26503. if thebits = 0 then
  26504. pTDefRegMap(@Self)^.clr := $00000040
  26505. else
  26506. pTDefRegMap(@Self)^.&set := $00000040;
  26507. end;
  26508. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26509. begin
  26510. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26511. end;
  26512. procedure TINT_IFS1.setU1EIF; inline;
  26513. begin
  26514. pTDefRegMap(@Self)^.&set := $00000080;
  26515. end;
  26516. procedure TINT_IFS1.clearU1EIF; inline;
  26517. begin
  26518. pTDefRegMap(@Self)^.clr := $00000080;
  26519. end;
  26520. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26521. begin
  26522. if thebits = 0 then
  26523. pTDefRegMap(@Self)^.clr := $00000080
  26524. else
  26525. pTDefRegMap(@Self)^.&set := $00000080;
  26526. end;
  26527. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26528. begin
  26529. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26530. end;
  26531. procedure TINT_IFS1.setU1RXIF; inline;
  26532. begin
  26533. pTDefRegMap(@Self)^.&set := $00000100;
  26534. end;
  26535. procedure TINT_IFS1.clearU1RXIF; inline;
  26536. begin
  26537. pTDefRegMap(@Self)^.clr := $00000100;
  26538. end;
  26539. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  26540. begin
  26541. if thebits = 0 then
  26542. pTDefRegMap(@Self)^.clr := $00000100
  26543. else
  26544. pTDefRegMap(@Self)^.&set := $00000100;
  26545. end;
  26546. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  26547. begin
  26548. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26549. end;
  26550. procedure TINT_IFS1.setU1TXIF; inline;
  26551. begin
  26552. pTDefRegMap(@Self)^.&set := $00000200;
  26553. end;
  26554. procedure TINT_IFS1.clearU1TXIF; inline;
  26555. begin
  26556. pTDefRegMap(@Self)^.clr := $00000200;
  26557. end;
  26558. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  26559. begin
  26560. if thebits = 0 then
  26561. pTDefRegMap(@Self)^.clr := $00000200
  26562. else
  26563. pTDefRegMap(@Self)^.&set := $00000200;
  26564. end;
  26565. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  26566. begin
  26567. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26568. end;
  26569. procedure TINT_IFS1.setI2C1BIF; inline;
  26570. begin
  26571. pTDefRegMap(@Self)^.&set := $00000400;
  26572. end;
  26573. procedure TINT_IFS1.clearI2C1BIF; inline;
  26574. begin
  26575. pTDefRegMap(@Self)^.clr := $00000400;
  26576. end;
  26577. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  26578. begin
  26579. if thebits = 0 then
  26580. pTDefRegMap(@Self)^.clr := $00000400
  26581. else
  26582. pTDefRegMap(@Self)^.&set := $00000400;
  26583. end;
  26584. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  26585. begin
  26586. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26587. end;
  26588. procedure TINT_IFS1.setI2C1SIF; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.&set := $00000800;
  26591. end;
  26592. procedure TINT_IFS1.clearI2C1SIF; inline;
  26593. begin
  26594. pTDefRegMap(@Self)^.clr := $00000800;
  26595. end;
  26596. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  26597. begin
  26598. if thebits = 0 then
  26599. pTDefRegMap(@Self)^.clr := $00000800
  26600. else
  26601. pTDefRegMap(@Self)^.&set := $00000800;
  26602. end;
  26603. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  26604. begin
  26605. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26606. end;
  26607. procedure TINT_IFS1.setI2C1MIF; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.&set := $00001000;
  26610. end;
  26611. procedure TINT_IFS1.clearI2C1MIF; inline;
  26612. begin
  26613. pTDefRegMap(@Self)^.clr := $00001000;
  26614. end;
  26615. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  26616. begin
  26617. if thebits = 0 then
  26618. pTDefRegMap(@Self)^.clr := $00001000
  26619. else
  26620. pTDefRegMap(@Self)^.&set := $00001000;
  26621. end;
  26622. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  26623. begin
  26624. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26625. end;
  26626. procedure TINT_IFS1.setCNAIF; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.&set := $00002000;
  26629. end;
  26630. procedure TINT_IFS1.clearCNAIF; inline;
  26631. begin
  26632. pTDefRegMap(@Self)^.clr := $00002000;
  26633. end;
  26634. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  26635. begin
  26636. if thebits = 0 then
  26637. pTDefRegMap(@Self)^.clr := $00002000
  26638. else
  26639. pTDefRegMap(@Self)^.&set := $00002000;
  26640. end;
  26641. function TINT_IFS1.getCNAIF : TBits_1; inline;
  26642. begin
  26643. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26644. end;
  26645. procedure TINT_IFS1.setCNBIF; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.&set := $00004000;
  26648. end;
  26649. procedure TINT_IFS1.clearCNBIF; inline;
  26650. begin
  26651. pTDefRegMap(@Self)^.clr := $00004000;
  26652. end;
  26653. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  26654. begin
  26655. if thebits = 0 then
  26656. pTDefRegMap(@Self)^.clr := $00004000
  26657. else
  26658. pTDefRegMap(@Self)^.&set := $00004000;
  26659. end;
  26660. function TINT_IFS1.getCNBIF : TBits_1; inline;
  26661. begin
  26662. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26663. end;
  26664. procedure TINT_IFS1.setCNCIF; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.&set := $00008000;
  26667. end;
  26668. procedure TINT_IFS1.clearCNCIF; inline;
  26669. begin
  26670. pTDefRegMap(@Self)^.clr := $00008000;
  26671. end;
  26672. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  26673. begin
  26674. if thebits = 0 then
  26675. pTDefRegMap(@Self)^.clr := $00008000
  26676. else
  26677. pTDefRegMap(@Self)^.&set := $00008000;
  26678. end;
  26679. function TINT_IFS1.getCNCIF : TBits_1; inline;
  26680. begin
  26681. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26682. end;
  26683. procedure TINT_IFS1.setPMPIF; inline;
  26684. begin
  26685. pTDefRegMap(@Self)^.&set := $00010000;
  26686. end;
  26687. procedure TINT_IFS1.clearPMPIF; inline;
  26688. begin
  26689. pTDefRegMap(@Self)^.clr := $00010000;
  26690. end;
  26691. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  26692. begin
  26693. if thebits = 0 then
  26694. pTDefRegMap(@Self)^.clr := $00010000
  26695. else
  26696. pTDefRegMap(@Self)^.&set := $00010000;
  26697. end;
  26698. function TINT_IFS1.getPMPIF : TBits_1; inline;
  26699. begin
  26700. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26701. end;
  26702. procedure TINT_IFS1.setPMPEIF; inline;
  26703. begin
  26704. pTDefRegMap(@Self)^.&set := $00020000;
  26705. end;
  26706. procedure TINT_IFS1.clearPMPEIF; inline;
  26707. begin
  26708. pTDefRegMap(@Self)^.clr := $00020000;
  26709. end;
  26710. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  26711. begin
  26712. if thebits = 0 then
  26713. pTDefRegMap(@Self)^.clr := $00020000
  26714. else
  26715. pTDefRegMap(@Self)^.&set := $00020000;
  26716. end;
  26717. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  26718. begin
  26719. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26720. end;
  26721. procedure TINT_IFS1.setSPI2EIF; inline;
  26722. begin
  26723. pTDefRegMap(@Self)^.&set := $00040000;
  26724. end;
  26725. procedure TINT_IFS1.clearSPI2EIF; inline;
  26726. begin
  26727. pTDefRegMap(@Self)^.clr := $00040000;
  26728. end;
  26729. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  26730. begin
  26731. if thebits = 0 then
  26732. pTDefRegMap(@Self)^.clr := $00040000
  26733. else
  26734. pTDefRegMap(@Self)^.&set := $00040000;
  26735. end;
  26736. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  26737. begin
  26738. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26739. end;
  26740. procedure TINT_IFS1.setSPI2RXIF; inline;
  26741. begin
  26742. pTDefRegMap(@Self)^.&set := $00080000;
  26743. end;
  26744. procedure TINT_IFS1.clearSPI2RXIF; inline;
  26745. begin
  26746. pTDefRegMap(@Self)^.clr := $00080000;
  26747. end;
  26748. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  26749. begin
  26750. if thebits = 0 then
  26751. pTDefRegMap(@Self)^.clr := $00080000
  26752. else
  26753. pTDefRegMap(@Self)^.&set := $00080000;
  26754. end;
  26755. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  26756. begin
  26757. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26758. end;
  26759. procedure TINT_IFS1.setSPI2TXIF; inline;
  26760. begin
  26761. pTDefRegMap(@Self)^.&set := $00100000;
  26762. end;
  26763. procedure TINT_IFS1.clearSPI2TXIF; inline;
  26764. begin
  26765. pTDefRegMap(@Self)^.clr := $00100000;
  26766. end;
  26767. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  26768. begin
  26769. if thebits = 0 then
  26770. pTDefRegMap(@Self)^.clr := $00100000
  26771. else
  26772. pTDefRegMap(@Self)^.&set := $00100000;
  26773. end;
  26774. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  26775. begin
  26776. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26777. end;
  26778. procedure TINT_IFS1.setU2EIF; inline;
  26779. begin
  26780. pTDefRegMap(@Self)^.&set := $00200000;
  26781. end;
  26782. procedure TINT_IFS1.clearU2EIF; inline;
  26783. begin
  26784. pTDefRegMap(@Self)^.clr := $00200000;
  26785. end;
  26786. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  26787. begin
  26788. if thebits = 0 then
  26789. pTDefRegMap(@Self)^.clr := $00200000
  26790. else
  26791. pTDefRegMap(@Self)^.&set := $00200000;
  26792. end;
  26793. function TINT_IFS1.getU2EIF : TBits_1; inline;
  26794. begin
  26795. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26796. end;
  26797. procedure TINT_IFS1.setU2RXIF; inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.&set := $00400000;
  26800. end;
  26801. procedure TINT_IFS1.clearU2RXIF; inline;
  26802. begin
  26803. pTDefRegMap(@Self)^.clr := $00400000;
  26804. end;
  26805. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  26806. begin
  26807. if thebits = 0 then
  26808. pTDefRegMap(@Self)^.clr := $00400000
  26809. else
  26810. pTDefRegMap(@Self)^.&set := $00400000;
  26811. end;
  26812. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  26813. begin
  26814. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26815. end;
  26816. procedure TINT_IFS1.setU2TXIF; inline;
  26817. begin
  26818. pTDefRegMap(@Self)^.&set := $00800000;
  26819. end;
  26820. procedure TINT_IFS1.clearU2TXIF; inline;
  26821. begin
  26822. pTDefRegMap(@Self)^.clr := $00800000;
  26823. end;
  26824. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  26825. begin
  26826. if thebits = 0 then
  26827. pTDefRegMap(@Self)^.clr := $00800000
  26828. else
  26829. pTDefRegMap(@Self)^.&set := $00800000;
  26830. end;
  26831. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  26832. begin
  26833. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26834. end;
  26835. procedure TINT_IFS1.setI2C2BIF; inline;
  26836. begin
  26837. pTDefRegMap(@Self)^.&set := $01000000;
  26838. end;
  26839. procedure TINT_IFS1.clearI2C2BIF; inline;
  26840. begin
  26841. pTDefRegMap(@Self)^.clr := $01000000;
  26842. end;
  26843. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  26844. begin
  26845. if thebits = 0 then
  26846. pTDefRegMap(@Self)^.clr := $01000000
  26847. else
  26848. pTDefRegMap(@Self)^.&set := $01000000;
  26849. end;
  26850. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  26851. begin
  26852. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26853. end;
  26854. procedure TINT_IFS1.setI2C2SIF; inline;
  26855. begin
  26856. pTDefRegMap(@Self)^.&set := $02000000;
  26857. end;
  26858. procedure TINT_IFS1.clearI2C2SIF; inline;
  26859. begin
  26860. pTDefRegMap(@Self)^.clr := $02000000;
  26861. end;
  26862. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  26863. begin
  26864. if thebits = 0 then
  26865. pTDefRegMap(@Self)^.clr := $02000000
  26866. else
  26867. pTDefRegMap(@Self)^.&set := $02000000;
  26868. end;
  26869. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  26870. begin
  26871. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26872. end;
  26873. procedure TINT_IFS1.setI2C2MIF; inline;
  26874. begin
  26875. pTDefRegMap(@Self)^.&set := $04000000;
  26876. end;
  26877. procedure TINT_IFS1.clearI2C2MIF; inline;
  26878. begin
  26879. pTDefRegMap(@Self)^.clr := $04000000;
  26880. end;
  26881. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  26882. begin
  26883. if thebits = 0 then
  26884. pTDefRegMap(@Self)^.clr := $04000000
  26885. else
  26886. pTDefRegMap(@Self)^.&set := $04000000;
  26887. end;
  26888. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  26889. begin
  26890. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26891. end;
  26892. procedure TINT_IFS1.setCTMUIF; inline;
  26893. begin
  26894. pTDefRegMap(@Self)^.&set := $08000000;
  26895. end;
  26896. procedure TINT_IFS1.clearCTMUIF; inline;
  26897. begin
  26898. pTDefRegMap(@Self)^.clr := $08000000;
  26899. end;
  26900. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  26901. begin
  26902. if thebits = 0 then
  26903. pTDefRegMap(@Self)^.clr := $08000000
  26904. else
  26905. pTDefRegMap(@Self)^.&set := $08000000;
  26906. end;
  26907. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  26908. begin
  26909. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26910. end;
  26911. procedure TINT_IFS1.setDMA0IF; inline;
  26912. begin
  26913. pTDefRegMap(@Self)^.&set := $10000000;
  26914. end;
  26915. procedure TINT_IFS1.clearDMA0IF; inline;
  26916. begin
  26917. pTDefRegMap(@Self)^.clr := $10000000;
  26918. end;
  26919. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  26920. begin
  26921. if thebits = 0 then
  26922. pTDefRegMap(@Self)^.clr := $10000000
  26923. else
  26924. pTDefRegMap(@Self)^.&set := $10000000;
  26925. end;
  26926. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  26927. begin
  26928. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26929. end;
  26930. procedure TINT_IFS1.setDMA1IF; inline;
  26931. begin
  26932. pTDefRegMap(@Self)^.&set := $20000000;
  26933. end;
  26934. procedure TINT_IFS1.clearDMA1IF; inline;
  26935. begin
  26936. pTDefRegMap(@Self)^.clr := $20000000;
  26937. end;
  26938. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  26939. begin
  26940. if thebits = 0 then
  26941. pTDefRegMap(@Self)^.clr := $20000000
  26942. else
  26943. pTDefRegMap(@Self)^.&set := $20000000;
  26944. end;
  26945. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  26946. begin
  26947. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26948. end;
  26949. procedure TINT_IFS1.setDMA2IF; inline;
  26950. begin
  26951. pTDefRegMap(@Self)^.&set := $40000000;
  26952. end;
  26953. procedure TINT_IFS1.clearDMA2IF; inline;
  26954. begin
  26955. pTDefRegMap(@Self)^.clr := $40000000;
  26956. end;
  26957. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  26958. begin
  26959. if thebits = 0 then
  26960. pTDefRegMap(@Self)^.clr := $40000000
  26961. else
  26962. pTDefRegMap(@Self)^.&set := $40000000;
  26963. end;
  26964. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  26965. begin
  26966. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26967. end;
  26968. procedure TINT_IFS1.setDMA3IF; inline;
  26969. begin
  26970. pTDefRegMap(@Self)^.&set := $80000000;
  26971. end;
  26972. procedure TINT_IFS1.clearDMA3IF; inline;
  26973. begin
  26974. pTDefRegMap(@Self)^.clr := $80000000;
  26975. end;
  26976. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  26977. begin
  26978. if thebits = 0 then
  26979. pTDefRegMap(@Self)^.clr := $80000000
  26980. else
  26981. pTDefRegMap(@Self)^.&set := $80000000;
  26982. end;
  26983. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  26984. begin
  26985. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26986. end;
  26987. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  26988. begin
  26989. pTDefRegMap(@Self)^.val := thebits;
  26990. end;
  26991. function TINT_IFS1.getw : TBits_32; inline;
  26992. begin
  26993. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26994. end;
  26995. procedure TINT_IEC0.setCTIE; inline;
  26996. begin
  26997. pTDefRegMap(@Self)^.&set := $00000001;
  26998. end;
  26999. procedure TINT_IEC0.clearCTIE; inline;
  27000. begin
  27001. pTDefRegMap(@Self)^.clr := $00000001;
  27002. end;
  27003. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27004. begin
  27005. if thebits = 0 then
  27006. pTDefRegMap(@Self)^.clr := $00000001
  27007. else
  27008. pTDefRegMap(@Self)^.&set := $00000001;
  27009. end;
  27010. function TINT_IEC0.getCTIE : TBits_1; inline;
  27011. begin
  27012. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27013. end;
  27014. procedure TINT_IEC0.setCS0IE; inline;
  27015. begin
  27016. pTDefRegMap(@Self)^.&set := $00000002;
  27017. end;
  27018. procedure TINT_IEC0.clearCS0IE; inline;
  27019. begin
  27020. pTDefRegMap(@Self)^.clr := $00000002;
  27021. end;
  27022. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27023. begin
  27024. if thebits = 0 then
  27025. pTDefRegMap(@Self)^.clr := $00000002
  27026. else
  27027. pTDefRegMap(@Self)^.&set := $00000002;
  27028. end;
  27029. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27030. begin
  27031. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27032. end;
  27033. procedure TINT_IEC0.setCS1IE; inline;
  27034. begin
  27035. pTDefRegMap(@Self)^.&set := $00000004;
  27036. end;
  27037. procedure TINT_IEC0.clearCS1IE; inline;
  27038. begin
  27039. pTDefRegMap(@Self)^.clr := $00000004;
  27040. end;
  27041. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27042. begin
  27043. if thebits = 0 then
  27044. pTDefRegMap(@Self)^.clr := $00000004
  27045. else
  27046. pTDefRegMap(@Self)^.&set := $00000004;
  27047. end;
  27048. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27049. begin
  27050. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27051. end;
  27052. procedure TINT_IEC0.setINT0IE; inline;
  27053. begin
  27054. pTDefRegMap(@Self)^.&set := $00000008;
  27055. end;
  27056. procedure TINT_IEC0.clearINT0IE; inline;
  27057. begin
  27058. pTDefRegMap(@Self)^.clr := $00000008;
  27059. end;
  27060. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27061. begin
  27062. if thebits = 0 then
  27063. pTDefRegMap(@Self)^.clr := $00000008
  27064. else
  27065. pTDefRegMap(@Self)^.&set := $00000008;
  27066. end;
  27067. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27068. begin
  27069. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27070. end;
  27071. procedure TINT_IEC0.setT1IE; inline;
  27072. begin
  27073. pTDefRegMap(@Self)^.&set := $00000010;
  27074. end;
  27075. procedure TINT_IEC0.clearT1IE; inline;
  27076. begin
  27077. pTDefRegMap(@Self)^.clr := $00000010;
  27078. end;
  27079. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27080. begin
  27081. if thebits = 0 then
  27082. pTDefRegMap(@Self)^.clr := $00000010
  27083. else
  27084. pTDefRegMap(@Self)^.&set := $00000010;
  27085. end;
  27086. function TINT_IEC0.getT1IE : TBits_1; inline;
  27087. begin
  27088. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27089. end;
  27090. procedure TINT_IEC0.setIC1EIE; inline;
  27091. begin
  27092. pTDefRegMap(@Self)^.&set := $00000020;
  27093. end;
  27094. procedure TINT_IEC0.clearIC1EIE; inline;
  27095. begin
  27096. pTDefRegMap(@Self)^.clr := $00000020;
  27097. end;
  27098. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27099. begin
  27100. if thebits = 0 then
  27101. pTDefRegMap(@Self)^.clr := $00000020
  27102. else
  27103. pTDefRegMap(@Self)^.&set := $00000020;
  27104. end;
  27105. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27106. begin
  27107. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27108. end;
  27109. procedure TINT_IEC0.setIC1IE; inline;
  27110. begin
  27111. pTDefRegMap(@Self)^.&set := $00000040;
  27112. end;
  27113. procedure TINT_IEC0.clearIC1IE; inline;
  27114. begin
  27115. pTDefRegMap(@Self)^.clr := $00000040;
  27116. end;
  27117. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27118. begin
  27119. if thebits = 0 then
  27120. pTDefRegMap(@Self)^.clr := $00000040
  27121. else
  27122. pTDefRegMap(@Self)^.&set := $00000040;
  27123. end;
  27124. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27125. begin
  27126. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27127. end;
  27128. procedure TINT_IEC0.setOC1IE; inline;
  27129. begin
  27130. pTDefRegMap(@Self)^.&set := $00000080;
  27131. end;
  27132. procedure TINT_IEC0.clearOC1IE; inline;
  27133. begin
  27134. pTDefRegMap(@Self)^.clr := $00000080;
  27135. end;
  27136. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27137. begin
  27138. if thebits = 0 then
  27139. pTDefRegMap(@Self)^.clr := $00000080
  27140. else
  27141. pTDefRegMap(@Self)^.&set := $00000080;
  27142. end;
  27143. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27144. begin
  27145. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27146. end;
  27147. procedure TINT_IEC0.setINT1IE; inline;
  27148. begin
  27149. pTDefRegMap(@Self)^.&set := $00000100;
  27150. end;
  27151. procedure TINT_IEC0.clearINT1IE; inline;
  27152. begin
  27153. pTDefRegMap(@Self)^.clr := $00000100;
  27154. end;
  27155. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27156. begin
  27157. if thebits = 0 then
  27158. pTDefRegMap(@Self)^.clr := $00000100
  27159. else
  27160. pTDefRegMap(@Self)^.&set := $00000100;
  27161. end;
  27162. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27163. begin
  27164. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27165. end;
  27166. procedure TINT_IEC0.setT2IE; inline;
  27167. begin
  27168. pTDefRegMap(@Self)^.&set := $00000200;
  27169. end;
  27170. procedure TINT_IEC0.clearT2IE; inline;
  27171. begin
  27172. pTDefRegMap(@Self)^.clr := $00000200;
  27173. end;
  27174. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27175. begin
  27176. if thebits = 0 then
  27177. pTDefRegMap(@Self)^.clr := $00000200
  27178. else
  27179. pTDefRegMap(@Self)^.&set := $00000200;
  27180. end;
  27181. function TINT_IEC0.getT2IE : TBits_1; inline;
  27182. begin
  27183. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27184. end;
  27185. procedure TINT_IEC0.setIC2EIE; inline;
  27186. begin
  27187. pTDefRegMap(@Self)^.&set := $00000400;
  27188. end;
  27189. procedure TINT_IEC0.clearIC2EIE; inline;
  27190. begin
  27191. pTDefRegMap(@Self)^.clr := $00000400;
  27192. end;
  27193. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27194. begin
  27195. if thebits = 0 then
  27196. pTDefRegMap(@Self)^.clr := $00000400
  27197. else
  27198. pTDefRegMap(@Self)^.&set := $00000400;
  27199. end;
  27200. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27201. begin
  27202. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27203. end;
  27204. procedure TINT_IEC0.setIC2IE; inline;
  27205. begin
  27206. pTDefRegMap(@Self)^.&set := $00000800;
  27207. end;
  27208. procedure TINT_IEC0.clearIC2IE; inline;
  27209. begin
  27210. pTDefRegMap(@Self)^.clr := $00000800;
  27211. end;
  27212. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27213. begin
  27214. if thebits = 0 then
  27215. pTDefRegMap(@Self)^.clr := $00000800
  27216. else
  27217. pTDefRegMap(@Self)^.&set := $00000800;
  27218. end;
  27219. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27220. begin
  27221. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27222. end;
  27223. procedure TINT_IEC0.setOC2IE; inline;
  27224. begin
  27225. pTDefRegMap(@Self)^.&set := $00001000;
  27226. end;
  27227. procedure TINT_IEC0.clearOC2IE; inline;
  27228. begin
  27229. pTDefRegMap(@Self)^.clr := $00001000;
  27230. end;
  27231. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27232. begin
  27233. if thebits = 0 then
  27234. pTDefRegMap(@Self)^.clr := $00001000
  27235. else
  27236. pTDefRegMap(@Self)^.&set := $00001000;
  27237. end;
  27238. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27239. begin
  27240. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27241. end;
  27242. procedure TINT_IEC0.setINT2IE; inline;
  27243. begin
  27244. pTDefRegMap(@Self)^.&set := $00002000;
  27245. end;
  27246. procedure TINT_IEC0.clearINT2IE; inline;
  27247. begin
  27248. pTDefRegMap(@Self)^.clr := $00002000;
  27249. end;
  27250. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27251. begin
  27252. if thebits = 0 then
  27253. pTDefRegMap(@Self)^.clr := $00002000
  27254. else
  27255. pTDefRegMap(@Self)^.&set := $00002000;
  27256. end;
  27257. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27258. begin
  27259. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27260. end;
  27261. procedure TINT_IEC0.setT3IE; inline;
  27262. begin
  27263. pTDefRegMap(@Self)^.&set := $00004000;
  27264. end;
  27265. procedure TINT_IEC0.clearT3IE; inline;
  27266. begin
  27267. pTDefRegMap(@Self)^.clr := $00004000;
  27268. end;
  27269. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27270. begin
  27271. if thebits = 0 then
  27272. pTDefRegMap(@Self)^.clr := $00004000
  27273. else
  27274. pTDefRegMap(@Self)^.&set := $00004000;
  27275. end;
  27276. function TINT_IEC0.getT3IE : TBits_1; inline;
  27277. begin
  27278. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27279. end;
  27280. procedure TINT_IEC0.setIC3EIE; inline;
  27281. begin
  27282. pTDefRegMap(@Self)^.&set := $00008000;
  27283. end;
  27284. procedure TINT_IEC0.clearIC3EIE; inline;
  27285. begin
  27286. pTDefRegMap(@Self)^.clr := $00008000;
  27287. end;
  27288. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27289. begin
  27290. if thebits = 0 then
  27291. pTDefRegMap(@Self)^.clr := $00008000
  27292. else
  27293. pTDefRegMap(@Self)^.&set := $00008000;
  27294. end;
  27295. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27296. begin
  27297. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27298. end;
  27299. procedure TINT_IEC0.setIC3IE; inline;
  27300. begin
  27301. pTDefRegMap(@Self)^.&set := $00010000;
  27302. end;
  27303. procedure TINT_IEC0.clearIC3IE; inline;
  27304. begin
  27305. pTDefRegMap(@Self)^.clr := $00010000;
  27306. end;
  27307. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27308. begin
  27309. if thebits = 0 then
  27310. pTDefRegMap(@Self)^.clr := $00010000
  27311. else
  27312. pTDefRegMap(@Self)^.&set := $00010000;
  27313. end;
  27314. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27315. begin
  27316. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27317. end;
  27318. procedure TINT_IEC0.setOC3IE; inline;
  27319. begin
  27320. pTDefRegMap(@Self)^.&set := $00020000;
  27321. end;
  27322. procedure TINT_IEC0.clearOC3IE; inline;
  27323. begin
  27324. pTDefRegMap(@Self)^.clr := $00020000;
  27325. end;
  27326. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27327. begin
  27328. if thebits = 0 then
  27329. pTDefRegMap(@Self)^.clr := $00020000
  27330. else
  27331. pTDefRegMap(@Self)^.&set := $00020000;
  27332. end;
  27333. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27334. begin
  27335. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27336. end;
  27337. procedure TINT_IEC0.setINT3IE; inline;
  27338. begin
  27339. pTDefRegMap(@Self)^.&set := $00040000;
  27340. end;
  27341. procedure TINT_IEC0.clearINT3IE; inline;
  27342. begin
  27343. pTDefRegMap(@Self)^.clr := $00040000;
  27344. end;
  27345. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27346. begin
  27347. if thebits = 0 then
  27348. pTDefRegMap(@Self)^.clr := $00040000
  27349. else
  27350. pTDefRegMap(@Self)^.&set := $00040000;
  27351. end;
  27352. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27353. begin
  27354. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27355. end;
  27356. procedure TINT_IEC0.setT4IE; inline;
  27357. begin
  27358. pTDefRegMap(@Self)^.&set := $00080000;
  27359. end;
  27360. procedure TINT_IEC0.clearT4IE; inline;
  27361. begin
  27362. pTDefRegMap(@Self)^.clr := $00080000;
  27363. end;
  27364. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27365. begin
  27366. if thebits = 0 then
  27367. pTDefRegMap(@Self)^.clr := $00080000
  27368. else
  27369. pTDefRegMap(@Self)^.&set := $00080000;
  27370. end;
  27371. function TINT_IEC0.getT4IE : TBits_1; inline;
  27372. begin
  27373. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27374. end;
  27375. procedure TINT_IEC0.setIC4EIE; inline;
  27376. begin
  27377. pTDefRegMap(@Self)^.&set := $00100000;
  27378. end;
  27379. procedure TINT_IEC0.clearIC4EIE; inline;
  27380. begin
  27381. pTDefRegMap(@Self)^.clr := $00100000;
  27382. end;
  27383. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27384. begin
  27385. if thebits = 0 then
  27386. pTDefRegMap(@Self)^.clr := $00100000
  27387. else
  27388. pTDefRegMap(@Self)^.&set := $00100000;
  27389. end;
  27390. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27391. begin
  27392. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27393. end;
  27394. procedure TINT_IEC0.setIC4IE; inline;
  27395. begin
  27396. pTDefRegMap(@Self)^.&set := $00200000;
  27397. end;
  27398. procedure TINT_IEC0.clearIC4IE; inline;
  27399. begin
  27400. pTDefRegMap(@Self)^.clr := $00200000;
  27401. end;
  27402. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27403. begin
  27404. if thebits = 0 then
  27405. pTDefRegMap(@Self)^.clr := $00200000
  27406. else
  27407. pTDefRegMap(@Self)^.&set := $00200000;
  27408. end;
  27409. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27410. begin
  27411. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27412. end;
  27413. procedure TINT_IEC0.setOC4IE; inline;
  27414. begin
  27415. pTDefRegMap(@Self)^.&set := $00400000;
  27416. end;
  27417. procedure TINT_IEC0.clearOC4IE; inline;
  27418. begin
  27419. pTDefRegMap(@Self)^.clr := $00400000;
  27420. end;
  27421. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27422. begin
  27423. if thebits = 0 then
  27424. pTDefRegMap(@Self)^.clr := $00400000
  27425. else
  27426. pTDefRegMap(@Self)^.&set := $00400000;
  27427. end;
  27428. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27429. begin
  27430. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27431. end;
  27432. procedure TINT_IEC0.setINT4IE; inline;
  27433. begin
  27434. pTDefRegMap(@Self)^.&set := $00800000;
  27435. end;
  27436. procedure TINT_IEC0.clearINT4IE; inline;
  27437. begin
  27438. pTDefRegMap(@Self)^.clr := $00800000;
  27439. end;
  27440. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27441. begin
  27442. if thebits = 0 then
  27443. pTDefRegMap(@Self)^.clr := $00800000
  27444. else
  27445. pTDefRegMap(@Self)^.&set := $00800000;
  27446. end;
  27447. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27448. begin
  27449. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27450. end;
  27451. procedure TINT_IEC0.setT5IE; inline;
  27452. begin
  27453. pTDefRegMap(@Self)^.&set := $01000000;
  27454. end;
  27455. procedure TINT_IEC0.clearT5IE; inline;
  27456. begin
  27457. pTDefRegMap(@Self)^.clr := $01000000;
  27458. end;
  27459. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27460. begin
  27461. if thebits = 0 then
  27462. pTDefRegMap(@Self)^.clr := $01000000
  27463. else
  27464. pTDefRegMap(@Self)^.&set := $01000000;
  27465. end;
  27466. function TINT_IEC0.getT5IE : TBits_1; inline;
  27467. begin
  27468. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27469. end;
  27470. procedure TINT_IEC0.setIC5EIE; inline;
  27471. begin
  27472. pTDefRegMap(@Self)^.&set := $02000000;
  27473. end;
  27474. procedure TINT_IEC0.clearIC5EIE; inline;
  27475. begin
  27476. pTDefRegMap(@Self)^.clr := $02000000;
  27477. end;
  27478. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27479. begin
  27480. if thebits = 0 then
  27481. pTDefRegMap(@Self)^.clr := $02000000
  27482. else
  27483. pTDefRegMap(@Self)^.&set := $02000000;
  27484. end;
  27485. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27486. begin
  27487. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27488. end;
  27489. procedure TINT_IEC0.setIC5IE; inline;
  27490. begin
  27491. pTDefRegMap(@Self)^.&set := $04000000;
  27492. end;
  27493. procedure TINT_IEC0.clearIC5IE; inline;
  27494. begin
  27495. pTDefRegMap(@Self)^.clr := $04000000;
  27496. end;
  27497. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27498. begin
  27499. if thebits = 0 then
  27500. pTDefRegMap(@Self)^.clr := $04000000
  27501. else
  27502. pTDefRegMap(@Self)^.&set := $04000000;
  27503. end;
  27504. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27505. begin
  27506. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27507. end;
  27508. procedure TINT_IEC0.setOC5IE; inline;
  27509. begin
  27510. pTDefRegMap(@Self)^.&set := $08000000;
  27511. end;
  27512. procedure TINT_IEC0.clearOC5IE; inline;
  27513. begin
  27514. pTDefRegMap(@Self)^.clr := $08000000;
  27515. end;
  27516. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27517. begin
  27518. if thebits = 0 then
  27519. pTDefRegMap(@Self)^.clr := $08000000
  27520. else
  27521. pTDefRegMap(@Self)^.&set := $08000000;
  27522. end;
  27523. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27524. begin
  27525. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27526. end;
  27527. procedure TINT_IEC0.setAD1IE; inline;
  27528. begin
  27529. pTDefRegMap(@Self)^.&set := $10000000;
  27530. end;
  27531. procedure TINT_IEC0.clearAD1IE; inline;
  27532. begin
  27533. pTDefRegMap(@Self)^.clr := $10000000;
  27534. end;
  27535. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  27536. begin
  27537. if thebits = 0 then
  27538. pTDefRegMap(@Self)^.clr := $10000000
  27539. else
  27540. pTDefRegMap(@Self)^.&set := $10000000;
  27541. end;
  27542. function TINT_IEC0.getAD1IE : TBits_1; inline;
  27543. begin
  27544. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27545. end;
  27546. procedure TINT_IEC0.setFSCMIE; inline;
  27547. begin
  27548. pTDefRegMap(@Self)^.&set := $20000000;
  27549. end;
  27550. procedure TINT_IEC0.clearFSCMIE; inline;
  27551. begin
  27552. pTDefRegMap(@Self)^.clr := $20000000;
  27553. end;
  27554. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  27555. begin
  27556. if thebits = 0 then
  27557. pTDefRegMap(@Self)^.clr := $20000000
  27558. else
  27559. pTDefRegMap(@Self)^.&set := $20000000;
  27560. end;
  27561. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  27562. begin
  27563. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27564. end;
  27565. procedure TINT_IEC0.setRTCCIE; inline;
  27566. begin
  27567. pTDefRegMap(@Self)^.&set := $40000000;
  27568. end;
  27569. procedure TINT_IEC0.clearRTCCIE; inline;
  27570. begin
  27571. pTDefRegMap(@Self)^.clr := $40000000;
  27572. end;
  27573. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  27574. begin
  27575. if thebits = 0 then
  27576. pTDefRegMap(@Self)^.clr := $40000000
  27577. else
  27578. pTDefRegMap(@Self)^.&set := $40000000;
  27579. end;
  27580. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  27581. begin
  27582. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27583. end;
  27584. procedure TINT_IEC0.setFCEIE; inline;
  27585. begin
  27586. pTDefRegMap(@Self)^.&set := $80000000;
  27587. end;
  27588. procedure TINT_IEC0.clearFCEIE; inline;
  27589. begin
  27590. pTDefRegMap(@Self)^.clr := $80000000;
  27591. end;
  27592. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  27593. begin
  27594. if thebits = 0 then
  27595. pTDefRegMap(@Self)^.clr := $80000000
  27596. else
  27597. pTDefRegMap(@Self)^.&set := $80000000;
  27598. end;
  27599. function TINT_IEC0.getFCEIE : TBits_1; inline;
  27600. begin
  27601. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27602. end;
  27603. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  27604. begin
  27605. pTDefRegMap(@Self)^.val := thebits;
  27606. end;
  27607. function TINT_IEC0.getw : TBits_32; inline;
  27608. begin
  27609. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27610. end;
  27611. procedure TINT_IEC1.setCMP1IE; inline;
  27612. begin
  27613. pTDefRegMap(@Self)^.&set := $00000001;
  27614. end;
  27615. procedure TINT_IEC1.clearCMP1IE; inline;
  27616. begin
  27617. pTDefRegMap(@Self)^.clr := $00000001;
  27618. end;
  27619. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  27620. begin
  27621. if thebits = 0 then
  27622. pTDefRegMap(@Self)^.clr := $00000001
  27623. else
  27624. pTDefRegMap(@Self)^.&set := $00000001;
  27625. end;
  27626. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  27627. begin
  27628. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27629. end;
  27630. procedure TINT_IEC1.setCMP2IE; inline;
  27631. begin
  27632. pTDefRegMap(@Self)^.&set := $00000002;
  27633. end;
  27634. procedure TINT_IEC1.clearCMP2IE; inline;
  27635. begin
  27636. pTDefRegMap(@Self)^.clr := $00000002;
  27637. end;
  27638. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  27639. begin
  27640. if thebits = 0 then
  27641. pTDefRegMap(@Self)^.clr := $00000002
  27642. else
  27643. pTDefRegMap(@Self)^.&set := $00000002;
  27644. end;
  27645. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  27646. begin
  27647. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27648. end;
  27649. procedure TINT_IEC1.setCMP3IE; inline;
  27650. begin
  27651. pTDefRegMap(@Self)^.&set := $00000004;
  27652. end;
  27653. procedure TINT_IEC1.clearCMP3IE; inline;
  27654. begin
  27655. pTDefRegMap(@Self)^.clr := $00000004;
  27656. end;
  27657. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  27658. begin
  27659. if thebits = 0 then
  27660. pTDefRegMap(@Self)^.clr := $00000004
  27661. else
  27662. pTDefRegMap(@Self)^.&set := $00000004;
  27663. end;
  27664. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  27665. begin
  27666. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27667. end;
  27668. procedure TINT_IEC1.setSPI1EIE; inline;
  27669. begin
  27670. pTDefRegMap(@Self)^.&set := $00000010;
  27671. end;
  27672. procedure TINT_IEC1.clearSPI1EIE; inline;
  27673. begin
  27674. pTDefRegMap(@Self)^.clr := $00000010;
  27675. end;
  27676. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  27677. begin
  27678. if thebits = 0 then
  27679. pTDefRegMap(@Self)^.clr := $00000010
  27680. else
  27681. pTDefRegMap(@Self)^.&set := $00000010;
  27682. end;
  27683. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  27684. begin
  27685. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27686. end;
  27687. procedure TINT_IEC1.setSPI1RXIE; inline;
  27688. begin
  27689. pTDefRegMap(@Self)^.&set := $00000020;
  27690. end;
  27691. procedure TINT_IEC1.clearSPI1RXIE; inline;
  27692. begin
  27693. pTDefRegMap(@Self)^.clr := $00000020;
  27694. end;
  27695. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  27696. begin
  27697. if thebits = 0 then
  27698. pTDefRegMap(@Self)^.clr := $00000020
  27699. else
  27700. pTDefRegMap(@Self)^.&set := $00000020;
  27701. end;
  27702. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  27703. begin
  27704. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27705. end;
  27706. procedure TINT_IEC1.setSPI1TXIE; inline;
  27707. begin
  27708. pTDefRegMap(@Self)^.&set := $00000040;
  27709. end;
  27710. procedure TINT_IEC1.clearSPI1TXIE; inline;
  27711. begin
  27712. pTDefRegMap(@Self)^.clr := $00000040;
  27713. end;
  27714. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  27715. begin
  27716. if thebits = 0 then
  27717. pTDefRegMap(@Self)^.clr := $00000040
  27718. else
  27719. pTDefRegMap(@Self)^.&set := $00000040;
  27720. end;
  27721. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  27722. begin
  27723. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27724. end;
  27725. procedure TINT_IEC1.setU1EIE; inline;
  27726. begin
  27727. pTDefRegMap(@Self)^.&set := $00000080;
  27728. end;
  27729. procedure TINT_IEC1.clearU1EIE; inline;
  27730. begin
  27731. pTDefRegMap(@Self)^.clr := $00000080;
  27732. end;
  27733. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  27734. begin
  27735. if thebits = 0 then
  27736. pTDefRegMap(@Self)^.clr := $00000080
  27737. else
  27738. pTDefRegMap(@Self)^.&set := $00000080;
  27739. end;
  27740. function TINT_IEC1.getU1EIE : TBits_1; inline;
  27741. begin
  27742. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27743. end;
  27744. procedure TINT_IEC1.setU1RXIE; inline;
  27745. begin
  27746. pTDefRegMap(@Self)^.&set := $00000100;
  27747. end;
  27748. procedure TINT_IEC1.clearU1RXIE; inline;
  27749. begin
  27750. pTDefRegMap(@Self)^.clr := $00000100;
  27751. end;
  27752. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  27753. begin
  27754. if thebits = 0 then
  27755. pTDefRegMap(@Self)^.clr := $00000100
  27756. else
  27757. pTDefRegMap(@Self)^.&set := $00000100;
  27758. end;
  27759. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  27760. begin
  27761. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27762. end;
  27763. procedure TINT_IEC1.setU1TXIE; inline;
  27764. begin
  27765. pTDefRegMap(@Self)^.&set := $00000200;
  27766. end;
  27767. procedure TINT_IEC1.clearU1TXIE; inline;
  27768. begin
  27769. pTDefRegMap(@Self)^.clr := $00000200;
  27770. end;
  27771. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  27772. begin
  27773. if thebits = 0 then
  27774. pTDefRegMap(@Self)^.clr := $00000200
  27775. else
  27776. pTDefRegMap(@Self)^.&set := $00000200;
  27777. end;
  27778. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  27779. begin
  27780. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27781. end;
  27782. procedure TINT_IEC1.setI2C1BIE; inline;
  27783. begin
  27784. pTDefRegMap(@Self)^.&set := $00000400;
  27785. end;
  27786. procedure TINT_IEC1.clearI2C1BIE; inline;
  27787. begin
  27788. pTDefRegMap(@Self)^.clr := $00000400;
  27789. end;
  27790. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  27791. begin
  27792. if thebits = 0 then
  27793. pTDefRegMap(@Self)^.clr := $00000400
  27794. else
  27795. pTDefRegMap(@Self)^.&set := $00000400;
  27796. end;
  27797. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  27798. begin
  27799. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27800. end;
  27801. procedure TINT_IEC1.setI2C1SIE; inline;
  27802. begin
  27803. pTDefRegMap(@Self)^.&set := $00000800;
  27804. end;
  27805. procedure TINT_IEC1.clearI2C1SIE; inline;
  27806. begin
  27807. pTDefRegMap(@Self)^.clr := $00000800;
  27808. end;
  27809. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  27810. begin
  27811. if thebits = 0 then
  27812. pTDefRegMap(@Self)^.clr := $00000800
  27813. else
  27814. pTDefRegMap(@Self)^.&set := $00000800;
  27815. end;
  27816. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  27817. begin
  27818. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27819. end;
  27820. procedure TINT_IEC1.setI2C1MIE; inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.&set := $00001000;
  27823. end;
  27824. procedure TINT_IEC1.clearI2C1MIE; inline;
  27825. begin
  27826. pTDefRegMap(@Self)^.clr := $00001000;
  27827. end;
  27828. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  27829. begin
  27830. if thebits = 0 then
  27831. pTDefRegMap(@Self)^.clr := $00001000
  27832. else
  27833. pTDefRegMap(@Self)^.&set := $00001000;
  27834. end;
  27835. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  27836. begin
  27837. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27838. end;
  27839. procedure TINT_IEC1.setCNAIE; inline;
  27840. begin
  27841. pTDefRegMap(@Self)^.&set := $00002000;
  27842. end;
  27843. procedure TINT_IEC1.clearCNAIE; inline;
  27844. begin
  27845. pTDefRegMap(@Self)^.clr := $00002000;
  27846. end;
  27847. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  27848. begin
  27849. if thebits = 0 then
  27850. pTDefRegMap(@Self)^.clr := $00002000
  27851. else
  27852. pTDefRegMap(@Self)^.&set := $00002000;
  27853. end;
  27854. function TINT_IEC1.getCNAIE : TBits_1; inline;
  27855. begin
  27856. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27857. end;
  27858. procedure TINT_IEC1.setCNBIE; inline;
  27859. begin
  27860. pTDefRegMap(@Self)^.&set := $00004000;
  27861. end;
  27862. procedure TINT_IEC1.clearCNBIE; inline;
  27863. begin
  27864. pTDefRegMap(@Self)^.clr := $00004000;
  27865. end;
  27866. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  27867. begin
  27868. if thebits = 0 then
  27869. pTDefRegMap(@Self)^.clr := $00004000
  27870. else
  27871. pTDefRegMap(@Self)^.&set := $00004000;
  27872. end;
  27873. function TINT_IEC1.getCNBIE : TBits_1; inline;
  27874. begin
  27875. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27876. end;
  27877. procedure TINT_IEC1.setCNCIE; inline;
  27878. begin
  27879. pTDefRegMap(@Self)^.&set := $00008000;
  27880. end;
  27881. procedure TINT_IEC1.clearCNCIE; inline;
  27882. begin
  27883. pTDefRegMap(@Self)^.clr := $00008000;
  27884. end;
  27885. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  27886. begin
  27887. if thebits = 0 then
  27888. pTDefRegMap(@Self)^.clr := $00008000
  27889. else
  27890. pTDefRegMap(@Self)^.&set := $00008000;
  27891. end;
  27892. function TINT_IEC1.getCNCIE : TBits_1; inline;
  27893. begin
  27894. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27895. end;
  27896. procedure TINT_IEC1.setPMPIE; inline;
  27897. begin
  27898. pTDefRegMap(@Self)^.&set := $00010000;
  27899. end;
  27900. procedure TINT_IEC1.clearPMPIE; inline;
  27901. begin
  27902. pTDefRegMap(@Self)^.clr := $00010000;
  27903. end;
  27904. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  27905. begin
  27906. if thebits = 0 then
  27907. pTDefRegMap(@Self)^.clr := $00010000
  27908. else
  27909. pTDefRegMap(@Self)^.&set := $00010000;
  27910. end;
  27911. function TINT_IEC1.getPMPIE : TBits_1; inline;
  27912. begin
  27913. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27914. end;
  27915. procedure TINT_IEC1.setPMPEIE; inline;
  27916. begin
  27917. pTDefRegMap(@Self)^.&set := $00020000;
  27918. end;
  27919. procedure TINT_IEC1.clearPMPEIE; inline;
  27920. begin
  27921. pTDefRegMap(@Self)^.clr := $00020000;
  27922. end;
  27923. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  27924. begin
  27925. if thebits = 0 then
  27926. pTDefRegMap(@Self)^.clr := $00020000
  27927. else
  27928. pTDefRegMap(@Self)^.&set := $00020000;
  27929. end;
  27930. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  27931. begin
  27932. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27933. end;
  27934. procedure TINT_IEC1.setSPI2EIE; inline;
  27935. begin
  27936. pTDefRegMap(@Self)^.&set := $00040000;
  27937. end;
  27938. procedure TINT_IEC1.clearSPI2EIE; inline;
  27939. begin
  27940. pTDefRegMap(@Self)^.clr := $00040000;
  27941. end;
  27942. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  27943. begin
  27944. if thebits = 0 then
  27945. pTDefRegMap(@Self)^.clr := $00040000
  27946. else
  27947. pTDefRegMap(@Self)^.&set := $00040000;
  27948. end;
  27949. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  27950. begin
  27951. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27952. end;
  27953. procedure TINT_IEC1.setSPI2RXIE; inline;
  27954. begin
  27955. pTDefRegMap(@Self)^.&set := $00080000;
  27956. end;
  27957. procedure TINT_IEC1.clearSPI2RXIE; inline;
  27958. begin
  27959. pTDefRegMap(@Self)^.clr := $00080000;
  27960. end;
  27961. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  27962. begin
  27963. if thebits = 0 then
  27964. pTDefRegMap(@Self)^.clr := $00080000
  27965. else
  27966. pTDefRegMap(@Self)^.&set := $00080000;
  27967. end;
  27968. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  27969. begin
  27970. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27971. end;
  27972. procedure TINT_IEC1.setSPI2TXIE; inline;
  27973. begin
  27974. pTDefRegMap(@Self)^.&set := $00100000;
  27975. end;
  27976. procedure TINT_IEC1.clearSPI2TXIE; inline;
  27977. begin
  27978. pTDefRegMap(@Self)^.clr := $00100000;
  27979. end;
  27980. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  27981. begin
  27982. if thebits = 0 then
  27983. pTDefRegMap(@Self)^.clr := $00100000
  27984. else
  27985. pTDefRegMap(@Self)^.&set := $00100000;
  27986. end;
  27987. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  27988. begin
  27989. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27990. end;
  27991. procedure TINT_IEC1.setU2EIE; inline;
  27992. begin
  27993. pTDefRegMap(@Self)^.&set := $00200000;
  27994. end;
  27995. procedure TINT_IEC1.clearU2EIE; inline;
  27996. begin
  27997. pTDefRegMap(@Self)^.clr := $00200000;
  27998. end;
  27999. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28000. begin
  28001. if thebits = 0 then
  28002. pTDefRegMap(@Self)^.clr := $00200000
  28003. else
  28004. pTDefRegMap(@Self)^.&set := $00200000;
  28005. end;
  28006. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28007. begin
  28008. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28009. end;
  28010. procedure TINT_IEC1.setU2RXIE; inline;
  28011. begin
  28012. pTDefRegMap(@Self)^.&set := $00400000;
  28013. end;
  28014. procedure TINT_IEC1.clearU2RXIE; inline;
  28015. begin
  28016. pTDefRegMap(@Self)^.clr := $00400000;
  28017. end;
  28018. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28019. begin
  28020. if thebits = 0 then
  28021. pTDefRegMap(@Self)^.clr := $00400000
  28022. else
  28023. pTDefRegMap(@Self)^.&set := $00400000;
  28024. end;
  28025. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28026. begin
  28027. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28028. end;
  28029. procedure TINT_IEC1.setU2TXIE; inline;
  28030. begin
  28031. pTDefRegMap(@Self)^.&set := $00800000;
  28032. end;
  28033. procedure TINT_IEC1.clearU2TXIE; inline;
  28034. begin
  28035. pTDefRegMap(@Self)^.clr := $00800000;
  28036. end;
  28037. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28038. begin
  28039. if thebits = 0 then
  28040. pTDefRegMap(@Self)^.clr := $00800000
  28041. else
  28042. pTDefRegMap(@Self)^.&set := $00800000;
  28043. end;
  28044. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28045. begin
  28046. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28047. end;
  28048. procedure TINT_IEC1.setI2C2BIE; inline;
  28049. begin
  28050. pTDefRegMap(@Self)^.&set := $01000000;
  28051. end;
  28052. procedure TINT_IEC1.clearI2C2BIE; inline;
  28053. begin
  28054. pTDefRegMap(@Self)^.clr := $01000000;
  28055. end;
  28056. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28057. begin
  28058. if thebits = 0 then
  28059. pTDefRegMap(@Self)^.clr := $01000000
  28060. else
  28061. pTDefRegMap(@Self)^.&set := $01000000;
  28062. end;
  28063. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28064. begin
  28065. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28066. end;
  28067. procedure TINT_IEC1.setI2C2SIE; inline;
  28068. begin
  28069. pTDefRegMap(@Self)^.&set := $02000000;
  28070. end;
  28071. procedure TINT_IEC1.clearI2C2SIE; inline;
  28072. begin
  28073. pTDefRegMap(@Self)^.clr := $02000000;
  28074. end;
  28075. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28076. begin
  28077. if thebits = 0 then
  28078. pTDefRegMap(@Self)^.clr := $02000000
  28079. else
  28080. pTDefRegMap(@Self)^.&set := $02000000;
  28081. end;
  28082. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28083. begin
  28084. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28085. end;
  28086. procedure TINT_IEC1.setI2C2MIE; inline;
  28087. begin
  28088. pTDefRegMap(@Self)^.&set := $04000000;
  28089. end;
  28090. procedure TINT_IEC1.clearI2C2MIE; inline;
  28091. begin
  28092. pTDefRegMap(@Self)^.clr := $04000000;
  28093. end;
  28094. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28095. begin
  28096. if thebits = 0 then
  28097. pTDefRegMap(@Self)^.clr := $04000000
  28098. else
  28099. pTDefRegMap(@Self)^.&set := $04000000;
  28100. end;
  28101. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28102. begin
  28103. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28104. end;
  28105. procedure TINT_IEC1.setCTMUIE; inline;
  28106. begin
  28107. pTDefRegMap(@Self)^.&set := $08000000;
  28108. end;
  28109. procedure TINT_IEC1.clearCTMUIE; inline;
  28110. begin
  28111. pTDefRegMap(@Self)^.clr := $08000000;
  28112. end;
  28113. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28114. begin
  28115. if thebits = 0 then
  28116. pTDefRegMap(@Self)^.clr := $08000000
  28117. else
  28118. pTDefRegMap(@Self)^.&set := $08000000;
  28119. end;
  28120. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28121. begin
  28122. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28123. end;
  28124. procedure TINT_IEC1.setDMA0IE; inline;
  28125. begin
  28126. pTDefRegMap(@Self)^.&set := $10000000;
  28127. end;
  28128. procedure TINT_IEC1.clearDMA0IE; inline;
  28129. begin
  28130. pTDefRegMap(@Self)^.clr := $10000000;
  28131. end;
  28132. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28133. begin
  28134. if thebits = 0 then
  28135. pTDefRegMap(@Self)^.clr := $10000000
  28136. else
  28137. pTDefRegMap(@Self)^.&set := $10000000;
  28138. end;
  28139. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28140. begin
  28141. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28142. end;
  28143. procedure TINT_IEC1.setDMA1IE; inline;
  28144. begin
  28145. pTDefRegMap(@Self)^.&set := $20000000;
  28146. end;
  28147. procedure TINT_IEC1.clearDMA1IE; inline;
  28148. begin
  28149. pTDefRegMap(@Self)^.clr := $20000000;
  28150. end;
  28151. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28152. begin
  28153. if thebits = 0 then
  28154. pTDefRegMap(@Self)^.clr := $20000000
  28155. else
  28156. pTDefRegMap(@Self)^.&set := $20000000;
  28157. end;
  28158. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28159. begin
  28160. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28161. end;
  28162. procedure TINT_IEC1.setDMA2IE; inline;
  28163. begin
  28164. pTDefRegMap(@Self)^.&set := $40000000;
  28165. end;
  28166. procedure TINT_IEC1.clearDMA2IE; inline;
  28167. begin
  28168. pTDefRegMap(@Self)^.clr := $40000000;
  28169. end;
  28170. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28171. begin
  28172. if thebits = 0 then
  28173. pTDefRegMap(@Self)^.clr := $40000000
  28174. else
  28175. pTDefRegMap(@Self)^.&set := $40000000;
  28176. end;
  28177. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28178. begin
  28179. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28180. end;
  28181. procedure TINT_IEC1.setDMA3IE; inline;
  28182. begin
  28183. pTDefRegMap(@Self)^.&set := $80000000;
  28184. end;
  28185. procedure TINT_IEC1.clearDMA3IE; inline;
  28186. begin
  28187. pTDefRegMap(@Self)^.clr := $80000000;
  28188. end;
  28189. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28190. begin
  28191. if thebits = 0 then
  28192. pTDefRegMap(@Self)^.clr := $80000000
  28193. else
  28194. pTDefRegMap(@Self)^.&set := $80000000;
  28195. end;
  28196. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28197. begin
  28198. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28199. end;
  28200. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28201. begin
  28202. pTDefRegMap(@Self)^.val := thebits;
  28203. end;
  28204. function TINT_IEC1.getw : TBits_32; inline;
  28205. begin
  28206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28207. end;
  28208. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28209. begin
  28210. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28211. end;
  28212. function TINT_IPC0.getCTIS : TBits_2; inline;
  28213. begin
  28214. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28215. end;
  28216. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28217. begin
  28218. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28219. end;
  28220. function TINT_IPC0.getCTIP : TBits_3; inline;
  28221. begin
  28222. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28223. end;
  28224. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28225. begin
  28226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28227. end;
  28228. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28229. begin
  28230. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28231. end;
  28232. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28233. begin
  28234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28235. end;
  28236. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28237. begin
  28238. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28239. end;
  28240. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28241. begin
  28242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28243. end;
  28244. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28245. begin
  28246. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28247. end;
  28248. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28249. begin
  28250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28251. end;
  28252. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28253. begin
  28254. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28255. end;
  28256. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28257. begin
  28258. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28259. end;
  28260. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28261. begin
  28262. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28263. end;
  28264. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28265. begin
  28266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28267. end;
  28268. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28269. begin
  28270. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28271. end;
  28272. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28273. begin
  28274. pTDefRegMap(@Self)^.val := thebits;
  28275. end;
  28276. function TINT_IPC0.getw : TBits_32; inline;
  28277. begin
  28278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28279. end;
  28280. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28281. begin
  28282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28283. end;
  28284. function TINT_IPC1.getT1IS : TBits_2; inline;
  28285. begin
  28286. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28287. end;
  28288. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28289. begin
  28290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28291. end;
  28292. function TINT_IPC1.getT1IP : TBits_3; inline;
  28293. begin
  28294. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28295. end;
  28296. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28297. begin
  28298. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28299. end;
  28300. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28301. begin
  28302. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28303. end;
  28304. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28305. begin
  28306. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28307. end;
  28308. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28309. begin
  28310. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28311. end;
  28312. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28313. begin
  28314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28315. end;
  28316. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28317. begin
  28318. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28319. end;
  28320. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28321. begin
  28322. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28323. end;
  28324. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28325. begin
  28326. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28327. end;
  28328. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28329. begin
  28330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28331. end;
  28332. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28333. begin
  28334. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28335. end;
  28336. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28337. begin
  28338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28339. end;
  28340. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28341. begin
  28342. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28343. end;
  28344. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28345. begin
  28346. pTDefRegMap(@Self)^.val := thebits;
  28347. end;
  28348. function TINT_IPC1.getw : TBits_32; inline;
  28349. begin
  28350. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28351. end;
  28352. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28353. begin
  28354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28355. end;
  28356. function TINT_IPC2.getT2IS : TBits_2; inline;
  28357. begin
  28358. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28359. end;
  28360. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28361. begin
  28362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28363. end;
  28364. function TINT_IPC2.getT2IP : TBits_3; inline;
  28365. begin
  28366. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28367. end;
  28368. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28369. begin
  28370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28371. end;
  28372. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28373. begin
  28374. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28375. end;
  28376. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28377. begin
  28378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28379. end;
  28380. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28381. begin
  28382. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28383. end;
  28384. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28385. begin
  28386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28387. end;
  28388. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28389. begin
  28390. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28391. end;
  28392. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28393. begin
  28394. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28395. end;
  28396. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28397. begin
  28398. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28399. end;
  28400. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28401. begin
  28402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28403. end;
  28404. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28405. begin
  28406. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28407. end;
  28408. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28409. begin
  28410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28411. end;
  28412. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28413. begin
  28414. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28415. end;
  28416. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28417. begin
  28418. pTDefRegMap(@Self)^.val := thebits;
  28419. end;
  28420. function TINT_IPC2.getw : TBits_32; inline;
  28421. begin
  28422. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28423. end;
  28424. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28425. begin
  28426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28427. end;
  28428. function TINT_IPC3.getT3IS : TBits_2; inline;
  28429. begin
  28430. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28431. end;
  28432. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28433. begin
  28434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28435. end;
  28436. function TINT_IPC3.getT3IP : TBits_3; inline;
  28437. begin
  28438. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28439. end;
  28440. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28441. begin
  28442. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28443. end;
  28444. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28445. begin
  28446. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28447. end;
  28448. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28449. begin
  28450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28451. end;
  28452. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28453. begin
  28454. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28455. end;
  28456. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28457. begin
  28458. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28459. end;
  28460. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28461. begin
  28462. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28463. end;
  28464. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28465. begin
  28466. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28467. end;
  28468. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28469. begin
  28470. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28471. end;
  28472. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28473. begin
  28474. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28475. end;
  28476. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28477. begin
  28478. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28479. end;
  28480. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28481. begin
  28482. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28483. end;
  28484. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28485. begin
  28486. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28487. end;
  28488. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28489. begin
  28490. pTDefRegMap(@Self)^.val := thebits;
  28491. end;
  28492. function TINT_IPC3.getw : TBits_32; inline;
  28493. begin
  28494. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28495. end;
  28496. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28497. begin
  28498. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28499. end;
  28500. function TINT_IPC4.getT4IS : TBits_2; inline;
  28501. begin
  28502. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28503. end;
  28504. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28505. begin
  28506. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28507. end;
  28508. function TINT_IPC4.getT4IP : TBits_3; inline;
  28509. begin
  28510. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28511. end;
  28512. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28513. begin
  28514. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28515. end;
  28516. function TINT_IPC4.getIC4IS : TBits_2; inline;
  28517. begin
  28518. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28519. end;
  28520. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  28521. begin
  28522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28523. end;
  28524. function TINT_IPC4.getIC4IP : TBits_3; inline;
  28525. begin
  28526. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28527. end;
  28528. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  28529. begin
  28530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28531. end;
  28532. function TINT_IPC4.getOC4IS : TBits_2; inline;
  28533. begin
  28534. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28535. end;
  28536. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  28537. begin
  28538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28539. end;
  28540. function TINT_IPC4.getOC4IP : TBits_3; inline;
  28541. begin
  28542. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28543. end;
  28544. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  28545. begin
  28546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28547. end;
  28548. function TINT_IPC4.getINT4IS : TBits_2; inline;
  28549. begin
  28550. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28551. end;
  28552. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  28553. begin
  28554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28555. end;
  28556. function TINT_IPC4.getINT4IP : TBits_3; inline;
  28557. begin
  28558. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28559. end;
  28560. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  28561. begin
  28562. pTDefRegMap(@Self)^.val := thebits;
  28563. end;
  28564. function TINT_IPC4.getw : TBits_32; inline;
  28565. begin
  28566. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28567. end;
  28568. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  28569. begin
  28570. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28571. end;
  28572. function TINT_IPC5.getT5IS : TBits_2; inline;
  28573. begin
  28574. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28575. end;
  28576. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  28577. begin
  28578. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28579. end;
  28580. function TINT_IPC5.getT5IP : TBits_3; inline;
  28581. begin
  28582. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28583. end;
  28584. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28587. end;
  28588. function TINT_IPC5.getIC5IS : TBits_2; inline;
  28589. begin
  28590. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28591. end;
  28592. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  28593. begin
  28594. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28595. end;
  28596. function TINT_IPC5.getIC5IP : TBits_3; inline;
  28597. begin
  28598. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28599. end;
  28600. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  28601. begin
  28602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28603. end;
  28604. function TINT_IPC5.getOC5IS : TBits_2; inline;
  28605. begin
  28606. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28607. end;
  28608. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  28609. begin
  28610. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28611. end;
  28612. function TINT_IPC5.getOC5IP : TBits_3; inline;
  28613. begin
  28614. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28615. end;
  28616. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  28617. begin
  28618. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28619. end;
  28620. function TINT_IPC5.getAD1IS : TBits_2; inline;
  28621. begin
  28622. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28623. end;
  28624. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  28625. begin
  28626. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28627. end;
  28628. function TINT_IPC5.getAD1IP : TBits_3; inline;
  28629. begin
  28630. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28631. end;
  28632. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  28633. begin
  28634. pTDefRegMap(@Self)^.val := thebits;
  28635. end;
  28636. function TINT_IPC5.getw : TBits_32; inline;
  28637. begin
  28638. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28639. end;
  28640. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  28641. begin
  28642. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28643. end;
  28644. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  28645. begin
  28646. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28647. end;
  28648. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  28649. begin
  28650. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28651. end;
  28652. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  28653. begin
  28654. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28655. end;
  28656. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  28657. begin
  28658. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28659. end;
  28660. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  28661. begin
  28662. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28663. end;
  28664. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  28665. begin
  28666. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28667. end;
  28668. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  28669. begin
  28670. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28671. end;
  28672. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  28673. begin
  28674. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28675. end;
  28676. function TINT_IPC6.getFCEIS : TBits_2; inline;
  28677. begin
  28678. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28679. end;
  28680. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  28681. begin
  28682. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28683. end;
  28684. function TINT_IPC6.getFCEIP : TBits_3; inline;
  28685. begin
  28686. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28687. end;
  28688. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  28689. begin
  28690. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28691. end;
  28692. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  28693. begin
  28694. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28695. end;
  28696. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  28697. begin
  28698. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28699. end;
  28700. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  28701. begin
  28702. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28703. end;
  28704. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  28705. begin
  28706. pTDefRegMap(@Self)^.val := thebits;
  28707. end;
  28708. function TINT_IPC6.getw : TBits_32; inline;
  28709. begin
  28710. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28711. end;
  28712. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  28713. begin
  28714. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28715. end;
  28716. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  28717. begin
  28718. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28719. end;
  28720. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  28721. begin
  28722. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28723. end;
  28724. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  28725. begin
  28726. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28727. end;
  28728. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  28729. begin
  28730. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28731. end;
  28732. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  28733. begin
  28734. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28735. end;
  28736. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28739. end;
  28740. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  28741. begin
  28742. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28743. end;
  28744. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  28745. begin
  28746. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28747. end;
  28748. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  28749. begin
  28750. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28751. end;
  28752. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  28753. begin
  28754. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28755. end;
  28756. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  28757. begin
  28758. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28759. end;
  28760. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  28761. begin
  28762. pTDefRegMap(@Self)^.val := thebits;
  28763. end;
  28764. function TINT_IPC7.getw : TBits_32; inline;
  28765. begin
  28766. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28767. end;
  28768. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  28769. begin
  28770. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28771. end;
  28772. function TINT_IPC8.getU1IS : TBits_2; inline;
  28773. begin
  28774. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28775. end;
  28776. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  28777. begin
  28778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28779. end;
  28780. function TINT_IPC8.getU1IP : TBits_3; inline;
  28781. begin
  28782. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28783. end;
  28784. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  28785. begin
  28786. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28787. end;
  28788. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  28789. begin
  28790. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28791. end;
  28792. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  28793. begin
  28794. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28795. end;
  28796. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  28797. begin
  28798. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28799. end;
  28800. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  28801. begin
  28802. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28803. end;
  28804. function TINT_IPC8.getCNIS : TBits_2; inline;
  28805. begin
  28806. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28807. end;
  28808. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  28809. begin
  28810. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28811. end;
  28812. function TINT_IPC8.getCNIP : TBits_3; inline;
  28813. begin
  28814. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28815. end;
  28816. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  28817. begin
  28818. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28819. end;
  28820. function TINT_IPC8.getPMPIS : TBits_2; inline;
  28821. begin
  28822. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28823. end;
  28824. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  28825. begin
  28826. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28827. end;
  28828. function TINT_IPC8.getPMPIP : TBits_3; inline;
  28829. begin
  28830. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28831. end;
  28832. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  28833. begin
  28834. pTDefRegMap(@Self)^.val := thebits;
  28835. end;
  28836. function TINT_IPC8.getw : TBits_32; inline;
  28837. begin
  28838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28839. end;
  28840. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  28841. begin
  28842. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28843. end;
  28844. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  28845. begin
  28846. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28847. end;
  28848. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  28849. begin
  28850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28851. end;
  28852. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  28853. begin
  28854. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28855. end;
  28856. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  28857. begin
  28858. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28859. end;
  28860. function TINT_IPC9.getU2IS : TBits_2; inline;
  28861. begin
  28862. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28863. end;
  28864. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  28865. begin
  28866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28867. end;
  28868. function TINT_IPC9.getU2IP : TBits_3; inline;
  28869. begin
  28870. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28871. end;
  28872. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  28873. begin
  28874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28875. end;
  28876. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  28877. begin
  28878. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28879. end;
  28880. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  28881. begin
  28882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28883. end;
  28884. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  28885. begin
  28886. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28887. end;
  28888. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  28889. begin
  28890. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28891. end;
  28892. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  28893. begin
  28894. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28895. end;
  28896. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  28897. begin
  28898. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28899. end;
  28900. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  28901. begin
  28902. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28903. end;
  28904. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  28905. begin
  28906. pTDefRegMap(@Self)^.val := thebits;
  28907. end;
  28908. function TINT_IPC9.getw : TBits_32; inline;
  28909. begin
  28910. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28911. end;
  28912. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  28913. begin
  28914. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28915. end;
  28916. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  28917. begin
  28918. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28919. end;
  28920. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  28921. begin
  28922. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28923. end;
  28924. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  28925. begin
  28926. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28927. end;
  28928. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  28929. begin
  28930. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28931. end;
  28932. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  28933. begin
  28934. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28935. end;
  28936. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  28937. begin
  28938. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28939. end;
  28940. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  28941. begin
  28942. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28943. end;
  28944. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  28945. begin
  28946. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28947. end;
  28948. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  28949. begin
  28950. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28951. end;
  28952. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  28953. begin
  28954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28955. end;
  28956. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  28957. begin
  28958. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28959. end;
  28960. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  28961. begin
  28962. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28963. end;
  28964. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  28965. begin
  28966. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28967. end;
  28968. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  28969. begin
  28970. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28971. end;
  28972. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  28973. begin
  28974. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28975. end;
  28976. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  28977. begin
  28978. pTDefRegMap(@Self)^.val := thebits;
  28979. end;
  28980. function TINT_IPC10.getw : TBits_32; inline;
  28981. begin
  28982. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28983. end;
  28984. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  28985. begin
  28986. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  28987. end;
  28988. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  28989. begin
  28990. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  28991. end;
  28992. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  28993. begin
  28994. pTDefRegMap(@Self)^.&set := $00000040;
  28995. end;
  28996. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  28997. begin
  28998. pTDefRegMap(@Self)^.clr := $00000040;
  28999. end;
  29000. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29001. begin
  29002. if thebits = 0 then
  29003. pTDefRegMap(@Self)^.clr := $00000040
  29004. else
  29005. pTDefRegMap(@Self)^.&set := $00000040;
  29006. end;
  29007. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29008. begin
  29009. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29010. end;
  29011. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.&set := $00010000;
  29014. end;
  29015. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29016. begin
  29017. pTDefRegMap(@Self)^.clr := $00010000;
  29018. end;
  29019. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29020. begin
  29021. if thebits = 0 then
  29022. pTDefRegMap(@Self)^.clr := $00010000
  29023. else
  29024. pTDefRegMap(@Self)^.&set := $00010000;
  29025. end;
  29026. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29027. begin
  29028. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29029. end;
  29030. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29031. begin
  29032. pTDefRegMap(@Self)^.&set := $00020000;
  29033. end;
  29034. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29035. begin
  29036. pTDefRegMap(@Self)^.clr := $00020000;
  29037. end;
  29038. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29039. begin
  29040. if thebits = 0 then
  29041. pTDefRegMap(@Self)^.clr := $00020000
  29042. else
  29043. pTDefRegMap(@Self)^.&set := $00020000;
  29044. end;
  29045. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29046. begin
  29047. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29048. end;
  29049. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29050. begin
  29051. pTDefRegMap(@Self)^.&set := $00040000;
  29052. end;
  29053. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29054. begin
  29055. pTDefRegMap(@Self)^.clr := $00040000;
  29056. end;
  29057. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29058. begin
  29059. if thebits = 0 then
  29060. pTDefRegMap(@Self)^.clr := $00040000
  29061. else
  29062. pTDefRegMap(@Self)^.&set := $00040000;
  29063. end;
  29064. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29065. begin
  29066. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29067. end;
  29068. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29069. begin
  29070. pTDefRegMap(@Self)^.&set := $00080000;
  29071. end;
  29072. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29073. begin
  29074. pTDefRegMap(@Self)^.clr := $00080000;
  29075. end;
  29076. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29077. begin
  29078. if thebits = 0 then
  29079. pTDefRegMap(@Self)^.clr := $00080000
  29080. else
  29081. pTDefRegMap(@Self)^.&set := $00080000;
  29082. end;
  29083. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29084. begin
  29085. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29086. end;
  29087. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29088. begin
  29089. pTDefRegMap(@Self)^.&set := $00100000;
  29090. end;
  29091. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29092. begin
  29093. pTDefRegMap(@Self)^.clr := $00100000;
  29094. end;
  29095. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29096. begin
  29097. if thebits = 0 then
  29098. pTDefRegMap(@Self)^.clr := $00100000
  29099. else
  29100. pTDefRegMap(@Self)^.&set := $00100000;
  29101. end;
  29102. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29103. begin
  29104. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29105. end;
  29106. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29107. begin
  29108. pTDefRegMap(@Self)^.&set := $04000000;
  29109. end;
  29110. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29111. begin
  29112. pTDefRegMap(@Self)^.clr := $04000000;
  29113. end;
  29114. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29115. begin
  29116. if thebits = 0 then
  29117. pTDefRegMap(@Self)^.clr := $04000000
  29118. else
  29119. pTDefRegMap(@Self)^.&set := $04000000;
  29120. end;
  29121. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29122. begin
  29123. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29124. end;
  29125. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29126. begin
  29127. pTDefRegMap(@Self)^.val := thebits;
  29128. end;
  29129. function TBMX_BMXCON.getw : TBits_32; inline;
  29130. begin
  29131. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29132. end;
  29133. procedure TDMAC_DMACON.setDMABUSY; inline;
  29134. begin
  29135. pTDefRegMap(@Self)^.&set := $00000800;
  29136. end;
  29137. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29138. begin
  29139. pTDefRegMap(@Self)^.clr := $00000800;
  29140. end;
  29141. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29142. begin
  29143. if thebits = 0 then
  29144. pTDefRegMap(@Self)^.clr := $00000800
  29145. else
  29146. pTDefRegMap(@Self)^.&set := $00000800;
  29147. end;
  29148. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29149. begin
  29150. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29151. end;
  29152. procedure TDMAC_DMACON.setSUSPEND; inline;
  29153. begin
  29154. pTDefRegMap(@Self)^.&set := $00001000;
  29155. end;
  29156. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29157. begin
  29158. pTDefRegMap(@Self)^.clr := $00001000;
  29159. end;
  29160. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29161. begin
  29162. if thebits = 0 then
  29163. pTDefRegMap(@Self)^.clr := $00001000
  29164. else
  29165. pTDefRegMap(@Self)^.&set := $00001000;
  29166. end;
  29167. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29168. begin
  29169. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29170. end;
  29171. procedure TDMAC_DMACON.setON; inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.&set := $00008000;
  29174. end;
  29175. procedure TDMAC_DMACON.clearON; inline;
  29176. begin
  29177. pTDefRegMap(@Self)^.clr := $00008000;
  29178. end;
  29179. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29180. begin
  29181. if thebits = 0 then
  29182. pTDefRegMap(@Self)^.clr := $00008000
  29183. else
  29184. pTDefRegMap(@Self)^.&set := $00008000;
  29185. end;
  29186. function TDMAC_DMACON.getON : TBits_1; inline;
  29187. begin
  29188. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29189. end;
  29190. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29191. begin
  29192. pTDefRegMap(@Self)^.val := thebits;
  29193. end;
  29194. function TDMAC_DMACON.getw : TBits_32; inline;
  29195. begin
  29196. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29197. end;
  29198. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29199. begin
  29200. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29201. end;
  29202. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29203. begin
  29204. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29205. end;
  29206. procedure TDMAC_DMASTAT.setRDWR; inline;
  29207. begin
  29208. pTDefRegMap(@Self)^.&set := $00000008;
  29209. end;
  29210. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29211. begin
  29212. pTDefRegMap(@Self)^.clr := $00000008;
  29213. end;
  29214. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29215. begin
  29216. if thebits = 0 then
  29217. pTDefRegMap(@Self)^.clr := $00000008
  29218. else
  29219. pTDefRegMap(@Self)^.&set := $00000008;
  29220. end;
  29221. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29222. begin
  29223. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29224. end;
  29225. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29226. begin
  29227. pTDefRegMap(@Self)^.val := thebits;
  29228. end;
  29229. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29230. begin
  29231. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29232. end;
  29233. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29234. begin
  29235. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29236. end;
  29237. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29238. begin
  29239. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29240. end;
  29241. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29242. begin
  29243. pTDefRegMap(@Self)^.&set := $00000020;
  29244. end;
  29245. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29246. begin
  29247. pTDefRegMap(@Self)^.clr := $00000020;
  29248. end;
  29249. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29250. begin
  29251. if thebits = 0 then
  29252. pTDefRegMap(@Self)^.clr := $00000020
  29253. else
  29254. pTDefRegMap(@Self)^.&set := $00000020;
  29255. end;
  29256. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29257. begin
  29258. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29259. end;
  29260. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29261. begin
  29262. pTDefRegMap(@Self)^.&set := $00000040;
  29263. end;
  29264. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29265. begin
  29266. pTDefRegMap(@Self)^.clr := $00000040;
  29267. end;
  29268. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29269. begin
  29270. if thebits = 0 then
  29271. pTDefRegMap(@Self)^.clr := $00000040
  29272. else
  29273. pTDefRegMap(@Self)^.&set := $00000040;
  29274. end;
  29275. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29276. begin
  29277. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29278. end;
  29279. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.&set := $00000080;
  29282. end;
  29283. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.clr := $00000080;
  29286. end;
  29287. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29288. begin
  29289. if thebits = 0 then
  29290. pTDefRegMap(@Self)^.clr := $00000080
  29291. else
  29292. pTDefRegMap(@Self)^.&set := $00000080;
  29293. end;
  29294. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29295. begin
  29296. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29297. end;
  29298. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29301. end;
  29302. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29303. begin
  29304. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29305. end;
  29306. procedure TDMAC_DCRCCON.setBITO; inline;
  29307. begin
  29308. pTDefRegMap(@Self)^.&set := $01000000;
  29309. end;
  29310. procedure TDMAC_DCRCCON.clearBITO; inline;
  29311. begin
  29312. pTDefRegMap(@Self)^.clr := $01000000;
  29313. end;
  29314. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29315. begin
  29316. if thebits = 0 then
  29317. pTDefRegMap(@Self)^.clr := $01000000
  29318. else
  29319. pTDefRegMap(@Self)^.&set := $01000000;
  29320. end;
  29321. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29322. begin
  29323. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29324. end;
  29325. procedure TDMAC_DCRCCON.setWBO; inline;
  29326. begin
  29327. pTDefRegMap(@Self)^.&set := $08000000;
  29328. end;
  29329. procedure TDMAC_DCRCCON.clearWBO; inline;
  29330. begin
  29331. pTDefRegMap(@Self)^.clr := $08000000;
  29332. end;
  29333. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29334. begin
  29335. if thebits = 0 then
  29336. pTDefRegMap(@Self)^.clr := $08000000
  29337. else
  29338. pTDefRegMap(@Self)^.&set := $08000000;
  29339. end;
  29340. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29341. begin
  29342. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29343. end;
  29344. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29345. begin
  29346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29347. end;
  29348. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29349. begin
  29350. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29351. end;
  29352. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29353. begin
  29354. pTDefRegMap(@Self)^.val := thebits;
  29355. end;
  29356. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29357. begin
  29358. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29359. end;
  29360. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29361. begin
  29362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29363. end;
  29364. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29365. begin
  29366. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29367. end;
  29368. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29369. begin
  29370. pTDefRegMap(@Self)^.&set := $00000004;
  29371. end;
  29372. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29373. begin
  29374. pTDefRegMap(@Self)^.clr := $00000004;
  29375. end;
  29376. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29377. begin
  29378. if thebits = 0 then
  29379. pTDefRegMap(@Self)^.clr := $00000004
  29380. else
  29381. pTDefRegMap(@Self)^.&set := $00000004;
  29382. end;
  29383. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29384. begin
  29385. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29386. end;
  29387. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29388. begin
  29389. pTDefRegMap(@Self)^.&set := $00000010;
  29390. end;
  29391. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29392. begin
  29393. pTDefRegMap(@Self)^.clr := $00000010;
  29394. end;
  29395. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29396. begin
  29397. if thebits = 0 then
  29398. pTDefRegMap(@Self)^.clr := $00000010
  29399. else
  29400. pTDefRegMap(@Self)^.&set := $00000010;
  29401. end;
  29402. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29403. begin
  29404. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29405. end;
  29406. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29407. begin
  29408. pTDefRegMap(@Self)^.&set := $00000020;
  29409. end;
  29410. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29411. begin
  29412. pTDefRegMap(@Self)^.clr := $00000020;
  29413. end;
  29414. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29415. begin
  29416. if thebits = 0 then
  29417. pTDefRegMap(@Self)^.clr := $00000020
  29418. else
  29419. pTDefRegMap(@Self)^.&set := $00000020;
  29420. end;
  29421. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29422. begin
  29423. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29424. end;
  29425. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29426. begin
  29427. pTDefRegMap(@Self)^.&set := $00000040;
  29428. end;
  29429. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29430. begin
  29431. pTDefRegMap(@Self)^.clr := $00000040;
  29432. end;
  29433. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29434. begin
  29435. if thebits = 0 then
  29436. pTDefRegMap(@Self)^.clr := $00000040
  29437. else
  29438. pTDefRegMap(@Self)^.&set := $00000040;
  29439. end;
  29440. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29441. begin
  29442. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29443. end;
  29444. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29445. begin
  29446. pTDefRegMap(@Self)^.&set := $00000080;
  29447. end;
  29448. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29449. begin
  29450. pTDefRegMap(@Self)^.clr := $00000080;
  29451. end;
  29452. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29453. begin
  29454. if thebits = 0 then
  29455. pTDefRegMap(@Self)^.clr := $00000080
  29456. else
  29457. pTDefRegMap(@Self)^.&set := $00000080;
  29458. end;
  29459. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29460. begin
  29461. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29462. end;
  29463. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29464. begin
  29465. pTDefRegMap(@Self)^.&set := $00000100;
  29466. end;
  29467. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29468. begin
  29469. pTDefRegMap(@Self)^.clr := $00000100;
  29470. end;
  29471. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29472. begin
  29473. if thebits = 0 then
  29474. pTDefRegMap(@Self)^.clr := $00000100
  29475. else
  29476. pTDefRegMap(@Self)^.&set := $00000100;
  29477. end;
  29478. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29479. begin
  29480. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29481. end;
  29482. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29483. begin
  29484. pTDefRegMap(@Self)^.&set := $00008000;
  29485. end;
  29486. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29487. begin
  29488. pTDefRegMap(@Self)^.clr := $00008000;
  29489. end;
  29490. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29491. begin
  29492. if thebits = 0 then
  29493. pTDefRegMap(@Self)^.clr := $00008000
  29494. else
  29495. pTDefRegMap(@Self)^.&set := $00008000;
  29496. end;
  29497. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29498. begin
  29499. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29500. end;
  29501. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  29502. begin
  29503. pTDefRegMap(@Self)^.val := thebits;
  29504. end;
  29505. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  29506. begin
  29507. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29508. end;
  29509. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  29510. begin
  29511. pTDefRegMap(@Self)^.&set := $00000008;
  29512. end;
  29513. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  29514. begin
  29515. pTDefRegMap(@Self)^.clr := $00000008;
  29516. end;
  29517. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  29518. begin
  29519. if thebits = 0 then
  29520. pTDefRegMap(@Self)^.clr := $00000008
  29521. else
  29522. pTDefRegMap(@Self)^.&set := $00000008;
  29523. end;
  29524. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  29525. begin
  29526. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29527. end;
  29528. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  29529. begin
  29530. pTDefRegMap(@Self)^.&set := $00000010;
  29531. end;
  29532. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  29533. begin
  29534. pTDefRegMap(@Self)^.clr := $00000010;
  29535. end;
  29536. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  29537. begin
  29538. if thebits = 0 then
  29539. pTDefRegMap(@Self)^.clr := $00000010
  29540. else
  29541. pTDefRegMap(@Self)^.&set := $00000010;
  29542. end;
  29543. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  29544. begin
  29545. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29546. end;
  29547. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  29548. begin
  29549. pTDefRegMap(@Self)^.&set := $00000020;
  29550. end;
  29551. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  29552. begin
  29553. pTDefRegMap(@Self)^.clr := $00000020;
  29554. end;
  29555. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  29556. begin
  29557. if thebits = 0 then
  29558. pTDefRegMap(@Self)^.clr := $00000020
  29559. else
  29560. pTDefRegMap(@Self)^.&set := $00000020;
  29561. end;
  29562. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  29563. begin
  29564. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29565. end;
  29566. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  29567. begin
  29568. pTDefRegMap(@Self)^.&set := $00000040;
  29569. end;
  29570. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  29571. begin
  29572. pTDefRegMap(@Self)^.clr := $00000040;
  29573. end;
  29574. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  29575. begin
  29576. if thebits = 0 then
  29577. pTDefRegMap(@Self)^.clr := $00000040
  29578. else
  29579. pTDefRegMap(@Self)^.&set := $00000040;
  29580. end;
  29581. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  29582. begin
  29583. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29584. end;
  29585. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  29586. begin
  29587. pTDefRegMap(@Self)^.&set := $00000080;
  29588. end;
  29589. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  29590. begin
  29591. pTDefRegMap(@Self)^.clr := $00000080;
  29592. end;
  29593. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  29594. begin
  29595. if thebits = 0 then
  29596. pTDefRegMap(@Self)^.clr := $00000080
  29597. else
  29598. pTDefRegMap(@Self)^.&set := $00000080;
  29599. end;
  29600. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  29601. begin
  29602. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29603. end;
  29604. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  29605. begin
  29606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  29607. end;
  29608. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  29609. begin
  29610. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  29611. end;
  29612. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  29613. begin
  29614. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29615. end;
  29616. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  29617. begin
  29618. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29619. end;
  29620. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  29621. begin
  29622. pTDefRegMap(@Self)^.val := thebits;
  29623. end;
  29624. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  29625. begin
  29626. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29627. end;
  29628. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  29629. begin
  29630. pTDefRegMap(@Self)^.&set := $00000001;
  29631. end;
  29632. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  29633. begin
  29634. pTDefRegMap(@Self)^.clr := $00000001;
  29635. end;
  29636. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  29637. begin
  29638. if thebits = 0 then
  29639. pTDefRegMap(@Self)^.clr := $00000001
  29640. else
  29641. pTDefRegMap(@Self)^.&set := $00000001;
  29642. end;
  29643. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  29644. begin
  29645. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29646. end;
  29647. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  29648. begin
  29649. pTDefRegMap(@Self)^.&set := $00000002;
  29650. end;
  29651. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.clr := $00000002;
  29654. end;
  29655. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  29656. begin
  29657. if thebits = 0 then
  29658. pTDefRegMap(@Self)^.clr := $00000002
  29659. else
  29660. pTDefRegMap(@Self)^.&set := $00000002;
  29661. end;
  29662. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  29663. begin
  29664. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29665. end;
  29666. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  29667. begin
  29668. pTDefRegMap(@Self)^.&set := $00000004;
  29669. end;
  29670. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  29671. begin
  29672. pTDefRegMap(@Self)^.clr := $00000004;
  29673. end;
  29674. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  29675. begin
  29676. if thebits = 0 then
  29677. pTDefRegMap(@Self)^.clr := $00000004
  29678. else
  29679. pTDefRegMap(@Self)^.&set := $00000004;
  29680. end;
  29681. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  29682. begin
  29683. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29684. end;
  29685. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  29686. begin
  29687. pTDefRegMap(@Self)^.&set := $00000008;
  29688. end;
  29689. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  29690. begin
  29691. pTDefRegMap(@Self)^.clr := $00000008;
  29692. end;
  29693. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  29694. begin
  29695. if thebits = 0 then
  29696. pTDefRegMap(@Self)^.clr := $00000008
  29697. else
  29698. pTDefRegMap(@Self)^.&set := $00000008;
  29699. end;
  29700. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  29701. begin
  29702. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29703. end;
  29704. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  29705. begin
  29706. pTDefRegMap(@Self)^.&set := $00000010;
  29707. end;
  29708. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  29709. begin
  29710. pTDefRegMap(@Self)^.clr := $00000010;
  29711. end;
  29712. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  29713. begin
  29714. if thebits = 0 then
  29715. pTDefRegMap(@Self)^.clr := $00000010
  29716. else
  29717. pTDefRegMap(@Self)^.&set := $00000010;
  29718. end;
  29719. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  29720. begin
  29721. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29722. end;
  29723. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  29724. begin
  29725. pTDefRegMap(@Self)^.&set := $00000020;
  29726. end;
  29727. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  29728. begin
  29729. pTDefRegMap(@Self)^.clr := $00000020;
  29730. end;
  29731. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  29732. begin
  29733. if thebits = 0 then
  29734. pTDefRegMap(@Self)^.clr := $00000020
  29735. else
  29736. pTDefRegMap(@Self)^.&set := $00000020;
  29737. end;
  29738. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  29739. begin
  29740. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29741. end;
  29742. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  29743. begin
  29744. pTDefRegMap(@Self)^.&set := $00000040;
  29745. end;
  29746. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  29747. begin
  29748. pTDefRegMap(@Self)^.clr := $00000040;
  29749. end;
  29750. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  29751. begin
  29752. if thebits = 0 then
  29753. pTDefRegMap(@Self)^.clr := $00000040
  29754. else
  29755. pTDefRegMap(@Self)^.&set := $00000040;
  29756. end;
  29757. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  29758. begin
  29759. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29760. end;
  29761. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  29762. begin
  29763. pTDefRegMap(@Self)^.&set := $00000080;
  29764. end;
  29765. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  29766. begin
  29767. pTDefRegMap(@Self)^.clr := $00000080;
  29768. end;
  29769. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  29770. begin
  29771. if thebits = 0 then
  29772. pTDefRegMap(@Self)^.clr := $00000080
  29773. else
  29774. pTDefRegMap(@Self)^.&set := $00000080;
  29775. end;
  29776. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  29777. begin
  29778. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29779. end;
  29780. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  29781. begin
  29782. pTDefRegMap(@Self)^.&set := $00010000;
  29783. end;
  29784. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  29785. begin
  29786. pTDefRegMap(@Self)^.clr := $00010000;
  29787. end;
  29788. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  29789. begin
  29790. if thebits = 0 then
  29791. pTDefRegMap(@Self)^.clr := $00010000
  29792. else
  29793. pTDefRegMap(@Self)^.&set := $00010000;
  29794. end;
  29795. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  29796. begin
  29797. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29798. end;
  29799. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  29800. begin
  29801. pTDefRegMap(@Self)^.&set := $00020000;
  29802. end;
  29803. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  29804. begin
  29805. pTDefRegMap(@Self)^.clr := $00020000;
  29806. end;
  29807. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  29808. begin
  29809. if thebits = 0 then
  29810. pTDefRegMap(@Self)^.clr := $00020000
  29811. else
  29812. pTDefRegMap(@Self)^.&set := $00020000;
  29813. end;
  29814. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  29815. begin
  29816. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29817. end;
  29818. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  29819. begin
  29820. pTDefRegMap(@Self)^.&set := $00040000;
  29821. end;
  29822. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  29823. begin
  29824. pTDefRegMap(@Self)^.clr := $00040000;
  29825. end;
  29826. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  29827. begin
  29828. if thebits = 0 then
  29829. pTDefRegMap(@Self)^.clr := $00040000
  29830. else
  29831. pTDefRegMap(@Self)^.&set := $00040000;
  29832. end;
  29833. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  29834. begin
  29835. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29836. end;
  29837. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  29838. begin
  29839. pTDefRegMap(@Self)^.&set := $00080000;
  29840. end;
  29841. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  29842. begin
  29843. pTDefRegMap(@Self)^.clr := $00080000;
  29844. end;
  29845. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  29846. begin
  29847. if thebits = 0 then
  29848. pTDefRegMap(@Self)^.clr := $00080000
  29849. else
  29850. pTDefRegMap(@Self)^.&set := $00080000;
  29851. end;
  29852. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  29853. begin
  29854. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29855. end;
  29856. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  29857. begin
  29858. pTDefRegMap(@Self)^.&set := $00100000;
  29859. end;
  29860. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  29861. begin
  29862. pTDefRegMap(@Self)^.clr := $00100000;
  29863. end;
  29864. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  29865. begin
  29866. if thebits = 0 then
  29867. pTDefRegMap(@Self)^.clr := $00100000
  29868. else
  29869. pTDefRegMap(@Self)^.&set := $00100000;
  29870. end;
  29871. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  29872. begin
  29873. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29874. end;
  29875. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  29876. begin
  29877. pTDefRegMap(@Self)^.&set := $00200000;
  29878. end;
  29879. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  29880. begin
  29881. pTDefRegMap(@Self)^.clr := $00200000;
  29882. end;
  29883. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  29884. begin
  29885. if thebits = 0 then
  29886. pTDefRegMap(@Self)^.clr := $00200000
  29887. else
  29888. pTDefRegMap(@Self)^.&set := $00200000;
  29889. end;
  29890. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  29891. begin
  29892. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  29893. end;
  29894. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  29895. begin
  29896. pTDefRegMap(@Self)^.&set := $00400000;
  29897. end;
  29898. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  29899. begin
  29900. pTDefRegMap(@Self)^.clr := $00400000;
  29901. end;
  29902. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  29903. begin
  29904. if thebits = 0 then
  29905. pTDefRegMap(@Self)^.clr := $00400000
  29906. else
  29907. pTDefRegMap(@Self)^.&set := $00400000;
  29908. end;
  29909. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  29910. begin
  29911. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  29912. end;
  29913. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  29914. begin
  29915. pTDefRegMap(@Self)^.&set := $00800000;
  29916. end;
  29917. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  29918. begin
  29919. pTDefRegMap(@Self)^.clr := $00800000;
  29920. end;
  29921. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  29922. begin
  29923. if thebits = 0 then
  29924. pTDefRegMap(@Self)^.clr := $00800000
  29925. else
  29926. pTDefRegMap(@Self)^.&set := $00800000;
  29927. end;
  29928. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  29929. begin
  29930. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  29931. end;
  29932. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  29933. begin
  29934. pTDefRegMap(@Self)^.val := thebits;
  29935. end;
  29936. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  29937. begin
  29938. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29939. end;
  29940. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  29941. begin
  29942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29943. end;
  29944. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  29945. begin
  29946. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29947. end;
  29948. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  29949. begin
  29950. pTDefRegMap(@Self)^.&set := $00000004;
  29951. end;
  29952. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  29953. begin
  29954. pTDefRegMap(@Self)^.clr := $00000004;
  29955. end;
  29956. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  29957. begin
  29958. if thebits = 0 then
  29959. pTDefRegMap(@Self)^.clr := $00000004
  29960. else
  29961. pTDefRegMap(@Self)^.&set := $00000004;
  29962. end;
  29963. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  29964. begin
  29965. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29966. end;
  29967. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.&set := $00000010;
  29970. end;
  29971. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  29972. begin
  29973. pTDefRegMap(@Self)^.clr := $00000010;
  29974. end;
  29975. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  29976. begin
  29977. if thebits = 0 then
  29978. pTDefRegMap(@Self)^.clr := $00000010
  29979. else
  29980. pTDefRegMap(@Self)^.&set := $00000010;
  29981. end;
  29982. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  29983. begin
  29984. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29985. end;
  29986. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  29987. begin
  29988. pTDefRegMap(@Self)^.&set := $00000020;
  29989. end;
  29990. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  29991. begin
  29992. pTDefRegMap(@Self)^.clr := $00000020;
  29993. end;
  29994. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  29995. begin
  29996. if thebits = 0 then
  29997. pTDefRegMap(@Self)^.clr := $00000020
  29998. else
  29999. pTDefRegMap(@Self)^.&set := $00000020;
  30000. end;
  30001. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30002. begin
  30003. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30004. end;
  30005. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30006. begin
  30007. pTDefRegMap(@Self)^.&set := $00000040;
  30008. end;
  30009. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30010. begin
  30011. pTDefRegMap(@Self)^.clr := $00000040;
  30012. end;
  30013. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30014. begin
  30015. if thebits = 0 then
  30016. pTDefRegMap(@Self)^.clr := $00000040
  30017. else
  30018. pTDefRegMap(@Self)^.&set := $00000040;
  30019. end;
  30020. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30021. begin
  30022. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30023. end;
  30024. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30025. begin
  30026. pTDefRegMap(@Self)^.&set := $00000080;
  30027. end;
  30028. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30029. begin
  30030. pTDefRegMap(@Self)^.clr := $00000080;
  30031. end;
  30032. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30033. begin
  30034. if thebits = 0 then
  30035. pTDefRegMap(@Self)^.clr := $00000080
  30036. else
  30037. pTDefRegMap(@Self)^.&set := $00000080;
  30038. end;
  30039. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30040. begin
  30041. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30042. end;
  30043. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30044. begin
  30045. pTDefRegMap(@Self)^.&set := $00000100;
  30046. end;
  30047. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30048. begin
  30049. pTDefRegMap(@Self)^.clr := $00000100;
  30050. end;
  30051. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30052. begin
  30053. if thebits = 0 then
  30054. pTDefRegMap(@Self)^.clr := $00000100
  30055. else
  30056. pTDefRegMap(@Self)^.&set := $00000100;
  30057. end;
  30058. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30059. begin
  30060. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30061. end;
  30062. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30063. begin
  30064. pTDefRegMap(@Self)^.&set := $00008000;
  30065. end;
  30066. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30067. begin
  30068. pTDefRegMap(@Self)^.clr := $00008000;
  30069. end;
  30070. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30071. begin
  30072. if thebits = 0 then
  30073. pTDefRegMap(@Self)^.clr := $00008000
  30074. else
  30075. pTDefRegMap(@Self)^.&set := $00008000;
  30076. end;
  30077. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30078. begin
  30079. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30080. end;
  30081. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30082. begin
  30083. pTDefRegMap(@Self)^.val := thebits;
  30084. end;
  30085. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30086. begin
  30087. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30088. end;
  30089. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30090. begin
  30091. pTDefRegMap(@Self)^.&set := $00000008;
  30092. end;
  30093. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30094. begin
  30095. pTDefRegMap(@Self)^.clr := $00000008;
  30096. end;
  30097. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30098. begin
  30099. if thebits = 0 then
  30100. pTDefRegMap(@Self)^.clr := $00000008
  30101. else
  30102. pTDefRegMap(@Self)^.&set := $00000008;
  30103. end;
  30104. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30105. begin
  30106. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30107. end;
  30108. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30109. begin
  30110. pTDefRegMap(@Self)^.&set := $00000010;
  30111. end;
  30112. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30113. begin
  30114. pTDefRegMap(@Self)^.clr := $00000010;
  30115. end;
  30116. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30117. begin
  30118. if thebits = 0 then
  30119. pTDefRegMap(@Self)^.clr := $00000010
  30120. else
  30121. pTDefRegMap(@Self)^.&set := $00000010;
  30122. end;
  30123. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30124. begin
  30125. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30126. end;
  30127. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30128. begin
  30129. pTDefRegMap(@Self)^.&set := $00000020;
  30130. end;
  30131. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30132. begin
  30133. pTDefRegMap(@Self)^.clr := $00000020;
  30134. end;
  30135. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30136. begin
  30137. if thebits = 0 then
  30138. pTDefRegMap(@Self)^.clr := $00000020
  30139. else
  30140. pTDefRegMap(@Self)^.&set := $00000020;
  30141. end;
  30142. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30143. begin
  30144. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30145. end;
  30146. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30147. begin
  30148. pTDefRegMap(@Self)^.&set := $00000040;
  30149. end;
  30150. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30151. begin
  30152. pTDefRegMap(@Self)^.clr := $00000040;
  30153. end;
  30154. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30155. begin
  30156. if thebits = 0 then
  30157. pTDefRegMap(@Self)^.clr := $00000040
  30158. else
  30159. pTDefRegMap(@Self)^.&set := $00000040;
  30160. end;
  30161. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30162. begin
  30163. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30164. end;
  30165. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30166. begin
  30167. pTDefRegMap(@Self)^.&set := $00000080;
  30168. end;
  30169. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30170. begin
  30171. pTDefRegMap(@Self)^.clr := $00000080;
  30172. end;
  30173. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30174. begin
  30175. if thebits = 0 then
  30176. pTDefRegMap(@Self)^.clr := $00000080
  30177. else
  30178. pTDefRegMap(@Self)^.&set := $00000080;
  30179. end;
  30180. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30181. begin
  30182. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30183. end;
  30184. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30185. begin
  30186. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30187. end;
  30188. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30189. begin
  30190. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30191. end;
  30192. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30193. begin
  30194. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30195. end;
  30196. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30197. begin
  30198. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30199. end;
  30200. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30201. begin
  30202. pTDefRegMap(@Self)^.val := thebits;
  30203. end;
  30204. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30205. begin
  30206. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30207. end;
  30208. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30209. begin
  30210. pTDefRegMap(@Self)^.&set := $00000001;
  30211. end;
  30212. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30213. begin
  30214. pTDefRegMap(@Self)^.clr := $00000001;
  30215. end;
  30216. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30217. begin
  30218. if thebits = 0 then
  30219. pTDefRegMap(@Self)^.clr := $00000001
  30220. else
  30221. pTDefRegMap(@Self)^.&set := $00000001;
  30222. end;
  30223. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30224. begin
  30225. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30226. end;
  30227. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30228. begin
  30229. pTDefRegMap(@Self)^.&set := $00000002;
  30230. end;
  30231. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30232. begin
  30233. pTDefRegMap(@Self)^.clr := $00000002;
  30234. end;
  30235. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30236. begin
  30237. if thebits = 0 then
  30238. pTDefRegMap(@Self)^.clr := $00000002
  30239. else
  30240. pTDefRegMap(@Self)^.&set := $00000002;
  30241. end;
  30242. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30243. begin
  30244. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30245. end;
  30246. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30247. begin
  30248. pTDefRegMap(@Self)^.&set := $00000004;
  30249. end;
  30250. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30251. begin
  30252. pTDefRegMap(@Self)^.clr := $00000004;
  30253. end;
  30254. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30255. begin
  30256. if thebits = 0 then
  30257. pTDefRegMap(@Self)^.clr := $00000004
  30258. else
  30259. pTDefRegMap(@Self)^.&set := $00000004;
  30260. end;
  30261. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30262. begin
  30263. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30264. end;
  30265. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30266. begin
  30267. pTDefRegMap(@Self)^.&set := $00000008;
  30268. end;
  30269. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30270. begin
  30271. pTDefRegMap(@Self)^.clr := $00000008;
  30272. end;
  30273. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30274. begin
  30275. if thebits = 0 then
  30276. pTDefRegMap(@Self)^.clr := $00000008
  30277. else
  30278. pTDefRegMap(@Self)^.&set := $00000008;
  30279. end;
  30280. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30281. begin
  30282. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30283. end;
  30284. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30285. begin
  30286. pTDefRegMap(@Self)^.&set := $00000010;
  30287. end;
  30288. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30289. begin
  30290. pTDefRegMap(@Self)^.clr := $00000010;
  30291. end;
  30292. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30293. begin
  30294. if thebits = 0 then
  30295. pTDefRegMap(@Self)^.clr := $00000010
  30296. else
  30297. pTDefRegMap(@Self)^.&set := $00000010;
  30298. end;
  30299. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30300. begin
  30301. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30302. end;
  30303. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30304. begin
  30305. pTDefRegMap(@Self)^.&set := $00000020;
  30306. end;
  30307. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30308. begin
  30309. pTDefRegMap(@Self)^.clr := $00000020;
  30310. end;
  30311. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30312. begin
  30313. if thebits = 0 then
  30314. pTDefRegMap(@Self)^.clr := $00000020
  30315. else
  30316. pTDefRegMap(@Self)^.&set := $00000020;
  30317. end;
  30318. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30319. begin
  30320. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30321. end;
  30322. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30323. begin
  30324. pTDefRegMap(@Self)^.&set := $00000040;
  30325. end;
  30326. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30327. begin
  30328. pTDefRegMap(@Self)^.clr := $00000040;
  30329. end;
  30330. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30331. begin
  30332. if thebits = 0 then
  30333. pTDefRegMap(@Self)^.clr := $00000040
  30334. else
  30335. pTDefRegMap(@Self)^.&set := $00000040;
  30336. end;
  30337. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30338. begin
  30339. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30340. end;
  30341. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30342. begin
  30343. pTDefRegMap(@Self)^.&set := $00000080;
  30344. end;
  30345. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30346. begin
  30347. pTDefRegMap(@Self)^.clr := $00000080;
  30348. end;
  30349. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30350. begin
  30351. if thebits = 0 then
  30352. pTDefRegMap(@Self)^.clr := $00000080
  30353. else
  30354. pTDefRegMap(@Self)^.&set := $00000080;
  30355. end;
  30356. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30357. begin
  30358. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30359. end;
  30360. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30361. begin
  30362. pTDefRegMap(@Self)^.&set := $00010000;
  30363. end;
  30364. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30365. begin
  30366. pTDefRegMap(@Self)^.clr := $00010000;
  30367. end;
  30368. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30369. begin
  30370. if thebits = 0 then
  30371. pTDefRegMap(@Self)^.clr := $00010000
  30372. else
  30373. pTDefRegMap(@Self)^.&set := $00010000;
  30374. end;
  30375. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30376. begin
  30377. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30378. end;
  30379. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30380. begin
  30381. pTDefRegMap(@Self)^.&set := $00020000;
  30382. end;
  30383. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30384. begin
  30385. pTDefRegMap(@Self)^.clr := $00020000;
  30386. end;
  30387. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30388. begin
  30389. if thebits = 0 then
  30390. pTDefRegMap(@Self)^.clr := $00020000
  30391. else
  30392. pTDefRegMap(@Self)^.&set := $00020000;
  30393. end;
  30394. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30395. begin
  30396. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30397. end;
  30398. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30399. begin
  30400. pTDefRegMap(@Self)^.&set := $00040000;
  30401. end;
  30402. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30403. begin
  30404. pTDefRegMap(@Self)^.clr := $00040000;
  30405. end;
  30406. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30407. begin
  30408. if thebits = 0 then
  30409. pTDefRegMap(@Self)^.clr := $00040000
  30410. else
  30411. pTDefRegMap(@Self)^.&set := $00040000;
  30412. end;
  30413. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30414. begin
  30415. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30416. end;
  30417. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30418. begin
  30419. pTDefRegMap(@Self)^.&set := $00080000;
  30420. end;
  30421. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30422. begin
  30423. pTDefRegMap(@Self)^.clr := $00080000;
  30424. end;
  30425. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30426. begin
  30427. if thebits = 0 then
  30428. pTDefRegMap(@Self)^.clr := $00080000
  30429. else
  30430. pTDefRegMap(@Self)^.&set := $00080000;
  30431. end;
  30432. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30433. begin
  30434. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30435. end;
  30436. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30437. begin
  30438. pTDefRegMap(@Self)^.&set := $00100000;
  30439. end;
  30440. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30441. begin
  30442. pTDefRegMap(@Self)^.clr := $00100000;
  30443. end;
  30444. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30445. begin
  30446. if thebits = 0 then
  30447. pTDefRegMap(@Self)^.clr := $00100000
  30448. else
  30449. pTDefRegMap(@Self)^.&set := $00100000;
  30450. end;
  30451. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30452. begin
  30453. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30454. end;
  30455. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30456. begin
  30457. pTDefRegMap(@Self)^.&set := $00200000;
  30458. end;
  30459. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30460. begin
  30461. pTDefRegMap(@Self)^.clr := $00200000;
  30462. end;
  30463. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30464. begin
  30465. if thebits = 0 then
  30466. pTDefRegMap(@Self)^.clr := $00200000
  30467. else
  30468. pTDefRegMap(@Self)^.&set := $00200000;
  30469. end;
  30470. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30471. begin
  30472. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30473. end;
  30474. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30475. begin
  30476. pTDefRegMap(@Self)^.&set := $00400000;
  30477. end;
  30478. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30479. begin
  30480. pTDefRegMap(@Self)^.clr := $00400000;
  30481. end;
  30482. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30483. begin
  30484. if thebits = 0 then
  30485. pTDefRegMap(@Self)^.clr := $00400000
  30486. else
  30487. pTDefRegMap(@Self)^.&set := $00400000;
  30488. end;
  30489. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30490. begin
  30491. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30492. end;
  30493. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30494. begin
  30495. pTDefRegMap(@Self)^.&set := $00800000;
  30496. end;
  30497. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30498. begin
  30499. pTDefRegMap(@Self)^.clr := $00800000;
  30500. end;
  30501. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  30502. begin
  30503. if thebits = 0 then
  30504. pTDefRegMap(@Self)^.clr := $00800000
  30505. else
  30506. pTDefRegMap(@Self)^.&set := $00800000;
  30507. end;
  30508. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  30509. begin
  30510. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30511. end;
  30512. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  30513. begin
  30514. pTDefRegMap(@Self)^.val := thebits;
  30515. end;
  30516. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  30517. begin
  30518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30519. end;
  30520. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  30521. begin
  30522. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30523. end;
  30524. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  30525. begin
  30526. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30527. end;
  30528. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  30529. begin
  30530. pTDefRegMap(@Self)^.&set := $00000004;
  30531. end;
  30532. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  30533. begin
  30534. pTDefRegMap(@Self)^.clr := $00000004;
  30535. end;
  30536. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  30537. begin
  30538. if thebits = 0 then
  30539. pTDefRegMap(@Self)^.clr := $00000004
  30540. else
  30541. pTDefRegMap(@Self)^.&set := $00000004;
  30542. end;
  30543. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  30544. begin
  30545. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30546. end;
  30547. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  30548. begin
  30549. pTDefRegMap(@Self)^.&set := $00000010;
  30550. end;
  30551. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  30552. begin
  30553. pTDefRegMap(@Self)^.clr := $00000010;
  30554. end;
  30555. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  30556. begin
  30557. if thebits = 0 then
  30558. pTDefRegMap(@Self)^.clr := $00000010
  30559. else
  30560. pTDefRegMap(@Self)^.&set := $00000010;
  30561. end;
  30562. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  30563. begin
  30564. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30565. end;
  30566. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  30567. begin
  30568. pTDefRegMap(@Self)^.&set := $00000020;
  30569. end;
  30570. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  30571. begin
  30572. pTDefRegMap(@Self)^.clr := $00000020;
  30573. end;
  30574. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  30575. begin
  30576. if thebits = 0 then
  30577. pTDefRegMap(@Self)^.clr := $00000020
  30578. else
  30579. pTDefRegMap(@Self)^.&set := $00000020;
  30580. end;
  30581. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  30582. begin
  30583. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30584. end;
  30585. procedure TDMAC2_DCH2CON.setCHAED; inline;
  30586. begin
  30587. pTDefRegMap(@Self)^.&set := $00000040;
  30588. end;
  30589. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  30590. begin
  30591. pTDefRegMap(@Self)^.clr := $00000040;
  30592. end;
  30593. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  30594. begin
  30595. if thebits = 0 then
  30596. pTDefRegMap(@Self)^.clr := $00000040
  30597. else
  30598. pTDefRegMap(@Self)^.&set := $00000040;
  30599. end;
  30600. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  30601. begin
  30602. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30603. end;
  30604. procedure TDMAC2_DCH2CON.setCHEN; inline;
  30605. begin
  30606. pTDefRegMap(@Self)^.&set := $00000080;
  30607. end;
  30608. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  30609. begin
  30610. pTDefRegMap(@Self)^.clr := $00000080;
  30611. end;
  30612. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  30613. begin
  30614. if thebits = 0 then
  30615. pTDefRegMap(@Self)^.clr := $00000080
  30616. else
  30617. pTDefRegMap(@Self)^.&set := $00000080;
  30618. end;
  30619. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  30620. begin
  30621. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30622. end;
  30623. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  30624. begin
  30625. pTDefRegMap(@Self)^.&set := $00000100;
  30626. end;
  30627. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  30628. begin
  30629. pTDefRegMap(@Self)^.clr := $00000100;
  30630. end;
  30631. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  30632. begin
  30633. if thebits = 0 then
  30634. pTDefRegMap(@Self)^.clr := $00000100
  30635. else
  30636. pTDefRegMap(@Self)^.&set := $00000100;
  30637. end;
  30638. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  30639. begin
  30640. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30641. end;
  30642. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  30643. begin
  30644. pTDefRegMap(@Self)^.&set := $00008000;
  30645. end;
  30646. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  30647. begin
  30648. pTDefRegMap(@Self)^.clr := $00008000;
  30649. end;
  30650. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  30651. begin
  30652. if thebits = 0 then
  30653. pTDefRegMap(@Self)^.clr := $00008000
  30654. else
  30655. pTDefRegMap(@Self)^.&set := $00008000;
  30656. end;
  30657. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  30658. begin
  30659. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30660. end;
  30661. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  30662. begin
  30663. pTDefRegMap(@Self)^.val := thebits;
  30664. end;
  30665. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  30666. begin
  30667. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30668. end;
  30669. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  30670. begin
  30671. pTDefRegMap(@Self)^.&set := $00000008;
  30672. end;
  30673. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  30674. begin
  30675. pTDefRegMap(@Self)^.clr := $00000008;
  30676. end;
  30677. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  30678. begin
  30679. if thebits = 0 then
  30680. pTDefRegMap(@Self)^.clr := $00000008
  30681. else
  30682. pTDefRegMap(@Self)^.&set := $00000008;
  30683. end;
  30684. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  30685. begin
  30686. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30687. end;
  30688. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  30689. begin
  30690. pTDefRegMap(@Self)^.&set := $00000010;
  30691. end;
  30692. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  30693. begin
  30694. pTDefRegMap(@Self)^.clr := $00000010;
  30695. end;
  30696. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  30697. begin
  30698. if thebits = 0 then
  30699. pTDefRegMap(@Self)^.clr := $00000010
  30700. else
  30701. pTDefRegMap(@Self)^.&set := $00000010;
  30702. end;
  30703. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  30704. begin
  30705. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30706. end;
  30707. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  30708. begin
  30709. pTDefRegMap(@Self)^.&set := $00000020;
  30710. end;
  30711. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  30712. begin
  30713. pTDefRegMap(@Self)^.clr := $00000020;
  30714. end;
  30715. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  30716. begin
  30717. if thebits = 0 then
  30718. pTDefRegMap(@Self)^.clr := $00000020
  30719. else
  30720. pTDefRegMap(@Self)^.&set := $00000020;
  30721. end;
  30722. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  30723. begin
  30724. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30725. end;
  30726. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  30727. begin
  30728. pTDefRegMap(@Self)^.&set := $00000040;
  30729. end;
  30730. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  30731. begin
  30732. pTDefRegMap(@Self)^.clr := $00000040;
  30733. end;
  30734. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  30735. begin
  30736. if thebits = 0 then
  30737. pTDefRegMap(@Self)^.clr := $00000040
  30738. else
  30739. pTDefRegMap(@Self)^.&set := $00000040;
  30740. end;
  30741. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  30742. begin
  30743. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30744. end;
  30745. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  30746. begin
  30747. pTDefRegMap(@Self)^.&set := $00000080;
  30748. end;
  30749. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  30750. begin
  30751. pTDefRegMap(@Self)^.clr := $00000080;
  30752. end;
  30753. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  30754. begin
  30755. if thebits = 0 then
  30756. pTDefRegMap(@Self)^.clr := $00000080
  30757. else
  30758. pTDefRegMap(@Self)^.&set := $00000080;
  30759. end;
  30760. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  30761. begin
  30762. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30763. end;
  30764. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  30765. begin
  30766. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30767. end;
  30768. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  30769. begin
  30770. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30771. end;
  30772. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  30773. begin
  30774. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30775. end;
  30776. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  30777. begin
  30778. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30779. end;
  30780. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  30781. begin
  30782. pTDefRegMap(@Self)^.val := thebits;
  30783. end;
  30784. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  30785. begin
  30786. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30787. end;
  30788. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  30789. begin
  30790. pTDefRegMap(@Self)^.&set := $00000001;
  30791. end;
  30792. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  30793. begin
  30794. pTDefRegMap(@Self)^.clr := $00000001;
  30795. end;
  30796. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  30797. begin
  30798. if thebits = 0 then
  30799. pTDefRegMap(@Self)^.clr := $00000001
  30800. else
  30801. pTDefRegMap(@Self)^.&set := $00000001;
  30802. end;
  30803. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  30804. begin
  30805. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30806. end;
  30807. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  30808. begin
  30809. pTDefRegMap(@Self)^.&set := $00000002;
  30810. end;
  30811. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  30812. begin
  30813. pTDefRegMap(@Self)^.clr := $00000002;
  30814. end;
  30815. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  30816. begin
  30817. if thebits = 0 then
  30818. pTDefRegMap(@Self)^.clr := $00000002
  30819. else
  30820. pTDefRegMap(@Self)^.&set := $00000002;
  30821. end;
  30822. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  30823. begin
  30824. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30825. end;
  30826. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  30827. begin
  30828. pTDefRegMap(@Self)^.&set := $00000004;
  30829. end;
  30830. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  30831. begin
  30832. pTDefRegMap(@Self)^.clr := $00000004;
  30833. end;
  30834. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  30835. begin
  30836. if thebits = 0 then
  30837. pTDefRegMap(@Self)^.clr := $00000004
  30838. else
  30839. pTDefRegMap(@Self)^.&set := $00000004;
  30840. end;
  30841. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  30842. begin
  30843. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30844. end;
  30845. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  30846. begin
  30847. pTDefRegMap(@Self)^.&set := $00000008;
  30848. end;
  30849. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  30850. begin
  30851. pTDefRegMap(@Self)^.clr := $00000008;
  30852. end;
  30853. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  30854. begin
  30855. if thebits = 0 then
  30856. pTDefRegMap(@Self)^.clr := $00000008
  30857. else
  30858. pTDefRegMap(@Self)^.&set := $00000008;
  30859. end;
  30860. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  30861. begin
  30862. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30863. end;
  30864. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  30865. begin
  30866. pTDefRegMap(@Self)^.&set := $00000010;
  30867. end;
  30868. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  30869. begin
  30870. pTDefRegMap(@Self)^.clr := $00000010;
  30871. end;
  30872. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  30873. begin
  30874. if thebits = 0 then
  30875. pTDefRegMap(@Self)^.clr := $00000010
  30876. else
  30877. pTDefRegMap(@Self)^.&set := $00000010;
  30878. end;
  30879. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  30880. begin
  30881. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30882. end;
  30883. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  30884. begin
  30885. pTDefRegMap(@Self)^.&set := $00000020;
  30886. end;
  30887. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  30888. begin
  30889. pTDefRegMap(@Self)^.clr := $00000020;
  30890. end;
  30891. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  30892. begin
  30893. if thebits = 0 then
  30894. pTDefRegMap(@Self)^.clr := $00000020
  30895. else
  30896. pTDefRegMap(@Self)^.&set := $00000020;
  30897. end;
  30898. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  30899. begin
  30900. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30901. end;
  30902. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  30903. begin
  30904. pTDefRegMap(@Self)^.&set := $00000040;
  30905. end;
  30906. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  30907. begin
  30908. pTDefRegMap(@Self)^.clr := $00000040;
  30909. end;
  30910. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  30911. begin
  30912. if thebits = 0 then
  30913. pTDefRegMap(@Self)^.clr := $00000040
  30914. else
  30915. pTDefRegMap(@Self)^.&set := $00000040;
  30916. end;
  30917. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  30918. begin
  30919. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30920. end;
  30921. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  30922. begin
  30923. pTDefRegMap(@Self)^.&set := $00000080;
  30924. end;
  30925. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  30926. begin
  30927. pTDefRegMap(@Self)^.clr := $00000080;
  30928. end;
  30929. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  30930. begin
  30931. if thebits = 0 then
  30932. pTDefRegMap(@Self)^.clr := $00000080
  30933. else
  30934. pTDefRegMap(@Self)^.&set := $00000080;
  30935. end;
  30936. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  30937. begin
  30938. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30939. end;
  30940. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  30941. begin
  30942. pTDefRegMap(@Self)^.&set := $00010000;
  30943. end;
  30944. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  30945. begin
  30946. pTDefRegMap(@Self)^.clr := $00010000;
  30947. end;
  30948. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  30949. begin
  30950. if thebits = 0 then
  30951. pTDefRegMap(@Self)^.clr := $00010000
  30952. else
  30953. pTDefRegMap(@Self)^.&set := $00010000;
  30954. end;
  30955. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  30956. begin
  30957. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30958. end;
  30959. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  30960. begin
  30961. pTDefRegMap(@Self)^.&set := $00020000;
  30962. end;
  30963. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  30964. begin
  30965. pTDefRegMap(@Self)^.clr := $00020000;
  30966. end;
  30967. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  30968. begin
  30969. if thebits = 0 then
  30970. pTDefRegMap(@Self)^.clr := $00020000
  30971. else
  30972. pTDefRegMap(@Self)^.&set := $00020000;
  30973. end;
  30974. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  30975. begin
  30976. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30977. end;
  30978. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  30979. begin
  30980. pTDefRegMap(@Self)^.&set := $00040000;
  30981. end;
  30982. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  30983. begin
  30984. pTDefRegMap(@Self)^.clr := $00040000;
  30985. end;
  30986. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  30987. begin
  30988. if thebits = 0 then
  30989. pTDefRegMap(@Self)^.clr := $00040000
  30990. else
  30991. pTDefRegMap(@Self)^.&set := $00040000;
  30992. end;
  30993. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  30994. begin
  30995. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30996. end;
  30997. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  30998. begin
  30999. pTDefRegMap(@Self)^.&set := $00080000;
  31000. end;
  31001. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31002. begin
  31003. pTDefRegMap(@Self)^.clr := $00080000;
  31004. end;
  31005. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31006. begin
  31007. if thebits = 0 then
  31008. pTDefRegMap(@Self)^.clr := $00080000
  31009. else
  31010. pTDefRegMap(@Self)^.&set := $00080000;
  31011. end;
  31012. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31013. begin
  31014. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31015. end;
  31016. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31017. begin
  31018. pTDefRegMap(@Self)^.&set := $00100000;
  31019. end;
  31020. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31021. begin
  31022. pTDefRegMap(@Self)^.clr := $00100000;
  31023. end;
  31024. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31025. begin
  31026. if thebits = 0 then
  31027. pTDefRegMap(@Self)^.clr := $00100000
  31028. else
  31029. pTDefRegMap(@Self)^.&set := $00100000;
  31030. end;
  31031. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31032. begin
  31033. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31034. end;
  31035. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31036. begin
  31037. pTDefRegMap(@Self)^.&set := $00200000;
  31038. end;
  31039. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31040. begin
  31041. pTDefRegMap(@Self)^.clr := $00200000;
  31042. end;
  31043. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31044. begin
  31045. if thebits = 0 then
  31046. pTDefRegMap(@Self)^.clr := $00200000
  31047. else
  31048. pTDefRegMap(@Self)^.&set := $00200000;
  31049. end;
  31050. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31051. begin
  31052. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31053. end;
  31054. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31055. begin
  31056. pTDefRegMap(@Self)^.&set := $00400000;
  31057. end;
  31058. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31059. begin
  31060. pTDefRegMap(@Self)^.clr := $00400000;
  31061. end;
  31062. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31063. begin
  31064. if thebits = 0 then
  31065. pTDefRegMap(@Self)^.clr := $00400000
  31066. else
  31067. pTDefRegMap(@Self)^.&set := $00400000;
  31068. end;
  31069. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31070. begin
  31071. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31072. end;
  31073. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31074. begin
  31075. pTDefRegMap(@Self)^.&set := $00800000;
  31076. end;
  31077. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31078. begin
  31079. pTDefRegMap(@Self)^.clr := $00800000;
  31080. end;
  31081. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31082. begin
  31083. if thebits = 0 then
  31084. pTDefRegMap(@Self)^.clr := $00800000
  31085. else
  31086. pTDefRegMap(@Self)^.&set := $00800000;
  31087. end;
  31088. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31089. begin
  31090. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31091. end;
  31092. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31093. begin
  31094. pTDefRegMap(@Self)^.val := thebits;
  31095. end;
  31096. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31097. begin
  31098. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31099. end;
  31100. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31101. begin
  31102. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31103. end;
  31104. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31105. begin
  31106. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31107. end;
  31108. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31109. begin
  31110. pTDefRegMap(@Self)^.&set := $00000004;
  31111. end;
  31112. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31113. begin
  31114. pTDefRegMap(@Self)^.clr := $00000004;
  31115. end;
  31116. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31117. begin
  31118. if thebits = 0 then
  31119. pTDefRegMap(@Self)^.clr := $00000004
  31120. else
  31121. pTDefRegMap(@Self)^.&set := $00000004;
  31122. end;
  31123. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31124. begin
  31125. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31126. end;
  31127. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31128. begin
  31129. pTDefRegMap(@Self)^.&set := $00000010;
  31130. end;
  31131. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31132. begin
  31133. pTDefRegMap(@Self)^.clr := $00000010;
  31134. end;
  31135. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31136. begin
  31137. if thebits = 0 then
  31138. pTDefRegMap(@Self)^.clr := $00000010
  31139. else
  31140. pTDefRegMap(@Self)^.&set := $00000010;
  31141. end;
  31142. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31143. begin
  31144. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31145. end;
  31146. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31147. begin
  31148. pTDefRegMap(@Self)^.&set := $00000020;
  31149. end;
  31150. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31151. begin
  31152. pTDefRegMap(@Self)^.clr := $00000020;
  31153. end;
  31154. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31155. begin
  31156. if thebits = 0 then
  31157. pTDefRegMap(@Self)^.clr := $00000020
  31158. else
  31159. pTDefRegMap(@Self)^.&set := $00000020;
  31160. end;
  31161. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31162. begin
  31163. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31164. end;
  31165. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31166. begin
  31167. pTDefRegMap(@Self)^.&set := $00000040;
  31168. end;
  31169. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31170. begin
  31171. pTDefRegMap(@Self)^.clr := $00000040;
  31172. end;
  31173. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31174. begin
  31175. if thebits = 0 then
  31176. pTDefRegMap(@Self)^.clr := $00000040
  31177. else
  31178. pTDefRegMap(@Self)^.&set := $00000040;
  31179. end;
  31180. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31181. begin
  31182. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31183. end;
  31184. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31185. begin
  31186. pTDefRegMap(@Self)^.&set := $00000080;
  31187. end;
  31188. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31189. begin
  31190. pTDefRegMap(@Self)^.clr := $00000080;
  31191. end;
  31192. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31193. begin
  31194. if thebits = 0 then
  31195. pTDefRegMap(@Self)^.clr := $00000080
  31196. else
  31197. pTDefRegMap(@Self)^.&set := $00000080;
  31198. end;
  31199. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31200. begin
  31201. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31202. end;
  31203. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31204. begin
  31205. pTDefRegMap(@Self)^.&set := $00000100;
  31206. end;
  31207. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31208. begin
  31209. pTDefRegMap(@Self)^.clr := $00000100;
  31210. end;
  31211. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31212. begin
  31213. if thebits = 0 then
  31214. pTDefRegMap(@Self)^.clr := $00000100
  31215. else
  31216. pTDefRegMap(@Self)^.&set := $00000100;
  31217. end;
  31218. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31219. begin
  31220. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31221. end;
  31222. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31223. begin
  31224. pTDefRegMap(@Self)^.&set := $00008000;
  31225. end;
  31226. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31227. begin
  31228. pTDefRegMap(@Self)^.clr := $00008000;
  31229. end;
  31230. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31231. begin
  31232. if thebits = 0 then
  31233. pTDefRegMap(@Self)^.clr := $00008000
  31234. else
  31235. pTDefRegMap(@Self)^.&set := $00008000;
  31236. end;
  31237. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31238. begin
  31239. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31240. end;
  31241. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31242. begin
  31243. pTDefRegMap(@Self)^.val := thebits;
  31244. end;
  31245. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31246. begin
  31247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31248. end;
  31249. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31250. begin
  31251. pTDefRegMap(@Self)^.&set := $00000008;
  31252. end;
  31253. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31254. begin
  31255. pTDefRegMap(@Self)^.clr := $00000008;
  31256. end;
  31257. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31258. begin
  31259. if thebits = 0 then
  31260. pTDefRegMap(@Self)^.clr := $00000008
  31261. else
  31262. pTDefRegMap(@Self)^.&set := $00000008;
  31263. end;
  31264. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31265. begin
  31266. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31267. end;
  31268. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31269. begin
  31270. pTDefRegMap(@Self)^.&set := $00000010;
  31271. end;
  31272. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31273. begin
  31274. pTDefRegMap(@Self)^.clr := $00000010;
  31275. end;
  31276. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31277. begin
  31278. if thebits = 0 then
  31279. pTDefRegMap(@Self)^.clr := $00000010
  31280. else
  31281. pTDefRegMap(@Self)^.&set := $00000010;
  31282. end;
  31283. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31284. begin
  31285. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31286. end;
  31287. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31288. begin
  31289. pTDefRegMap(@Self)^.&set := $00000020;
  31290. end;
  31291. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31292. begin
  31293. pTDefRegMap(@Self)^.clr := $00000020;
  31294. end;
  31295. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31296. begin
  31297. if thebits = 0 then
  31298. pTDefRegMap(@Self)^.clr := $00000020
  31299. else
  31300. pTDefRegMap(@Self)^.&set := $00000020;
  31301. end;
  31302. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31303. begin
  31304. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31305. end;
  31306. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31307. begin
  31308. pTDefRegMap(@Self)^.&set := $00000040;
  31309. end;
  31310. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31311. begin
  31312. pTDefRegMap(@Self)^.clr := $00000040;
  31313. end;
  31314. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31315. begin
  31316. if thebits = 0 then
  31317. pTDefRegMap(@Self)^.clr := $00000040
  31318. else
  31319. pTDefRegMap(@Self)^.&set := $00000040;
  31320. end;
  31321. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31322. begin
  31323. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31324. end;
  31325. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31326. begin
  31327. pTDefRegMap(@Self)^.&set := $00000080;
  31328. end;
  31329. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31330. begin
  31331. pTDefRegMap(@Self)^.clr := $00000080;
  31332. end;
  31333. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31334. begin
  31335. if thebits = 0 then
  31336. pTDefRegMap(@Self)^.clr := $00000080
  31337. else
  31338. pTDefRegMap(@Self)^.&set := $00000080;
  31339. end;
  31340. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31341. begin
  31342. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31343. end;
  31344. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31345. begin
  31346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31347. end;
  31348. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31349. begin
  31350. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31351. end;
  31352. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31353. begin
  31354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31355. end;
  31356. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31357. begin
  31358. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31359. end;
  31360. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31361. begin
  31362. pTDefRegMap(@Self)^.val := thebits;
  31363. end;
  31364. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31365. begin
  31366. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31367. end;
  31368. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31369. begin
  31370. pTDefRegMap(@Self)^.&set := $00000001;
  31371. end;
  31372. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31373. begin
  31374. pTDefRegMap(@Self)^.clr := $00000001;
  31375. end;
  31376. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31377. begin
  31378. if thebits = 0 then
  31379. pTDefRegMap(@Self)^.clr := $00000001
  31380. else
  31381. pTDefRegMap(@Self)^.&set := $00000001;
  31382. end;
  31383. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31384. begin
  31385. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31386. end;
  31387. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31388. begin
  31389. pTDefRegMap(@Self)^.&set := $00000002;
  31390. end;
  31391. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31392. begin
  31393. pTDefRegMap(@Self)^.clr := $00000002;
  31394. end;
  31395. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31396. begin
  31397. if thebits = 0 then
  31398. pTDefRegMap(@Self)^.clr := $00000002
  31399. else
  31400. pTDefRegMap(@Self)^.&set := $00000002;
  31401. end;
  31402. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31403. begin
  31404. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31405. end;
  31406. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31407. begin
  31408. pTDefRegMap(@Self)^.&set := $00000004;
  31409. end;
  31410. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31411. begin
  31412. pTDefRegMap(@Self)^.clr := $00000004;
  31413. end;
  31414. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31415. begin
  31416. if thebits = 0 then
  31417. pTDefRegMap(@Self)^.clr := $00000004
  31418. else
  31419. pTDefRegMap(@Self)^.&set := $00000004;
  31420. end;
  31421. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31422. begin
  31423. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31424. end;
  31425. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31426. begin
  31427. pTDefRegMap(@Self)^.&set := $00000008;
  31428. end;
  31429. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31430. begin
  31431. pTDefRegMap(@Self)^.clr := $00000008;
  31432. end;
  31433. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31434. begin
  31435. if thebits = 0 then
  31436. pTDefRegMap(@Self)^.clr := $00000008
  31437. else
  31438. pTDefRegMap(@Self)^.&set := $00000008;
  31439. end;
  31440. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31441. begin
  31442. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31443. end;
  31444. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31445. begin
  31446. pTDefRegMap(@Self)^.&set := $00000010;
  31447. end;
  31448. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31449. begin
  31450. pTDefRegMap(@Self)^.clr := $00000010;
  31451. end;
  31452. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31453. begin
  31454. if thebits = 0 then
  31455. pTDefRegMap(@Self)^.clr := $00000010
  31456. else
  31457. pTDefRegMap(@Self)^.&set := $00000010;
  31458. end;
  31459. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31460. begin
  31461. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31462. end;
  31463. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31464. begin
  31465. pTDefRegMap(@Self)^.&set := $00000020;
  31466. end;
  31467. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31468. begin
  31469. pTDefRegMap(@Self)^.clr := $00000020;
  31470. end;
  31471. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31472. begin
  31473. if thebits = 0 then
  31474. pTDefRegMap(@Self)^.clr := $00000020
  31475. else
  31476. pTDefRegMap(@Self)^.&set := $00000020;
  31477. end;
  31478. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31479. begin
  31480. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31481. end;
  31482. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31483. begin
  31484. pTDefRegMap(@Self)^.&set := $00000040;
  31485. end;
  31486. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31487. begin
  31488. pTDefRegMap(@Self)^.clr := $00000040;
  31489. end;
  31490. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31491. begin
  31492. if thebits = 0 then
  31493. pTDefRegMap(@Self)^.clr := $00000040
  31494. else
  31495. pTDefRegMap(@Self)^.&set := $00000040;
  31496. end;
  31497. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31498. begin
  31499. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31500. end;
  31501. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  31502. begin
  31503. pTDefRegMap(@Self)^.&set := $00000080;
  31504. end;
  31505. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  31506. begin
  31507. pTDefRegMap(@Self)^.clr := $00000080;
  31508. end;
  31509. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  31510. begin
  31511. if thebits = 0 then
  31512. pTDefRegMap(@Self)^.clr := $00000080
  31513. else
  31514. pTDefRegMap(@Self)^.&set := $00000080;
  31515. end;
  31516. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  31517. begin
  31518. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31519. end;
  31520. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  31521. begin
  31522. pTDefRegMap(@Self)^.&set := $00010000;
  31523. end;
  31524. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  31525. begin
  31526. pTDefRegMap(@Self)^.clr := $00010000;
  31527. end;
  31528. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  31529. begin
  31530. if thebits = 0 then
  31531. pTDefRegMap(@Self)^.clr := $00010000
  31532. else
  31533. pTDefRegMap(@Self)^.&set := $00010000;
  31534. end;
  31535. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  31536. begin
  31537. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31538. end;
  31539. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  31540. begin
  31541. pTDefRegMap(@Self)^.&set := $00020000;
  31542. end;
  31543. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  31544. begin
  31545. pTDefRegMap(@Self)^.clr := $00020000;
  31546. end;
  31547. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  31548. begin
  31549. if thebits = 0 then
  31550. pTDefRegMap(@Self)^.clr := $00020000
  31551. else
  31552. pTDefRegMap(@Self)^.&set := $00020000;
  31553. end;
  31554. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  31555. begin
  31556. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31557. end;
  31558. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  31559. begin
  31560. pTDefRegMap(@Self)^.&set := $00040000;
  31561. end;
  31562. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  31563. begin
  31564. pTDefRegMap(@Self)^.clr := $00040000;
  31565. end;
  31566. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  31567. begin
  31568. if thebits = 0 then
  31569. pTDefRegMap(@Self)^.clr := $00040000
  31570. else
  31571. pTDefRegMap(@Self)^.&set := $00040000;
  31572. end;
  31573. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  31574. begin
  31575. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31576. end;
  31577. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  31578. begin
  31579. pTDefRegMap(@Self)^.&set := $00080000;
  31580. end;
  31581. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  31582. begin
  31583. pTDefRegMap(@Self)^.clr := $00080000;
  31584. end;
  31585. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  31586. begin
  31587. if thebits = 0 then
  31588. pTDefRegMap(@Self)^.clr := $00080000
  31589. else
  31590. pTDefRegMap(@Self)^.&set := $00080000;
  31591. end;
  31592. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  31593. begin
  31594. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31595. end;
  31596. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  31597. begin
  31598. pTDefRegMap(@Self)^.&set := $00100000;
  31599. end;
  31600. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  31601. begin
  31602. pTDefRegMap(@Self)^.clr := $00100000;
  31603. end;
  31604. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  31605. begin
  31606. if thebits = 0 then
  31607. pTDefRegMap(@Self)^.clr := $00100000
  31608. else
  31609. pTDefRegMap(@Self)^.&set := $00100000;
  31610. end;
  31611. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  31612. begin
  31613. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31614. end;
  31615. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  31616. begin
  31617. pTDefRegMap(@Self)^.&set := $00200000;
  31618. end;
  31619. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  31620. begin
  31621. pTDefRegMap(@Self)^.clr := $00200000;
  31622. end;
  31623. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  31624. begin
  31625. if thebits = 0 then
  31626. pTDefRegMap(@Self)^.clr := $00200000
  31627. else
  31628. pTDefRegMap(@Self)^.&set := $00200000;
  31629. end;
  31630. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  31631. begin
  31632. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31633. end;
  31634. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  31635. begin
  31636. pTDefRegMap(@Self)^.&set := $00400000;
  31637. end;
  31638. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  31639. begin
  31640. pTDefRegMap(@Self)^.clr := $00400000;
  31641. end;
  31642. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  31643. begin
  31644. if thebits = 0 then
  31645. pTDefRegMap(@Self)^.clr := $00400000
  31646. else
  31647. pTDefRegMap(@Self)^.&set := $00400000;
  31648. end;
  31649. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  31650. begin
  31651. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31652. end;
  31653. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  31654. begin
  31655. pTDefRegMap(@Self)^.&set := $00800000;
  31656. end;
  31657. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  31658. begin
  31659. pTDefRegMap(@Self)^.clr := $00800000;
  31660. end;
  31661. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  31662. begin
  31663. if thebits = 0 then
  31664. pTDefRegMap(@Self)^.clr := $00800000
  31665. else
  31666. pTDefRegMap(@Self)^.&set := $00800000;
  31667. end;
  31668. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  31669. begin
  31670. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31671. end;
  31672. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  31673. begin
  31674. pTDefRegMap(@Self)^.val := thebits;
  31675. end;
  31676. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  31677. begin
  31678. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31679. end;
  31680. procedure TDMAC3_U1IR.setURSTIF_DETACHIF; inline;
  31681. begin
  31682. pTDefRegMap(@Self)^.&set := $00000001;
  31683. end;
  31684. procedure TDMAC3_U1IR.clearURSTIF_DETACHIF; inline;
  31685. begin
  31686. pTDefRegMap(@Self)^.clr := $00000001;
  31687. end;
  31688. procedure TDMAC3_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  31689. begin
  31690. if thebits = 0 then
  31691. pTDefRegMap(@Self)^.clr := $00000001
  31692. else
  31693. pTDefRegMap(@Self)^.&set := $00000001;
  31694. end;
  31695. function TDMAC3_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  31696. begin
  31697. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31698. end;
  31699. procedure TDMAC3_U1IR.setUERRIF; inline;
  31700. begin
  31701. pTDefRegMap(@Self)^.&set := $00000002;
  31702. end;
  31703. procedure TDMAC3_U1IR.clearUERRIF; inline;
  31704. begin
  31705. pTDefRegMap(@Self)^.clr := $00000002;
  31706. end;
  31707. procedure TDMAC3_U1IR.setUERRIF(thebits : TBits_1); inline;
  31708. begin
  31709. if thebits = 0 then
  31710. pTDefRegMap(@Self)^.clr := $00000002
  31711. else
  31712. pTDefRegMap(@Self)^.&set := $00000002;
  31713. end;
  31714. function TDMAC3_U1IR.getUERRIF : TBits_1; inline;
  31715. begin
  31716. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31717. end;
  31718. procedure TDMAC3_U1IR.setSOFIF; inline;
  31719. begin
  31720. pTDefRegMap(@Self)^.&set := $00000004;
  31721. end;
  31722. procedure TDMAC3_U1IR.clearSOFIF; inline;
  31723. begin
  31724. pTDefRegMap(@Self)^.clr := $00000004;
  31725. end;
  31726. procedure TDMAC3_U1IR.setSOFIF(thebits : TBits_1); inline;
  31727. begin
  31728. if thebits = 0 then
  31729. pTDefRegMap(@Self)^.clr := $00000004
  31730. else
  31731. pTDefRegMap(@Self)^.&set := $00000004;
  31732. end;
  31733. function TDMAC3_U1IR.getSOFIF : TBits_1; inline;
  31734. begin
  31735. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31736. end;
  31737. procedure TDMAC3_U1IR.setTRNIF; inline;
  31738. begin
  31739. pTDefRegMap(@Self)^.&set := $00000008;
  31740. end;
  31741. procedure TDMAC3_U1IR.clearTRNIF; inline;
  31742. begin
  31743. pTDefRegMap(@Self)^.clr := $00000008;
  31744. end;
  31745. procedure TDMAC3_U1IR.setTRNIF(thebits : TBits_1); inline;
  31746. begin
  31747. if thebits = 0 then
  31748. pTDefRegMap(@Self)^.clr := $00000008
  31749. else
  31750. pTDefRegMap(@Self)^.&set := $00000008;
  31751. end;
  31752. function TDMAC3_U1IR.getTRNIF : TBits_1; inline;
  31753. begin
  31754. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31755. end;
  31756. procedure TDMAC3_U1IR.setIDLEIF; inline;
  31757. begin
  31758. pTDefRegMap(@Self)^.&set := $00000010;
  31759. end;
  31760. procedure TDMAC3_U1IR.clearIDLEIF; inline;
  31761. begin
  31762. pTDefRegMap(@Self)^.clr := $00000010;
  31763. end;
  31764. procedure TDMAC3_U1IR.setIDLEIF(thebits : TBits_1); inline;
  31765. begin
  31766. if thebits = 0 then
  31767. pTDefRegMap(@Self)^.clr := $00000010
  31768. else
  31769. pTDefRegMap(@Self)^.&set := $00000010;
  31770. end;
  31771. function TDMAC3_U1IR.getIDLEIF : TBits_1; inline;
  31772. begin
  31773. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31774. end;
  31775. procedure TDMAC3_U1IR.setRESUMEIF; inline;
  31776. begin
  31777. pTDefRegMap(@Self)^.&set := $00000020;
  31778. end;
  31779. procedure TDMAC3_U1IR.clearRESUMEIF; inline;
  31780. begin
  31781. pTDefRegMap(@Self)^.clr := $00000020;
  31782. end;
  31783. procedure TDMAC3_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  31784. begin
  31785. if thebits = 0 then
  31786. pTDefRegMap(@Self)^.clr := $00000020
  31787. else
  31788. pTDefRegMap(@Self)^.&set := $00000020;
  31789. end;
  31790. function TDMAC3_U1IR.getRESUMEIF : TBits_1; inline;
  31791. begin
  31792. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31793. end;
  31794. procedure TDMAC3_U1IR.setATTACHIF; inline;
  31795. begin
  31796. pTDefRegMap(@Self)^.&set := $00000040;
  31797. end;
  31798. procedure TDMAC3_U1IR.clearATTACHIF; inline;
  31799. begin
  31800. pTDefRegMap(@Self)^.clr := $00000040;
  31801. end;
  31802. procedure TDMAC3_U1IR.setATTACHIF(thebits : TBits_1); inline;
  31803. begin
  31804. if thebits = 0 then
  31805. pTDefRegMap(@Self)^.clr := $00000040
  31806. else
  31807. pTDefRegMap(@Self)^.&set := $00000040;
  31808. end;
  31809. function TDMAC3_U1IR.getATTACHIF : TBits_1; inline;
  31810. begin
  31811. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31812. end;
  31813. procedure TDMAC3_U1IR.setSTALLIF; inline;
  31814. begin
  31815. pTDefRegMap(@Self)^.&set := $00000080;
  31816. end;
  31817. procedure TDMAC3_U1IR.clearSTALLIF; inline;
  31818. begin
  31819. pTDefRegMap(@Self)^.clr := $00000080;
  31820. end;
  31821. procedure TDMAC3_U1IR.setSTALLIF(thebits : TBits_1); inline;
  31822. begin
  31823. if thebits = 0 then
  31824. pTDefRegMap(@Self)^.clr := $00000080
  31825. else
  31826. pTDefRegMap(@Self)^.&set := $00000080;
  31827. end;
  31828. function TDMAC3_U1IR.getSTALLIF : TBits_1; inline;
  31829. begin
  31830. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31831. end;
  31832. procedure TDMAC3_U1IR.setDETACHIF; inline;
  31833. begin
  31834. pTDefRegMap(@Self)^.&set := $00000001;
  31835. end;
  31836. procedure TDMAC3_U1IR.clearDETACHIF; inline;
  31837. begin
  31838. pTDefRegMap(@Self)^.clr := $00000001;
  31839. end;
  31840. procedure TDMAC3_U1IR.setDETACHIF(thebits : TBits_1); inline;
  31841. begin
  31842. if thebits = 0 then
  31843. pTDefRegMap(@Self)^.clr := $00000001
  31844. else
  31845. pTDefRegMap(@Self)^.&set := $00000001;
  31846. end;
  31847. function TDMAC3_U1IR.getDETACHIF : TBits_1; inline;
  31848. begin
  31849. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31850. end;
  31851. procedure TDMAC3_U1IR.setURSTIF; inline;
  31852. begin
  31853. pTDefRegMap(@Self)^.&set := $00000001;
  31854. end;
  31855. procedure TDMAC3_U1IR.clearURSTIF; inline;
  31856. begin
  31857. pTDefRegMap(@Self)^.clr := $00000001;
  31858. end;
  31859. procedure TDMAC3_U1IR.setURSTIF(thebits : TBits_1); inline;
  31860. begin
  31861. if thebits = 0 then
  31862. pTDefRegMap(@Self)^.clr := $00000001
  31863. else
  31864. pTDefRegMap(@Self)^.&set := $00000001;
  31865. end;
  31866. function TDMAC3_U1IR.getURSTIF : TBits_1; inline;
  31867. begin
  31868. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31869. end;
  31870. procedure TDMAC3_U1IE.setURSTIE_DETACHIE; inline;
  31871. begin
  31872. pTDefRegMap(@Self)^.&set := $00000001;
  31873. end;
  31874. procedure TDMAC3_U1IE.clearURSTIE_DETACHIE; inline;
  31875. begin
  31876. pTDefRegMap(@Self)^.clr := $00000001;
  31877. end;
  31878. procedure TDMAC3_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  31879. begin
  31880. if thebits = 0 then
  31881. pTDefRegMap(@Self)^.clr := $00000001
  31882. else
  31883. pTDefRegMap(@Self)^.&set := $00000001;
  31884. end;
  31885. function TDMAC3_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  31886. begin
  31887. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31888. end;
  31889. procedure TDMAC3_U1IE.setUERRIE; inline;
  31890. begin
  31891. pTDefRegMap(@Self)^.&set := $00000002;
  31892. end;
  31893. procedure TDMAC3_U1IE.clearUERRIE; inline;
  31894. begin
  31895. pTDefRegMap(@Self)^.clr := $00000002;
  31896. end;
  31897. procedure TDMAC3_U1IE.setUERRIE(thebits : TBits_1); inline;
  31898. begin
  31899. if thebits = 0 then
  31900. pTDefRegMap(@Self)^.clr := $00000002
  31901. else
  31902. pTDefRegMap(@Self)^.&set := $00000002;
  31903. end;
  31904. function TDMAC3_U1IE.getUERRIE : TBits_1; inline;
  31905. begin
  31906. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31907. end;
  31908. procedure TDMAC3_U1IE.setSOFIE; inline;
  31909. begin
  31910. pTDefRegMap(@Self)^.&set := $00000004;
  31911. end;
  31912. procedure TDMAC3_U1IE.clearSOFIE; inline;
  31913. begin
  31914. pTDefRegMap(@Self)^.clr := $00000004;
  31915. end;
  31916. procedure TDMAC3_U1IE.setSOFIE(thebits : TBits_1); inline;
  31917. begin
  31918. if thebits = 0 then
  31919. pTDefRegMap(@Self)^.clr := $00000004
  31920. else
  31921. pTDefRegMap(@Self)^.&set := $00000004;
  31922. end;
  31923. function TDMAC3_U1IE.getSOFIE : TBits_1; inline;
  31924. begin
  31925. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31926. end;
  31927. procedure TDMAC3_U1IE.setTRNIE; inline;
  31928. begin
  31929. pTDefRegMap(@Self)^.&set := $00000008;
  31930. end;
  31931. procedure TDMAC3_U1IE.clearTRNIE; inline;
  31932. begin
  31933. pTDefRegMap(@Self)^.clr := $00000008;
  31934. end;
  31935. procedure TDMAC3_U1IE.setTRNIE(thebits : TBits_1); inline;
  31936. begin
  31937. if thebits = 0 then
  31938. pTDefRegMap(@Self)^.clr := $00000008
  31939. else
  31940. pTDefRegMap(@Self)^.&set := $00000008;
  31941. end;
  31942. function TDMAC3_U1IE.getTRNIE : TBits_1; inline;
  31943. begin
  31944. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31945. end;
  31946. procedure TDMAC3_U1IE.setIDLEIE; inline;
  31947. begin
  31948. pTDefRegMap(@Self)^.&set := $00000010;
  31949. end;
  31950. procedure TDMAC3_U1IE.clearIDLEIE; inline;
  31951. begin
  31952. pTDefRegMap(@Self)^.clr := $00000010;
  31953. end;
  31954. procedure TDMAC3_U1IE.setIDLEIE(thebits : TBits_1); inline;
  31955. begin
  31956. if thebits = 0 then
  31957. pTDefRegMap(@Self)^.clr := $00000010
  31958. else
  31959. pTDefRegMap(@Self)^.&set := $00000010;
  31960. end;
  31961. function TDMAC3_U1IE.getIDLEIE : TBits_1; inline;
  31962. begin
  31963. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31964. end;
  31965. procedure TDMAC3_U1IE.setRESUMEIE; inline;
  31966. begin
  31967. pTDefRegMap(@Self)^.&set := $00000020;
  31968. end;
  31969. procedure TDMAC3_U1IE.clearRESUMEIE; inline;
  31970. begin
  31971. pTDefRegMap(@Self)^.clr := $00000020;
  31972. end;
  31973. procedure TDMAC3_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  31974. begin
  31975. if thebits = 0 then
  31976. pTDefRegMap(@Self)^.clr := $00000020
  31977. else
  31978. pTDefRegMap(@Self)^.&set := $00000020;
  31979. end;
  31980. function TDMAC3_U1IE.getRESUMEIE : TBits_1; inline;
  31981. begin
  31982. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31983. end;
  31984. procedure TDMAC3_U1IE.setATTACHIE; inline;
  31985. begin
  31986. pTDefRegMap(@Self)^.&set := $00000040;
  31987. end;
  31988. procedure TDMAC3_U1IE.clearATTACHIE; inline;
  31989. begin
  31990. pTDefRegMap(@Self)^.clr := $00000040;
  31991. end;
  31992. procedure TDMAC3_U1IE.setATTACHIE(thebits : TBits_1); inline;
  31993. begin
  31994. if thebits = 0 then
  31995. pTDefRegMap(@Self)^.clr := $00000040
  31996. else
  31997. pTDefRegMap(@Self)^.&set := $00000040;
  31998. end;
  31999. function TDMAC3_U1IE.getATTACHIE : TBits_1; inline;
  32000. begin
  32001. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32002. end;
  32003. procedure TDMAC3_U1IE.setSTALLIE; inline;
  32004. begin
  32005. pTDefRegMap(@Self)^.&set := $00000080;
  32006. end;
  32007. procedure TDMAC3_U1IE.clearSTALLIE; inline;
  32008. begin
  32009. pTDefRegMap(@Self)^.clr := $00000080;
  32010. end;
  32011. procedure TDMAC3_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32012. begin
  32013. if thebits = 0 then
  32014. pTDefRegMap(@Self)^.clr := $00000080
  32015. else
  32016. pTDefRegMap(@Self)^.&set := $00000080;
  32017. end;
  32018. function TDMAC3_U1IE.getSTALLIE : TBits_1; inline;
  32019. begin
  32020. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32021. end;
  32022. procedure TDMAC3_U1IE.setDETACHIE; inline;
  32023. begin
  32024. pTDefRegMap(@Self)^.&set := $00000001;
  32025. end;
  32026. procedure TDMAC3_U1IE.clearDETACHIE; inline;
  32027. begin
  32028. pTDefRegMap(@Self)^.clr := $00000001;
  32029. end;
  32030. procedure TDMAC3_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32031. begin
  32032. if thebits = 0 then
  32033. pTDefRegMap(@Self)^.clr := $00000001
  32034. else
  32035. pTDefRegMap(@Self)^.&set := $00000001;
  32036. end;
  32037. function TDMAC3_U1IE.getDETACHIE : TBits_1; inline;
  32038. begin
  32039. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32040. end;
  32041. procedure TDMAC3_U1IE.setURSTIE; inline;
  32042. begin
  32043. pTDefRegMap(@Self)^.&set := $00000001;
  32044. end;
  32045. procedure TDMAC3_U1IE.clearURSTIE; inline;
  32046. begin
  32047. pTDefRegMap(@Self)^.clr := $00000001;
  32048. end;
  32049. procedure TDMAC3_U1IE.setURSTIE(thebits : TBits_1); inline;
  32050. begin
  32051. if thebits = 0 then
  32052. pTDefRegMap(@Self)^.clr := $00000001
  32053. else
  32054. pTDefRegMap(@Self)^.&set := $00000001;
  32055. end;
  32056. function TDMAC3_U1IE.getURSTIE : TBits_1; inline;
  32057. begin
  32058. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32059. end;
  32060. procedure TDMAC3_U1EIR.setPIDEF; inline;
  32061. begin
  32062. pTDefRegMap(@Self)^.&set := $00000001;
  32063. end;
  32064. procedure TDMAC3_U1EIR.clearPIDEF; inline;
  32065. begin
  32066. pTDefRegMap(@Self)^.clr := $00000001;
  32067. end;
  32068. procedure TDMAC3_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32069. begin
  32070. if thebits = 0 then
  32071. pTDefRegMap(@Self)^.clr := $00000001
  32072. else
  32073. pTDefRegMap(@Self)^.&set := $00000001;
  32074. end;
  32075. function TDMAC3_U1EIR.getPIDEF : TBits_1; inline;
  32076. begin
  32077. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32078. end;
  32079. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF; inline;
  32080. begin
  32081. pTDefRegMap(@Self)^.&set := $00000002;
  32082. end;
  32083. procedure TDMAC3_U1EIR.clearCRC5EF_EOFEF; inline;
  32084. begin
  32085. pTDefRegMap(@Self)^.clr := $00000002;
  32086. end;
  32087. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32088. begin
  32089. if thebits = 0 then
  32090. pTDefRegMap(@Self)^.clr := $00000002
  32091. else
  32092. pTDefRegMap(@Self)^.&set := $00000002;
  32093. end;
  32094. function TDMAC3_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32095. begin
  32096. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32097. end;
  32098. procedure TDMAC3_U1EIR.setCRC16EF; inline;
  32099. begin
  32100. pTDefRegMap(@Self)^.&set := $00000004;
  32101. end;
  32102. procedure TDMAC3_U1EIR.clearCRC16EF; inline;
  32103. begin
  32104. pTDefRegMap(@Self)^.clr := $00000004;
  32105. end;
  32106. procedure TDMAC3_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32107. begin
  32108. if thebits = 0 then
  32109. pTDefRegMap(@Self)^.clr := $00000004
  32110. else
  32111. pTDefRegMap(@Self)^.&set := $00000004;
  32112. end;
  32113. function TDMAC3_U1EIR.getCRC16EF : TBits_1; inline;
  32114. begin
  32115. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32116. end;
  32117. procedure TDMAC3_U1EIR.setDFN8EF; inline;
  32118. begin
  32119. pTDefRegMap(@Self)^.&set := $00000008;
  32120. end;
  32121. procedure TDMAC3_U1EIR.clearDFN8EF; inline;
  32122. begin
  32123. pTDefRegMap(@Self)^.clr := $00000008;
  32124. end;
  32125. procedure TDMAC3_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32126. begin
  32127. if thebits = 0 then
  32128. pTDefRegMap(@Self)^.clr := $00000008
  32129. else
  32130. pTDefRegMap(@Self)^.&set := $00000008;
  32131. end;
  32132. function TDMAC3_U1EIR.getDFN8EF : TBits_1; inline;
  32133. begin
  32134. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32135. end;
  32136. procedure TDMAC3_U1EIR.setBTOEF; inline;
  32137. begin
  32138. pTDefRegMap(@Self)^.&set := $00000010;
  32139. end;
  32140. procedure TDMAC3_U1EIR.clearBTOEF; inline;
  32141. begin
  32142. pTDefRegMap(@Self)^.clr := $00000010;
  32143. end;
  32144. procedure TDMAC3_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32145. begin
  32146. if thebits = 0 then
  32147. pTDefRegMap(@Self)^.clr := $00000010
  32148. else
  32149. pTDefRegMap(@Self)^.&set := $00000010;
  32150. end;
  32151. function TDMAC3_U1EIR.getBTOEF : TBits_1; inline;
  32152. begin
  32153. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32154. end;
  32155. procedure TDMAC3_U1EIR.setDMAEF; inline;
  32156. begin
  32157. pTDefRegMap(@Self)^.&set := $00000020;
  32158. end;
  32159. procedure TDMAC3_U1EIR.clearDMAEF; inline;
  32160. begin
  32161. pTDefRegMap(@Self)^.clr := $00000020;
  32162. end;
  32163. procedure TDMAC3_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32164. begin
  32165. if thebits = 0 then
  32166. pTDefRegMap(@Self)^.clr := $00000020
  32167. else
  32168. pTDefRegMap(@Self)^.&set := $00000020;
  32169. end;
  32170. function TDMAC3_U1EIR.getDMAEF : TBits_1; inline;
  32171. begin
  32172. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32173. end;
  32174. procedure TDMAC3_U1EIR.setBMXEF; inline;
  32175. begin
  32176. pTDefRegMap(@Self)^.&set := $00000040;
  32177. end;
  32178. procedure TDMAC3_U1EIR.clearBMXEF; inline;
  32179. begin
  32180. pTDefRegMap(@Self)^.clr := $00000040;
  32181. end;
  32182. procedure TDMAC3_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32183. begin
  32184. if thebits = 0 then
  32185. pTDefRegMap(@Self)^.clr := $00000040
  32186. else
  32187. pTDefRegMap(@Self)^.&set := $00000040;
  32188. end;
  32189. function TDMAC3_U1EIR.getBMXEF : TBits_1; inline;
  32190. begin
  32191. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32192. end;
  32193. procedure TDMAC3_U1EIR.setBTSEF; inline;
  32194. begin
  32195. pTDefRegMap(@Self)^.&set := $00000080;
  32196. end;
  32197. procedure TDMAC3_U1EIR.clearBTSEF; inline;
  32198. begin
  32199. pTDefRegMap(@Self)^.clr := $00000080;
  32200. end;
  32201. procedure TDMAC3_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32202. begin
  32203. if thebits = 0 then
  32204. pTDefRegMap(@Self)^.clr := $00000080
  32205. else
  32206. pTDefRegMap(@Self)^.&set := $00000080;
  32207. end;
  32208. function TDMAC3_U1EIR.getBTSEF : TBits_1; inline;
  32209. begin
  32210. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32211. end;
  32212. procedure TDMAC3_U1EIR.setCRC5EF; inline;
  32213. begin
  32214. pTDefRegMap(@Self)^.&set := $00000002;
  32215. end;
  32216. procedure TDMAC3_U1EIR.clearCRC5EF; inline;
  32217. begin
  32218. pTDefRegMap(@Self)^.clr := $00000002;
  32219. end;
  32220. procedure TDMAC3_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32221. begin
  32222. if thebits = 0 then
  32223. pTDefRegMap(@Self)^.clr := $00000002
  32224. else
  32225. pTDefRegMap(@Self)^.&set := $00000002;
  32226. end;
  32227. function TDMAC3_U1EIR.getCRC5EF : TBits_1; inline;
  32228. begin
  32229. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32230. end;
  32231. procedure TDMAC3_U1EIR.setEOFEF; inline;
  32232. begin
  32233. pTDefRegMap(@Self)^.&set := $00000002;
  32234. end;
  32235. procedure TDMAC3_U1EIR.clearEOFEF; inline;
  32236. begin
  32237. pTDefRegMap(@Self)^.clr := $00000002;
  32238. end;
  32239. procedure TDMAC3_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32240. begin
  32241. if thebits = 0 then
  32242. pTDefRegMap(@Self)^.clr := $00000002
  32243. else
  32244. pTDefRegMap(@Self)^.&set := $00000002;
  32245. end;
  32246. function TDMAC3_U1EIR.getEOFEF : TBits_1; inline;
  32247. begin
  32248. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32249. end;
  32250. procedure TDMAC3_U1EIE.setPIDEE; inline;
  32251. begin
  32252. pTDefRegMap(@Self)^.&set := $00000001;
  32253. end;
  32254. procedure TDMAC3_U1EIE.clearPIDEE; inline;
  32255. begin
  32256. pTDefRegMap(@Self)^.clr := $00000001;
  32257. end;
  32258. procedure TDMAC3_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32259. begin
  32260. if thebits = 0 then
  32261. pTDefRegMap(@Self)^.clr := $00000001
  32262. else
  32263. pTDefRegMap(@Self)^.&set := $00000001;
  32264. end;
  32265. function TDMAC3_U1EIE.getPIDEE : TBits_1; inline;
  32266. begin
  32267. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32268. end;
  32269. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE; inline;
  32270. begin
  32271. pTDefRegMap(@Self)^.&set := $00000002;
  32272. end;
  32273. procedure TDMAC3_U1EIE.clearCRC5EE_EOFEE; inline;
  32274. begin
  32275. pTDefRegMap(@Self)^.clr := $00000002;
  32276. end;
  32277. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32278. begin
  32279. if thebits = 0 then
  32280. pTDefRegMap(@Self)^.clr := $00000002
  32281. else
  32282. pTDefRegMap(@Self)^.&set := $00000002;
  32283. end;
  32284. function TDMAC3_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32285. begin
  32286. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32287. end;
  32288. procedure TDMAC3_U1EIE.setCRC16EE; inline;
  32289. begin
  32290. pTDefRegMap(@Self)^.&set := $00000004;
  32291. end;
  32292. procedure TDMAC3_U1EIE.clearCRC16EE; inline;
  32293. begin
  32294. pTDefRegMap(@Self)^.clr := $00000004;
  32295. end;
  32296. procedure TDMAC3_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32297. begin
  32298. if thebits = 0 then
  32299. pTDefRegMap(@Self)^.clr := $00000004
  32300. else
  32301. pTDefRegMap(@Self)^.&set := $00000004;
  32302. end;
  32303. function TDMAC3_U1EIE.getCRC16EE : TBits_1; inline;
  32304. begin
  32305. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32306. end;
  32307. procedure TDMAC3_U1EIE.setDFN8EE; inline;
  32308. begin
  32309. pTDefRegMap(@Self)^.&set := $00000008;
  32310. end;
  32311. procedure TDMAC3_U1EIE.clearDFN8EE; inline;
  32312. begin
  32313. pTDefRegMap(@Self)^.clr := $00000008;
  32314. end;
  32315. procedure TDMAC3_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32316. begin
  32317. if thebits = 0 then
  32318. pTDefRegMap(@Self)^.clr := $00000008
  32319. else
  32320. pTDefRegMap(@Self)^.&set := $00000008;
  32321. end;
  32322. function TDMAC3_U1EIE.getDFN8EE : TBits_1; inline;
  32323. begin
  32324. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32325. end;
  32326. procedure TDMAC3_U1EIE.setBTOEE; inline;
  32327. begin
  32328. pTDefRegMap(@Self)^.&set := $00000010;
  32329. end;
  32330. procedure TDMAC3_U1EIE.clearBTOEE; inline;
  32331. begin
  32332. pTDefRegMap(@Self)^.clr := $00000010;
  32333. end;
  32334. procedure TDMAC3_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32335. begin
  32336. if thebits = 0 then
  32337. pTDefRegMap(@Self)^.clr := $00000010
  32338. else
  32339. pTDefRegMap(@Self)^.&set := $00000010;
  32340. end;
  32341. function TDMAC3_U1EIE.getBTOEE : TBits_1; inline;
  32342. begin
  32343. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32344. end;
  32345. procedure TDMAC3_U1EIE.setDMAEE; inline;
  32346. begin
  32347. pTDefRegMap(@Self)^.&set := $00000020;
  32348. end;
  32349. procedure TDMAC3_U1EIE.clearDMAEE; inline;
  32350. begin
  32351. pTDefRegMap(@Self)^.clr := $00000020;
  32352. end;
  32353. procedure TDMAC3_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32354. begin
  32355. if thebits = 0 then
  32356. pTDefRegMap(@Self)^.clr := $00000020
  32357. else
  32358. pTDefRegMap(@Self)^.&set := $00000020;
  32359. end;
  32360. function TDMAC3_U1EIE.getDMAEE : TBits_1; inline;
  32361. begin
  32362. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32363. end;
  32364. procedure TDMAC3_U1EIE.setBMXEE; inline;
  32365. begin
  32366. pTDefRegMap(@Self)^.&set := $00000040;
  32367. end;
  32368. procedure TDMAC3_U1EIE.clearBMXEE; inline;
  32369. begin
  32370. pTDefRegMap(@Self)^.clr := $00000040;
  32371. end;
  32372. procedure TDMAC3_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32373. begin
  32374. if thebits = 0 then
  32375. pTDefRegMap(@Self)^.clr := $00000040
  32376. else
  32377. pTDefRegMap(@Self)^.&set := $00000040;
  32378. end;
  32379. function TDMAC3_U1EIE.getBMXEE : TBits_1; inline;
  32380. begin
  32381. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32382. end;
  32383. procedure TDMAC3_U1EIE.setBTSEE; inline;
  32384. begin
  32385. pTDefRegMap(@Self)^.&set := $00000080;
  32386. end;
  32387. procedure TDMAC3_U1EIE.clearBTSEE; inline;
  32388. begin
  32389. pTDefRegMap(@Self)^.clr := $00000080;
  32390. end;
  32391. procedure TDMAC3_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32392. begin
  32393. if thebits = 0 then
  32394. pTDefRegMap(@Self)^.clr := $00000080
  32395. else
  32396. pTDefRegMap(@Self)^.&set := $00000080;
  32397. end;
  32398. function TDMAC3_U1EIE.getBTSEE : TBits_1; inline;
  32399. begin
  32400. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32401. end;
  32402. procedure TDMAC3_U1EIE.setCRC5EE; inline;
  32403. begin
  32404. pTDefRegMap(@Self)^.&set := $00000002;
  32405. end;
  32406. procedure TDMAC3_U1EIE.clearCRC5EE; inline;
  32407. begin
  32408. pTDefRegMap(@Self)^.clr := $00000002;
  32409. end;
  32410. procedure TDMAC3_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32411. begin
  32412. if thebits = 0 then
  32413. pTDefRegMap(@Self)^.clr := $00000002
  32414. else
  32415. pTDefRegMap(@Self)^.&set := $00000002;
  32416. end;
  32417. function TDMAC3_U1EIE.getCRC5EE : TBits_1; inline;
  32418. begin
  32419. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32420. end;
  32421. procedure TDMAC3_U1EIE.setEOFEE; inline;
  32422. begin
  32423. pTDefRegMap(@Self)^.&set := $00000002;
  32424. end;
  32425. procedure TDMAC3_U1EIE.clearEOFEE; inline;
  32426. begin
  32427. pTDefRegMap(@Self)^.clr := $00000002;
  32428. end;
  32429. procedure TDMAC3_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32430. begin
  32431. if thebits = 0 then
  32432. pTDefRegMap(@Self)^.clr := $00000002
  32433. else
  32434. pTDefRegMap(@Self)^.&set := $00000002;
  32435. end;
  32436. function TDMAC3_U1EIE.getEOFEE : TBits_1; inline;
  32437. begin
  32438. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32439. end;
  32440. procedure TDMAC3_U1STAT.setPPBI; inline;
  32441. begin
  32442. pTDefRegMap(@Self)^.&set := $00000004;
  32443. end;
  32444. procedure TDMAC3_U1STAT.clearPPBI; inline;
  32445. begin
  32446. pTDefRegMap(@Self)^.clr := $00000004;
  32447. end;
  32448. procedure TDMAC3_U1STAT.setPPBI(thebits : TBits_1); inline;
  32449. begin
  32450. if thebits = 0 then
  32451. pTDefRegMap(@Self)^.clr := $00000004
  32452. else
  32453. pTDefRegMap(@Self)^.&set := $00000004;
  32454. end;
  32455. function TDMAC3_U1STAT.getPPBI : TBits_1; inline;
  32456. begin
  32457. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32458. end;
  32459. procedure TDMAC3_U1STAT.setDIR; inline;
  32460. begin
  32461. pTDefRegMap(@Self)^.&set := $00000008;
  32462. end;
  32463. procedure TDMAC3_U1STAT.clearDIR; inline;
  32464. begin
  32465. pTDefRegMap(@Self)^.clr := $00000008;
  32466. end;
  32467. procedure TDMAC3_U1STAT.setDIR(thebits : TBits_1); inline;
  32468. begin
  32469. if thebits = 0 then
  32470. pTDefRegMap(@Self)^.clr := $00000008
  32471. else
  32472. pTDefRegMap(@Self)^.&set := $00000008;
  32473. end;
  32474. function TDMAC3_U1STAT.getDIR : TBits_1; inline;
  32475. begin
  32476. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32477. end;
  32478. procedure TDMAC3_U1STAT.setENDPT(thebits : TBits_4); inline;
  32479. begin
  32480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32481. end;
  32482. function TDMAC3_U1STAT.getENDPT : TBits_4; inline;
  32483. begin
  32484. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32485. end;
  32486. procedure TDMAC3_U1STAT.setENDPT0; inline;
  32487. begin
  32488. pTDefRegMap(@Self)^.&set := $00000010;
  32489. end;
  32490. procedure TDMAC3_U1STAT.clearENDPT0; inline;
  32491. begin
  32492. pTDefRegMap(@Self)^.clr := $00000010;
  32493. end;
  32494. procedure TDMAC3_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32495. begin
  32496. if thebits = 0 then
  32497. pTDefRegMap(@Self)^.clr := $00000010
  32498. else
  32499. pTDefRegMap(@Self)^.&set := $00000010;
  32500. end;
  32501. function TDMAC3_U1STAT.getENDPT0 : TBits_1; inline;
  32502. begin
  32503. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32504. end;
  32505. procedure TDMAC3_U1STAT.setENDPT1; inline;
  32506. begin
  32507. pTDefRegMap(@Self)^.&set := $00000020;
  32508. end;
  32509. procedure TDMAC3_U1STAT.clearENDPT1; inline;
  32510. begin
  32511. pTDefRegMap(@Self)^.clr := $00000020;
  32512. end;
  32513. procedure TDMAC3_U1STAT.setENDPT1(thebits : TBits_1); inline;
  32514. begin
  32515. if thebits = 0 then
  32516. pTDefRegMap(@Self)^.clr := $00000020
  32517. else
  32518. pTDefRegMap(@Self)^.&set := $00000020;
  32519. end;
  32520. function TDMAC3_U1STAT.getENDPT1 : TBits_1; inline;
  32521. begin
  32522. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32523. end;
  32524. procedure TDMAC3_U1STAT.setENDPT2; inline;
  32525. begin
  32526. pTDefRegMap(@Self)^.&set := $00000040;
  32527. end;
  32528. procedure TDMAC3_U1STAT.clearENDPT2; inline;
  32529. begin
  32530. pTDefRegMap(@Self)^.clr := $00000040;
  32531. end;
  32532. procedure TDMAC3_U1STAT.setENDPT2(thebits : TBits_1); inline;
  32533. begin
  32534. if thebits = 0 then
  32535. pTDefRegMap(@Self)^.clr := $00000040
  32536. else
  32537. pTDefRegMap(@Self)^.&set := $00000040;
  32538. end;
  32539. function TDMAC3_U1STAT.getENDPT2 : TBits_1; inline;
  32540. begin
  32541. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32542. end;
  32543. procedure TDMAC3_U1STAT.setENDPT3; inline;
  32544. begin
  32545. pTDefRegMap(@Self)^.&set := $00000080;
  32546. end;
  32547. procedure TDMAC3_U1STAT.clearENDPT3; inline;
  32548. begin
  32549. pTDefRegMap(@Self)^.clr := $00000080;
  32550. end;
  32551. procedure TDMAC3_U1STAT.setENDPT3(thebits : TBits_1); inline;
  32552. begin
  32553. if thebits = 0 then
  32554. pTDefRegMap(@Self)^.clr := $00000080
  32555. else
  32556. pTDefRegMap(@Self)^.&set := $00000080;
  32557. end;
  32558. function TDMAC3_U1STAT.getENDPT3 : TBits_1; inline;
  32559. begin
  32560. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32561. end;
  32562. procedure TDMAC3_U1CON.setUSBEN_SOFEN; inline;
  32563. begin
  32564. pTDefRegMap(@Self)^.&set := $00000001;
  32565. end;
  32566. procedure TDMAC3_U1CON.clearUSBEN_SOFEN; inline;
  32567. begin
  32568. pTDefRegMap(@Self)^.clr := $00000001;
  32569. end;
  32570. procedure TDMAC3_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  32571. begin
  32572. if thebits = 0 then
  32573. pTDefRegMap(@Self)^.clr := $00000001
  32574. else
  32575. pTDefRegMap(@Self)^.&set := $00000001;
  32576. end;
  32577. function TDMAC3_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  32578. begin
  32579. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32580. end;
  32581. procedure TDMAC3_U1CON.setPPBRST; inline;
  32582. begin
  32583. pTDefRegMap(@Self)^.&set := $00000002;
  32584. end;
  32585. procedure TDMAC3_U1CON.clearPPBRST; inline;
  32586. begin
  32587. pTDefRegMap(@Self)^.clr := $00000002;
  32588. end;
  32589. procedure TDMAC3_U1CON.setPPBRST(thebits : TBits_1); inline;
  32590. begin
  32591. if thebits = 0 then
  32592. pTDefRegMap(@Self)^.clr := $00000002
  32593. else
  32594. pTDefRegMap(@Self)^.&set := $00000002;
  32595. end;
  32596. function TDMAC3_U1CON.getPPBRST : TBits_1; inline;
  32597. begin
  32598. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32599. end;
  32600. procedure TDMAC3_U1CON.setRESUME; inline;
  32601. begin
  32602. pTDefRegMap(@Self)^.&set := $00000004;
  32603. end;
  32604. procedure TDMAC3_U1CON.clearRESUME; inline;
  32605. begin
  32606. pTDefRegMap(@Self)^.clr := $00000004;
  32607. end;
  32608. procedure TDMAC3_U1CON.setRESUME(thebits : TBits_1); inline;
  32609. begin
  32610. if thebits = 0 then
  32611. pTDefRegMap(@Self)^.clr := $00000004
  32612. else
  32613. pTDefRegMap(@Self)^.&set := $00000004;
  32614. end;
  32615. function TDMAC3_U1CON.getRESUME : TBits_1; inline;
  32616. begin
  32617. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32618. end;
  32619. procedure TDMAC3_U1CON.setHOSTEN; inline;
  32620. begin
  32621. pTDefRegMap(@Self)^.&set := $00000008;
  32622. end;
  32623. procedure TDMAC3_U1CON.clearHOSTEN; inline;
  32624. begin
  32625. pTDefRegMap(@Self)^.clr := $00000008;
  32626. end;
  32627. procedure TDMAC3_U1CON.setHOSTEN(thebits : TBits_1); inline;
  32628. begin
  32629. if thebits = 0 then
  32630. pTDefRegMap(@Self)^.clr := $00000008
  32631. else
  32632. pTDefRegMap(@Self)^.&set := $00000008;
  32633. end;
  32634. function TDMAC3_U1CON.getHOSTEN : TBits_1; inline;
  32635. begin
  32636. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32637. end;
  32638. procedure TDMAC3_U1CON.setUSBRST; inline;
  32639. begin
  32640. pTDefRegMap(@Self)^.&set := $00000010;
  32641. end;
  32642. procedure TDMAC3_U1CON.clearUSBRST; inline;
  32643. begin
  32644. pTDefRegMap(@Self)^.clr := $00000010;
  32645. end;
  32646. procedure TDMAC3_U1CON.setUSBRST(thebits : TBits_1); inline;
  32647. begin
  32648. if thebits = 0 then
  32649. pTDefRegMap(@Self)^.clr := $00000010
  32650. else
  32651. pTDefRegMap(@Self)^.&set := $00000010;
  32652. end;
  32653. function TDMAC3_U1CON.getUSBRST : TBits_1; inline;
  32654. begin
  32655. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32656. end;
  32657. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY; inline;
  32658. begin
  32659. pTDefRegMap(@Self)^.&set := $00000020;
  32660. end;
  32661. procedure TDMAC3_U1CON.clearPKTDIS_TOKBUSY; inline;
  32662. begin
  32663. pTDefRegMap(@Self)^.clr := $00000020;
  32664. end;
  32665. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  32666. begin
  32667. if thebits = 0 then
  32668. pTDefRegMap(@Self)^.clr := $00000020
  32669. else
  32670. pTDefRegMap(@Self)^.&set := $00000020;
  32671. end;
  32672. function TDMAC3_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  32673. begin
  32674. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32675. end;
  32676. procedure TDMAC3_U1CON.setSE0; inline;
  32677. begin
  32678. pTDefRegMap(@Self)^.&set := $00000040;
  32679. end;
  32680. procedure TDMAC3_U1CON.clearSE0; inline;
  32681. begin
  32682. pTDefRegMap(@Self)^.clr := $00000040;
  32683. end;
  32684. procedure TDMAC3_U1CON.setSE0(thebits : TBits_1); inline;
  32685. begin
  32686. if thebits = 0 then
  32687. pTDefRegMap(@Self)^.clr := $00000040
  32688. else
  32689. pTDefRegMap(@Self)^.&set := $00000040;
  32690. end;
  32691. function TDMAC3_U1CON.getSE0 : TBits_1; inline;
  32692. begin
  32693. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32694. end;
  32695. procedure TDMAC3_U1CON.setJSTATE; inline;
  32696. begin
  32697. pTDefRegMap(@Self)^.&set := $00000080;
  32698. end;
  32699. procedure TDMAC3_U1CON.clearJSTATE; inline;
  32700. begin
  32701. pTDefRegMap(@Self)^.clr := $00000080;
  32702. end;
  32703. procedure TDMAC3_U1CON.setJSTATE(thebits : TBits_1); inline;
  32704. begin
  32705. if thebits = 0 then
  32706. pTDefRegMap(@Self)^.clr := $00000080
  32707. else
  32708. pTDefRegMap(@Self)^.&set := $00000080;
  32709. end;
  32710. function TDMAC3_U1CON.getJSTATE : TBits_1; inline;
  32711. begin
  32712. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32713. end;
  32714. procedure TDMAC3_U1CON.setUSBEN; inline;
  32715. begin
  32716. pTDefRegMap(@Self)^.&set := $00000001;
  32717. end;
  32718. procedure TDMAC3_U1CON.clearUSBEN; inline;
  32719. begin
  32720. pTDefRegMap(@Self)^.clr := $00000001;
  32721. end;
  32722. procedure TDMAC3_U1CON.setUSBEN(thebits : TBits_1); inline;
  32723. begin
  32724. if thebits = 0 then
  32725. pTDefRegMap(@Self)^.clr := $00000001
  32726. else
  32727. pTDefRegMap(@Self)^.&set := $00000001;
  32728. end;
  32729. function TDMAC3_U1CON.getUSBEN : TBits_1; inline;
  32730. begin
  32731. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32732. end;
  32733. procedure TDMAC3_U1CON.setSOFEN; inline;
  32734. begin
  32735. pTDefRegMap(@Self)^.&set := $00000001;
  32736. end;
  32737. procedure TDMAC3_U1CON.clearSOFEN; inline;
  32738. begin
  32739. pTDefRegMap(@Self)^.clr := $00000001;
  32740. end;
  32741. procedure TDMAC3_U1CON.setSOFEN(thebits : TBits_1); inline;
  32742. begin
  32743. if thebits = 0 then
  32744. pTDefRegMap(@Self)^.clr := $00000001
  32745. else
  32746. pTDefRegMap(@Self)^.&set := $00000001;
  32747. end;
  32748. function TDMAC3_U1CON.getSOFEN : TBits_1; inline;
  32749. begin
  32750. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32751. end;
  32752. procedure TDMAC3_U1CON.setPKTDIS; inline;
  32753. begin
  32754. pTDefRegMap(@Self)^.&set := $00000020;
  32755. end;
  32756. procedure TDMAC3_U1CON.clearPKTDIS; inline;
  32757. begin
  32758. pTDefRegMap(@Self)^.clr := $00000020;
  32759. end;
  32760. procedure TDMAC3_U1CON.setPKTDIS(thebits : TBits_1); inline;
  32761. begin
  32762. if thebits = 0 then
  32763. pTDefRegMap(@Self)^.clr := $00000020
  32764. else
  32765. pTDefRegMap(@Self)^.&set := $00000020;
  32766. end;
  32767. function TDMAC3_U1CON.getPKTDIS : TBits_1; inline;
  32768. begin
  32769. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32770. end;
  32771. procedure TDMAC3_U1CON.setTOKBUSY; inline;
  32772. begin
  32773. pTDefRegMap(@Self)^.&set := $00000020;
  32774. end;
  32775. procedure TDMAC3_U1CON.clearTOKBUSY; inline;
  32776. begin
  32777. pTDefRegMap(@Self)^.clr := $00000020;
  32778. end;
  32779. procedure TDMAC3_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  32780. begin
  32781. if thebits = 0 then
  32782. pTDefRegMap(@Self)^.clr := $00000020
  32783. else
  32784. pTDefRegMap(@Self)^.&set := $00000020;
  32785. end;
  32786. function TDMAC3_U1CON.getTOKBUSY : TBits_1; inline;
  32787. begin
  32788. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32789. end;
  32790. procedure TDMAC3_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  32791. begin
  32792. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  32793. end;
  32794. function TDMAC3_U1ADDR.getDEVADDR : TBits_7; inline;
  32795. begin
  32796. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  32797. end;
  32798. procedure TDMAC3_U1ADDR.setLSPDEN; inline;
  32799. begin
  32800. pTDefRegMap(@Self)^.&set := $00000080;
  32801. end;
  32802. procedure TDMAC3_U1ADDR.clearLSPDEN; inline;
  32803. begin
  32804. pTDefRegMap(@Self)^.clr := $00000080;
  32805. end;
  32806. procedure TDMAC3_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  32807. begin
  32808. if thebits = 0 then
  32809. pTDefRegMap(@Self)^.clr := $00000080
  32810. else
  32811. pTDefRegMap(@Self)^.&set := $00000080;
  32812. end;
  32813. function TDMAC3_U1ADDR.getLSPDEN : TBits_1; inline;
  32814. begin
  32815. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32816. end;
  32817. procedure TDMAC3_U1ADDR.setDEVADDR0; inline;
  32818. begin
  32819. pTDefRegMap(@Self)^.&set := $00000001;
  32820. end;
  32821. procedure TDMAC3_U1ADDR.clearDEVADDR0; inline;
  32822. begin
  32823. pTDefRegMap(@Self)^.clr := $00000001;
  32824. end;
  32825. procedure TDMAC3_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  32826. begin
  32827. if thebits = 0 then
  32828. pTDefRegMap(@Self)^.clr := $00000001
  32829. else
  32830. pTDefRegMap(@Self)^.&set := $00000001;
  32831. end;
  32832. function TDMAC3_U1ADDR.getDEVADDR0 : TBits_1; inline;
  32833. begin
  32834. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32835. end;
  32836. procedure TDMAC3_U1ADDR.setDEVADDR1; inline;
  32837. begin
  32838. pTDefRegMap(@Self)^.&set := $00000002;
  32839. end;
  32840. procedure TDMAC3_U1ADDR.clearDEVADDR1; inline;
  32841. begin
  32842. pTDefRegMap(@Self)^.clr := $00000002;
  32843. end;
  32844. procedure TDMAC3_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  32845. begin
  32846. if thebits = 0 then
  32847. pTDefRegMap(@Self)^.clr := $00000002
  32848. else
  32849. pTDefRegMap(@Self)^.&set := $00000002;
  32850. end;
  32851. function TDMAC3_U1ADDR.getDEVADDR1 : TBits_1; inline;
  32852. begin
  32853. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32854. end;
  32855. procedure TDMAC3_U1ADDR.setDEVADDR2; inline;
  32856. begin
  32857. pTDefRegMap(@Self)^.&set := $00000004;
  32858. end;
  32859. procedure TDMAC3_U1ADDR.clearDEVADDR2; inline;
  32860. begin
  32861. pTDefRegMap(@Self)^.clr := $00000004;
  32862. end;
  32863. procedure TDMAC3_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  32864. begin
  32865. if thebits = 0 then
  32866. pTDefRegMap(@Self)^.clr := $00000004
  32867. else
  32868. pTDefRegMap(@Self)^.&set := $00000004;
  32869. end;
  32870. function TDMAC3_U1ADDR.getDEVADDR2 : TBits_1; inline;
  32871. begin
  32872. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32873. end;
  32874. procedure TDMAC3_U1ADDR.setDEVADDR3; inline;
  32875. begin
  32876. pTDefRegMap(@Self)^.&set := $00000008;
  32877. end;
  32878. procedure TDMAC3_U1ADDR.clearDEVADDR3; inline;
  32879. begin
  32880. pTDefRegMap(@Self)^.clr := $00000008;
  32881. end;
  32882. procedure TDMAC3_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  32883. begin
  32884. if thebits = 0 then
  32885. pTDefRegMap(@Self)^.clr := $00000008
  32886. else
  32887. pTDefRegMap(@Self)^.&set := $00000008;
  32888. end;
  32889. function TDMAC3_U1ADDR.getDEVADDR3 : TBits_1; inline;
  32890. begin
  32891. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32892. end;
  32893. procedure TDMAC3_U1ADDR.setDEVADDR4; inline;
  32894. begin
  32895. pTDefRegMap(@Self)^.&set := $00000010;
  32896. end;
  32897. procedure TDMAC3_U1ADDR.clearDEVADDR4; inline;
  32898. begin
  32899. pTDefRegMap(@Self)^.clr := $00000010;
  32900. end;
  32901. procedure TDMAC3_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  32902. begin
  32903. if thebits = 0 then
  32904. pTDefRegMap(@Self)^.clr := $00000010
  32905. else
  32906. pTDefRegMap(@Self)^.&set := $00000010;
  32907. end;
  32908. function TDMAC3_U1ADDR.getDEVADDR4 : TBits_1; inline;
  32909. begin
  32910. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32911. end;
  32912. procedure TDMAC3_U1ADDR.setDEVADDR5; inline;
  32913. begin
  32914. pTDefRegMap(@Self)^.&set := $00000020;
  32915. end;
  32916. procedure TDMAC3_U1ADDR.clearDEVADDR5; inline;
  32917. begin
  32918. pTDefRegMap(@Self)^.clr := $00000020;
  32919. end;
  32920. procedure TDMAC3_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  32921. begin
  32922. if thebits = 0 then
  32923. pTDefRegMap(@Self)^.clr := $00000020
  32924. else
  32925. pTDefRegMap(@Self)^.&set := $00000020;
  32926. end;
  32927. function TDMAC3_U1ADDR.getDEVADDR5 : TBits_1; inline;
  32928. begin
  32929. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32930. end;
  32931. procedure TDMAC3_U1ADDR.setDEVADDR6; inline;
  32932. begin
  32933. pTDefRegMap(@Self)^.&set := $00000040;
  32934. end;
  32935. procedure TDMAC3_U1ADDR.clearDEVADDR6; inline;
  32936. begin
  32937. pTDefRegMap(@Self)^.clr := $00000040;
  32938. end;
  32939. procedure TDMAC3_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  32940. begin
  32941. if thebits = 0 then
  32942. pTDefRegMap(@Self)^.clr := $00000040
  32943. else
  32944. pTDefRegMap(@Self)^.&set := $00000040;
  32945. end;
  32946. function TDMAC3_U1ADDR.getDEVADDR6 : TBits_1; inline;
  32947. begin
  32948. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32949. end;
  32950. procedure TDMAC3_U1FRML.setFRML(thebits : TBits_8); inline;
  32951. begin
  32952. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  32953. end;
  32954. function TDMAC3_U1FRML.getFRML : TBits_8; inline;
  32955. begin
  32956. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  32957. end;
  32958. procedure TDMAC3_U1FRML.setFRM0; inline;
  32959. begin
  32960. pTDefRegMap(@Self)^.&set := $00000001;
  32961. end;
  32962. procedure TDMAC3_U1FRML.clearFRM0; inline;
  32963. begin
  32964. pTDefRegMap(@Self)^.clr := $00000001;
  32965. end;
  32966. procedure TDMAC3_U1FRML.setFRM0(thebits : TBits_1); inline;
  32967. begin
  32968. if thebits = 0 then
  32969. pTDefRegMap(@Self)^.clr := $00000001
  32970. else
  32971. pTDefRegMap(@Self)^.&set := $00000001;
  32972. end;
  32973. function TDMAC3_U1FRML.getFRM0 : TBits_1; inline;
  32974. begin
  32975. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32976. end;
  32977. procedure TDMAC3_U1FRML.setFRM1; inline;
  32978. begin
  32979. pTDefRegMap(@Self)^.&set := $00000002;
  32980. end;
  32981. procedure TDMAC3_U1FRML.clearFRM1; inline;
  32982. begin
  32983. pTDefRegMap(@Self)^.clr := $00000002;
  32984. end;
  32985. procedure TDMAC3_U1FRML.setFRM1(thebits : TBits_1); inline;
  32986. begin
  32987. if thebits = 0 then
  32988. pTDefRegMap(@Self)^.clr := $00000002
  32989. else
  32990. pTDefRegMap(@Self)^.&set := $00000002;
  32991. end;
  32992. function TDMAC3_U1FRML.getFRM1 : TBits_1; inline;
  32993. begin
  32994. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32995. end;
  32996. procedure TDMAC3_U1FRML.setFRM2; inline;
  32997. begin
  32998. pTDefRegMap(@Self)^.&set := $00000004;
  32999. end;
  33000. procedure TDMAC3_U1FRML.clearFRM2; inline;
  33001. begin
  33002. pTDefRegMap(@Self)^.clr := $00000004;
  33003. end;
  33004. procedure TDMAC3_U1FRML.setFRM2(thebits : TBits_1); inline;
  33005. begin
  33006. if thebits = 0 then
  33007. pTDefRegMap(@Self)^.clr := $00000004
  33008. else
  33009. pTDefRegMap(@Self)^.&set := $00000004;
  33010. end;
  33011. function TDMAC3_U1FRML.getFRM2 : TBits_1; inline;
  33012. begin
  33013. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33014. end;
  33015. procedure TDMAC3_U1FRML.setFRM3; inline;
  33016. begin
  33017. pTDefRegMap(@Self)^.&set := $00000008;
  33018. end;
  33019. procedure TDMAC3_U1FRML.clearFRM3; inline;
  33020. begin
  33021. pTDefRegMap(@Self)^.clr := $00000008;
  33022. end;
  33023. procedure TDMAC3_U1FRML.setFRM3(thebits : TBits_1); inline;
  33024. begin
  33025. if thebits = 0 then
  33026. pTDefRegMap(@Self)^.clr := $00000008
  33027. else
  33028. pTDefRegMap(@Self)^.&set := $00000008;
  33029. end;
  33030. function TDMAC3_U1FRML.getFRM3 : TBits_1; inline;
  33031. begin
  33032. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33033. end;
  33034. procedure TDMAC3_U1FRML.setFRM4; inline;
  33035. begin
  33036. pTDefRegMap(@Self)^.&set := $00000010;
  33037. end;
  33038. procedure TDMAC3_U1FRML.clearFRM4; inline;
  33039. begin
  33040. pTDefRegMap(@Self)^.clr := $00000010;
  33041. end;
  33042. procedure TDMAC3_U1FRML.setFRM4(thebits : TBits_1); inline;
  33043. begin
  33044. if thebits = 0 then
  33045. pTDefRegMap(@Self)^.clr := $00000010
  33046. else
  33047. pTDefRegMap(@Self)^.&set := $00000010;
  33048. end;
  33049. function TDMAC3_U1FRML.getFRM4 : TBits_1; inline;
  33050. begin
  33051. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33052. end;
  33053. procedure TDMAC3_U1FRML.setFRM5; inline;
  33054. begin
  33055. pTDefRegMap(@Self)^.&set := $00000020;
  33056. end;
  33057. procedure TDMAC3_U1FRML.clearFRM5; inline;
  33058. begin
  33059. pTDefRegMap(@Self)^.clr := $00000020;
  33060. end;
  33061. procedure TDMAC3_U1FRML.setFRM5(thebits : TBits_1); inline;
  33062. begin
  33063. if thebits = 0 then
  33064. pTDefRegMap(@Self)^.clr := $00000020
  33065. else
  33066. pTDefRegMap(@Self)^.&set := $00000020;
  33067. end;
  33068. function TDMAC3_U1FRML.getFRM5 : TBits_1; inline;
  33069. begin
  33070. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33071. end;
  33072. procedure TDMAC3_U1FRML.setFRM6; inline;
  33073. begin
  33074. pTDefRegMap(@Self)^.&set := $00000040;
  33075. end;
  33076. procedure TDMAC3_U1FRML.clearFRM6; inline;
  33077. begin
  33078. pTDefRegMap(@Self)^.clr := $00000040;
  33079. end;
  33080. procedure TDMAC3_U1FRML.setFRM6(thebits : TBits_1); inline;
  33081. begin
  33082. if thebits = 0 then
  33083. pTDefRegMap(@Self)^.clr := $00000040
  33084. else
  33085. pTDefRegMap(@Self)^.&set := $00000040;
  33086. end;
  33087. function TDMAC3_U1FRML.getFRM6 : TBits_1; inline;
  33088. begin
  33089. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33090. end;
  33091. procedure TDMAC3_U1FRML.setFRM7; inline;
  33092. begin
  33093. pTDefRegMap(@Self)^.&set := $00000080;
  33094. end;
  33095. procedure TDMAC3_U1FRML.clearFRM7; inline;
  33096. begin
  33097. pTDefRegMap(@Self)^.clr := $00000080;
  33098. end;
  33099. procedure TDMAC3_U1FRML.setFRM7(thebits : TBits_1); inline;
  33100. begin
  33101. if thebits = 0 then
  33102. pTDefRegMap(@Self)^.clr := $00000080
  33103. else
  33104. pTDefRegMap(@Self)^.&set := $00000080;
  33105. end;
  33106. function TDMAC3_U1FRML.getFRM7 : TBits_1; inline;
  33107. begin
  33108. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33109. end;
  33110. procedure TDMAC3_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33111. begin
  33112. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33113. end;
  33114. function TDMAC3_U1FRMH.getFRMH : TBits_3; inline;
  33115. begin
  33116. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33117. end;
  33118. procedure TDMAC3_U1FRMH.setFRM8; inline;
  33119. begin
  33120. pTDefRegMap(@Self)^.&set := $00000001;
  33121. end;
  33122. procedure TDMAC3_U1FRMH.clearFRM8; inline;
  33123. begin
  33124. pTDefRegMap(@Self)^.clr := $00000001;
  33125. end;
  33126. procedure TDMAC3_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33127. begin
  33128. if thebits = 0 then
  33129. pTDefRegMap(@Self)^.clr := $00000001
  33130. else
  33131. pTDefRegMap(@Self)^.&set := $00000001;
  33132. end;
  33133. function TDMAC3_U1FRMH.getFRM8 : TBits_1; inline;
  33134. begin
  33135. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33136. end;
  33137. procedure TDMAC3_U1FRMH.setFRM9; inline;
  33138. begin
  33139. pTDefRegMap(@Self)^.&set := $00000002;
  33140. end;
  33141. procedure TDMAC3_U1FRMH.clearFRM9; inline;
  33142. begin
  33143. pTDefRegMap(@Self)^.clr := $00000002;
  33144. end;
  33145. procedure TDMAC3_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33146. begin
  33147. if thebits = 0 then
  33148. pTDefRegMap(@Self)^.clr := $00000002
  33149. else
  33150. pTDefRegMap(@Self)^.&set := $00000002;
  33151. end;
  33152. function TDMAC3_U1FRMH.getFRM9 : TBits_1; inline;
  33153. begin
  33154. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33155. end;
  33156. procedure TDMAC3_U1FRMH.setFRM10; inline;
  33157. begin
  33158. pTDefRegMap(@Self)^.&set := $00000004;
  33159. end;
  33160. procedure TDMAC3_U1FRMH.clearFRM10; inline;
  33161. begin
  33162. pTDefRegMap(@Self)^.clr := $00000004;
  33163. end;
  33164. procedure TDMAC3_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33165. begin
  33166. if thebits = 0 then
  33167. pTDefRegMap(@Self)^.clr := $00000004
  33168. else
  33169. pTDefRegMap(@Self)^.&set := $00000004;
  33170. end;
  33171. function TDMAC3_U1FRMH.getFRM10 : TBits_1; inline;
  33172. begin
  33173. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33174. end;
  33175. procedure TDMAC3_U1TOK.setEP(thebits : TBits_4); inline;
  33176. begin
  33177. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33178. end;
  33179. function TDMAC3_U1TOK.getEP : TBits_4; inline;
  33180. begin
  33181. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33182. end;
  33183. procedure TDMAC3_U1TOK.setPID(thebits : TBits_4); inline;
  33184. begin
  33185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33186. end;
  33187. function TDMAC3_U1TOK.getPID : TBits_4; inline;
  33188. begin
  33189. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33190. end;
  33191. procedure TDMAC3_U1TOK.setEP0; inline;
  33192. begin
  33193. pTDefRegMap(@Self)^.&set := $00000001;
  33194. end;
  33195. procedure TDMAC3_U1TOK.clearEP0; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.clr := $00000001;
  33198. end;
  33199. procedure TDMAC3_U1TOK.setEP0(thebits : TBits_1); inline;
  33200. begin
  33201. if thebits = 0 then
  33202. pTDefRegMap(@Self)^.clr := $00000001
  33203. else
  33204. pTDefRegMap(@Self)^.&set := $00000001;
  33205. end;
  33206. function TDMAC3_U1TOK.getEP0 : TBits_1; inline;
  33207. begin
  33208. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33209. end;
  33210. procedure TDMAC3_U1TOK.setEP1; inline;
  33211. begin
  33212. pTDefRegMap(@Self)^.&set := $00000002;
  33213. end;
  33214. procedure TDMAC3_U1TOK.clearEP1; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.clr := $00000002;
  33217. end;
  33218. procedure TDMAC3_U1TOK.setEP1(thebits : TBits_1); inline;
  33219. begin
  33220. if thebits = 0 then
  33221. pTDefRegMap(@Self)^.clr := $00000002
  33222. else
  33223. pTDefRegMap(@Self)^.&set := $00000002;
  33224. end;
  33225. function TDMAC3_U1TOK.getEP1 : TBits_1; inline;
  33226. begin
  33227. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33228. end;
  33229. procedure TDMAC3_U1TOK.setEP2; inline;
  33230. begin
  33231. pTDefRegMap(@Self)^.&set := $00000004;
  33232. end;
  33233. procedure TDMAC3_U1TOK.clearEP2; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.clr := $00000004;
  33236. end;
  33237. procedure TDMAC3_U1TOK.setEP2(thebits : TBits_1); inline;
  33238. begin
  33239. if thebits = 0 then
  33240. pTDefRegMap(@Self)^.clr := $00000004
  33241. else
  33242. pTDefRegMap(@Self)^.&set := $00000004;
  33243. end;
  33244. function TDMAC3_U1TOK.getEP2 : TBits_1; inline;
  33245. begin
  33246. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33247. end;
  33248. procedure TDMAC3_U1TOK.setEP3; inline;
  33249. begin
  33250. pTDefRegMap(@Self)^.&set := $00000008;
  33251. end;
  33252. procedure TDMAC3_U1TOK.clearEP3; inline;
  33253. begin
  33254. pTDefRegMap(@Self)^.clr := $00000008;
  33255. end;
  33256. procedure TDMAC3_U1TOK.setEP3(thebits : TBits_1); inline;
  33257. begin
  33258. if thebits = 0 then
  33259. pTDefRegMap(@Self)^.clr := $00000008
  33260. else
  33261. pTDefRegMap(@Self)^.&set := $00000008;
  33262. end;
  33263. function TDMAC3_U1TOK.getEP3 : TBits_1; inline;
  33264. begin
  33265. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33266. end;
  33267. procedure TDMAC3_U1TOK.setPID0; inline;
  33268. begin
  33269. pTDefRegMap(@Self)^.&set := $00000010;
  33270. end;
  33271. procedure TDMAC3_U1TOK.clearPID0; inline;
  33272. begin
  33273. pTDefRegMap(@Self)^.clr := $00000010;
  33274. end;
  33275. procedure TDMAC3_U1TOK.setPID0(thebits : TBits_1); inline;
  33276. begin
  33277. if thebits = 0 then
  33278. pTDefRegMap(@Self)^.clr := $00000010
  33279. else
  33280. pTDefRegMap(@Self)^.&set := $00000010;
  33281. end;
  33282. function TDMAC3_U1TOK.getPID0 : TBits_1; inline;
  33283. begin
  33284. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33285. end;
  33286. procedure TDMAC3_U1TOK.setPID1; inline;
  33287. begin
  33288. pTDefRegMap(@Self)^.&set := $00000020;
  33289. end;
  33290. procedure TDMAC3_U1TOK.clearPID1; inline;
  33291. begin
  33292. pTDefRegMap(@Self)^.clr := $00000020;
  33293. end;
  33294. procedure TDMAC3_U1TOK.setPID1(thebits : TBits_1); inline;
  33295. begin
  33296. if thebits = 0 then
  33297. pTDefRegMap(@Self)^.clr := $00000020
  33298. else
  33299. pTDefRegMap(@Self)^.&set := $00000020;
  33300. end;
  33301. function TDMAC3_U1TOK.getPID1 : TBits_1; inline;
  33302. begin
  33303. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33304. end;
  33305. procedure TDMAC3_U1TOK.setPID2; inline;
  33306. begin
  33307. pTDefRegMap(@Self)^.&set := $00000040;
  33308. end;
  33309. procedure TDMAC3_U1TOK.clearPID2; inline;
  33310. begin
  33311. pTDefRegMap(@Self)^.clr := $00000040;
  33312. end;
  33313. procedure TDMAC3_U1TOK.setPID2(thebits : TBits_1); inline;
  33314. begin
  33315. if thebits = 0 then
  33316. pTDefRegMap(@Self)^.clr := $00000040
  33317. else
  33318. pTDefRegMap(@Self)^.&set := $00000040;
  33319. end;
  33320. function TDMAC3_U1TOK.getPID2 : TBits_1; inline;
  33321. begin
  33322. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33323. end;
  33324. procedure TDMAC3_U1TOK.setPID3; inline;
  33325. begin
  33326. pTDefRegMap(@Self)^.&set := $00000080;
  33327. end;
  33328. procedure TDMAC3_U1TOK.clearPID3; inline;
  33329. begin
  33330. pTDefRegMap(@Self)^.clr := $00000080;
  33331. end;
  33332. procedure TDMAC3_U1TOK.setPID3(thebits : TBits_1); inline;
  33333. begin
  33334. if thebits = 0 then
  33335. pTDefRegMap(@Self)^.clr := $00000080
  33336. else
  33337. pTDefRegMap(@Self)^.&set := $00000080;
  33338. end;
  33339. function TDMAC3_U1TOK.getPID3 : TBits_1; inline;
  33340. begin
  33341. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33342. end;
  33343. procedure TPORTA_ANSELA.setANSA0; inline;
  33344. begin
  33345. pTDefRegMap(@Self)^.&set := $00000001;
  33346. end;
  33347. procedure TPORTA_ANSELA.clearANSA0; inline;
  33348. begin
  33349. pTDefRegMap(@Self)^.clr := $00000001;
  33350. end;
  33351. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33352. begin
  33353. if thebits = 0 then
  33354. pTDefRegMap(@Self)^.clr := $00000001
  33355. else
  33356. pTDefRegMap(@Self)^.&set := $00000001;
  33357. end;
  33358. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33359. begin
  33360. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33361. end;
  33362. procedure TPORTA_ANSELA.setANSA1; inline;
  33363. begin
  33364. pTDefRegMap(@Self)^.&set := $00000002;
  33365. end;
  33366. procedure TPORTA_ANSELA.clearANSA1; inline;
  33367. begin
  33368. pTDefRegMap(@Self)^.clr := $00000002;
  33369. end;
  33370. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33371. begin
  33372. if thebits = 0 then
  33373. pTDefRegMap(@Self)^.clr := $00000002
  33374. else
  33375. pTDefRegMap(@Self)^.&set := $00000002;
  33376. end;
  33377. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33378. begin
  33379. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33380. end;
  33381. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33382. begin
  33383. pTDefRegMap(@Self)^.val := thebits;
  33384. end;
  33385. function TPORTA_ANSELA.getw : TBits_32; inline;
  33386. begin
  33387. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33388. end;
  33389. procedure TPORTA_TRISA.setTRISA0; inline;
  33390. begin
  33391. pTDefRegMap(@Self)^.&set := $00000001;
  33392. end;
  33393. procedure TPORTA_TRISA.clearTRISA0; inline;
  33394. begin
  33395. pTDefRegMap(@Self)^.clr := $00000001;
  33396. end;
  33397. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33398. begin
  33399. if thebits = 0 then
  33400. pTDefRegMap(@Self)^.clr := $00000001
  33401. else
  33402. pTDefRegMap(@Self)^.&set := $00000001;
  33403. end;
  33404. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33405. begin
  33406. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33407. end;
  33408. procedure TPORTA_TRISA.setTRISA1; inline;
  33409. begin
  33410. pTDefRegMap(@Self)^.&set := $00000002;
  33411. end;
  33412. procedure TPORTA_TRISA.clearTRISA1; inline;
  33413. begin
  33414. pTDefRegMap(@Self)^.clr := $00000002;
  33415. end;
  33416. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33417. begin
  33418. if thebits = 0 then
  33419. pTDefRegMap(@Self)^.clr := $00000002
  33420. else
  33421. pTDefRegMap(@Self)^.&set := $00000002;
  33422. end;
  33423. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33424. begin
  33425. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33426. end;
  33427. procedure TPORTA_TRISA.setTRISA2; inline;
  33428. begin
  33429. pTDefRegMap(@Self)^.&set := $00000004;
  33430. end;
  33431. procedure TPORTA_TRISA.clearTRISA2; inline;
  33432. begin
  33433. pTDefRegMap(@Self)^.clr := $00000004;
  33434. end;
  33435. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33436. begin
  33437. if thebits = 0 then
  33438. pTDefRegMap(@Self)^.clr := $00000004
  33439. else
  33440. pTDefRegMap(@Self)^.&set := $00000004;
  33441. end;
  33442. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33443. begin
  33444. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33445. end;
  33446. procedure TPORTA_TRISA.setTRISA3; inline;
  33447. begin
  33448. pTDefRegMap(@Self)^.&set := $00000008;
  33449. end;
  33450. procedure TPORTA_TRISA.clearTRISA3; inline;
  33451. begin
  33452. pTDefRegMap(@Self)^.clr := $00000008;
  33453. end;
  33454. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33455. begin
  33456. if thebits = 0 then
  33457. pTDefRegMap(@Self)^.clr := $00000008
  33458. else
  33459. pTDefRegMap(@Self)^.&set := $00000008;
  33460. end;
  33461. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33462. begin
  33463. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33464. end;
  33465. procedure TPORTA_TRISA.setTRISA4; inline;
  33466. begin
  33467. pTDefRegMap(@Self)^.&set := $00000010;
  33468. end;
  33469. procedure TPORTA_TRISA.clearTRISA4; inline;
  33470. begin
  33471. pTDefRegMap(@Self)^.clr := $00000010;
  33472. end;
  33473. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33474. begin
  33475. if thebits = 0 then
  33476. pTDefRegMap(@Self)^.clr := $00000010
  33477. else
  33478. pTDefRegMap(@Self)^.&set := $00000010;
  33479. end;
  33480. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33481. begin
  33482. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33483. end;
  33484. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33485. begin
  33486. pTDefRegMap(@Self)^.val := thebits;
  33487. end;
  33488. function TPORTA_TRISA.getw : TBits_32; inline;
  33489. begin
  33490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33491. end;
  33492. procedure TPORTA_PORTA.setRA0; inline;
  33493. begin
  33494. pTDefRegMap(@Self)^.&set := $00000001;
  33495. end;
  33496. procedure TPORTA_PORTA.clearRA0; inline;
  33497. begin
  33498. pTDefRegMap(@Self)^.clr := $00000001;
  33499. end;
  33500. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  33501. begin
  33502. if thebits = 0 then
  33503. pTDefRegMap(@Self)^.clr := $00000001
  33504. else
  33505. pTDefRegMap(@Self)^.&set := $00000001;
  33506. end;
  33507. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  33508. begin
  33509. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33510. end;
  33511. procedure TPORTA_PORTA.setRA1; inline;
  33512. begin
  33513. pTDefRegMap(@Self)^.&set := $00000002;
  33514. end;
  33515. procedure TPORTA_PORTA.clearRA1; inline;
  33516. begin
  33517. pTDefRegMap(@Self)^.clr := $00000002;
  33518. end;
  33519. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  33520. begin
  33521. if thebits = 0 then
  33522. pTDefRegMap(@Self)^.clr := $00000002
  33523. else
  33524. pTDefRegMap(@Self)^.&set := $00000002;
  33525. end;
  33526. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  33527. begin
  33528. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33529. end;
  33530. procedure TPORTA_PORTA.setRA2; inline;
  33531. begin
  33532. pTDefRegMap(@Self)^.&set := $00000004;
  33533. end;
  33534. procedure TPORTA_PORTA.clearRA2; inline;
  33535. begin
  33536. pTDefRegMap(@Self)^.clr := $00000004;
  33537. end;
  33538. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  33539. begin
  33540. if thebits = 0 then
  33541. pTDefRegMap(@Self)^.clr := $00000004
  33542. else
  33543. pTDefRegMap(@Self)^.&set := $00000004;
  33544. end;
  33545. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  33546. begin
  33547. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33548. end;
  33549. procedure TPORTA_PORTA.setRA3; inline;
  33550. begin
  33551. pTDefRegMap(@Self)^.&set := $00000008;
  33552. end;
  33553. procedure TPORTA_PORTA.clearRA3; inline;
  33554. begin
  33555. pTDefRegMap(@Self)^.clr := $00000008;
  33556. end;
  33557. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  33558. begin
  33559. if thebits = 0 then
  33560. pTDefRegMap(@Self)^.clr := $00000008
  33561. else
  33562. pTDefRegMap(@Self)^.&set := $00000008;
  33563. end;
  33564. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  33565. begin
  33566. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33567. end;
  33568. procedure TPORTA_PORTA.setRA4; inline;
  33569. begin
  33570. pTDefRegMap(@Self)^.&set := $00000010;
  33571. end;
  33572. procedure TPORTA_PORTA.clearRA4; inline;
  33573. begin
  33574. pTDefRegMap(@Self)^.clr := $00000010;
  33575. end;
  33576. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  33577. begin
  33578. if thebits = 0 then
  33579. pTDefRegMap(@Self)^.clr := $00000010
  33580. else
  33581. pTDefRegMap(@Self)^.&set := $00000010;
  33582. end;
  33583. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  33584. begin
  33585. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33586. end;
  33587. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  33588. begin
  33589. pTDefRegMap(@Self)^.val := thebits;
  33590. end;
  33591. function TPORTA_PORTA.getw : TBits_32; inline;
  33592. begin
  33593. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33594. end;
  33595. procedure TPORTA_LATA.setLATA0; inline;
  33596. begin
  33597. pTDefRegMap(@Self)^.&set := $00000001;
  33598. end;
  33599. procedure TPORTA_LATA.clearLATA0; inline;
  33600. begin
  33601. pTDefRegMap(@Self)^.clr := $00000001;
  33602. end;
  33603. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  33604. begin
  33605. if thebits = 0 then
  33606. pTDefRegMap(@Self)^.clr := $00000001
  33607. else
  33608. pTDefRegMap(@Self)^.&set := $00000001;
  33609. end;
  33610. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  33611. begin
  33612. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33613. end;
  33614. procedure TPORTA_LATA.setLATA1; inline;
  33615. begin
  33616. pTDefRegMap(@Self)^.&set := $00000002;
  33617. end;
  33618. procedure TPORTA_LATA.clearLATA1; inline;
  33619. begin
  33620. pTDefRegMap(@Self)^.clr := $00000002;
  33621. end;
  33622. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  33623. begin
  33624. if thebits = 0 then
  33625. pTDefRegMap(@Self)^.clr := $00000002
  33626. else
  33627. pTDefRegMap(@Self)^.&set := $00000002;
  33628. end;
  33629. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  33630. begin
  33631. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33632. end;
  33633. procedure TPORTA_LATA.setLATA2; inline;
  33634. begin
  33635. pTDefRegMap(@Self)^.&set := $00000004;
  33636. end;
  33637. procedure TPORTA_LATA.clearLATA2; inline;
  33638. begin
  33639. pTDefRegMap(@Self)^.clr := $00000004;
  33640. end;
  33641. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  33642. begin
  33643. if thebits = 0 then
  33644. pTDefRegMap(@Self)^.clr := $00000004
  33645. else
  33646. pTDefRegMap(@Self)^.&set := $00000004;
  33647. end;
  33648. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  33649. begin
  33650. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33651. end;
  33652. procedure TPORTA_LATA.setLATA3; inline;
  33653. begin
  33654. pTDefRegMap(@Self)^.&set := $00000008;
  33655. end;
  33656. procedure TPORTA_LATA.clearLATA3; inline;
  33657. begin
  33658. pTDefRegMap(@Self)^.clr := $00000008;
  33659. end;
  33660. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  33661. begin
  33662. if thebits = 0 then
  33663. pTDefRegMap(@Self)^.clr := $00000008
  33664. else
  33665. pTDefRegMap(@Self)^.&set := $00000008;
  33666. end;
  33667. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  33668. begin
  33669. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33670. end;
  33671. procedure TPORTA_LATA.setLATA4; inline;
  33672. begin
  33673. pTDefRegMap(@Self)^.&set := $00000010;
  33674. end;
  33675. procedure TPORTA_LATA.clearLATA4; inline;
  33676. begin
  33677. pTDefRegMap(@Self)^.clr := $00000010;
  33678. end;
  33679. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  33680. begin
  33681. if thebits = 0 then
  33682. pTDefRegMap(@Self)^.clr := $00000010
  33683. else
  33684. pTDefRegMap(@Self)^.&set := $00000010;
  33685. end;
  33686. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  33687. begin
  33688. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33689. end;
  33690. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  33691. begin
  33692. pTDefRegMap(@Self)^.val := thebits;
  33693. end;
  33694. function TPORTA_LATA.getw : TBits_32; inline;
  33695. begin
  33696. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33697. end;
  33698. procedure TPORTA_CNPUA.setCNPUA0; inline;
  33699. begin
  33700. pTDefRegMap(@Self)^.&set := $00000001;
  33701. end;
  33702. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  33703. begin
  33704. pTDefRegMap(@Self)^.clr := $00000001;
  33705. end;
  33706. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  33707. begin
  33708. if thebits = 0 then
  33709. pTDefRegMap(@Self)^.clr := $00000001
  33710. else
  33711. pTDefRegMap(@Self)^.&set := $00000001;
  33712. end;
  33713. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  33714. begin
  33715. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33716. end;
  33717. procedure TPORTA_CNPUA.setCNPUA1; inline;
  33718. begin
  33719. pTDefRegMap(@Self)^.&set := $00000002;
  33720. end;
  33721. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  33722. begin
  33723. pTDefRegMap(@Self)^.clr := $00000002;
  33724. end;
  33725. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  33726. begin
  33727. if thebits = 0 then
  33728. pTDefRegMap(@Self)^.clr := $00000002
  33729. else
  33730. pTDefRegMap(@Self)^.&set := $00000002;
  33731. end;
  33732. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  33733. begin
  33734. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33735. end;
  33736. procedure TPORTA_CNPUA.setCNPUA2; inline;
  33737. begin
  33738. pTDefRegMap(@Self)^.&set := $00000004;
  33739. end;
  33740. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  33741. begin
  33742. pTDefRegMap(@Self)^.clr := $00000004;
  33743. end;
  33744. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  33745. begin
  33746. if thebits = 0 then
  33747. pTDefRegMap(@Self)^.clr := $00000004
  33748. else
  33749. pTDefRegMap(@Self)^.&set := $00000004;
  33750. end;
  33751. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  33752. begin
  33753. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33754. end;
  33755. procedure TPORTA_CNPUA.setCNPUA3; inline;
  33756. begin
  33757. pTDefRegMap(@Self)^.&set := $00000008;
  33758. end;
  33759. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  33760. begin
  33761. pTDefRegMap(@Self)^.clr := $00000008;
  33762. end;
  33763. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  33764. begin
  33765. if thebits = 0 then
  33766. pTDefRegMap(@Self)^.clr := $00000008
  33767. else
  33768. pTDefRegMap(@Self)^.&set := $00000008;
  33769. end;
  33770. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  33771. begin
  33772. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33773. end;
  33774. procedure TPORTA_CNPUA.setCNPUA4; inline;
  33775. begin
  33776. pTDefRegMap(@Self)^.&set := $00000010;
  33777. end;
  33778. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  33779. begin
  33780. pTDefRegMap(@Self)^.clr := $00000010;
  33781. end;
  33782. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  33783. begin
  33784. if thebits = 0 then
  33785. pTDefRegMap(@Self)^.clr := $00000010
  33786. else
  33787. pTDefRegMap(@Self)^.&set := $00000010;
  33788. end;
  33789. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  33790. begin
  33791. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33792. end;
  33793. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  33794. begin
  33795. pTDefRegMap(@Self)^.val := thebits;
  33796. end;
  33797. function TPORTA_CNPUA.getw : TBits_32; inline;
  33798. begin
  33799. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33800. end;
  33801. procedure TPORTA_CNPDA.setCNPDA0; inline;
  33802. begin
  33803. pTDefRegMap(@Self)^.&set := $00000001;
  33804. end;
  33805. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  33806. begin
  33807. pTDefRegMap(@Self)^.clr := $00000001;
  33808. end;
  33809. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  33810. begin
  33811. if thebits = 0 then
  33812. pTDefRegMap(@Self)^.clr := $00000001
  33813. else
  33814. pTDefRegMap(@Self)^.&set := $00000001;
  33815. end;
  33816. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  33817. begin
  33818. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33819. end;
  33820. procedure TPORTA_CNPDA.setCNPDA1; inline;
  33821. begin
  33822. pTDefRegMap(@Self)^.&set := $00000002;
  33823. end;
  33824. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  33825. begin
  33826. pTDefRegMap(@Self)^.clr := $00000002;
  33827. end;
  33828. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  33829. begin
  33830. if thebits = 0 then
  33831. pTDefRegMap(@Self)^.clr := $00000002
  33832. else
  33833. pTDefRegMap(@Self)^.&set := $00000002;
  33834. end;
  33835. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  33836. begin
  33837. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33838. end;
  33839. procedure TPORTA_CNPDA.setCNPDA2; inline;
  33840. begin
  33841. pTDefRegMap(@Self)^.&set := $00000004;
  33842. end;
  33843. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  33844. begin
  33845. pTDefRegMap(@Self)^.clr := $00000004;
  33846. end;
  33847. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  33848. begin
  33849. if thebits = 0 then
  33850. pTDefRegMap(@Self)^.clr := $00000004
  33851. else
  33852. pTDefRegMap(@Self)^.&set := $00000004;
  33853. end;
  33854. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  33855. begin
  33856. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33857. end;
  33858. procedure TPORTA_CNPDA.setCNPDA3; inline;
  33859. begin
  33860. pTDefRegMap(@Self)^.&set := $00000008;
  33861. end;
  33862. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  33863. begin
  33864. pTDefRegMap(@Self)^.clr := $00000008;
  33865. end;
  33866. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  33867. begin
  33868. if thebits = 0 then
  33869. pTDefRegMap(@Self)^.clr := $00000008
  33870. else
  33871. pTDefRegMap(@Self)^.&set := $00000008;
  33872. end;
  33873. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  33874. begin
  33875. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33876. end;
  33877. procedure TPORTA_CNPDA.setCNPDA4; inline;
  33878. begin
  33879. pTDefRegMap(@Self)^.&set := $00000010;
  33880. end;
  33881. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  33882. begin
  33883. pTDefRegMap(@Self)^.clr := $00000010;
  33884. end;
  33885. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  33886. begin
  33887. if thebits = 0 then
  33888. pTDefRegMap(@Self)^.clr := $00000010
  33889. else
  33890. pTDefRegMap(@Self)^.&set := $00000010;
  33891. end;
  33892. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  33893. begin
  33894. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33895. end;
  33896. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  33897. begin
  33898. pTDefRegMap(@Self)^.val := thebits;
  33899. end;
  33900. function TPORTA_CNPDA.getw : TBits_32; inline;
  33901. begin
  33902. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33903. end;
  33904. procedure TPORTA_CNCONA.setSIDL; inline;
  33905. begin
  33906. pTDefRegMap(@Self)^.&set := $00002000;
  33907. end;
  33908. procedure TPORTA_CNCONA.clearSIDL; inline;
  33909. begin
  33910. pTDefRegMap(@Self)^.clr := $00002000;
  33911. end;
  33912. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  33913. begin
  33914. if thebits = 0 then
  33915. pTDefRegMap(@Self)^.clr := $00002000
  33916. else
  33917. pTDefRegMap(@Self)^.&set := $00002000;
  33918. end;
  33919. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  33920. begin
  33921. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  33922. end;
  33923. procedure TPORTA_CNCONA.setON; inline;
  33924. begin
  33925. pTDefRegMap(@Self)^.&set := $00008000;
  33926. end;
  33927. procedure TPORTA_CNCONA.clearON; inline;
  33928. begin
  33929. pTDefRegMap(@Self)^.clr := $00008000;
  33930. end;
  33931. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  33932. begin
  33933. if thebits = 0 then
  33934. pTDefRegMap(@Self)^.clr := $00008000
  33935. else
  33936. pTDefRegMap(@Self)^.&set := $00008000;
  33937. end;
  33938. function TPORTA_CNCONA.getON : TBits_1; inline;
  33939. begin
  33940. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  33941. end;
  33942. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  33943. begin
  33944. pTDefRegMap(@Self)^.val := thebits;
  33945. end;
  33946. function TPORTA_CNCONA.getw : TBits_32; inline;
  33947. begin
  33948. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33949. end;
  33950. procedure TPORTA_CNENA.setCNIEA0; inline;
  33951. begin
  33952. pTDefRegMap(@Self)^.&set := $00000001;
  33953. end;
  33954. procedure TPORTA_CNENA.clearCNIEA0; inline;
  33955. begin
  33956. pTDefRegMap(@Self)^.clr := $00000001;
  33957. end;
  33958. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  33959. begin
  33960. if thebits = 0 then
  33961. pTDefRegMap(@Self)^.clr := $00000001
  33962. else
  33963. pTDefRegMap(@Self)^.&set := $00000001;
  33964. end;
  33965. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  33966. begin
  33967. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33968. end;
  33969. procedure TPORTA_CNENA.setCNIEA1; inline;
  33970. begin
  33971. pTDefRegMap(@Self)^.&set := $00000002;
  33972. end;
  33973. procedure TPORTA_CNENA.clearCNIEA1; inline;
  33974. begin
  33975. pTDefRegMap(@Self)^.clr := $00000002;
  33976. end;
  33977. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  33978. begin
  33979. if thebits = 0 then
  33980. pTDefRegMap(@Self)^.clr := $00000002
  33981. else
  33982. pTDefRegMap(@Self)^.&set := $00000002;
  33983. end;
  33984. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  33985. begin
  33986. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33987. end;
  33988. procedure TPORTA_CNENA.setCNIEA2; inline;
  33989. begin
  33990. pTDefRegMap(@Self)^.&set := $00000004;
  33991. end;
  33992. procedure TPORTA_CNENA.clearCNIEA2; inline;
  33993. begin
  33994. pTDefRegMap(@Self)^.clr := $00000004;
  33995. end;
  33996. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  33997. begin
  33998. if thebits = 0 then
  33999. pTDefRegMap(@Self)^.clr := $00000004
  34000. else
  34001. pTDefRegMap(@Self)^.&set := $00000004;
  34002. end;
  34003. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34004. begin
  34005. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34006. end;
  34007. procedure TPORTA_CNENA.setCNIEA3; inline;
  34008. begin
  34009. pTDefRegMap(@Self)^.&set := $00000008;
  34010. end;
  34011. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34012. begin
  34013. pTDefRegMap(@Self)^.clr := $00000008;
  34014. end;
  34015. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34016. begin
  34017. if thebits = 0 then
  34018. pTDefRegMap(@Self)^.clr := $00000008
  34019. else
  34020. pTDefRegMap(@Self)^.&set := $00000008;
  34021. end;
  34022. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34023. begin
  34024. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34025. end;
  34026. procedure TPORTA_CNENA.setCNIEA4; inline;
  34027. begin
  34028. pTDefRegMap(@Self)^.&set := $00000010;
  34029. end;
  34030. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34031. begin
  34032. pTDefRegMap(@Self)^.clr := $00000010;
  34033. end;
  34034. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34035. begin
  34036. if thebits = 0 then
  34037. pTDefRegMap(@Self)^.clr := $00000010
  34038. else
  34039. pTDefRegMap(@Self)^.&set := $00000010;
  34040. end;
  34041. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34042. begin
  34043. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34044. end;
  34045. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34046. begin
  34047. pTDefRegMap(@Self)^.val := thebits;
  34048. end;
  34049. function TPORTA_CNENA.getw : TBits_32; inline;
  34050. begin
  34051. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34052. end;
  34053. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34054. begin
  34055. pTDefRegMap(@Self)^.&set := $00000001;
  34056. end;
  34057. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34058. begin
  34059. pTDefRegMap(@Self)^.clr := $00000001;
  34060. end;
  34061. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34062. begin
  34063. if thebits = 0 then
  34064. pTDefRegMap(@Self)^.clr := $00000001
  34065. else
  34066. pTDefRegMap(@Self)^.&set := $00000001;
  34067. end;
  34068. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34069. begin
  34070. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34071. end;
  34072. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34073. begin
  34074. pTDefRegMap(@Self)^.&set := $00000002;
  34075. end;
  34076. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34077. begin
  34078. pTDefRegMap(@Self)^.clr := $00000002;
  34079. end;
  34080. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34081. begin
  34082. if thebits = 0 then
  34083. pTDefRegMap(@Self)^.clr := $00000002
  34084. else
  34085. pTDefRegMap(@Self)^.&set := $00000002;
  34086. end;
  34087. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34088. begin
  34089. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34090. end;
  34091. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34092. begin
  34093. pTDefRegMap(@Self)^.&set := $00000004;
  34094. end;
  34095. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34096. begin
  34097. pTDefRegMap(@Self)^.clr := $00000004;
  34098. end;
  34099. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34100. begin
  34101. if thebits = 0 then
  34102. pTDefRegMap(@Self)^.clr := $00000004
  34103. else
  34104. pTDefRegMap(@Self)^.&set := $00000004;
  34105. end;
  34106. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34107. begin
  34108. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34109. end;
  34110. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34111. begin
  34112. pTDefRegMap(@Self)^.&set := $00000008;
  34113. end;
  34114. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34115. begin
  34116. pTDefRegMap(@Self)^.clr := $00000008;
  34117. end;
  34118. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34119. begin
  34120. if thebits = 0 then
  34121. pTDefRegMap(@Self)^.clr := $00000008
  34122. else
  34123. pTDefRegMap(@Self)^.&set := $00000008;
  34124. end;
  34125. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34126. begin
  34127. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34128. end;
  34129. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34130. begin
  34131. pTDefRegMap(@Self)^.&set := $00000010;
  34132. end;
  34133. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34134. begin
  34135. pTDefRegMap(@Self)^.clr := $00000010;
  34136. end;
  34137. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34138. begin
  34139. if thebits = 0 then
  34140. pTDefRegMap(@Self)^.clr := $00000010
  34141. else
  34142. pTDefRegMap(@Self)^.&set := $00000010;
  34143. end;
  34144. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34145. begin
  34146. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34147. end;
  34148. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34149. begin
  34150. pTDefRegMap(@Self)^.val := thebits;
  34151. end;
  34152. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34153. begin
  34154. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34155. end;
  34156. procedure TPORTB_ANSELB.setANSB0; inline;
  34157. begin
  34158. pTDefRegMap(@Self)^.&set := $00000001;
  34159. end;
  34160. procedure TPORTB_ANSELB.clearANSB0; inline;
  34161. begin
  34162. pTDefRegMap(@Self)^.clr := $00000001;
  34163. end;
  34164. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34165. begin
  34166. if thebits = 0 then
  34167. pTDefRegMap(@Self)^.clr := $00000001
  34168. else
  34169. pTDefRegMap(@Self)^.&set := $00000001;
  34170. end;
  34171. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34172. begin
  34173. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34174. end;
  34175. procedure TPORTB_ANSELB.setANSB1; inline;
  34176. begin
  34177. pTDefRegMap(@Self)^.&set := $00000002;
  34178. end;
  34179. procedure TPORTB_ANSELB.clearANSB1; inline;
  34180. begin
  34181. pTDefRegMap(@Self)^.clr := $00000002;
  34182. end;
  34183. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34184. begin
  34185. if thebits = 0 then
  34186. pTDefRegMap(@Self)^.clr := $00000002
  34187. else
  34188. pTDefRegMap(@Self)^.&set := $00000002;
  34189. end;
  34190. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34191. begin
  34192. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34193. end;
  34194. procedure TPORTB_ANSELB.setANSB2; inline;
  34195. begin
  34196. pTDefRegMap(@Self)^.&set := $00000004;
  34197. end;
  34198. procedure TPORTB_ANSELB.clearANSB2; inline;
  34199. begin
  34200. pTDefRegMap(@Self)^.clr := $00000004;
  34201. end;
  34202. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34203. begin
  34204. if thebits = 0 then
  34205. pTDefRegMap(@Self)^.clr := $00000004
  34206. else
  34207. pTDefRegMap(@Self)^.&set := $00000004;
  34208. end;
  34209. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34210. begin
  34211. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34212. end;
  34213. procedure TPORTB_ANSELB.setANSB3; inline;
  34214. begin
  34215. pTDefRegMap(@Self)^.&set := $00000008;
  34216. end;
  34217. procedure TPORTB_ANSELB.clearANSB3; inline;
  34218. begin
  34219. pTDefRegMap(@Self)^.clr := $00000008;
  34220. end;
  34221. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34222. begin
  34223. if thebits = 0 then
  34224. pTDefRegMap(@Self)^.clr := $00000008
  34225. else
  34226. pTDefRegMap(@Self)^.&set := $00000008;
  34227. end;
  34228. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34229. begin
  34230. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34231. end;
  34232. procedure TPORTB_ANSELB.setANSB12; inline;
  34233. begin
  34234. pTDefRegMap(@Self)^.&set := $00001000;
  34235. end;
  34236. procedure TPORTB_ANSELB.clearANSB12; inline;
  34237. begin
  34238. pTDefRegMap(@Self)^.clr := $00001000;
  34239. end;
  34240. procedure TPORTB_ANSELB.setANSB12(thebits : TBits_1); inline;
  34241. begin
  34242. if thebits = 0 then
  34243. pTDefRegMap(@Self)^.clr := $00001000
  34244. else
  34245. pTDefRegMap(@Self)^.&set := $00001000;
  34246. end;
  34247. function TPORTB_ANSELB.getANSB12 : TBits_1; inline;
  34248. begin
  34249. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34250. end;
  34251. procedure TPORTB_ANSELB.setANSB13; inline;
  34252. begin
  34253. pTDefRegMap(@Self)^.&set := $00002000;
  34254. end;
  34255. procedure TPORTB_ANSELB.clearANSB13; inline;
  34256. begin
  34257. pTDefRegMap(@Self)^.clr := $00002000;
  34258. end;
  34259. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34260. begin
  34261. if thebits = 0 then
  34262. pTDefRegMap(@Self)^.clr := $00002000
  34263. else
  34264. pTDefRegMap(@Self)^.&set := $00002000;
  34265. end;
  34266. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34267. begin
  34268. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34269. end;
  34270. procedure TPORTB_ANSELB.setANSB14; inline;
  34271. begin
  34272. pTDefRegMap(@Self)^.&set := $00004000;
  34273. end;
  34274. procedure TPORTB_ANSELB.clearANSB14; inline;
  34275. begin
  34276. pTDefRegMap(@Self)^.clr := $00004000;
  34277. end;
  34278. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34279. begin
  34280. if thebits = 0 then
  34281. pTDefRegMap(@Self)^.clr := $00004000
  34282. else
  34283. pTDefRegMap(@Self)^.&set := $00004000;
  34284. end;
  34285. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34286. begin
  34287. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34288. end;
  34289. procedure TPORTB_ANSELB.setANSB15; inline;
  34290. begin
  34291. pTDefRegMap(@Self)^.&set := $00008000;
  34292. end;
  34293. procedure TPORTB_ANSELB.clearANSB15; inline;
  34294. begin
  34295. pTDefRegMap(@Self)^.clr := $00008000;
  34296. end;
  34297. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34298. begin
  34299. if thebits = 0 then
  34300. pTDefRegMap(@Self)^.clr := $00008000
  34301. else
  34302. pTDefRegMap(@Self)^.&set := $00008000;
  34303. end;
  34304. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34305. begin
  34306. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34307. end;
  34308. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34309. begin
  34310. pTDefRegMap(@Self)^.val := thebits;
  34311. end;
  34312. function TPORTB_ANSELB.getw : TBits_32; inline;
  34313. begin
  34314. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34315. end;
  34316. procedure TPORTB_TRISB.setTRISB0; inline;
  34317. begin
  34318. pTDefRegMap(@Self)^.&set := $00000001;
  34319. end;
  34320. procedure TPORTB_TRISB.clearTRISB0; inline;
  34321. begin
  34322. pTDefRegMap(@Self)^.clr := $00000001;
  34323. end;
  34324. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34325. begin
  34326. if thebits = 0 then
  34327. pTDefRegMap(@Self)^.clr := $00000001
  34328. else
  34329. pTDefRegMap(@Self)^.&set := $00000001;
  34330. end;
  34331. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34332. begin
  34333. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34334. end;
  34335. procedure TPORTB_TRISB.setTRISB1; inline;
  34336. begin
  34337. pTDefRegMap(@Self)^.&set := $00000002;
  34338. end;
  34339. procedure TPORTB_TRISB.clearTRISB1; inline;
  34340. begin
  34341. pTDefRegMap(@Self)^.clr := $00000002;
  34342. end;
  34343. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34344. begin
  34345. if thebits = 0 then
  34346. pTDefRegMap(@Self)^.clr := $00000002
  34347. else
  34348. pTDefRegMap(@Self)^.&set := $00000002;
  34349. end;
  34350. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34351. begin
  34352. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34353. end;
  34354. procedure TPORTB_TRISB.setTRISB2; inline;
  34355. begin
  34356. pTDefRegMap(@Self)^.&set := $00000004;
  34357. end;
  34358. procedure TPORTB_TRISB.clearTRISB2; inline;
  34359. begin
  34360. pTDefRegMap(@Self)^.clr := $00000004;
  34361. end;
  34362. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34363. begin
  34364. if thebits = 0 then
  34365. pTDefRegMap(@Self)^.clr := $00000004
  34366. else
  34367. pTDefRegMap(@Self)^.&set := $00000004;
  34368. end;
  34369. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34370. begin
  34371. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34372. end;
  34373. procedure TPORTB_TRISB.setTRISB3; inline;
  34374. begin
  34375. pTDefRegMap(@Self)^.&set := $00000008;
  34376. end;
  34377. procedure TPORTB_TRISB.clearTRISB3; inline;
  34378. begin
  34379. pTDefRegMap(@Self)^.clr := $00000008;
  34380. end;
  34381. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34382. begin
  34383. if thebits = 0 then
  34384. pTDefRegMap(@Self)^.clr := $00000008
  34385. else
  34386. pTDefRegMap(@Self)^.&set := $00000008;
  34387. end;
  34388. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34389. begin
  34390. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34391. end;
  34392. procedure TPORTB_TRISB.setTRISB4; inline;
  34393. begin
  34394. pTDefRegMap(@Self)^.&set := $00000010;
  34395. end;
  34396. procedure TPORTB_TRISB.clearTRISB4; inline;
  34397. begin
  34398. pTDefRegMap(@Self)^.clr := $00000010;
  34399. end;
  34400. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34401. begin
  34402. if thebits = 0 then
  34403. pTDefRegMap(@Self)^.clr := $00000010
  34404. else
  34405. pTDefRegMap(@Self)^.&set := $00000010;
  34406. end;
  34407. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34408. begin
  34409. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34410. end;
  34411. procedure TPORTB_TRISB.setTRISB5; inline;
  34412. begin
  34413. pTDefRegMap(@Self)^.&set := $00000020;
  34414. end;
  34415. procedure TPORTB_TRISB.clearTRISB5; inline;
  34416. begin
  34417. pTDefRegMap(@Self)^.clr := $00000020;
  34418. end;
  34419. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34420. begin
  34421. if thebits = 0 then
  34422. pTDefRegMap(@Self)^.clr := $00000020
  34423. else
  34424. pTDefRegMap(@Self)^.&set := $00000020;
  34425. end;
  34426. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34427. begin
  34428. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34429. end;
  34430. procedure TPORTB_TRISB.setTRISB6; inline;
  34431. begin
  34432. pTDefRegMap(@Self)^.&set := $00000040;
  34433. end;
  34434. procedure TPORTB_TRISB.clearTRISB6; inline;
  34435. begin
  34436. pTDefRegMap(@Self)^.clr := $00000040;
  34437. end;
  34438. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  34439. begin
  34440. if thebits = 0 then
  34441. pTDefRegMap(@Self)^.clr := $00000040
  34442. else
  34443. pTDefRegMap(@Self)^.&set := $00000040;
  34444. end;
  34445. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  34446. begin
  34447. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34448. end;
  34449. procedure TPORTB_TRISB.setTRISB7; inline;
  34450. begin
  34451. pTDefRegMap(@Self)^.&set := $00000080;
  34452. end;
  34453. procedure TPORTB_TRISB.clearTRISB7; inline;
  34454. begin
  34455. pTDefRegMap(@Self)^.clr := $00000080;
  34456. end;
  34457. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34458. begin
  34459. if thebits = 0 then
  34460. pTDefRegMap(@Self)^.clr := $00000080
  34461. else
  34462. pTDefRegMap(@Self)^.&set := $00000080;
  34463. end;
  34464. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34465. begin
  34466. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34467. end;
  34468. procedure TPORTB_TRISB.setTRISB8; inline;
  34469. begin
  34470. pTDefRegMap(@Self)^.&set := $00000100;
  34471. end;
  34472. procedure TPORTB_TRISB.clearTRISB8; inline;
  34473. begin
  34474. pTDefRegMap(@Self)^.clr := $00000100;
  34475. end;
  34476. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34477. begin
  34478. if thebits = 0 then
  34479. pTDefRegMap(@Self)^.clr := $00000100
  34480. else
  34481. pTDefRegMap(@Self)^.&set := $00000100;
  34482. end;
  34483. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34484. begin
  34485. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34486. end;
  34487. procedure TPORTB_TRISB.setTRISB9; inline;
  34488. begin
  34489. pTDefRegMap(@Self)^.&set := $00000200;
  34490. end;
  34491. procedure TPORTB_TRISB.clearTRISB9; inline;
  34492. begin
  34493. pTDefRegMap(@Self)^.clr := $00000200;
  34494. end;
  34495. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34496. begin
  34497. if thebits = 0 then
  34498. pTDefRegMap(@Self)^.clr := $00000200
  34499. else
  34500. pTDefRegMap(@Self)^.&set := $00000200;
  34501. end;
  34502. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34503. begin
  34504. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34505. end;
  34506. procedure TPORTB_TRISB.setTRISB10; inline;
  34507. begin
  34508. pTDefRegMap(@Self)^.&set := $00000400;
  34509. end;
  34510. procedure TPORTB_TRISB.clearTRISB10; inline;
  34511. begin
  34512. pTDefRegMap(@Self)^.clr := $00000400;
  34513. end;
  34514. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34515. begin
  34516. if thebits = 0 then
  34517. pTDefRegMap(@Self)^.clr := $00000400
  34518. else
  34519. pTDefRegMap(@Self)^.&set := $00000400;
  34520. end;
  34521. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34522. begin
  34523. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34524. end;
  34525. procedure TPORTB_TRISB.setTRISB11; inline;
  34526. begin
  34527. pTDefRegMap(@Self)^.&set := $00000800;
  34528. end;
  34529. procedure TPORTB_TRISB.clearTRISB11; inline;
  34530. begin
  34531. pTDefRegMap(@Self)^.clr := $00000800;
  34532. end;
  34533. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34534. begin
  34535. if thebits = 0 then
  34536. pTDefRegMap(@Self)^.clr := $00000800
  34537. else
  34538. pTDefRegMap(@Self)^.&set := $00000800;
  34539. end;
  34540. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  34541. begin
  34542. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34543. end;
  34544. procedure TPORTB_TRISB.setTRISB12; inline;
  34545. begin
  34546. pTDefRegMap(@Self)^.&set := $00001000;
  34547. end;
  34548. procedure TPORTB_TRISB.clearTRISB12; inline;
  34549. begin
  34550. pTDefRegMap(@Self)^.clr := $00001000;
  34551. end;
  34552. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  34553. begin
  34554. if thebits = 0 then
  34555. pTDefRegMap(@Self)^.clr := $00001000
  34556. else
  34557. pTDefRegMap(@Self)^.&set := $00001000;
  34558. end;
  34559. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  34560. begin
  34561. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34562. end;
  34563. procedure TPORTB_TRISB.setTRISB13; inline;
  34564. begin
  34565. pTDefRegMap(@Self)^.&set := $00002000;
  34566. end;
  34567. procedure TPORTB_TRISB.clearTRISB13; inline;
  34568. begin
  34569. pTDefRegMap(@Self)^.clr := $00002000;
  34570. end;
  34571. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  34572. begin
  34573. if thebits = 0 then
  34574. pTDefRegMap(@Self)^.clr := $00002000
  34575. else
  34576. pTDefRegMap(@Self)^.&set := $00002000;
  34577. end;
  34578. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  34579. begin
  34580. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34581. end;
  34582. procedure TPORTB_TRISB.setTRISB14; inline;
  34583. begin
  34584. pTDefRegMap(@Self)^.&set := $00004000;
  34585. end;
  34586. procedure TPORTB_TRISB.clearTRISB14; inline;
  34587. begin
  34588. pTDefRegMap(@Self)^.clr := $00004000;
  34589. end;
  34590. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  34591. begin
  34592. if thebits = 0 then
  34593. pTDefRegMap(@Self)^.clr := $00004000
  34594. else
  34595. pTDefRegMap(@Self)^.&set := $00004000;
  34596. end;
  34597. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  34598. begin
  34599. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34600. end;
  34601. procedure TPORTB_TRISB.setTRISB15; inline;
  34602. begin
  34603. pTDefRegMap(@Self)^.&set := $00008000;
  34604. end;
  34605. procedure TPORTB_TRISB.clearTRISB15; inline;
  34606. begin
  34607. pTDefRegMap(@Self)^.clr := $00008000;
  34608. end;
  34609. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  34610. begin
  34611. if thebits = 0 then
  34612. pTDefRegMap(@Self)^.clr := $00008000
  34613. else
  34614. pTDefRegMap(@Self)^.&set := $00008000;
  34615. end;
  34616. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  34617. begin
  34618. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34619. end;
  34620. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  34621. begin
  34622. pTDefRegMap(@Self)^.val := thebits;
  34623. end;
  34624. function TPORTB_TRISB.getw : TBits_32; inline;
  34625. begin
  34626. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34627. end;
  34628. procedure TPORTB_PORTB.setRB0; inline;
  34629. begin
  34630. pTDefRegMap(@Self)^.&set := $00000001;
  34631. end;
  34632. procedure TPORTB_PORTB.clearRB0; inline;
  34633. begin
  34634. pTDefRegMap(@Self)^.clr := $00000001;
  34635. end;
  34636. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  34637. begin
  34638. if thebits = 0 then
  34639. pTDefRegMap(@Self)^.clr := $00000001
  34640. else
  34641. pTDefRegMap(@Self)^.&set := $00000001;
  34642. end;
  34643. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  34644. begin
  34645. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34646. end;
  34647. procedure TPORTB_PORTB.setRB1; inline;
  34648. begin
  34649. pTDefRegMap(@Self)^.&set := $00000002;
  34650. end;
  34651. procedure TPORTB_PORTB.clearRB1; inline;
  34652. begin
  34653. pTDefRegMap(@Self)^.clr := $00000002;
  34654. end;
  34655. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  34656. begin
  34657. if thebits = 0 then
  34658. pTDefRegMap(@Self)^.clr := $00000002
  34659. else
  34660. pTDefRegMap(@Self)^.&set := $00000002;
  34661. end;
  34662. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  34663. begin
  34664. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34665. end;
  34666. procedure TPORTB_PORTB.setRB2; inline;
  34667. begin
  34668. pTDefRegMap(@Self)^.&set := $00000004;
  34669. end;
  34670. procedure TPORTB_PORTB.clearRB2; inline;
  34671. begin
  34672. pTDefRegMap(@Self)^.clr := $00000004;
  34673. end;
  34674. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  34675. begin
  34676. if thebits = 0 then
  34677. pTDefRegMap(@Self)^.clr := $00000004
  34678. else
  34679. pTDefRegMap(@Self)^.&set := $00000004;
  34680. end;
  34681. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  34682. begin
  34683. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34684. end;
  34685. procedure TPORTB_PORTB.setRB3; inline;
  34686. begin
  34687. pTDefRegMap(@Self)^.&set := $00000008;
  34688. end;
  34689. procedure TPORTB_PORTB.clearRB3; inline;
  34690. begin
  34691. pTDefRegMap(@Self)^.clr := $00000008;
  34692. end;
  34693. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  34694. begin
  34695. if thebits = 0 then
  34696. pTDefRegMap(@Self)^.clr := $00000008
  34697. else
  34698. pTDefRegMap(@Self)^.&set := $00000008;
  34699. end;
  34700. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  34701. begin
  34702. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34703. end;
  34704. procedure TPORTB_PORTB.setRB4; inline;
  34705. begin
  34706. pTDefRegMap(@Self)^.&set := $00000010;
  34707. end;
  34708. procedure TPORTB_PORTB.clearRB4; inline;
  34709. begin
  34710. pTDefRegMap(@Self)^.clr := $00000010;
  34711. end;
  34712. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  34713. begin
  34714. if thebits = 0 then
  34715. pTDefRegMap(@Self)^.clr := $00000010
  34716. else
  34717. pTDefRegMap(@Self)^.&set := $00000010;
  34718. end;
  34719. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  34720. begin
  34721. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34722. end;
  34723. procedure TPORTB_PORTB.setRB5; inline;
  34724. begin
  34725. pTDefRegMap(@Self)^.&set := $00000020;
  34726. end;
  34727. procedure TPORTB_PORTB.clearRB5; inline;
  34728. begin
  34729. pTDefRegMap(@Self)^.clr := $00000020;
  34730. end;
  34731. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  34732. begin
  34733. if thebits = 0 then
  34734. pTDefRegMap(@Self)^.clr := $00000020
  34735. else
  34736. pTDefRegMap(@Self)^.&set := $00000020;
  34737. end;
  34738. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  34739. begin
  34740. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34741. end;
  34742. procedure TPORTB_PORTB.setRB6; inline;
  34743. begin
  34744. pTDefRegMap(@Self)^.&set := $00000040;
  34745. end;
  34746. procedure TPORTB_PORTB.clearRB6; inline;
  34747. begin
  34748. pTDefRegMap(@Self)^.clr := $00000040;
  34749. end;
  34750. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  34751. begin
  34752. if thebits = 0 then
  34753. pTDefRegMap(@Self)^.clr := $00000040
  34754. else
  34755. pTDefRegMap(@Self)^.&set := $00000040;
  34756. end;
  34757. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  34758. begin
  34759. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34760. end;
  34761. procedure TPORTB_PORTB.setRB7; inline;
  34762. begin
  34763. pTDefRegMap(@Self)^.&set := $00000080;
  34764. end;
  34765. procedure TPORTB_PORTB.clearRB7; inline;
  34766. begin
  34767. pTDefRegMap(@Self)^.clr := $00000080;
  34768. end;
  34769. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  34770. begin
  34771. if thebits = 0 then
  34772. pTDefRegMap(@Self)^.clr := $00000080
  34773. else
  34774. pTDefRegMap(@Self)^.&set := $00000080;
  34775. end;
  34776. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  34777. begin
  34778. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34779. end;
  34780. procedure TPORTB_PORTB.setRB8; inline;
  34781. begin
  34782. pTDefRegMap(@Self)^.&set := $00000100;
  34783. end;
  34784. procedure TPORTB_PORTB.clearRB8; inline;
  34785. begin
  34786. pTDefRegMap(@Self)^.clr := $00000100;
  34787. end;
  34788. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  34789. begin
  34790. if thebits = 0 then
  34791. pTDefRegMap(@Self)^.clr := $00000100
  34792. else
  34793. pTDefRegMap(@Self)^.&set := $00000100;
  34794. end;
  34795. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  34796. begin
  34797. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34798. end;
  34799. procedure TPORTB_PORTB.setRB9; inline;
  34800. begin
  34801. pTDefRegMap(@Self)^.&set := $00000200;
  34802. end;
  34803. procedure TPORTB_PORTB.clearRB9; inline;
  34804. begin
  34805. pTDefRegMap(@Self)^.clr := $00000200;
  34806. end;
  34807. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  34808. begin
  34809. if thebits = 0 then
  34810. pTDefRegMap(@Self)^.clr := $00000200
  34811. else
  34812. pTDefRegMap(@Self)^.&set := $00000200;
  34813. end;
  34814. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  34815. begin
  34816. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34817. end;
  34818. procedure TPORTB_PORTB.setRB10; inline;
  34819. begin
  34820. pTDefRegMap(@Self)^.&set := $00000400;
  34821. end;
  34822. procedure TPORTB_PORTB.clearRB10; inline;
  34823. begin
  34824. pTDefRegMap(@Self)^.clr := $00000400;
  34825. end;
  34826. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  34827. begin
  34828. if thebits = 0 then
  34829. pTDefRegMap(@Self)^.clr := $00000400
  34830. else
  34831. pTDefRegMap(@Self)^.&set := $00000400;
  34832. end;
  34833. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  34834. begin
  34835. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34836. end;
  34837. procedure TPORTB_PORTB.setRB11; inline;
  34838. begin
  34839. pTDefRegMap(@Self)^.&set := $00000800;
  34840. end;
  34841. procedure TPORTB_PORTB.clearRB11; inline;
  34842. begin
  34843. pTDefRegMap(@Self)^.clr := $00000800;
  34844. end;
  34845. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  34846. begin
  34847. if thebits = 0 then
  34848. pTDefRegMap(@Self)^.clr := $00000800
  34849. else
  34850. pTDefRegMap(@Self)^.&set := $00000800;
  34851. end;
  34852. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  34853. begin
  34854. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34855. end;
  34856. procedure TPORTB_PORTB.setRB12; inline;
  34857. begin
  34858. pTDefRegMap(@Self)^.&set := $00001000;
  34859. end;
  34860. procedure TPORTB_PORTB.clearRB12; inline;
  34861. begin
  34862. pTDefRegMap(@Self)^.clr := $00001000;
  34863. end;
  34864. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  34865. begin
  34866. if thebits = 0 then
  34867. pTDefRegMap(@Self)^.clr := $00001000
  34868. else
  34869. pTDefRegMap(@Self)^.&set := $00001000;
  34870. end;
  34871. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  34872. begin
  34873. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34874. end;
  34875. procedure TPORTB_PORTB.setRB13; inline;
  34876. begin
  34877. pTDefRegMap(@Self)^.&set := $00002000;
  34878. end;
  34879. procedure TPORTB_PORTB.clearRB13; inline;
  34880. begin
  34881. pTDefRegMap(@Self)^.clr := $00002000;
  34882. end;
  34883. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  34884. begin
  34885. if thebits = 0 then
  34886. pTDefRegMap(@Self)^.clr := $00002000
  34887. else
  34888. pTDefRegMap(@Self)^.&set := $00002000;
  34889. end;
  34890. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  34891. begin
  34892. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34893. end;
  34894. procedure TPORTB_PORTB.setRB14; inline;
  34895. begin
  34896. pTDefRegMap(@Self)^.&set := $00004000;
  34897. end;
  34898. procedure TPORTB_PORTB.clearRB14; inline;
  34899. begin
  34900. pTDefRegMap(@Self)^.clr := $00004000;
  34901. end;
  34902. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  34903. begin
  34904. if thebits = 0 then
  34905. pTDefRegMap(@Self)^.clr := $00004000
  34906. else
  34907. pTDefRegMap(@Self)^.&set := $00004000;
  34908. end;
  34909. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  34910. begin
  34911. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34912. end;
  34913. procedure TPORTB_PORTB.setRB15; inline;
  34914. begin
  34915. pTDefRegMap(@Self)^.&set := $00008000;
  34916. end;
  34917. procedure TPORTB_PORTB.clearRB15; inline;
  34918. begin
  34919. pTDefRegMap(@Self)^.clr := $00008000;
  34920. end;
  34921. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  34922. begin
  34923. if thebits = 0 then
  34924. pTDefRegMap(@Self)^.clr := $00008000
  34925. else
  34926. pTDefRegMap(@Self)^.&set := $00008000;
  34927. end;
  34928. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  34929. begin
  34930. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34931. end;
  34932. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  34933. begin
  34934. pTDefRegMap(@Self)^.val := thebits;
  34935. end;
  34936. function TPORTB_PORTB.getw : TBits_32; inline;
  34937. begin
  34938. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34939. end;
  34940. procedure TPORTB_LATB.setLATB0; inline;
  34941. begin
  34942. pTDefRegMap(@Self)^.&set := $00000001;
  34943. end;
  34944. procedure TPORTB_LATB.clearLATB0; inline;
  34945. begin
  34946. pTDefRegMap(@Self)^.clr := $00000001;
  34947. end;
  34948. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  34949. begin
  34950. if thebits = 0 then
  34951. pTDefRegMap(@Self)^.clr := $00000001
  34952. else
  34953. pTDefRegMap(@Self)^.&set := $00000001;
  34954. end;
  34955. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  34956. begin
  34957. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34958. end;
  34959. procedure TPORTB_LATB.setLATB1; inline;
  34960. begin
  34961. pTDefRegMap(@Self)^.&set := $00000002;
  34962. end;
  34963. procedure TPORTB_LATB.clearLATB1; inline;
  34964. begin
  34965. pTDefRegMap(@Self)^.clr := $00000002;
  34966. end;
  34967. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  34968. begin
  34969. if thebits = 0 then
  34970. pTDefRegMap(@Self)^.clr := $00000002
  34971. else
  34972. pTDefRegMap(@Self)^.&set := $00000002;
  34973. end;
  34974. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  34975. begin
  34976. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34977. end;
  34978. procedure TPORTB_LATB.setLATB2; inline;
  34979. begin
  34980. pTDefRegMap(@Self)^.&set := $00000004;
  34981. end;
  34982. procedure TPORTB_LATB.clearLATB2; inline;
  34983. begin
  34984. pTDefRegMap(@Self)^.clr := $00000004;
  34985. end;
  34986. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  34987. begin
  34988. if thebits = 0 then
  34989. pTDefRegMap(@Self)^.clr := $00000004
  34990. else
  34991. pTDefRegMap(@Self)^.&set := $00000004;
  34992. end;
  34993. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  34994. begin
  34995. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34996. end;
  34997. procedure TPORTB_LATB.setLATB3; inline;
  34998. begin
  34999. pTDefRegMap(@Self)^.&set := $00000008;
  35000. end;
  35001. procedure TPORTB_LATB.clearLATB3; inline;
  35002. begin
  35003. pTDefRegMap(@Self)^.clr := $00000008;
  35004. end;
  35005. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35006. begin
  35007. if thebits = 0 then
  35008. pTDefRegMap(@Self)^.clr := $00000008
  35009. else
  35010. pTDefRegMap(@Self)^.&set := $00000008;
  35011. end;
  35012. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35013. begin
  35014. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35015. end;
  35016. procedure TPORTB_LATB.setLATB4; inline;
  35017. begin
  35018. pTDefRegMap(@Self)^.&set := $00000010;
  35019. end;
  35020. procedure TPORTB_LATB.clearLATB4; inline;
  35021. begin
  35022. pTDefRegMap(@Self)^.clr := $00000010;
  35023. end;
  35024. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35025. begin
  35026. if thebits = 0 then
  35027. pTDefRegMap(@Self)^.clr := $00000010
  35028. else
  35029. pTDefRegMap(@Self)^.&set := $00000010;
  35030. end;
  35031. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35032. begin
  35033. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35034. end;
  35035. procedure TPORTB_LATB.setLATB5; inline;
  35036. begin
  35037. pTDefRegMap(@Self)^.&set := $00000020;
  35038. end;
  35039. procedure TPORTB_LATB.clearLATB5; inline;
  35040. begin
  35041. pTDefRegMap(@Self)^.clr := $00000020;
  35042. end;
  35043. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35044. begin
  35045. if thebits = 0 then
  35046. pTDefRegMap(@Self)^.clr := $00000020
  35047. else
  35048. pTDefRegMap(@Self)^.&set := $00000020;
  35049. end;
  35050. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35051. begin
  35052. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35053. end;
  35054. procedure TPORTB_LATB.setLATB6; inline;
  35055. begin
  35056. pTDefRegMap(@Self)^.&set := $00000040;
  35057. end;
  35058. procedure TPORTB_LATB.clearLATB6; inline;
  35059. begin
  35060. pTDefRegMap(@Self)^.clr := $00000040;
  35061. end;
  35062. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  35063. begin
  35064. if thebits = 0 then
  35065. pTDefRegMap(@Self)^.clr := $00000040
  35066. else
  35067. pTDefRegMap(@Self)^.&set := $00000040;
  35068. end;
  35069. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  35070. begin
  35071. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35072. end;
  35073. procedure TPORTB_LATB.setLATB7; inline;
  35074. begin
  35075. pTDefRegMap(@Self)^.&set := $00000080;
  35076. end;
  35077. procedure TPORTB_LATB.clearLATB7; inline;
  35078. begin
  35079. pTDefRegMap(@Self)^.clr := $00000080;
  35080. end;
  35081. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35082. begin
  35083. if thebits = 0 then
  35084. pTDefRegMap(@Self)^.clr := $00000080
  35085. else
  35086. pTDefRegMap(@Self)^.&set := $00000080;
  35087. end;
  35088. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35089. begin
  35090. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35091. end;
  35092. procedure TPORTB_LATB.setLATB8; inline;
  35093. begin
  35094. pTDefRegMap(@Self)^.&set := $00000100;
  35095. end;
  35096. procedure TPORTB_LATB.clearLATB8; inline;
  35097. begin
  35098. pTDefRegMap(@Self)^.clr := $00000100;
  35099. end;
  35100. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35101. begin
  35102. if thebits = 0 then
  35103. pTDefRegMap(@Self)^.clr := $00000100
  35104. else
  35105. pTDefRegMap(@Self)^.&set := $00000100;
  35106. end;
  35107. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35108. begin
  35109. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35110. end;
  35111. procedure TPORTB_LATB.setLATB9; inline;
  35112. begin
  35113. pTDefRegMap(@Self)^.&set := $00000200;
  35114. end;
  35115. procedure TPORTB_LATB.clearLATB9; inline;
  35116. begin
  35117. pTDefRegMap(@Self)^.clr := $00000200;
  35118. end;
  35119. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35120. begin
  35121. if thebits = 0 then
  35122. pTDefRegMap(@Self)^.clr := $00000200
  35123. else
  35124. pTDefRegMap(@Self)^.&set := $00000200;
  35125. end;
  35126. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35127. begin
  35128. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35129. end;
  35130. procedure TPORTB_LATB.setLATB10; inline;
  35131. begin
  35132. pTDefRegMap(@Self)^.&set := $00000400;
  35133. end;
  35134. procedure TPORTB_LATB.clearLATB10; inline;
  35135. begin
  35136. pTDefRegMap(@Self)^.clr := $00000400;
  35137. end;
  35138. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35139. begin
  35140. if thebits = 0 then
  35141. pTDefRegMap(@Self)^.clr := $00000400
  35142. else
  35143. pTDefRegMap(@Self)^.&set := $00000400;
  35144. end;
  35145. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35146. begin
  35147. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35148. end;
  35149. procedure TPORTB_LATB.setLATB11; inline;
  35150. begin
  35151. pTDefRegMap(@Self)^.&set := $00000800;
  35152. end;
  35153. procedure TPORTB_LATB.clearLATB11; inline;
  35154. begin
  35155. pTDefRegMap(@Self)^.clr := $00000800;
  35156. end;
  35157. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35158. begin
  35159. if thebits = 0 then
  35160. pTDefRegMap(@Self)^.clr := $00000800
  35161. else
  35162. pTDefRegMap(@Self)^.&set := $00000800;
  35163. end;
  35164. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35165. begin
  35166. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35167. end;
  35168. procedure TPORTB_LATB.setLATB12; inline;
  35169. begin
  35170. pTDefRegMap(@Self)^.&set := $00001000;
  35171. end;
  35172. procedure TPORTB_LATB.clearLATB12; inline;
  35173. begin
  35174. pTDefRegMap(@Self)^.clr := $00001000;
  35175. end;
  35176. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  35177. begin
  35178. if thebits = 0 then
  35179. pTDefRegMap(@Self)^.clr := $00001000
  35180. else
  35181. pTDefRegMap(@Self)^.&set := $00001000;
  35182. end;
  35183. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  35184. begin
  35185. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35186. end;
  35187. procedure TPORTB_LATB.setLATB13; inline;
  35188. begin
  35189. pTDefRegMap(@Self)^.&set := $00002000;
  35190. end;
  35191. procedure TPORTB_LATB.clearLATB13; inline;
  35192. begin
  35193. pTDefRegMap(@Self)^.clr := $00002000;
  35194. end;
  35195. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35196. begin
  35197. if thebits = 0 then
  35198. pTDefRegMap(@Self)^.clr := $00002000
  35199. else
  35200. pTDefRegMap(@Self)^.&set := $00002000;
  35201. end;
  35202. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35203. begin
  35204. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35205. end;
  35206. procedure TPORTB_LATB.setLATB14; inline;
  35207. begin
  35208. pTDefRegMap(@Self)^.&set := $00004000;
  35209. end;
  35210. procedure TPORTB_LATB.clearLATB14; inline;
  35211. begin
  35212. pTDefRegMap(@Self)^.clr := $00004000;
  35213. end;
  35214. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35215. begin
  35216. if thebits = 0 then
  35217. pTDefRegMap(@Self)^.clr := $00004000
  35218. else
  35219. pTDefRegMap(@Self)^.&set := $00004000;
  35220. end;
  35221. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35222. begin
  35223. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35224. end;
  35225. procedure TPORTB_LATB.setLATB15; inline;
  35226. begin
  35227. pTDefRegMap(@Self)^.&set := $00008000;
  35228. end;
  35229. procedure TPORTB_LATB.clearLATB15; inline;
  35230. begin
  35231. pTDefRegMap(@Self)^.clr := $00008000;
  35232. end;
  35233. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35234. begin
  35235. if thebits = 0 then
  35236. pTDefRegMap(@Self)^.clr := $00008000
  35237. else
  35238. pTDefRegMap(@Self)^.&set := $00008000;
  35239. end;
  35240. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35241. begin
  35242. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35243. end;
  35244. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35245. begin
  35246. pTDefRegMap(@Self)^.val := thebits;
  35247. end;
  35248. function TPORTB_LATB.getw : TBits_32; inline;
  35249. begin
  35250. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35251. end;
  35252. procedure TPORTB_ODCB.setODCB4; inline;
  35253. begin
  35254. pTDefRegMap(@Self)^.&set := $00000010;
  35255. end;
  35256. procedure TPORTB_ODCB.clearODCB4; inline;
  35257. begin
  35258. pTDefRegMap(@Self)^.clr := $00000010;
  35259. end;
  35260. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35261. begin
  35262. if thebits = 0 then
  35263. pTDefRegMap(@Self)^.clr := $00000010
  35264. else
  35265. pTDefRegMap(@Self)^.&set := $00000010;
  35266. end;
  35267. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35268. begin
  35269. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35270. end;
  35271. procedure TPORTB_ODCB.setODCB5; inline;
  35272. begin
  35273. pTDefRegMap(@Self)^.&set := $00000020;
  35274. end;
  35275. procedure TPORTB_ODCB.clearODCB5; inline;
  35276. begin
  35277. pTDefRegMap(@Self)^.clr := $00000020;
  35278. end;
  35279. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35280. begin
  35281. if thebits = 0 then
  35282. pTDefRegMap(@Self)^.clr := $00000020
  35283. else
  35284. pTDefRegMap(@Self)^.&set := $00000020;
  35285. end;
  35286. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35287. begin
  35288. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35289. end;
  35290. procedure TPORTB_ODCB.setODCB6; inline;
  35291. begin
  35292. pTDefRegMap(@Self)^.&set := $00000040;
  35293. end;
  35294. procedure TPORTB_ODCB.clearODCB6; inline;
  35295. begin
  35296. pTDefRegMap(@Self)^.clr := $00000040;
  35297. end;
  35298. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  35299. begin
  35300. if thebits = 0 then
  35301. pTDefRegMap(@Self)^.clr := $00000040
  35302. else
  35303. pTDefRegMap(@Self)^.&set := $00000040;
  35304. end;
  35305. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  35306. begin
  35307. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35308. end;
  35309. procedure TPORTB_ODCB.setODCB7; inline;
  35310. begin
  35311. pTDefRegMap(@Self)^.&set := $00000080;
  35312. end;
  35313. procedure TPORTB_ODCB.clearODCB7; inline;
  35314. begin
  35315. pTDefRegMap(@Self)^.clr := $00000080;
  35316. end;
  35317. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35318. begin
  35319. if thebits = 0 then
  35320. pTDefRegMap(@Self)^.clr := $00000080
  35321. else
  35322. pTDefRegMap(@Self)^.&set := $00000080;
  35323. end;
  35324. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35325. begin
  35326. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35327. end;
  35328. procedure TPORTB_ODCB.setODCB8; inline;
  35329. begin
  35330. pTDefRegMap(@Self)^.&set := $00000100;
  35331. end;
  35332. procedure TPORTB_ODCB.clearODCB8; inline;
  35333. begin
  35334. pTDefRegMap(@Self)^.clr := $00000100;
  35335. end;
  35336. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35337. begin
  35338. if thebits = 0 then
  35339. pTDefRegMap(@Self)^.clr := $00000100
  35340. else
  35341. pTDefRegMap(@Self)^.&set := $00000100;
  35342. end;
  35343. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35344. begin
  35345. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35346. end;
  35347. procedure TPORTB_ODCB.setODCB9; inline;
  35348. begin
  35349. pTDefRegMap(@Self)^.&set := $00000200;
  35350. end;
  35351. procedure TPORTB_ODCB.clearODCB9; inline;
  35352. begin
  35353. pTDefRegMap(@Self)^.clr := $00000200;
  35354. end;
  35355. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35356. begin
  35357. if thebits = 0 then
  35358. pTDefRegMap(@Self)^.clr := $00000200
  35359. else
  35360. pTDefRegMap(@Self)^.&set := $00000200;
  35361. end;
  35362. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35363. begin
  35364. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35365. end;
  35366. procedure TPORTB_ODCB.setODCB10; inline;
  35367. begin
  35368. pTDefRegMap(@Self)^.&set := $00000400;
  35369. end;
  35370. procedure TPORTB_ODCB.clearODCB10; inline;
  35371. begin
  35372. pTDefRegMap(@Self)^.clr := $00000400;
  35373. end;
  35374. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35375. begin
  35376. if thebits = 0 then
  35377. pTDefRegMap(@Self)^.clr := $00000400
  35378. else
  35379. pTDefRegMap(@Self)^.&set := $00000400;
  35380. end;
  35381. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35382. begin
  35383. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35384. end;
  35385. procedure TPORTB_ODCB.setODCB11; inline;
  35386. begin
  35387. pTDefRegMap(@Self)^.&set := $00000800;
  35388. end;
  35389. procedure TPORTB_ODCB.clearODCB11; inline;
  35390. begin
  35391. pTDefRegMap(@Self)^.clr := $00000800;
  35392. end;
  35393. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35394. begin
  35395. if thebits = 0 then
  35396. pTDefRegMap(@Self)^.clr := $00000800
  35397. else
  35398. pTDefRegMap(@Self)^.&set := $00000800;
  35399. end;
  35400. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35401. begin
  35402. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35403. end;
  35404. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35405. begin
  35406. pTDefRegMap(@Self)^.val := thebits;
  35407. end;
  35408. function TPORTB_ODCB.getw : TBits_32; inline;
  35409. begin
  35410. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35411. end;
  35412. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35413. begin
  35414. pTDefRegMap(@Self)^.&set := $00000001;
  35415. end;
  35416. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35417. begin
  35418. pTDefRegMap(@Self)^.clr := $00000001;
  35419. end;
  35420. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35421. begin
  35422. if thebits = 0 then
  35423. pTDefRegMap(@Self)^.clr := $00000001
  35424. else
  35425. pTDefRegMap(@Self)^.&set := $00000001;
  35426. end;
  35427. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35428. begin
  35429. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35430. end;
  35431. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35432. begin
  35433. pTDefRegMap(@Self)^.&set := $00000002;
  35434. end;
  35435. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35436. begin
  35437. pTDefRegMap(@Self)^.clr := $00000002;
  35438. end;
  35439. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35440. begin
  35441. if thebits = 0 then
  35442. pTDefRegMap(@Self)^.clr := $00000002
  35443. else
  35444. pTDefRegMap(@Self)^.&set := $00000002;
  35445. end;
  35446. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35447. begin
  35448. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35449. end;
  35450. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35451. begin
  35452. pTDefRegMap(@Self)^.&set := $00000004;
  35453. end;
  35454. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35455. begin
  35456. pTDefRegMap(@Self)^.clr := $00000004;
  35457. end;
  35458. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35459. begin
  35460. if thebits = 0 then
  35461. pTDefRegMap(@Self)^.clr := $00000004
  35462. else
  35463. pTDefRegMap(@Self)^.&set := $00000004;
  35464. end;
  35465. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35466. begin
  35467. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35468. end;
  35469. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35470. begin
  35471. pTDefRegMap(@Self)^.&set := $00000008;
  35472. end;
  35473. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35474. begin
  35475. pTDefRegMap(@Self)^.clr := $00000008;
  35476. end;
  35477. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35478. begin
  35479. if thebits = 0 then
  35480. pTDefRegMap(@Self)^.clr := $00000008
  35481. else
  35482. pTDefRegMap(@Self)^.&set := $00000008;
  35483. end;
  35484. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35485. begin
  35486. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35487. end;
  35488. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35489. begin
  35490. pTDefRegMap(@Self)^.&set := $00000010;
  35491. end;
  35492. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35493. begin
  35494. pTDefRegMap(@Self)^.clr := $00000010;
  35495. end;
  35496. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35497. begin
  35498. if thebits = 0 then
  35499. pTDefRegMap(@Self)^.clr := $00000010
  35500. else
  35501. pTDefRegMap(@Self)^.&set := $00000010;
  35502. end;
  35503. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35504. begin
  35505. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35506. end;
  35507. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35508. begin
  35509. pTDefRegMap(@Self)^.&set := $00000020;
  35510. end;
  35511. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35512. begin
  35513. pTDefRegMap(@Self)^.clr := $00000020;
  35514. end;
  35515. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35516. begin
  35517. if thebits = 0 then
  35518. pTDefRegMap(@Self)^.clr := $00000020
  35519. else
  35520. pTDefRegMap(@Self)^.&set := $00000020;
  35521. end;
  35522. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35523. begin
  35524. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35525. end;
  35526. procedure TPORTB_CNPUB.setCNPUB6; inline;
  35527. begin
  35528. pTDefRegMap(@Self)^.&set := $00000040;
  35529. end;
  35530. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  35531. begin
  35532. pTDefRegMap(@Self)^.clr := $00000040;
  35533. end;
  35534. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  35535. begin
  35536. if thebits = 0 then
  35537. pTDefRegMap(@Self)^.clr := $00000040
  35538. else
  35539. pTDefRegMap(@Self)^.&set := $00000040;
  35540. end;
  35541. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  35542. begin
  35543. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35544. end;
  35545. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35546. begin
  35547. pTDefRegMap(@Self)^.&set := $00000080;
  35548. end;
  35549. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35550. begin
  35551. pTDefRegMap(@Self)^.clr := $00000080;
  35552. end;
  35553. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  35554. begin
  35555. if thebits = 0 then
  35556. pTDefRegMap(@Self)^.clr := $00000080
  35557. else
  35558. pTDefRegMap(@Self)^.&set := $00000080;
  35559. end;
  35560. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35561. begin
  35562. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35563. end;
  35564. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35565. begin
  35566. pTDefRegMap(@Self)^.&set := $00000100;
  35567. end;
  35568. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35569. begin
  35570. pTDefRegMap(@Self)^.clr := $00000100;
  35571. end;
  35572. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35573. begin
  35574. if thebits = 0 then
  35575. pTDefRegMap(@Self)^.clr := $00000100
  35576. else
  35577. pTDefRegMap(@Self)^.&set := $00000100;
  35578. end;
  35579. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35580. begin
  35581. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35582. end;
  35583. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35584. begin
  35585. pTDefRegMap(@Self)^.&set := $00000200;
  35586. end;
  35587. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35588. begin
  35589. pTDefRegMap(@Self)^.clr := $00000200;
  35590. end;
  35591. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35592. begin
  35593. if thebits = 0 then
  35594. pTDefRegMap(@Self)^.clr := $00000200
  35595. else
  35596. pTDefRegMap(@Self)^.&set := $00000200;
  35597. end;
  35598. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35599. begin
  35600. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35601. end;
  35602. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35603. begin
  35604. pTDefRegMap(@Self)^.&set := $00000400;
  35605. end;
  35606. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35607. begin
  35608. pTDefRegMap(@Self)^.clr := $00000400;
  35609. end;
  35610. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35611. begin
  35612. if thebits = 0 then
  35613. pTDefRegMap(@Self)^.clr := $00000400
  35614. else
  35615. pTDefRegMap(@Self)^.&set := $00000400;
  35616. end;
  35617. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35618. begin
  35619. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35620. end;
  35621. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35622. begin
  35623. pTDefRegMap(@Self)^.&set := $00000800;
  35624. end;
  35625. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35626. begin
  35627. pTDefRegMap(@Self)^.clr := $00000800;
  35628. end;
  35629. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35630. begin
  35631. if thebits = 0 then
  35632. pTDefRegMap(@Self)^.clr := $00000800
  35633. else
  35634. pTDefRegMap(@Self)^.&set := $00000800;
  35635. end;
  35636. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35637. begin
  35638. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35639. end;
  35640. procedure TPORTB_CNPUB.setCNPUB12; inline;
  35641. begin
  35642. pTDefRegMap(@Self)^.&set := $00001000;
  35643. end;
  35644. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  35645. begin
  35646. pTDefRegMap(@Self)^.clr := $00001000;
  35647. end;
  35648. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  35649. begin
  35650. if thebits = 0 then
  35651. pTDefRegMap(@Self)^.clr := $00001000
  35652. else
  35653. pTDefRegMap(@Self)^.&set := $00001000;
  35654. end;
  35655. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  35656. begin
  35657. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35658. end;
  35659. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35660. begin
  35661. pTDefRegMap(@Self)^.&set := $00002000;
  35662. end;
  35663. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35664. begin
  35665. pTDefRegMap(@Self)^.clr := $00002000;
  35666. end;
  35667. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35668. begin
  35669. if thebits = 0 then
  35670. pTDefRegMap(@Self)^.clr := $00002000
  35671. else
  35672. pTDefRegMap(@Self)^.&set := $00002000;
  35673. end;
  35674. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  35675. begin
  35676. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35677. end;
  35678. procedure TPORTB_CNPUB.setCNPUB14; inline;
  35679. begin
  35680. pTDefRegMap(@Self)^.&set := $00004000;
  35681. end;
  35682. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  35683. begin
  35684. pTDefRegMap(@Self)^.clr := $00004000;
  35685. end;
  35686. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  35687. begin
  35688. if thebits = 0 then
  35689. pTDefRegMap(@Self)^.clr := $00004000
  35690. else
  35691. pTDefRegMap(@Self)^.&set := $00004000;
  35692. end;
  35693. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  35694. begin
  35695. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35696. end;
  35697. procedure TPORTB_CNPUB.setCNPUB15; inline;
  35698. begin
  35699. pTDefRegMap(@Self)^.&set := $00008000;
  35700. end;
  35701. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  35702. begin
  35703. pTDefRegMap(@Self)^.clr := $00008000;
  35704. end;
  35705. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  35706. begin
  35707. if thebits = 0 then
  35708. pTDefRegMap(@Self)^.clr := $00008000
  35709. else
  35710. pTDefRegMap(@Self)^.&set := $00008000;
  35711. end;
  35712. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  35713. begin
  35714. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35715. end;
  35716. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  35717. begin
  35718. pTDefRegMap(@Self)^.val := thebits;
  35719. end;
  35720. function TPORTB_CNPUB.getw : TBits_32; inline;
  35721. begin
  35722. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35723. end;
  35724. procedure TPORTB_CNPDB.setCNPDB0; inline;
  35725. begin
  35726. pTDefRegMap(@Self)^.&set := $00000001;
  35727. end;
  35728. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  35729. begin
  35730. pTDefRegMap(@Self)^.clr := $00000001;
  35731. end;
  35732. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  35733. begin
  35734. if thebits = 0 then
  35735. pTDefRegMap(@Self)^.clr := $00000001
  35736. else
  35737. pTDefRegMap(@Self)^.&set := $00000001;
  35738. end;
  35739. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  35740. begin
  35741. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35742. end;
  35743. procedure TPORTB_CNPDB.setCNPDB1; inline;
  35744. begin
  35745. pTDefRegMap(@Self)^.&set := $00000002;
  35746. end;
  35747. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  35748. begin
  35749. pTDefRegMap(@Self)^.clr := $00000002;
  35750. end;
  35751. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  35752. begin
  35753. if thebits = 0 then
  35754. pTDefRegMap(@Self)^.clr := $00000002
  35755. else
  35756. pTDefRegMap(@Self)^.&set := $00000002;
  35757. end;
  35758. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  35759. begin
  35760. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35761. end;
  35762. procedure TPORTB_CNPDB.setCNPDB2; inline;
  35763. begin
  35764. pTDefRegMap(@Self)^.&set := $00000004;
  35765. end;
  35766. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  35767. begin
  35768. pTDefRegMap(@Self)^.clr := $00000004;
  35769. end;
  35770. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  35771. begin
  35772. if thebits = 0 then
  35773. pTDefRegMap(@Self)^.clr := $00000004
  35774. else
  35775. pTDefRegMap(@Self)^.&set := $00000004;
  35776. end;
  35777. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  35778. begin
  35779. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35780. end;
  35781. procedure TPORTB_CNPDB.setCNPDB3; inline;
  35782. begin
  35783. pTDefRegMap(@Self)^.&set := $00000008;
  35784. end;
  35785. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  35786. begin
  35787. pTDefRegMap(@Self)^.clr := $00000008;
  35788. end;
  35789. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  35790. begin
  35791. if thebits = 0 then
  35792. pTDefRegMap(@Self)^.clr := $00000008
  35793. else
  35794. pTDefRegMap(@Self)^.&set := $00000008;
  35795. end;
  35796. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  35797. begin
  35798. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35799. end;
  35800. procedure TPORTB_CNPDB.setCNPDB4; inline;
  35801. begin
  35802. pTDefRegMap(@Self)^.&set := $00000010;
  35803. end;
  35804. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  35805. begin
  35806. pTDefRegMap(@Self)^.clr := $00000010;
  35807. end;
  35808. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  35809. begin
  35810. if thebits = 0 then
  35811. pTDefRegMap(@Self)^.clr := $00000010
  35812. else
  35813. pTDefRegMap(@Self)^.&set := $00000010;
  35814. end;
  35815. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  35816. begin
  35817. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35818. end;
  35819. procedure TPORTB_CNPDB.setCNPDB5; inline;
  35820. begin
  35821. pTDefRegMap(@Self)^.&set := $00000020;
  35822. end;
  35823. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  35824. begin
  35825. pTDefRegMap(@Self)^.clr := $00000020;
  35826. end;
  35827. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  35828. begin
  35829. if thebits = 0 then
  35830. pTDefRegMap(@Self)^.clr := $00000020
  35831. else
  35832. pTDefRegMap(@Self)^.&set := $00000020;
  35833. end;
  35834. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  35835. begin
  35836. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35837. end;
  35838. procedure TPORTB_CNPDB.setCNPDB6; inline;
  35839. begin
  35840. pTDefRegMap(@Self)^.&set := $00000040;
  35841. end;
  35842. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  35843. begin
  35844. pTDefRegMap(@Self)^.clr := $00000040;
  35845. end;
  35846. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  35847. begin
  35848. if thebits = 0 then
  35849. pTDefRegMap(@Self)^.clr := $00000040
  35850. else
  35851. pTDefRegMap(@Self)^.&set := $00000040;
  35852. end;
  35853. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  35854. begin
  35855. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35856. end;
  35857. procedure TPORTB_CNPDB.setCNPDB7; inline;
  35858. begin
  35859. pTDefRegMap(@Self)^.&set := $00000080;
  35860. end;
  35861. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  35862. begin
  35863. pTDefRegMap(@Self)^.clr := $00000080;
  35864. end;
  35865. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  35866. begin
  35867. if thebits = 0 then
  35868. pTDefRegMap(@Self)^.clr := $00000080
  35869. else
  35870. pTDefRegMap(@Self)^.&set := $00000080;
  35871. end;
  35872. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  35873. begin
  35874. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35875. end;
  35876. procedure TPORTB_CNPDB.setCNPDB8; inline;
  35877. begin
  35878. pTDefRegMap(@Self)^.&set := $00000100;
  35879. end;
  35880. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  35881. begin
  35882. pTDefRegMap(@Self)^.clr := $00000100;
  35883. end;
  35884. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  35885. begin
  35886. if thebits = 0 then
  35887. pTDefRegMap(@Self)^.clr := $00000100
  35888. else
  35889. pTDefRegMap(@Self)^.&set := $00000100;
  35890. end;
  35891. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  35892. begin
  35893. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35894. end;
  35895. procedure TPORTB_CNPDB.setCNPDB9; inline;
  35896. begin
  35897. pTDefRegMap(@Self)^.&set := $00000200;
  35898. end;
  35899. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  35900. begin
  35901. pTDefRegMap(@Self)^.clr := $00000200;
  35902. end;
  35903. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  35904. begin
  35905. if thebits = 0 then
  35906. pTDefRegMap(@Self)^.clr := $00000200
  35907. else
  35908. pTDefRegMap(@Self)^.&set := $00000200;
  35909. end;
  35910. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  35911. begin
  35912. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35913. end;
  35914. procedure TPORTB_CNPDB.setCNPDB10; inline;
  35915. begin
  35916. pTDefRegMap(@Self)^.&set := $00000400;
  35917. end;
  35918. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  35919. begin
  35920. pTDefRegMap(@Self)^.clr := $00000400;
  35921. end;
  35922. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  35923. begin
  35924. if thebits = 0 then
  35925. pTDefRegMap(@Self)^.clr := $00000400
  35926. else
  35927. pTDefRegMap(@Self)^.&set := $00000400;
  35928. end;
  35929. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  35930. begin
  35931. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35932. end;
  35933. procedure TPORTB_CNPDB.setCNPDB11; inline;
  35934. begin
  35935. pTDefRegMap(@Self)^.&set := $00000800;
  35936. end;
  35937. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  35938. begin
  35939. pTDefRegMap(@Self)^.clr := $00000800;
  35940. end;
  35941. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  35942. begin
  35943. if thebits = 0 then
  35944. pTDefRegMap(@Self)^.clr := $00000800
  35945. else
  35946. pTDefRegMap(@Self)^.&set := $00000800;
  35947. end;
  35948. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  35949. begin
  35950. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35951. end;
  35952. procedure TPORTB_CNPDB.setCNPDB12; inline;
  35953. begin
  35954. pTDefRegMap(@Self)^.&set := $00001000;
  35955. end;
  35956. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  35957. begin
  35958. pTDefRegMap(@Self)^.clr := $00001000;
  35959. end;
  35960. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  35961. begin
  35962. if thebits = 0 then
  35963. pTDefRegMap(@Self)^.clr := $00001000
  35964. else
  35965. pTDefRegMap(@Self)^.&set := $00001000;
  35966. end;
  35967. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  35968. begin
  35969. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35970. end;
  35971. procedure TPORTB_CNPDB.setCNPDB13; inline;
  35972. begin
  35973. pTDefRegMap(@Self)^.&set := $00002000;
  35974. end;
  35975. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  35976. begin
  35977. pTDefRegMap(@Self)^.clr := $00002000;
  35978. end;
  35979. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  35980. begin
  35981. if thebits = 0 then
  35982. pTDefRegMap(@Self)^.clr := $00002000
  35983. else
  35984. pTDefRegMap(@Self)^.&set := $00002000;
  35985. end;
  35986. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  35987. begin
  35988. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35989. end;
  35990. procedure TPORTB_CNPDB.setCNPDB14; inline;
  35991. begin
  35992. pTDefRegMap(@Self)^.&set := $00004000;
  35993. end;
  35994. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  35995. begin
  35996. pTDefRegMap(@Self)^.clr := $00004000;
  35997. end;
  35998. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  35999. begin
  36000. if thebits = 0 then
  36001. pTDefRegMap(@Self)^.clr := $00004000
  36002. else
  36003. pTDefRegMap(@Self)^.&set := $00004000;
  36004. end;
  36005. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  36006. begin
  36007. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36008. end;
  36009. procedure TPORTB_CNPDB.setCNPDB15; inline;
  36010. begin
  36011. pTDefRegMap(@Self)^.&set := $00008000;
  36012. end;
  36013. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  36014. begin
  36015. pTDefRegMap(@Self)^.clr := $00008000;
  36016. end;
  36017. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  36018. begin
  36019. if thebits = 0 then
  36020. pTDefRegMap(@Self)^.clr := $00008000
  36021. else
  36022. pTDefRegMap(@Self)^.&set := $00008000;
  36023. end;
  36024. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  36025. begin
  36026. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36027. end;
  36028. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36029. begin
  36030. pTDefRegMap(@Self)^.val := thebits;
  36031. end;
  36032. function TPORTB_CNPDB.getw : TBits_32; inline;
  36033. begin
  36034. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36035. end;
  36036. procedure TPORTB_CNCONB.setSIDL; inline;
  36037. begin
  36038. pTDefRegMap(@Self)^.&set := $00002000;
  36039. end;
  36040. procedure TPORTB_CNCONB.clearSIDL; inline;
  36041. begin
  36042. pTDefRegMap(@Self)^.clr := $00002000;
  36043. end;
  36044. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36045. begin
  36046. if thebits = 0 then
  36047. pTDefRegMap(@Self)^.clr := $00002000
  36048. else
  36049. pTDefRegMap(@Self)^.&set := $00002000;
  36050. end;
  36051. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36052. begin
  36053. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36054. end;
  36055. procedure TPORTB_CNCONB.setON; inline;
  36056. begin
  36057. pTDefRegMap(@Self)^.&set := $00008000;
  36058. end;
  36059. procedure TPORTB_CNCONB.clearON; inline;
  36060. begin
  36061. pTDefRegMap(@Self)^.clr := $00008000;
  36062. end;
  36063. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36064. begin
  36065. if thebits = 0 then
  36066. pTDefRegMap(@Self)^.clr := $00008000
  36067. else
  36068. pTDefRegMap(@Self)^.&set := $00008000;
  36069. end;
  36070. function TPORTB_CNCONB.getON : TBits_1; inline;
  36071. begin
  36072. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36073. end;
  36074. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36075. begin
  36076. pTDefRegMap(@Self)^.val := thebits;
  36077. end;
  36078. function TPORTB_CNCONB.getw : TBits_32; inline;
  36079. begin
  36080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36081. end;
  36082. procedure TPORTB_CNENB.setCNIEB0; inline;
  36083. begin
  36084. pTDefRegMap(@Self)^.&set := $00000001;
  36085. end;
  36086. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36087. begin
  36088. pTDefRegMap(@Self)^.clr := $00000001;
  36089. end;
  36090. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36091. begin
  36092. if thebits = 0 then
  36093. pTDefRegMap(@Self)^.clr := $00000001
  36094. else
  36095. pTDefRegMap(@Self)^.&set := $00000001;
  36096. end;
  36097. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36098. begin
  36099. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36100. end;
  36101. procedure TPORTB_CNENB.setCNIEB1; inline;
  36102. begin
  36103. pTDefRegMap(@Self)^.&set := $00000002;
  36104. end;
  36105. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36106. begin
  36107. pTDefRegMap(@Self)^.clr := $00000002;
  36108. end;
  36109. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36110. begin
  36111. if thebits = 0 then
  36112. pTDefRegMap(@Self)^.clr := $00000002
  36113. else
  36114. pTDefRegMap(@Self)^.&set := $00000002;
  36115. end;
  36116. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36117. begin
  36118. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36119. end;
  36120. procedure TPORTB_CNENB.setCNIEB2; inline;
  36121. begin
  36122. pTDefRegMap(@Self)^.&set := $00000004;
  36123. end;
  36124. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36125. begin
  36126. pTDefRegMap(@Self)^.clr := $00000004;
  36127. end;
  36128. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36129. begin
  36130. if thebits = 0 then
  36131. pTDefRegMap(@Self)^.clr := $00000004
  36132. else
  36133. pTDefRegMap(@Self)^.&set := $00000004;
  36134. end;
  36135. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36136. begin
  36137. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36138. end;
  36139. procedure TPORTB_CNENB.setCNIEB3; inline;
  36140. begin
  36141. pTDefRegMap(@Self)^.&set := $00000008;
  36142. end;
  36143. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36144. begin
  36145. pTDefRegMap(@Self)^.clr := $00000008;
  36146. end;
  36147. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36148. begin
  36149. if thebits = 0 then
  36150. pTDefRegMap(@Self)^.clr := $00000008
  36151. else
  36152. pTDefRegMap(@Self)^.&set := $00000008;
  36153. end;
  36154. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36155. begin
  36156. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36157. end;
  36158. procedure TPORTB_CNENB.setCNIEB4; inline;
  36159. begin
  36160. pTDefRegMap(@Self)^.&set := $00000010;
  36161. end;
  36162. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36163. begin
  36164. pTDefRegMap(@Self)^.clr := $00000010;
  36165. end;
  36166. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36167. begin
  36168. if thebits = 0 then
  36169. pTDefRegMap(@Self)^.clr := $00000010
  36170. else
  36171. pTDefRegMap(@Self)^.&set := $00000010;
  36172. end;
  36173. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36174. begin
  36175. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36176. end;
  36177. procedure TPORTB_CNENB.setCNIEB5; inline;
  36178. begin
  36179. pTDefRegMap(@Self)^.&set := $00000020;
  36180. end;
  36181. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36182. begin
  36183. pTDefRegMap(@Self)^.clr := $00000020;
  36184. end;
  36185. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36186. begin
  36187. if thebits = 0 then
  36188. pTDefRegMap(@Self)^.clr := $00000020
  36189. else
  36190. pTDefRegMap(@Self)^.&set := $00000020;
  36191. end;
  36192. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36193. begin
  36194. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36195. end;
  36196. procedure TPORTB_CNENB.setCNIEB6; inline;
  36197. begin
  36198. pTDefRegMap(@Self)^.&set := $00000040;
  36199. end;
  36200. procedure TPORTB_CNENB.clearCNIEB6; inline;
  36201. begin
  36202. pTDefRegMap(@Self)^.clr := $00000040;
  36203. end;
  36204. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  36205. begin
  36206. if thebits = 0 then
  36207. pTDefRegMap(@Self)^.clr := $00000040
  36208. else
  36209. pTDefRegMap(@Self)^.&set := $00000040;
  36210. end;
  36211. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  36212. begin
  36213. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36214. end;
  36215. procedure TPORTB_CNENB.setCNIEB7; inline;
  36216. begin
  36217. pTDefRegMap(@Self)^.&set := $00000080;
  36218. end;
  36219. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36220. begin
  36221. pTDefRegMap(@Self)^.clr := $00000080;
  36222. end;
  36223. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36224. begin
  36225. if thebits = 0 then
  36226. pTDefRegMap(@Self)^.clr := $00000080
  36227. else
  36228. pTDefRegMap(@Self)^.&set := $00000080;
  36229. end;
  36230. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36231. begin
  36232. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36233. end;
  36234. procedure TPORTB_CNENB.setCNIEB8; inline;
  36235. begin
  36236. pTDefRegMap(@Self)^.&set := $00000100;
  36237. end;
  36238. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36239. begin
  36240. pTDefRegMap(@Self)^.clr := $00000100;
  36241. end;
  36242. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36243. begin
  36244. if thebits = 0 then
  36245. pTDefRegMap(@Self)^.clr := $00000100
  36246. else
  36247. pTDefRegMap(@Self)^.&set := $00000100;
  36248. end;
  36249. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36250. begin
  36251. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36252. end;
  36253. procedure TPORTB_CNENB.setCNIEB9; inline;
  36254. begin
  36255. pTDefRegMap(@Self)^.&set := $00000200;
  36256. end;
  36257. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36258. begin
  36259. pTDefRegMap(@Self)^.clr := $00000200;
  36260. end;
  36261. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36262. begin
  36263. if thebits = 0 then
  36264. pTDefRegMap(@Self)^.clr := $00000200
  36265. else
  36266. pTDefRegMap(@Self)^.&set := $00000200;
  36267. end;
  36268. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36269. begin
  36270. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36271. end;
  36272. procedure TPORTB_CNENB.setCNIEB10; inline;
  36273. begin
  36274. pTDefRegMap(@Self)^.&set := $00000400;
  36275. end;
  36276. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36277. begin
  36278. pTDefRegMap(@Self)^.clr := $00000400;
  36279. end;
  36280. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36281. begin
  36282. if thebits = 0 then
  36283. pTDefRegMap(@Self)^.clr := $00000400
  36284. else
  36285. pTDefRegMap(@Self)^.&set := $00000400;
  36286. end;
  36287. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36288. begin
  36289. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36290. end;
  36291. procedure TPORTB_CNENB.setCNIEB11; inline;
  36292. begin
  36293. pTDefRegMap(@Self)^.&set := $00000800;
  36294. end;
  36295. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36296. begin
  36297. pTDefRegMap(@Self)^.clr := $00000800;
  36298. end;
  36299. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36300. begin
  36301. if thebits = 0 then
  36302. pTDefRegMap(@Self)^.clr := $00000800
  36303. else
  36304. pTDefRegMap(@Self)^.&set := $00000800;
  36305. end;
  36306. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36307. begin
  36308. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36309. end;
  36310. procedure TPORTB_CNENB.setCNIEB12; inline;
  36311. begin
  36312. pTDefRegMap(@Self)^.&set := $00001000;
  36313. end;
  36314. procedure TPORTB_CNENB.clearCNIEB12; inline;
  36315. begin
  36316. pTDefRegMap(@Self)^.clr := $00001000;
  36317. end;
  36318. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  36319. begin
  36320. if thebits = 0 then
  36321. pTDefRegMap(@Self)^.clr := $00001000
  36322. else
  36323. pTDefRegMap(@Self)^.&set := $00001000;
  36324. end;
  36325. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  36326. begin
  36327. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36328. end;
  36329. procedure TPORTB_CNENB.setCNIEB13; inline;
  36330. begin
  36331. pTDefRegMap(@Self)^.&set := $00002000;
  36332. end;
  36333. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36334. begin
  36335. pTDefRegMap(@Self)^.clr := $00002000;
  36336. end;
  36337. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36338. begin
  36339. if thebits = 0 then
  36340. pTDefRegMap(@Self)^.clr := $00002000
  36341. else
  36342. pTDefRegMap(@Self)^.&set := $00002000;
  36343. end;
  36344. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36345. begin
  36346. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36347. end;
  36348. procedure TPORTB_CNENB.setCNIEB14; inline;
  36349. begin
  36350. pTDefRegMap(@Self)^.&set := $00004000;
  36351. end;
  36352. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36353. begin
  36354. pTDefRegMap(@Self)^.clr := $00004000;
  36355. end;
  36356. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36357. begin
  36358. if thebits = 0 then
  36359. pTDefRegMap(@Self)^.clr := $00004000
  36360. else
  36361. pTDefRegMap(@Self)^.&set := $00004000;
  36362. end;
  36363. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36364. begin
  36365. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36366. end;
  36367. procedure TPORTB_CNENB.setCNIEB15; inline;
  36368. begin
  36369. pTDefRegMap(@Self)^.&set := $00008000;
  36370. end;
  36371. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36372. begin
  36373. pTDefRegMap(@Self)^.clr := $00008000;
  36374. end;
  36375. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36376. begin
  36377. if thebits = 0 then
  36378. pTDefRegMap(@Self)^.clr := $00008000
  36379. else
  36380. pTDefRegMap(@Self)^.&set := $00008000;
  36381. end;
  36382. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36383. begin
  36384. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36385. end;
  36386. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36387. begin
  36388. pTDefRegMap(@Self)^.val := thebits;
  36389. end;
  36390. function TPORTB_CNENB.getw : TBits_32; inline;
  36391. begin
  36392. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36393. end;
  36394. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36395. begin
  36396. pTDefRegMap(@Self)^.&set := $00000001;
  36397. end;
  36398. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36399. begin
  36400. pTDefRegMap(@Self)^.clr := $00000001;
  36401. end;
  36402. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36403. begin
  36404. if thebits = 0 then
  36405. pTDefRegMap(@Self)^.clr := $00000001
  36406. else
  36407. pTDefRegMap(@Self)^.&set := $00000001;
  36408. end;
  36409. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36410. begin
  36411. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36412. end;
  36413. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36414. begin
  36415. pTDefRegMap(@Self)^.&set := $00000002;
  36416. end;
  36417. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36418. begin
  36419. pTDefRegMap(@Self)^.clr := $00000002;
  36420. end;
  36421. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36422. begin
  36423. if thebits = 0 then
  36424. pTDefRegMap(@Self)^.clr := $00000002
  36425. else
  36426. pTDefRegMap(@Self)^.&set := $00000002;
  36427. end;
  36428. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36429. begin
  36430. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36431. end;
  36432. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36433. begin
  36434. pTDefRegMap(@Self)^.&set := $00000004;
  36435. end;
  36436. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36437. begin
  36438. pTDefRegMap(@Self)^.clr := $00000004;
  36439. end;
  36440. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36441. begin
  36442. if thebits = 0 then
  36443. pTDefRegMap(@Self)^.clr := $00000004
  36444. else
  36445. pTDefRegMap(@Self)^.&set := $00000004;
  36446. end;
  36447. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36448. begin
  36449. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36450. end;
  36451. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36452. begin
  36453. pTDefRegMap(@Self)^.&set := $00000008;
  36454. end;
  36455. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36456. begin
  36457. pTDefRegMap(@Self)^.clr := $00000008;
  36458. end;
  36459. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36460. begin
  36461. if thebits = 0 then
  36462. pTDefRegMap(@Self)^.clr := $00000008
  36463. else
  36464. pTDefRegMap(@Self)^.&set := $00000008;
  36465. end;
  36466. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36467. begin
  36468. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36469. end;
  36470. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36471. begin
  36472. pTDefRegMap(@Self)^.&set := $00000010;
  36473. end;
  36474. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36475. begin
  36476. pTDefRegMap(@Self)^.clr := $00000010;
  36477. end;
  36478. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36479. begin
  36480. if thebits = 0 then
  36481. pTDefRegMap(@Self)^.clr := $00000010
  36482. else
  36483. pTDefRegMap(@Self)^.&set := $00000010;
  36484. end;
  36485. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36486. begin
  36487. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36488. end;
  36489. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36490. begin
  36491. pTDefRegMap(@Self)^.&set := $00000020;
  36492. end;
  36493. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36494. begin
  36495. pTDefRegMap(@Self)^.clr := $00000020;
  36496. end;
  36497. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36498. begin
  36499. if thebits = 0 then
  36500. pTDefRegMap(@Self)^.clr := $00000020
  36501. else
  36502. pTDefRegMap(@Self)^.&set := $00000020;
  36503. end;
  36504. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36505. begin
  36506. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36507. end;
  36508. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  36509. begin
  36510. pTDefRegMap(@Self)^.&set := $00000040;
  36511. end;
  36512. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  36513. begin
  36514. pTDefRegMap(@Self)^.clr := $00000040;
  36515. end;
  36516. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  36517. begin
  36518. if thebits = 0 then
  36519. pTDefRegMap(@Self)^.clr := $00000040
  36520. else
  36521. pTDefRegMap(@Self)^.&set := $00000040;
  36522. end;
  36523. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  36524. begin
  36525. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36526. end;
  36527. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36528. begin
  36529. pTDefRegMap(@Self)^.&set := $00000080;
  36530. end;
  36531. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36532. begin
  36533. pTDefRegMap(@Self)^.clr := $00000080;
  36534. end;
  36535. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36536. begin
  36537. if thebits = 0 then
  36538. pTDefRegMap(@Self)^.clr := $00000080
  36539. else
  36540. pTDefRegMap(@Self)^.&set := $00000080;
  36541. end;
  36542. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36543. begin
  36544. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36545. end;
  36546. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36547. begin
  36548. pTDefRegMap(@Self)^.&set := $00000100;
  36549. end;
  36550. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36551. begin
  36552. pTDefRegMap(@Self)^.clr := $00000100;
  36553. end;
  36554. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36555. begin
  36556. if thebits = 0 then
  36557. pTDefRegMap(@Self)^.clr := $00000100
  36558. else
  36559. pTDefRegMap(@Self)^.&set := $00000100;
  36560. end;
  36561. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36562. begin
  36563. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36564. end;
  36565. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36566. begin
  36567. pTDefRegMap(@Self)^.&set := $00000200;
  36568. end;
  36569. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36570. begin
  36571. pTDefRegMap(@Self)^.clr := $00000200;
  36572. end;
  36573. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36574. begin
  36575. if thebits = 0 then
  36576. pTDefRegMap(@Self)^.clr := $00000200
  36577. else
  36578. pTDefRegMap(@Self)^.&set := $00000200;
  36579. end;
  36580. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36581. begin
  36582. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36583. end;
  36584. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36585. begin
  36586. pTDefRegMap(@Self)^.&set := $00000400;
  36587. end;
  36588. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36589. begin
  36590. pTDefRegMap(@Self)^.clr := $00000400;
  36591. end;
  36592. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36593. begin
  36594. if thebits = 0 then
  36595. pTDefRegMap(@Self)^.clr := $00000400
  36596. else
  36597. pTDefRegMap(@Self)^.&set := $00000400;
  36598. end;
  36599. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36600. begin
  36601. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36602. end;
  36603. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36604. begin
  36605. pTDefRegMap(@Self)^.&set := $00000800;
  36606. end;
  36607. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36608. begin
  36609. pTDefRegMap(@Self)^.clr := $00000800;
  36610. end;
  36611. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36612. begin
  36613. if thebits = 0 then
  36614. pTDefRegMap(@Self)^.clr := $00000800
  36615. else
  36616. pTDefRegMap(@Self)^.&set := $00000800;
  36617. end;
  36618. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36619. begin
  36620. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36621. end;
  36622. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  36623. begin
  36624. pTDefRegMap(@Self)^.&set := $00001000;
  36625. end;
  36626. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  36627. begin
  36628. pTDefRegMap(@Self)^.clr := $00001000;
  36629. end;
  36630. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  36631. begin
  36632. if thebits = 0 then
  36633. pTDefRegMap(@Self)^.clr := $00001000
  36634. else
  36635. pTDefRegMap(@Self)^.&set := $00001000;
  36636. end;
  36637. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  36638. begin
  36639. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36640. end;
  36641. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36642. begin
  36643. pTDefRegMap(@Self)^.&set := $00002000;
  36644. end;
  36645. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36646. begin
  36647. pTDefRegMap(@Self)^.clr := $00002000;
  36648. end;
  36649. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36650. begin
  36651. if thebits = 0 then
  36652. pTDefRegMap(@Self)^.clr := $00002000
  36653. else
  36654. pTDefRegMap(@Self)^.&set := $00002000;
  36655. end;
  36656. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36657. begin
  36658. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36659. end;
  36660. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36661. begin
  36662. pTDefRegMap(@Self)^.&set := $00004000;
  36663. end;
  36664. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36665. begin
  36666. pTDefRegMap(@Self)^.clr := $00004000;
  36667. end;
  36668. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36669. begin
  36670. if thebits = 0 then
  36671. pTDefRegMap(@Self)^.clr := $00004000
  36672. else
  36673. pTDefRegMap(@Self)^.&set := $00004000;
  36674. end;
  36675. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  36676. begin
  36677. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36678. end;
  36679. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  36680. begin
  36681. pTDefRegMap(@Self)^.&set := $00008000;
  36682. end;
  36683. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  36684. begin
  36685. pTDefRegMap(@Self)^.clr := $00008000;
  36686. end;
  36687. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  36688. begin
  36689. if thebits = 0 then
  36690. pTDefRegMap(@Self)^.clr := $00008000
  36691. else
  36692. pTDefRegMap(@Self)^.&set := $00008000;
  36693. end;
  36694. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  36695. begin
  36696. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36697. end;
  36698. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  36699. begin
  36700. pTDefRegMap(@Self)^.val := thebits;
  36701. end;
  36702. function TPORTB_CNSTATB.getw : TBits_32; inline;
  36703. begin
  36704. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36705. end;
  36706. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  36707. begin
  36708. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  36709. end;
  36710. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  36711. begin
  36712. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  36713. end;
  36714. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.&set := $10000000;
  36717. end;
  36718. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  36719. begin
  36720. pTDefRegMap(@Self)^.clr := $10000000;
  36721. end;
  36722. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  36723. begin
  36724. if thebits = 0 then
  36725. pTDefRegMap(@Self)^.clr := $10000000
  36726. else
  36727. pTDefRegMap(@Self)^.&set := $10000000;
  36728. end;
  36729. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  36730. begin
  36731. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  36732. end;
  36733. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  36734. begin
  36735. pTDefRegMap(@Self)^.&set := $20000000;
  36736. end;
  36737. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  36738. begin
  36739. pTDefRegMap(@Self)^.clr := $20000000;
  36740. end;
  36741. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  36742. begin
  36743. if thebits = 0 then
  36744. pTDefRegMap(@Self)^.clr := $20000000
  36745. else
  36746. pTDefRegMap(@Self)^.&set := $20000000;
  36747. end;
  36748. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  36749. begin
  36750. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  36751. end;
  36752. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  36753. begin
  36754. pTDefRegMap(@Self)^.&set := $40000000;
  36755. end;
  36756. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  36757. begin
  36758. pTDefRegMap(@Self)^.clr := $40000000;
  36759. end;
  36760. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  36761. begin
  36762. if thebits = 0 then
  36763. pTDefRegMap(@Self)^.clr := $40000000
  36764. else
  36765. pTDefRegMap(@Self)^.&set := $40000000;
  36766. end;
  36767. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  36768. begin
  36769. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  36770. end;
  36771. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  36772. begin
  36773. pTDefRegMap(@Self)^.&set := $80000000;
  36774. end;
  36775. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  36776. begin
  36777. pTDefRegMap(@Self)^.clr := $80000000;
  36778. end;
  36779. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  36780. begin
  36781. if thebits = 0 then
  36782. pTDefRegMap(@Self)^.clr := $80000000
  36783. else
  36784. pTDefRegMap(@Self)^.&set := $80000000;
  36785. end;
  36786. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  36787. begin
  36788. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  36789. end;
  36790. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  36791. begin
  36792. pTDefRegMap(@Self)^.val := thebits;
  36793. end;
  36794. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  36795. begin
  36796. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36797. end;
  36798. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  36799. begin
  36800. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  36801. end;
  36802. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  36803. begin
  36804. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  36805. end;
  36806. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  36807. begin
  36808. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  36809. end;
  36810. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  36811. begin
  36812. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  36813. end;
  36814. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  36815. begin
  36816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  36817. end;
  36818. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  36819. begin
  36820. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  36821. end;
  36822. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  36823. begin
  36824. pTDefRegMap(@Self)^.val := thebits;
  36825. end;
  36826. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  36827. begin
  36828. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36829. end;
  36830. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  36831. begin
  36832. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  36833. end;
  36834. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  36835. begin
  36836. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  36837. end;
  36838. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  36839. begin
  36840. pTDefRegMap(@Self)^.&set := $00000020;
  36841. end;
  36842. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  36843. begin
  36844. pTDefRegMap(@Self)^.clr := $00000020;
  36845. end;
  36846. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  36847. begin
  36848. if thebits = 0 then
  36849. pTDefRegMap(@Self)^.clr := $00000020
  36850. else
  36851. pTDefRegMap(@Self)^.&set := $00000020;
  36852. end;
  36853. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  36854. begin
  36855. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36856. end;
  36857. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  36858. begin
  36859. pTDefRegMap(@Self)^.&set := $00000080;
  36860. end;
  36861. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  36862. begin
  36863. pTDefRegMap(@Self)^.clr := $00000080;
  36864. end;
  36865. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  36866. begin
  36867. if thebits = 0 then
  36868. pTDefRegMap(@Self)^.clr := $00000080
  36869. else
  36870. pTDefRegMap(@Self)^.&set := $00000080;
  36871. end;
  36872. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  36873. begin
  36874. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36875. end;
  36876. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  36877. begin
  36878. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  36879. end;
  36880. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  36881. begin
  36882. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  36883. end;
  36884. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  36885. begin
  36886. pTDefRegMap(@Self)^.&set := $00000400;
  36887. end;
  36888. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  36889. begin
  36890. pTDefRegMap(@Self)^.clr := $00000400;
  36891. end;
  36892. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  36893. begin
  36894. if thebits = 0 then
  36895. pTDefRegMap(@Self)^.clr := $00000400
  36896. else
  36897. pTDefRegMap(@Self)^.&set := $00000400;
  36898. end;
  36899. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  36900. begin
  36901. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36902. end;
  36903. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  36904. begin
  36905. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  36906. end;
  36907. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  36908. begin
  36909. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  36910. end;
  36911. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  36912. begin
  36913. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  36914. end;
  36915. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  36916. begin
  36917. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  36918. end;
  36919. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  36920. begin
  36921. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  36922. end;
  36923. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  36924. begin
  36925. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  36926. end;
  36927. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  36928. begin
  36929. pTDefRegMap(@Self)^.&set := $00400000;
  36930. end;
  36931. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  36932. begin
  36933. pTDefRegMap(@Self)^.clr := $00400000;
  36934. end;
  36935. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  36936. begin
  36937. if thebits = 0 then
  36938. pTDefRegMap(@Self)^.clr := $00400000
  36939. else
  36940. pTDefRegMap(@Self)^.&set := $00400000;
  36941. end;
  36942. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  36943. begin
  36944. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  36945. end;
  36946. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  36947. begin
  36948. pTDefRegMap(@Self)^.&set := $00800000;
  36949. end;
  36950. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  36951. begin
  36952. pTDefRegMap(@Self)^.clr := $00800000;
  36953. end;
  36954. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  36955. begin
  36956. if thebits = 0 then
  36957. pTDefRegMap(@Self)^.clr := $00800000
  36958. else
  36959. pTDefRegMap(@Self)^.&set := $00800000;
  36960. end;
  36961. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  36962. begin
  36963. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  36964. end;
  36965. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  36966. begin
  36967. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  36968. end;
  36969. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  36970. begin
  36971. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  36972. end;
  36973. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  36974. begin
  36975. pTDefRegMap(@Self)^.val := thebits;
  36976. end;
  36977. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  36978. begin
  36979. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36980. end;
  36981. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  36982. begin
  36983. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  36984. end;
  36985. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  36986. begin
  36987. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  36988. end;
  36989. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  36990. begin
  36991. pTDefRegMap(@Self)^.&set := $00000004;
  36992. end;
  36993. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  36994. begin
  36995. pTDefRegMap(@Self)^.clr := $00000004;
  36996. end;
  36997. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  36998. begin
  36999. if thebits = 0 then
  37000. pTDefRegMap(@Self)^.clr := $00000004
  37001. else
  37002. pTDefRegMap(@Self)^.&set := $00000004;
  37003. end;
  37004. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  37005. begin
  37006. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37007. end;
  37008. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  37009. begin
  37010. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  37011. end;
  37012. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  37013. begin
  37014. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  37015. end;
  37016. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  37017. begin
  37018. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  37019. end;
  37020. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  37021. begin
  37022. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  37023. end;
  37024. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.&set := $01000000;
  37027. end;
  37028. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  37029. begin
  37030. pTDefRegMap(@Self)^.clr := $01000000;
  37031. end;
  37032. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  37033. begin
  37034. if thebits = 0 then
  37035. pTDefRegMap(@Self)^.clr := $01000000
  37036. else
  37037. pTDefRegMap(@Self)^.&set := $01000000;
  37038. end;
  37039. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  37040. begin
  37041. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37042. end;
  37043. procedure TDEVCFG_DEVCFG0.setCP; inline;
  37044. begin
  37045. pTDefRegMap(@Self)^.&set := $10000000;
  37046. end;
  37047. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  37048. begin
  37049. pTDefRegMap(@Self)^.clr := $10000000;
  37050. end;
  37051. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  37052. begin
  37053. if thebits = 0 then
  37054. pTDefRegMap(@Self)^.clr := $10000000
  37055. else
  37056. pTDefRegMap(@Self)^.&set := $10000000;
  37057. end;
  37058. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  37059. begin
  37060. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37061. end;
  37062. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  37063. begin
  37064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37065. end;
  37066. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  37067. begin
  37068. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37069. end;
  37070. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.val := thebits;
  37073. end;
  37074. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  37075. begin
  37076. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37077. end;
  37078. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  37079. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  37080. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  37081. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  37082. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  37083. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  37084. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  37085. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  37086. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  37087. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  37088. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  37089. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  37090. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  37091. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  37092. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  37093. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  37094. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  37095. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  37096. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  37097. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  37098. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  37099. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  37100. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  37101. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  37102. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  37103. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  37104. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  37105. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  37106. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  37107. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  37108. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  37109. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  37110. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  37111. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  37112. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  37113. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  37114. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  37115. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  37116. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  37117. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  37118. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  37119. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  37120. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  37121. procedure Vectors; assembler; nostackframe;
  37122. label interrupt_vectors;
  37123. asm
  37124. .section ".init.interrupt_vectors,\"ax\",@progbits"
  37125. interrupt_vectors:
  37126. j _CORE_TIMER_VECTOR_interrupt
  37127. nop
  37128. nop
  37129. nop
  37130. nop
  37131. nop
  37132. nop
  37133. nop
  37134. j _CORE_SOFTWARE_0_VECTOR_interrupt
  37135. nop
  37136. nop
  37137. nop
  37138. nop
  37139. nop
  37140. nop
  37141. nop
  37142. j _CORE_SOFTWARE_1_VECTOR_interrupt
  37143. nop
  37144. nop
  37145. nop
  37146. nop
  37147. nop
  37148. nop
  37149. nop
  37150. j _EXTERNAL_0_VECTOR_interrupt
  37151. nop
  37152. nop
  37153. nop
  37154. nop
  37155. nop
  37156. nop
  37157. nop
  37158. j _TIMER_1_VECTOR_interrupt
  37159. nop
  37160. nop
  37161. nop
  37162. nop
  37163. nop
  37164. nop
  37165. nop
  37166. j _INPUT_CAPTURE_1_VECTOR_interrupt
  37167. nop
  37168. nop
  37169. nop
  37170. nop
  37171. nop
  37172. nop
  37173. nop
  37174. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  37175. nop
  37176. nop
  37177. nop
  37178. nop
  37179. nop
  37180. nop
  37181. nop
  37182. j _EXTERNAL_1_VECTOR_interrupt
  37183. nop
  37184. nop
  37185. nop
  37186. nop
  37187. nop
  37188. nop
  37189. nop
  37190. j _TIMER_2_VECTOR_interrupt
  37191. nop
  37192. nop
  37193. nop
  37194. nop
  37195. nop
  37196. nop
  37197. nop
  37198. j _INPUT_CAPTURE_2_VECTOR_interrupt
  37199. nop
  37200. nop
  37201. nop
  37202. nop
  37203. nop
  37204. nop
  37205. nop
  37206. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  37207. nop
  37208. nop
  37209. nop
  37210. nop
  37211. nop
  37212. nop
  37213. nop
  37214. j _EXTERNAL_2_VECTOR_interrupt
  37215. nop
  37216. nop
  37217. nop
  37218. nop
  37219. nop
  37220. nop
  37221. nop
  37222. j _TIMER_3_VECTOR_interrupt
  37223. nop
  37224. nop
  37225. nop
  37226. nop
  37227. nop
  37228. nop
  37229. nop
  37230. j _INPUT_CAPTURE_3_VECTOR_interrupt
  37231. nop
  37232. nop
  37233. nop
  37234. nop
  37235. nop
  37236. nop
  37237. nop
  37238. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  37239. nop
  37240. nop
  37241. nop
  37242. nop
  37243. nop
  37244. nop
  37245. nop
  37246. j _EXTERNAL_3_VECTOR_interrupt
  37247. nop
  37248. nop
  37249. nop
  37250. nop
  37251. nop
  37252. nop
  37253. nop
  37254. j _TIMER_4_VECTOR_interrupt
  37255. nop
  37256. nop
  37257. nop
  37258. nop
  37259. nop
  37260. nop
  37261. nop
  37262. j _INPUT_CAPTURE_4_VECTOR_interrupt
  37263. nop
  37264. nop
  37265. nop
  37266. nop
  37267. nop
  37268. nop
  37269. nop
  37270. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  37271. nop
  37272. nop
  37273. nop
  37274. nop
  37275. nop
  37276. nop
  37277. nop
  37278. j _EXTERNAL_4_VECTOR_interrupt
  37279. nop
  37280. nop
  37281. nop
  37282. nop
  37283. nop
  37284. nop
  37285. nop
  37286. j _TIMER_5_VECTOR_interrupt
  37287. nop
  37288. nop
  37289. nop
  37290. nop
  37291. nop
  37292. nop
  37293. nop
  37294. j _INPUT_CAPTURE_5_VECTOR_interrupt
  37295. nop
  37296. nop
  37297. nop
  37298. nop
  37299. nop
  37300. nop
  37301. nop
  37302. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  37303. nop
  37304. nop
  37305. nop
  37306. nop
  37307. nop
  37308. nop
  37309. nop
  37310. j _ADC_VECTOR_interrupt
  37311. nop
  37312. nop
  37313. nop
  37314. nop
  37315. nop
  37316. nop
  37317. nop
  37318. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37319. nop
  37320. nop
  37321. nop
  37322. nop
  37323. nop
  37324. nop
  37325. nop
  37326. j _RTCC_VECTOR_interrupt
  37327. nop
  37328. nop
  37329. nop
  37330. nop
  37331. nop
  37332. nop
  37333. nop
  37334. j _FCE_VECTOR_interrupt
  37335. nop
  37336. nop
  37337. nop
  37338. nop
  37339. nop
  37340. nop
  37341. nop
  37342. j _COMPARATOR_1_VECTOR_interrupt
  37343. nop
  37344. nop
  37345. nop
  37346. nop
  37347. nop
  37348. nop
  37349. nop
  37350. j _COMPARATOR_2_VECTOR_interrupt
  37351. nop
  37352. nop
  37353. nop
  37354. nop
  37355. nop
  37356. nop
  37357. nop
  37358. j _COMPARATOR_3_VECTOR_interrupt
  37359. nop
  37360. nop
  37361. nop
  37362. nop
  37363. nop
  37364. nop
  37365. nop
  37366. nop
  37367. nop
  37368. nop
  37369. nop
  37370. nop
  37371. nop
  37372. nop
  37373. nop
  37374. j _SPI_1_VECTOR_interrupt
  37375. nop
  37376. nop
  37377. nop
  37378. nop
  37379. nop
  37380. nop
  37381. nop
  37382. j _UART_1_VECTOR_interrupt
  37383. nop
  37384. nop
  37385. nop
  37386. nop
  37387. nop
  37388. nop
  37389. nop
  37390. j _I2C_1_VECTOR_interrupt
  37391. nop
  37392. nop
  37393. nop
  37394. nop
  37395. nop
  37396. nop
  37397. nop
  37398. j _CHANGE_NOTICE_VECTOR_interrupt
  37399. nop
  37400. nop
  37401. nop
  37402. nop
  37403. nop
  37404. nop
  37405. nop
  37406. j _PMP_VECTOR_interrupt
  37407. nop
  37408. nop
  37409. nop
  37410. nop
  37411. nop
  37412. nop
  37413. nop
  37414. j _SPI_2_VECTOR_interrupt
  37415. nop
  37416. nop
  37417. nop
  37418. nop
  37419. nop
  37420. nop
  37421. nop
  37422. j _UART_2_VECTOR_interrupt
  37423. nop
  37424. nop
  37425. nop
  37426. nop
  37427. nop
  37428. nop
  37429. nop
  37430. j _I2C_2_VECTOR_interrupt
  37431. nop
  37432. nop
  37433. nop
  37434. nop
  37435. nop
  37436. nop
  37437. nop
  37438. j _CTMU_VECTOR_interrupt
  37439. nop
  37440. nop
  37441. nop
  37442. nop
  37443. nop
  37444. nop
  37445. nop
  37446. j _DMA_0_VECTOR_interrupt
  37447. nop
  37448. nop
  37449. nop
  37450. nop
  37451. nop
  37452. nop
  37453. nop
  37454. j _DMA_1_VECTOR_interrupt
  37455. nop
  37456. nop
  37457. nop
  37458. nop
  37459. nop
  37460. nop
  37461. nop
  37462. j _DMA_2_VECTOR_interrupt
  37463. nop
  37464. nop
  37465. nop
  37466. nop
  37467. nop
  37468. nop
  37469. nop
  37470. j _DMA_3_VECTOR_interrupt
  37471. nop
  37472. nop
  37473. nop
  37474. nop
  37475. nop
  37476. nop
  37477. nop
  37478. .weak _CORE_TIMER_VECTOR_interrupt
  37479. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  37480. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  37481. .weak _EXTERNAL_0_VECTOR_interrupt
  37482. .weak _TIMER_1_VECTOR_interrupt
  37483. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  37484. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  37485. .weak _EXTERNAL_1_VECTOR_interrupt
  37486. .weak _TIMER_2_VECTOR_interrupt
  37487. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  37488. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  37489. .weak _EXTERNAL_2_VECTOR_interrupt
  37490. .weak _TIMER_3_VECTOR_interrupt
  37491. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  37492. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  37493. .weak _EXTERNAL_3_VECTOR_interrupt
  37494. .weak _TIMER_4_VECTOR_interrupt
  37495. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  37496. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  37497. .weak _EXTERNAL_4_VECTOR_interrupt
  37498. .weak _TIMER_5_VECTOR_interrupt
  37499. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  37500. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  37501. .weak _ADC_VECTOR_interrupt
  37502. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37503. .weak _RTCC_VECTOR_interrupt
  37504. .weak _FCE_VECTOR_interrupt
  37505. .weak _COMPARATOR_1_VECTOR_interrupt
  37506. .weak _COMPARATOR_2_VECTOR_interrupt
  37507. .weak _COMPARATOR_3_VECTOR_interrupt
  37508. .weak _SPI_1_VECTOR_interrupt
  37509. .weak _UART_1_VECTOR_interrupt
  37510. .weak _I2C_1_VECTOR_interrupt
  37511. .weak _CHANGE_NOTICE_VECTOR_interrupt
  37512. .weak _PMP_VECTOR_interrupt
  37513. .weak _SPI_2_VECTOR_interrupt
  37514. .weak _UART_2_VECTOR_interrupt
  37515. .weak _I2C_2_VECTOR_interrupt
  37516. .weak _CTMU_VECTOR_interrupt
  37517. .weak _DMA_0_VECTOR_interrupt
  37518. .weak _DMA_1_VECTOR_interrupt
  37519. .weak _DMA_2_VECTOR_interrupt
  37520. .weak _DMA_3_VECTOR_interrupt
  37521. .text
  37522. end;
  37523. end.