pic32mx170f256b.pp 1.1 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856
  1. unit pic32mx170f256b;
  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_ODCA = record
  8364. private
  8365. function getODCA0 : TBits_1; inline;
  8366. function getODCA1 : TBits_1; inline;
  8367. function getODCA2 : TBits_1; inline;
  8368. function getODCA3 : TBits_1; inline;
  8369. function getODCA4 : TBits_1; inline;
  8370. function getw : TBits_32; inline;
  8371. procedure setODCA0(thebits : TBits_1); inline;
  8372. procedure setODCA1(thebits : TBits_1); inline;
  8373. procedure setODCA2(thebits : TBits_1); inline;
  8374. procedure setODCA3(thebits : TBits_1); inline;
  8375. procedure setODCA4(thebits : TBits_1); inline;
  8376. procedure setw(thebits : TBits_32); inline;
  8377. public
  8378. procedure clearODCA0; inline;
  8379. procedure clearODCA1; inline;
  8380. procedure clearODCA2; inline;
  8381. procedure clearODCA3; inline;
  8382. procedure clearODCA4; inline;
  8383. procedure setODCA0; inline;
  8384. procedure setODCA1; inline;
  8385. procedure setODCA2; inline;
  8386. procedure setODCA3; inline;
  8387. procedure setODCA4; inline;
  8388. property ODCA0 : TBits_1 read getODCA0 write setODCA0;
  8389. property ODCA1 : TBits_1 read getODCA1 write setODCA1;
  8390. property ODCA2 : TBits_1 read getODCA2 write setODCA2;
  8391. property ODCA3 : TBits_1 read getODCA3 write setODCA3;
  8392. property ODCA4 : TBits_1 read getODCA4 write setODCA4;
  8393. property w : TBits_32 read getw write setw;
  8394. end;
  8395. TPORTA_CNPUA = record
  8396. private
  8397. function getCNPUA0 : TBits_1; inline;
  8398. function getCNPUA1 : TBits_1; inline;
  8399. function getCNPUA2 : TBits_1; inline;
  8400. function getCNPUA3 : TBits_1; inline;
  8401. function getCNPUA4 : TBits_1; inline;
  8402. function getw : TBits_32; inline;
  8403. procedure setCNPUA0(thebits : TBits_1); inline;
  8404. procedure setCNPUA1(thebits : TBits_1); inline;
  8405. procedure setCNPUA2(thebits : TBits_1); inline;
  8406. procedure setCNPUA3(thebits : TBits_1); inline;
  8407. procedure setCNPUA4(thebits : TBits_1); inline;
  8408. procedure setw(thebits : TBits_32); inline;
  8409. public
  8410. procedure clearCNPUA0; inline;
  8411. procedure clearCNPUA1; inline;
  8412. procedure clearCNPUA2; inline;
  8413. procedure clearCNPUA3; inline;
  8414. procedure clearCNPUA4; inline;
  8415. procedure setCNPUA0; inline;
  8416. procedure setCNPUA1; inline;
  8417. procedure setCNPUA2; inline;
  8418. procedure setCNPUA3; inline;
  8419. procedure setCNPUA4; inline;
  8420. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8421. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8422. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8423. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8424. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8425. property w : TBits_32 read getw write setw;
  8426. end;
  8427. TPORTA_CNPDA = record
  8428. private
  8429. function getCNPDA0 : TBits_1; inline;
  8430. function getCNPDA1 : TBits_1; inline;
  8431. function getCNPDA2 : TBits_1; inline;
  8432. function getCNPDA3 : TBits_1; inline;
  8433. function getCNPDA4 : TBits_1; inline;
  8434. function getw : TBits_32; inline;
  8435. procedure setCNPDA0(thebits : TBits_1); inline;
  8436. procedure setCNPDA1(thebits : TBits_1); inline;
  8437. procedure setCNPDA2(thebits : TBits_1); inline;
  8438. procedure setCNPDA3(thebits : TBits_1); inline;
  8439. procedure setCNPDA4(thebits : TBits_1); inline;
  8440. procedure setw(thebits : TBits_32); inline;
  8441. public
  8442. procedure clearCNPDA0; inline;
  8443. procedure clearCNPDA1; inline;
  8444. procedure clearCNPDA2; inline;
  8445. procedure clearCNPDA3; inline;
  8446. procedure clearCNPDA4; inline;
  8447. procedure setCNPDA0; inline;
  8448. procedure setCNPDA1; inline;
  8449. procedure setCNPDA2; inline;
  8450. procedure setCNPDA3; inline;
  8451. procedure setCNPDA4; inline;
  8452. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8453. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8454. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8455. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8456. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8457. property w : TBits_32 read getw write setw;
  8458. end;
  8459. TPORTA_CNCONA = record
  8460. private
  8461. function getON : TBits_1; inline;
  8462. function getSIDL : TBits_1; inline;
  8463. function getw : TBits_32; inline;
  8464. procedure setON(thebits : TBits_1); inline;
  8465. procedure setSIDL(thebits : TBits_1); inline;
  8466. procedure setw(thebits : TBits_32); inline;
  8467. public
  8468. procedure clearON; inline;
  8469. procedure clearSIDL; inline;
  8470. procedure setON; inline;
  8471. procedure setSIDL; inline;
  8472. property ON : TBits_1 read getON write setON;
  8473. property SIDL : TBits_1 read getSIDL write setSIDL;
  8474. property w : TBits_32 read getw write setw;
  8475. end;
  8476. TPORTA_CNENA = record
  8477. private
  8478. function getCNIEA0 : TBits_1; inline;
  8479. function getCNIEA1 : TBits_1; inline;
  8480. function getCNIEA2 : TBits_1; inline;
  8481. function getCNIEA3 : TBits_1; inline;
  8482. function getCNIEA4 : TBits_1; inline;
  8483. function getw : TBits_32; inline;
  8484. procedure setCNIEA0(thebits : TBits_1); inline;
  8485. procedure setCNIEA1(thebits : TBits_1); inline;
  8486. procedure setCNIEA2(thebits : TBits_1); inline;
  8487. procedure setCNIEA3(thebits : TBits_1); inline;
  8488. procedure setCNIEA4(thebits : TBits_1); inline;
  8489. procedure setw(thebits : TBits_32); inline;
  8490. public
  8491. procedure clearCNIEA0; inline;
  8492. procedure clearCNIEA1; inline;
  8493. procedure clearCNIEA2; inline;
  8494. procedure clearCNIEA3; inline;
  8495. procedure clearCNIEA4; inline;
  8496. procedure setCNIEA0; inline;
  8497. procedure setCNIEA1; inline;
  8498. procedure setCNIEA2; inline;
  8499. procedure setCNIEA3; inline;
  8500. procedure setCNIEA4; inline;
  8501. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8502. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8503. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8504. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8505. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8506. property w : TBits_32 read getw write setw;
  8507. end;
  8508. TPORTA_CNSTATA = record
  8509. private
  8510. function getCNSTATA0 : TBits_1; inline;
  8511. function getCNSTATA1 : TBits_1; inline;
  8512. function getCNSTATA2 : TBits_1; inline;
  8513. function getCNSTATA3 : TBits_1; inline;
  8514. function getCNSTATA4 : TBits_1; inline;
  8515. function getw : TBits_32; inline;
  8516. procedure setCNSTATA0(thebits : TBits_1); inline;
  8517. procedure setCNSTATA1(thebits : TBits_1); inline;
  8518. procedure setCNSTATA2(thebits : TBits_1); inline;
  8519. procedure setCNSTATA3(thebits : TBits_1); inline;
  8520. procedure setCNSTATA4(thebits : TBits_1); inline;
  8521. procedure setw(thebits : TBits_32); inline;
  8522. public
  8523. procedure clearCNSTATA0; inline;
  8524. procedure clearCNSTATA1; inline;
  8525. procedure clearCNSTATA2; inline;
  8526. procedure clearCNSTATA3; inline;
  8527. procedure clearCNSTATA4; inline;
  8528. procedure setCNSTATA0; inline;
  8529. procedure setCNSTATA1; inline;
  8530. procedure setCNSTATA2; inline;
  8531. procedure setCNSTATA3; inline;
  8532. procedure setCNSTATA4; inline;
  8533. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8534. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8535. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8536. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8537. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8538. property w : TBits_32 read getw write setw;
  8539. end;
  8540. type
  8541. TPORTARegisters = record
  8542. ANSELAbits : TPORTA_ANSELA;
  8543. ANSELA : longWord;
  8544. ANSELACLR : longWord;
  8545. ANSELASET : longWord;
  8546. ANSELAINV : longWord;
  8547. TRISAbits : TPORTA_TRISA;
  8548. TRISA : longWord;
  8549. TRISACLR : longWord;
  8550. TRISASET : longWord;
  8551. TRISAINV : longWord;
  8552. PORTAbits : TPORTA_PORTA;
  8553. PORTA : longWord;
  8554. PORTACLR : longWord;
  8555. PORTASET : longWord;
  8556. PORTAINV : longWord;
  8557. LATAbits : TPORTA_LATA;
  8558. LATA : longWord;
  8559. LATACLR : longWord;
  8560. LATASET : longWord;
  8561. LATAINV : longWord;
  8562. ODCAbits : TPORTA_ODCA;
  8563. ODCA : longWord;
  8564. ODCACLR : longWord;
  8565. ODCASET : longWord;
  8566. ODCAINV : longWord;
  8567. CNPUAbits : TPORTA_CNPUA;
  8568. CNPUA : longWord;
  8569. CNPUACLR : longWord;
  8570. CNPUASET : longWord;
  8571. CNPUAINV : longWord;
  8572. CNPDAbits : TPORTA_CNPDA;
  8573. CNPDA : longWord;
  8574. CNPDACLR : longWord;
  8575. CNPDASET : longWord;
  8576. CNPDAINV : longWord;
  8577. CNCONAbits : TPORTA_CNCONA;
  8578. CNCONA : longWord;
  8579. CNCONACLR : longWord;
  8580. CNCONASET : longWord;
  8581. CNCONAINV : longWord;
  8582. CNENAbits : TPORTA_CNENA;
  8583. CNENA : longWord;
  8584. CNENACLR : longWord;
  8585. CNENASET : longWord;
  8586. CNENAINV : longWord;
  8587. CNSTATAbits : TPORTA_CNSTATA;
  8588. CNSTATA : longWord;
  8589. CNSTATACLR : longWord;
  8590. CNSTATASET : longWord;
  8591. CNSTATAINV : longWord;
  8592. end;
  8593. TPORTB_ANSELB = record
  8594. private
  8595. function getANSB0 : TBits_1; inline;
  8596. function getANSB1 : TBits_1; inline;
  8597. function getANSB12 : TBits_1; inline;
  8598. function getANSB13 : TBits_1; inline;
  8599. function getANSB14 : TBits_1; inline;
  8600. function getANSB15 : TBits_1; inline;
  8601. function getANSB2 : TBits_1; inline;
  8602. function getANSB3 : TBits_1; inline;
  8603. function getw : TBits_32; inline;
  8604. procedure setANSB0(thebits : TBits_1); inline;
  8605. procedure setANSB1(thebits : TBits_1); inline;
  8606. procedure setANSB12(thebits : TBits_1); inline;
  8607. procedure setANSB13(thebits : TBits_1); inline;
  8608. procedure setANSB14(thebits : TBits_1); inline;
  8609. procedure setANSB15(thebits : TBits_1); inline;
  8610. procedure setANSB2(thebits : TBits_1); inline;
  8611. procedure setANSB3(thebits : TBits_1); inline;
  8612. procedure setw(thebits : TBits_32); inline;
  8613. public
  8614. procedure clearANSB0; inline;
  8615. procedure clearANSB12; inline;
  8616. procedure clearANSB13; inline;
  8617. procedure clearANSB14; inline;
  8618. procedure clearANSB15; inline;
  8619. procedure clearANSB1; inline;
  8620. procedure clearANSB2; inline;
  8621. procedure clearANSB3; inline;
  8622. procedure setANSB0; inline;
  8623. procedure setANSB12; inline;
  8624. procedure setANSB13; inline;
  8625. procedure setANSB14; inline;
  8626. procedure setANSB15; inline;
  8627. procedure setANSB1; inline;
  8628. procedure setANSB2; inline;
  8629. procedure setANSB3; inline;
  8630. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8631. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8632. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8633. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8634. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8635. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8636. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8637. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8638. property w : TBits_32 read getw write setw;
  8639. end;
  8640. TPORTB_TRISB = record
  8641. private
  8642. function getTRISB0 : TBits_1; inline;
  8643. function getTRISB1 : TBits_1; inline;
  8644. function getTRISB10 : TBits_1; inline;
  8645. function getTRISB11 : TBits_1; inline;
  8646. function getTRISB12 : TBits_1; inline;
  8647. function getTRISB13 : TBits_1; inline;
  8648. function getTRISB14 : TBits_1; inline;
  8649. function getTRISB15 : TBits_1; inline;
  8650. function getTRISB2 : TBits_1; inline;
  8651. function getTRISB3 : TBits_1; inline;
  8652. function getTRISB4 : TBits_1; inline;
  8653. function getTRISB5 : TBits_1; inline;
  8654. function getTRISB6 : TBits_1; inline;
  8655. function getTRISB7 : TBits_1; inline;
  8656. function getTRISB8 : TBits_1; inline;
  8657. function getTRISB9 : TBits_1; inline;
  8658. function getw : TBits_32; inline;
  8659. procedure setTRISB0(thebits : TBits_1); inline;
  8660. procedure setTRISB1(thebits : TBits_1); inline;
  8661. procedure setTRISB10(thebits : TBits_1); inline;
  8662. procedure setTRISB11(thebits : TBits_1); inline;
  8663. procedure setTRISB12(thebits : TBits_1); inline;
  8664. procedure setTRISB13(thebits : TBits_1); inline;
  8665. procedure setTRISB14(thebits : TBits_1); inline;
  8666. procedure setTRISB15(thebits : TBits_1); inline;
  8667. procedure setTRISB2(thebits : TBits_1); inline;
  8668. procedure setTRISB3(thebits : TBits_1); inline;
  8669. procedure setTRISB4(thebits : TBits_1); inline;
  8670. procedure setTRISB5(thebits : TBits_1); inline;
  8671. procedure setTRISB6(thebits : TBits_1); inline;
  8672. procedure setTRISB7(thebits : TBits_1); inline;
  8673. procedure setTRISB8(thebits : TBits_1); inline;
  8674. procedure setTRISB9(thebits : TBits_1); inline;
  8675. procedure setw(thebits : TBits_32); inline;
  8676. public
  8677. procedure clearTRISB0; inline;
  8678. procedure clearTRISB10; inline;
  8679. procedure clearTRISB11; inline;
  8680. procedure clearTRISB12; inline;
  8681. procedure clearTRISB13; inline;
  8682. procedure clearTRISB14; inline;
  8683. procedure clearTRISB15; inline;
  8684. procedure clearTRISB1; inline;
  8685. procedure clearTRISB2; inline;
  8686. procedure clearTRISB3; inline;
  8687. procedure clearTRISB4; inline;
  8688. procedure clearTRISB5; inline;
  8689. procedure clearTRISB6; inline;
  8690. procedure clearTRISB7; inline;
  8691. procedure clearTRISB8; inline;
  8692. procedure clearTRISB9; inline;
  8693. procedure setTRISB0; inline;
  8694. procedure setTRISB10; inline;
  8695. procedure setTRISB11; inline;
  8696. procedure setTRISB12; inline;
  8697. procedure setTRISB13; inline;
  8698. procedure setTRISB14; inline;
  8699. procedure setTRISB15; inline;
  8700. procedure setTRISB1; inline;
  8701. procedure setTRISB2; inline;
  8702. procedure setTRISB3; inline;
  8703. procedure setTRISB4; inline;
  8704. procedure setTRISB5; inline;
  8705. procedure setTRISB6; inline;
  8706. procedure setTRISB7; inline;
  8707. procedure setTRISB8; inline;
  8708. procedure setTRISB9; inline;
  8709. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8710. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8711. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8712. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8713. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8714. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8715. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8716. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8717. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8718. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8719. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8720. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8721. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8722. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8723. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8724. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8725. property w : TBits_32 read getw write setw;
  8726. end;
  8727. TPORTB_PORTB = record
  8728. private
  8729. function getRB0 : TBits_1; inline;
  8730. function getRB1 : TBits_1; inline;
  8731. function getRB10 : TBits_1; inline;
  8732. function getRB11 : TBits_1; inline;
  8733. function getRB12 : TBits_1; inline;
  8734. function getRB13 : TBits_1; inline;
  8735. function getRB14 : TBits_1; inline;
  8736. function getRB15 : TBits_1; inline;
  8737. function getRB2 : TBits_1; inline;
  8738. function getRB3 : TBits_1; inline;
  8739. function getRB4 : TBits_1; inline;
  8740. function getRB5 : TBits_1; inline;
  8741. function getRB6 : TBits_1; inline;
  8742. function getRB7 : TBits_1; inline;
  8743. function getRB8 : TBits_1; inline;
  8744. function getRB9 : TBits_1; inline;
  8745. function getw : TBits_32; inline;
  8746. procedure setRB0(thebits : TBits_1); inline;
  8747. procedure setRB1(thebits : TBits_1); inline;
  8748. procedure setRB10(thebits : TBits_1); inline;
  8749. procedure setRB11(thebits : TBits_1); inline;
  8750. procedure setRB12(thebits : TBits_1); inline;
  8751. procedure setRB13(thebits : TBits_1); inline;
  8752. procedure setRB14(thebits : TBits_1); inline;
  8753. procedure setRB15(thebits : TBits_1); inline;
  8754. procedure setRB2(thebits : TBits_1); inline;
  8755. procedure setRB3(thebits : TBits_1); inline;
  8756. procedure setRB4(thebits : TBits_1); inline;
  8757. procedure setRB5(thebits : TBits_1); inline;
  8758. procedure setRB6(thebits : TBits_1); inline;
  8759. procedure setRB7(thebits : TBits_1); inline;
  8760. procedure setRB8(thebits : TBits_1); inline;
  8761. procedure setRB9(thebits : TBits_1); inline;
  8762. procedure setw(thebits : TBits_32); inline;
  8763. public
  8764. procedure clearRB0; inline;
  8765. procedure clearRB10; inline;
  8766. procedure clearRB11; inline;
  8767. procedure clearRB12; inline;
  8768. procedure clearRB13; inline;
  8769. procedure clearRB14; inline;
  8770. procedure clearRB15; inline;
  8771. procedure clearRB1; inline;
  8772. procedure clearRB2; inline;
  8773. procedure clearRB3; inline;
  8774. procedure clearRB4; inline;
  8775. procedure clearRB5; inline;
  8776. procedure clearRB6; inline;
  8777. procedure clearRB7; inline;
  8778. procedure clearRB8; inline;
  8779. procedure clearRB9; inline;
  8780. procedure setRB0; inline;
  8781. procedure setRB10; inline;
  8782. procedure setRB11; inline;
  8783. procedure setRB12; inline;
  8784. procedure setRB13; inline;
  8785. procedure setRB14; inline;
  8786. procedure setRB15; inline;
  8787. procedure setRB1; inline;
  8788. procedure setRB2; inline;
  8789. procedure setRB3; inline;
  8790. procedure setRB4; inline;
  8791. procedure setRB5; inline;
  8792. procedure setRB6; inline;
  8793. procedure setRB7; inline;
  8794. procedure setRB8; inline;
  8795. procedure setRB9; inline;
  8796. property RB0 : TBits_1 read getRB0 write setRB0;
  8797. property RB1 : TBits_1 read getRB1 write setRB1;
  8798. property RB10 : TBits_1 read getRB10 write setRB10;
  8799. property RB11 : TBits_1 read getRB11 write setRB11;
  8800. property RB12 : TBits_1 read getRB12 write setRB12;
  8801. property RB13 : TBits_1 read getRB13 write setRB13;
  8802. property RB14 : TBits_1 read getRB14 write setRB14;
  8803. property RB15 : TBits_1 read getRB15 write setRB15;
  8804. property RB2 : TBits_1 read getRB2 write setRB2;
  8805. property RB3 : TBits_1 read getRB3 write setRB3;
  8806. property RB4 : TBits_1 read getRB4 write setRB4;
  8807. property RB5 : TBits_1 read getRB5 write setRB5;
  8808. property RB6 : TBits_1 read getRB6 write setRB6;
  8809. property RB7 : TBits_1 read getRB7 write setRB7;
  8810. property RB8 : TBits_1 read getRB8 write setRB8;
  8811. property RB9 : TBits_1 read getRB9 write setRB9;
  8812. property w : TBits_32 read getw write setw;
  8813. end;
  8814. 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);
  8815. TPortB_bitset = set of TPortB_bits;
  8816. TPORTB_LATB = record
  8817. private
  8818. function getLATB0 : TBits_1; inline;
  8819. function getLATB1 : TBits_1; inline;
  8820. function getLATB10 : TBits_1; inline;
  8821. function getLATB11 : TBits_1; inline;
  8822. function getLATB12 : TBits_1; inline;
  8823. function getLATB13 : TBits_1; inline;
  8824. function getLATB14 : TBits_1; inline;
  8825. function getLATB15 : TBits_1; inline;
  8826. function getLATB2 : TBits_1; inline;
  8827. function getLATB3 : TBits_1; inline;
  8828. function getLATB4 : TBits_1; inline;
  8829. function getLATB5 : TBits_1; inline;
  8830. function getLATB6 : TBits_1; inline;
  8831. function getLATB7 : TBits_1; inline;
  8832. function getLATB8 : TBits_1; inline;
  8833. function getLATB9 : TBits_1; inline;
  8834. function getw : TBits_32; inline;
  8835. procedure setLATB0(thebits : TBits_1); inline;
  8836. procedure setLATB1(thebits : TBits_1); inline;
  8837. procedure setLATB10(thebits : TBits_1); inline;
  8838. procedure setLATB11(thebits : TBits_1); inline;
  8839. procedure setLATB12(thebits : TBits_1); inline;
  8840. procedure setLATB13(thebits : TBits_1); inline;
  8841. procedure setLATB14(thebits : TBits_1); inline;
  8842. procedure setLATB15(thebits : TBits_1); inline;
  8843. procedure setLATB2(thebits : TBits_1); inline;
  8844. procedure setLATB3(thebits : TBits_1); inline;
  8845. procedure setLATB4(thebits : TBits_1); inline;
  8846. procedure setLATB5(thebits : TBits_1); inline;
  8847. procedure setLATB6(thebits : TBits_1); inline;
  8848. procedure setLATB7(thebits : TBits_1); inline;
  8849. procedure setLATB8(thebits : TBits_1); inline;
  8850. procedure setLATB9(thebits : TBits_1); inline;
  8851. procedure setw(thebits : TBits_32); inline;
  8852. public
  8853. procedure clearLATB0; inline;
  8854. procedure clearLATB10; inline;
  8855. procedure clearLATB11; inline;
  8856. procedure clearLATB12; inline;
  8857. procedure clearLATB13; inline;
  8858. procedure clearLATB14; inline;
  8859. procedure clearLATB15; inline;
  8860. procedure clearLATB1; inline;
  8861. procedure clearLATB2; inline;
  8862. procedure clearLATB3; inline;
  8863. procedure clearLATB4; inline;
  8864. procedure clearLATB5; inline;
  8865. procedure clearLATB6; inline;
  8866. procedure clearLATB7; inline;
  8867. procedure clearLATB8; inline;
  8868. procedure clearLATB9; inline;
  8869. procedure setLATB0; inline;
  8870. procedure setLATB10; inline;
  8871. procedure setLATB11; inline;
  8872. procedure setLATB12; inline;
  8873. procedure setLATB13; inline;
  8874. procedure setLATB14; inline;
  8875. procedure setLATB15; inline;
  8876. procedure setLATB1; inline;
  8877. procedure setLATB2; inline;
  8878. procedure setLATB3; inline;
  8879. procedure setLATB4; inline;
  8880. procedure setLATB5; inline;
  8881. procedure setLATB6; inline;
  8882. procedure setLATB7; inline;
  8883. procedure setLATB8; inline;
  8884. procedure setLATB9; inline;
  8885. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  8886. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  8887. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  8888. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  8889. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  8890. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  8891. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  8892. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  8893. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  8894. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  8895. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  8896. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  8897. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  8898. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  8899. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  8900. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  8901. property w : TBits_32 read getw write setw;
  8902. end;
  8903. TPORTB_ODCB = record
  8904. private
  8905. function getODCB0 : TBits_1; inline;
  8906. function getODCB1 : TBits_1; inline;
  8907. function getODCB10 : TBits_1; inline;
  8908. function getODCB11 : TBits_1; inline;
  8909. function getODCB12 : TBits_1; inline;
  8910. function getODCB13 : TBits_1; inline;
  8911. function getODCB14 : TBits_1; inline;
  8912. function getODCB15 : TBits_1; inline;
  8913. function getODCB2 : TBits_1; inline;
  8914. function getODCB3 : TBits_1; inline;
  8915. function getODCB4 : TBits_1; inline;
  8916. function getODCB5 : TBits_1; inline;
  8917. function getODCB6 : TBits_1; inline;
  8918. function getODCB7 : TBits_1; inline;
  8919. function getODCB8 : TBits_1; inline;
  8920. function getODCB9 : TBits_1; inline;
  8921. function getw : TBits_32; inline;
  8922. procedure setODCB0(thebits : TBits_1); inline;
  8923. procedure setODCB1(thebits : TBits_1); inline;
  8924. procedure setODCB10(thebits : TBits_1); inline;
  8925. procedure setODCB11(thebits : TBits_1); inline;
  8926. procedure setODCB12(thebits : TBits_1); inline;
  8927. procedure setODCB13(thebits : TBits_1); inline;
  8928. procedure setODCB14(thebits : TBits_1); inline;
  8929. procedure setODCB15(thebits : TBits_1); inline;
  8930. procedure setODCB2(thebits : TBits_1); inline;
  8931. procedure setODCB3(thebits : TBits_1); inline;
  8932. procedure setODCB4(thebits : TBits_1); inline;
  8933. procedure setODCB5(thebits : TBits_1); inline;
  8934. procedure setODCB6(thebits : TBits_1); inline;
  8935. procedure setODCB7(thebits : TBits_1); inline;
  8936. procedure setODCB8(thebits : TBits_1); inline;
  8937. procedure setODCB9(thebits : TBits_1); inline;
  8938. procedure setw(thebits : TBits_32); inline;
  8939. public
  8940. procedure clearODCB0; inline;
  8941. procedure clearODCB10; inline;
  8942. procedure clearODCB11; inline;
  8943. procedure clearODCB12; inline;
  8944. procedure clearODCB13; inline;
  8945. procedure clearODCB14; inline;
  8946. procedure clearODCB15; inline;
  8947. procedure clearODCB1; inline;
  8948. procedure clearODCB2; inline;
  8949. procedure clearODCB3; inline;
  8950. procedure clearODCB4; inline;
  8951. procedure clearODCB5; inline;
  8952. procedure clearODCB6; inline;
  8953. procedure clearODCB7; inline;
  8954. procedure clearODCB8; inline;
  8955. procedure clearODCB9; inline;
  8956. procedure setODCB0; inline;
  8957. procedure setODCB10; inline;
  8958. procedure setODCB11; inline;
  8959. procedure setODCB12; inline;
  8960. procedure setODCB13; inline;
  8961. procedure setODCB14; inline;
  8962. procedure setODCB15; inline;
  8963. procedure setODCB1; inline;
  8964. procedure setODCB2; inline;
  8965. procedure setODCB3; inline;
  8966. procedure setODCB4; inline;
  8967. procedure setODCB5; inline;
  8968. procedure setODCB6; inline;
  8969. procedure setODCB7; inline;
  8970. procedure setODCB8; inline;
  8971. procedure setODCB9; inline;
  8972. property ODCB0 : TBits_1 read getODCB0 write setODCB0;
  8973. property ODCB1 : TBits_1 read getODCB1 write setODCB1;
  8974. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  8975. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  8976. property ODCB12 : TBits_1 read getODCB12 write setODCB12;
  8977. property ODCB13 : TBits_1 read getODCB13 write setODCB13;
  8978. property ODCB14 : TBits_1 read getODCB14 write setODCB14;
  8979. property ODCB15 : TBits_1 read getODCB15 write setODCB15;
  8980. property ODCB2 : TBits_1 read getODCB2 write setODCB2;
  8981. property ODCB3 : TBits_1 read getODCB3 write setODCB3;
  8982. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  8983. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  8984. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  8985. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  8986. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  8987. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  8988. property w : TBits_32 read getw write setw;
  8989. end;
  8990. TPORTB_CNPUB = record
  8991. private
  8992. function getCNPUB0 : TBits_1; inline;
  8993. function getCNPUB1 : TBits_1; inline;
  8994. function getCNPUB10 : TBits_1; inline;
  8995. function getCNPUB11 : TBits_1; inline;
  8996. function getCNPUB12 : TBits_1; inline;
  8997. function getCNPUB13 : TBits_1; inline;
  8998. function getCNPUB14 : TBits_1; inline;
  8999. function getCNPUB15 : TBits_1; inline;
  9000. function getCNPUB2 : TBits_1; inline;
  9001. function getCNPUB3 : TBits_1; inline;
  9002. function getCNPUB4 : TBits_1; inline;
  9003. function getCNPUB5 : TBits_1; inline;
  9004. function getCNPUB6 : TBits_1; inline;
  9005. function getCNPUB7 : TBits_1; inline;
  9006. function getCNPUB8 : TBits_1; inline;
  9007. function getCNPUB9 : TBits_1; inline;
  9008. function getw : TBits_32; inline;
  9009. procedure setCNPUB0(thebits : TBits_1); inline;
  9010. procedure setCNPUB1(thebits : TBits_1); inline;
  9011. procedure setCNPUB10(thebits : TBits_1); inline;
  9012. procedure setCNPUB11(thebits : TBits_1); inline;
  9013. procedure setCNPUB12(thebits : TBits_1); inline;
  9014. procedure setCNPUB13(thebits : TBits_1); inline;
  9015. procedure setCNPUB14(thebits : TBits_1); inline;
  9016. procedure setCNPUB15(thebits : TBits_1); inline;
  9017. procedure setCNPUB2(thebits : TBits_1); inline;
  9018. procedure setCNPUB3(thebits : TBits_1); inline;
  9019. procedure setCNPUB4(thebits : TBits_1); inline;
  9020. procedure setCNPUB5(thebits : TBits_1); inline;
  9021. procedure setCNPUB6(thebits : TBits_1); inline;
  9022. procedure setCNPUB7(thebits : TBits_1); inline;
  9023. procedure setCNPUB8(thebits : TBits_1); inline;
  9024. procedure setCNPUB9(thebits : TBits_1); inline;
  9025. procedure setw(thebits : TBits_32); inline;
  9026. public
  9027. procedure clearCNPUB0; inline;
  9028. procedure clearCNPUB10; inline;
  9029. procedure clearCNPUB11; inline;
  9030. procedure clearCNPUB12; inline;
  9031. procedure clearCNPUB13; inline;
  9032. procedure clearCNPUB14; inline;
  9033. procedure clearCNPUB15; inline;
  9034. procedure clearCNPUB1; inline;
  9035. procedure clearCNPUB2; inline;
  9036. procedure clearCNPUB3; inline;
  9037. procedure clearCNPUB4; inline;
  9038. procedure clearCNPUB5; inline;
  9039. procedure clearCNPUB6; inline;
  9040. procedure clearCNPUB7; inline;
  9041. procedure clearCNPUB8; inline;
  9042. procedure clearCNPUB9; inline;
  9043. procedure setCNPUB0; inline;
  9044. procedure setCNPUB10; inline;
  9045. procedure setCNPUB11; inline;
  9046. procedure setCNPUB12; inline;
  9047. procedure setCNPUB13; inline;
  9048. procedure setCNPUB14; inline;
  9049. procedure setCNPUB15; inline;
  9050. procedure setCNPUB1; inline;
  9051. procedure setCNPUB2; inline;
  9052. procedure setCNPUB3; inline;
  9053. procedure setCNPUB4; inline;
  9054. procedure setCNPUB5; inline;
  9055. procedure setCNPUB6; inline;
  9056. procedure setCNPUB7; inline;
  9057. procedure setCNPUB8; inline;
  9058. procedure setCNPUB9; inline;
  9059. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9060. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9061. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9062. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9063. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  9064. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9065. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9066. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9067. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9068. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9069. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9070. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9071. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  9072. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9073. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9074. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9075. property w : TBits_32 read getw write setw;
  9076. end;
  9077. TPORTB_CNPDB = record
  9078. private
  9079. function getCNPDB0 : TBits_1; inline;
  9080. function getCNPDB1 : TBits_1; inline;
  9081. function getCNPDB10 : TBits_1; inline;
  9082. function getCNPDB11 : TBits_1; inline;
  9083. function getCNPDB12 : TBits_1; inline;
  9084. function getCNPDB13 : TBits_1; inline;
  9085. function getCNPDB14 : TBits_1; inline;
  9086. function getCNPDB15 : TBits_1; inline;
  9087. function getCNPDB2 : TBits_1; inline;
  9088. function getCNPDB3 : TBits_1; inline;
  9089. function getCNPDB4 : TBits_1; inline;
  9090. function getCNPDB5 : TBits_1; inline;
  9091. function getCNPDB6 : TBits_1; inline;
  9092. function getCNPDB7 : TBits_1; inline;
  9093. function getCNPDB8 : TBits_1; inline;
  9094. function getCNPDB9 : TBits_1; inline;
  9095. function getw : TBits_32; inline;
  9096. procedure setCNPDB0(thebits : TBits_1); inline;
  9097. procedure setCNPDB1(thebits : TBits_1); inline;
  9098. procedure setCNPDB10(thebits : TBits_1); inline;
  9099. procedure setCNPDB11(thebits : TBits_1); inline;
  9100. procedure setCNPDB12(thebits : TBits_1); inline;
  9101. procedure setCNPDB13(thebits : TBits_1); inline;
  9102. procedure setCNPDB14(thebits : TBits_1); inline;
  9103. procedure setCNPDB15(thebits : TBits_1); inline;
  9104. procedure setCNPDB2(thebits : TBits_1); inline;
  9105. procedure setCNPDB3(thebits : TBits_1); inline;
  9106. procedure setCNPDB4(thebits : TBits_1); inline;
  9107. procedure setCNPDB5(thebits : TBits_1); inline;
  9108. procedure setCNPDB6(thebits : TBits_1); inline;
  9109. procedure setCNPDB7(thebits : TBits_1); inline;
  9110. procedure setCNPDB8(thebits : TBits_1); inline;
  9111. procedure setCNPDB9(thebits : TBits_1); inline;
  9112. procedure setw(thebits : TBits_32); inline;
  9113. public
  9114. procedure clearCNPDB0; inline;
  9115. procedure clearCNPDB10; inline;
  9116. procedure clearCNPDB11; inline;
  9117. procedure clearCNPDB12; inline;
  9118. procedure clearCNPDB13; inline;
  9119. procedure clearCNPDB14; inline;
  9120. procedure clearCNPDB15; inline;
  9121. procedure clearCNPDB1; inline;
  9122. procedure clearCNPDB2; inline;
  9123. procedure clearCNPDB3; inline;
  9124. procedure clearCNPDB4; inline;
  9125. procedure clearCNPDB5; inline;
  9126. procedure clearCNPDB6; inline;
  9127. procedure clearCNPDB7; inline;
  9128. procedure clearCNPDB8; inline;
  9129. procedure clearCNPDB9; inline;
  9130. procedure setCNPDB0; inline;
  9131. procedure setCNPDB10; inline;
  9132. procedure setCNPDB11; inline;
  9133. procedure setCNPDB12; inline;
  9134. procedure setCNPDB13; inline;
  9135. procedure setCNPDB14; inline;
  9136. procedure setCNPDB15; inline;
  9137. procedure setCNPDB1; inline;
  9138. procedure setCNPDB2; inline;
  9139. procedure setCNPDB3; inline;
  9140. procedure setCNPDB4; inline;
  9141. procedure setCNPDB5; inline;
  9142. procedure setCNPDB6; inline;
  9143. procedure setCNPDB7; inline;
  9144. procedure setCNPDB8; inline;
  9145. procedure setCNPDB9; inline;
  9146. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9147. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9148. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9149. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9150. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9151. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9152. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9153. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9154. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9155. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9156. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9157. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9158. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9159. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9160. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9161. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9162. property w : TBits_32 read getw write setw;
  9163. end;
  9164. TPORTB_CNCONB = record
  9165. private
  9166. function getON : TBits_1; inline;
  9167. function getSIDL : TBits_1; inline;
  9168. function getw : TBits_32; inline;
  9169. procedure setON(thebits : TBits_1); inline;
  9170. procedure setSIDL(thebits : TBits_1); inline;
  9171. procedure setw(thebits : TBits_32); inline;
  9172. public
  9173. procedure clearON; inline;
  9174. procedure clearSIDL; inline;
  9175. procedure setON; inline;
  9176. procedure setSIDL; inline;
  9177. property ON : TBits_1 read getON write setON;
  9178. property SIDL : TBits_1 read getSIDL write setSIDL;
  9179. property w : TBits_32 read getw write setw;
  9180. end;
  9181. TPORTB_CNENB = record
  9182. private
  9183. function getCNIEB0 : TBits_1; inline;
  9184. function getCNIEB1 : TBits_1; inline;
  9185. function getCNIEB10 : TBits_1; inline;
  9186. function getCNIEB11 : TBits_1; inline;
  9187. function getCNIEB12 : TBits_1; inline;
  9188. function getCNIEB13 : TBits_1; inline;
  9189. function getCNIEB14 : TBits_1; inline;
  9190. function getCNIEB15 : TBits_1; inline;
  9191. function getCNIEB2 : TBits_1; inline;
  9192. function getCNIEB3 : TBits_1; inline;
  9193. function getCNIEB4 : TBits_1; inline;
  9194. function getCNIEB5 : TBits_1; inline;
  9195. function getCNIEB6 : TBits_1; inline;
  9196. function getCNIEB7 : TBits_1; inline;
  9197. function getCNIEB8 : TBits_1; inline;
  9198. function getCNIEB9 : TBits_1; inline;
  9199. function getw : TBits_32; inline;
  9200. procedure setCNIEB0(thebits : TBits_1); inline;
  9201. procedure setCNIEB1(thebits : TBits_1); inline;
  9202. procedure setCNIEB10(thebits : TBits_1); inline;
  9203. procedure setCNIEB11(thebits : TBits_1); inline;
  9204. procedure setCNIEB12(thebits : TBits_1); inline;
  9205. procedure setCNIEB13(thebits : TBits_1); inline;
  9206. procedure setCNIEB14(thebits : TBits_1); inline;
  9207. procedure setCNIEB15(thebits : TBits_1); inline;
  9208. procedure setCNIEB2(thebits : TBits_1); inline;
  9209. procedure setCNIEB3(thebits : TBits_1); inline;
  9210. procedure setCNIEB4(thebits : TBits_1); inline;
  9211. procedure setCNIEB5(thebits : TBits_1); inline;
  9212. procedure setCNIEB6(thebits : TBits_1); inline;
  9213. procedure setCNIEB7(thebits : TBits_1); inline;
  9214. procedure setCNIEB8(thebits : TBits_1); inline;
  9215. procedure setCNIEB9(thebits : TBits_1); inline;
  9216. procedure setw(thebits : TBits_32); inline;
  9217. public
  9218. procedure clearCNIEB0; inline;
  9219. procedure clearCNIEB10; inline;
  9220. procedure clearCNIEB11; inline;
  9221. procedure clearCNIEB12; inline;
  9222. procedure clearCNIEB13; inline;
  9223. procedure clearCNIEB14; inline;
  9224. procedure clearCNIEB15; inline;
  9225. procedure clearCNIEB1; inline;
  9226. procedure clearCNIEB2; inline;
  9227. procedure clearCNIEB3; inline;
  9228. procedure clearCNIEB4; inline;
  9229. procedure clearCNIEB5; inline;
  9230. procedure clearCNIEB6; inline;
  9231. procedure clearCNIEB7; inline;
  9232. procedure clearCNIEB8; inline;
  9233. procedure clearCNIEB9; inline;
  9234. procedure setCNIEB0; inline;
  9235. procedure setCNIEB10; inline;
  9236. procedure setCNIEB11; inline;
  9237. procedure setCNIEB12; inline;
  9238. procedure setCNIEB13; inline;
  9239. procedure setCNIEB14; inline;
  9240. procedure setCNIEB15; inline;
  9241. procedure setCNIEB1; inline;
  9242. procedure setCNIEB2; inline;
  9243. procedure setCNIEB3; inline;
  9244. procedure setCNIEB4; inline;
  9245. procedure setCNIEB5; inline;
  9246. procedure setCNIEB6; inline;
  9247. procedure setCNIEB7; inline;
  9248. procedure setCNIEB8; inline;
  9249. procedure setCNIEB9; inline;
  9250. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9251. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9252. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9253. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9254. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9255. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9256. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9257. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9258. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9259. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9260. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9261. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9262. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9263. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9264. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9265. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9266. property w : TBits_32 read getw write setw;
  9267. end;
  9268. TPORTB_CNSTATB = record
  9269. private
  9270. function getCNSTATB0 : TBits_1; inline;
  9271. function getCNSTATB1 : TBits_1; inline;
  9272. function getCNSTATB10 : TBits_1; inline;
  9273. function getCNSTATB11 : TBits_1; inline;
  9274. function getCNSTATB12 : TBits_1; inline;
  9275. function getCNSTATB13 : TBits_1; inline;
  9276. function getCNSTATB14 : TBits_1; inline;
  9277. function getCNSTATB15 : TBits_1; inline;
  9278. function getCNSTATB2 : TBits_1; inline;
  9279. function getCNSTATB3 : TBits_1; inline;
  9280. function getCNSTATB4 : TBits_1; inline;
  9281. function getCNSTATB5 : TBits_1; inline;
  9282. function getCNSTATB6 : TBits_1; inline;
  9283. function getCNSTATB7 : TBits_1; inline;
  9284. function getCNSTATB8 : TBits_1; inline;
  9285. function getCNSTATB9 : TBits_1; inline;
  9286. function getw : TBits_32; inline;
  9287. procedure setCNSTATB0(thebits : TBits_1); inline;
  9288. procedure setCNSTATB1(thebits : TBits_1); inline;
  9289. procedure setCNSTATB10(thebits : TBits_1); inline;
  9290. procedure setCNSTATB11(thebits : TBits_1); inline;
  9291. procedure setCNSTATB12(thebits : TBits_1); inline;
  9292. procedure setCNSTATB13(thebits : TBits_1); inline;
  9293. procedure setCNSTATB14(thebits : TBits_1); inline;
  9294. procedure setCNSTATB15(thebits : TBits_1); inline;
  9295. procedure setCNSTATB2(thebits : TBits_1); inline;
  9296. procedure setCNSTATB3(thebits : TBits_1); inline;
  9297. procedure setCNSTATB4(thebits : TBits_1); inline;
  9298. procedure setCNSTATB5(thebits : TBits_1); inline;
  9299. procedure setCNSTATB6(thebits : TBits_1); inline;
  9300. procedure setCNSTATB7(thebits : TBits_1); inline;
  9301. procedure setCNSTATB8(thebits : TBits_1); inline;
  9302. procedure setCNSTATB9(thebits : TBits_1); inline;
  9303. procedure setw(thebits : TBits_32); inline;
  9304. public
  9305. procedure clearCNSTATB0; inline;
  9306. procedure clearCNSTATB10; inline;
  9307. procedure clearCNSTATB11; inline;
  9308. procedure clearCNSTATB12; inline;
  9309. procedure clearCNSTATB13; inline;
  9310. procedure clearCNSTATB14; inline;
  9311. procedure clearCNSTATB15; inline;
  9312. procedure clearCNSTATB1; inline;
  9313. procedure clearCNSTATB2; inline;
  9314. procedure clearCNSTATB3; inline;
  9315. procedure clearCNSTATB4; inline;
  9316. procedure clearCNSTATB5; inline;
  9317. procedure clearCNSTATB6; inline;
  9318. procedure clearCNSTATB7; inline;
  9319. procedure clearCNSTATB8; inline;
  9320. procedure clearCNSTATB9; inline;
  9321. procedure setCNSTATB0; inline;
  9322. procedure setCNSTATB10; inline;
  9323. procedure setCNSTATB11; inline;
  9324. procedure setCNSTATB12; inline;
  9325. procedure setCNSTATB13; inline;
  9326. procedure setCNSTATB14; inline;
  9327. procedure setCNSTATB15; inline;
  9328. procedure setCNSTATB1; inline;
  9329. procedure setCNSTATB2; inline;
  9330. procedure setCNSTATB3; inline;
  9331. procedure setCNSTATB4; inline;
  9332. procedure setCNSTATB5; inline;
  9333. procedure setCNSTATB6; inline;
  9334. procedure setCNSTATB7; inline;
  9335. procedure setCNSTATB8; inline;
  9336. procedure setCNSTATB9; inline;
  9337. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9338. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9339. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9340. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9341. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9342. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9343. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9344. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9345. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9346. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9347. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9348. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9349. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9350. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9351. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9352. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9353. property w : TBits_32 read getw write setw;
  9354. end;
  9355. type
  9356. TPORTBRegisters = record
  9357. ANSELBbits : TPORTB_ANSELB;
  9358. ANSELB : longWord;
  9359. ANSELBCLR : longWord;
  9360. ANSELBSET : longWord;
  9361. ANSELBINV : longWord;
  9362. TRISBbits : TPORTB_TRISB;
  9363. TRISB : longWord;
  9364. TRISBCLR : longWord;
  9365. TRISBSET : longWord;
  9366. TRISBINV : longWord;
  9367. PORTBbits : TPORTB_PORTB;
  9368. PORTB : longWord;
  9369. PORTBCLR : longWord;
  9370. PORTBSET : longWord;
  9371. PORTBINV : longWord;
  9372. LATBbits : TPORTB_LATB;
  9373. LATB : longWord;
  9374. LATBCLR : longWord;
  9375. LATBSET : longWord;
  9376. LATBINV : longWord;
  9377. ODCBbits : TPORTB_ODCB;
  9378. ODCB : longWord;
  9379. ODCBCLR : longWord;
  9380. ODCBSET : longWord;
  9381. ODCBINV : longWord;
  9382. CNPUBbits : TPORTB_CNPUB;
  9383. CNPUB : longWord;
  9384. CNPUBCLR : longWord;
  9385. CNPUBSET : longWord;
  9386. CNPUBINV : longWord;
  9387. CNPDBbits : TPORTB_CNPDB;
  9388. CNPDB : longWord;
  9389. CNPDBCLR : longWord;
  9390. CNPDBSET : longWord;
  9391. CNPDBINV : longWord;
  9392. CNCONBbits : TPORTB_CNCONB;
  9393. CNCONB : longWord;
  9394. CNCONBCLR : longWord;
  9395. CNCONBSET : longWord;
  9396. CNCONBINV : longWord;
  9397. CNENBbits : TPORTB_CNENB;
  9398. CNENB : longWord;
  9399. CNENBCLR : longWord;
  9400. CNENBSET : longWord;
  9401. CNENBINV : longWord;
  9402. CNSTATBbits : TPORTB_CNSTATB;
  9403. CNSTATB : longWord;
  9404. CNSTATBCLR : longWord;
  9405. CNSTATBSET : longWord;
  9406. CNSTATBINV : longWord;
  9407. end;
  9408. TDEVCFG_DEVCFG3 = record
  9409. private
  9410. function getFUSBIDIO : TBits_1; inline;
  9411. function getFVBUSONIO : TBits_1; inline;
  9412. function getIOL1WAY : TBits_1; inline;
  9413. function getPMDL1WAY : TBits_1; inline;
  9414. function getUSERID : TBits_16; inline;
  9415. function getw : TBits_32; inline;
  9416. procedure setFUSBIDIO(thebits : TBits_1); inline;
  9417. procedure setFVBUSONIO(thebits : TBits_1); inline;
  9418. procedure setIOL1WAY(thebits : TBits_1); inline;
  9419. procedure setPMDL1WAY(thebits : TBits_1); inline;
  9420. procedure setUSERID(thebits : TBits_16); inline;
  9421. procedure setw(thebits : TBits_32); inline;
  9422. public
  9423. procedure clearFUSBIDIO; inline;
  9424. procedure clearFVBUSONIO; inline;
  9425. procedure clearIOL1WAY; inline;
  9426. procedure clearPMDL1WAY; inline;
  9427. procedure setFUSBIDIO; inline;
  9428. procedure setFVBUSONIO; inline;
  9429. procedure setIOL1WAY; inline;
  9430. procedure setPMDL1WAY; inline;
  9431. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  9432. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  9433. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  9434. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  9435. property USERID : TBits_16 read getUSERID write setUSERID;
  9436. property w : TBits_32 read getw write setw;
  9437. end;
  9438. TDEVCFG_DEVCFG2 = record
  9439. private
  9440. function getFPLLIDIV : TBits_3; inline;
  9441. function getFPLLMUL : TBits_3; inline;
  9442. function getFPLLODIV : TBits_3; inline;
  9443. function getw : TBits_32; inline;
  9444. procedure setFPLLIDIV(thebits : TBits_3); inline;
  9445. procedure setFPLLMUL(thebits : TBits_3); inline;
  9446. procedure setFPLLODIV(thebits : TBits_3); inline;
  9447. procedure setw(thebits : TBits_32); inline;
  9448. public
  9449. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  9450. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  9451. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  9452. property w : TBits_32 read getw write setw;
  9453. end;
  9454. TDEVCFG_DEVCFG1 = record
  9455. private
  9456. function getFCKSM : TBits_2; inline;
  9457. function getFNOSC : TBits_3; inline;
  9458. function getFPBDIV : TBits_2; inline;
  9459. function getFSOSCEN : TBits_1; inline;
  9460. function getFWDTEN : TBits_1; inline;
  9461. function getFWDTWINSZ : TBits_2; inline;
  9462. function getIESO : TBits_1; inline;
  9463. function getOSCIOFNC : TBits_1; inline;
  9464. function getPOSCMOD : TBits_2; inline;
  9465. function getWDTPS : TBits_5; inline;
  9466. function getWINDIS : TBits_1; inline;
  9467. function getw : TBits_32; inline;
  9468. procedure setFCKSM(thebits : TBits_2); inline;
  9469. procedure setFNOSC(thebits : TBits_3); inline;
  9470. procedure setFPBDIV(thebits : TBits_2); inline;
  9471. procedure setFSOSCEN(thebits : TBits_1); inline;
  9472. procedure setFWDTEN(thebits : TBits_1); inline;
  9473. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  9474. procedure setIESO(thebits : TBits_1); inline;
  9475. procedure setOSCIOFNC(thebits : TBits_1); inline;
  9476. procedure setPOSCMOD(thebits : TBits_2); inline;
  9477. procedure setWDTPS(thebits : TBits_5); inline;
  9478. procedure setWINDIS(thebits : TBits_1); inline;
  9479. procedure setw(thebits : TBits_32); inline;
  9480. public
  9481. procedure clearFSOSCEN; inline;
  9482. procedure clearFWDTEN; inline;
  9483. procedure clearIESO; inline;
  9484. procedure clearOSCIOFNC; inline;
  9485. procedure clearWINDIS; inline;
  9486. procedure setFSOSCEN; inline;
  9487. procedure setFWDTEN; inline;
  9488. procedure setIESO; inline;
  9489. procedure setOSCIOFNC; inline;
  9490. procedure setWINDIS; inline;
  9491. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  9492. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  9493. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  9494. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  9495. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  9496. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  9497. property IESO : TBits_1 read getIESO write setIESO;
  9498. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  9499. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  9500. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  9501. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  9502. property w : TBits_32 read getw write setw;
  9503. end;
  9504. TDEVCFG_DEVCFG0 = record
  9505. private
  9506. function getBWP : TBits_1; inline;
  9507. function getCP : TBits_1; inline;
  9508. function getDEBUG : TBits_2; inline;
  9509. function getFDEBUG : TBits_2; inline;
  9510. function getICESEL : TBits_2; inline;
  9511. function getJTAGEN : TBits_1; inline;
  9512. function getPWP : TBits_9; inline;
  9513. function getw : TBits_32; inline;
  9514. procedure setBWP(thebits : TBits_1); inline;
  9515. procedure setCP(thebits : TBits_1); inline;
  9516. procedure setDEBUG(thebits : TBits_2); inline;
  9517. procedure setFDEBUG(thebits : TBits_2); inline;
  9518. procedure setICESEL(thebits : TBits_2); inline;
  9519. procedure setJTAGEN(thebits : TBits_1); inline;
  9520. procedure setPWP(thebits : TBits_9); inline;
  9521. procedure setw(thebits : TBits_32); inline;
  9522. public
  9523. procedure clearBWP; inline;
  9524. procedure clearCP; inline;
  9525. procedure clearJTAGEN; inline;
  9526. procedure setBWP; inline;
  9527. procedure setCP; inline;
  9528. procedure setJTAGEN; inline;
  9529. property BWP : TBits_1 read getBWP write setBWP;
  9530. property CP : TBits_1 read getCP write setCP;
  9531. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  9532. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  9533. property ICESEL : TBits_2 read getICESEL write setICESEL;
  9534. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  9535. property PWP : TBits_9 read getPWP write setPWP;
  9536. property w : TBits_32 read getw write setw;
  9537. end;
  9538. const
  9539. _CORE_TIMER_IRQ = 0;
  9540. _CORE_SOFTWARE_0_IRQ = 1;
  9541. _CORE_SOFTWARE_1_IRQ = 2;
  9542. _EXTERNAL_0_IRQ = 3;
  9543. _TIMER_1_IRQ = 4;
  9544. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  9545. _INPUT_CAPTURE_1_IRQ = 6;
  9546. _OUTPUT_COMPARE_1_IRQ = 7;
  9547. _EXTERNAL_1_IRQ = 8;
  9548. _TIMER_2_IRQ = 9;
  9549. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  9550. _INPUT_CAPTURE_2_IRQ = 11;
  9551. _OUTPUT_COMPARE_2_IRQ = 12;
  9552. _EXTERNAL_2_IRQ = 13;
  9553. _TIMER_3_IRQ = 14;
  9554. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  9555. _INPUT_CAPTURE_3_IRQ = 16;
  9556. _OUTPUT_COMPARE_3_IRQ = 17;
  9557. _EXTERNAL_3_IRQ = 18;
  9558. _TIMER_4_IRQ = 19;
  9559. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  9560. _INPUT_CAPTURE_4_IRQ = 21;
  9561. _OUTPUT_COMPARE_4_IRQ = 22;
  9562. _EXTERNAL_4_IRQ = 23;
  9563. _TIMER_5_IRQ = 24;
  9564. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  9565. _INPUT_CAPTURE_5_IRQ = 26;
  9566. _OUTPUT_COMPARE_5_IRQ = 27;
  9567. _ADC_IRQ = 28;
  9568. _FAIL_SAFE_MONITOR_IRQ = 29;
  9569. _RTCC_IRQ = 30;
  9570. _FLASH_CONTROL_IRQ = 31;
  9571. _COMPARATOR_1_IRQ = 32;
  9572. _COMPARATOR_2_IRQ = 33;
  9573. _COMPARATOR_3_IRQ = 34;
  9574. _USB_IRQ = 35;
  9575. _SPI1_ERR_IRQ = 36;
  9576. _SPI1_RX_IRQ = 37;
  9577. _SPI1_TX_IRQ = 38;
  9578. _UART1_ERR_IRQ = 39;
  9579. _UART1_RX_IRQ = 40;
  9580. _UART1_TX_IRQ = 41;
  9581. _I2C1_BUS_IRQ = 42;
  9582. _I2C1_SLAVE_IRQ = 43;
  9583. _I2C1_MASTER_IRQ = 44;
  9584. _CHANGE_NOTICE_A_IRQ = 45;
  9585. _CHANGE_NOTICE_B_IRQ = 46;
  9586. _CHANGE_NOTICE_C_IRQ = 47;
  9587. _PMP_IRQ = 48;
  9588. _PMP_ERROR_IRQ = 49;
  9589. _SPI2_ERR_IRQ = 50;
  9590. _SPI2_RX_IRQ = 51;
  9591. _SPI2_TX_IRQ = 52;
  9592. _UART2_ERR_IRQ = 53;
  9593. _UART2_RX_IRQ = 54;
  9594. _UART2_TX_IRQ = 55;
  9595. _I2C2_BUS_IRQ = 56;
  9596. _I2C2_SLAVE_IRQ = 57;
  9597. _I2C2_MASTER_IRQ = 58;
  9598. _CTMU_IRQ = 59;
  9599. _DMA0_IRQ = 60;
  9600. _DMA1_IRQ = 61;
  9601. _DMA2_IRQ = 62;
  9602. _DMA3_IRQ = 63;
  9603. const
  9604. ADC10_BASE_ADDRESS = $BF809000;
  9605. var
  9606. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  9607. const
  9608. BMX_BASE_ADDRESS = $BF882000;
  9609. var
  9610. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  9611. const
  9612. CFG_BASE_ADDRESS = $BF80F200;
  9613. var
  9614. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  9615. const
  9616. CMP_BASE_ADDRESS = $BF80A000;
  9617. var
  9618. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  9619. const
  9620. CVR_BASE_ADDRESS = $BF809800;
  9621. var
  9622. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  9623. const
  9624. DMAC_BASE_ADDRESS = $BF883000;
  9625. var
  9626. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  9627. const
  9628. DMAC0_BASE_ADDRESS = $BF883060;
  9629. var
  9630. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  9631. const
  9632. DMAC1_BASE_ADDRESS = $BF883120;
  9633. var
  9634. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  9635. const
  9636. DMAC2_BASE_ADDRESS = $BF8831E0;
  9637. var
  9638. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  9639. const
  9640. DMAC3_BASE_ADDRESS = $BF8832A0;
  9641. var
  9642. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  9643. const
  9644. I2C1_BASE_ADDRESS = $BF805000;
  9645. var
  9646. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  9647. const
  9648. I2C2_BASE_ADDRESS = $BF805100;
  9649. var
  9650. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  9651. const
  9652. ICAP1_BASE_ADDRESS = $BF802000;
  9653. var
  9654. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  9655. const
  9656. ICAP2_BASE_ADDRESS = $BF802200;
  9657. var
  9658. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  9659. const
  9660. ICAP3_BASE_ADDRESS = $BF802400;
  9661. var
  9662. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  9663. const
  9664. ICAP4_BASE_ADDRESS = $BF802600;
  9665. var
  9666. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  9667. const
  9668. ICAP5_BASE_ADDRESS = $BF802800;
  9669. var
  9670. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  9671. const
  9672. INT_BASE_ADDRESS = $BF881000;
  9673. var
  9674. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  9675. const
  9676. NVM_BASE_ADDRESS = $BF80F400;
  9677. var
  9678. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  9679. const
  9680. OCMP1_BASE_ADDRESS = $BF803000;
  9681. var
  9682. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  9683. const
  9684. OCMP2_BASE_ADDRESS = $BF803200;
  9685. var
  9686. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  9687. const
  9688. OCMP3_BASE_ADDRESS = $BF803400;
  9689. var
  9690. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  9691. const
  9692. OCMP4_BASE_ADDRESS = $BF803600;
  9693. var
  9694. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  9695. const
  9696. OCMP5_BASE_ADDRESS = $BF803800;
  9697. var
  9698. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  9699. const
  9700. OSC_BASE_ADDRESS = $BF80F000;
  9701. var
  9702. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  9703. const
  9704. PMP_BASE_ADDRESS = $BF807000;
  9705. var
  9706. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  9707. const
  9708. PORTA_BASE_ADDRESS = $BF886000;
  9709. var
  9710. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  9711. const
  9712. PORTB_BASE_ADDRESS = $BF886100;
  9713. var
  9714. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  9715. const
  9716. RCON_BASE_ADDRESS = $BF80F600;
  9717. var
  9718. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  9719. const
  9720. RTCC_BASE_ADDRESS = $BF800200;
  9721. var
  9722. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  9723. const
  9724. SPI1_BASE_ADDRESS = $BF805800;
  9725. var
  9726. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  9727. const
  9728. SPI2_BASE_ADDRESS = $BF805A00;
  9729. var
  9730. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  9731. const
  9732. TMR1_BASE_ADDRESS = $BF800600;
  9733. var
  9734. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  9735. const
  9736. TMR2_BASE_ADDRESS = $BF800800;
  9737. var
  9738. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  9739. const
  9740. TMR3_BASE_ADDRESS = $BF800A00;
  9741. var
  9742. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  9743. const
  9744. TMR4_BASE_ADDRESS = $BF800C00;
  9745. var
  9746. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  9747. const
  9748. TMR5_BASE_ADDRESS = $BF800E00;
  9749. var
  9750. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  9751. const
  9752. UART1_BASE_ADDRESS = $BF806000;
  9753. var
  9754. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  9755. const
  9756. UART2_BASE_ADDRESS = $BF806200;
  9757. var
  9758. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  9759. const
  9760. WDT_BASE_ADDRESS = $BF800000;
  9761. var
  9762. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  9763. implementation
  9764. type
  9765. TDefRegMap = record
  9766. val : longWord;
  9767. clr : longWord;
  9768. &set : longWord;
  9769. inv : longWord;
  9770. end;
  9771. pTDefRegMap = ^TDefRegMap;
  9772. procedure TWDT_WDTCON.setWDTCLR; inline;
  9773. begin
  9774. pTDefRegMap(@Self)^.&set := $00000001;
  9775. end;
  9776. procedure TWDT_WDTCON.clearWDTCLR; inline;
  9777. begin
  9778. pTDefRegMap(@Self)^.clr := $00000001;
  9779. end;
  9780. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  9781. begin
  9782. if thebits = 0 then
  9783. pTDefRegMap(@Self)^.clr := $00000001
  9784. else
  9785. pTDefRegMap(@Self)^.&set := $00000001;
  9786. end;
  9787. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  9788. begin
  9789. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9790. end;
  9791. procedure TWDT_WDTCON.setWDTWINEN; inline;
  9792. begin
  9793. pTDefRegMap(@Self)^.&set := $00000002;
  9794. end;
  9795. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  9796. begin
  9797. pTDefRegMap(@Self)^.clr := $00000002;
  9798. end;
  9799. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  9800. begin
  9801. if thebits = 0 then
  9802. pTDefRegMap(@Self)^.clr := $00000002
  9803. else
  9804. pTDefRegMap(@Self)^.&set := $00000002;
  9805. end;
  9806. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  9807. begin
  9808. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9809. end;
  9810. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  9811. begin
  9812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9813. end;
  9814. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  9815. begin
  9816. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9817. end;
  9818. procedure TWDT_WDTCON.setON; inline;
  9819. begin
  9820. pTDefRegMap(@Self)^.&set := $00008000;
  9821. end;
  9822. procedure TWDT_WDTCON.clearON; inline;
  9823. begin
  9824. pTDefRegMap(@Self)^.clr := $00008000;
  9825. end;
  9826. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  9827. begin
  9828. if thebits = 0 then
  9829. pTDefRegMap(@Self)^.clr := $00008000
  9830. else
  9831. pTDefRegMap(@Self)^.&set := $00008000;
  9832. end;
  9833. function TWDT_WDTCON.getON : TBits_1; inline;
  9834. begin
  9835. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  9836. end;
  9837. procedure TWDT_WDTCON.setSWDTPS0; inline;
  9838. begin
  9839. pTDefRegMap(@Self)^.&set := $00000004;
  9840. end;
  9841. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  9842. begin
  9843. pTDefRegMap(@Self)^.clr := $00000004;
  9844. end;
  9845. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  9846. begin
  9847. if thebits = 0 then
  9848. pTDefRegMap(@Self)^.clr := $00000004
  9849. else
  9850. pTDefRegMap(@Self)^.&set := $00000004;
  9851. end;
  9852. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  9853. begin
  9854. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  9855. end;
  9856. procedure TWDT_WDTCON.setSWDTPS1; inline;
  9857. begin
  9858. pTDefRegMap(@Self)^.&set := $00000008;
  9859. end;
  9860. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  9861. begin
  9862. pTDefRegMap(@Self)^.clr := $00000008;
  9863. end;
  9864. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  9865. begin
  9866. if thebits = 0 then
  9867. pTDefRegMap(@Self)^.clr := $00000008
  9868. else
  9869. pTDefRegMap(@Self)^.&set := $00000008;
  9870. end;
  9871. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  9872. begin
  9873. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  9874. end;
  9875. procedure TWDT_WDTCON.setSWDTPS2; inline;
  9876. begin
  9877. pTDefRegMap(@Self)^.&set := $00000010;
  9878. end;
  9879. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  9880. begin
  9881. pTDefRegMap(@Self)^.clr := $00000010;
  9882. end;
  9883. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  9884. begin
  9885. if thebits = 0 then
  9886. pTDefRegMap(@Self)^.clr := $00000010
  9887. else
  9888. pTDefRegMap(@Self)^.&set := $00000010;
  9889. end;
  9890. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  9891. begin
  9892. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  9893. end;
  9894. procedure TWDT_WDTCON.setSWDTPS3; inline;
  9895. begin
  9896. pTDefRegMap(@Self)^.&set := $00000020;
  9897. end;
  9898. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  9899. begin
  9900. pTDefRegMap(@Self)^.clr := $00000020;
  9901. end;
  9902. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  9903. begin
  9904. if thebits = 0 then
  9905. pTDefRegMap(@Self)^.clr := $00000020
  9906. else
  9907. pTDefRegMap(@Self)^.&set := $00000020;
  9908. end;
  9909. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  9910. begin
  9911. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  9912. end;
  9913. procedure TWDT_WDTCON.setSWDTPS4; inline;
  9914. begin
  9915. pTDefRegMap(@Self)^.&set := $00000040;
  9916. end;
  9917. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  9918. begin
  9919. pTDefRegMap(@Self)^.clr := $00000040;
  9920. end;
  9921. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  9922. begin
  9923. if thebits = 0 then
  9924. pTDefRegMap(@Self)^.clr := $00000040
  9925. else
  9926. pTDefRegMap(@Self)^.&set := $00000040;
  9927. end;
  9928. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  9929. begin
  9930. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  9931. end;
  9932. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  9933. begin
  9934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9935. end;
  9936. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  9937. begin
  9938. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9939. end;
  9940. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  9941. begin
  9942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  9943. end;
  9944. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  9945. begin
  9946. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  9947. end;
  9948. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  9949. begin
  9950. pTDefRegMap(@Self)^.val := thebits;
  9951. end;
  9952. function TWDT_WDTCON.getw : TBits_32; inline;
  9953. begin
  9954. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  9955. end;
  9956. procedure TRTCC_RTCCON.setRTCOE; inline;
  9957. begin
  9958. pTDefRegMap(@Self)^.&set := $00000001;
  9959. end;
  9960. procedure TRTCC_RTCCON.clearRTCOE; inline;
  9961. begin
  9962. pTDefRegMap(@Self)^.clr := $00000001;
  9963. end;
  9964. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  9965. begin
  9966. if thebits = 0 then
  9967. pTDefRegMap(@Self)^.clr := $00000001
  9968. else
  9969. pTDefRegMap(@Self)^.&set := $00000001;
  9970. end;
  9971. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  9972. begin
  9973. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  9974. end;
  9975. procedure TRTCC_RTCCON.setHALFSEC; inline;
  9976. begin
  9977. pTDefRegMap(@Self)^.&set := $00000002;
  9978. end;
  9979. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  9980. begin
  9981. pTDefRegMap(@Self)^.clr := $00000002;
  9982. end;
  9983. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  9984. begin
  9985. if thebits = 0 then
  9986. pTDefRegMap(@Self)^.clr := $00000002
  9987. else
  9988. pTDefRegMap(@Self)^.&set := $00000002;
  9989. end;
  9990. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  9991. begin
  9992. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  9993. end;
  9994. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  9995. begin
  9996. pTDefRegMap(@Self)^.&set := $00000004;
  9997. end;
  9998. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  9999. begin
  10000. pTDefRegMap(@Self)^.clr := $00000004;
  10001. end;
  10002. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10003. begin
  10004. if thebits = 0 then
  10005. pTDefRegMap(@Self)^.clr := $00000004
  10006. else
  10007. pTDefRegMap(@Self)^.&set := $00000004;
  10008. end;
  10009. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10010. begin
  10011. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10012. end;
  10013. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10014. begin
  10015. pTDefRegMap(@Self)^.&set := $00000008;
  10016. end;
  10017. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10018. begin
  10019. pTDefRegMap(@Self)^.clr := $00000008;
  10020. end;
  10021. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10022. begin
  10023. if thebits = 0 then
  10024. pTDefRegMap(@Self)^.clr := $00000008
  10025. else
  10026. pTDefRegMap(@Self)^.&set := $00000008;
  10027. end;
  10028. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10029. begin
  10030. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10031. end;
  10032. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10033. begin
  10034. pTDefRegMap(@Self)^.&set := $00000040;
  10035. end;
  10036. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10037. begin
  10038. pTDefRegMap(@Self)^.clr := $00000040;
  10039. end;
  10040. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10041. begin
  10042. if thebits = 0 then
  10043. pTDefRegMap(@Self)^.clr := $00000040
  10044. else
  10045. pTDefRegMap(@Self)^.&set := $00000040;
  10046. end;
  10047. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10048. begin
  10049. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10050. end;
  10051. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10052. begin
  10053. pTDefRegMap(@Self)^.&set := $00000080;
  10054. end;
  10055. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10056. begin
  10057. pTDefRegMap(@Self)^.clr := $00000080;
  10058. end;
  10059. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10060. begin
  10061. if thebits = 0 then
  10062. pTDefRegMap(@Self)^.clr := $00000080
  10063. else
  10064. pTDefRegMap(@Self)^.&set := $00000080;
  10065. end;
  10066. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10067. begin
  10068. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10069. end;
  10070. procedure TRTCC_RTCCON.setSIDL; inline;
  10071. begin
  10072. pTDefRegMap(@Self)^.&set := $00002000;
  10073. end;
  10074. procedure TRTCC_RTCCON.clearSIDL; inline;
  10075. begin
  10076. pTDefRegMap(@Self)^.clr := $00002000;
  10077. end;
  10078. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10079. begin
  10080. if thebits = 0 then
  10081. pTDefRegMap(@Self)^.clr := $00002000
  10082. else
  10083. pTDefRegMap(@Self)^.&set := $00002000;
  10084. end;
  10085. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10086. begin
  10087. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10088. end;
  10089. procedure TRTCC_RTCCON.setON; inline;
  10090. begin
  10091. pTDefRegMap(@Self)^.&set := $00008000;
  10092. end;
  10093. procedure TRTCC_RTCCON.clearON; inline;
  10094. begin
  10095. pTDefRegMap(@Self)^.clr := $00008000;
  10096. end;
  10097. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10098. begin
  10099. if thebits = 0 then
  10100. pTDefRegMap(@Self)^.clr := $00008000
  10101. else
  10102. pTDefRegMap(@Self)^.&set := $00008000;
  10103. end;
  10104. function TRTCC_RTCCON.getON : TBits_1; inline;
  10105. begin
  10106. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10107. end;
  10108. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10109. begin
  10110. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10111. end;
  10112. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10113. begin
  10114. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10115. end;
  10116. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10117. begin
  10118. pTDefRegMap(@Self)^.val := thebits;
  10119. end;
  10120. function TRTCC_RTCCON.getw : TBits_32; inline;
  10121. begin
  10122. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10123. end;
  10124. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10125. begin
  10126. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10127. end;
  10128. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10129. begin
  10130. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10131. end;
  10132. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10133. begin
  10134. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10135. end;
  10136. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10137. begin
  10138. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10139. end;
  10140. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10141. begin
  10142. pTDefRegMap(@Self)^.&set := $00001000;
  10143. end;
  10144. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10145. begin
  10146. pTDefRegMap(@Self)^.clr := $00001000;
  10147. end;
  10148. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10149. begin
  10150. if thebits = 0 then
  10151. pTDefRegMap(@Self)^.clr := $00001000
  10152. else
  10153. pTDefRegMap(@Self)^.&set := $00001000;
  10154. end;
  10155. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10156. begin
  10157. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10158. end;
  10159. procedure TRTCC_RTCALRM.setPIV; inline;
  10160. begin
  10161. pTDefRegMap(@Self)^.&set := $00002000;
  10162. end;
  10163. procedure TRTCC_RTCALRM.clearPIV; inline;
  10164. begin
  10165. pTDefRegMap(@Self)^.clr := $00002000;
  10166. end;
  10167. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10168. begin
  10169. if thebits = 0 then
  10170. pTDefRegMap(@Self)^.clr := $00002000
  10171. else
  10172. pTDefRegMap(@Self)^.&set := $00002000;
  10173. end;
  10174. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10175. begin
  10176. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10177. end;
  10178. procedure TRTCC_RTCALRM.setCHIME; inline;
  10179. begin
  10180. pTDefRegMap(@Self)^.&set := $00004000;
  10181. end;
  10182. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10183. begin
  10184. pTDefRegMap(@Self)^.clr := $00004000;
  10185. end;
  10186. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10187. begin
  10188. if thebits = 0 then
  10189. pTDefRegMap(@Self)^.clr := $00004000
  10190. else
  10191. pTDefRegMap(@Self)^.&set := $00004000;
  10192. end;
  10193. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10194. begin
  10195. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10196. end;
  10197. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10198. begin
  10199. pTDefRegMap(@Self)^.&set := $00008000;
  10200. end;
  10201. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10202. begin
  10203. pTDefRegMap(@Self)^.clr := $00008000;
  10204. end;
  10205. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10206. begin
  10207. if thebits = 0 then
  10208. pTDefRegMap(@Self)^.clr := $00008000
  10209. else
  10210. pTDefRegMap(@Self)^.&set := $00008000;
  10211. end;
  10212. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10213. begin
  10214. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10215. end;
  10216. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10217. begin
  10218. pTDefRegMap(@Self)^.val := thebits;
  10219. end;
  10220. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10221. begin
  10222. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10223. end;
  10224. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10225. begin
  10226. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10227. end;
  10228. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10229. begin
  10230. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10231. end;
  10232. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10233. begin
  10234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10235. end;
  10236. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10237. begin
  10238. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10239. end;
  10240. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10241. begin
  10242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10243. end;
  10244. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10245. begin
  10246. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10247. end;
  10248. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10249. begin
  10250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10251. end;
  10252. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10253. begin
  10254. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10255. end;
  10256. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10257. begin
  10258. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10259. end;
  10260. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10261. begin
  10262. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10263. end;
  10264. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10265. begin
  10266. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10267. end;
  10268. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10269. begin
  10270. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10271. end;
  10272. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10273. begin
  10274. pTDefRegMap(@Self)^.val := thebits;
  10275. end;
  10276. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10277. begin
  10278. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10279. end;
  10280. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10281. begin
  10282. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10283. end;
  10284. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10285. begin
  10286. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10287. end;
  10288. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10289. begin
  10290. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10291. end;
  10292. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10293. begin
  10294. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10295. end;
  10296. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10297. begin
  10298. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10299. end;
  10300. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10301. begin
  10302. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10303. end;
  10304. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10305. begin
  10306. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10307. end;
  10308. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10309. begin
  10310. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10311. end;
  10312. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10313. begin
  10314. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10315. end;
  10316. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10317. begin
  10318. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10319. end;
  10320. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10321. begin
  10322. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10323. end;
  10324. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10325. begin
  10326. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10327. end;
  10328. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10329. begin
  10330. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10331. end;
  10332. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10333. begin
  10334. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10335. end;
  10336. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10337. begin
  10338. pTDefRegMap(@Self)^.val := thebits;
  10339. end;
  10340. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10341. begin
  10342. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10343. end;
  10344. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10345. begin
  10346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10347. end;
  10348. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10349. begin
  10350. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10351. end;
  10352. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10353. begin
  10354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10355. end;
  10356. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10357. begin
  10358. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10359. end;
  10360. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10361. begin
  10362. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10363. end;
  10364. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10365. begin
  10366. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10367. end;
  10368. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  10369. begin
  10370. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10371. end;
  10372. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  10373. begin
  10374. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10375. end;
  10376. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  10377. begin
  10378. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10379. end;
  10380. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  10381. begin
  10382. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10383. end;
  10384. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  10385. begin
  10386. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10387. end;
  10388. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  10389. begin
  10390. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10391. end;
  10392. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  10393. begin
  10394. pTDefRegMap(@Self)^.val := thebits;
  10395. end;
  10396. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  10397. begin
  10398. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10399. end;
  10400. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  10401. begin
  10402. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10403. end;
  10404. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  10405. begin
  10406. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10407. end;
  10408. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  10409. begin
  10410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10411. end;
  10412. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  10413. begin
  10414. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10415. end;
  10416. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  10417. begin
  10418. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10419. end;
  10420. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  10421. begin
  10422. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10423. end;
  10424. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  10425. begin
  10426. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10427. end;
  10428. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  10429. begin
  10430. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10431. end;
  10432. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  10433. begin
  10434. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10435. end;
  10436. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  10437. begin
  10438. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10439. end;
  10440. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  10441. begin
  10442. pTDefRegMap(@Self)^.val := thebits;
  10443. end;
  10444. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  10445. begin
  10446. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10447. end;
  10448. procedure TTMR1_T1CON.setTCS; inline;
  10449. begin
  10450. pTDefRegMap(@Self)^.&set := $00000002;
  10451. end;
  10452. procedure TTMR1_T1CON.clearTCS; inline;
  10453. begin
  10454. pTDefRegMap(@Self)^.clr := $00000002;
  10455. end;
  10456. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  10457. begin
  10458. if thebits = 0 then
  10459. pTDefRegMap(@Self)^.clr := $00000002
  10460. else
  10461. pTDefRegMap(@Self)^.&set := $00000002;
  10462. end;
  10463. function TTMR1_T1CON.getTCS : TBits_1; inline;
  10464. begin
  10465. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10466. end;
  10467. procedure TTMR1_T1CON.setTSYNC; inline;
  10468. begin
  10469. pTDefRegMap(@Self)^.&set := $00000004;
  10470. end;
  10471. procedure TTMR1_T1CON.clearTSYNC; inline;
  10472. begin
  10473. pTDefRegMap(@Self)^.clr := $00000004;
  10474. end;
  10475. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  10476. begin
  10477. if thebits = 0 then
  10478. pTDefRegMap(@Self)^.clr := $00000004
  10479. else
  10480. pTDefRegMap(@Self)^.&set := $00000004;
  10481. end;
  10482. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  10483. begin
  10484. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10485. end;
  10486. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  10487. begin
  10488. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  10489. end;
  10490. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  10491. begin
  10492. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  10493. end;
  10494. procedure TTMR1_T1CON.setTGATE; inline;
  10495. begin
  10496. pTDefRegMap(@Self)^.&set := $00000080;
  10497. end;
  10498. procedure TTMR1_T1CON.clearTGATE; inline;
  10499. begin
  10500. pTDefRegMap(@Self)^.clr := $00000080;
  10501. end;
  10502. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  10503. begin
  10504. if thebits = 0 then
  10505. pTDefRegMap(@Self)^.clr := $00000080
  10506. else
  10507. pTDefRegMap(@Self)^.&set := $00000080;
  10508. end;
  10509. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  10510. begin
  10511. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10512. end;
  10513. procedure TTMR1_T1CON.setTWIP; inline;
  10514. begin
  10515. pTDefRegMap(@Self)^.&set := $00000800;
  10516. end;
  10517. procedure TTMR1_T1CON.clearTWIP; inline;
  10518. begin
  10519. pTDefRegMap(@Self)^.clr := $00000800;
  10520. end;
  10521. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  10522. begin
  10523. if thebits = 0 then
  10524. pTDefRegMap(@Self)^.clr := $00000800
  10525. else
  10526. pTDefRegMap(@Self)^.&set := $00000800;
  10527. end;
  10528. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  10529. begin
  10530. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  10531. end;
  10532. procedure TTMR1_T1CON.setTWDIS; inline;
  10533. begin
  10534. pTDefRegMap(@Self)^.&set := $00001000;
  10535. end;
  10536. procedure TTMR1_T1CON.clearTWDIS; inline;
  10537. begin
  10538. pTDefRegMap(@Self)^.clr := $00001000;
  10539. end;
  10540. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  10541. begin
  10542. if thebits = 0 then
  10543. pTDefRegMap(@Self)^.clr := $00001000
  10544. else
  10545. pTDefRegMap(@Self)^.&set := $00001000;
  10546. end;
  10547. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  10548. begin
  10549. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10550. end;
  10551. procedure TTMR1_T1CON.setSIDL; inline;
  10552. begin
  10553. pTDefRegMap(@Self)^.&set := $00002000;
  10554. end;
  10555. procedure TTMR1_T1CON.clearSIDL; inline;
  10556. begin
  10557. pTDefRegMap(@Self)^.clr := $00002000;
  10558. end;
  10559. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  10560. begin
  10561. if thebits = 0 then
  10562. pTDefRegMap(@Self)^.clr := $00002000
  10563. else
  10564. pTDefRegMap(@Self)^.&set := $00002000;
  10565. end;
  10566. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  10567. begin
  10568. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10569. end;
  10570. procedure TTMR1_T1CON.setON; inline;
  10571. begin
  10572. pTDefRegMap(@Self)^.&set := $00008000;
  10573. end;
  10574. procedure TTMR1_T1CON.clearON; inline;
  10575. begin
  10576. pTDefRegMap(@Self)^.clr := $00008000;
  10577. end;
  10578. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  10579. begin
  10580. if thebits = 0 then
  10581. pTDefRegMap(@Self)^.clr := $00008000
  10582. else
  10583. pTDefRegMap(@Self)^.&set := $00008000;
  10584. end;
  10585. function TTMR1_T1CON.getON : TBits_1; inline;
  10586. begin
  10587. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10588. end;
  10589. procedure TTMR1_T1CON.setTCKPS0; inline;
  10590. begin
  10591. pTDefRegMap(@Self)^.&set := $00000010;
  10592. end;
  10593. procedure TTMR1_T1CON.clearTCKPS0; inline;
  10594. begin
  10595. pTDefRegMap(@Self)^.clr := $00000010;
  10596. end;
  10597. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  10598. begin
  10599. if thebits = 0 then
  10600. pTDefRegMap(@Self)^.clr := $00000010
  10601. else
  10602. pTDefRegMap(@Self)^.&set := $00000010;
  10603. end;
  10604. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  10605. begin
  10606. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10607. end;
  10608. procedure TTMR1_T1CON.setTCKPS1; inline;
  10609. begin
  10610. pTDefRegMap(@Self)^.&set := $00000020;
  10611. end;
  10612. procedure TTMR1_T1CON.clearTCKPS1; inline;
  10613. begin
  10614. pTDefRegMap(@Self)^.clr := $00000020;
  10615. end;
  10616. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  10617. begin
  10618. if thebits = 0 then
  10619. pTDefRegMap(@Self)^.clr := $00000020
  10620. else
  10621. pTDefRegMap(@Self)^.&set := $00000020;
  10622. end;
  10623. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  10624. begin
  10625. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10626. end;
  10627. procedure TTMR1_T1CON.setTSIDL; inline;
  10628. begin
  10629. pTDefRegMap(@Self)^.&set := $00002000;
  10630. end;
  10631. procedure TTMR1_T1CON.clearTSIDL; inline;
  10632. begin
  10633. pTDefRegMap(@Self)^.clr := $00002000;
  10634. end;
  10635. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  10636. begin
  10637. if thebits = 0 then
  10638. pTDefRegMap(@Self)^.clr := $00002000
  10639. else
  10640. pTDefRegMap(@Self)^.&set := $00002000;
  10641. end;
  10642. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  10643. begin
  10644. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10645. end;
  10646. procedure TTMR1_T1CON.setTON; inline;
  10647. begin
  10648. pTDefRegMap(@Self)^.&set := $00008000;
  10649. end;
  10650. procedure TTMR1_T1CON.clearTON; inline;
  10651. begin
  10652. pTDefRegMap(@Self)^.clr := $00008000;
  10653. end;
  10654. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  10655. begin
  10656. if thebits = 0 then
  10657. pTDefRegMap(@Self)^.clr := $00008000
  10658. else
  10659. pTDefRegMap(@Self)^.&set := $00008000;
  10660. end;
  10661. function TTMR1_T1CON.getTON : TBits_1; inline;
  10662. begin
  10663. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10664. end;
  10665. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  10666. begin
  10667. pTDefRegMap(@Self)^.val := thebits;
  10668. end;
  10669. function TTMR1_T1CON.getw : TBits_32; inline;
  10670. begin
  10671. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10672. end;
  10673. procedure TTMR2_T2CON.setTCS; inline;
  10674. begin
  10675. pTDefRegMap(@Self)^.&set := $00000002;
  10676. end;
  10677. procedure TTMR2_T2CON.clearTCS; inline;
  10678. begin
  10679. pTDefRegMap(@Self)^.clr := $00000002;
  10680. end;
  10681. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  10682. begin
  10683. if thebits = 0 then
  10684. pTDefRegMap(@Self)^.clr := $00000002
  10685. else
  10686. pTDefRegMap(@Self)^.&set := $00000002;
  10687. end;
  10688. function TTMR2_T2CON.getTCS : TBits_1; inline;
  10689. begin
  10690. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10691. end;
  10692. procedure TTMR2_T2CON.setT32; inline;
  10693. begin
  10694. pTDefRegMap(@Self)^.&set := $00000008;
  10695. end;
  10696. procedure TTMR2_T2CON.clearT32; inline;
  10697. begin
  10698. pTDefRegMap(@Self)^.clr := $00000008;
  10699. end;
  10700. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  10701. begin
  10702. if thebits = 0 then
  10703. pTDefRegMap(@Self)^.clr := $00000008
  10704. else
  10705. pTDefRegMap(@Self)^.&set := $00000008;
  10706. end;
  10707. function TTMR2_T2CON.getT32 : TBits_1; inline;
  10708. begin
  10709. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10710. end;
  10711. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  10712. begin
  10713. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10714. end;
  10715. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  10716. begin
  10717. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10718. end;
  10719. procedure TTMR2_T2CON.setTGATE; inline;
  10720. begin
  10721. pTDefRegMap(@Self)^.&set := $00000080;
  10722. end;
  10723. procedure TTMR2_T2CON.clearTGATE; inline;
  10724. begin
  10725. pTDefRegMap(@Self)^.clr := $00000080;
  10726. end;
  10727. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  10728. begin
  10729. if thebits = 0 then
  10730. pTDefRegMap(@Self)^.clr := $00000080
  10731. else
  10732. pTDefRegMap(@Self)^.&set := $00000080;
  10733. end;
  10734. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  10735. begin
  10736. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10737. end;
  10738. procedure TTMR2_T2CON.setSIDL; inline;
  10739. begin
  10740. pTDefRegMap(@Self)^.&set := $00002000;
  10741. end;
  10742. procedure TTMR2_T2CON.clearSIDL; inline;
  10743. begin
  10744. pTDefRegMap(@Self)^.clr := $00002000;
  10745. end;
  10746. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  10747. begin
  10748. if thebits = 0 then
  10749. pTDefRegMap(@Self)^.clr := $00002000
  10750. else
  10751. pTDefRegMap(@Self)^.&set := $00002000;
  10752. end;
  10753. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  10754. begin
  10755. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10756. end;
  10757. procedure TTMR2_T2CON.setON; inline;
  10758. begin
  10759. pTDefRegMap(@Self)^.&set := $00008000;
  10760. end;
  10761. procedure TTMR2_T2CON.clearON; inline;
  10762. begin
  10763. pTDefRegMap(@Self)^.clr := $00008000;
  10764. end;
  10765. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  10766. begin
  10767. if thebits = 0 then
  10768. pTDefRegMap(@Self)^.clr := $00008000
  10769. else
  10770. pTDefRegMap(@Self)^.&set := $00008000;
  10771. end;
  10772. function TTMR2_T2CON.getON : TBits_1; inline;
  10773. begin
  10774. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10775. end;
  10776. procedure TTMR2_T2CON.setTCKPS0; inline;
  10777. begin
  10778. pTDefRegMap(@Self)^.&set := $00000010;
  10779. end;
  10780. procedure TTMR2_T2CON.clearTCKPS0; inline;
  10781. begin
  10782. pTDefRegMap(@Self)^.clr := $00000010;
  10783. end;
  10784. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  10785. begin
  10786. if thebits = 0 then
  10787. pTDefRegMap(@Self)^.clr := $00000010
  10788. else
  10789. pTDefRegMap(@Self)^.&set := $00000010;
  10790. end;
  10791. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  10792. begin
  10793. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10794. end;
  10795. procedure TTMR2_T2CON.setTCKPS1; inline;
  10796. begin
  10797. pTDefRegMap(@Self)^.&set := $00000020;
  10798. end;
  10799. procedure TTMR2_T2CON.clearTCKPS1; inline;
  10800. begin
  10801. pTDefRegMap(@Self)^.clr := $00000020;
  10802. end;
  10803. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  10804. begin
  10805. if thebits = 0 then
  10806. pTDefRegMap(@Self)^.clr := $00000020
  10807. else
  10808. pTDefRegMap(@Self)^.&set := $00000020;
  10809. end;
  10810. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  10811. begin
  10812. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10813. end;
  10814. procedure TTMR2_T2CON.setTCKPS2; inline;
  10815. begin
  10816. pTDefRegMap(@Self)^.&set := $00000040;
  10817. end;
  10818. procedure TTMR2_T2CON.clearTCKPS2; inline;
  10819. begin
  10820. pTDefRegMap(@Self)^.clr := $00000040;
  10821. end;
  10822. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  10823. begin
  10824. if thebits = 0 then
  10825. pTDefRegMap(@Self)^.clr := $00000040
  10826. else
  10827. pTDefRegMap(@Self)^.&set := $00000040;
  10828. end;
  10829. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  10830. begin
  10831. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10832. end;
  10833. procedure TTMR2_T2CON.setTSIDL; inline;
  10834. begin
  10835. pTDefRegMap(@Self)^.&set := $00002000;
  10836. end;
  10837. procedure TTMR2_T2CON.clearTSIDL; inline;
  10838. begin
  10839. pTDefRegMap(@Self)^.clr := $00002000;
  10840. end;
  10841. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  10842. begin
  10843. if thebits = 0 then
  10844. pTDefRegMap(@Self)^.clr := $00002000
  10845. else
  10846. pTDefRegMap(@Self)^.&set := $00002000;
  10847. end;
  10848. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  10849. begin
  10850. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10851. end;
  10852. procedure TTMR2_T2CON.setTON; inline;
  10853. begin
  10854. pTDefRegMap(@Self)^.&set := $00008000;
  10855. end;
  10856. procedure TTMR2_T2CON.clearTON; inline;
  10857. begin
  10858. pTDefRegMap(@Self)^.clr := $00008000;
  10859. end;
  10860. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  10861. begin
  10862. if thebits = 0 then
  10863. pTDefRegMap(@Self)^.clr := $00008000
  10864. else
  10865. pTDefRegMap(@Self)^.&set := $00008000;
  10866. end;
  10867. function TTMR2_T2CON.getTON : TBits_1; inline;
  10868. begin
  10869. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10870. end;
  10871. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  10872. begin
  10873. pTDefRegMap(@Self)^.val := thebits;
  10874. end;
  10875. function TTMR2_T2CON.getw : TBits_32; inline;
  10876. begin
  10877. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10878. end;
  10879. procedure TTMR3_T3CON.setTCS; inline;
  10880. begin
  10881. pTDefRegMap(@Self)^.&set := $00000002;
  10882. end;
  10883. procedure TTMR3_T3CON.clearTCS; inline;
  10884. begin
  10885. pTDefRegMap(@Self)^.clr := $00000002;
  10886. end;
  10887. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  10888. begin
  10889. if thebits = 0 then
  10890. pTDefRegMap(@Self)^.clr := $00000002
  10891. else
  10892. pTDefRegMap(@Self)^.&set := $00000002;
  10893. end;
  10894. function TTMR3_T3CON.getTCS : TBits_1; inline;
  10895. begin
  10896. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10897. end;
  10898. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  10899. begin
  10900. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  10901. end;
  10902. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  10903. begin
  10904. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  10905. end;
  10906. procedure TTMR3_T3CON.setTGATE; inline;
  10907. begin
  10908. pTDefRegMap(@Self)^.&set := $00000080;
  10909. end;
  10910. procedure TTMR3_T3CON.clearTGATE; inline;
  10911. begin
  10912. pTDefRegMap(@Self)^.clr := $00000080;
  10913. end;
  10914. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  10915. begin
  10916. if thebits = 0 then
  10917. pTDefRegMap(@Self)^.clr := $00000080
  10918. else
  10919. pTDefRegMap(@Self)^.&set := $00000080;
  10920. end;
  10921. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  10922. begin
  10923. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10924. end;
  10925. procedure TTMR3_T3CON.setSIDL; inline;
  10926. begin
  10927. pTDefRegMap(@Self)^.&set := $00002000;
  10928. end;
  10929. procedure TTMR3_T3CON.clearSIDL; inline;
  10930. begin
  10931. pTDefRegMap(@Self)^.clr := $00002000;
  10932. end;
  10933. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  10934. begin
  10935. if thebits = 0 then
  10936. pTDefRegMap(@Self)^.clr := $00002000
  10937. else
  10938. pTDefRegMap(@Self)^.&set := $00002000;
  10939. end;
  10940. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  10941. begin
  10942. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10943. end;
  10944. procedure TTMR3_T3CON.setON; inline;
  10945. begin
  10946. pTDefRegMap(@Self)^.&set := $00008000;
  10947. end;
  10948. procedure TTMR3_T3CON.clearON; inline;
  10949. begin
  10950. pTDefRegMap(@Self)^.clr := $00008000;
  10951. end;
  10952. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  10953. begin
  10954. if thebits = 0 then
  10955. pTDefRegMap(@Self)^.clr := $00008000
  10956. else
  10957. pTDefRegMap(@Self)^.&set := $00008000;
  10958. end;
  10959. function TTMR3_T3CON.getON : TBits_1; inline;
  10960. begin
  10961. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10962. end;
  10963. procedure TTMR3_T3CON.setTCKPS0; inline;
  10964. begin
  10965. pTDefRegMap(@Self)^.&set := $00000010;
  10966. end;
  10967. procedure TTMR3_T3CON.clearTCKPS0; inline;
  10968. begin
  10969. pTDefRegMap(@Self)^.clr := $00000010;
  10970. end;
  10971. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  10972. begin
  10973. if thebits = 0 then
  10974. pTDefRegMap(@Self)^.clr := $00000010
  10975. else
  10976. pTDefRegMap(@Self)^.&set := $00000010;
  10977. end;
  10978. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  10979. begin
  10980. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10981. end;
  10982. procedure TTMR3_T3CON.setTCKPS1; inline;
  10983. begin
  10984. pTDefRegMap(@Self)^.&set := $00000020;
  10985. end;
  10986. procedure TTMR3_T3CON.clearTCKPS1; inline;
  10987. begin
  10988. pTDefRegMap(@Self)^.clr := $00000020;
  10989. end;
  10990. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  10991. begin
  10992. if thebits = 0 then
  10993. pTDefRegMap(@Self)^.clr := $00000020
  10994. else
  10995. pTDefRegMap(@Self)^.&set := $00000020;
  10996. end;
  10997. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  10998. begin
  10999. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11000. end;
  11001. procedure TTMR3_T3CON.setTCKPS2; inline;
  11002. begin
  11003. pTDefRegMap(@Self)^.&set := $00000040;
  11004. end;
  11005. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11006. begin
  11007. pTDefRegMap(@Self)^.clr := $00000040;
  11008. end;
  11009. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11010. begin
  11011. if thebits = 0 then
  11012. pTDefRegMap(@Self)^.clr := $00000040
  11013. else
  11014. pTDefRegMap(@Self)^.&set := $00000040;
  11015. end;
  11016. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11017. begin
  11018. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11019. end;
  11020. procedure TTMR3_T3CON.setTSIDL; inline;
  11021. begin
  11022. pTDefRegMap(@Self)^.&set := $00002000;
  11023. end;
  11024. procedure TTMR3_T3CON.clearTSIDL; inline;
  11025. begin
  11026. pTDefRegMap(@Self)^.clr := $00002000;
  11027. end;
  11028. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11029. begin
  11030. if thebits = 0 then
  11031. pTDefRegMap(@Self)^.clr := $00002000
  11032. else
  11033. pTDefRegMap(@Self)^.&set := $00002000;
  11034. end;
  11035. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11036. begin
  11037. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11038. end;
  11039. procedure TTMR3_T3CON.setTON; inline;
  11040. begin
  11041. pTDefRegMap(@Self)^.&set := $00008000;
  11042. end;
  11043. procedure TTMR3_T3CON.clearTON; inline;
  11044. begin
  11045. pTDefRegMap(@Self)^.clr := $00008000;
  11046. end;
  11047. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11048. begin
  11049. if thebits = 0 then
  11050. pTDefRegMap(@Self)^.clr := $00008000
  11051. else
  11052. pTDefRegMap(@Self)^.&set := $00008000;
  11053. end;
  11054. function TTMR3_T3CON.getTON : TBits_1; inline;
  11055. begin
  11056. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11057. end;
  11058. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11059. begin
  11060. pTDefRegMap(@Self)^.val := thebits;
  11061. end;
  11062. function TTMR3_T3CON.getw : TBits_32; inline;
  11063. begin
  11064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11065. end;
  11066. procedure TTMR4_T4CON.setTCS; inline;
  11067. begin
  11068. pTDefRegMap(@Self)^.&set := $00000002;
  11069. end;
  11070. procedure TTMR4_T4CON.clearTCS; inline;
  11071. begin
  11072. pTDefRegMap(@Self)^.clr := $00000002;
  11073. end;
  11074. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11075. begin
  11076. if thebits = 0 then
  11077. pTDefRegMap(@Self)^.clr := $00000002
  11078. else
  11079. pTDefRegMap(@Self)^.&set := $00000002;
  11080. end;
  11081. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11082. begin
  11083. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11084. end;
  11085. procedure TTMR4_T4CON.setT32; inline;
  11086. begin
  11087. pTDefRegMap(@Self)^.&set := $00000008;
  11088. end;
  11089. procedure TTMR4_T4CON.clearT32; inline;
  11090. begin
  11091. pTDefRegMap(@Self)^.clr := $00000008;
  11092. end;
  11093. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11094. begin
  11095. if thebits = 0 then
  11096. pTDefRegMap(@Self)^.clr := $00000008
  11097. else
  11098. pTDefRegMap(@Self)^.&set := $00000008;
  11099. end;
  11100. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11101. begin
  11102. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11103. end;
  11104. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11105. begin
  11106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11107. end;
  11108. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11109. begin
  11110. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11111. end;
  11112. procedure TTMR4_T4CON.setTGATE; inline;
  11113. begin
  11114. pTDefRegMap(@Self)^.&set := $00000080;
  11115. end;
  11116. procedure TTMR4_T4CON.clearTGATE; inline;
  11117. begin
  11118. pTDefRegMap(@Self)^.clr := $00000080;
  11119. end;
  11120. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11121. begin
  11122. if thebits = 0 then
  11123. pTDefRegMap(@Self)^.clr := $00000080
  11124. else
  11125. pTDefRegMap(@Self)^.&set := $00000080;
  11126. end;
  11127. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11128. begin
  11129. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11130. end;
  11131. procedure TTMR4_T4CON.setSIDL; inline;
  11132. begin
  11133. pTDefRegMap(@Self)^.&set := $00002000;
  11134. end;
  11135. procedure TTMR4_T4CON.clearSIDL; inline;
  11136. begin
  11137. pTDefRegMap(@Self)^.clr := $00002000;
  11138. end;
  11139. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11140. begin
  11141. if thebits = 0 then
  11142. pTDefRegMap(@Self)^.clr := $00002000
  11143. else
  11144. pTDefRegMap(@Self)^.&set := $00002000;
  11145. end;
  11146. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11147. begin
  11148. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11149. end;
  11150. procedure TTMR4_T4CON.setON; inline;
  11151. begin
  11152. pTDefRegMap(@Self)^.&set := $00008000;
  11153. end;
  11154. procedure TTMR4_T4CON.clearON; inline;
  11155. begin
  11156. pTDefRegMap(@Self)^.clr := $00008000;
  11157. end;
  11158. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11159. begin
  11160. if thebits = 0 then
  11161. pTDefRegMap(@Self)^.clr := $00008000
  11162. else
  11163. pTDefRegMap(@Self)^.&set := $00008000;
  11164. end;
  11165. function TTMR4_T4CON.getON : TBits_1; inline;
  11166. begin
  11167. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11168. end;
  11169. procedure TTMR4_T4CON.setTCKPS0; inline;
  11170. begin
  11171. pTDefRegMap(@Self)^.&set := $00000010;
  11172. end;
  11173. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11174. begin
  11175. pTDefRegMap(@Self)^.clr := $00000010;
  11176. end;
  11177. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11178. begin
  11179. if thebits = 0 then
  11180. pTDefRegMap(@Self)^.clr := $00000010
  11181. else
  11182. pTDefRegMap(@Self)^.&set := $00000010;
  11183. end;
  11184. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11185. begin
  11186. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11187. end;
  11188. procedure TTMR4_T4CON.setTCKPS1; inline;
  11189. begin
  11190. pTDefRegMap(@Self)^.&set := $00000020;
  11191. end;
  11192. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11193. begin
  11194. pTDefRegMap(@Self)^.clr := $00000020;
  11195. end;
  11196. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11197. begin
  11198. if thebits = 0 then
  11199. pTDefRegMap(@Self)^.clr := $00000020
  11200. else
  11201. pTDefRegMap(@Self)^.&set := $00000020;
  11202. end;
  11203. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11204. begin
  11205. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11206. end;
  11207. procedure TTMR4_T4CON.setTCKPS2; inline;
  11208. begin
  11209. pTDefRegMap(@Self)^.&set := $00000040;
  11210. end;
  11211. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11212. begin
  11213. pTDefRegMap(@Self)^.clr := $00000040;
  11214. end;
  11215. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11216. begin
  11217. if thebits = 0 then
  11218. pTDefRegMap(@Self)^.clr := $00000040
  11219. else
  11220. pTDefRegMap(@Self)^.&set := $00000040;
  11221. end;
  11222. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11223. begin
  11224. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11225. end;
  11226. procedure TTMR4_T4CON.setTSIDL; inline;
  11227. begin
  11228. pTDefRegMap(@Self)^.&set := $00002000;
  11229. end;
  11230. procedure TTMR4_T4CON.clearTSIDL; inline;
  11231. begin
  11232. pTDefRegMap(@Self)^.clr := $00002000;
  11233. end;
  11234. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11235. begin
  11236. if thebits = 0 then
  11237. pTDefRegMap(@Self)^.clr := $00002000
  11238. else
  11239. pTDefRegMap(@Self)^.&set := $00002000;
  11240. end;
  11241. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11242. begin
  11243. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11244. end;
  11245. procedure TTMR4_T4CON.setTON; inline;
  11246. begin
  11247. pTDefRegMap(@Self)^.&set := $00008000;
  11248. end;
  11249. procedure TTMR4_T4CON.clearTON; inline;
  11250. begin
  11251. pTDefRegMap(@Self)^.clr := $00008000;
  11252. end;
  11253. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11254. begin
  11255. if thebits = 0 then
  11256. pTDefRegMap(@Self)^.clr := $00008000
  11257. else
  11258. pTDefRegMap(@Self)^.&set := $00008000;
  11259. end;
  11260. function TTMR4_T4CON.getTON : TBits_1; inline;
  11261. begin
  11262. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11263. end;
  11264. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11265. begin
  11266. pTDefRegMap(@Self)^.val := thebits;
  11267. end;
  11268. function TTMR4_T4CON.getw : TBits_32; inline;
  11269. begin
  11270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11271. end;
  11272. procedure TTMR5_T5CON.setTCS; inline;
  11273. begin
  11274. pTDefRegMap(@Self)^.&set := $00000002;
  11275. end;
  11276. procedure TTMR5_T5CON.clearTCS; inline;
  11277. begin
  11278. pTDefRegMap(@Self)^.clr := $00000002;
  11279. end;
  11280. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11281. begin
  11282. if thebits = 0 then
  11283. pTDefRegMap(@Self)^.clr := $00000002
  11284. else
  11285. pTDefRegMap(@Self)^.&set := $00000002;
  11286. end;
  11287. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11288. begin
  11289. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11290. end;
  11291. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11292. begin
  11293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11294. end;
  11295. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11296. begin
  11297. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11298. end;
  11299. procedure TTMR5_T5CON.setTGATE; inline;
  11300. begin
  11301. pTDefRegMap(@Self)^.&set := $00000080;
  11302. end;
  11303. procedure TTMR5_T5CON.clearTGATE; inline;
  11304. begin
  11305. pTDefRegMap(@Self)^.clr := $00000080;
  11306. end;
  11307. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11308. begin
  11309. if thebits = 0 then
  11310. pTDefRegMap(@Self)^.clr := $00000080
  11311. else
  11312. pTDefRegMap(@Self)^.&set := $00000080;
  11313. end;
  11314. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11315. begin
  11316. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11317. end;
  11318. procedure TTMR5_T5CON.setSIDL; inline;
  11319. begin
  11320. pTDefRegMap(@Self)^.&set := $00002000;
  11321. end;
  11322. procedure TTMR5_T5CON.clearSIDL; inline;
  11323. begin
  11324. pTDefRegMap(@Self)^.clr := $00002000;
  11325. end;
  11326. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11327. begin
  11328. if thebits = 0 then
  11329. pTDefRegMap(@Self)^.clr := $00002000
  11330. else
  11331. pTDefRegMap(@Self)^.&set := $00002000;
  11332. end;
  11333. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11334. begin
  11335. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11336. end;
  11337. procedure TTMR5_T5CON.setON; inline;
  11338. begin
  11339. pTDefRegMap(@Self)^.&set := $00008000;
  11340. end;
  11341. procedure TTMR5_T5CON.clearON; inline;
  11342. begin
  11343. pTDefRegMap(@Self)^.clr := $00008000;
  11344. end;
  11345. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11346. begin
  11347. if thebits = 0 then
  11348. pTDefRegMap(@Self)^.clr := $00008000
  11349. else
  11350. pTDefRegMap(@Self)^.&set := $00008000;
  11351. end;
  11352. function TTMR5_T5CON.getON : TBits_1; inline;
  11353. begin
  11354. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11355. end;
  11356. procedure TTMR5_T5CON.setTCKPS0; inline;
  11357. begin
  11358. pTDefRegMap(@Self)^.&set := $00000010;
  11359. end;
  11360. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11361. begin
  11362. pTDefRegMap(@Self)^.clr := $00000010;
  11363. end;
  11364. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11365. begin
  11366. if thebits = 0 then
  11367. pTDefRegMap(@Self)^.clr := $00000010
  11368. else
  11369. pTDefRegMap(@Self)^.&set := $00000010;
  11370. end;
  11371. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  11372. begin
  11373. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11374. end;
  11375. procedure TTMR5_T5CON.setTCKPS1; inline;
  11376. begin
  11377. pTDefRegMap(@Self)^.&set := $00000020;
  11378. end;
  11379. procedure TTMR5_T5CON.clearTCKPS1; inline;
  11380. begin
  11381. pTDefRegMap(@Self)^.clr := $00000020;
  11382. end;
  11383. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  11384. begin
  11385. if thebits = 0 then
  11386. pTDefRegMap(@Self)^.clr := $00000020
  11387. else
  11388. pTDefRegMap(@Self)^.&set := $00000020;
  11389. end;
  11390. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  11391. begin
  11392. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11393. end;
  11394. procedure TTMR5_T5CON.setTCKPS2; inline;
  11395. begin
  11396. pTDefRegMap(@Self)^.&set := $00000040;
  11397. end;
  11398. procedure TTMR5_T5CON.clearTCKPS2; inline;
  11399. begin
  11400. pTDefRegMap(@Self)^.clr := $00000040;
  11401. end;
  11402. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  11403. begin
  11404. if thebits = 0 then
  11405. pTDefRegMap(@Self)^.clr := $00000040
  11406. else
  11407. pTDefRegMap(@Self)^.&set := $00000040;
  11408. end;
  11409. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  11410. begin
  11411. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11412. end;
  11413. procedure TTMR5_T5CON.setTSIDL; inline;
  11414. begin
  11415. pTDefRegMap(@Self)^.&set := $00002000;
  11416. end;
  11417. procedure TTMR5_T5CON.clearTSIDL; inline;
  11418. begin
  11419. pTDefRegMap(@Self)^.clr := $00002000;
  11420. end;
  11421. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  11422. begin
  11423. if thebits = 0 then
  11424. pTDefRegMap(@Self)^.clr := $00002000
  11425. else
  11426. pTDefRegMap(@Self)^.&set := $00002000;
  11427. end;
  11428. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  11429. begin
  11430. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11431. end;
  11432. procedure TTMR5_T5CON.setTON; inline;
  11433. begin
  11434. pTDefRegMap(@Self)^.&set := $00008000;
  11435. end;
  11436. procedure TTMR5_T5CON.clearTON; inline;
  11437. begin
  11438. pTDefRegMap(@Self)^.clr := $00008000;
  11439. end;
  11440. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  11441. begin
  11442. if thebits = 0 then
  11443. pTDefRegMap(@Self)^.clr := $00008000
  11444. else
  11445. pTDefRegMap(@Self)^.&set := $00008000;
  11446. end;
  11447. function TTMR5_T5CON.getTON : TBits_1; inline;
  11448. begin
  11449. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11450. end;
  11451. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  11452. begin
  11453. pTDefRegMap(@Self)^.val := thebits;
  11454. end;
  11455. function TTMR5_T5CON.getw : TBits_32; inline;
  11456. begin
  11457. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11458. end;
  11459. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  11460. begin
  11461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11462. end;
  11463. function TICAP1_IC1CON.getICM : TBits_3; inline;
  11464. begin
  11465. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11466. end;
  11467. procedure TICAP1_IC1CON.setICBNE; inline;
  11468. begin
  11469. pTDefRegMap(@Self)^.&set := $00000008;
  11470. end;
  11471. procedure TICAP1_IC1CON.clearICBNE; inline;
  11472. begin
  11473. pTDefRegMap(@Self)^.clr := $00000008;
  11474. end;
  11475. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  11476. begin
  11477. if thebits = 0 then
  11478. pTDefRegMap(@Self)^.clr := $00000008
  11479. else
  11480. pTDefRegMap(@Self)^.&set := $00000008;
  11481. end;
  11482. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  11483. begin
  11484. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11485. end;
  11486. procedure TICAP1_IC1CON.setICOV; inline;
  11487. begin
  11488. pTDefRegMap(@Self)^.&set := $00000010;
  11489. end;
  11490. procedure TICAP1_IC1CON.clearICOV; inline;
  11491. begin
  11492. pTDefRegMap(@Self)^.clr := $00000010;
  11493. end;
  11494. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  11495. begin
  11496. if thebits = 0 then
  11497. pTDefRegMap(@Self)^.clr := $00000010
  11498. else
  11499. pTDefRegMap(@Self)^.&set := $00000010;
  11500. end;
  11501. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  11502. begin
  11503. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11504. end;
  11505. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  11506. begin
  11507. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11508. end;
  11509. function TICAP1_IC1CON.getICI : TBits_2; inline;
  11510. begin
  11511. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11512. end;
  11513. procedure TICAP1_IC1CON.setICTMR; inline;
  11514. begin
  11515. pTDefRegMap(@Self)^.&set := $00000080;
  11516. end;
  11517. procedure TICAP1_IC1CON.clearICTMR; inline;
  11518. begin
  11519. pTDefRegMap(@Self)^.clr := $00000080;
  11520. end;
  11521. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  11522. begin
  11523. if thebits = 0 then
  11524. pTDefRegMap(@Self)^.clr := $00000080
  11525. else
  11526. pTDefRegMap(@Self)^.&set := $00000080;
  11527. end;
  11528. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  11529. begin
  11530. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11531. end;
  11532. procedure TICAP1_IC1CON.setC32; inline;
  11533. begin
  11534. pTDefRegMap(@Self)^.&set := $00000100;
  11535. end;
  11536. procedure TICAP1_IC1CON.clearC32; inline;
  11537. begin
  11538. pTDefRegMap(@Self)^.clr := $00000100;
  11539. end;
  11540. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  11541. begin
  11542. if thebits = 0 then
  11543. pTDefRegMap(@Self)^.clr := $00000100
  11544. else
  11545. pTDefRegMap(@Self)^.&set := $00000100;
  11546. end;
  11547. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  11548. begin
  11549. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11550. end;
  11551. procedure TICAP1_IC1CON.setFEDGE; inline;
  11552. begin
  11553. pTDefRegMap(@Self)^.&set := $00000200;
  11554. end;
  11555. procedure TICAP1_IC1CON.clearFEDGE; inline;
  11556. begin
  11557. pTDefRegMap(@Self)^.clr := $00000200;
  11558. end;
  11559. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  11560. begin
  11561. if thebits = 0 then
  11562. pTDefRegMap(@Self)^.clr := $00000200
  11563. else
  11564. pTDefRegMap(@Self)^.&set := $00000200;
  11565. end;
  11566. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  11567. begin
  11568. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11569. end;
  11570. procedure TICAP1_IC1CON.setSIDL; inline;
  11571. begin
  11572. pTDefRegMap(@Self)^.&set := $00002000;
  11573. end;
  11574. procedure TICAP1_IC1CON.clearSIDL; inline;
  11575. begin
  11576. pTDefRegMap(@Self)^.clr := $00002000;
  11577. end;
  11578. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  11579. begin
  11580. if thebits = 0 then
  11581. pTDefRegMap(@Self)^.clr := $00002000
  11582. else
  11583. pTDefRegMap(@Self)^.&set := $00002000;
  11584. end;
  11585. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  11586. begin
  11587. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11588. end;
  11589. procedure TICAP1_IC1CON.setON; inline;
  11590. begin
  11591. pTDefRegMap(@Self)^.&set := $00008000;
  11592. end;
  11593. procedure TICAP1_IC1CON.clearON; inline;
  11594. begin
  11595. pTDefRegMap(@Self)^.clr := $00008000;
  11596. end;
  11597. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  11598. begin
  11599. if thebits = 0 then
  11600. pTDefRegMap(@Self)^.clr := $00008000
  11601. else
  11602. pTDefRegMap(@Self)^.&set := $00008000;
  11603. end;
  11604. function TICAP1_IC1CON.getON : TBits_1; inline;
  11605. begin
  11606. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11607. end;
  11608. procedure TICAP1_IC1CON.setICM0; inline;
  11609. begin
  11610. pTDefRegMap(@Self)^.&set := $00000001;
  11611. end;
  11612. procedure TICAP1_IC1CON.clearICM0; inline;
  11613. begin
  11614. pTDefRegMap(@Self)^.clr := $00000001;
  11615. end;
  11616. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  11617. begin
  11618. if thebits = 0 then
  11619. pTDefRegMap(@Self)^.clr := $00000001
  11620. else
  11621. pTDefRegMap(@Self)^.&set := $00000001;
  11622. end;
  11623. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  11624. begin
  11625. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11626. end;
  11627. procedure TICAP1_IC1CON.setICM1; inline;
  11628. begin
  11629. pTDefRegMap(@Self)^.&set := $00000002;
  11630. end;
  11631. procedure TICAP1_IC1CON.clearICM1; inline;
  11632. begin
  11633. pTDefRegMap(@Self)^.clr := $00000002;
  11634. end;
  11635. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  11636. begin
  11637. if thebits = 0 then
  11638. pTDefRegMap(@Self)^.clr := $00000002
  11639. else
  11640. pTDefRegMap(@Self)^.&set := $00000002;
  11641. end;
  11642. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  11643. begin
  11644. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11645. end;
  11646. procedure TICAP1_IC1CON.setICM2; inline;
  11647. begin
  11648. pTDefRegMap(@Self)^.&set := $00000004;
  11649. end;
  11650. procedure TICAP1_IC1CON.clearICM2; inline;
  11651. begin
  11652. pTDefRegMap(@Self)^.clr := $00000004;
  11653. end;
  11654. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  11655. begin
  11656. if thebits = 0 then
  11657. pTDefRegMap(@Self)^.clr := $00000004
  11658. else
  11659. pTDefRegMap(@Self)^.&set := $00000004;
  11660. end;
  11661. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  11662. begin
  11663. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11664. end;
  11665. procedure TICAP1_IC1CON.setICI0; inline;
  11666. begin
  11667. pTDefRegMap(@Self)^.&set := $00000020;
  11668. end;
  11669. procedure TICAP1_IC1CON.clearICI0; inline;
  11670. begin
  11671. pTDefRegMap(@Self)^.clr := $00000020;
  11672. end;
  11673. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  11674. begin
  11675. if thebits = 0 then
  11676. pTDefRegMap(@Self)^.clr := $00000020
  11677. else
  11678. pTDefRegMap(@Self)^.&set := $00000020;
  11679. end;
  11680. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  11681. begin
  11682. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11683. end;
  11684. procedure TICAP1_IC1CON.setICI1; inline;
  11685. begin
  11686. pTDefRegMap(@Self)^.&set := $00000040;
  11687. end;
  11688. procedure TICAP1_IC1CON.clearICI1; inline;
  11689. begin
  11690. pTDefRegMap(@Self)^.clr := $00000040;
  11691. end;
  11692. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  11693. begin
  11694. if thebits = 0 then
  11695. pTDefRegMap(@Self)^.clr := $00000040
  11696. else
  11697. pTDefRegMap(@Self)^.&set := $00000040;
  11698. end;
  11699. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  11700. begin
  11701. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11702. end;
  11703. procedure TICAP1_IC1CON.setICSIDL; inline;
  11704. begin
  11705. pTDefRegMap(@Self)^.&set := $00002000;
  11706. end;
  11707. procedure TICAP1_IC1CON.clearICSIDL; inline;
  11708. begin
  11709. pTDefRegMap(@Self)^.clr := $00002000;
  11710. end;
  11711. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  11712. begin
  11713. if thebits = 0 then
  11714. pTDefRegMap(@Self)^.clr := $00002000
  11715. else
  11716. pTDefRegMap(@Self)^.&set := $00002000;
  11717. end;
  11718. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  11719. begin
  11720. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11721. end;
  11722. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  11723. begin
  11724. pTDefRegMap(@Self)^.val := thebits;
  11725. end;
  11726. function TICAP1_IC1CON.getw : TBits_32; inline;
  11727. begin
  11728. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11729. end;
  11730. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  11731. begin
  11732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  11733. end;
  11734. function TICAP2_IC2CON.getICM : TBits_3; inline;
  11735. begin
  11736. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  11737. end;
  11738. procedure TICAP2_IC2CON.setICBNE; inline;
  11739. begin
  11740. pTDefRegMap(@Self)^.&set := $00000008;
  11741. end;
  11742. procedure TICAP2_IC2CON.clearICBNE; inline;
  11743. begin
  11744. pTDefRegMap(@Self)^.clr := $00000008;
  11745. end;
  11746. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  11747. begin
  11748. if thebits = 0 then
  11749. pTDefRegMap(@Self)^.clr := $00000008
  11750. else
  11751. pTDefRegMap(@Self)^.&set := $00000008;
  11752. end;
  11753. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  11754. begin
  11755. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11756. end;
  11757. procedure TICAP2_IC2CON.setICOV; inline;
  11758. begin
  11759. pTDefRegMap(@Self)^.&set := $00000010;
  11760. end;
  11761. procedure TICAP2_IC2CON.clearICOV; inline;
  11762. begin
  11763. pTDefRegMap(@Self)^.clr := $00000010;
  11764. end;
  11765. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  11766. begin
  11767. if thebits = 0 then
  11768. pTDefRegMap(@Self)^.clr := $00000010
  11769. else
  11770. pTDefRegMap(@Self)^.&set := $00000010;
  11771. end;
  11772. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  11773. begin
  11774. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11775. end;
  11776. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  11777. begin
  11778. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  11779. end;
  11780. function TICAP2_IC2CON.getICI : TBits_2; inline;
  11781. begin
  11782. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  11783. end;
  11784. procedure TICAP2_IC2CON.setICTMR; inline;
  11785. begin
  11786. pTDefRegMap(@Self)^.&set := $00000080;
  11787. end;
  11788. procedure TICAP2_IC2CON.clearICTMR; inline;
  11789. begin
  11790. pTDefRegMap(@Self)^.clr := $00000080;
  11791. end;
  11792. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  11793. begin
  11794. if thebits = 0 then
  11795. pTDefRegMap(@Self)^.clr := $00000080
  11796. else
  11797. pTDefRegMap(@Self)^.&set := $00000080;
  11798. end;
  11799. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  11800. begin
  11801. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11802. end;
  11803. procedure TICAP2_IC2CON.setC32; inline;
  11804. begin
  11805. pTDefRegMap(@Self)^.&set := $00000100;
  11806. end;
  11807. procedure TICAP2_IC2CON.clearC32; inline;
  11808. begin
  11809. pTDefRegMap(@Self)^.clr := $00000100;
  11810. end;
  11811. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  11812. begin
  11813. if thebits = 0 then
  11814. pTDefRegMap(@Self)^.clr := $00000100
  11815. else
  11816. pTDefRegMap(@Self)^.&set := $00000100;
  11817. end;
  11818. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  11819. begin
  11820. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  11821. end;
  11822. procedure TICAP2_IC2CON.setFEDGE; inline;
  11823. begin
  11824. pTDefRegMap(@Self)^.&set := $00000200;
  11825. end;
  11826. procedure TICAP2_IC2CON.clearFEDGE; inline;
  11827. begin
  11828. pTDefRegMap(@Self)^.clr := $00000200;
  11829. end;
  11830. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  11831. begin
  11832. if thebits = 0 then
  11833. pTDefRegMap(@Self)^.clr := $00000200
  11834. else
  11835. pTDefRegMap(@Self)^.&set := $00000200;
  11836. end;
  11837. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  11838. begin
  11839. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  11840. end;
  11841. procedure TICAP2_IC2CON.setSIDL; inline;
  11842. begin
  11843. pTDefRegMap(@Self)^.&set := $00002000;
  11844. end;
  11845. procedure TICAP2_IC2CON.clearSIDL; inline;
  11846. begin
  11847. pTDefRegMap(@Self)^.clr := $00002000;
  11848. end;
  11849. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  11850. begin
  11851. if thebits = 0 then
  11852. pTDefRegMap(@Self)^.clr := $00002000
  11853. else
  11854. pTDefRegMap(@Self)^.&set := $00002000;
  11855. end;
  11856. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  11857. begin
  11858. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11859. end;
  11860. procedure TICAP2_IC2CON.setON; inline;
  11861. begin
  11862. pTDefRegMap(@Self)^.&set := $00008000;
  11863. end;
  11864. procedure TICAP2_IC2CON.clearON; inline;
  11865. begin
  11866. pTDefRegMap(@Self)^.clr := $00008000;
  11867. end;
  11868. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  11869. begin
  11870. if thebits = 0 then
  11871. pTDefRegMap(@Self)^.clr := $00008000
  11872. else
  11873. pTDefRegMap(@Self)^.&set := $00008000;
  11874. end;
  11875. function TICAP2_IC2CON.getON : TBits_1; inline;
  11876. begin
  11877. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11878. end;
  11879. procedure TICAP2_IC2CON.setICM0; inline;
  11880. begin
  11881. pTDefRegMap(@Self)^.&set := $00000001;
  11882. end;
  11883. procedure TICAP2_IC2CON.clearICM0; inline;
  11884. begin
  11885. pTDefRegMap(@Self)^.clr := $00000001;
  11886. end;
  11887. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  11888. begin
  11889. if thebits = 0 then
  11890. pTDefRegMap(@Self)^.clr := $00000001
  11891. else
  11892. pTDefRegMap(@Self)^.&set := $00000001;
  11893. end;
  11894. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  11895. begin
  11896. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  11897. end;
  11898. procedure TICAP2_IC2CON.setICM1; inline;
  11899. begin
  11900. pTDefRegMap(@Self)^.&set := $00000002;
  11901. end;
  11902. procedure TICAP2_IC2CON.clearICM1; inline;
  11903. begin
  11904. pTDefRegMap(@Self)^.clr := $00000002;
  11905. end;
  11906. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  11907. begin
  11908. if thebits = 0 then
  11909. pTDefRegMap(@Self)^.clr := $00000002
  11910. else
  11911. pTDefRegMap(@Self)^.&set := $00000002;
  11912. end;
  11913. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  11914. begin
  11915. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11916. end;
  11917. procedure TICAP2_IC2CON.setICM2; inline;
  11918. begin
  11919. pTDefRegMap(@Self)^.&set := $00000004;
  11920. end;
  11921. procedure TICAP2_IC2CON.clearICM2; inline;
  11922. begin
  11923. pTDefRegMap(@Self)^.clr := $00000004;
  11924. end;
  11925. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  11926. begin
  11927. if thebits = 0 then
  11928. pTDefRegMap(@Self)^.clr := $00000004
  11929. else
  11930. pTDefRegMap(@Self)^.&set := $00000004;
  11931. end;
  11932. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  11933. begin
  11934. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11935. end;
  11936. procedure TICAP2_IC2CON.setICI0; inline;
  11937. begin
  11938. pTDefRegMap(@Self)^.&set := $00000020;
  11939. end;
  11940. procedure TICAP2_IC2CON.clearICI0; inline;
  11941. begin
  11942. pTDefRegMap(@Self)^.clr := $00000020;
  11943. end;
  11944. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  11945. begin
  11946. if thebits = 0 then
  11947. pTDefRegMap(@Self)^.clr := $00000020
  11948. else
  11949. pTDefRegMap(@Self)^.&set := $00000020;
  11950. end;
  11951. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  11952. begin
  11953. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11954. end;
  11955. procedure TICAP2_IC2CON.setICI1; inline;
  11956. begin
  11957. pTDefRegMap(@Self)^.&set := $00000040;
  11958. end;
  11959. procedure TICAP2_IC2CON.clearICI1; inline;
  11960. begin
  11961. pTDefRegMap(@Self)^.clr := $00000040;
  11962. end;
  11963. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  11964. begin
  11965. if thebits = 0 then
  11966. pTDefRegMap(@Self)^.clr := $00000040
  11967. else
  11968. pTDefRegMap(@Self)^.&set := $00000040;
  11969. end;
  11970. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  11971. begin
  11972. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11973. end;
  11974. procedure TICAP2_IC2CON.setICSIDL; inline;
  11975. begin
  11976. pTDefRegMap(@Self)^.&set := $00002000;
  11977. end;
  11978. procedure TICAP2_IC2CON.clearICSIDL; inline;
  11979. begin
  11980. pTDefRegMap(@Self)^.clr := $00002000;
  11981. end;
  11982. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  11983. begin
  11984. if thebits = 0 then
  11985. pTDefRegMap(@Self)^.clr := $00002000
  11986. else
  11987. pTDefRegMap(@Self)^.&set := $00002000;
  11988. end;
  11989. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  11990. begin
  11991. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11992. end;
  11993. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  11994. begin
  11995. pTDefRegMap(@Self)^.val := thebits;
  11996. end;
  11997. function TICAP2_IC2CON.getw : TBits_32; inline;
  11998. begin
  11999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12000. end;
  12001. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12002. begin
  12003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12004. end;
  12005. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12006. begin
  12007. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12008. end;
  12009. procedure TICAP3_IC3CON.setICBNE; inline;
  12010. begin
  12011. pTDefRegMap(@Self)^.&set := $00000008;
  12012. end;
  12013. procedure TICAP3_IC3CON.clearICBNE; inline;
  12014. begin
  12015. pTDefRegMap(@Self)^.clr := $00000008;
  12016. end;
  12017. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12018. begin
  12019. if thebits = 0 then
  12020. pTDefRegMap(@Self)^.clr := $00000008
  12021. else
  12022. pTDefRegMap(@Self)^.&set := $00000008;
  12023. end;
  12024. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12025. begin
  12026. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12027. end;
  12028. procedure TICAP3_IC3CON.setICOV; inline;
  12029. begin
  12030. pTDefRegMap(@Self)^.&set := $00000010;
  12031. end;
  12032. procedure TICAP3_IC3CON.clearICOV; inline;
  12033. begin
  12034. pTDefRegMap(@Self)^.clr := $00000010;
  12035. end;
  12036. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12037. begin
  12038. if thebits = 0 then
  12039. pTDefRegMap(@Self)^.clr := $00000010
  12040. else
  12041. pTDefRegMap(@Self)^.&set := $00000010;
  12042. end;
  12043. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12044. begin
  12045. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12046. end;
  12047. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12048. begin
  12049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12050. end;
  12051. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12052. begin
  12053. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12054. end;
  12055. procedure TICAP3_IC3CON.setICTMR; inline;
  12056. begin
  12057. pTDefRegMap(@Self)^.&set := $00000080;
  12058. end;
  12059. procedure TICAP3_IC3CON.clearICTMR; inline;
  12060. begin
  12061. pTDefRegMap(@Self)^.clr := $00000080;
  12062. end;
  12063. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12064. begin
  12065. if thebits = 0 then
  12066. pTDefRegMap(@Self)^.clr := $00000080
  12067. else
  12068. pTDefRegMap(@Self)^.&set := $00000080;
  12069. end;
  12070. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12071. begin
  12072. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12073. end;
  12074. procedure TICAP3_IC3CON.setC32; inline;
  12075. begin
  12076. pTDefRegMap(@Self)^.&set := $00000100;
  12077. end;
  12078. procedure TICAP3_IC3CON.clearC32; inline;
  12079. begin
  12080. pTDefRegMap(@Self)^.clr := $00000100;
  12081. end;
  12082. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12083. begin
  12084. if thebits = 0 then
  12085. pTDefRegMap(@Self)^.clr := $00000100
  12086. else
  12087. pTDefRegMap(@Self)^.&set := $00000100;
  12088. end;
  12089. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12090. begin
  12091. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12092. end;
  12093. procedure TICAP3_IC3CON.setFEDGE; inline;
  12094. begin
  12095. pTDefRegMap(@Self)^.&set := $00000200;
  12096. end;
  12097. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12098. begin
  12099. pTDefRegMap(@Self)^.clr := $00000200;
  12100. end;
  12101. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12102. begin
  12103. if thebits = 0 then
  12104. pTDefRegMap(@Self)^.clr := $00000200
  12105. else
  12106. pTDefRegMap(@Self)^.&set := $00000200;
  12107. end;
  12108. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12109. begin
  12110. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12111. end;
  12112. procedure TICAP3_IC3CON.setSIDL; inline;
  12113. begin
  12114. pTDefRegMap(@Self)^.&set := $00002000;
  12115. end;
  12116. procedure TICAP3_IC3CON.clearSIDL; inline;
  12117. begin
  12118. pTDefRegMap(@Self)^.clr := $00002000;
  12119. end;
  12120. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12121. begin
  12122. if thebits = 0 then
  12123. pTDefRegMap(@Self)^.clr := $00002000
  12124. else
  12125. pTDefRegMap(@Self)^.&set := $00002000;
  12126. end;
  12127. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12128. begin
  12129. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12130. end;
  12131. procedure TICAP3_IC3CON.setON; inline;
  12132. begin
  12133. pTDefRegMap(@Self)^.&set := $00008000;
  12134. end;
  12135. procedure TICAP3_IC3CON.clearON; inline;
  12136. begin
  12137. pTDefRegMap(@Self)^.clr := $00008000;
  12138. end;
  12139. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12140. begin
  12141. if thebits = 0 then
  12142. pTDefRegMap(@Self)^.clr := $00008000
  12143. else
  12144. pTDefRegMap(@Self)^.&set := $00008000;
  12145. end;
  12146. function TICAP3_IC3CON.getON : TBits_1; inline;
  12147. begin
  12148. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12149. end;
  12150. procedure TICAP3_IC3CON.setICM0; inline;
  12151. begin
  12152. pTDefRegMap(@Self)^.&set := $00000001;
  12153. end;
  12154. procedure TICAP3_IC3CON.clearICM0; inline;
  12155. begin
  12156. pTDefRegMap(@Self)^.clr := $00000001;
  12157. end;
  12158. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12159. begin
  12160. if thebits = 0 then
  12161. pTDefRegMap(@Self)^.clr := $00000001
  12162. else
  12163. pTDefRegMap(@Self)^.&set := $00000001;
  12164. end;
  12165. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12166. begin
  12167. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12168. end;
  12169. procedure TICAP3_IC3CON.setICM1; inline;
  12170. begin
  12171. pTDefRegMap(@Self)^.&set := $00000002;
  12172. end;
  12173. procedure TICAP3_IC3CON.clearICM1; inline;
  12174. begin
  12175. pTDefRegMap(@Self)^.clr := $00000002;
  12176. end;
  12177. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12178. begin
  12179. if thebits = 0 then
  12180. pTDefRegMap(@Self)^.clr := $00000002
  12181. else
  12182. pTDefRegMap(@Self)^.&set := $00000002;
  12183. end;
  12184. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12185. begin
  12186. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12187. end;
  12188. procedure TICAP3_IC3CON.setICM2; inline;
  12189. begin
  12190. pTDefRegMap(@Self)^.&set := $00000004;
  12191. end;
  12192. procedure TICAP3_IC3CON.clearICM2; inline;
  12193. begin
  12194. pTDefRegMap(@Self)^.clr := $00000004;
  12195. end;
  12196. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12197. begin
  12198. if thebits = 0 then
  12199. pTDefRegMap(@Self)^.clr := $00000004
  12200. else
  12201. pTDefRegMap(@Self)^.&set := $00000004;
  12202. end;
  12203. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12204. begin
  12205. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12206. end;
  12207. procedure TICAP3_IC3CON.setICI0; inline;
  12208. begin
  12209. pTDefRegMap(@Self)^.&set := $00000020;
  12210. end;
  12211. procedure TICAP3_IC3CON.clearICI0; inline;
  12212. begin
  12213. pTDefRegMap(@Self)^.clr := $00000020;
  12214. end;
  12215. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12216. begin
  12217. if thebits = 0 then
  12218. pTDefRegMap(@Self)^.clr := $00000020
  12219. else
  12220. pTDefRegMap(@Self)^.&set := $00000020;
  12221. end;
  12222. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12223. begin
  12224. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12225. end;
  12226. procedure TICAP3_IC3CON.setICI1; inline;
  12227. begin
  12228. pTDefRegMap(@Self)^.&set := $00000040;
  12229. end;
  12230. procedure TICAP3_IC3CON.clearICI1; inline;
  12231. begin
  12232. pTDefRegMap(@Self)^.clr := $00000040;
  12233. end;
  12234. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12235. begin
  12236. if thebits = 0 then
  12237. pTDefRegMap(@Self)^.clr := $00000040
  12238. else
  12239. pTDefRegMap(@Self)^.&set := $00000040;
  12240. end;
  12241. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12242. begin
  12243. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12244. end;
  12245. procedure TICAP3_IC3CON.setICSIDL; inline;
  12246. begin
  12247. pTDefRegMap(@Self)^.&set := $00002000;
  12248. end;
  12249. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12250. begin
  12251. pTDefRegMap(@Self)^.clr := $00002000;
  12252. end;
  12253. procedure TICAP3_IC3CON.setICSIDL(thebits : TBits_1); inline;
  12254. begin
  12255. if thebits = 0 then
  12256. pTDefRegMap(@Self)^.clr := $00002000
  12257. else
  12258. pTDefRegMap(@Self)^.&set := $00002000;
  12259. end;
  12260. function TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12261. begin
  12262. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12263. end;
  12264. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12265. begin
  12266. pTDefRegMap(@Self)^.val := thebits;
  12267. end;
  12268. function TICAP3_IC3CON.getw : TBits_32; inline;
  12269. begin
  12270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12271. end;
  12272. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12273. begin
  12274. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12275. end;
  12276. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12277. begin
  12278. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12279. end;
  12280. procedure TICAP4_IC4CON.setICBNE; inline;
  12281. begin
  12282. pTDefRegMap(@Self)^.&set := $00000008;
  12283. end;
  12284. procedure TICAP4_IC4CON.clearICBNE; inline;
  12285. begin
  12286. pTDefRegMap(@Self)^.clr := $00000008;
  12287. end;
  12288. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12289. begin
  12290. if thebits = 0 then
  12291. pTDefRegMap(@Self)^.clr := $00000008
  12292. else
  12293. pTDefRegMap(@Self)^.&set := $00000008;
  12294. end;
  12295. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12296. begin
  12297. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12298. end;
  12299. procedure TICAP4_IC4CON.setICOV; inline;
  12300. begin
  12301. pTDefRegMap(@Self)^.&set := $00000010;
  12302. end;
  12303. procedure TICAP4_IC4CON.clearICOV; inline;
  12304. begin
  12305. pTDefRegMap(@Self)^.clr := $00000010;
  12306. end;
  12307. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12308. begin
  12309. if thebits = 0 then
  12310. pTDefRegMap(@Self)^.clr := $00000010
  12311. else
  12312. pTDefRegMap(@Self)^.&set := $00000010;
  12313. end;
  12314. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12315. begin
  12316. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12317. end;
  12318. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12319. begin
  12320. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12321. end;
  12322. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12323. begin
  12324. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12325. end;
  12326. procedure TICAP4_IC4CON.setICTMR; inline;
  12327. begin
  12328. pTDefRegMap(@Self)^.&set := $00000080;
  12329. end;
  12330. procedure TICAP4_IC4CON.clearICTMR; inline;
  12331. begin
  12332. pTDefRegMap(@Self)^.clr := $00000080;
  12333. end;
  12334. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12335. begin
  12336. if thebits = 0 then
  12337. pTDefRegMap(@Self)^.clr := $00000080
  12338. else
  12339. pTDefRegMap(@Self)^.&set := $00000080;
  12340. end;
  12341. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12342. begin
  12343. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12344. end;
  12345. procedure TICAP4_IC4CON.setC32; inline;
  12346. begin
  12347. pTDefRegMap(@Self)^.&set := $00000100;
  12348. end;
  12349. procedure TICAP4_IC4CON.clearC32; inline;
  12350. begin
  12351. pTDefRegMap(@Self)^.clr := $00000100;
  12352. end;
  12353. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12354. begin
  12355. if thebits = 0 then
  12356. pTDefRegMap(@Self)^.clr := $00000100
  12357. else
  12358. pTDefRegMap(@Self)^.&set := $00000100;
  12359. end;
  12360. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12361. begin
  12362. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12363. end;
  12364. procedure TICAP4_IC4CON.setFEDGE; inline;
  12365. begin
  12366. pTDefRegMap(@Self)^.&set := $00000200;
  12367. end;
  12368. procedure TICAP4_IC4CON.clearFEDGE; inline;
  12369. begin
  12370. pTDefRegMap(@Self)^.clr := $00000200;
  12371. end;
  12372. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  12373. begin
  12374. if thebits = 0 then
  12375. pTDefRegMap(@Self)^.clr := $00000200
  12376. else
  12377. pTDefRegMap(@Self)^.&set := $00000200;
  12378. end;
  12379. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  12380. begin
  12381. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12382. end;
  12383. procedure TICAP4_IC4CON.setSIDL; inline;
  12384. begin
  12385. pTDefRegMap(@Self)^.&set := $00002000;
  12386. end;
  12387. procedure TICAP4_IC4CON.clearSIDL; inline;
  12388. begin
  12389. pTDefRegMap(@Self)^.clr := $00002000;
  12390. end;
  12391. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  12392. begin
  12393. if thebits = 0 then
  12394. pTDefRegMap(@Self)^.clr := $00002000
  12395. else
  12396. pTDefRegMap(@Self)^.&set := $00002000;
  12397. end;
  12398. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  12399. begin
  12400. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12401. end;
  12402. procedure TICAP4_IC4CON.setON; inline;
  12403. begin
  12404. pTDefRegMap(@Self)^.&set := $00008000;
  12405. end;
  12406. procedure TICAP4_IC4CON.clearON; inline;
  12407. begin
  12408. pTDefRegMap(@Self)^.clr := $00008000;
  12409. end;
  12410. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  12411. begin
  12412. if thebits = 0 then
  12413. pTDefRegMap(@Self)^.clr := $00008000
  12414. else
  12415. pTDefRegMap(@Self)^.&set := $00008000;
  12416. end;
  12417. function TICAP4_IC4CON.getON : TBits_1; inline;
  12418. begin
  12419. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12420. end;
  12421. procedure TICAP4_IC4CON.setICM0; inline;
  12422. begin
  12423. pTDefRegMap(@Self)^.&set := $00000001;
  12424. end;
  12425. procedure TICAP4_IC4CON.clearICM0; inline;
  12426. begin
  12427. pTDefRegMap(@Self)^.clr := $00000001;
  12428. end;
  12429. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  12430. begin
  12431. if thebits = 0 then
  12432. pTDefRegMap(@Self)^.clr := $00000001
  12433. else
  12434. pTDefRegMap(@Self)^.&set := $00000001;
  12435. end;
  12436. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  12437. begin
  12438. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12439. end;
  12440. procedure TICAP4_IC4CON.setICM1; inline;
  12441. begin
  12442. pTDefRegMap(@Self)^.&set := $00000002;
  12443. end;
  12444. procedure TICAP4_IC4CON.clearICM1; inline;
  12445. begin
  12446. pTDefRegMap(@Self)^.clr := $00000002;
  12447. end;
  12448. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  12449. begin
  12450. if thebits = 0 then
  12451. pTDefRegMap(@Self)^.clr := $00000002
  12452. else
  12453. pTDefRegMap(@Self)^.&set := $00000002;
  12454. end;
  12455. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  12456. begin
  12457. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12458. end;
  12459. procedure TICAP4_IC4CON.setICM2; inline;
  12460. begin
  12461. pTDefRegMap(@Self)^.&set := $00000004;
  12462. end;
  12463. procedure TICAP4_IC4CON.clearICM2; inline;
  12464. begin
  12465. pTDefRegMap(@Self)^.clr := $00000004;
  12466. end;
  12467. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  12468. begin
  12469. if thebits = 0 then
  12470. pTDefRegMap(@Self)^.clr := $00000004
  12471. else
  12472. pTDefRegMap(@Self)^.&set := $00000004;
  12473. end;
  12474. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  12475. begin
  12476. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12477. end;
  12478. procedure TICAP4_IC4CON.setICI0; inline;
  12479. begin
  12480. pTDefRegMap(@Self)^.&set := $00000020;
  12481. end;
  12482. procedure TICAP4_IC4CON.clearICI0; inline;
  12483. begin
  12484. pTDefRegMap(@Self)^.clr := $00000020;
  12485. end;
  12486. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  12487. begin
  12488. if thebits = 0 then
  12489. pTDefRegMap(@Self)^.clr := $00000020
  12490. else
  12491. pTDefRegMap(@Self)^.&set := $00000020;
  12492. end;
  12493. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  12494. begin
  12495. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12496. end;
  12497. procedure TICAP4_IC4CON.setICI1; inline;
  12498. begin
  12499. pTDefRegMap(@Self)^.&set := $00000040;
  12500. end;
  12501. procedure TICAP4_IC4CON.clearICI1; inline;
  12502. begin
  12503. pTDefRegMap(@Self)^.clr := $00000040;
  12504. end;
  12505. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  12506. begin
  12507. if thebits = 0 then
  12508. pTDefRegMap(@Self)^.clr := $00000040
  12509. else
  12510. pTDefRegMap(@Self)^.&set := $00000040;
  12511. end;
  12512. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  12513. begin
  12514. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12515. end;
  12516. procedure TICAP4_IC4CON.setICSIDL; inline;
  12517. begin
  12518. pTDefRegMap(@Self)^.&set := $00002000;
  12519. end;
  12520. procedure TICAP4_IC4CON.clearICSIDL; inline;
  12521. begin
  12522. pTDefRegMap(@Self)^.clr := $00002000;
  12523. end;
  12524. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  12525. begin
  12526. if thebits = 0 then
  12527. pTDefRegMap(@Self)^.clr := $00002000
  12528. else
  12529. pTDefRegMap(@Self)^.&set := $00002000;
  12530. end;
  12531. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  12532. begin
  12533. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12534. end;
  12535. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  12536. begin
  12537. pTDefRegMap(@Self)^.val := thebits;
  12538. end;
  12539. function TICAP4_IC4CON.getw : TBits_32; inline;
  12540. begin
  12541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12542. end;
  12543. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  12544. begin
  12545. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12546. end;
  12547. function TICAP5_IC5CON.getICM : TBits_3; inline;
  12548. begin
  12549. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12550. end;
  12551. procedure TICAP5_IC5CON.setICBNE; inline;
  12552. begin
  12553. pTDefRegMap(@Self)^.&set := $00000008;
  12554. end;
  12555. procedure TICAP5_IC5CON.clearICBNE; inline;
  12556. begin
  12557. pTDefRegMap(@Self)^.clr := $00000008;
  12558. end;
  12559. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  12560. begin
  12561. if thebits = 0 then
  12562. pTDefRegMap(@Self)^.clr := $00000008
  12563. else
  12564. pTDefRegMap(@Self)^.&set := $00000008;
  12565. end;
  12566. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  12567. begin
  12568. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12569. end;
  12570. procedure TICAP5_IC5CON.setICOV; inline;
  12571. begin
  12572. pTDefRegMap(@Self)^.&set := $00000010;
  12573. end;
  12574. procedure TICAP5_IC5CON.clearICOV; inline;
  12575. begin
  12576. pTDefRegMap(@Self)^.clr := $00000010;
  12577. end;
  12578. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  12579. begin
  12580. if thebits = 0 then
  12581. pTDefRegMap(@Self)^.clr := $00000010
  12582. else
  12583. pTDefRegMap(@Self)^.&set := $00000010;
  12584. end;
  12585. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  12586. begin
  12587. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12588. end;
  12589. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  12590. begin
  12591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12592. end;
  12593. function TICAP5_IC5CON.getICI : TBits_2; inline;
  12594. begin
  12595. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12596. end;
  12597. procedure TICAP5_IC5CON.setICTMR; inline;
  12598. begin
  12599. pTDefRegMap(@Self)^.&set := $00000080;
  12600. end;
  12601. procedure TICAP5_IC5CON.clearICTMR; inline;
  12602. begin
  12603. pTDefRegMap(@Self)^.clr := $00000080;
  12604. end;
  12605. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  12606. begin
  12607. if thebits = 0 then
  12608. pTDefRegMap(@Self)^.clr := $00000080
  12609. else
  12610. pTDefRegMap(@Self)^.&set := $00000080;
  12611. end;
  12612. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  12613. begin
  12614. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12615. end;
  12616. procedure TICAP5_IC5CON.setC32; inline;
  12617. begin
  12618. pTDefRegMap(@Self)^.&set := $00000100;
  12619. end;
  12620. procedure TICAP5_IC5CON.clearC32; inline;
  12621. begin
  12622. pTDefRegMap(@Self)^.clr := $00000100;
  12623. end;
  12624. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  12625. begin
  12626. if thebits = 0 then
  12627. pTDefRegMap(@Self)^.clr := $00000100
  12628. else
  12629. pTDefRegMap(@Self)^.&set := $00000100;
  12630. end;
  12631. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  12632. begin
  12633. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12634. end;
  12635. procedure TICAP5_IC5CON.setFEDGE; inline;
  12636. begin
  12637. pTDefRegMap(@Self)^.&set := $00000200;
  12638. end;
  12639. procedure TICAP5_IC5CON.clearFEDGE; inline;
  12640. begin
  12641. pTDefRegMap(@Self)^.clr := $00000200;
  12642. end;
  12643. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  12644. begin
  12645. if thebits = 0 then
  12646. pTDefRegMap(@Self)^.clr := $00000200
  12647. else
  12648. pTDefRegMap(@Self)^.&set := $00000200;
  12649. end;
  12650. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  12651. begin
  12652. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12653. end;
  12654. procedure TICAP5_IC5CON.setSIDL; inline;
  12655. begin
  12656. pTDefRegMap(@Self)^.&set := $00002000;
  12657. end;
  12658. procedure TICAP5_IC5CON.clearSIDL; inline;
  12659. begin
  12660. pTDefRegMap(@Self)^.clr := $00002000;
  12661. end;
  12662. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  12663. begin
  12664. if thebits = 0 then
  12665. pTDefRegMap(@Self)^.clr := $00002000
  12666. else
  12667. pTDefRegMap(@Self)^.&set := $00002000;
  12668. end;
  12669. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  12670. begin
  12671. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12672. end;
  12673. procedure TICAP5_IC5CON.setON; inline;
  12674. begin
  12675. pTDefRegMap(@Self)^.&set := $00008000;
  12676. end;
  12677. procedure TICAP5_IC5CON.clearON; inline;
  12678. begin
  12679. pTDefRegMap(@Self)^.clr := $00008000;
  12680. end;
  12681. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  12682. begin
  12683. if thebits = 0 then
  12684. pTDefRegMap(@Self)^.clr := $00008000
  12685. else
  12686. pTDefRegMap(@Self)^.&set := $00008000;
  12687. end;
  12688. function TICAP5_IC5CON.getON : TBits_1; inline;
  12689. begin
  12690. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12691. end;
  12692. procedure TICAP5_IC5CON.setICM0; inline;
  12693. begin
  12694. pTDefRegMap(@Self)^.&set := $00000001;
  12695. end;
  12696. procedure TICAP5_IC5CON.clearICM0; inline;
  12697. begin
  12698. pTDefRegMap(@Self)^.clr := $00000001;
  12699. end;
  12700. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  12701. begin
  12702. if thebits = 0 then
  12703. pTDefRegMap(@Self)^.clr := $00000001
  12704. else
  12705. pTDefRegMap(@Self)^.&set := $00000001;
  12706. end;
  12707. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  12708. begin
  12709. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12710. end;
  12711. procedure TICAP5_IC5CON.setICM1; inline;
  12712. begin
  12713. pTDefRegMap(@Self)^.&set := $00000002;
  12714. end;
  12715. procedure TICAP5_IC5CON.clearICM1; inline;
  12716. begin
  12717. pTDefRegMap(@Self)^.clr := $00000002;
  12718. end;
  12719. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  12720. begin
  12721. if thebits = 0 then
  12722. pTDefRegMap(@Self)^.clr := $00000002
  12723. else
  12724. pTDefRegMap(@Self)^.&set := $00000002;
  12725. end;
  12726. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  12727. begin
  12728. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12729. end;
  12730. procedure TICAP5_IC5CON.setICM2; inline;
  12731. begin
  12732. pTDefRegMap(@Self)^.&set := $00000004;
  12733. end;
  12734. procedure TICAP5_IC5CON.clearICM2; inline;
  12735. begin
  12736. pTDefRegMap(@Self)^.clr := $00000004;
  12737. end;
  12738. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  12739. begin
  12740. if thebits = 0 then
  12741. pTDefRegMap(@Self)^.clr := $00000004
  12742. else
  12743. pTDefRegMap(@Self)^.&set := $00000004;
  12744. end;
  12745. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  12746. begin
  12747. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12748. end;
  12749. procedure TICAP5_IC5CON.setICI0; inline;
  12750. begin
  12751. pTDefRegMap(@Self)^.&set := $00000020;
  12752. end;
  12753. procedure TICAP5_IC5CON.clearICI0; inline;
  12754. begin
  12755. pTDefRegMap(@Self)^.clr := $00000020;
  12756. end;
  12757. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  12758. begin
  12759. if thebits = 0 then
  12760. pTDefRegMap(@Self)^.clr := $00000020
  12761. else
  12762. pTDefRegMap(@Self)^.&set := $00000020;
  12763. end;
  12764. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  12765. begin
  12766. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12767. end;
  12768. procedure TICAP5_IC5CON.setICI1; inline;
  12769. begin
  12770. pTDefRegMap(@Self)^.&set := $00000040;
  12771. end;
  12772. procedure TICAP5_IC5CON.clearICI1; inline;
  12773. begin
  12774. pTDefRegMap(@Self)^.clr := $00000040;
  12775. end;
  12776. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  12777. begin
  12778. if thebits = 0 then
  12779. pTDefRegMap(@Self)^.clr := $00000040
  12780. else
  12781. pTDefRegMap(@Self)^.&set := $00000040;
  12782. end;
  12783. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  12784. begin
  12785. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12786. end;
  12787. procedure TICAP5_IC5CON.setICSIDL; inline;
  12788. begin
  12789. pTDefRegMap(@Self)^.&set := $00002000;
  12790. end;
  12791. procedure TICAP5_IC5CON.clearICSIDL; inline;
  12792. begin
  12793. pTDefRegMap(@Self)^.clr := $00002000;
  12794. end;
  12795. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  12796. begin
  12797. if thebits = 0 then
  12798. pTDefRegMap(@Self)^.clr := $00002000
  12799. else
  12800. pTDefRegMap(@Self)^.&set := $00002000;
  12801. end;
  12802. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  12803. begin
  12804. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12805. end;
  12806. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  12807. begin
  12808. pTDefRegMap(@Self)^.val := thebits;
  12809. end;
  12810. function TICAP5_IC5CON.getw : TBits_32; inline;
  12811. begin
  12812. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12813. end;
  12814. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  12815. begin
  12816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12817. end;
  12818. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  12819. begin
  12820. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12821. end;
  12822. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  12823. begin
  12824. pTDefRegMap(@Self)^.&set := $00000008;
  12825. end;
  12826. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  12827. begin
  12828. pTDefRegMap(@Self)^.clr := $00000008;
  12829. end;
  12830. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  12831. begin
  12832. if thebits = 0 then
  12833. pTDefRegMap(@Self)^.clr := $00000008
  12834. else
  12835. pTDefRegMap(@Self)^.&set := $00000008;
  12836. end;
  12837. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  12838. begin
  12839. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12840. end;
  12841. procedure TOCMP1_OC1CON.setOCFLT; inline;
  12842. begin
  12843. pTDefRegMap(@Self)^.&set := $00000010;
  12844. end;
  12845. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  12846. begin
  12847. pTDefRegMap(@Self)^.clr := $00000010;
  12848. end;
  12849. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  12850. begin
  12851. if thebits = 0 then
  12852. pTDefRegMap(@Self)^.clr := $00000010
  12853. else
  12854. pTDefRegMap(@Self)^.&set := $00000010;
  12855. end;
  12856. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  12857. begin
  12858. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12859. end;
  12860. procedure TOCMP1_OC1CON.setOC32; inline;
  12861. begin
  12862. pTDefRegMap(@Self)^.&set := $00000020;
  12863. end;
  12864. procedure TOCMP1_OC1CON.clearOC32; inline;
  12865. begin
  12866. pTDefRegMap(@Self)^.clr := $00000020;
  12867. end;
  12868. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  12869. begin
  12870. if thebits = 0 then
  12871. pTDefRegMap(@Self)^.clr := $00000020
  12872. else
  12873. pTDefRegMap(@Self)^.&set := $00000020;
  12874. end;
  12875. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  12876. begin
  12877. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12878. end;
  12879. procedure TOCMP1_OC1CON.setSIDL; inline;
  12880. begin
  12881. pTDefRegMap(@Self)^.&set := $00002000;
  12882. end;
  12883. procedure TOCMP1_OC1CON.clearSIDL; inline;
  12884. begin
  12885. pTDefRegMap(@Self)^.clr := $00002000;
  12886. end;
  12887. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  12888. begin
  12889. if thebits = 0 then
  12890. pTDefRegMap(@Self)^.clr := $00002000
  12891. else
  12892. pTDefRegMap(@Self)^.&set := $00002000;
  12893. end;
  12894. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  12895. begin
  12896. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12897. end;
  12898. procedure TOCMP1_OC1CON.setON; inline;
  12899. begin
  12900. pTDefRegMap(@Self)^.&set := $00008000;
  12901. end;
  12902. procedure TOCMP1_OC1CON.clearON; inline;
  12903. begin
  12904. pTDefRegMap(@Self)^.clr := $00008000;
  12905. end;
  12906. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  12907. begin
  12908. if thebits = 0 then
  12909. pTDefRegMap(@Self)^.clr := $00008000
  12910. else
  12911. pTDefRegMap(@Self)^.&set := $00008000;
  12912. end;
  12913. function TOCMP1_OC1CON.getON : TBits_1; inline;
  12914. begin
  12915. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12916. end;
  12917. procedure TOCMP1_OC1CON.setOCM0; inline;
  12918. begin
  12919. pTDefRegMap(@Self)^.&set := $00000001;
  12920. end;
  12921. procedure TOCMP1_OC1CON.clearOCM0; inline;
  12922. begin
  12923. pTDefRegMap(@Self)^.clr := $00000001;
  12924. end;
  12925. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  12926. begin
  12927. if thebits = 0 then
  12928. pTDefRegMap(@Self)^.clr := $00000001
  12929. else
  12930. pTDefRegMap(@Self)^.&set := $00000001;
  12931. end;
  12932. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  12933. begin
  12934. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12935. end;
  12936. procedure TOCMP1_OC1CON.setOCM1; inline;
  12937. begin
  12938. pTDefRegMap(@Self)^.&set := $00000002;
  12939. end;
  12940. procedure TOCMP1_OC1CON.clearOCM1; inline;
  12941. begin
  12942. pTDefRegMap(@Self)^.clr := $00000002;
  12943. end;
  12944. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  12945. begin
  12946. if thebits = 0 then
  12947. pTDefRegMap(@Self)^.clr := $00000002
  12948. else
  12949. pTDefRegMap(@Self)^.&set := $00000002;
  12950. end;
  12951. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  12952. begin
  12953. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12954. end;
  12955. procedure TOCMP1_OC1CON.setOCM2; inline;
  12956. begin
  12957. pTDefRegMap(@Self)^.&set := $00000004;
  12958. end;
  12959. procedure TOCMP1_OC1CON.clearOCM2; inline;
  12960. begin
  12961. pTDefRegMap(@Self)^.clr := $00000004;
  12962. end;
  12963. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  12964. begin
  12965. if thebits = 0 then
  12966. pTDefRegMap(@Self)^.clr := $00000004
  12967. else
  12968. pTDefRegMap(@Self)^.&set := $00000004;
  12969. end;
  12970. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  12971. begin
  12972. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12973. end;
  12974. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  12975. begin
  12976. pTDefRegMap(@Self)^.&set := $00002000;
  12977. end;
  12978. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  12979. begin
  12980. pTDefRegMap(@Self)^.clr := $00002000;
  12981. end;
  12982. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  12983. begin
  12984. if thebits = 0 then
  12985. pTDefRegMap(@Self)^.clr := $00002000
  12986. else
  12987. pTDefRegMap(@Self)^.&set := $00002000;
  12988. end;
  12989. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  12990. begin
  12991. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12992. end;
  12993. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  12994. begin
  12995. pTDefRegMap(@Self)^.val := thebits;
  12996. end;
  12997. function TOCMP1_OC1CON.getw : TBits_32; inline;
  12998. begin
  12999. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13000. end;
  13001. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13002. begin
  13003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13004. end;
  13005. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13006. begin
  13007. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13008. end;
  13009. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13010. begin
  13011. pTDefRegMap(@Self)^.&set := $00000008;
  13012. end;
  13013. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13014. begin
  13015. pTDefRegMap(@Self)^.clr := $00000008;
  13016. end;
  13017. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13018. begin
  13019. if thebits = 0 then
  13020. pTDefRegMap(@Self)^.clr := $00000008
  13021. else
  13022. pTDefRegMap(@Self)^.&set := $00000008;
  13023. end;
  13024. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13025. begin
  13026. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13027. end;
  13028. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13029. begin
  13030. pTDefRegMap(@Self)^.&set := $00000010;
  13031. end;
  13032. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13033. begin
  13034. pTDefRegMap(@Self)^.clr := $00000010;
  13035. end;
  13036. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13037. begin
  13038. if thebits = 0 then
  13039. pTDefRegMap(@Self)^.clr := $00000010
  13040. else
  13041. pTDefRegMap(@Self)^.&set := $00000010;
  13042. end;
  13043. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13044. begin
  13045. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13046. end;
  13047. procedure TOCMP2_OC2CON.setOC32; inline;
  13048. begin
  13049. pTDefRegMap(@Self)^.&set := $00000020;
  13050. end;
  13051. procedure TOCMP2_OC2CON.clearOC32; inline;
  13052. begin
  13053. pTDefRegMap(@Self)^.clr := $00000020;
  13054. end;
  13055. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13056. begin
  13057. if thebits = 0 then
  13058. pTDefRegMap(@Self)^.clr := $00000020
  13059. else
  13060. pTDefRegMap(@Self)^.&set := $00000020;
  13061. end;
  13062. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13063. begin
  13064. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13065. end;
  13066. procedure TOCMP2_OC2CON.setSIDL; inline;
  13067. begin
  13068. pTDefRegMap(@Self)^.&set := $00002000;
  13069. end;
  13070. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13071. begin
  13072. pTDefRegMap(@Self)^.clr := $00002000;
  13073. end;
  13074. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13075. begin
  13076. if thebits = 0 then
  13077. pTDefRegMap(@Self)^.clr := $00002000
  13078. else
  13079. pTDefRegMap(@Self)^.&set := $00002000;
  13080. end;
  13081. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13082. begin
  13083. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13084. end;
  13085. procedure TOCMP2_OC2CON.setON; inline;
  13086. begin
  13087. pTDefRegMap(@Self)^.&set := $00008000;
  13088. end;
  13089. procedure TOCMP2_OC2CON.clearON; inline;
  13090. begin
  13091. pTDefRegMap(@Self)^.clr := $00008000;
  13092. end;
  13093. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13094. begin
  13095. if thebits = 0 then
  13096. pTDefRegMap(@Self)^.clr := $00008000
  13097. else
  13098. pTDefRegMap(@Self)^.&set := $00008000;
  13099. end;
  13100. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13101. begin
  13102. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13103. end;
  13104. procedure TOCMP2_OC2CON.setOCM0; inline;
  13105. begin
  13106. pTDefRegMap(@Self)^.&set := $00000001;
  13107. end;
  13108. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13109. begin
  13110. pTDefRegMap(@Self)^.clr := $00000001;
  13111. end;
  13112. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13113. begin
  13114. if thebits = 0 then
  13115. pTDefRegMap(@Self)^.clr := $00000001
  13116. else
  13117. pTDefRegMap(@Self)^.&set := $00000001;
  13118. end;
  13119. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13120. begin
  13121. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13122. end;
  13123. procedure TOCMP2_OC2CON.setOCM1; inline;
  13124. begin
  13125. pTDefRegMap(@Self)^.&set := $00000002;
  13126. end;
  13127. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13128. begin
  13129. pTDefRegMap(@Self)^.clr := $00000002;
  13130. end;
  13131. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13132. begin
  13133. if thebits = 0 then
  13134. pTDefRegMap(@Self)^.clr := $00000002
  13135. else
  13136. pTDefRegMap(@Self)^.&set := $00000002;
  13137. end;
  13138. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13139. begin
  13140. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13141. end;
  13142. procedure TOCMP2_OC2CON.setOCM2; inline;
  13143. begin
  13144. pTDefRegMap(@Self)^.&set := $00000004;
  13145. end;
  13146. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13147. begin
  13148. pTDefRegMap(@Self)^.clr := $00000004;
  13149. end;
  13150. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13151. begin
  13152. if thebits = 0 then
  13153. pTDefRegMap(@Self)^.clr := $00000004
  13154. else
  13155. pTDefRegMap(@Self)^.&set := $00000004;
  13156. end;
  13157. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13158. begin
  13159. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13160. end;
  13161. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13162. begin
  13163. pTDefRegMap(@Self)^.&set := $00002000;
  13164. end;
  13165. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13166. begin
  13167. pTDefRegMap(@Self)^.clr := $00002000;
  13168. end;
  13169. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13170. begin
  13171. if thebits = 0 then
  13172. pTDefRegMap(@Self)^.clr := $00002000
  13173. else
  13174. pTDefRegMap(@Self)^.&set := $00002000;
  13175. end;
  13176. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13177. begin
  13178. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13179. end;
  13180. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13181. begin
  13182. pTDefRegMap(@Self)^.val := thebits;
  13183. end;
  13184. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13185. begin
  13186. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13187. end;
  13188. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13189. begin
  13190. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13191. end;
  13192. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13193. begin
  13194. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13195. end;
  13196. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13197. begin
  13198. pTDefRegMap(@Self)^.&set := $00000008;
  13199. end;
  13200. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13201. begin
  13202. pTDefRegMap(@Self)^.clr := $00000008;
  13203. end;
  13204. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13205. begin
  13206. if thebits = 0 then
  13207. pTDefRegMap(@Self)^.clr := $00000008
  13208. else
  13209. pTDefRegMap(@Self)^.&set := $00000008;
  13210. end;
  13211. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13212. begin
  13213. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13214. end;
  13215. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13216. begin
  13217. pTDefRegMap(@Self)^.&set := $00000010;
  13218. end;
  13219. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13220. begin
  13221. pTDefRegMap(@Self)^.clr := $00000010;
  13222. end;
  13223. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13224. begin
  13225. if thebits = 0 then
  13226. pTDefRegMap(@Self)^.clr := $00000010
  13227. else
  13228. pTDefRegMap(@Self)^.&set := $00000010;
  13229. end;
  13230. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13231. begin
  13232. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13233. end;
  13234. procedure TOCMP3_OC3CON.setOC32; inline;
  13235. begin
  13236. pTDefRegMap(@Self)^.&set := $00000020;
  13237. end;
  13238. procedure TOCMP3_OC3CON.clearOC32; inline;
  13239. begin
  13240. pTDefRegMap(@Self)^.clr := $00000020;
  13241. end;
  13242. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13243. begin
  13244. if thebits = 0 then
  13245. pTDefRegMap(@Self)^.clr := $00000020
  13246. else
  13247. pTDefRegMap(@Self)^.&set := $00000020;
  13248. end;
  13249. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13250. begin
  13251. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13252. end;
  13253. procedure TOCMP3_OC3CON.setSIDL; inline;
  13254. begin
  13255. pTDefRegMap(@Self)^.&set := $00002000;
  13256. end;
  13257. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13258. begin
  13259. pTDefRegMap(@Self)^.clr := $00002000;
  13260. end;
  13261. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13262. begin
  13263. if thebits = 0 then
  13264. pTDefRegMap(@Self)^.clr := $00002000
  13265. else
  13266. pTDefRegMap(@Self)^.&set := $00002000;
  13267. end;
  13268. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13269. begin
  13270. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13271. end;
  13272. procedure TOCMP3_OC3CON.setON; inline;
  13273. begin
  13274. pTDefRegMap(@Self)^.&set := $00008000;
  13275. end;
  13276. procedure TOCMP3_OC3CON.clearON; inline;
  13277. begin
  13278. pTDefRegMap(@Self)^.clr := $00008000;
  13279. end;
  13280. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13281. begin
  13282. if thebits = 0 then
  13283. pTDefRegMap(@Self)^.clr := $00008000
  13284. else
  13285. pTDefRegMap(@Self)^.&set := $00008000;
  13286. end;
  13287. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13288. begin
  13289. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13290. end;
  13291. procedure TOCMP3_OC3CON.setOCM0; inline;
  13292. begin
  13293. pTDefRegMap(@Self)^.&set := $00000001;
  13294. end;
  13295. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13296. begin
  13297. pTDefRegMap(@Self)^.clr := $00000001;
  13298. end;
  13299. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13300. begin
  13301. if thebits = 0 then
  13302. pTDefRegMap(@Self)^.clr := $00000001
  13303. else
  13304. pTDefRegMap(@Self)^.&set := $00000001;
  13305. end;
  13306. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13307. begin
  13308. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13309. end;
  13310. procedure TOCMP3_OC3CON.setOCM1; inline;
  13311. begin
  13312. pTDefRegMap(@Self)^.&set := $00000002;
  13313. end;
  13314. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13315. begin
  13316. pTDefRegMap(@Self)^.clr := $00000002;
  13317. end;
  13318. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13319. begin
  13320. if thebits = 0 then
  13321. pTDefRegMap(@Self)^.clr := $00000002
  13322. else
  13323. pTDefRegMap(@Self)^.&set := $00000002;
  13324. end;
  13325. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13326. begin
  13327. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13328. end;
  13329. procedure TOCMP3_OC3CON.setOCM2; inline;
  13330. begin
  13331. pTDefRegMap(@Self)^.&set := $00000004;
  13332. end;
  13333. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13334. begin
  13335. pTDefRegMap(@Self)^.clr := $00000004;
  13336. end;
  13337. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13338. begin
  13339. if thebits = 0 then
  13340. pTDefRegMap(@Self)^.clr := $00000004
  13341. else
  13342. pTDefRegMap(@Self)^.&set := $00000004;
  13343. end;
  13344. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13345. begin
  13346. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13347. end;
  13348. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13349. begin
  13350. pTDefRegMap(@Self)^.&set := $00002000;
  13351. end;
  13352. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13353. begin
  13354. pTDefRegMap(@Self)^.clr := $00002000;
  13355. end;
  13356. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13357. begin
  13358. if thebits = 0 then
  13359. pTDefRegMap(@Self)^.clr := $00002000
  13360. else
  13361. pTDefRegMap(@Self)^.&set := $00002000;
  13362. end;
  13363. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13364. begin
  13365. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13366. end;
  13367. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  13368. begin
  13369. pTDefRegMap(@Self)^.val := thebits;
  13370. end;
  13371. function TOCMP3_OC3CON.getw : TBits_32; inline;
  13372. begin
  13373. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13374. end;
  13375. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  13376. begin
  13377. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13378. end;
  13379. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  13380. begin
  13381. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13382. end;
  13383. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  13384. begin
  13385. pTDefRegMap(@Self)^.&set := $00000008;
  13386. end;
  13387. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  13388. begin
  13389. pTDefRegMap(@Self)^.clr := $00000008;
  13390. end;
  13391. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  13392. begin
  13393. if thebits = 0 then
  13394. pTDefRegMap(@Self)^.clr := $00000008
  13395. else
  13396. pTDefRegMap(@Self)^.&set := $00000008;
  13397. end;
  13398. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  13399. begin
  13400. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13401. end;
  13402. procedure TOCMP4_OC4CON.setOCFLT; inline;
  13403. begin
  13404. pTDefRegMap(@Self)^.&set := $00000010;
  13405. end;
  13406. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  13407. begin
  13408. pTDefRegMap(@Self)^.clr := $00000010;
  13409. end;
  13410. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  13411. begin
  13412. if thebits = 0 then
  13413. pTDefRegMap(@Self)^.clr := $00000010
  13414. else
  13415. pTDefRegMap(@Self)^.&set := $00000010;
  13416. end;
  13417. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  13418. begin
  13419. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13420. end;
  13421. procedure TOCMP4_OC4CON.setOC32; inline;
  13422. begin
  13423. pTDefRegMap(@Self)^.&set := $00000020;
  13424. end;
  13425. procedure TOCMP4_OC4CON.clearOC32; inline;
  13426. begin
  13427. pTDefRegMap(@Self)^.clr := $00000020;
  13428. end;
  13429. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  13430. begin
  13431. if thebits = 0 then
  13432. pTDefRegMap(@Self)^.clr := $00000020
  13433. else
  13434. pTDefRegMap(@Self)^.&set := $00000020;
  13435. end;
  13436. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  13437. begin
  13438. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13439. end;
  13440. procedure TOCMP4_OC4CON.setSIDL; inline;
  13441. begin
  13442. pTDefRegMap(@Self)^.&set := $00002000;
  13443. end;
  13444. procedure TOCMP4_OC4CON.clearSIDL; inline;
  13445. begin
  13446. pTDefRegMap(@Self)^.clr := $00002000;
  13447. end;
  13448. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  13449. begin
  13450. if thebits = 0 then
  13451. pTDefRegMap(@Self)^.clr := $00002000
  13452. else
  13453. pTDefRegMap(@Self)^.&set := $00002000;
  13454. end;
  13455. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  13456. begin
  13457. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13458. end;
  13459. procedure TOCMP4_OC4CON.setON; inline;
  13460. begin
  13461. pTDefRegMap(@Self)^.&set := $00008000;
  13462. end;
  13463. procedure TOCMP4_OC4CON.clearON; inline;
  13464. begin
  13465. pTDefRegMap(@Self)^.clr := $00008000;
  13466. end;
  13467. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  13468. begin
  13469. if thebits = 0 then
  13470. pTDefRegMap(@Self)^.clr := $00008000
  13471. else
  13472. pTDefRegMap(@Self)^.&set := $00008000;
  13473. end;
  13474. function TOCMP4_OC4CON.getON : TBits_1; inline;
  13475. begin
  13476. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13477. end;
  13478. procedure TOCMP4_OC4CON.setOCM0; inline;
  13479. begin
  13480. pTDefRegMap(@Self)^.&set := $00000001;
  13481. end;
  13482. procedure TOCMP4_OC4CON.clearOCM0; inline;
  13483. begin
  13484. pTDefRegMap(@Self)^.clr := $00000001;
  13485. end;
  13486. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  13487. begin
  13488. if thebits = 0 then
  13489. pTDefRegMap(@Self)^.clr := $00000001
  13490. else
  13491. pTDefRegMap(@Self)^.&set := $00000001;
  13492. end;
  13493. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  13494. begin
  13495. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13496. end;
  13497. procedure TOCMP4_OC4CON.setOCM1; inline;
  13498. begin
  13499. pTDefRegMap(@Self)^.&set := $00000002;
  13500. end;
  13501. procedure TOCMP4_OC4CON.clearOCM1; inline;
  13502. begin
  13503. pTDefRegMap(@Self)^.clr := $00000002;
  13504. end;
  13505. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  13506. begin
  13507. if thebits = 0 then
  13508. pTDefRegMap(@Self)^.clr := $00000002
  13509. else
  13510. pTDefRegMap(@Self)^.&set := $00000002;
  13511. end;
  13512. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  13513. begin
  13514. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13515. end;
  13516. procedure TOCMP4_OC4CON.setOCM2; inline;
  13517. begin
  13518. pTDefRegMap(@Self)^.&set := $00000004;
  13519. end;
  13520. procedure TOCMP4_OC4CON.clearOCM2; inline;
  13521. begin
  13522. pTDefRegMap(@Self)^.clr := $00000004;
  13523. end;
  13524. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  13525. begin
  13526. if thebits = 0 then
  13527. pTDefRegMap(@Self)^.clr := $00000004
  13528. else
  13529. pTDefRegMap(@Self)^.&set := $00000004;
  13530. end;
  13531. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  13532. begin
  13533. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13534. end;
  13535. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  13536. begin
  13537. pTDefRegMap(@Self)^.&set := $00002000;
  13538. end;
  13539. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  13540. begin
  13541. pTDefRegMap(@Self)^.clr := $00002000;
  13542. end;
  13543. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  13544. begin
  13545. if thebits = 0 then
  13546. pTDefRegMap(@Self)^.clr := $00002000
  13547. else
  13548. pTDefRegMap(@Self)^.&set := $00002000;
  13549. end;
  13550. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  13551. begin
  13552. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13553. end;
  13554. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  13555. begin
  13556. pTDefRegMap(@Self)^.val := thebits;
  13557. end;
  13558. function TOCMP4_OC4CON.getw : TBits_32; inline;
  13559. begin
  13560. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13561. end;
  13562. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  13563. begin
  13564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13565. end;
  13566. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  13567. begin
  13568. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13569. end;
  13570. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  13571. begin
  13572. pTDefRegMap(@Self)^.&set := $00000008;
  13573. end;
  13574. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  13575. begin
  13576. pTDefRegMap(@Self)^.clr := $00000008;
  13577. end;
  13578. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  13579. begin
  13580. if thebits = 0 then
  13581. pTDefRegMap(@Self)^.clr := $00000008
  13582. else
  13583. pTDefRegMap(@Self)^.&set := $00000008;
  13584. end;
  13585. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  13586. begin
  13587. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13588. end;
  13589. procedure TOCMP5_OC5CON.setOCFLT; inline;
  13590. begin
  13591. pTDefRegMap(@Self)^.&set := $00000010;
  13592. end;
  13593. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  13594. begin
  13595. pTDefRegMap(@Self)^.clr := $00000010;
  13596. end;
  13597. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  13598. begin
  13599. if thebits = 0 then
  13600. pTDefRegMap(@Self)^.clr := $00000010
  13601. else
  13602. pTDefRegMap(@Self)^.&set := $00000010;
  13603. end;
  13604. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  13605. begin
  13606. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13607. end;
  13608. procedure TOCMP5_OC5CON.setOC32; inline;
  13609. begin
  13610. pTDefRegMap(@Self)^.&set := $00000020;
  13611. end;
  13612. procedure TOCMP5_OC5CON.clearOC32; inline;
  13613. begin
  13614. pTDefRegMap(@Self)^.clr := $00000020;
  13615. end;
  13616. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  13617. begin
  13618. if thebits = 0 then
  13619. pTDefRegMap(@Self)^.clr := $00000020
  13620. else
  13621. pTDefRegMap(@Self)^.&set := $00000020;
  13622. end;
  13623. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  13624. begin
  13625. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13626. end;
  13627. procedure TOCMP5_OC5CON.setSIDL; inline;
  13628. begin
  13629. pTDefRegMap(@Self)^.&set := $00002000;
  13630. end;
  13631. procedure TOCMP5_OC5CON.clearSIDL; inline;
  13632. begin
  13633. pTDefRegMap(@Self)^.clr := $00002000;
  13634. end;
  13635. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  13636. begin
  13637. if thebits = 0 then
  13638. pTDefRegMap(@Self)^.clr := $00002000
  13639. else
  13640. pTDefRegMap(@Self)^.&set := $00002000;
  13641. end;
  13642. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  13643. begin
  13644. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13645. end;
  13646. procedure TOCMP5_OC5CON.setON; inline;
  13647. begin
  13648. pTDefRegMap(@Self)^.&set := $00008000;
  13649. end;
  13650. procedure TOCMP5_OC5CON.clearON; inline;
  13651. begin
  13652. pTDefRegMap(@Self)^.clr := $00008000;
  13653. end;
  13654. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  13655. begin
  13656. if thebits = 0 then
  13657. pTDefRegMap(@Self)^.clr := $00008000
  13658. else
  13659. pTDefRegMap(@Self)^.&set := $00008000;
  13660. end;
  13661. function TOCMP5_OC5CON.getON : TBits_1; inline;
  13662. begin
  13663. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13664. end;
  13665. procedure TOCMP5_OC5CON.setOCM0; inline;
  13666. begin
  13667. pTDefRegMap(@Self)^.&set := $00000001;
  13668. end;
  13669. procedure TOCMP5_OC5CON.clearOCM0; inline;
  13670. begin
  13671. pTDefRegMap(@Self)^.clr := $00000001;
  13672. end;
  13673. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  13674. begin
  13675. if thebits = 0 then
  13676. pTDefRegMap(@Self)^.clr := $00000001
  13677. else
  13678. pTDefRegMap(@Self)^.&set := $00000001;
  13679. end;
  13680. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  13681. begin
  13682. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13683. end;
  13684. procedure TOCMP5_OC5CON.setOCM1; inline;
  13685. begin
  13686. pTDefRegMap(@Self)^.&set := $00000002;
  13687. end;
  13688. procedure TOCMP5_OC5CON.clearOCM1; inline;
  13689. begin
  13690. pTDefRegMap(@Self)^.clr := $00000002;
  13691. end;
  13692. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  13693. begin
  13694. if thebits = 0 then
  13695. pTDefRegMap(@Self)^.clr := $00000002
  13696. else
  13697. pTDefRegMap(@Self)^.&set := $00000002;
  13698. end;
  13699. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  13700. begin
  13701. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13702. end;
  13703. procedure TOCMP5_OC5CON.setOCM2; inline;
  13704. begin
  13705. pTDefRegMap(@Self)^.&set := $00000004;
  13706. end;
  13707. procedure TOCMP5_OC5CON.clearOCM2; inline;
  13708. begin
  13709. pTDefRegMap(@Self)^.clr := $00000004;
  13710. end;
  13711. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  13712. begin
  13713. if thebits = 0 then
  13714. pTDefRegMap(@Self)^.clr := $00000004
  13715. else
  13716. pTDefRegMap(@Self)^.&set := $00000004;
  13717. end;
  13718. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  13719. begin
  13720. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13721. end;
  13722. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  13723. begin
  13724. pTDefRegMap(@Self)^.&set := $00002000;
  13725. end;
  13726. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  13727. begin
  13728. pTDefRegMap(@Self)^.clr := $00002000;
  13729. end;
  13730. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  13731. begin
  13732. if thebits = 0 then
  13733. pTDefRegMap(@Self)^.clr := $00002000
  13734. else
  13735. pTDefRegMap(@Self)^.&set := $00002000;
  13736. end;
  13737. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  13738. begin
  13739. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13740. end;
  13741. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  13742. begin
  13743. pTDefRegMap(@Self)^.val := thebits;
  13744. end;
  13745. function TOCMP5_OC5CON.getw : TBits_32; inline;
  13746. begin
  13747. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13748. end;
  13749. procedure TI2C1_I2C1ACON.setSEN; inline;
  13750. begin
  13751. pTDefRegMap(@Self)^.&set := $00000001;
  13752. end;
  13753. procedure TI2C1_I2C1ACON.clearSEN; inline;
  13754. begin
  13755. pTDefRegMap(@Self)^.clr := $00000001;
  13756. end;
  13757. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  13758. begin
  13759. if thebits = 0 then
  13760. pTDefRegMap(@Self)^.clr := $00000001
  13761. else
  13762. pTDefRegMap(@Self)^.&set := $00000001;
  13763. end;
  13764. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  13765. begin
  13766. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13767. end;
  13768. procedure TI2C1_I2C1ACON.setRSEN; inline;
  13769. begin
  13770. pTDefRegMap(@Self)^.&set := $00000002;
  13771. end;
  13772. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  13773. begin
  13774. pTDefRegMap(@Self)^.clr := $00000002;
  13775. end;
  13776. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  13777. begin
  13778. if thebits = 0 then
  13779. pTDefRegMap(@Self)^.clr := $00000002
  13780. else
  13781. pTDefRegMap(@Self)^.&set := $00000002;
  13782. end;
  13783. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  13784. begin
  13785. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13786. end;
  13787. procedure TI2C1_I2C1ACON.setPEN; inline;
  13788. begin
  13789. pTDefRegMap(@Self)^.&set := $00000004;
  13790. end;
  13791. procedure TI2C1_I2C1ACON.clearPEN; inline;
  13792. begin
  13793. pTDefRegMap(@Self)^.clr := $00000004;
  13794. end;
  13795. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  13796. begin
  13797. if thebits = 0 then
  13798. pTDefRegMap(@Self)^.clr := $00000004
  13799. else
  13800. pTDefRegMap(@Self)^.&set := $00000004;
  13801. end;
  13802. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  13803. begin
  13804. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13805. end;
  13806. procedure TI2C1_I2C1ACON.setRCEN; inline;
  13807. begin
  13808. pTDefRegMap(@Self)^.&set := $00000008;
  13809. end;
  13810. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  13811. begin
  13812. pTDefRegMap(@Self)^.clr := $00000008;
  13813. end;
  13814. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  13815. begin
  13816. if thebits = 0 then
  13817. pTDefRegMap(@Self)^.clr := $00000008
  13818. else
  13819. pTDefRegMap(@Self)^.&set := $00000008;
  13820. end;
  13821. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  13822. begin
  13823. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13824. end;
  13825. procedure TI2C1_I2C1ACON.setACKEN; inline;
  13826. begin
  13827. pTDefRegMap(@Self)^.&set := $00000010;
  13828. end;
  13829. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  13830. begin
  13831. pTDefRegMap(@Self)^.clr := $00000010;
  13832. end;
  13833. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  13834. begin
  13835. if thebits = 0 then
  13836. pTDefRegMap(@Self)^.clr := $00000010
  13837. else
  13838. pTDefRegMap(@Self)^.&set := $00000010;
  13839. end;
  13840. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  13841. begin
  13842. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13843. end;
  13844. procedure TI2C1_I2C1ACON.setACKDT; inline;
  13845. begin
  13846. pTDefRegMap(@Self)^.&set := $00000020;
  13847. end;
  13848. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  13849. begin
  13850. pTDefRegMap(@Self)^.clr := $00000020;
  13851. end;
  13852. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  13853. begin
  13854. if thebits = 0 then
  13855. pTDefRegMap(@Self)^.clr := $00000020
  13856. else
  13857. pTDefRegMap(@Self)^.&set := $00000020;
  13858. end;
  13859. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  13860. begin
  13861. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13862. end;
  13863. procedure TI2C1_I2C1ACON.setSTREN; inline;
  13864. begin
  13865. pTDefRegMap(@Self)^.&set := $00000040;
  13866. end;
  13867. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  13868. begin
  13869. pTDefRegMap(@Self)^.clr := $00000040;
  13870. end;
  13871. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  13872. begin
  13873. if thebits = 0 then
  13874. pTDefRegMap(@Self)^.clr := $00000040
  13875. else
  13876. pTDefRegMap(@Self)^.&set := $00000040;
  13877. end;
  13878. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  13879. begin
  13880. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13881. end;
  13882. procedure TI2C1_I2C1ACON.setGCEN; inline;
  13883. begin
  13884. pTDefRegMap(@Self)^.&set := $00000080;
  13885. end;
  13886. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  13887. begin
  13888. pTDefRegMap(@Self)^.clr := $00000080;
  13889. end;
  13890. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  13891. begin
  13892. if thebits = 0 then
  13893. pTDefRegMap(@Self)^.clr := $00000080
  13894. else
  13895. pTDefRegMap(@Self)^.&set := $00000080;
  13896. end;
  13897. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  13898. begin
  13899. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13900. end;
  13901. procedure TI2C1_I2C1ACON.setSMEN; inline;
  13902. begin
  13903. pTDefRegMap(@Self)^.&set := $00000100;
  13904. end;
  13905. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  13906. begin
  13907. pTDefRegMap(@Self)^.clr := $00000100;
  13908. end;
  13909. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  13910. begin
  13911. if thebits = 0 then
  13912. pTDefRegMap(@Self)^.clr := $00000100
  13913. else
  13914. pTDefRegMap(@Self)^.&set := $00000100;
  13915. end;
  13916. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  13917. begin
  13918. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13919. end;
  13920. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  13921. begin
  13922. pTDefRegMap(@Self)^.&set := $00000200;
  13923. end;
  13924. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  13925. begin
  13926. pTDefRegMap(@Self)^.clr := $00000200;
  13927. end;
  13928. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  13929. begin
  13930. if thebits = 0 then
  13931. pTDefRegMap(@Self)^.clr := $00000200
  13932. else
  13933. pTDefRegMap(@Self)^.&set := $00000200;
  13934. end;
  13935. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  13936. begin
  13937. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13938. end;
  13939. procedure TI2C1_I2C1ACON.setA10M; inline;
  13940. begin
  13941. pTDefRegMap(@Self)^.&set := $00000400;
  13942. end;
  13943. procedure TI2C1_I2C1ACON.clearA10M; inline;
  13944. begin
  13945. pTDefRegMap(@Self)^.clr := $00000400;
  13946. end;
  13947. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  13948. begin
  13949. if thebits = 0 then
  13950. pTDefRegMap(@Self)^.clr := $00000400
  13951. else
  13952. pTDefRegMap(@Self)^.&set := $00000400;
  13953. end;
  13954. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  13955. begin
  13956. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  13957. end;
  13958. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  13959. begin
  13960. pTDefRegMap(@Self)^.&set := $00000800;
  13961. end;
  13962. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  13963. begin
  13964. pTDefRegMap(@Self)^.clr := $00000800;
  13965. end;
  13966. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  13967. begin
  13968. if thebits = 0 then
  13969. pTDefRegMap(@Self)^.clr := $00000800
  13970. else
  13971. pTDefRegMap(@Self)^.&set := $00000800;
  13972. end;
  13973. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  13974. begin
  13975. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  13976. end;
  13977. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  13978. begin
  13979. pTDefRegMap(@Self)^.&set := $00001000;
  13980. end;
  13981. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  13982. begin
  13983. pTDefRegMap(@Self)^.clr := $00001000;
  13984. end;
  13985. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  13986. begin
  13987. if thebits = 0 then
  13988. pTDefRegMap(@Self)^.clr := $00001000
  13989. else
  13990. pTDefRegMap(@Self)^.&set := $00001000;
  13991. end;
  13992. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  13993. begin
  13994. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  13995. end;
  13996. procedure TI2C1_I2C1ACON.setSIDL; inline;
  13997. begin
  13998. pTDefRegMap(@Self)^.&set := $00002000;
  13999. end;
  14000. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14001. begin
  14002. pTDefRegMap(@Self)^.clr := $00002000;
  14003. end;
  14004. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14005. begin
  14006. if thebits = 0 then
  14007. pTDefRegMap(@Self)^.clr := $00002000
  14008. else
  14009. pTDefRegMap(@Self)^.&set := $00002000;
  14010. end;
  14011. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14012. begin
  14013. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14014. end;
  14015. procedure TI2C1_I2C1ACON.setON; inline;
  14016. begin
  14017. pTDefRegMap(@Self)^.&set := $00008000;
  14018. end;
  14019. procedure TI2C1_I2C1ACON.clearON; inline;
  14020. begin
  14021. pTDefRegMap(@Self)^.clr := $00008000;
  14022. end;
  14023. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14024. begin
  14025. if thebits = 0 then
  14026. pTDefRegMap(@Self)^.clr := $00008000
  14027. else
  14028. pTDefRegMap(@Self)^.&set := $00008000;
  14029. end;
  14030. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14031. begin
  14032. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14033. end;
  14034. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14035. begin
  14036. pTDefRegMap(@Self)^.&set := $00000800;
  14037. end;
  14038. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14039. begin
  14040. pTDefRegMap(@Self)^.clr := $00000800;
  14041. end;
  14042. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14043. begin
  14044. if thebits = 0 then
  14045. pTDefRegMap(@Self)^.clr := $00000800
  14046. else
  14047. pTDefRegMap(@Self)^.&set := $00000800;
  14048. end;
  14049. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14050. begin
  14051. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14052. end;
  14053. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14054. begin
  14055. pTDefRegMap(@Self)^.&set := $00002000;
  14056. end;
  14057. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14058. begin
  14059. pTDefRegMap(@Self)^.clr := $00002000;
  14060. end;
  14061. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14062. begin
  14063. if thebits = 0 then
  14064. pTDefRegMap(@Self)^.clr := $00002000
  14065. else
  14066. pTDefRegMap(@Self)^.&set := $00002000;
  14067. end;
  14068. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14069. begin
  14070. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14071. end;
  14072. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14073. begin
  14074. pTDefRegMap(@Self)^.&set := $00008000;
  14075. end;
  14076. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14077. begin
  14078. pTDefRegMap(@Self)^.clr := $00008000;
  14079. end;
  14080. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14081. begin
  14082. if thebits = 0 then
  14083. pTDefRegMap(@Self)^.clr := $00008000
  14084. else
  14085. pTDefRegMap(@Self)^.&set := $00008000;
  14086. end;
  14087. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14088. begin
  14089. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14090. end;
  14091. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14092. begin
  14093. pTDefRegMap(@Self)^.val := thebits;
  14094. end;
  14095. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14096. begin
  14097. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14098. end;
  14099. procedure TI2C1_I2C1CON.setSEN; inline;
  14100. begin
  14101. pTDefRegMap(@Self)^.&set := $00000001;
  14102. end;
  14103. procedure TI2C1_I2C1CON.clearSEN; inline;
  14104. begin
  14105. pTDefRegMap(@Self)^.clr := $00000001;
  14106. end;
  14107. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14108. begin
  14109. if thebits = 0 then
  14110. pTDefRegMap(@Self)^.clr := $00000001
  14111. else
  14112. pTDefRegMap(@Self)^.&set := $00000001;
  14113. end;
  14114. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14115. begin
  14116. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14117. end;
  14118. procedure TI2C1_I2C1CON.setRSEN; inline;
  14119. begin
  14120. pTDefRegMap(@Self)^.&set := $00000002;
  14121. end;
  14122. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14123. begin
  14124. pTDefRegMap(@Self)^.clr := $00000002;
  14125. end;
  14126. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14127. begin
  14128. if thebits = 0 then
  14129. pTDefRegMap(@Self)^.clr := $00000002
  14130. else
  14131. pTDefRegMap(@Self)^.&set := $00000002;
  14132. end;
  14133. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14134. begin
  14135. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14136. end;
  14137. procedure TI2C1_I2C1CON.setPEN; inline;
  14138. begin
  14139. pTDefRegMap(@Self)^.&set := $00000004;
  14140. end;
  14141. procedure TI2C1_I2C1CON.clearPEN; inline;
  14142. begin
  14143. pTDefRegMap(@Self)^.clr := $00000004;
  14144. end;
  14145. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14146. begin
  14147. if thebits = 0 then
  14148. pTDefRegMap(@Self)^.clr := $00000004
  14149. else
  14150. pTDefRegMap(@Self)^.&set := $00000004;
  14151. end;
  14152. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14153. begin
  14154. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14155. end;
  14156. procedure TI2C1_I2C1CON.setRCEN; inline;
  14157. begin
  14158. pTDefRegMap(@Self)^.&set := $00000008;
  14159. end;
  14160. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14161. begin
  14162. pTDefRegMap(@Self)^.clr := $00000008;
  14163. end;
  14164. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14165. begin
  14166. if thebits = 0 then
  14167. pTDefRegMap(@Self)^.clr := $00000008
  14168. else
  14169. pTDefRegMap(@Self)^.&set := $00000008;
  14170. end;
  14171. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14172. begin
  14173. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14174. end;
  14175. procedure TI2C1_I2C1CON.setACKEN; inline;
  14176. begin
  14177. pTDefRegMap(@Self)^.&set := $00000010;
  14178. end;
  14179. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14180. begin
  14181. pTDefRegMap(@Self)^.clr := $00000010;
  14182. end;
  14183. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14184. begin
  14185. if thebits = 0 then
  14186. pTDefRegMap(@Self)^.clr := $00000010
  14187. else
  14188. pTDefRegMap(@Self)^.&set := $00000010;
  14189. end;
  14190. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14191. begin
  14192. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14193. end;
  14194. procedure TI2C1_I2C1CON.setACKDT; inline;
  14195. begin
  14196. pTDefRegMap(@Self)^.&set := $00000020;
  14197. end;
  14198. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14199. begin
  14200. pTDefRegMap(@Self)^.clr := $00000020;
  14201. end;
  14202. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14203. begin
  14204. if thebits = 0 then
  14205. pTDefRegMap(@Self)^.clr := $00000020
  14206. else
  14207. pTDefRegMap(@Self)^.&set := $00000020;
  14208. end;
  14209. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14210. begin
  14211. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14212. end;
  14213. procedure TI2C1_I2C1CON.setSTREN; inline;
  14214. begin
  14215. pTDefRegMap(@Self)^.&set := $00000040;
  14216. end;
  14217. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14218. begin
  14219. pTDefRegMap(@Self)^.clr := $00000040;
  14220. end;
  14221. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14222. begin
  14223. if thebits = 0 then
  14224. pTDefRegMap(@Self)^.clr := $00000040
  14225. else
  14226. pTDefRegMap(@Self)^.&set := $00000040;
  14227. end;
  14228. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14229. begin
  14230. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14231. end;
  14232. procedure TI2C1_I2C1CON.setGCEN; inline;
  14233. begin
  14234. pTDefRegMap(@Self)^.&set := $00000080;
  14235. end;
  14236. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14237. begin
  14238. pTDefRegMap(@Self)^.clr := $00000080;
  14239. end;
  14240. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14241. begin
  14242. if thebits = 0 then
  14243. pTDefRegMap(@Self)^.clr := $00000080
  14244. else
  14245. pTDefRegMap(@Self)^.&set := $00000080;
  14246. end;
  14247. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14248. begin
  14249. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14250. end;
  14251. procedure TI2C1_I2C1CON.setSMEN; inline;
  14252. begin
  14253. pTDefRegMap(@Self)^.&set := $00000100;
  14254. end;
  14255. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14256. begin
  14257. pTDefRegMap(@Self)^.clr := $00000100;
  14258. end;
  14259. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14260. begin
  14261. if thebits = 0 then
  14262. pTDefRegMap(@Self)^.clr := $00000100
  14263. else
  14264. pTDefRegMap(@Self)^.&set := $00000100;
  14265. end;
  14266. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14267. begin
  14268. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14269. end;
  14270. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14271. begin
  14272. pTDefRegMap(@Self)^.&set := $00000200;
  14273. end;
  14274. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14275. begin
  14276. pTDefRegMap(@Self)^.clr := $00000200;
  14277. end;
  14278. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14279. begin
  14280. if thebits = 0 then
  14281. pTDefRegMap(@Self)^.clr := $00000200
  14282. else
  14283. pTDefRegMap(@Self)^.&set := $00000200;
  14284. end;
  14285. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14286. begin
  14287. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14288. end;
  14289. procedure TI2C1_I2C1CON.setA10M; inline;
  14290. begin
  14291. pTDefRegMap(@Self)^.&set := $00000400;
  14292. end;
  14293. procedure TI2C1_I2C1CON.clearA10M; inline;
  14294. begin
  14295. pTDefRegMap(@Self)^.clr := $00000400;
  14296. end;
  14297. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14298. begin
  14299. if thebits = 0 then
  14300. pTDefRegMap(@Self)^.clr := $00000400
  14301. else
  14302. pTDefRegMap(@Self)^.&set := $00000400;
  14303. end;
  14304. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14305. begin
  14306. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14307. end;
  14308. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14309. begin
  14310. pTDefRegMap(@Self)^.&set := $00000800;
  14311. end;
  14312. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14313. begin
  14314. pTDefRegMap(@Self)^.clr := $00000800;
  14315. end;
  14316. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14317. begin
  14318. if thebits = 0 then
  14319. pTDefRegMap(@Self)^.clr := $00000800
  14320. else
  14321. pTDefRegMap(@Self)^.&set := $00000800;
  14322. end;
  14323. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14324. begin
  14325. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14326. end;
  14327. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14328. begin
  14329. pTDefRegMap(@Self)^.&set := $00001000;
  14330. end;
  14331. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14332. begin
  14333. pTDefRegMap(@Self)^.clr := $00001000;
  14334. end;
  14335. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14336. begin
  14337. if thebits = 0 then
  14338. pTDefRegMap(@Self)^.clr := $00001000
  14339. else
  14340. pTDefRegMap(@Self)^.&set := $00001000;
  14341. end;
  14342. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14343. begin
  14344. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14345. end;
  14346. procedure TI2C1_I2C1CON.setSIDL; inline;
  14347. begin
  14348. pTDefRegMap(@Self)^.&set := $00002000;
  14349. end;
  14350. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14351. begin
  14352. pTDefRegMap(@Self)^.clr := $00002000;
  14353. end;
  14354. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14355. begin
  14356. if thebits = 0 then
  14357. pTDefRegMap(@Self)^.clr := $00002000
  14358. else
  14359. pTDefRegMap(@Self)^.&set := $00002000;
  14360. end;
  14361. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14362. begin
  14363. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14364. end;
  14365. procedure TI2C1_I2C1CON.setON; inline;
  14366. begin
  14367. pTDefRegMap(@Self)^.&set := $00008000;
  14368. end;
  14369. procedure TI2C1_I2C1CON.clearON; inline;
  14370. begin
  14371. pTDefRegMap(@Self)^.clr := $00008000;
  14372. end;
  14373. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  14374. begin
  14375. if thebits = 0 then
  14376. pTDefRegMap(@Self)^.clr := $00008000
  14377. else
  14378. pTDefRegMap(@Self)^.&set := $00008000;
  14379. end;
  14380. function TI2C1_I2C1CON.getON : TBits_1; inline;
  14381. begin
  14382. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14383. end;
  14384. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  14385. begin
  14386. pTDefRegMap(@Self)^.&set := $00000800;
  14387. end;
  14388. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  14389. begin
  14390. pTDefRegMap(@Self)^.clr := $00000800;
  14391. end;
  14392. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  14393. begin
  14394. if thebits = 0 then
  14395. pTDefRegMap(@Self)^.clr := $00000800
  14396. else
  14397. pTDefRegMap(@Self)^.&set := $00000800;
  14398. end;
  14399. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  14400. begin
  14401. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14402. end;
  14403. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  14404. begin
  14405. pTDefRegMap(@Self)^.&set := $00002000;
  14406. end;
  14407. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  14408. begin
  14409. pTDefRegMap(@Self)^.clr := $00002000;
  14410. end;
  14411. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  14412. begin
  14413. if thebits = 0 then
  14414. pTDefRegMap(@Self)^.clr := $00002000
  14415. else
  14416. pTDefRegMap(@Self)^.&set := $00002000;
  14417. end;
  14418. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  14419. begin
  14420. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14421. end;
  14422. procedure TI2C1_I2C1CON.setI2CEN; inline;
  14423. begin
  14424. pTDefRegMap(@Self)^.&set := $00008000;
  14425. end;
  14426. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  14427. begin
  14428. pTDefRegMap(@Self)^.clr := $00008000;
  14429. end;
  14430. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  14431. begin
  14432. if thebits = 0 then
  14433. pTDefRegMap(@Self)^.clr := $00008000
  14434. else
  14435. pTDefRegMap(@Self)^.&set := $00008000;
  14436. end;
  14437. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  14438. begin
  14439. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14440. end;
  14441. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  14442. begin
  14443. pTDefRegMap(@Self)^.val := thebits;
  14444. end;
  14445. function TI2C1_I2C1CON.getw : TBits_32; inline;
  14446. begin
  14447. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14448. end;
  14449. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  14450. begin
  14451. pTDefRegMap(@Self)^.&set := $00000001;
  14452. end;
  14453. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  14454. begin
  14455. pTDefRegMap(@Self)^.clr := $00000001;
  14456. end;
  14457. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  14458. begin
  14459. if thebits = 0 then
  14460. pTDefRegMap(@Self)^.clr := $00000001
  14461. else
  14462. pTDefRegMap(@Self)^.&set := $00000001;
  14463. end;
  14464. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  14465. begin
  14466. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14467. end;
  14468. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  14469. begin
  14470. pTDefRegMap(@Self)^.&set := $00000002;
  14471. end;
  14472. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  14473. begin
  14474. pTDefRegMap(@Self)^.clr := $00000002;
  14475. end;
  14476. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  14477. begin
  14478. if thebits = 0 then
  14479. pTDefRegMap(@Self)^.clr := $00000002
  14480. else
  14481. pTDefRegMap(@Self)^.&set := $00000002;
  14482. end;
  14483. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  14484. begin
  14485. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14486. end;
  14487. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  14488. begin
  14489. pTDefRegMap(@Self)^.&set := $00000004;
  14490. end;
  14491. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  14492. begin
  14493. pTDefRegMap(@Self)^.clr := $00000004;
  14494. end;
  14495. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  14496. begin
  14497. if thebits = 0 then
  14498. pTDefRegMap(@Self)^.clr := $00000004
  14499. else
  14500. pTDefRegMap(@Self)^.&set := $00000004;
  14501. end;
  14502. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  14503. begin
  14504. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14505. end;
  14506. procedure TI2C1_I2C1ASTAT.setS; inline;
  14507. begin
  14508. pTDefRegMap(@Self)^.&set := $00000008;
  14509. end;
  14510. procedure TI2C1_I2C1ASTAT.clearS; inline;
  14511. begin
  14512. pTDefRegMap(@Self)^.clr := $00000008;
  14513. end;
  14514. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  14515. begin
  14516. if thebits = 0 then
  14517. pTDefRegMap(@Self)^.clr := $00000008
  14518. else
  14519. pTDefRegMap(@Self)^.&set := $00000008;
  14520. end;
  14521. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  14522. begin
  14523. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14524. end;
  14525. procedure TI2C1_I2C1ASTAT.setP; inline;
  14526. begin
  14527. pTDefRegMap(@Self)^.&set := $00000010;
  14528. end;
  14529. procedure TI2C1_I2C1ASTAT.clearP; inline;
  14530. begin
  14531. pTDefRegMap(@Self)^.clr := $00000010;
  14532. end;
  14533. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  14534. begin
  14535. if thebits = 0 then
  14536. pTDefRegMap(@Self)^.clr := $00000010
  14537. else
  14538. pTDefRegMap(@Self)^.&set := $00000010;
  14539. end;
  14540. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  14541. begin
  14542. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14543. end;
  14544. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  14545. begin
  14546. pTDefRegMap(@Self)^.&set := $00000020;
  14547. end;
  14548. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  14549. begin
  14550. pTDefRegMap(@Self)^.clr := $00000020;
  14551. end;
  14552. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  14553. begin
  14554. if thebits = 0 then
  14555. pTDefRegMap(@Self)^.clr := $00000020
  14556. else
  14557. pTDefRegMap(@Self)^.&set := $00000020;
  14558. end;
  14559. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  14560. begin
  14561. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14562. end;
  14563. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  14564. begin
  14565. pTDefRegMap(@Self)^.&set := $00000040;
  14566. end;
  14567. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  14568. begin
  14569. pTDefRegMap(@Self)^.clr := $00000040;
  14570. end;
  14571. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  14572. begin
  14573. if thebits = 0 then
  14574. pTDefRegMap(@Self)^.clr := $00000040
  14575. else
  14576. pTDefRegMap(@Self)^.&set := $00000040;
  14577. end;
  14578. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  14579. begin
  14580. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14581. end;
  14582. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  14583. begin
  14584. pTDefRegMap(@Self)^.&set := $00000080;
  14585. end;
  14586. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  14587. begin
  14588. pTDefRegMap(@Self)^.clr := $00000080;
  14589. end;
  14590. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  14591. begin
  14592. if thebits = 0 then
  14593. pTDefRegMap(@Self)^.clr := $00000080
  14594. else
  14595. pTDefRegMap(@Self)^.&set := $00000080;
  14596. end;
  14597. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  14598. begin
  14599. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14600. end;
  14601. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  14602. begin
  14603. pTDefRegMap(@Self)^.&set := $00000100;
  14604. end;
  14605. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  14606. begin
  14607. pTDefRegMap(@Self)^.clr := $00000100;
  14608. end;
  14609. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  14610. begin
  14611. if thebits = 0 then
  14612. pTDefRegMap(@Self)^.clr := $00000100
  14613. else
  14614. pTDefRegMap(@Self)^.&set := $00000100;
  14615. end;
  14616. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  14617. begin
  14618. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14619. end;
  14620. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  14621. begin
  14622. pTDefRegMap(@Self)^.&set := $00000200;
  14623. end;
  14624. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  14625. begin
  14626. pTDefRegMap(@Self)^.clr := $00000200;
  14627. end;
  14628. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  14629. begin
  14630. if thebits = 0 then
  14631. pTDefRegMap(@Self)^.clr := $00000200
  14632. else
  14633. pTDefRegMap(@Self)^.&set := $00000200;
  14634. end;
  14635. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  14636. begin
  14637. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14638. end;
  14639. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  14640. begin
  14641. pTDefRegMap(@Self)^.&set := $00000400;
  14642. end;
  14643. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  14644. begin
  14645. pTDefRegMap(@Self)^.clr := $00000400;
  14646. end;
  14647. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  14648. begin
  14649. if thebits = 0 then
  14650. pTDefRegMap(@Self)^.clr := $00000400
  14651. else
  14652. pTDefRegMap(@Self)^.&set := $00000400;
  14653. end;
  14654. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  14655. begin
  14656. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14657. end;
  14658. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  14659. begin
  14660. pTDefRegMap(@Self)^.&set := $00004000;
  14661. end;
  14662. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  14663. begin
  14664. pTDefRegMap(@Self)^.clr := $00004000;
  14665. end;
  14666. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  14667. begin
  14668. if thebits = 0 then
  14669. pTDefRegMap(@Self)^.clr := $00004000
  14670. else
  14671. pTDefRegMap(@Self)^.&set := $00004000;
  14672. end;
  14673. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  14674. begin
  14675. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14676. end;
  14677. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  14678. begin
  14679. pTDefRegMap(@Self)^.&set := $00008000;
  14680. end;
  14681. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  14682. begin
  14683. pTDefRegMap(@Self)^.clr := $00008000;
  14684. end;
  14685. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  14686. begin
  14687. if thebits = 0 then
  14688. pTDefRegMap(@Self)^.clr := $00008000
  14689. else
  14690. pTDefRegMap(@Self)^.&set := $00008000;
  14691. end;
  14692. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  14693. begin
  14694. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14695. end;
  14696. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  14697. begin
  14698. pTDefRegMap(@Self)^.&set := $00000040;
  14699. end;
  14700. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  14701. begin
  14702. pTDefRegMap(@Self)^.clr := $00000040;
  14703. end;
  14704. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  14705. begin
  14706. if thebits = 0 then
  14707. pTDefRegMap(@Self)^.clr := $00000040
  14708. else
  14709. pTDefRegMap(@Self)^.&set := $00000040;
  14710. end;
  14711. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  14712. begin
  14713. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14714. end;
  14715. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  14716. begin
  14717. pTDefRegMap(@Self)^.val := thebits;
  14718. end;
  14719. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  14720. begin
  14721. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14722. end;
  14723. procedure TI2C1_I2C1STAT.setTBF; inline;
  14724. begin
  14725. pTDefRegMap(@Self)^.&set := $00000001;
  14726. end;
  14727. procedure TI2C1_I2C1STAT.clearTBF; inline;
  14728. begin
  14729. pTDefRegMap(@Self)^.clr := $00000001;
  14730. end;
  14731. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  14732. begin
  14733. if thebits = 0 then
  14734. pTDefRegMap(@Self)^.clr := $00000001
  14735. else
  14736. pTDefRegMap(@Self)^.&set := $00000001;
  14737. end;
  14738. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  14739. begin
  14740. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14741. end;
  14742. procedure TI2C1_I2C1STAT.setRBF; inline;
  14743. begin
  14744. pTDefRegMap(@Self)^.&set := $00000002;
  14745. end;
  14746. procedure TI2C1_I2C1STAT.clearRBF; inline;
  14747. begin
  14748. pTDefRegMap(@Self)^.clr := $00000002;
  14749. end;
  14750. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  14751. begin
  14752. if thebits = 0 then
  14753. pTDefRegMap(@Self)^.clr := $00000002
  14754. else
  14755. pTDefRegMap(@Self)^.&set := $00000002;
  14756. end;
  14757. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  14758. begin
  14759. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14760. end;
  14761. procedure TI2C1_I2C1STAT.setR_W; inline;
  14762. begin
  14763. pTDefRegMap(@Self)^.&set := $00000004;
  14764. end;
  14765. procedure TI2C1_I2C1STAT.clearR_W; inline;
  14766. begin
  14767. pTDefRegMap(@Self)^.clr := $00000004;
  14768. end;
  14769. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  14770. begin
  14771. if thebits = 0 then
  14772. pTDefRegMap(@Self)^.clr := $00000004
  14773. else
  14774. pTDefRegMap(@Self)^.&set := $00000004;
  14775. end;
  14776. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  14777. begin
  14778. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14779. end;
  14780. procedure TI2C1_I2C1STAT.setS; inline;
  14781. begin
  14782. pTDefRegMap(@Self)^.&set := $00000008;
  14783. end;
  14784. procedure TI2C1_I2C1STAT.clearS; inline;
  14785. begin
  14786. pTDefRegMap(@Self)^.clr := $00000008;
  14787. end;
  14788. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  14789. begin
  14790. if thebits = 0 then
  14791. pTDefRegMap(@Self)^.clr := $00000008
  14792. else
  14793. pTDefRegMap(@Self)^.&set := $00000008;
  14794. end;
  14795. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  14796. begin
  14797. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14798. end;
  14799. procedure TI2C1_I2C1STAT.setP; inline;
  14800. begin
  14801. pTDefRegMap(@Self)^.&set := $00000010;
  14802. end;
  14803. procedure TI2C1_I2C1STAT.clearP; inline;
  14804. begin
  14805. pTDefRegMap(@Self)^.clr := $00000010;
  14806. end;
  14807. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  14808. begin
  14809. if thebits = 0 then
  14810. pTDefRegMap(@Self)^.clr := $00000010
  14811. else
  14812. pTDefRegMap(@Self)^.&set := $00000010;
  14813. end;
  14814. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  14815. begin
  14816. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14817. end;
  14818. procedure TI2C1_I2C1STAT.setD_A; inline;
  14819. begin
  14820. pTDefRegMap(@Self)^.&set := $00000020;
  14821. end;
  14822. procedure TI2C1_I2C1STAT.clearD_A; inline;
  14823. begin
  14824. pTDefRegMap(@Self)^.clr := $00000020;
  14825. end;
  14826. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  14827. begin
  14828. if thebits = 0 then
  14829. pTDefRegMap(@Self)^.clr := $00000020
  14830. else
  14831. pTDefRegMap(@Self)^.&set := $00000020;
  14832. end;
  14833. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  14834. begin
  14835. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14836. end;
  14837. procedure TI2C1_I2C1STAT.setI2COV; inline;
  14838. begin
  14839. pTDefRegMap(@Self)^.&set := $00000040;
  14840. end;
  14841. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  14842. begin
  14843. pTDefRegMap(@Self)^.clr := $00000040;
  14844. end;
  14845. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  14846. begin
  14847. if thebits = 0 then
  14848. pTDefRegMap(@Self)^.clr := $00000040
  14849. else
  14850. pTDefRegMap(@Self)^.&set := $00000040;
  14851. end;
  14852. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  14853. begin
  14854. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14855. end;
  14856. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  14857. begin
  14858. pTDefRegMap(@Self)^.&set := $00000080;
  14859. end;
  14860. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  14861. begin
  14862. pTDefRegMap(@Self)^.clr := $00000080;
  14863. end;
  14864. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  14865. begin
  14866. if thebits = 0 then
  14867. pTDefRegMap(@Self)^.clr := $00000080
  14868. else
  14869. pTDefRegMap(@Self)^.&set := $00000080;
  14870. end;
  14871. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  14872. begin
  14873. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14874. end;
  14875. procedure TI2C1_I2C1STAT.setADD10; inline;
  14876. begin
  14877. pTDefRegMap(@Self)^.&set := $00000100;
  14878. end;
  14879. procedure TI2C1_I2C1STAT.clearADD10; inline;
  14880. begin
  14881. pTDefRegMap(@Self)^.clr := $00000100;
  14882. end;
  14883. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  14884. begin
  14885. if thebits = 0 then
  14886. pTDefRegMap(@Self)^.clr := $00000100
  14887. else
  14888. pTDefRegMap(@Self)^.&set := $00000100;
  14889. end;
  14890. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  14891. begin
  14892. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14893. end;
  14894. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  14895. begin
  14896. pTDefRegMap(@Self)^.&set := $00000200;
  14897. end;
  14898. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  14899. begin
  14900. pTDefRegMap(@Self)^.clr := $00000200;
  14901. end;
  14902. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  14903. begin
  14904. if thebits = 0 then
  14905. pTDefRegMap(@Self)^.clr := $00000200
  14906. else
  14907. pTDefRegMap(@Self)^.&set := $00000200;
  14908. end;
  14909. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  14910. begin
  14911. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14912. end;
  14913. procedure TI2C1_I2C1STAT.setBCL; inline;
  14914. begin
  14915. pTDefRegMap(@Self)^.&set := $00000400;
  14916. end;
  14917. procedure TI2C1_I2C1STAT.clearBCL; inline;
  14918. begin
  14919. pTDefRegMap(@Self)^.clr := $00000400;
  14920. end;
  14921. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  14922. begin
  14923. if thebits = 0 then
  14924. pTDefRegMap(@Self)^.clr := $00000400
  14925. else
  14926. pTDefRegMap(@Self)^.&set := $00000400;
  14927. end;
  14928. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  14929. begin
  14930. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14931. end;
  14932. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  14933. begin
  14934. pTDefRegMap(@Self)^.&set := $00004000;
  14935. end;
  14936. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  14937. begin
  14938. pTDefRegMap(@Self)^.clr := $00004000;
  14939. end;
  14940. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  14941. begin
  14942. if thebits = 0 then
  14943. pTDefRegMap(@Self)^.clr := $00004000
  14944. else
  14945. pTDefRegMap(@Self)^.&set := $00004000;
  14946. end;
  14947. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  14948. begin
  14949. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  14950. end;
  14951. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  14952. begin
  14953. pTDefRegMap(@Self)^.&set := $00008000;
  14954. end;
  14955. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  14956. begin
  14957. pTDefRegMap(@Self)^.clr := $00008000;
  14958. end;
  14959. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  14960. begin
  14961. if thebits = 0 then
  14962. pTDefRegMap(@Self)^.clr := $00008000
  14963. else
  14964. pTDefRegMap(@Self)^.&set := $00008000;
  14965. end;
  14966. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  14967. begin
  14968. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14969. end;
  14970. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  14971. begin
  14972. pTDefRegMap(@Self)^.&set := $00000040;
  14973. end;
  14974. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  14975. begin
  14976. pTDefRegMap(@Self)^.clr := $00000040;
  14977. end;
  14978. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  14979. begin
  14980. if thebits = 0 then
  14981. pTDefRegMap(@Self)^.clr := $00000040
  14982. else
  14983. pTDefRegMap(@Self)^.&set := $00000040;
  14984. end;
  14985. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  14986. begin
  14987. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14988. end;
  14989. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  14990. begin
  14991. pTDefRegMap(@Self)^.val := thebits;
  14992. end;
  14993. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  14994. begin
  14995. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14996. end;
  14997. procedure TI2C2_I2C2ACON.setSEN; inline;
  14998. begin
  14999. pTDefRegMap(@Self)^.&set := $00000001;
  15000. end;
  15001. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15002. begin
  15003. pTDefRegMap(@Self)^.clr := $00000001;
  15004. end;
  15005. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15006. begin
  15007. if thebits = 0 then
  15008. pTDefRegMap(@Self)^.clr := $00000001
  15009. else
  15010. pTDefRegMap(@Self)^.&set := $00000001;
  15011. end;
  15012. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15013. begin
  15014. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15015. end;
  15016. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15017. begin
  15018. pTDefRegMap(@Self)^.&set := $00000002;
  15019. end;
  15020. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15021. begin
  15022. pTDefRegMap(@Self)^.clr := $00000002;
  15023. end;
  15024. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15025. begin
  15026. if thebits = 0 then
  15027. pTDefRegMap(@Self)^.clr := $00000002
  15028. else
  15029. pTDefRegMap(@Self)^.&set := $00000002;
  15030. end;
  15031. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15032. begin
  15033. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15034. end;
  15035. procedure TI2C2_I2C2ACON.setPEN; inline;
  15036. begin
  15037. pTDefRegMap(@Self)^.&set := $00000004;
  15038. end;
  15039. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15040. begin
  15041. pTDefRegMap(@Self)^.clr := $00000004;
  15042. end;
  15043. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15044. begin
  15045. if thebits = 0 then
  15046. pTDefRegMap(@Self)^.clr := $00000004
  15047. else
  15048. pTDefRegMap(@Self)^.&set := $00000004;
  15049. end;
  15050. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15051. begin
  15052. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15053. end;
  15054. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15055. begin
  15056. pTDefRegMap(@Self)^.&set := $00000008;
  15057. end;
  15058. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15059. begin
  15060. pTDefRegMap(@Self)^.clr := $00000008;
  15061. end;
  15062. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15063. begin
  15064. if thebits = 0 then
  15065. pTDefRegMap(@Self)^.clr := $00000008
  15066. else
  15067. pTDefRegMap(@Self)^.&set := $00000008;
  15068. end;
  15069. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15070. begin
  15071. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15072. end;
  15073. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15074. begin
  15075. pTDefRegMap(@Self)^.&set := $00000010;
  15076. end;
  15077. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15078. begin
  15079. pTDefRegMap(@Self)^.clr := $00000010;
  15080. end;
  15081. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15082. begin
  15083. if thebits = 0 then
  15084. pTDefRegMap(@Self)^.clr := $00000010
  15085. else
  15086. pTDefRegMap(@Self)^.&set := $00000010;
  15087. end;
  15088. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15089. begin
  15090. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15091. end;
  15092. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15093. begin
  15094. pTDefRegMap(@Self)^.&set := $00000020;
  15095. end;
  15096. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15097. begin
  15098. pTDefRegMap(@Self)^.clr := $00000020;
  15099. end;
  15100. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15101. begin
  15102. if thebits = 0 then
  15103. pTDefRegMap(@Self)^.clr := $00000020
  15104. else
  15105. pTDefRegMap(@Self)^.&set := $00000020;
  15106. end;
  15107. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15108. begin
  15109. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15110. end;
  15111. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15112. begin
  15113. pTDefRegMap(@Self)^.&set := $00000040;
  15114. end;
  15115. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15116. begin
  15117. pTDefRegMap(@Self)^.clr := $00000040;
  15118. end;
  15119. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15120. begin
  15121. if thebits = 0 then
  15122. pTDefRegMap(@Self)^.clr := $00000040
  15123. else
  15124. pTDefRegMap(@Self)^.&set := $00000040;
  15125. end;
  15126. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15127. begin
  15128. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15129. end;
  15130. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15131. begin
  15132. pTDefRegMap(@Self)^.&set := $00000080;
  15133. end;
  15134. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15135. begin
  15136. pTDefRegMap(@Self)^.clr := $00000080;
  15137. end;
  15138. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15139. begin
  15140. if thebits = 0 then
  15141. pTDefRegMap(@Self)^.clr := $00000080
  15142. else
  15143. pTDefRegMap(@Self)^.&set := $00000080;
  15144. end;
  15145. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15146. begin
  15147. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15148. end;
  15149. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15150. begin
  15151. pTDefRegMap(@Self)^.&set := $00000100;
  15152. end;
  15153. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15154. begin
  15155. pTDefRegMap(@Self)^.clr := $00000100;
  15156. end;
  15157. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15158. begin
  15159. if thebits = 0 then
  15160. pTDefRegMap(@Self)^.clr := $00000100
  15161. else
  15162. pTDefRegMap(@Self)^.&set := $00000100;
  15163. end;
  15164. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15165. begin
  15166. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15167. end;
  15168. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15169. begin
  15170. pTDefRegMap(@Self)^.&set := $00000200;
  15171. end;
  15172. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15173. begin
  15174. pTDefRegMap(@Self)^.clr := $00000200;
  15175. end;
  15176. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15177. begin
  15178. if thebits = 0 then
  15179. pTDefRegMap(@Self)^.clr := $00000200
  15180. else
  15181. pTDefRegMap(@Self)^.&set := $00000200;
  15182. end;
  15183. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15184. begin
  15185. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15186. end;
  15187. procedure TI2C2_I2C2ACON.setA10M; inline;
  15188. begin
  15189. pTDefRegMap(@Self)^.&set := $00000400;
  15190. end;
  15191. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15192. begin
  15193. pTDefRegMap(@Self)^.clr := $00000400;
  15194. end;
  15195. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15196. begin
  15197. if thebits = 0 then
  15198. pTDefRegMap(@Self)^.clr := $00000400
  15199. else
  15200. pTDefRegMap(@Self)^.&set := $00000400;
  15201. end;
  15202. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15203. begin
  15204. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15205. end;
  15206. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15207. begin
  15208. pTDefRegMap(@Self)^.&set := $00000800;
  15209. end;
  15210. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15211. begin
  15212. pTDefRegMap(@Self)^.clr := $00000800;
  15213. end;
  15214. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15215. begin
  15216. if thebits = 0 then
  15217. pTDefRegMap(@Self)^.clr := $00000800
  15218. else
  15219. pTDefRegMap(@Self)^.&set := $00000800;
  15220. end;
  15221. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15222. begin
  15223. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15224. end;
  15225. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15226. begin
  15227. pTDefRegMap(@Self)^.&set := $00001000;
  15228. end;
  15229. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15230. begin
  15231. pTDefRegMap(@Self)^.clr := $00001000;
  15232. end;
  15233. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15234. begin
  15235. if thebits = 0 then
  15236. pTDefRegMap(@Self)^.clr := $00001000
  15237. else
  15238. pTDefRegMap(@Self)^.&set := $00001000;
  15239. end;
  15240. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15241. begin
  15242. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15243. end;
  15244. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15245. begin
  15246. pTDefRegMap(@Self)^.&set := $00002000;
  15247. end;
  15248. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15249. begin
  15250. pTDefRegMap(@Self)^.clr := $00002000;
  15251. end;
  15252. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15253. begin
  15254. if thebits = 0 then
  15255. pTDefRegMap(@Self)^.clr := $00002000
  15256. else
  15257. pTDefRegMap(@Self)^.&set := $00002000;
  15258. end;
  15259. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15260. begin
  15261. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15262. end;
  15263. procedure TI2C2_I2C2ACON.setON; inline;
  15264. begin
  15265. pTDefRegMap(@Self)^.&set := $00008000;
  15266. end;
  15267. procedure TI2C2_I2C2ACON.clearON; inline;
  15268. begin
  15269. pTDefRegMap(@Self)^.clr := $00008000;
  15270. end;
  15271. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15272. begin
  15273. if thebits = 0 then
  15274. pTDefRegMap(@Self)^.clr := $00008000
  15275. else
  15276. pTDefRegMap(@Self)^.&set := $00008000;
  15277. end;
  15278. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15279. begin
  15280. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15281. end;
  15282. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15283. begin
  15284. pTDefRegMap(@Self)^.&set := $00000800;
  15285. end;
  15286. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15287. begin
  15288. pTDefRegMap(@Self)^.clr := $00000800;
  15289. end;
  15290. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15291. begin
  15292. if thebits = 0 then
  15293. pTDefRegMap(@Self)^.clr := $00000800
  15294. else
  15295. pTDefRegMap(@Self)^.&set := $00000800;
  15296. end;
  15297. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15298. begin
  15299. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15300. end;
  15301. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15302. begin
  15303. pTDefRegMap(@Self)^.&set := $00002000;
  15304. end;
  15305. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15306. begin
  15307. pTDefRegMap(@Self)^.clr := $00002000;
  15308. end;
  15309. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15310. begin
  15311. if thebits = 0 then
  15312. pTDefRegMap(@Self)^.clr := $00002000
  15313. else
  15314. pTDefRegMap(@Self)^.&set := $00002000;
  15315. end;
  15316. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15317. begin
  15318. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15319. end;
  15320. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15321. begin
  15322. pTDefRegMap(@Self)^.&set := $00008000;
  15323. end;
  15324. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15325. begin
  15326. pTDefRegMap(@Self)^.clr := $00008000;
  15327. end;
  15328. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15329. begin
  15330. if thebits = 0 then
  15331. pTDefRegMap(@Self)^.clr := $00008000
  15332. else
  15333. pTDefRegMap(@Self)^.&set := $00008000;
  15334. end;
  15335. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15336. begin
  15337. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15338. end;
  15339. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15340. begin
  15341. pTDefRegMap(@Self)^.val := thebits;
  15342. end;
  15343. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15344. begin
  15345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15346. end;
  15347. procedure TI2C2_I2C2CON.setSEN; inline;
  15348. begin
  15349. pTDefRegMap(@Self)^.&set := $00000001;
  15350. end;
  15351. procedure TI2C2_I2C2CON.clearSEN; inline;
  15352. begin
  15353. pTDefRegMap(@Self)^.clr := $00000001;
  15354. end;
  15355. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15356. begin
  15357. if thebits = 0 then
  15358. pTDefRegMap(@Self)^.clr := $00000001
  15359. else
  15360. pTDefRegMap(@Self)^.&set := $00000001;
  15361. end;
  15362. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15363. begin
  15364. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15365. end;
  15366. procedure TI2C2_I2C2CON.setRSEN; inline;
  15367. begin
  15368. pTDefRegMap(@Self)^.&set := $00000002;
  15369. end;
  15370. procedure TI2C2_I2C2CON.clearRSEN; inline;
  15371. begin
  15372. pTDefRegMap(@Self)^.clr := $00000002;
  15373. end;
  15374. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  15375. begin
  15376. if thebits = 0 then
  15377. pTDefRegMap(@Self)^.clr := $00000002
  15378. else
  15379. pTDefRegMap(@Self)^.&set := $00000002;
  15380. end;
  15381. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  15382. begin
  15383. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15384. end;
  15385. procedure TI2C2_I2C2CON.setPEN; inline;
  15386. begin
  15387. pTDefRegMap(@Self)^.&set := $00000004;
  15388. end;
  15389. procedure TI2C2_I2C2CON.clearPEN; inline;
  15390. begin
  15391. pTDefRegMap(@Self)^.clr := $00000004;
  15392. end;
  15393. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  15394. begin
  15395. if thebits = 0 then
  15396. pTDefRegMap(@Self)^.clr := $00000004
  15397. else
  15398. pTDefRegMap(@Self)^.&set := $00000004;
  15399. end;
  15400. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  15401. begin
  15402. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15403. end;
  15404. procedure TI2C2_I2C2CON.setRCEN; inline;
  15405. begin
  15406. pTDefRegMap(@Self)^.&set := $00000008;
  15407. end;
  15408. procedure TI2C2_I2C2CON.clearRCEN; inline;
  15409. begin
  15410. pTDefRegMap(@Self)^.clr := $00000008;
  15411. end;
  15412. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  15413. begin
  15414. if thebits = 0 then
  15415. pTDefRegMap(@Self)^.clr := $00000008
  15416. else
  15417. pTDefRegMap(@Self)^.&set := $00000008;
  15418. end;
  15419. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  15420. begin
  15421. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15422. end;
  15423. procedure TI2C2_I2C2CON.setACKEN; inline;
  15424. begin
  15425. pTDefRegMap(@Self)^.&set := $00000010;
  15426. end;
  15427. procedure TI2C2_I2C2CON.clearACKEN; inline;
  15428. begin
  15429. pTDefRegMap(@Self)^.clr := $00000010;
  15430. end;
  15431. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  15432. begin
  15433. if thebits = 0 then
  15434. pTDefRegMap(@Self)^.clr := $00000010
  15435. else
  15436. pTDefRegMap(@Self)^.&set := $00000010;
  15437. end;
  15438. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  15439. begin
  15440. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15441. end;
  15442. procedure TI2C2_I2C2CON.setACKDT; inline;
  15443. begin
  15444. pTDefRegMap(@Self)^.&set := $00000020;
  15445. end;
  15446. procedure TI2C2_I2C2CON.clearACKDT; inline;
  15447. begin
  15448. pTDefRegMap(@Self)^.clr := $00000020;
  15449. end;
  15450. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  15451. begin
  15452. if thebits = 0 then
  15453. pTDefRegMap(@Self)^.clr := $00000020
  15454. else
  15455. pTDefRegMap(@Self)^.&set := $00000020;
  15456. end;
  15457. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  15458. begin
  15459. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15460. end;
  15461. procedure TI2C2_I2C2CON.setSTREN; inline;
  15462. begin
  15463. pTDefRegMap(@Self)^.&set := $00000040;
  15464. end;
  15465. procedure TI2C2_I2C2CON.clearSTREN; inline;
  15466. begin
  15467. pTDefRegMap(@Self)^.clr := $00000040;
  15468. end;
  15469. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  15470. begin
  15471. if thebits = 0 then
  15472. pTDefRegMap(@Self)^.clr := $00000040
  15473. else
  15474. pTDefRegMap(@Self)^.&set := $00000040;
  15475. end;
  15476. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  15477. begin
  15478. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15479. end;
  15480. procedure TI2C2_I2C2CON.setGCEN; inline;
  15481. begin
  15482. pTDefRegMap(@Self)^.&set := $00000080;
  15483. end;
  15484. procedure TI2C2_I2C2CON.clearGCEN; inline;
  15485. begin
  15486. pTDefRegMap(@Self)^.clr := $00000080;
  15487. end;
  15488. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  15489. begin
  15490. if thebits = 0 then
  15491. pTDefRegMap(@Self)^.clr := $00000080
  15492. else
  15493. pTDefRegMap(@Self)^.&set := $00000080;
  15494. end;
  15495. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  15496. begin
  15497. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15498. end;
  15499. procedure TI2C2_I2C2CON.setSMEN; inline;
  15500. begin
  15501. pTDefRegMap(@Self)^.&set := $00000100;
  15502. end;
  15503. procedure TI2C2_I2C2CON.clearSMEN; inline;
  15504. begin
  15505. pTDefRegMap(@Self)^.clr := $00000100;
  15506. end;
  15507. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  15508. begin
  15509. if thebits = 0 then
  15510. pTDefRegMap(@Self)^.clr := $00000100
  15511. else
  15512. pTDefRegMap(@Self)^.&set := $00000100;
  15513. end;
  15514. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  15515. begin
  15516. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15517. end;
  15518. procedure TI2C2_I2C2CON.setDISSLW; inline;
  15519. begin
  15520. pTDefRegMap(@Self)^.&set := $00000200;
  15521. end;
  15522. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  15523. begin
  15524. pTDefRegMap(@Self)^.clr := $00000200;
  15525. end;
  15526. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  15527. begin
  15528. if thebits = 0 then
  15529. pTDefRegMap(@Self)^.clr := $00000200
  15530. else
  15531. pTDefRegMap(@Self)^.&set := $00000200;
  15532. end;
  15533. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  15534. begin
  15535. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15536. end;
  15537. procedure TI2C2_I2C2CON.setA10M; inline;
  15538. begin
  15539. pTDefRegMap(@Self)^.&set := $00000400;
  15540. end;
  15541. procedure TI2C2_I2C2CON.clearA10M; inline;
  15542. begin
  15543. pTDefRegMap(@Self)^.clr := $00000400;
  15544. end;
  15545. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  15546. begin
  15547. if thebits = 0 then
  15548. pTDefRegMap(@Self)^.clr := $00000400
  15549. else
  15550. pTDefRegMap(@Self)^.&set := $00000400;
  15551. end;
  15552. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  15553. begin
  15554. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15555. end;
  15556. procedure TI2C2_I2C2CON.setSTRICT; inline;
  15557. begin
  15558. pTDefRegMap(@Self)^.&set := $00000800;
  15559. end;
  15560. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  15561. begin
  15562. pTDefRegMap(@Self)^.clr := $00000800;
  15563. end;
  15564. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  15565. begin
  15566. if thebits = 0 then
  15567. pTDefRegMap(@Self)^.clr := $00000800
  15568. else
  15569. pTDefRegMap(@Self)^.&set := $00000800;
  15570. end;
  15571. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  15572. begin
  15573. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15574. end;
  15575. procedure TI2C2_I2C2CON.setSCLREL; inline;
  15576. begin
  15577. pTDefRegMap(@Self)^.&set := $00001000;
  15578. end;
  15579. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  15580. begin
  15581. pTDefRegMap(@Self)^.clr := $00001000;
  15582. end;
  15583. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  15584. begin
  15585. if thebits = 0 then
  15586. pTDefRegMap(@Self)^.clr := $00001000
  15587. else
  15588. pTDefRegMap(@Self)^.&set := $00001000;
  15589. end;
  15590. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  15591. begin
  15592. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15593. end;
  15594. procedure TI2C2_I2C2CON.setSIDL; inline;
  15595. begin
  15596. pTDefRegMap(@Self)^.&set := $00002000;
  15597. end;
  15598. procedure TI2C2_I2C2CON.clearSIDL; inline;
  15599. begin
  15600. pTDefRegMap(@Self)^.clr := $00002000;
  15601. end;
  15602. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  15603. begin
  15604. if thebits = 0 then
  15605. pTDefRegMap(@Self)^.clr := $00002000
  15606. else
  15607. pTDefRegMap(@Self)^.&set := $00002000;
  15608. end;
  15609. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  15610. begin
  15611. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15612. end;
  15613. procedure TI2C2_I2C2CON.setON; inline;
  15614. begin
  15615. pTDefRegMap(@Self)^.&set := $00008000;
  15616. end;
  15617. procedure TI2C2_I2C2CON.clearON; inline;
  15618. begin
  15619. pTDefRegMap(@Self)^.clr := $00008000;
  15620. end;
  15621. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  15622. begin
  15623. if thebits = 0 then
  15624. pTDefRegMap(@Self)^.clr := $00008000
  15625. else
  15626. pTDefRegMap(@Self)^.&set := $00008000;
  15627. end;
  15628. function TI2C2_I2C2CON.getON : TBits_1; inline;
  15629. begin
  15630. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15631. end;
  15632. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  15633. begin
  15634. pTDefRegMap(@Self)^.&set := $00000800;
  15635. end;
  15636. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  15637. begin
  15638. pTDefRegMap(@Self)^.clr := $00000800;
  15639. end;
  15640. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  15641. begin
  15642. if thebits = 0 then
  15643. pTDefRegMap(@Self)^.clr := $00000800
  15644. else
  15645. pTDefRegMap(@Self)^.&set := $00000800;
  15646. end;
  15647. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  15648. begin
  15649. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15650. end;
  15651. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  15652. begin
  15653. pTDefRegMap(@Self)^.&set := $00002000;
  15654. end;
  15655. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  15656. begin
  15657. pTDefRegMap(@Self)^.clr := $00002000;
  15658. end;
  15659. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  15660. begin
  15661. if thebits = 0 then
  15662. pTDefRegMap(@Self)^.clr := $00002000
  15663. else
  15664. pTDefRegMap(@Self)^.&set := $00002000;
  15665. end;
  15666. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  15667. begin
  15668. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15669. end;
  15670. procedure TI2C2_I2C2CON.setI2CEN; inline;
  15671. begin
  15672. pTDefRegMap(@Self)^.&set := $00008000;
  15673. end;
  15674. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  15675. begin
  15676. pTDefRegMap(@Self)^.clr := $00008000;
  15677. end;
  15678. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  15679. begin
  15680. if thebits = 0 then
  15681. pTDefRegMap(@Self)^.clr := $00008000
  15682. else
  15683. pTDefRegMap(@Self)^.&set := $00008000;
  15684. end;
  15685. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  15686. begin
  15687. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15688. end;
  15689. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  15690. begin
  15691. pTDefRegMap(@Self)^.val := thebits;
  15692. end;
  15693. function TI2C2_I2C2CON.getw : TBits_32; inline;
  15694. begin
  15695. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15696. end;
  15697. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  15698. begin
  15699. pTDefRegMap(@Self)^.&set := $00000001;
  15700. end;
  15701. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  15702. begin
  15703. pTDefRegMap(@Self)^.clr := $00000001;
  15704. end;
  15705. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  15706. begin
  15707. if thebits = 0 then
  15708. pTDefRegMap(@Self)^.clr := $00000001
  15709. else
  15710. pTDefRegMap(@Self)^.&set := $00000001;
  15711. end;
  15712. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  15713. begin
  15714. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15715. end;
  15716. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  15717. begin
  15718. pTDefRegMap(@Self)^.&set := $00000002;
  15719. end;
  15720. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  15721. begin
  15722. pTDefRegMap(@Self)^.clr := $00000002;
  15723. end;
  15724. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  15725. begin
  15726. if thebits = 0 then
  15727. pTDefRegMap(@Self)^.clr := $00000002
  15728. else
  15729. pTDefRegMap(@Self)^.&set := $00000002;
  15730. end;
  15731. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  15732. begin
  15733. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15734. end;
  15735. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  15736. begin
  15737. pTDefRegMap(@Self)^.&set := $00000004;
  15738. end;
  15739. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  15740. begin
  15741. pTDefRegMap(@Self)^.clr := $00000004;
  15742. end;
  15743. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  15744. begin
  15745. if thebits = 0 then
  15746. pTDefRegMap(@Self)^.clr := $00000004
  15747. else
  15748. pTDefRegMap(@Self)^.&set := $00000004;
  15749. end;
  15750. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  15751. begin
  15752. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15753. end;
  15754. procedure TI2C2_I2C2ASTAT.setS; inline;
  15755. begin
  15756. pTDefRegMap(@Self)^.&set := $00000008;
  15757. end;
  15758. procedure TI2C2_I2C2ASTAT.clearS; inline;
  15759. begin
  15760. pTDefRegMap(@Self)^.clr := $00000008;
  15761. end;
  15762. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  15763. begin
  15764. if thebits = 0 then
  15765. pTDefRegMap(@Self)^.clr := $00000008
  15766. else
  15767. pTDefRegMap(@Self)^.&set := $00000008;
  15768. end;
  15769. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  15770. begin
  15771. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15772. end;
  15773. procedure TI2C2_I2C2ASTAT.setP; inline;
  15774. begin
  15775. pTDefRegMap(@Self)^.&set := $00000010;
  15776. end;
  15777. procedure TI2C2_I2C2ASTAT.clearP; inline;
  15778. begin
  15779. pTDefRegMap(@Self)^.clr := $00000010;
  15780. end;
  15781. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  15782. begin
  15783. if thebits = 0 then
  15784. pTDefRegMap(@Self)^.clr := $00000010
  15785. else
  15786. pTDefRegMap(@Self)^.&set := $00000010;
  15787. end;
  15788. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  15789. begin
  15790. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15791. end;
  15792. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  15793. begin
  15794. pTDefRegMap(@Self)^.&set := $00000020;
  15795. end;
  15796. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  15797. begin
  15798. pTDefRegMap(@Self)^.clr := $00000020;
  15799. end;
  15800. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  15801. begin
  15802. if thebits = 0 then
  15803. pTDefRegMap(@Self)^.clr := $00000020
  15804. else
  15805. pTDefRegMap(@Self)^.&set := $00000020;
  15806. end;
  15807. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  15808. begin
  15809. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15810. end;
  15811. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  15812. begin
  15813. pTDefRegMap(@Self)^.&set := $00000040;
  15814. end;
  15815. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  15816. begin
  15817. pTDefRegMap(@Self)^.clr := $00000040;
  15818. end;
  15819. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  15820. begin
  15821. if thebits = 0 then
  15822. pTDefRegMap(@Self)^.clr := $00000040
  15823. else
  15824. pTDefRegMap(@Self)^.&set := $00000040;
  15825. end;
  15826. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  15827. begin
  15828. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15829. end;
  15830. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  15831. begin
  15832. pTDefRegMap(@Self)^.&set := $00000080;
  15833. end;
  15834. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  15835. begin
  15836. pTDefRegMap(@Self)^.clr := $00000080;
  15837. end;
  15838. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  15839. begin
  15840. if thebits = 0 then
  15841. pTDefRegMap(@Self)^.clr := $00000080
  15842. else
  15843. pTDefRegMap(@Self)^.&set := $00000080;
  15844. end;
  15845. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  15846. begin
  15847. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15848. end;
  15849. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  15850. begin
  15851. pTDefRegMap(@Self)^.&set := $00000100;
  15852. end;
  15853. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  15854. begin
  15855. pTDefRegMap(@Self)^.clr := $00000100;
  15856. end;
  15857. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  15858. begin
  15859. if thebits = 0 then
  15860. pTDefRegMap(@Self)^.clr := $00000100
  15861. else
  15862. pTDefRegMap(@Self)^.&set := $00000100;
  15863. end;
  15864. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  15865. begin
  15866. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15867. end;
  15868. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  15869. begin
  15870. pTDefRegMap(@Self)^.&set := $00000200;
  15871. end;
  15872. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  15873. begin
  15874. pTDefRegMap(@Self)^.clr := $00000200;
  15875. end;
  15876. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15877. begin
  15878. if thebits = 0 then
  15879. pTDefRegMap(@Self)^.clr := $00000200
  15880. else
  15881. pTDefRegMap(@Self)^.&set := $00000200;
  15882. end;
  15883. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  15884. begin
  15885. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15886. end;
  15887. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  15888. begin
  15889. pTDefRegMap(@Self)^.&set := $00000400;
  15890. end;
  15891. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  15892. begin
  15893. pTDefRegMap(@Self)^.clr := $00000400;
  15894. end;
  15895. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  15896. begin
  15897. if thebits = 0 then
  15898. pTDefRegMap(@Self)^.clr := $00000400
  15899. else
  15900. pTDefRegMap(@Self)^.&set := $00000400;
  15901. end;
  15902. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  15903. begin
  15904. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15905. end;
  15906. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  15907. begin
  15908. pTDefRegMap(@Self)^.&set := $00004000;
  15909. end;
  15910. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  15911. begin
  15912. pTDefRegMap(@Self)^.clr := $00004000;
  15913. end;
  15914. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15915. begin
  15916. if thebits = 0 then
  15917. pTDefRegMap(@Self)^.clr := $00004000
  15918. else
  15919. pTDefRegMap(@Self)^.&set := $00004000;
  15920. end;
  15921. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  15922. begin
  15923. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15924. end;
  15925. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  15926. begin
  15927. pTDefRegMap(@Self)^.&set := $00008000;
  15928. end;
  15929. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  15930. begin
  15931. pTDefRegMap(@Self)^.clr := $00008000;
  15932. end;
  15933. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15934. begin
  15935. if thebits = 0 then
  15936. pTDefRegMap(@Self)^.clr := $00008000
  15937. else
  15938. pTDefRegMap(@Self)^.&set := $00008000;
  15939. end;
  15940. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  15941. begin
  15942. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15943. end;
  15944. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  15945. begin
  15946. pTDefRegMap(@Self)^.&set := $00000040;
  15947. end;
  15948. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  15949. begin
  15950. pTDefRegMap(@Self)^.clr := $00000040;
  15951. end;
  15952. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15953. begin
  15954. if thebits = 0 then
  15955. pTDefRegMap(@Self)^.clr := $00000040
  15956. else
  15957. pTDefRegMap(@Self)^.&set := $00000040;
  15958. end;
  15959. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  15960. begin
  15961. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15962. end;
  15963. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  15964. begin
  15965. pTDefRegMap(@Self)^.val := thebits;
  15966. end;
  15967. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  15968. begin
  15969. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15970. end;
  15971. procedure TI2C2_I2C2STAT.setTBF; inline;
  15972. begin
  15973. pTDefRegMap(@Self)^.&set := $00000001;
  15974. end;
  15975. procedure TI2C2_I2C2STAT.clearTBF; inline;
  15976. begin
  15977. pTDefRegMap(@Self)^.clr := $00000001;
  15978. end;
  15979. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  15980. begin
  15981. if thebits = 0 then
  15982. pTDefRegMap(@Self)^.clr := $00000001
  15983. else
  15984. pTDefRegMap(@Self)^.&set := $00000001;
  15985. end;
  15986. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  15987. begin
  15988. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15989. end;
  15990. procedure TI2C2_I2C2STAT.setRBF; inline;
  15991. begin
  15992. pTDefRegMap(@Self)^.&set := $00000002;
  15993. end;
  15994. procedure TI2C2_I2C2STAT.clearRBF; inline;
  15995. begin
  15996. pTDefRegMap(@Self)^.clr := $00000002;
  15997. end;
  15998. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  15999. begin
  16000. if thebits = 0 then
  16001. pTDefRegMap(@Self)^.clr := $00000002
  16002. else
  16003. pTDefRegMap(@Self)^.&set := $00000002;
  16004. end;
  16005. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16006. begin
  16007. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16008. end;
  16009. procedure TI2C2_I2C2STAT.setR_W; inline;
  16010. begin
  16011. pTDefRegMap(@Self)^.&set := $00000004;
  16012. end;
  16013. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16014. begin
  16015. pTDefRegMap(@Self)^.clr := $00000004;
  16016. end;
  16017. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16018. begin
  16019. if thebits = 0 then
  16020. pTDefRegMap(@Self)^.clr := $00000004
  16021. else
  16022. pTDefRegMap(@Self)^.&set := $00000004;
  16023. end;
  16024. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16025. begin
  16026. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16027. end;
  16028. procedure TI2C2_I2C2STAT.setS; inline;
  16029. begin
  16030. pTDefRegMap(@Self)^.&set := $00000008;
  16031. end;
  16032. procedure TI2C2_I2C2STAT.clearS; inline;
  16033. begin
  16034. pTDefRegMap(@Self)^.clr := $00000008;
  16035. end;
  16036. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16037. begin
  16038. if thebits = 0 then
  16039. pTDefRegMap(@Self)^.clr := $00000008
  16040. else
  16041. pTDefRegMap(@Self)^.&set := $00000008;
  16042. end;
  16043. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16044. begin
  16045. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16046. end;
  16047. procedure TI2C2_I2C2STAT.setP; inline;
  16048. begin
  16049. pTDefRegMap(@Self)^.&set := $00000010;
  16050. end;
  16051. procedure TI2C2_I2C2STAT.clearP; inline;
  16052. begin
  16053. pTDefRegMap(@Self)^.clr := $00000010;
  16054. end;
  16055. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16056. begin
  16057. if thebits = 0 then
  16058. pTDefRegMap(@Self)^.clr := $00000010
  16059. else
  16060. pTDefRegMap(@Self)^.&set := $00000010;
  16061. end;
  16062. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16063. begin
  16064. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16065. end;
  16066. procedure TI2C2_I2C2STAT.setD_A; inline;
  16067. begin
  16068. pTDefRegMap(@Self)^.&set := $00000020;
  16069. end;
  16070. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16071. begin
  16072. pTDefRegMap(@Self)^.clr := $00000020;
  16073. end;
  16074. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16075. begin
  16076. if thebits = 0 then
  16077. pTDefRegMap(@Self)^.clr := $00000020
  16078. else
  16079. pTDefRegMap(@Self)^.&set := $00000020;
  16080. end;
  16081. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16082. begin
  16083. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16084. end;
  16085. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16086. begin
  16087. pTDefRegMap(@Self)^.&set := $00000040;
  16088. end;
  16089. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16090. begin
  16091. pTDefRegMap(@Self)^.clr := $00000040;
  16092. end;
  16093. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16094. begin
  16095. if thebits = 0 then
  16096. pTDefRegMap(@Self)^.clr := $00000040
  16097. else
  16098. pTDefRegMap(@Self)^.&set := $00000040;
  16099. end;
  16100. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16101. begin
  16102. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16103. end;
  16104. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16105. begin
  16106. pTDefRegMap(@Self)^.&set := $00000080;
  16107. end;
  16108. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16109. begin
  16110. pTDefRegMap(@Self)^.clr := $00000080;
  16111. end;
  16112. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16113. begin
  16114. if thebits = 0 then
  16115. pTDefRegMap(@Self)^.clr := $00000080
  16116. else
  16117. pTDefRegMap(@Self)^.&set := $00000080;
  16118. end;
  16119. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16120. begin
  16121. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16122. end;
  16123. procedure TI2C2_I2C2STAT.setADD10; inline;
  16124. begin
  16125. pTDefRegMap(@Self)^.&set := $00000100;
  16126. end;
  16127. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16128. begin
  16129. pTDefRegMap(@Self)^.clr := $00000100;
  16130. end;
  16131. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16132. begin
  16133. if thebits = 0 then
  16134. pTDefRegMap(@Self)^.clr := $00000100
  16135. else
  16136. pTDefRegMap(@Self)^.&set := $00000100;
  16137. end;
  16138. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16139. begin
  16140. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16141. end;
  16142. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16143. begin
  16144. pTDefRegMap(@Self)^.&set := $00000200;
  16145. end;
  16146. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16147. begin
  16148. pTDefRegMap(@Self)^.clr := $00000200;
  16149. end;
  16150. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16151. begin
  16152. if thebits = 0 then
  16153. pTDefRegMap(@Self)^.clr := $00000200
  16154. else
  16155. pTDefRegMap(@Self)^.&set := $00000200;
  16156. end;
  16157. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16158. begin
  16159. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16160. end;
  16161. procedure TI2C2_I2C2STAT.setBCL; inline;
  16162. begin
  16163. pTDefRegMap(@Self)^.&set := $00000400;
  16164. end;
  16165. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16166. begin
  16167. pTDefRegMap(@Self)^.clr := $00000400;
  16168. end;
  16169. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16170. begin
  16171. if thebits = 0 then
  16172. pTDefRegMap(@Self)^.clr := $00000400
  16173. else
  16174. pTDefRegMap(@Self)^.&set := $00000400;
  16175. end;
  16176. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16177. begin
  16178. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16179. end;
  16180. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16181. begin
  16182. pTDefRegMap(@Self)^.&set := $00004000;
  16183. end;
  16184. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16185. begin
  16186. pTDefRegMap(@Self)^.clr := $00004000;
  16187. end;
  16188. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16189. begin
  16190. if thebits = 0 then
  16191. pTDefRegMap(@Self)^.clr := $00004000
  16192. else
  16193. pTDefRegMap(@Self)^.&set := $00004000;
  16194. end;
  16195. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16196. begin
  16197. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16198. end;
  16199. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16200. begin
  16201. pTDefRegMap(@Self)^.&set := $00008000;
  16202. end;
  16203. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16204. begin
  16205. pTDefRegMap(@Self)^.clr := $00008000;
  16206. end;
  16207. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16208. begin
  16209. if thebits = 0 then
  16210. pTDefRegMap(@Self)^.clr := $00008000
  16211. else
  16212. pTDefRegMap(@Self)^.&set := $00008000;
  16213. end;
  16214. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16215. begin
  16216. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16217. end;
  16218. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16219. begin
  16220. pTDefRegMap(@Self)^.&set := $00000040;
  16221. end;
  16222. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16223. begin
  16224. pTDefRegMap(@Self)^.clr := $00000040;
  16225. end;
  16226. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16227. begin
  16228. if thebits = 0 then
  16229. pTDefRegMap(@Self)^.clr := $00000040
  16230. else
  16231. pTDefRegMap(@Self)^.&set := $00000040;
  16232. end;
  16233. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16234. begin
  16235. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16236. end;
  16237. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16238. begin
  16239. pTDefRegMap(@Self)^.val := thebits;
  16240. end;
  16241. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16242. begin
  16243. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16244. end;
  16245. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16246. begin
  16247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16248. end;
  16249. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16250. begin
  16251. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16252. end;
  16253. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16254. begin
  16255. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16256. end;
  16257. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16258. begin
  16259. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16260. end;
  16261. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16262. begin
  16263. pTDefRegMap(@Self)^.&set := $00000010;
  16264. end;
  16265. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16266. begin
  16267. pTDefRegMap(@Self)^.clr := $00000010;
  16268. end;
  16269. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16270. begin
  16271. if thebits = 0 then
  16272. pTDefRegMap(@Self)^.clr := $00000010
  16273. else
  16274. pTDefRegMap(@Self)^.&set := $00000010;
  16275. end;
  16276. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16277. begin
  16278. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16279. end;
  16280. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16281. begin
  16282. pTDefRegMap(@Self)^.&set := $00000020;
  16283. end;
  16284. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16285. begin
  16286. pTDefRegMap(@Self)^.clr := $00000020;
  16287. end;
  16288. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16289. begin
  16290. if thebits = 0 then
  16291. pTDefRegMap(@Self)^.clr := $00000020
  16292. else
  16293. pTDefRegMap(@Self)^.&set := $00000020;
  16294. end;
  16295. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16296. begin
  16297. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16298. end;
  16299. procedure TSPI1_SPI1CON.setCKP; inline;
  16300. begin
  16301. pTDefRegMap(@Self)^.&set := $00000040;
  16302. end;
  16303. procedure TSPI1_SPI1CON.clearCKP; inline;
  16304. begin
  16305. pTDefRegMap(@Self)^.clr := $00000040;
  16306. end;
  16307. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16308. begin
  16309. if thebits = 0 then
  16310. pTDefRegMap(@Self)^.clr := $00000040
  16311. else
  16312. pTDefRegMap(@Self)^.&set := $00000040;
  16313. end;
  16314. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16315. begin
  16316. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16317. end;
  16318. procedure TSPI1_SPI1CON.setSSEN; inline;
  16319. begin
  16320. pTDefRegMap(@Self)^.&set := $00000080;
  16321. end;
  16322. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16323. begin
  16324. pTDefRegMap(@Self)^.clr := $00000080;
  16325. end;
  16326. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16327. begin
  16328. if thebits = 0 then
  16329. pTDefRegMap(@Self)^.clr := $00000080
  16330. else
  16331. pTDefRegMap(@Self)^.&set := $00000080;
  16332. end;
  16333. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16334. begin
  16335. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16336. end;
  16337. procedure TSPI1_SPI1CON.setCKE; inline;
  16338. begin
  16339. pTDefRegMap(@Self)^.&set := $00000100;
  16340. end;
  16341. procedure TSPI1_SPI1CON.clearCKE; inline;
  16342. begin
  16343. pTDefRegMap(@Self)^.clr := $00000100;
  16344. end;
  16345. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16346. begin
  16347. if thebits = 0 then
  16348. pTDefRegMap(@Self)^.clr := $00000100
  16349. else
  16350. pTDefRegMap(@Self)^.&set := $00000100;
  16351. end;
  16352. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16353. begin
  16354. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16355. end;
  16356. procedure TSPI1_SPI1CON.setSMP; inline;
  16357. begin
  16358. pTDefRegMap(@Self)^.&set := $00000200;
  16359. end;
  16360. procedure TSPI1_SPI1CON.clearSMP; inline;
  16361. begin
  16362. pTDefRegMap(@Self)^.clr := $00000200;
  16363. end;
  16364. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16365. begin
  16366. if thebits = 0 then
  16367. pTDefRegMap(@Self)^.clr := $00000200
  16368. else
  16369. pTDefRegMap(@Self)^.&set := $00000200;
  16370. end;
  16371. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  16372. begin
  16373. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16374. end;
  16375. procedure TSPI1_SPI1CON.setMODE16; inline;
  16376. begin
  16377. pTDefRegMap(@Self)^.&set := $00000400;
  16378. end;
  16379. procedure TSPI1_SPI1CON.clearMODE16; inline;
  16380. begin
  16381. pTDefRegMap(@Self)^.clr := $00000400;
  16382. end;
  16383. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  16384. begin
  16385. if thebits = 0 then
  16386. pTDefRegMap(@Self)^.clr := $00000400
  16387. else
  16388. pTDefRegMap(@Self)^.&set := $00000400;
  16389. end;
  16390. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  16391. begin
  16392. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16393. end;
  16394. procedure TSPI1_SPI1CON.setMODE32; inline;
  16395. begin
  16396. pTDefRegMap(@Self)^.&set := $00000800;
  16397. end;
  16398. procedure TSPI1_SPI1CON.clearMODE32; inline;
  16399. begin
  16400. pTDefRegMap(@Self)^.clr := $00000800;
  16401. end;
  16402. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  16403. begin
  16404. if thebits = 0 then
  16405. pTDefRegMap(@Self)^.clr := $00000800
  16406. else
  16407. pTDefRegMap(@Self)^.&set := $00000800;
  16408. end;
  16409. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  16410. begin
  16411. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16412. end;
  16413. procedure TSPI1_SPI1CON.setDISSDO; inline;
  16414. begin
  16415. pTDefRegMap(@Self)^.&set := $00001000;
  16416. end;
  16417. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  16418. begin
  16419. pTDefRegMap(@Self)^.clr := $00001000;
  16420. end;
  16421. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  16422. begin
  16423. if thebits = 0 then
  16424. pTDefRegMap(@Self)^.clr := $00001000
  16425. else
  16426. pTDefRegMap(@Self)^.&set := $00001000;
  16427. end;
  16428. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  16429. begin
  16430. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16431. end;
  16432. procedure TSPI1_SPI1CON.setSIDL; inline;
  16433. begin
  16434. pTDefRegMap(@Self)^.&set := $00002000;
  16435. end;
  16436. procedure TSPI1_SPI1CON.clearSIDL; inline;
  16437. begin
  16438. pTDefRegMap(@Self)^.clr := $00002000;
  16439. end;
  16440. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  16441. begin
  16442. if thebits = 0 then
  16443. pTDefRegMap(@Self)^.clr := $00002000
  16444. else
  16445. pTDefRegMap(@Self)^.&set := $00002000;
  16446. end;
  16447. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  16448. begin
  16449. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16450. end;
  16451. procedure TSPI1_SPI1CON.setON; inline;
  16452. begin
  16453. pTDefRegMap(@Self)^.&set := $00008000;
  16454. end;
  16455. procedure TSPI1_SPI1CON.clearON; inline;
  16456. begin
  16457. pTDefRegMap(@Self)^.clr := $00008000;
  16458. end;
  16459. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  16460. begin
  16461. if thebits = 0 then
  16462. pTDefRegMap(@Self)^.clr := $00008000
  16463. else
  16464. pTDefRegMap(@Self)^.&set := $00008000;
  16465. end;
  16466. function TSPI1_SPI1CON.getON : TBits_1; inline;
  16467. begin
  16468. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16469. end;
  16470. procedure TSPI1_SPI1CON.setENHBUF; inline;
  16471. begin
  16472. pTDefRegMap(@Self)^.&set := $00010000;
  16473. end;
  16474. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  16475. begin
  16476. pTDefRegMap(@Self)^.clr := $00010000;
  16477. end;
  16478. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  16479. begin
  16480. if thebits = 0 then
  16481. pTDefRegMap(@Self)^.clr := $00010000
  16482. else
  16483. pTDefRegMap(@Self)^.&set := $00010000;
  16484. end;
  16485. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  16486. begin
  16487. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  16488. end;
  16489. procedure TSPI1_SPI1CON.setSPIFE; inline;
  16490. begin
  16491. pTDefRegMap(@Self)^.&set := $00020000;
  16492. end;
  16493. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  16494. begin
  16495. pTDefRegMap(@Self)^.clr := $00020000;
  16496. end;
  16497. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  16498. begin
  16499. if thebits = 0 then
  16500. pTDefRegMap(@Self)^.clr := $00020000
  16501. else
  16502. pTDefRegMap(@Self)^.&set := $00020000;
  16503. end;
  16504. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  16505. begin
  16506. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  16507. end;
  16508. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  16509. begin
  16510. pTDefRegMap(@Self)^.&set := $00800000;
  16511. end;
  16512. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  16513. begin
  16514. pTDefRegMap(@Self)^.clr := $00800000;
  16515. end;
  16516. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  16517. begin
  16518. if thebits = 0 then
  16519. pTDefRegMap(@Self)^.clr := $00800000
  16520. else
  16521. pTDefRegMap(@Self)^.&set := $00800000;
  16522. end;
  16523. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  16524. begin
  16525. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  16526. end;
  16527. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  16528. begin
  16529. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  16530. end;
  16531. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  16532. begin
  16533. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  16534. end;
  16535. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  16536. begin
  16537. pTDefRegMap(@Self)^.&set := $08000000;
  16538. end;
  16539. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  16540. begin
  16541. pTDefRegMap(@Self)^.clr := $08000000;
  16542. end;
  16543. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  16544. begin
  16545. if thebits = 0 then
  16546. pTDefRegMap(@Self)^.clr := $08000000
  16547. else
  16548. pTDefRegMap(@Self)^.&set := $08000000;
  16549. end;
  16550. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  16551. begin
  16552. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  16553. end;
  16554. procedure TSPI1_SPI1CON.setMSSEN; inline;
  16555. begin
  16556. pTDefRegMap(@Self)^.&set := $10000000;
  16557. end;
  16558. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  16559. begin
  16560. pTDefRegMap(@Self)^.clr := $10000000;
  16561. end;
  16562. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  16563. begin
  16564. if thebits = 0 then
  16565. pTDefRegMap(@Self)^.clr := $10000000
  16566. else
  16567. pTDefRegMap(@Self)^.&set := $10000000;
  16568. end;
  16569. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  16570. begin
  16571. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  16572. end;
  16573. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  16574. begin
  16575. pTDefRegMap(@Self)^.&set := $20000000;
  16576. end;
  16577. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  16578. begin
  16579. pTDefRegMap(@Self)^.clr := $20000000;
  16580. end;
  16581. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  16582. begin
  16583. if thebits = 0 then
  16584. pTDefRegMap(@Self)^.clr := $20000000
  16585. else
  16586. pTDefRegMap(@Self)^.&set := $20000000;
  16587. end;
  16588. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  16589. begin
  16590. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  16591. end;
  16592. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  16593. begin
  16594. pTDefRegMap(@Self)^.&set := $40000000;
  16595. end;
  16596. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  16597. begin
  16598. pTDefRegMap(@Self)^.clr := $40000000;
  16599. end;
  16600. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  16601. begin
  16602. if thebits = 0 then
  16603. pTDefRegMap(@Self)^.clr := $40000000
  16604. else
  16605. pTDefRegMap(@Self)^.&set := $40000000;
  16606. end;
  16607. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  16608. begin
  16609. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  16610. end;
  16611. procedure TSPI1_SPI1CON.setFRMEN; inline;
  16612. begin
  16613. pTDefRegMap(@Self)^.&set := $80000000;
  16614. end;
  16615. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  16616. begin
  16617. pTDefRegMap(@Self)^.clr := $80000000;
  16618. end;
  16619. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  16620. begin
  16621. if thebits = 0 then
  16622. pTDefRegMap(@Self)^.clr := $80000000
  16623. else
  16624. pTDefRegMap(@Self)^.&set := $80000000;
  16625. end;
  16626. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  16627. begin
  16628. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  16629. end;
  16630. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  16631. begin
  16632. pTDefRegMap(@Self)^.val := thebits;
  16633. end;
  16634. function TSPI1_SPI1CON.getw : TBits_32; inline;
  16635. begin
  16636. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16637. end;
  16638. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  16639. begin
  16640. pTDefRegMap(@Self)^.&set := $00000001;
  16641. end;
  16642. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  16643. begin
  16644. pTDefRegMap(@Self)^.clr := $00000001;
  16645. end;
  16646. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  16647. begin
  16648. if thebits = 0 then
  16649. pTDefRegMap(@Self)^.clr := $00000001
  16650. else
  16651. pTDefRegMap(@Self)^.&set := $00000001;
  16652. end;
  16653. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  16654. begin
  16655. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16656. end;
  16657. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  16658. begin
  16659. pTDefRegMap(@Self)^.&set := $00000002;
  16660. end;
  16661. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  16662. begin
  16663. pTDefRegMap(@Self)^.clr := $00000002;
  16664. end;
  16665. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  16666. begin
  16667. if thebits = 0 then
  16668. pTDefRegMap(@Self)^.clr := $00000002
  16669. else
  16670. pTDefRegMap(@Self)^.&set := $00000002;
  16671. end;
  16672. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  16673. begin
  16674. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16675. end;
  16676. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  16677. begin
  16678. pTDefRegMap(@Self)^.&set := $00000008;
  16679. end;
  16680. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  16681. begin
  16682. pTDefRegMap(@Self)^.clr := $00000008;
  16683. end;
  16684. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  16685. begin
  16686. if thebits = 0 then
  16687. pTDefRegMap(@Self)^.clr := $00000008
  16688. else
  16689. pTDefRegMap(@Self)^.&set := $00000008;
  16690. end;
  16691. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  16692. begin
  16693. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16694. end;
  16695. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  16696. begin
  16697. pTDefRegMap(@Self)^.&set := $00000020;
  16698. end;
  16699. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  16700. begin
  16701. pTDefRegMap(@Self)^.clr := $00000020;
  16702. end;
  16703. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  16704. begin
  16705. if thebits = 0 then
  16706. pTDefRegMap(@Self)^.clr := $00000020
  16707. else
  16708. pTDefRegMap(@Self)^.&set := $00000020;
  16709. end;
  16710. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  16711. begin
  16712. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16713. end;
  16714. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  16715. begin
  16716. pTDefRegMap(@Self)^.&set := $00000040;
  16717. end;
  16718. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  16719. begin
  16720. pTDefRegMap(@Self)^.clr := $00000040;
  16721. end;
  16722. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  16723. begin
  16724. if thebits = 0 then
  16725. pTDefRegMap(@Self)^.clr := $00000040
  16726. else
  16727. pTDefRegMap(@Self)^.&set := $00000040;
  16728. end;
  16729. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  16730. begin
  16731. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16732. end;
  16733. procedure TSPI1_SPI1STAT.setSRMT; inline;
  16734. begin
  16735. pTDefRegMap(@Self)^.&set := $00000080;
  16736. end;
  16737. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  16738. begin
  16739. pTDefRegMap(@Self)^.clr := $00000080;
  16740. end;
  16741. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  16742. begin
  16743. if thebits = 0 then
  16744. pTDefRegMap(@Self)^.clr := $00000080
  16745. else
  16746. pTDefRegMap(@Self)^.&set := $00000080;
  16747. end;
  16748. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  16749. begin
  16750. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16751. end;
  16752. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  16753. begin
  16754. pTDefRegMap(@Self)^.&set := $00000100;
  16755. end;
  16756. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  16757. begin
  16758. pTDefRegMap(@Self)^.clr := $00000100;
  16759. end;
  16760. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  16761. begin
  16762. if thebits = 0 then
  16763. pTDefRegMap(@Self)^.clr := $00000100
  16764. else
  16765. pTDefRegMap(@Self)^.&set := $00000100;
  16766. end;
  16767. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  16768. begin
  16769. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16770. end;
  16771. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  16772. begin
  16773. pTDefRegMap(@Self)^.&set := $00000800;
  16774. end;
  16775. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  16776. begin
  16777. pTDefRegMap(@Self)^.clr := $00000800;
  16778. end;
  16779. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  16780. begin
  16781. if thebits = 0 then
  16782. pTDefRegMap(@Self)^.clr := $00000800
  16783. else
  16784. pTDefRegMap(@Self)^.&set := $00000800;
  16785. end;
  16786. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  16787. begin
  16788. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16789. end;
  16790. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  16791. begin
  16792. pTDefRegMap(@Self)^.&set := $00001000;
  16793. end;
  16794. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  16795. begin
  16796. pTDefRegMap(@Self)^.clr := $00001000;
  16797. end;
  16798. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  16799. begin
  16800. if thebits = 0 then
  16801. pTDefRegMap(@Self)^.clr := $00001000
  16802. else
  16803. pTDefRegMap(@Self)^.&set := $00001000;
  16804. end;
  16805. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  16806. begin
  16807. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16808. end;
  16809. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  16810. begin
  16811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  16812. end;
  16813. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  16814. begin
  16815. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  16816. end;
  16817. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  16818. begin
  16819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  16820. end;
  16821. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  16822. begin
  16823. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  16824. end;
  16825. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  16826. begin
  16827. pTDefRegMap(@Self)^.val := thebits;
  16828. end;
  16829. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  16830. begin
  16831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16832. end;
  16833. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  16834. begin
  16835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16836. end;
  16837. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  16838. begin
  16839. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16840. end;
  16841. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  16842. begin
  16843. pTDefRegMap(@Self)^.&set := $00000008;
  16844. end;
  16845. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  16846. begin
  16847. pTDefRegMap(@Self)^.clr := $00000008;
  16848. end;
  16849. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  16850. begin
  16851. if thebits = 0 then
  16852. pTDefRegMap(@Self)^.clr := $00000008
  16853. else
  16854. pTDefRegMap(@Self)^.&set := $00000008;
  16855. end;
  16856. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  16857. begin
  16858. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16859. end;
  16860. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  16861. begin
  16862. pTDefRegMap(@Self)^.&set := $00000080;
  16863. end;
  16864. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  16865. begin
  16866. pTDefRegMap(@Self)^.clr := $00000080;
  16867. end;
  16868. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  16869. begin
  16870. if thebits = 0 then
  16871. pTDefRegMap(@Self)^.clr := $00000080
  16872. else
  16873. pTDefRegMap(@Self)^.&set := $00000080;
  16874. end;
  16875. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  16876. begin
  16877. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16878. end;
  16879. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  16880. begin
  16881. pTDefRegMap(@Self)^.&set := $00000100;
  16882. end;
  16883. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  16884. begin
  16885. pTDefRegMap(@Self)^.clr := $00000100;
  16886. end;
  16887. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  16888. begin
  16889. if thebits = 0 then
  16890. pTDefRegMap(@Self)^.clr := $00000100
  16891. else
  16892. pTDefRegMap(@Self)^.&set := $00000100;
  16893. end;
  16894. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  16895. begin
  16896. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16897. end;
  16898. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  16899. begin
  16900. pTDefRegMap(@Self)^.&set := $00000200;
  16901. end;
  16902. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  16903. begin
  16904. pTDefRegMap(@Self)^.clr := $00000200;
  16905. end;
  16906. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  16907. begin
  16908. if thebits = 0 then
  16909. pTDefRegMap(@Self)^.clr := $00000200
  16910. else
  16911. pTDefRegMap(@Self)^.&set := $00000200;
  16912. end;
  16913. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  16914. begin
  16915. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16916. end;
  16917. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  16918. begin
  16919. pTDefRegMap(@Self)^.&set := $00000400;
  16920. end;
  16921. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  16922. begin
  16923. pTDefRegMap(@Self)^.clr := $00000400;
  16924. end;
  16925. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  16926. begin
  16927. if thebits = 0 then
  16928. pTDefRegMap(@Self)^.clr := $00000400
  16929. else
  16930. pTDefRegMap(@Self)^.&set := $00000400;
  16931. end;
  16932. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  16933. begin
  16934. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16935. end;
  16936. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  16937. begin
  16938. pTDefRegMap(@Self)^.&set := $00000800;
  16939. end;
  16940. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  16941. begin
  16942. pTDefRegMap(@Self)^.clr := $00000800;
  16943. end;
  16944. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  16945. begin
  16946. if thebits = 0 then
  16947. pTDefRegMap(@Self)^.clr := $00000800
  16948. else
  16949. pTDefRegMap(@Self)^.&set := $00000800;
  16950. end;
  16951. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  16952. begin
  16953. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16954. end;
  16955. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  16956. begin
  16957. pTDefRegMap(@Self)^.&set := $00001000;
  16958. end;
  16959. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  16960. begin
  16961. pTDefRegMap(@Self)^.clr := $00001000;
  16962. end;
  16963. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  16964. begin
  16965. if thebits = 0 then
  16966. pTDefRegMap(@Self)^.clr := $00001000
  16967. else
  16968. pTDefRegMap(@Self)^.&set := $00001000;
  16969. end;
  16970. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  16971. begin
  16972. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16973. end;
  16974. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  16975. begin
  16976. pTDefRegMap(@Self)^.&set := $00008000;
  16977. end;
  16978. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  16979. begin
  16980. pTDefRegMap(@Self)^.clr := $00008000;
  16981. end;
  16982. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  16983. begin
  16984. if thebits = 0 then
  16985. pTDefRegMap(@Self)^.clr := $00008000
  16986. else
  16987. pTDefRegMap(@Self)^.&set := $00008000;
  16988. end;
  16989. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  16990. begin
  16991. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16992. end;
  16993. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  16994. begin
  16995. pTDefRegMap(@Self)^.&set := $00000001;
  16996. end;
  16997. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  16998. begin
  16999. pTDefRegMap(@Self)^.clr := $00000001;
  17000. end;
  17001. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17002. begin
  17003. if thebits = 0 then
  17004. pTDefRegMap(@Self)^.clr := $00000001
  17005. else
  17006. pTDefRegMap(@Self)^.&set := $00000001;
  17007. end;
  17008. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17009. begin
  17010. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17011. end;
  17012. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17013. begin
  17014. pTDefRegMap(@Self)^.&set := $00000002;
  17015. end;
  17016. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17017. begin
  17018. pTDefRegMap(@Self)^.clr := $00000002;
  17019. end;
  17020. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17021. begin
  17022. if thebits = 0 then
  17023. pTDefRegMap(@Self)^.clr := $00000002
  17024. else
  17025. pTDefRegMap(@Self)^.&set := $00000002;
  17026. end;
  17027. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17028. begin
  17029. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17030. end;
  17031. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17032. begin
  17033. pTDefRegMap(@Self)^.val := thebits;
  17034. end;
  17035. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17036. begin
  17037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17038. end;
  17039. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17040. begin
  17041. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17042. end;
  17043. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17044. begin
  17045. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17046. end;
  17047. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17048. begin
  17049. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17050. end;
  17051. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17052. begin
  17053. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17054. end;
  17055. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17056. begin
  17057. pTDefRegMap(@Self)^.&set := $00000010;
  17058. end;
  17059. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17060. begin
  17061. pTDefRegMap(@Self)^.clr := $00000010;
  17062. end;
  17063. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17064. begin
  17065. if thebits = 0 then
  17066. pTDefRegMap(@Self)^.clr := $00000010
  17067. else
  17068. pTDefRegMap(@Self)^.&set := $00000010;
  17069. end;
  17070. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17071. begin
  17072. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17073. end;
  17074. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17075. begin
  17076. pTDefRegMap(@Self)^.&set := $00000020;
  17077. end;
  17078. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17079. begin
  17080. pTDefRegMap(@Self)^.clr := $00000020;
  17081. end;
  17082. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17083. begin
  17084. if thebits = 0 then
  17085. pTDefRegMap(@Self)^.clr := $00000020
  17086. else
  17087. pTDefRegMap(@Self)^.&set := $00000020;
  17088. end;
  17089. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17090. begin
  17091. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17092. end;
  17093. procedure TSPI2_SPI2CON.setCKP; inline;
  17094. begin
  17095. pTDefRegMap(@Self)^.&set := $00000040;
  17096. end;
  17097. procedure TSPI2_SPI2CON.clearCKP; inline;
  17098. begin
  17099. pTDefRegMap(@Self)^.clr := $00000040;
  17100. end;
  17101. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17102. begin
  17103. if thebits = 0 then
  17104. pTDefRegMap(@Self)^.clr := $00000040
  17105. else
  17106. pTDefRegMap(@Self)^.&set := $00000040;
  17107. end;
  17108. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17109. begin
  17110. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17111. end;
  17112. procedure TSPI2_SPI2CON.setSSEN; inline;
  17113. begin
  17114. pTDefRegMap(@Self)^.&set := $00000080;
  17115. end;
  17116. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17117. begin
  17118. pTDefRegMap(@Self)^.clr := $00000080;
  17119. end;
  17120. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17121. begin
  17122. if thebits = 0 then
  17123. pTDefRegMap(@Self)^.clr := $00000080
  17124. else
  17125. pTDefRegMap(@Self)^.&set := $00000080;
  17126. end;
  17127. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17128. begin
  17129. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17130. end;
  17131. procedure TSPI2_SPI2CON.setCKE; inline;
  17132. begin
  17133. pTDefRegMap(@Self)^.&set := $00000100;
  17134. end;
  17135. procedure TSPI2_SPI2CON.clearCKE; inline;
  17136. begin
  17137. pTDefRegMap(@Self)^.clr := $00000100;
  17138. end;
  17139. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17140. begin
  17141. if thebits = 0 then
  17142. pTDefRegMap(@Self)^.clr := $00000100
  17143. else
  17144. pTDefRegMap(@Self)^.&set := $00000100;
  17145. end;
  17146. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17147. begin
  17148. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17149. end;
  17150. procedure TSPI2_SPI2CON.setSMP; inline;
  17151. begin
  17152. pTDefRegMap(@Self)^.&set := $00000200;
  17153. end;
  17154. procedure TSPI2_SPI2CON.clearSMP; inline;
  17155. begin
  17156. pTDefRegMap(@Self)^.clr := $00000200;
  17157. end;
  17158. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17159. begin
  17160. if thebits = 0 then
  17161. pTDefRegMap(@Self)^.clr := $00000200
  17162. else
  17163. pTDefRegMap(@Self)^.&set := $00000200;
  17164. end;
  17165. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17166. begin
  17167. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17168. end;
  17169. procedure TSPI2_SPI2CON.setMODE16; inline;
  17170. begin
  17171. pTDefRegMap(@Self)^.&set := $00000400;
  17172. end;
  17173. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17174. begin
  17175. pTDefRegMap(@Self)^.clr := $00000400;
  17176. end;
  17177. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17178. begin
  17179. if thebits = 0 then
  17180. pTDefRegMap(@Self)^.clr := $00000400
  17181. else
  17182. pTDefRegMap(@Self)^.&set := $00000400;
  17183. end;
  17184. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17185. begin
  17186. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17187. end;
  17188. procedure TSPI2_SPI2CON.setMODE32; inline;
  17189. begin
  17190. pTDefRegMap(@Self)^.&set := $00000800;
  17191. end;
  17192. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17193. begin
  17194. pTDefRegMap(@Self)^.clr := $00000800;
  17195. end;
  17196. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17197. begin
  17198. if thebits = 0 then
  17199. pTDefRegMap(@Self)^.clr := $00000800
  17200. else
  17201. pTDefRegMap(@Self)^.&set := $00000800;
  17202. end;
  17203. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17204. begin
  17205. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17206. end;
  17207. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17208. begin
  17209. pTDefRegMap(@Self)^.&set := $00001000;
  17210. end;
  17211. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17212. begin
  17213. pTDefRegMap(@Self)^.clr := $00001000;
  17214. end;
  17215. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17216. begin
  17217. if thebits = 0 then
  17218. pTDefRegMap(@Self)^.clr := $00001000
  17219. else
  17220. pTDefRegMap(@Self)^.&set := $00001000;
  17221. end;
  17222. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17223. begin
  17224. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17225. end;
  17226. procedure TSPI2_SPI2CON.setSIDL; inline;
  17227. begin
  17228. pTDefRegMap(@Self)^.&set := $00002000;
  17229. end;
  17230. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17231. begin
  17232. pTDefRegMap(@Self)^.clr := $00002000;
  17233. end;
  17234. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17235. begin
  17236. if thebits = 0 then
  17237. pTDefRegMap(@Self)^.clr := $00002000
  17238. else
  17239. pTDefRegMap(@Self)^.&set := $00002000;
  17240. end;
  17241. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17242. begin
  17243. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17244. end;
  17245. procedure TSPI2_SPI2CON.setON; inline;
  17246. begin
  17247. pTDefRegMap(@Self)^.&set := $00008000;
  17248. end;
  17249. procedure TSPI2_SPI2CON.clearON; inline;
  17250. begin
  17251. pTDefRegMap(@Self)^.clr := $00008000;
  17252. end;
  17253. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17254. begin
  17255. if thebits = 0 then
  17256. pTDefRegMap(@Self)^.clr := $00008000
  17257. else
  17258. pTDefRegMap(@Self)^.&set := $00008000;
  17259. end;
  17260. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17261. begin
  17262. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17263. end;
  17264. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17265. begin
  17266. pTDefRegMap(@Self)^.&set := $00010000;
  17267. end;
  17268. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17269. begin
  17270. pTDefRegMap(@Self)^.clr := $00010000;
  17271. end;
  17272. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17273. begin
  17274. if thebits = 0 then
  17275. pTDefRegMap(@Self)^.clr := $00010000
  17276. else
  17277. pTDefRegMap(@Self)^.&set := $00010000;
  17278. end;
  17279. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17280. begin
  17281. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17282. end;
  17283. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17284. begin
  17285. pTDefRegMap(@Self)^.&set := $00020000;
  17286. end;
  17287. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17288. begin
  17289. pTDefRegMap(@Self)^.clr := $00020000;
  17290. end;
  17291. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17292. begin
  17293. if thebits = 0 then
  17294. pTDefRegMap(@Self)^.clr := $00020000
  17295. else
  17296. pTDefRegMap(@Self)^.&set := $00020000;
  17297. end;
  17298. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17299. begin
  17300. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17301. end;
  17302. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17303. begin
  17304. pTDefRegMap(@Self)^.&set := $00800000;
  17305. end;
  17306. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17307. begin
  17308. pTDefRegMap(@Self)^.clr := $00800000;
  17309. end;
  17310. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17311. begin
  17312. if thebits = 0 then
  17313. pTDefRegMap(@Self)^.clr := $00800000
  17314. else
  17315. pTDefRegMap(@Self)^.&set := $00800000;
  17316. end;
  17317. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17318. begin
  17319. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17320. end;
  17321. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17322. begin
  17323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17324. end;
  17325. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17326. begin
  17327. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17328. end;
  17329. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17330. begin
  17331. pTDefRegMap(@Self)^.&set := $08000000;
  17332. end;
  17333. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17334. begin
  17335. pTDefRegMap(@Self)^.clr := $08000000;
  17336. end;
  17337. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17338. begin
  17339. if thebits = 0 then
  17340. pTDefRegMap(@Self)^.clr := $08000000
  17341. else
  17342. pTDefRegMap(@Self)^.&set := $08000000;
  17343. end;
  17344. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17345. begin
  17346. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17347. end;
  17348. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17349. begin
  17350. pTDefRegMap(@Self)^.&set := $10000000;
  17351. end;
  17352. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17353. begin
  17354. pTDefRegMap(@Self)^.clr := $10000000;
  17355. end;
  17356. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17357. begin
  17358. if thebits = 0 then
  17359. pTDefRegMap(@Self)^.clr := $10000000
  17360. else
  17361. pTDefRegMap(@Self)^.&set := $10000000;
  17362. end;
  17363. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17364. begin
  17365. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17366. end;
  17367. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  17368. begin
  17369. pTDefRegMap(@Self)^.&set := $20000000;
  17370. end;
  17371. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  17372. begin
  17373. pTDefRegMap(@Self)^.clr := $20000000;
  17374. end;
  17375. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  17376. begin
  17377. if thebits = 0 then
  17378. pTDefRegMap(@Self)^.clr := $20000000
  17379. else
  17380. pTDefRegMap(@Self)^.&set := $20000000;
  17381. end;
  17382. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  17383. begin
  17384. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17385. end;
  17386. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  17387. begin
  17388. pTDefRegMap(@Self)^.&set := $40000000;
  17389. end;
  17390. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  17391. begin
  17392. pTDefRegMap(@Self)^.clr := $40000000;
  17393. end;
  17394. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  17395. begin
  17396. if thebits = 0 then
  17397. pTDefRegMap(@Self)^.clr := $40000000
  17398. else
  17399. pTDefRegMap(@Self)^.&set := $40000000;
  17400. end;
  17401. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  17402. begin
  17403. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17404. end;
  17405. procedure TSPI2_SPI2CON.setFRMEN; inline;
  17406. begin
  17407. pTDefRegMap(@Self)^.&set := $80000000;
  17408. end;
  17409. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  17410. begin
  17411. pTDefRegMap(@Self)^.clr := $80000000;
  17412. end;
  17413. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  17414. begin
  17415. if thebits = 0 then
  17416. pTDefRegMap(@Self)^.clr := $80000000
  17417. else
  17418. pTDefRegMap(@Self)^.&set := $80000000;
  17419. end;
  17420. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  17421. begin
  17422. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17423. end;
  17424. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  17425. begin
  17426. pTDefRegMap(@Self)^.val := thebits;
  17427. end;
  17428. function TSPI2_SPI2CON.getw : TBits_32; inline;
  17429. begin
  17430. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17431. end;
  17432. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  17433. begin
  17434. pTDefRegMap(@Self)^.&set := $00000001;
  17435. end;
  17436. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  17437. begin
  17438. pTDefRegMap(@Self)^.clr := $00000001;
  17439. end;
  17440. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  17441. begin
  17442. if thebits = 0 then
  17443. pTDefRegMap(@Self)^.clr := $00000001
  17444. else
  17445. pTDefRegMap(@Self)^.&set := $00000001;
  17446. end;
  17447. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  17448. begin
  17449. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17450. end;
  17451. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  17452. begin
  17453. pTDefRegMap(@Self)^.&set := $00000002;
  17454. end;
  17455. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  17456. begin
  17457. pTDefRegMap(@Self)^.clr := $00000002;
  17458. end;
  17459. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  17460. begin
  17461. if thebits = 0 then
  17462. pTDefRegMap(@Self)^.clr := $00000002
  17463. else
  17464. pTDefRegMap(@Self)^.&set := $00000002;
  17465. end;
  17466. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  17467. begin
  17468. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17469. end;
  17470. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  17471. begin
  17472. pTDefRegMap(@Self)^.&set := $00000008;
  17473. end;
  17474. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  17475. begin
  17476. pTDefRegMap(@Self)^.clr := $00000008;
  17477. end;
  17478. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  17479. begin
  17480. if thebits = 0 then
  17481. pTDefRegMap(@Self)^.clr := $00000008
  17482. else
  17483. pTDefRegMap(@Self)^.&set := $00000008;
  17484. end;
  17485. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  17486. begin
  17487. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17488. end;
  17489. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  17490. begin
  17491. pTDefRegMap(@Self)^.&set := $00000020;
  17492. end;
  17493. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  17494. begin
  17495. pTDefRegMap(@Self)^.clr := $00000020;
  17496. end;
  17497. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  17498. begin
  17499. if thebits = 0 then
  17500. pTDefRegMap(@Self)^.clr := $00000020
  17501. else
  17502. pTDefRegMap(@Self)^.&set := $00000020;
  17503. end;
  17504. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  17505. begin
  17506. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17507. end;
  17508. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  17509. begin
  17510. pTDefRegMap(@Self)^.&set := $00000040;
  17511. end;
  17512. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  17513. begin
  17514. pTDefRegMap(@Self)^.clr := $00000040;
  17515. end;
  17516. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  17517. begin
  17518. if thebits = 0 then
  17519. pTDefRegMap(@Self)^.clr := $00000040
  17520. else
  17521. pTDefRegMap(@Self)^.&set := $00000040;
  17522. end;
  17523. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  17524. begin
  17525. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17526. end;
  17527. procedure TSPI2_SPI2STAT.setSRMT; inline;
  17528. begin
  17529. pTDefRegMap(@Self)^.&set := $00000080;
  17530. end;
  17531. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  17532. begin
  17533. pTDefRegMap(@Self)^.clr := $00000080;
  17534. end;
  17535. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  17536. begin
  17537. if thebits = 0 then
  17538. pTDefRegMap(@Self)^.clr := $00000080
  17539. else
  17540. pTDefRegMap(@Self)^.&set := $00000080;
  17541. end;
  17542. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  17543. begin
  17544. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17545. end;
  17546. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  17547. begin
  17548. pTDefRegMap(@Self)^.&set := $00000100;
  17549. end;
  17550. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  17551. begin
  17552. pTDefRegMap(@Self)^.clr := $00000100;
  17553. end;
  17554. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  17555. begin
  17556. if thebits = 0 then
  17557. pTDefRegMap(@Self)^.clr := $00000100
  17558. else
  17559. pTDefRegMap(@Self)^.&set := $00000100;
  17560. end;
  17561. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  17562. begin
  17563. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17564. end;
  17565. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  17566. begin
  17567. pTDefRegMap(@Self)^.&set := $00000800;
  17568. end;
  17569. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  17570. begin
  17571. pTDefRegMap(@Self)^.clr := $00000800;
  17572. end;
  17573. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  17574. begin
  17575. if thebits = 0 then
  17576. pTDefRegMap(@Self)^.clr := $00000800
  17577. else
  17578. pTDefRegMap(@Self)^.&set := $00000800;
  17579. end;
  17580. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  17581. begin
  17582. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17583. end;
  17584. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  17585. begin
  17586. pTDefRegMap(@Self)^.&set := $00001000;
  17587. end;
  17588. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  17589. begin
  17590. pTDefRegMap(@Self)^.clr := $00001000;
  17591. end;
  17592. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  17593. begin
  17594. if thebits = 0 then
  17595. pTDefRegMap(@Self)^.clr := $00001000
  17596. else
  17597. pTDefRegMap(@Self)^.&set := $00001000;
  17598. end;
  17599. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  17600. begin
  17601. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17602. end;
  17603. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  17604. begin
  17605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17606. end;
  17607. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  17608. begin
  17609. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17610. end;
  17611. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  17612. begin
  17613. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17614. end;
  17615. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  17616. begin
  17617. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17618. end;
  17619. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  17620. begin
  17621. pTDefRegMap(@Self)^.val := thebits;
  17622. end;
  17623. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  17624. begin
  17625. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17626. end;
  17627. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  17628. begin
  17629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17630. end;
  17631. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  17632. begin
  17633. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17634. end;
  17635. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  17636. begin
  17637. pTDefRegMap(@Self)^.&set := $00000008;
  17638. end;
  17639. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  17640. begin
  17641. pTDefRegMap(@Self)^.clr := $00000008;
  17642. end;
  17643. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  17644. begin
  17645. if thebits = 0 then
  17646. pTDefRegMap(@Self)^.clr := $00000008
  17647. else
  17648. pTDefRegMap(@Self)^.&set := $00000008;
  17649. end;
  17650. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  17651. begin
  17652. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17653. end;
  17654. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  17655. begin
  17656. pTDefRegMap(@Self)^.&set := $00000080;
  17657. end;
  17658. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  17659. begin
  17660. pTDefRegMap(@Self)^.clr := $00000080;
  17661. end;
  17662. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  17663. begin
  17664. if thebits = 0 then
  17665. pTDefRegMap(@Self)^.clr := $00000080
  17666. else
  17667. pTDefRegMap(@Self)^.&set := $00000080;
  17668. end;
  17669. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  17670. begin
  17671. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17672. end;
  17673. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  17674. begin
  17675. pTDefRegMap(@Self)^.&set := $00000100;
  17676. end;
  17677. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  17678. begin
  17679. pTDefRegMap(@Self)^.clr := $00000100;
  17680. end;
  17681. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  17682. begin
  17683. if thebits = 0 then
  17684. pTDefRegMap(@Self)^.clr := $00000100
  17685. else
  17686. pTDefRegMap(@Self)^.&set := $00000100;
  17687. end;
  17688. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  17689. begin
  17690. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17691. end;
  17692. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  17693. begin
  17694. pTDefRegMap(@Self)^.&set := $00000200;
  17695. end;
  17696. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  17697. begin
  17698. pTDefRegMap(@Self)^.clr := $00000200;
  17699. end;
  17700. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  17701. begin
  17702. if thebits = 0 then
  17703. pTDefRegMap(@Self)^.clr := $00000200
  17704. else
  17705. pTDefRegMap(@Self)^.&set := $00000200;
  17706. end;
  17707. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  17708. begin
  17709. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17710. end;
  17711. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  17712. begin
  17713. pTDefRegMap(@Self)^.&set := $00000400;
  17714. end;
  17715. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  17716. begin
  17717. pTDefRegMap(@Self)^.clr := $00000400;
  17718. end;
  17719. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  17720. begin
  17721. if thebits = 0 then
  17722. pTDefRegMap(@Self)^.clr := $00000400
  17723. else
  17724. pTDefRegMap(@Self)^.&set := $00000400;
  17725. end;
  17726. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  17727. begin
  17728. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17729. end;
  17730. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  17731. begin
  17732. pTDefRegMap(@Self)^.&set := $00000800;
  17733. end;
  17734. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  17735. begin
  17736. pTDefRegMap(@Self)^.clr := $00000800;
  17737. end;
  17738. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  17739. begin
  17740. if thebits = 0 then
  17741. pTDefRegMap(@Self)^.clr := $00000800
  17742. else
  17743. pTDefRegMap(@Self)^.&set := $00000800;
  17744. end;
  17745. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  17746. begin
  17747. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17748. end;
  17749. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  17750. begin
  17751. pTDefRegMap(@Self)^.&set := $00001000;
  17752. end;
  17753. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  17754. begin
  17755. pTDefRegMap(@Self)^.clr := $00001000;
  17756. end;
  17757. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  17758. begin
  17759. if thebits = 0 then
  17760. pTDefRegMap(@Self)^.clr := $00001000
  17761. else
  17762. pTDefRegMap(@Self)^.&set := $00001000;
  17763. end;
  17764. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  17765. begin
  17766. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17767. end;
  17768. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  17769. begin
  17770. pTDefRegMap(@Self)^.&set := $00008000;
  17771. end;
  17772. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  17773. begin
  17774. pTDefRegMap(@Self)^.clr := $00008000;
  17775. end;
  17776. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17777. begin
  17778. if thebits = 0 then
  17779. pTDefRegMap(@Self)^.clr := $00008000
  17780. else
  17781. pTDefRegMap(@Self)^.&set := $00008000;
  17782. end;
  17783. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  17784. begin
  17785. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17786. end;
  17787. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  17788. begin
  17789. pTDefRegMap(@Self)^.&set := $00000001;
  17790. end;
  17791. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  17792. begin
  17793. pTDefRegMap(@Self)^.clr := $00000001;
  17794. end;
  17795. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  17796. begin
  17797. if thebits = 0 then
  17798. pTDefRegMap(@Self)^.clr := $00000001
  17799. else
  17800. pTDefRegMap(@Self)^.&set := $00000001;
  17801. end;
  17802. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  17803. begin
  17804. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17805. end;
  17806. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  17807. begin
  17808. pTDefRegMap(@Self)^.&set := $00000002;
  17809. end;
  17810. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  17811. begin
  17812. pTDefRegMap(@Self)^.clr := $00000002;
  17813. end;
  17814. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  17815. begin
  17816. if thebits = 0 then
  17817. pTDefRegMap(@Self)^.clr := $00000002
  17818. else
  17819. pTDefRegMap(@Self)^.&set := $00000002;
  17820. end;
  17821. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  17822. begin
  17823. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17824. end;
  17825. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  17826. begin
  17827. pTDefRegMap(@Self)^.val := thebits;
  17828. end;
  17829. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  17830. begin
  17831. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17832. end;
  17833. procedure TUART1_U1AMODE.setSTSEL; inline;
  17834. begin
  17835. pTDefRegMap(@Self)^.&set := $00000001;
  17836. end;
  17837. procedure TUART1_U1AMODE.clearSTSEL; inline;
  17838. begin
  17839. pTDefRegMap(@Self)^.clr := $00000001;
  17840. end;
  17841. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  17842. begin
  17843. if thebits = 0 then
  17844. pTDefRegMap(@Self)^.clr := $00000001
  17845. else
  17846. pTDefRegMap(@Self)^.&set := $00000001;
  17847. end;
  17848. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  17849. begin
  17850. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17851. end;
  17852. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  17853. begin
  17854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  17855. end;
  17856. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  17857. begin
  17858. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  17859. end;
  17860. procedure TUART1_U1AMODE.setBRGH; inline;
  17861. begin
  17862. pTDefRegMap(@Self)^.&set := $00000008;
  17863. end;
  17864. procedure TUART1_U1AMODE.clearBRGH; inline;
  17865. begin
  17866. pTDefRegMap(@Self)^.clr := $00000008;
  17867. end;
  17868. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  17869. begin
  17870. if thebits = 0 then
  17871. pTDefRegMap(@Self)^.clr := $00000008
  17872. else
  17873. pTDefRegMap(@Self)^.&set := $00000008;
  17874. end;
  17875. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  17876. begin
  17877. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17878. end;
  17879. procedure TUART1_U1AMODE.setRXINV; inline;
  17880. begin
  17881. pTDefRegMap(@Self)^.&set := $00000010;
  17882. end;
  17883. procedure TUART1_U1AMODE.clearRXINV; inline;
  17884. begin
  17885. pTDefRegMap(@Self)^.clr := $00000010;
  17886. end;
  17887. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  17888. begin
  17889. if thebits = 0 then
  17890. pTDefRegMap(@Self)^.clr := $00000010
  17891. else
  17892. pTDefRegMap(@Self)^.&set := $00000010;
  17893. end;
  17894. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  17895. begin
  17896. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17897. end;
  17898. procedure TUART1_U1AMODE.setABAUD; inline;
  17899. begin
  17900. pTDefRegMap(@Self)^.&set := $00000020;
  17901. end;
  17902. procedure TUART1_U1AMODE.clearABAUD; inline;
  17903. begin
  17904. pTDefRegMap(@Self)^.clr := $00000020;
  17905. end;
  17906. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  17907. begin
  17908. if thebits = 0 then
  17909. pTDefRegMap(@Self)^.clr := $00000020
  17910. else
  17911. pTDefRegMap(@Self)^.&set := $00000020;
  17912. end;
  17913. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  17914. begin
  17915. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17916. end;
  17917. procedure TUART1_U1AMODE.setLPBACK; inline;
  17918. begin
  17919. pTDefRegMap(@Self)^.&set := $00000040;
  17920. end;
  17921. procedure TUART1_U1AMODE.clearLPBACK; inline;
  17922. begin
  17923. pTDefRegMap(@Self)^.clr := $00000040;
  17924. end;
  17925. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  17926. begin
  17927. if thebits = 0 then
  17928. pTDefRegMap(@Self)^.clr := $00000040
  17929. else
  17930. pTDefRegMap(@Self)^.&set := $00000040;
  17931. end;
  17932. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  17933. begin
  17934. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17935. end;
  17936. procedure TUART1_U1AMODE.setWAKE; inline;
  17937. begin
  17938. pTDefRegMap(@Self)^.&set := $00000080;
  17939. end;
  17940. procedure TUART1_U1AMODE.clearWAKE; inline;
  17941. begin
  17942. pTDefRegMap(@Self)^.clr := $00000080;
  17943. end;
  17944. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  17945. begin
  17946. if thebits = 0 then
  17947. pTDefRegMap(@Self)^.clr := $00000080
  17948. else
  17949. pTDefRegMap(@Self)^.&set := $00000080;
  17950. end;
  17951. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  17952. begin
  17953. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17954. end;
  17955. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  17956. begin
  17957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  17958. end;
  17959. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  17960. begin
  17961. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  17962. end;
  17963. procedure TUART1_U1AMODE.setRTSMD; inline;
  17964. begin
  17965. pTDefRegMap(@Self)^.&set := $00000800;
  17966. end;
  17967. procedure TUART1_U1AMODE.clearRTSMD; inline;
  17968. begin
  17969. pTDefRegMap(@Self)^.clr := $00000800;
  17970. end;
  17971. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  17972. begin
  17973. if thebits = 0 then
  17974. pTDefRegMap(@Self)^.clr := $00000800
  17975. else
  17976. pTDefRegMap(@Self)^.&set := $00000800;
  17977. end;
  17978. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  17979. begin
  17980. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17981. end;
  17982. procedure TUART1_U1AMODE.setIREN; inline;
  17983. begin
  17984. pTDefRegMap(@Self)^.&set := $00001000;
  17985. end;
  17986. procedure TUART1_U1AMODE.clearIREN; inline;
  17987. begin
  17988. pTDefRegMap(@Self)^.clr := $00001000;
  17989. end;
  17990. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  17991. begin
  17992. if thebits = 0 then
  17993. pTDefRegMap(@Self)^.clr := $00001000
  17994. else
  17995. pTDefRegMap(@Self)^.&set := $00001000;
  17996. end;
  17997. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  17998. begin
  17999. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18000. end;
  18001. procedure TUART1_U1AMODE.setSIDL; inline;
  18002. begin
  18003. pTDefRegMap(@Self)^.&set := $00002000;
  18004. end;
  18005. procedure TUART1_U1AMODE.clearSIDL; inline;
  18006. begin
  18007. pTDefRegMap(@Self)^.clr := $00002000;
  18008. end;
  18009. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18010. begin
  18011. if thebits = 0 then
  18012. pTDefRegMap(@Self)^.clr := $00002000
  18013. else
  18014. pTDefRegMap(@Self)^.&set := $00002000;
  18015. end;
  18016. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18017. begin
  18018. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18019. end;
  18020. procedure TUART1_U1AMODE.setON; inline;
  18021. begin
  18022. pTDefRegMap(@Self)^.&set := $00008000;
  18023. end;
  18024. procedure TUART1_U1AMODE.clearON; inline;
  18025. begin
  18026. pTDefRegMap(@Self)^.clr := $00008000;
  18027. end;
  18028. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18029. begin
  18030. if thebits = 0 then
  18031. pTDefRegMap(@Self)^.clr := $00008000
  18032. else
  18033. pTDefRegMap(@Self)^.&set := $00008000;
  18034. end;
  18035. function TUART1_U1AMODE.getON : TBits_1; inline;
  18036. begin
  18037. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18038. end;
  18039. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18040. begin
  18041. pTDefRegMap(@Self)^.&set := $00000002;
  18042. end;
  18043. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18044. begin
  18045. pTDefRegMap(@Self)^.clr := $00000002;
  18046. end;
  18047. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18048. begin
  18049. if thebits = 0 then
  18050. pTDefRegMap(@Self)^.clr := $00000002
  18051. else
  18052. pTDefRegMap(@Self)^.&set := $00000002;
  18053. end;
  18054. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18055. begin
  18056. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18057. end;
  18058. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18059. begin
  18060. pTDefRegMap(@Self)^.&set := $00000004;
  18061. end;
  18062. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18063. begin
  18064. pTDefRegMap(@Self)^.clr := $00000004;
  18065. end;
  18066. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18067. begin
  18068. if thebits = 0 then
  18069. pTDefRegMap(@Self)^.clr := $00000004
  18070. else
  18071. pTDefRegMap(@Self)^.&set := $00000004;
  18072. end;
  18073. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18074. begin
  18075. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18076. end;
  18077. procedure TUART1_U1AMODE.setUEN0; inline;
  18078. begin
  18079. pTDefRegMap(@Self)^.&set := $00000100;
  18080. end;
  18081. procedure TUART1_U1AMODE.clearUEN0; inline;
  18082. begin
  18083. pTDefRegMap(@Self)^.clr := $00000100;
  18084. end;
  18085. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18086. begin
  18087. if thebits = 0 then
  18088. pTDefRegMap(@Self)^.clr := $00000100
  18089. else
  18090. pTDefRegMap(@Self)^.&set := $00000100;
  18091. end;
  18092. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18093. begin
  18094. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18095. end;
  18096. procedure TUART1_U1AMODE.setUEN1; inline;
  18097. begin
  18098. pTDefRegMap(@Self)^.&set := $00000200;
  18099. end;
  18100. procedure TUART1_U1AMODE.clearUEN1; inline;
  18101. begin
  18102. pTDefRegMap(@Self)^.clr := $00000200;
  18103. end;
  18104. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18105. begin
  18106. if thebits = 0 then
  18107. pTDefRegMap(@Self)^.clr := $00000200
  18108. else
  18109. pTDefRegMap(@Self)^.&set := $00000200;
  18110. end;
  18111. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18112. begin
  18113. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18114. end;
  18115. procedure TUART1_U1AMODE.setUSIDL; inline;
  18116. begin
  18117. pTDefRegMap(@Self)^.&set := $00002000;
  18118. end;
  18119. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18120. begin
  18121. pTDefRegMap(@Self)^.clr := $00002000;
  18122. end;
  18123. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18124. begin
  18125. if thebits = 0 then
  18126. pTDefRegMap(@Self)^.clr := $00002000
  18127. else
  18128. pTDefRegMap(@Self)^.&set := $00002000;
  18129. end;
  18130. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18131. begin
  18132. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18133. end;
  18134. procedure TUART1_U1AMODE.setUARTEN; inline;
  18135. begin
  18136. pTDefRegMap(@Self)^.&set := $00008000;
  18137. end;
  18138. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18139. begin
  18140. pTDefRegMap(@Self)^.clr := $00008000;
  18141. end;
  18142. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18143. begin
  18144. if thebits = 0 then
  18145. pTDefRegMap(@Self)^.clr := $00008000
  18146. else
  18147. pTDefRegMap(@Self)^.&set := $00008000;
  18148. end;
  18149. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18150. begin
  18151. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18152. end;
  18153. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18154. begin
  18155. pTDefRegMap(@Self)^.val := thebits;
  18156. end;
  18157. function TUART1_U1AMODE.getw : TBits_32; inline;
  18158. begin
  18159. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18160. end;
  18161. procedure TUART1_U1MODE.setSTSEL; inline;
  18162. begin
  18163. pTDefRegMap(@Self)^.&set := $00000001;
  18164. end;
  18165. procedure TUART1_U1MODE.clearSTSEL; inline;
  18166. begin
  18167. pTDefRegMap(@Self)^.clr := $00000001;
  18168. end;
  18169. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18170. begin
  18171. if thebits = 0 then
  18172. pTDefRegMap(@Self)^.clr := $00000001
  18173. else
  18174. pTDefRegMap(@Self)^.&set := $00000001;
  18175. end;
  18176. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18177. begin
  18178. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18179. end;
  18180. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18181. begin
  18182. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18183. end;
  18184. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18185. begin
  18186. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18187. end;
  18188. procedure TUART1_U1MODE.setBRGH; inline;
  18189. begin
  18190. pTDefRegMap(@Self)^.&set := $00000008;
  18191. end;
  18192. procedure TUART1_U1MODE.clearBRGH; inline;
  18193. begin
  18194. pTDefRegMap(@Self)^.clr := $00000008;
  18195. end;
  18196. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18197. begin
  18198. if thebits = 0 then
  18199. pTDefRegMap(@Self)^.clr := $00000008
  18200. else
  18201. pTDefRegMap(@Self)^.&set := $00000008;
  18202. end;
  18203. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18204. begin
  18205. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18206. end;
  18207. procedure TUART1_U1MODE.setRXINV; inline;
  18208. begin
  18209. pTDefRegMap(@Self)^.&set := $00000010;
  18210. end;
  18211. procedure TUART1_U1MODE.clearRXINV; inline;
  18212. begin
  18213. pTDefRegMap(@Self)^.clr := $00000010;
  18214. end;
  18215. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18216. begin
  18217. if thebits = 0 then
  18218. pTDefRegMap(@Self)^.clr := $00000010
  18219. else
  18220. pTDefRegMap(@Self)^.&set := $00000010;
  18221. end;
  18222. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18223. begin
  18224. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18225. end;
  18226. procedure TUART1_U1MODE.setABAUD; inline;
  18227. begin
  18228. pTDefRegMap(@Self)^.&set := $00000020;
  18229. end;
  18230. procedure TUART1_U1MODE.clearABAUD; inline;
  18231. begin
  18232. pTDefRegMap(@Self)^.clr := $00000020;
  18233. end;
  18234. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18235. begin
  18236. if thebits = 0 then
  18237. pTDefRegMap(@Self)^.clr := $00000020
  18238. else
  18239. pTDefRegMap(@Self)^.&set := $00000020;
  18240. end;
  18241. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18242. begin
  18243. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18244. end;
  18245. procedure TUART1_U1MODE.setLPBACK; inline;
  18246. begin
  18247. pTDefRegMap(@Self)^.&set := $00000040;
  18248. end;
  18249. procedure TUART1_U1MODE.clearLPBACK; inline;
  18250. begin
  18251. pTDefRegMap(@Self)^.clr := $00000040;
  18252. end;
  18253. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18254. begin
  18255. if thebits = 0 then
  18256. pTDefRegMap(@Self)^.clr := $00000040
  18257. else
  18258. pTDefRegMap(@Self)^.&set := $00000040;
  18259. end;
  18260. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18261. begin
  18262. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18263. end;
  18264. procedure TUART1_U1MODE.setWAKE; inline;
  18265. begin
  18266. pTDefRegMap(@Self)^.&set := $00000080;
  18267. end;
  18268. procedure TUART1_U1MODE.clearWAKE; inline;
  18269. begin
  18270. pTDefRegMap(@Self)^.clr := $00000080;
  18271. end;
  18272. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18273. begin
  18274. if thebits = 0 then
  18275. pTDefRegMap(@Self)^.clr := $00000080
  18276. else
  18277. pTDefRegMap(@Self)^.&set := $00000080;
  18278. end;
  18279. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18280. begin
  18281. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18282. end;
  18283. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18284. begin
  18285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18286. end;
  18287. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18288. begin
  18289. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18290. end;
  18291. procedure TUART1_U1MODE.setRTSMD; inline;
  18292. begin
  18293. pTDefRegMap(@Self)^.&set := $00000800;
  18294. end;
  18295. procedure TUART1_U1MODE.clearRTSMD; inline;
  18296. begin
  18297. pTDefRegMap(@Self)^.clr := $00000800;
  18298. end;
  18299. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18300. begin
  18301. if thebits = 0 then
  18302. pTDefRegMap(@Self)^.clr := $00000800
  18303. else
  18304. pTDefRegMap(@Self)^.&set := $00000800;
  18305. end;
  18306. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18307. begin
  18308. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18309. end;
  18310. procedure TUART1_U1MODE.setIREN; inline;
  18311. begin
  18312. pTDefRegMap(@Self)^.&set := $00001000;
  18313. end;
  18314. procedure TUART1_U1MODE.clearIREN; inline;
  18315. begin
  18316. pTDefRegMap(@Self)^.clr := $00001000;
  18317. end;
  18318. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18319. begin
  18320. if thebits = 0 then
  18321. pTDefRegMap(@Self)^.clr := $00001000
  18322. else
  18323. pTDefRegMap(@Self)^.&set := $00001000;
  18324. end;
  18325. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18326. begin
  18327. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18328. end;
  18329. procedure TUART1_U1MODE.setSIDL; inline;
  18330. begin
  18331. pTDefRegMap(@Self)^.&set := $00002000;
  18332. end;
  18333. procedure TUART1_U1MODE.clearSIDL; inline;
  18334. begin
  18335. pTDefRegMap(@Self)^.clr := $00002000;
  18336. end;
  18337. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18338. begin
  18339. if thebits = 0 then
  18340. pTDefRegMap(@Self)^.clr := $00002000
  18341. else
  18342. pTDefRegMap(@Self)^.&set := $00002000;
  18343. end;
  18344. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18345. begin
  18346. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18347. end;
  18348. procedure TUART1_U1MODE.setON; inline;
  18349. begin
  18350. pTDefRegMap(@Self)^.&set := $00008000;
  18351. end;
  18352. procedure TUART1_U1MODE.clearON; inline;
  18353. begin
  18354. pTDefRegMap(@Self)^.clr := $00008000;
  18355. end;
  18356. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18357. begin
  18358. if thebits = 0 then
  18359. pTDefRegMap(@Self)^.clr := $00008000
  18360. else
  18361. pTDefRegMap(@Self)^.&set := $00008000;
  18362. end;
  18363. function TUART1_U1MODE.getON : TBits_1; inline;
  18364. begin
  18365. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18366. end;
  18367. procedure TUART1_U1MODE.setPDSEL0; inline;
  18368. begin
  18369. pTDefRegMap(@Self)^.&set := $00000002;
  18370. end;
  18371. procedure TUART1_U1MODE.clearPDSEL0; inline;
  18372. begin
  18373. pTDefRegMap(@Self)^.clr := $00000002;
  18374. end;
  18375. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  18376. begin
  18377. if thebits = 0 then
  18378. pTDefRegMap(@Self)^.clr := $00000002
  18379. else
  18380. pTDefRegMap(@Self)^.&set := $00000002;
  18381. end;
  18382. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  18383. begin
  18384. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18385. end;
  18386. procedure TUART1_U1MODE.setPDSEL1; inline;
  18387. begin
  18388. pTDefRegMap(@Self)^.&set := $00000004;
  18389. end;
  18390. procedure TUART1_U1MODE.clearPDSEL1; inline;
  18391. begin
  18392. pTDefRegMap(@Self)^.clr := $00000004;
  18393. end;
  18394. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  18395. begin
  18396. if thebits = 0 then
  18397. pTDefRegMap(@Self)^.clr := $00000004
  18398. else
  18399. pTDefRegMap(@Self)^.&set := $00000004;
  18400. end;
  18401. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  18402. begin
  18403. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18404. end;
  18405. procedure TUART1_U1MODE.setUEN0; inline;
  18406. begin
  18407. pTDefRegMap(@Self)^.&set := $00000100;
  18408. end;
  18409. procedure TUART1_U1MODE.clearUEN0; inline;
  18410. begin
  18411. pTDefRegMap(@Self)^.clr := $00000100;
  18412. end;
  18413. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  18414. begin
  18415. if thebits = 0 then
  18416. pTDefRegMap(@Self)^.clr := $00000100
  18417. else
  18418. pTDefRegMap(@Self)^.&set := $00000100;
  18419. end;
  18420. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  18421. begin
  18422. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18423. end;
  18424. procedure TUART1_U1MODE.setUEN1; inline;
  18425. begin
  18426. pTDefRegMap(@Self)^.&set := $00000200;
  18427. end;
  18428. procedure TUART1_U1MODE.clearUEN1; inline;
  18429. begin
  18430. pTDefRegMap(@Self)^.clr := $00000200;
  18431. end;
  18432. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  18433. begin
  18434. if thebits = 0 then
  18435. pTDefRegMap(@Self)^.clr := $00000200
  18436. else
  18437. pTDefRegMap(@Self)^.&set := $00000200;
  18438. end;
  18439. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  18440. begin
  18441. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18442. end;
  18443. procedure TUART1_U1MODE.setUSIDL; inline;
  18444. begin
  18445. pTDefRegMap(@Self)^.&set := $00002000;
  18446. end;
  18447. procedure TUART1_U1MODE.clearUSIDL; inline;
  18448. begin
  18449. pTDefRegMap(@Self)^.clr := $00002000;
  18450. end;
  18451. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  18452. begin
  18453. if thebits = 0 then
  18454. pTDefRegMap(@Self)^.clr := $00002000
  18455. else
  18456. pTDefRegMap(@Self)^.&set := $00002000;
  18457. end;
  18458. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  18459. begin
  18460. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18461. end;
  18462. procedure TUART1_U1MODE.setUARTEN; inline;
  18463. begin
  18464. pTDefRegMap(@Self)^.&set := $00008000;
  18465. end;
  18466. procedure TUART1_U1MODE.clearUARTEN; inline;
  18467. begin
  18468. pTDefRegMap(@Self)^.clr := $00008000;
  18469. end;
  18470. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  18471. begin
  18472. if thebits = 0 then
  18473. pTDefRegMap(@Self)^.clr := $00008000
  18474. else
  18475. pTDefRegMap(@Self)^.&set := $00008000;
  18476. end;
  18477. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  18478. begin
  18479. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18480. end;
  18481. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  18482. begin
  18483. pTDefRegMap(@Self)^.val := thebits;
  18484. end;
  18485. function TUART1_U1MODE.getw : TBits_32; inline;
  18486. begin
  18487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18488. end;
  18489. procedure TUART1_U1ASTA.setURXDA; inline;
  18490. begin
  18491. pTDefRegMap(@Self)^.&set := $00000001;
  18492. end;
  18493. procedure TUART1_U1ASTA.clearURXDA; inline;
  18494. begin
  18495. pTDefRegMap(@Self)^.clr := $00000001;
  18496. end;
  18497. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  18498. begin
  18499. if thebits = 0 then
  18500. pTDefRegMap(@Self)^.clr := $00000001
  18501. else
  18502. pTDefRegMap(@Self)^.&set := $00000001;
  18503. end;
  18504. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  18505. begin
  18506. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18507. end;
  18508. procedure TUART1_U1ASTA.setOERR; inline;
  18509. begin
  18510. pTDefRegMap(@Self)^.&set := $00000002;
  18511. end;
  18512. procedure TUART1_U1ASTA.clearOERR; inline;
  18513. begin
  18514. pTDefRegMap(@Self)^.clr := $00000002;
  18515. end;
  18516. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  18517. begin
  18518. if thebits = 0 then
  18519. pTDefRegMap(@Self)^.clr := $00000002
  18520. else
  18521. pTDefRegMap(@Self)^.&set := $00000002;
  18522. end;
  18523. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  18524. begin
  18525. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18526. end;
  18527. procedure TUART1_U1ASTA.setFERR; inline;
  18528. begin
  18529. pTDefRegMap(@Self)^.&set := $00000004;
  18530. end;
  18531. procedure TUART1_U1ASTA.clearFERR; inline;
  18532. begin
  18533. pTDefRegMap(@Self)^.clr := $00000004;
  18534. end;
  18535. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  18536. begin
  18537. if thebits = 0 then
  18538. pTDefRegMap(@Self)^.clr := $00000004
  18539. else
  18540. pTDefRegMap(@Self)^.&set := $00000004;
  18541. end;
  18542. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  18543. begin
  18544. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18545. end;
  18546. procedure TUART1_U1ASTA.setPERR; inline;
  18547. begin
  18548. pTDefRegMap(@Self)^.&set := $00000008;
  18549. end;
  18550. procedure TUART1_U1ASTA.clearPERR; inline;
  18551. begin
  18552. pTDefRegMap(@Self)^.clr := $00000008;
  18553. end;
  18554. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  18555. begin
  18556. if thebits = 0 then
  18557. pTDefRegMap(@Self)^.clr := $00000008
  18558. else
  18559. pTDefRegMap(@Self)^.&set := $00000008;
  18560. end;
  18561. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  18562. begin
  18563. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18564. end;
  18565. procedure TUART1_U1ASTA.setRIDLE; inline;
  18566. begin
  18567. pTDefRegMap(@Self)^.&set := $00000010;
  18568. end;
  18569. procedure TUART1_U1ASTA.clearRIDLE; inline;
  18570. begin
  18571. pTDefRegMap(@Self)^.clr := $00000010;
  18572. end;
  18573. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  18574. begin
  18575. if thebits = 0 then
  18576. pTDefRegMap(@Self)^.clr := $00000010
  18577. else
  18578. pTDefRegMap(@Self)^.&set := $00000010;
  18579. end;
  18580. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  18581. begin
  18582. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18583. end;
  18584. procedure TUART1_U1ASTA.setADDEN; inline;
  18585. begin
  18586. pTDefRegMap(@Self)^.&set := $00000020;
  18587. end;
  18588. procedure TUART1_U1ASTA.clearADDEN; inline;
  18589. begin
  18590. pTDefRegMap(@Self)^.clr := $00000020;
  18591. end;
  18592. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  18593. begin
  18594. if thebits = 0 then
  18595. pTDefRegMap(@Self)^.clr := $00000020
  18596. else
  18597. pTDefRegMap(@Self)^.&set := $00000020;
  18598. end;
  18599. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  18600. begin
  18601. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18602. end;
  18603. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  18604. begin
  18605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18606. end;
  18607. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  18608. begin
  18609. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18610. end;
  18611. procedure TUART1_U1ASTA.setTRMT; inline;
  18612. begin
  18613. pTDefRegMap(@Self)^.&set := $00000100;
  18614. end;
  18615. procedure TUART1_U1ASTA.clearTRMT; inline;
  18616. begin
  18617. pTDefRegMap(@Self)^.clr := $00000100;
  18618. end;
  18619. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  18620. begin
  18621. if thebits = 0 then
  18622. pTDefRegMap(@Self)^.clr := $00000100
  18623. else
  18624. pTDefRegMap(@Self)^.&set := $00000100;
  18625. end;
  18626. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  18627. begin
  18628. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18629. end;
  18630. procedure TUART1_U1ASTA.setUTXBF; inline;
  18631. begin
  18632. pTDefRegMap(@Self)^.&set := $00000200;
  18633. end;
  18634. procedure TUART1_U1ASTA.clearUTXBF; inline;
  18635. begin
  18636. pTDefRegMap(@Self)^.clr := $00000200;
  18637. end;
  18638. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  18639. begin
  18640. if thebits = 0 then
  18641. pTDefRegMap(@Self)^.clr := $00000200
  18642. else
  18643. pTDefRegMap(@Self)^.&set := $00000200;
  18644. end;
  18645. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  18646. begin
  18647. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18648. end;
  18649. procedure TUART1_U1ASTA.setUTXEN; inline;
  18650. begin
  18651. pTDefRegMap(@Self)^.&set := $00000400;
  18652. end;
  18653. procedure TUART1_U1ASTA.clearUTXEN; inline;
  18654. begin
  18655. pTDefRegMap(@Self)^.clr := $00000400;
  18656. end;
  18657. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  18658. begin
  18659. if thebits = 0 then
  18660. pTDefRegMap(@Self)^.clr := $00000400
  18661. else
  18662. pTDefRegMap(@Self)^.&set := $00000400;
  18663. end;
  18664. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  18665. begin
  18666. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18667. end;
  18668. procedure TUART1_U1ASTA.setUTXBRK; inline;
  18669. begin
  18670. pTDefRegMap(@Self)^.&set := $00000800;
  18671. end;
  18672. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  18673. begin
  18674. pTDefRegMap(@Self)^.clr := $00000800;
  18675. end;
  18676. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  18677. begin
  18678. if thebits = 0 then
  18679. pTDefRegMap(@Self)^.clr := $00000800
  18680. else
  18681. pTDefRegMap(@Self)^.&set := $00000800;
  18682. end;
  18683. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  18684. begin
  18685. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18686. end;
  18687. procedure TUART1_U1ASTA.setURXEN; inline;
  18688. begin
  18689. pTDefRegMap(@Self)^.&set := $00001000;
  18690. end;
  18691. procedure TUART1_U1ASTA.clearURXEN; inline;
  18692. begin
  18693. pTDefRegMap(@Self)^.clr := $00001000;
  18694. end;
  18695. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  18696. begin
  18697. if thebits = 0 then
  18698. pTDefRegMap(@Self)^.clr := $00001000
  18699. else
  18700. pTDefRegMap(@Self)^.&set := $00001000;
  18701. end;
  18702. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  18703. begin
  18704. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18705. end;
  18706. procedure TUART1_U1ASTA.setUTXINV; inline;
  18707. begin
  18708. pTDefRegMap(@Self)^.&set := $00002000;
  18709. end;
  18710. procedure TUART1_U1ASTA.clearUTXINV; inline;
  18711. begin
  18712. pTDefRegMap(@Self)^.clr := $00002000;
  18713. end;
  18714. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  18715. begin
  18716. if thebits = 0 then
  18717. pTDefRegMap(@Self)^.clr := $00002000
  18718. else
  18719. pTDefRegMap(@Self)^.&set := $00002000;
  18720. end;
  18721. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  18722. begin
  18723. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18724. end;
  18725. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  18726. begin
  18727. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18728. end;
  18729. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  18730. begin
  18731. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18732. end;
  18733. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  18734. begin
  18735. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  18736. end;
  18737. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  18738. begin
  18739. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  18740. end;
  18741. procedure TUART1_U1ASTA.setADM_EN; inline;
  18742. begin
  18743. pTDefRegMap(@Self)^.&set := $01000000;
  18744. end;
  18745. procedure TUART1_U1ASTA.clearADM_EN; inline;
  18746. begin
  18747. pTDefRegMap(@Self)^.clr := $01000000;
  18748. end;
  18749. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  18750. begin
  18751. if thebits = 0 then
  18752. pTDefRegMap(@Self)^.clr := $01000000
  18753. else
  18754. pTDefRegMap(@Self)^.&set := $01000000;
  18755. end;
  18756. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  18757. begin
  18758. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  18759. end;
  18760. procedure TUART1_U1ASTA.setURXISEL0; inline;
  18761. begin
  18762. pTDefRegMap(@Self)^.&set := $00000040;
  18763. end;
  18764. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  18765. begin
  18766. pTDefRegMap(@Self)^.clr := $00000040;
  18767. end;
  18768. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  18769. begin
  18770. if thebits = 0 then
  18771. pTDefRegMap(@Self)^.clr := $00000040
  18772. else
  18773. pTDefRegMap(@Self)^.&set := $00000040;
  18774. end;
  18775. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  18776. begin
  18777. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18778. end;
  18779. procedure TUART1_U1ASTA.setURXISEL1; inline;
  18780. begin
  18781. pTDefRegMap(@Self)^.&set := $00000080;
  18782. end;
  18783. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  18784. begin
  18785. pTDefRegMap(@Self)^.clr := $00000080;
  18786. end;
  18787. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  18788. begin
  18789. if thebits = 0 then
  18790. pTDefRegMap(@Self)^.clr := $00000080
  18791. else
  18792. pTDefRegMap(@Self)^.&set := $00000080;
  18793. end;
  18794. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  18795. begin
  18796. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18797. end;
  18798. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  18799. begin
  18800. pTDefRegMap(@Self)^.&set := $00004000;
  18801. end;
  18802. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  18803. begin
  18804. pTDefRegMap(@Self)^.clr := $00004000;
  18805. end;
  18806. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  18807. begin
  18808. if thebits = 0 then
  18809. pTDefRegMap(@Self)^.clr := $00004000
  18810. else
  18811. pTDefRegMap(@Self)^.&set := $00004000;
  18812. end;
  18813. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  18814. begin
  18815. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  18816. end;
  18817. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  18818. begin
  18819. pTDefRegMap(@Self)^.&set := $00008000;
  18820. end;
  18821. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  18822. begin
  18823. pTDefRegMap(@Self)^.clr := $00008000;
  18824. end;
  18825. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  18826. begin
  18827. if thebits = 0 then
  18828. pTDefRegMap(@Self)^.clr := $00008000
  18829. else
  18830. pTDefRegMap(@Self)^.&set := $00008000;
  18831. end;
  18832. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  18833. begin
  18834. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18835. end;
  18836. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  18837. begin
  18838. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  18839. end;
  18840. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  18841. begin
  18842. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  18843. end;
  18844. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  18845. begin
  18846. pTDefRegMap(@Self)^.val := thebits;
  18847. end;
  18848. function TUART1_U1ASTA.getw : TBits_32; inline;
  18849. begin
  18850. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18851. end;
  18852. procedure TUART1_U1STA.setURXDA; inline;
  18853. begin
  18854. pTDefRegMap(@Self)^.&set := $00000001;
  18855. end;
  18856. procedure TUART1_U1STA.clearURXDA; inline;
  18857. begin
  18858. pTDefRegMap(@Self)^.clr := $00000001;
  18859. end;
  18860. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  18861. begin
  18862. if thebits = 0 then
  18863. pTDefRegMap(@Self)^.clr := $00000001
  18864. else
  18865. pTDefRegMap(@Self)^.&set := $00000001;
  18866. end;
  18867. function TUART1_U1STA.getURXDA : TBits_1; inline;
  18868. begin
  18869. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18870. end;
  18871. procedure TUART1_U1STA.setOERR; inline;
  18872. begin
  18873. pTDefRegMap(@Self)^.&set := $00000002;
  18874. end;
  18875. procedure TUART1_U1STA.clearOERR; inline;
  18876. begin
  18877. pTDefRegMap(@Self)^.clr := $00000002;
  18878. end;
  18879. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  18880. begin
  18881. if thebits = 0 then
  18882. pTDefRegMap(@Self)^.clr := $00000002
  18883. else
  18884. pTDefRegMap(@Self)^.&set := $00000002;
  18885. end;
  18886. function TUART1_U1STA.getOERR : TBits_1; inline;
  18887. begin
  18888. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18889. end;
  18890. procedure TUART1_U1STA.setFERR; inline;
  18891. begin
  18892. pTDefRegMap(@Self)^.&set := $00000004;
  18893. end;
  18894. procedure TUART1_U1STA.clearFERR; inline;
  18895. begin
  18896. pTDefRegMap(@Self)^.clr := $00000004;
  18897. end;
  18898. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  18899. begin
  18900. if thebits = 0 then
  18901. pTDefRegMap(@Self)^.clr := $00000004
  18902. else
  18903. pTDefRegMap(@Self)^.&set := $00000004;
  18904. end;
  18905. function TUART1_U1STA.getFERR : TBits_1; inline;
  18906. begin
  18907. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18908. end;
  18909. procedure TUART1_U1STA.setPERR; inline;
  18910. begin
  18911. pTDefRegMap(@Self)^.&set := $00000008;
  18912. end;
  18913. procedure TUART1_U1STA.clearPERR; inline;
  18914. begin
  18915. pTDefRegMap(@Self)^.clr := $00000008;
  18916. end;
  18917. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  18918. begin
  18919. if thebits = 0 then
  18920. pTDefRegMap(@Self)^.clr := $00000008
  18921. else
  18922. pTDefRegMap(@Self)^.&set := $00000008;
  18923. end;
  18924. function TUART1_U1STA.getPERR : TBits_1; inline;
  18925. begin
  18926. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18927. end;
  18928. procedure TUART1_U1STA.setRIDLE; inline;
  18929. begin
  18930. pTDefRegMap(@Self)^.&set := $00000010;
  18931. end;
  18932. procedure TUART1_U1STA.clearRIDLE; inline;
  18933. begin
  18934. pTDefRegMap(@Self)^.clr := $00000010;
  18935. end;
  18936. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  18937. begin
  18938. if thebits = 0 then
  18939. pTDefRegMap(@Self)^.clr := $00000010
  18940. else
  18941. pTDefRegMap(@Self)^.&set := $00000010;
  18942. end;
  18943. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  18944. begin
  18945. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18946. end;
  18947. procedure TUART1_U1STA.setADDEN; inline;
  18948. begin
  18949. pTDefRegMap(@Self)^.&set := $00000020;
  18950. end;
  18951. procedure TUART1_U1STA.clearADDEN; inline;
  18952. begin
  18953. pTDefRegMap(@Self)^.clr := $00000020;
  18954. end;
  18955. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  18956. begin
  18957. if thebits = 0 then
  18958. pTDefRegMap(@Self)^.clr := $00000020
  18959. else
  18960. pTDefRegMap(@Self)^.&set := $00000020;
  18961. end;
  18962. function TUART1_U1STA.getADDEN : TBits_1; inline;
  18963. begin
  18964. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18965. end;
  18966. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  18967. begin
  18968. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  18969. end;
  18970. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  18971. begin
  18972. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  18973. end;
  18974. procedure TUART1_U1STA.setTRMT; inline;
  18975. begin
  18976. pTDefRegMap(@Self)^.&set := $00000100;
  18977. end;
  18978. procedure TUART1_U1STA.clearTRMT; inline;
  18979. begin
  18980. pTDefRegMap(@Self)^.clr := $00000100;
  18981. end;
  18982. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  18983. begin
  18984. if thebits = 0 then
  18985. pTDefRegMap(@Self)^.clr := $00000100
  18986. else
  18987. pTDefRegMap(@Self)^.&set := $00000100;
  18988. end;
  18989. function TUART1_U1STA.getTRMT : TBits_1; inline;
  18990. begin
  18991. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18992. end;
  18993. procedure TUART1_U1STA.setUTXBF; inline;
  18994. begin
  18995. pTDefRegMap(@Self)^.&set := $00000200;
  18996. end;
  18997. procedure TUART1_U1STA.clearUTXBF; inline;
  18998. begin
  18999. pTDefRegMap(@Self)^.clr := $00000200;
  19000. end;
  19001. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19002. begin
  19003. if thebits = 0 then
  19004. pTDefRegMap(@Self)^.clr := $00000200
  19005. else
  19006. pTDefRegMap(@Self)^.&set := $00000200;
  19007. end;
  19008. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19009. begin
  19010. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19011. end;
  19012. procedure TUART1_U1STA.setUTXEN; inline;
  19013. begin
  19014. pTDefRegMap(@Self)^.&set := $00000400;
  19015. end;
  19016. procedure TUART1_U1STA.clearUTXEN; inline;
  19017. begin
  19018. pTDefRegMap(@Self)^.clr := $00000400;
  19019. end;
  19020. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19021. begin
  19022. if thebits = 0 then
  19023. pTDefRegMap(@Self)^.clr := $00000400
  19024. else
  19025. pTDefRegMap(@Self)^.&set := $00000400;
  19026. end;
  19027. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19028. begin
  19029. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19030. end;
  19031. procedure TUART1_U1STA.setUTXBRK; inline;
  19032. begin
  19033. pTDefRegMap(@Self)^.&set := $00000800;
  19034. end;
  19035. procedure TUART1_U1STA.clearUTXBRK; inline;
  19036. begin
  19037. pTDefRegMap(@Self)^.clr := $00000800;
  19038. end;
  19039. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19040. begin
  19041. if thebits = 0 then
  19042. pTDefRegMap(@Self)^.clr := $00000800
  19043. else
  19044. pTDefRegMap(@Self)^.&set := $00000800;
  19045. end;
  19046. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19047. begin
  19048. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19049. end;
  19050. procedure TUART1_U1STA.setURXEN; inline;
  19051. begin
  19052. pTDefRegMap(@Self)^.&set := $00001000;
  19053. end;
  19054. procedure TUART1_U1STA.clearURXEN; inline;
  19055. begin
  19056. pTDefRegMap(@Self)^.clr := $00001000;
  19057. end;
  19058. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19059. begin
  19060. if thebits = 0 then
  19061. pTDefRegMap(@Self)^.clr := $00001000
  19062. else
  19063. pTDefRegMap(@Self)^.&set := $00001000;
  19064. end;
  19065. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19066. begin
  19067. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19068. end;
  19069. procedure TUART1_U1STA.setUTXINV; inline;
  19070. begin
  19071. pTDefRegMap(@Self)^.&set := $00002000;
  19072. end;
  19073. procedure TUART1_U1STA.clearUTXINV; inline;
  19074. begin
  19075. pTDefRegMap(@Self)^.clr := $00002000;
  19076. end;
  19077. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19078. begin
  19079. if thebits = 0 then
  19080. pTDefRegMap(@Self)^.clr := $00002000
  19081. else
  19082. pTDefRegMap(@Self)^.&set := $00002000;
  19083. end;
  19084. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19085. begin
  19086. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19087. end;
  19088. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19089. begin
  19090. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19091. end;
  19092. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19093. begin
  19094. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19095. end;
  19096. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19097. begin
  19098. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19099. end;
  19100. function TUART1_U1STA.getADDR : TBits_8; inline;
  19101. begin
  19102. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19103. end;
  19104. procedure TUART1_U1STA.setADM_EN; inline;
  19105. begin
  19106. pTDefRegMap(@Self)^.&set := $01000000;
  19107. end;
  19108. procedure TUART1_U1STA.clearADM_EN; inline;
  19109. begin
  19110. pTDefRegMap(@Self)^.clr := $01000000;
  19111. end;
  19112. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19113. begin
  19114. if thebits = 0 then
  19115. pTDefRegMap(@Self)^.clr := $01000000
  19116. else
  19117. pTDefRegMap(@Self)^.&set := $01000000;
  19118. end;
  19119. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19120. begin
  19121. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19122. end;
  19123. procedure TUART1_U1STA.setURXISEL0; inline;
  19124. begin
  19125. pTDefRegMap(@Self)^.&set := $00000040;
  19126. end;
  19127. procedure TUART1_U1STA.clearURXISEL0; inline;
  19128. begin
  19129. pTDefRegMap(@Self)^.clr := $00000040;
  19130. end;
  19131. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19132. begin
  19133. if thebits = 0 then
  19134. pTDefRegMap(@Self)^.clr := $00000040
  19135. else
  19136. pTDefRegMap(@Self)^.&set := $00000040;
  19137. end;
  19138. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19139. begin
  19140. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19141. end;
  19142. procedure TUART1_U1STA.setURXISEL1; inline;
  19143. begin
  19144. pTDefRegMap(@Self)^.&set := $00000080;
  19145. end;
  19146. procedure TUART1_U1STA.clearURXISEL1; inline;
  19147. begin
  19148. pTDefRegMap(@Self)^.clr := $00000080;
  19149. end;
  19150. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19151. begin
  19152. if thebits = 0 then
  19153. pTDefRegMap(@Self)^.clr := $00000080
  19154. else
  19155. pTDefRegMap(@Self)^.&set := $00000080;
  19156. end;
  19157. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19158. begin
  19159. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19160. end;
  19161. procedure TUART1_U1STA.setUTXISEL0; inline;
  19162. begin
  19163. pTDefRegMap(@Self)^.&set := $00004000;
  19164. end;
  19165. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19166. begin
  19167. pTDefRegMap(@Self)^.clr := $00004000;
  19168. end;
  19169. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19170. begin
  19171. if thebits = 0 then
  19172. pTDefRegMap(@Self)^.clr := $00004000
  19173. else
  19174. pTDefRegMap(@Self)^.&set := $00004000;
  19175. end;
  19176. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19177. begin
  19178. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19179. end;
  19180. procedure TUART1_U1STA.setUTXISEL1; inline;
  19181. begin
  19182. pTDefRegMap(@Self)^.&set := $00008000;
  19183. end;
  19184. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19185. begin
  19186. pTDefRegMap(@Self)^.clr := $00008000;
  19187. end;
  19188. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19189. begin
  19190. if thebits = 0 then
  19191. pTDefRegMap(@Self)^.clr := $00008000
  19192. else
  19193. pTDefRegMap(@Self)^.&set := $00008000;
  19194. end;
  19195. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19196. begin
  19197. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19198. end;
  19199. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19200. begin
  19201. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19202. end;
  19203. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19204. begin
  19205. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19206. end;
  19207. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19208. begin
  19209. pTDefRegMap(@Self)^.val := thebits;
  19210. end;
  19211. function TUART1_U1STA.getw : TBits_32; inline;
  19212. begin
  19213. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19214. end;
  19215. procedure TUART2_U2MODE.setSTSEL; inline;
  19216. begin
  19217. pTDefRegMap(@Self)^.&set := $00000001;
  19218. end;
  19219. procedure TUART2_U2MODE.clearSTSEL; inline;
  19220. begin
  19221. pTDefRegMap(@Self)^.clr := $00000001;
  19222. end;
  19223. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19224. begin
  19225. if thebits = 0 then
  19226. pTDefRegMap(@Self)^.clr := $00000001
  19227. else
  19228. pTDefRegMap(@Self)^.&set := $00000001;
  19229. end;
  19230. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19231. begin
  19232. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19233. end;
  19234. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19235. begin
  19236. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19237. end;
  19238. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19239. begin
  19240. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19241. end;
  19242. procedure TUART2_U2MODE.setBRGH; inline;
  19243. begin
  19244. pTDefRegMap(@Self)^.&set := $00000008;
  19245. end;
  19246. procedure TUART2_U2MODE.clearBRGH; inline;
  19247. begin
  19248. pTDefRegMap(@Self)^.clr := $00000008;
  19249. end;
  19250. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19251. begin
  19252. if thebits = 0 then
  19253. pTDefRegMap(@Self)^.clr := $00000008
  19254. else
  19255. pTDefRegMap(@Self)^.&set := $00000008;
  19256. end;
  19257. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19258. begin
  19259. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19260. end;
  19261. procedure TUART2_U2MODE.setRXINV; inline;
  19262. begin
  19263. pTDefRegMap(@Self)^.&set := $00000010;
  19264. end;
  19265. procedure TUART2_U2MODE.clearRXINV; inline;
  19266. begin
  19267. pTDefRegMap(@Self)^.clr := $00000010;
  19268. end;
  19269. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19270. begin
  19271. if thebits = 0 then
  19272. pTDefRegMap(@Self)^.clr := $00000010
  19273. else
  19274. pTDefRegMap(@Self)^.&set := $00000010;
  19275. end;
  19276. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19277. begin
  19278. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19279. end;
  19280. procedure TUART2_U2MODE.setABAUD; inline;
  19281. begin
  19282. pTDefRegMap(@Self)^.&set := $00000020;
  19283. end;
  19284. procedure TUART2_U2MODE.clearABAUD; inline;
  19285. begin
  19286. pTDefRegMap(@Self)^.clr := $00000020;
  19287. end;
  19288. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19289. begin
  19290. if thebits = 0 then
  19291. pTDefRegMap(@Self)^.clr := $00000020
  19292. else
  19293. pTDefRegMap(@Self)^.&set := $00000020;
  19294. end;
  19295. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19296. begin
  19297. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19298. end;
  19299. procedure TUART2_U2MODE.setLPBACK; inline;
  19300. begin
  19301. pTDefRegMap(@Self)^.&set := $00000040;
  19302. end;
  19303. procedure TUART2_U2MODE.clearLPBACK; inline;
  19304. begin
  19305. pTDefRegMap(@Self)^.clr := $00000040;
  19306. end;
  19307. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19308. begin
  19309. if thebits = 0 then
  19310. pTDefRegMap(@Self)^.clr := $00000040
  19311. else
  19312. pTDefRegMap(@Self)^.&set := $00000040;
  19313. end;
  19314. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19315. begin
  19316. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19317. end;
  19318. procedure TUART2_U2MODE.setWAKE; inline;
  19319. begin
  19320. pTDefRegMap(@Self)^.&set := $00000080;
  19321. end;
  19322. procedure TUART2_U2MODE.clearWAKE; inline;
  19323. begin
  19324. pTDefRegMap(@Self)^.clr := $00000080;
  19325. end;
  19326. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19327. begin
  19328. if thebits = 0 then
  19329. pTDefRegMap(@Self)^.clr := $00000080
  19330. else
  19331. pTDefRegMap(@Self)^.&set := $00000080;
  19332. end;
  19333. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19334. begin
  19335. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19336. end;
  19337. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19338. begin
  19339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19340. end;
  19341. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19342. begin
  19343. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19344. end;
  19345. procedure TUART2_U2MODE.setRTSMD; inline;
  19346. begin
  19347. pTDefRegMap(@Self)^.&set := $00000800;
  19348. end;
  19349. procedure TUART2_U2MODE.clearRTSMD; inline;
  19350. begin
  19351. pTDefRegMap(@Self)^.clr := $00000800;
  19352. end;
  19353. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19354. begin
  19355. if thebits = 0 then
  19356. pTDefRegMap(@Self)^.clr := $00000800
  19357. else
  19358. pTDefRegMap(@Self)^.&set := $00000800;
  19359. end;
  19360. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19361. begin
  19362. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19363. end;
  19364. procedure TUART2_U2MODE.setIREN; inline;
  19365. begin
  19366. pTDefRegMap(@Self)^.&set := $00001000;
  19367. end;
  19368. procedure TUART2_U2MODE.clearIREN; inline;
  19369. begin
  19370. pTDefRegMap(@Self)^.clr := $00001000;
  19371. end;
  19372. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  19373. begin
  19374. if thebits = 0 then
  19375. pTDefRegMap(@Self)^.clr := $00001000
  19376. else
  19377. pTDefRegMap(@Self)^.&set := $00001000;
  19378. end;
  19379. function TUART2_U2MODE.getIREN : TBits_1; inline;
  19380. begin
  19381. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19382. end;
  19383. procedure TUART2_U2MODE.setSIDL; inline;
  19384. begin
  19385. pTDefRegMap(@Self)^.&set := $00002000;
  19386. end;
  19387. procedure TUART2_U2MODE.clearSIDL; inline;
  19388. begin
  19389. pTDefRegMap(@Self)^.clr := $00002000;
  19390. end;
  19391. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  19392. begin
  19393. if thebits = 0 then
  19394. pTDefRegMap(@Self)^.clr := $00002000
  19395. else
  19396. pTDefRegMap(@Self)^.&set := $00002000;
  19397. end;
  19398. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  19399. begin
  19400. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19401. end;
  19402. procedure TUART2_U2MODE.setON; inline;
  19403. begin
  19404. pTDefRegMap(@Self)^.&set := $00008000;
  19405. end;
  19406. procedure TUART2_U2MODE.clearON; inline;
  19407. begin
  19408. pTDefRegMap(@Self)^.clr := $00008000;
  19409. end;
  19410. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  19411. begin
  19412. if thebits = 0 then
  19413. pTDefRegMap(@Self)^.clr := $00008000
  19414. else
  19415. pTDefRegMap(@Self)^.&set := $00008000;
  19416. end;
  19417. function TUART2_U2MODE.getON : TBits_1; inline;
  19418. begin
  19419. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19420. end;
  19421. procedure TUART2_U2MODE.setPDSEL0; inline;
  19422. begin
  19423. pTDefRegMap(@Self)^.&set := $00000002;
  19424. end;
  19425. procedure TUART2_U2MODE.clearPDSEL0; inline;
  19426. begin
  19427. pTDefRegMap(@Self)^.clr := $00000002;
  19428. end;
  19429. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  19430. begin
  19431. if thebits = 0 then
  19432. pTDefRegMap(@Self)^.clr := $00000002
  19433. else
  19434. pTDefRegMap(@Self)^.&set := $00000002;
  19435. end;
  19436. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  19437. begin
  19438. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19439. end;
  19440. procedure TUART2_U2MODE.setPDSEL1; inline;
  19441. begin
  19442. pTDefRegMap(@Self)^.&set := $00000004;
  19443. end;
  19444. procedure TUART2_U2MODE.clearPDSEL1; inline;
  19445. begin
  19446. pTDefRegMap(@Self)^.clr := $00000004;
  19447. end;
  19448. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  19449. begin
  19450. if thebits = 0 then
  19451. pTDefRegMap(@Self)^.clr := $00000004
  19452. else
  19453. pTDefRegMap(@Self)^.&set := $00000004;
  19454. end;
  19455. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  19456. begin
  19457. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19458. end;
  19459. procedure TUART2_U2MODE.setUEN0; inline;
  19460. begin
  19461. pTDefRegMap(@Self)^.&set := $00000100;
  19462. end;
  19463. procedure TUART2_U2MODE.clearUEN0; inline;
  19464. begin
  19465. pTDefRegMap(@Self)^.clr := $00000100;
  19466. end;
  19467. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  19468. begin
  19469. if thebits = 0 then
  19470. pTDefRegMap(@Self)^.clr := $00000100
  19471. else
  19472. pTDefRegMap(@Self)^.&set := $00000100;
  19473. end;
  19474. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  19475. begin
  19476. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19477. end;
  19478. procedure TUART2_U2MODE.setUEN1; inline;
  19479. begin
  19480. pTDefRegMap(@Self)^.&set := $00000200;
  19481. end;
  19482. procedure TUART2_U2MODE.clearUEN1; inline;
  19483. begin
  19484. pTDefRegMap(@Self)^.clr := $00000200;
  19485. end;
  19486. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  19487. begin
  19488. if thebits = 0 then
  19489. pTDefRegMap(@Self)^.clr := $00000200
  19490. else
  19491. pTDefRegMap(@Self)^.&set := $00000200;
  19492. end;
  19493. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  19494. begin
  19495. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19496. end;
  19497. procedure TUART2_U2MODE.setUSIDL; inline;
  19498. begin
  19499. pTDefRegMap(@Self)^.&set := $00002000;
  19500. end;
  19501. procedure TUART2_U2MODE.clearUSIDL; inline;
  19502. begin
  19503. pTDefRegMap(@Self)^.clr := $00002000;
  19504. end;
  19505. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  19506. begin
  19507. if thebits = 0 then
  19508. pTDefRegMap(@Self)^.clr := $00002000
  19509. else
  19510. pTDefRegMap(@Self)^.&set := $00002000;
  19511. end;
  19512. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  19513. begin
  19514. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19515. end;
  19516. procedure TUART2_U2MODE.setUARTEN; inline;
  19517. begin
  19518. pTDefRegMap(@Self)^.&set := $00008000;
  19519. end;
  19520. procedure TUART2_U2MODE.clearUARTEN; inline;
  19521. begin
  19522. pTDefRegMap(@Self)^.clr := $00008000;
  19523. end;
  19524. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  19525. begin
  19526. if thebits = 0 then
  19527. pTDefRegMap(@Self)^.clr := $00008000
  19528. else
  19529. pTDefRegMap(@Self)^.&set := $00008000;
  19530. end;
  19531. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  19532. begin
  19533. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19534. end;
  19535. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  19536. begin
  19537. pTDefRegMap(@Self)^.val := thebits;
  19538. end;
  19539. function TUART2_U2MODE.getw : TBits_32; inline;
  19540. begin
  19541. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19542. end;
  19543. procedure TUART2_U3AMODE.setSTSEL; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.&set := $00000001;
  19546. end;
  19547. procedure TUART2_U3AMODE.clearSTSEL; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.clr := $00000001;
  19550. end;
  19551. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  19552. begin
  19553. if thebits = 0 then
  19554. pTDefRegMap(@Self)^.clr := $00000001
  19555. else
  19556. pTDefRegMap(@Self)^.&set := $00000001;
  19557. end;
  19558. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  19559. begin
  19560. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19561. end;
  19562. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19565. end;
  19566. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  19567. begin
  19568. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19569. end;
  19570. procedure TUART2_U3AMODE.setBRGH; inline;
  19571. begin
  19572. pTDefRegMap(@Self)^.&set := $00000008;
  19573. end;
  19574. procedure TUART2_U3AMODE.clearBRGH; inline;
  19575. begin
  19576. pTDefRegMap(@Self)^.clr := $00000008;
  19577. end;
  19578. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  19579. begin
  19580. if thebits = 0 then
  19581. pTDefRegMap(@Self)^.clr := $00000008
  19582. else
  19583. pTDefRegMap(@Self)^.&set := $00000008;
  19584. end;
  19585. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  19586. begin
  19587. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19588. end;
  19589. procedure TUART2_U3AMODE.setRXINV; inline;
  19590. begin
  19591. pTDefRegMap(@Self)^.&set := $00000010;
  19592. end;
  19593. procedure TUART2_U3AMODE.clearRXINV; inline;
  19594. begin
  19595. pTDefRegMap(@Self)^.clr := $00000010;
  19596. end;
  19597. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  19598. begin
  19599. if thebits = 0 then
  19600. pTDefRegMap(@Self)^.clr := $00000010
  19601. else
  19602. pTDefRegMap(@Self)^.&set := $00000010;
  19603. end;
  19604. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  19605. begin
  19606. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19607. end;
  19608. procedure TUART2_U3AMODE.setABAUD; inline;
  19609. begin
  19610. pTDefRegMap(@Self)^.&set := $00000020;
  19611. end;
  19612. procedure TUART2_U3AMODE.clearABAUD; inline;
  19613. begin
  19614. pTDefRegMap(@Self)^.clr := $00000020;
  19615. end;
  19616. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  19617. begin
  19618. if thebits = 0 then
  19619. pTDefRegMap(@Self)^.clr := $00000020
  19620. else
  19621. pTDefRegMap(@Self)^.&set := $00000020;
  19622. end;
  19623. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  19624. begin
  19625. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19626. end;
  19627. procedure TUART2_U3AMODE.setLPBACK; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.&set := $00000040;
  19630. end;
  19631. procedure TUART2_U3AMODE.clearLPBACK; inline;
  19632. begin
  19633. pTDefRegMap(@Self)^.clr := $00000040;
  19634. end;
  19635. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  19636. begin
  19637. if thebits = 0 then
  19638. pTDefRegMap(@Self)^.clr := $00000040
  19639. else
  19640. pTDefRegMap(@Self)^.&set := $00000040;
  19641. end;
  19642. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  19643. begin
  19644. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19645. end;
  19646. procedure TUART2_U3AMODE.setWAKE; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.&set := $00000080;
  19649. end;
  19650. procedure TUART2_U3AMODE.clearWAKE; inline;
  19651. begin
  19652. pTDefRegMap(@Self)^.clr := $00000080;
  19653. end;
  19654. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  19655. begin
  19656. if thebits = 0 then
  19657. pTDefRegMap(@Self)^.clr := $00000080
  19658. else
  19659. pTDefRegMap(@Self)^.&set := $00000080;
  19660. end;
  19661. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  19662. begin
  19663. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19664. end;
  19665. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19668. end;
  19669. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  19670. begin
  19671. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19672. end;
  19673. procedure TUART2_U3AMODE.setRTSMD; inline;
  19674. begin
  19675. pTDefRegMap(@Self)^.&set := $00000800;
  19676. end;
  19677. procedure TUART2_U3AMODE.clearRTSMD; inline;
  19678. begin
  19679. pTDefRegMap(@Self)^.clr := $00000800;
  19680. end;
  19681. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  19682. begin
  19683. if thebits = 0 then
  19684. pTDefRegMap(@Self)^.clr := $00000800
  19685. else
  19686. pTDefRegMap(@Self)^.&set := $00000800;
  19687. end;
  19688. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  19689. begin
  19690. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19691. end;
  19692. procedure TUART2_U3AMODE.setIREN; inline;
  19693. begin
  19694. pTDefRegMap(@Self)^.&set := $00001000;
  19695. end;
  19696. procedure TUART2_U3AMODE.clearIREN; inline;
  19697. begin
  19698. pTDefRegMap(@Self)^.clr := $00001000;
  19699. end;
  19700. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  19701. begin
  19702. if thebits = 0 then
  19703. pTDefRegMap(@Self)^.clr := $00001000
  19704. else
  19705. pTDefRegMap(@Self)^.&set := $00001000;
  19706. end;
  19707. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  19708. begin
  19709. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19710. end;
  19711. procedure TUART2_U3AMODE.setSIDL; inline;
  19712. begin
  19713. pTDefRegMap(@Self)^.&set := $00002000;
  19714. end;
  19715. procedure TUART2_U3AMODE.clearSIDL; inline;
  19716. begin
  19717. pTDefRegMap(@Self)^.clr := $00002000;
  19718. end;
  19719. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  19720. begin
  19721. if thebits = 0 then
  19722. pTDefRegMap(@Self)^.clr := $00002000
  19723. else
  19724. pTDefRegMap(@Self)^.&set := $00002000;
  19725. end;
  19726. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  19727. begin
  19728. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19729. end;
  19730. procedure TUART2_U3AMODE.setON; inline;
  19731. begin
  19732. pTDefRegMap(@Self)^.&set := $00008000;
  19733. end;
  19734. procedure TUART2_U3AMODE.clearON; inline;
  19735. begin
  19736. pTDefRegMap(@Self)^.clr := $00008000;
  19737. end;
  19738. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  19739. begin
  19740. if thebits = 0 then
  19741. pTDefRegMap(@Self)^.clr := $00008000
  19742. else
  19743. pTDefRegMap(@Self)^.&set := $00008000;
  19744. end;
  19745. function TUART2_U3AMODE.getON : TBits_1; inline;
  19746. begin
  19747. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19748. end;
  19749. procedure TUART2_U3AMODE.setPDSEL0; inline;
  19750. begin
  19751. pTDefRegMap(@Self)^.&set := $00000002;
  19752. end;
  19753. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  19754. begin
  19755. pTDefRegMap(@Self)^.clr := $00000002;
  19756. end;
  19757. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  19758. begin
  19759. if thebits = 0 then
  19760. pTDefRegMap(@Self)^.clr := $00000002
  19761. else
  19762. pTDefRegMap(@Self)^.&set := $00000002;
  19763. end;
  19764. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  19765. begin
  19766. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19767. end;
  19768. procedure TUART2_U3AMODE.setPDSEL1; inline;
  19769. begin
  19770. pTDefRegMap(@Self)^.&set := $00000004;
  19771. end;
  19772. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  19773. begin
  19774. pTDefRegMap(@Self)^.clr := $00000004;
  19775. end;
  19776. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  19777. begin
  19778. if thebits = 0 then
  19779. pTDefRegMap(@Self)^.clr := $00000004
  19780. else
  19781. pTDefRegMap(@Self)^.&set := $00000004;
  19782. end;
  19783. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  19784. begin
  19785. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19786. end;
  19787. procedure TUART2_U3AMODE.setUEN0; inline;
  19788. begin
  19789. pTDefRegMap(@Self)^.&set := $00000100;
  19790. end;
  19791. procedure TUART2_U3AMODE.clearUEN0; inline;
  19792. begin
  19793. pTDefRegMap(@Self)^.clr := $00000100;
  19794. end;
  19795. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  19796. begin
  19797. if thebits = 0 then
  19798. pTDefRegMap(@Self)^.clr := $00000100
  19799. else
  19800. pTDefRegMap(@Self)^.&set := $00000100;
  19801. end;
  19802. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  19803. begin
  19804. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19805. end;
  19806. procedure TUART2_U3AMODE.setUEN1; inline;
  19807. begin
  19808. pTDefRegMap(@Self)^.&set := $00000200;
  19809. end;
  19810. procedure TUART2_U3AMODE.clearUEN1; inline;
  19811. begin
  19812. pTDefRegMap(@Self)^.clr := $00000200;
  19813. end;
  19814. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  19815. begin
  19816. if thebits = 0 then
  19817. pTDefRegMap(@Self)^.clr := $00000200
  19818. else
  19819. pTDefRegMap(@Self)^.&set := $00000200;
  19820. end;
  19821. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  19822. begin
  19823. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19824. end;
  19825. procedure TUART2_U3AMODE.setUSIDL; inline;
  19826. begin
  19827. pTDefRegMap(@Self)^.&set := $00002000;
  19828. end;
  19829. procedure TUART2_U3AMODE.clearUSIDL; inline;
  19830. begin
  19831. pTDefRegMap(@Self)^.clr := $00002000;
  19832. end;
  19833. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  19834. begin
  19835. if thebits = 0 then
  19836. pTDefRegMap(@Self)^.clr := $00002000
  19837. else
  19838. pTDefRegMap(@Self)^.&set := $00002000;
  19839. end;
  19840. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  19841. begin
  19842. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19843. end;
  19844. procedure TUART2_U3AMODE.setUARTEN; inline;
  19845. begin
  19846. pTDefRegMap(@Self)^.&set := $00008000;
  19847. end;
  19848. procedure TUART2_U3AMODE.clearUARTEN; inline;
  19849. begin
  19850. pTDefRegMap(@Self)^.clr := $00008000;
  19851. end;
  19852. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  19853. begin
  19854. if thebits = 0 then
  19855. pTDefRegMap(@Self)^.clr := $00008000
  19856. else
  19857. pTDefRegMap(@Self)^.&set := $00008000;
  19858. end;
  19859. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  19860. begin
  19861. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19862. end;
  19863. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  19864. begin
  19865. pTDefRegMap(@Self)^.val := thebits;
  19866. end;
  19867. function TUART2_U3AMODE.getw : TBits_32; inline;
  19868. begin
  19869. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19870. end;
  19871. procedure TUART2_U2STA.setURXDA; inline;
  19872. begin
  19873. pTDefRegMap(@Self)^.&set := $00000001;
  19874. end;
  19875. procedure TUART2_U2STA.clearURXDA; inline;
  19876. begin
  19877. pTDefRegMap(@Self)^.clr := $00000001;
  19878. end;
  19879. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  19880. begin
  19881. if thebits = 0 then
  19882. pTDefRegMap(@Self)^.clr := $00000001
  19883. else
  19884. pTDefRegMap(@Self)^.&set := $00000001;
  19885. end;
  19886. function TUART2_U2STA.getURXDA : TBits_1; inline;
  19887. begin
  19888. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19889. end;
  19890. procedure TUART2_U2STA.setOERR; inline;
  19891. begin
  19892. pTDefRegMap(@Self)^.&set := $00000002;
  19893. end;
  19894. procedure TUART2_U2STA.clearOERR; inline;
  19895. begin
  19896. pTDefRegMap(@Self)^.clr := $00000002;
  19897. end;
  19898. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  19899. begin
  19900. if thebits = 0 then
  19901. pTDefRegMap(@Self)^.clr := $00000002
  19902. else
  19903. pTDefRegMap(@Self)^.&set := $00000002;
  19904. end;
  19905. function TUART2_U2STA.getOERR : TBits_1; inline;
  19906. begin
  19907. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19908. end;
  19909. procedure TUART2_U2STA.setFERR; inline;
  19910. begin
  19911. pTDefRegMap(@Self)^.&set := $00000004;
  19912. end;
  19913. procedure TUART2_U2STA.clearFERR; inline;
  19914. begin
  19915. pTDefRegMap(@Self)^.clr := $00000004;
  19916. end;
  19917. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  19918. begin
  19919. if thebits = 0 then
  19920. pTDefRegMap(@Self)^.clr := $00000004
  19921. else
  19922. pTDefRegMap(@Self)^.&set := $00000004;
  19923. end;
  19924. function TUART2_U2STA.getFERR : TBits_1; inline;
  19925. begin
  19926. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19927. end;
  19928. procedure TUART2_U2STA.setPERR; inline;
  19929. begin
  19930. pTDefRegMap(@Self)^.&set := $00000008;
  19931. end;
  19932. procedure TUART2_U2STA.clearPERR; inline;
  19933. begin
  19934. pTDefRegMap(@Self)^.clr := $00000008;
  19935. end;
  19936. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  19937. begin
  19938. if thebits = 0 then
  19939. pTDefRegMap(@Self)^.clr := $00000008
  19940. else
  19941. pTDefRegMap(@Self)^.&set := $00000008;
  19942. end;
  19943. function TUART2_U2STA.getPERR : TBits_1; inline;
  19944. begin
  19945. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19946. end;
  19947. procedure TUART2_U2STA.setRIDLE; inline;
  19948. begin
  19949. pTDefRegMap(@Self)^.&set := $00000010;
  19950. end;
  19951. procedure TUART2_U2STA.clearRIDLE; inline;
  19952. begin
  19953. pTDefRegMap(@Self)^.clr := $00000010;
  19954. end;
  19955. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  19956. begin
  19957. if thebits = 0 then
  19958. pTDefRegMap(@Self)^.clr := $00000010
  19959. else
  19960. pTDefRegMap(@Self)^.&set := $00000010;
  19961. end;
  19962. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  19963. begin
  19964. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19965. end;
  19966. procedure TUART2_U2STA.setADDEN; inline;
  19967. begin
  19968. pTDefRegMap(@Self)^.&set := $00000020;
  19969. end;
  19970. procedure TUART2_U2STA.clearADDEN; inline;
  19971. begin
  19972. pTDefRegMap(@Self)^.clr := $00000020;
  19973. end;
  19974. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  19975. begin
  19976. if thebits = 0 then
  19977. pTDefRegMap(@Self)^.clr := $00000020
  19978. else
  19979. pTDefRegMap(@Self)^.&set := $00000020;
  19980. end;
  19981. function TUART2_U2STA.getADDEN : TBits_1; inline;
  19982. begin
  19983. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19984. end;
  19985. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  19986. begin
  19987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19988. end;
  19989. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  19990. begin
  19991. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19992. end;
  19993. procedure TUART2_U2STA.setTRMT; inline;
  19994. begin
  19995. pTDefRegMap(@Self)^.&set := $00000100;
  19996. end;
  19997. procedure TUART2_U2STA.clearTRMT; inline;
  19998. begin
  19999. pTDefRegMap(@Self)^.clr := $00000100;
  20000. end;
  20001. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20002. begin
  20003. if thebits = 0 then
  20004. pTDefRegMap(@Self)^.clr := $00000100
  20005. else
  20006. pTDefRegMap(@Self)^.&set := $00000100;
  20007. end;
  20008. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20009. begin
  20010. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20011. end;
  20012. procedure TUART2_U2STA.setUTXBF; inline;
  20013. begin
  20014. pTDefRegMap(@Self)^.&set := $00000200;
  20015. end;
  20016. procedure TUART2_U2STA.clearUTXBF; inline;
  20017. begin
  20018. pTDefRegMap(@Self)^.clr := $00000200;
  20019. end;
  20020. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20021. begin
  20022. if thebits = 0 then
  20023. pTDefRegMap(@Self)^.clr := $00000200
  20024. else
  20025. pTDefRegMap(@Self)^.&set := $00000200;
  20026. end;
  20027. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20028. begin
  20029. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20030. end;
  20031. procedure TUART2_U2STA.setUTXEN; inline;
  20032. begin
  20033. pTDefRegMap(@Self)^.&set := $00000400;
  20034. end;
  20035. procedure TUART2_U2STA.clearUTXEN; inline;
  20036. begin
  20037. pTDefRegMap(@Self)^.clr := $00000400;
  20038. end;
  20039. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20040. begin
  20041. if thebits = 0 then
  20042. pTDefRegMap(@Self)^.clr := $00000400
  20043. else
  20044. pTDefRegMap(@Self)^.&set := $00000400;
  20045. end;
  20046. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20047. begin
  20048. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20049. end;
  20050. procedure TUART2_U2STA.setUTXBRK; inline;
  20051. begin
  20052. pTDefRegMap(@Self)^.&set := $00000800;
  20053. end;
  20054. procedure TUART2_U2STA.clearUTXBRK; inline;
  20055. begin
  20056. pTDefRegMap(@Self)^.clr := $00000800;
  20057. end;
  20058. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20059. begin
  20060. if thebits = 0 then
  20061. pTDefRegMap(@Self)^.clr := $00000800
  20062. else
  20063. pTDefRegMap(@Self)^.&set := $00000800;
  20064. end;
  20065. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20066. begin
  20067. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20068. end;
  20069. procedure TUART2_U2STA.setURXEN; inline;
  20070. begin
  20071. pTDefRegMap(@Self)^.&set := $00001000;
  20072. end;
  20073. procedure TUART2_U2STA.clearURXEN; inline;
  20074. begin
  20075. pTDefRegMap(@Self)^.clr := $00001000;
  20076. end;
  20077. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20078. begin
  20079. if thebits = 0 then
  20080. pTDefRegMap(@Self)^.clr := $00001000
  20081. else
  20082. pTDefRegMap(@Self)^.&set := $00001000;
  20083. end;
  20084. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20085. begin
  20086. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20087. end;
  20088. procedure TUART2_U2STA.setUTXINV; inline;
  20089. begin
  20090. pTDefRegMap(@Self)^.&set := $00002000;
  20091. end;
  20092. procedure TUART2_U2STA.clearUTXINV; inline;
  20093. begin
  20094. pTDefRegMap(@Self)^.clr := $00002000;
  20095. end;
  20096. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20097. begin
  20098. if thebits = 0 then
  20099. pTDefRegMap(@Self)^.clr := $00002000
  20100. else
  20101. pTDefRegMap(@Self)^.&set := $00002000;
  20102. end;
  20103. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20104. begin
  20105. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20106. end;
  20107. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20108. begin
  20109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20110. end;
  20111. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20112. begin
  20113. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20114. end;
  20115. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20116. begin
  20117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20118. end;
  20119. function TUART2_U2STA.getADDR : TBits_8; inline;
  20120. begin
  20121. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20122. end;
  20123. procedure TUART2_U2STA.setADM_EN; inline;
  20124. begin
  20125. pTDefRegMap(@Self)^.&set := $01000000;
  20126. end;
  20127. procedure TUART2_U2STA.clearADM_EN; inline;
  20128. begin
  20129. pTDefRegMap(@Self)^.clr := $01000000;
  20130. end;
  20131. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20132. begin
  20133. if thebits = 0 then
  20134. pTDefRegMap(@Self)^.clr := $01000000
  20135. else
  20136. pTDefRegMap(@Self)^.&set := $01000000;
  20137. end;
  20138. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20139. begin
  20140. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20141. end;
  20142. procedure TUART2_U2STA.setURXISEL0; inline;
  20143. begin
  20144. pTDefRegMap(@Self)^.&set := $00000040;
  20145. end;
  20146. procedure TUART2_U2STA.clearURXISEL0; inline;
  20147. begin
  20148. pTDefRegMap(@Self)^.clr := $00000040;
  20149. end;
  20150. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20151. begin
  20152. if thebits = 0 then
  20153. pTDefRegMap(@Self)^.clr := $00000040
  20154. else
  20155. pTDefRegMap(@Self)^.&set := $00000040;
  20156. end;
  20157. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20158. begin
  20159. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20160. end;
  20161. procedure TUART2_U2STA.setURXISEL1; inline;
  20162. begin
  20163. pTDefRegMap(@Self)^.&set := $00000080;
  20164. end;
  20165. procedure TUART2_U2STA.clearURXISEL1; inline;
  20166. begin
  20167. pTDefRegMap(@Self)^.clr := $00000080;
  20168. end;
  20169. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20170. begin
  20171. if thebits = 0 then
  20172. pTDefRegMap(@Self)^.clr := $00000080
  20173. else
  20174. pTDefRegMap(@Self)^.&set := $00000080;
  20175. end;
  20176. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20177. begin
  20178. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20179. end;
  20180. procedure TUART2_U2STA.setUTXISEL0; inline;
  20181. begin
  20182. pTDefRegMap(@Self)^.&set := $00004000;
  20183. end;
  20184. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20185. begin
  20186. pTDefRegMap(@Self)^.clr := $00004000;
  20187. end;
  20188. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20189. begin
  20190. if thebits = 0 then
  20191. pTDefRegMap(@Self)^.clr := $00004000
  20192. else
  20193. pTDefRegMap(@Self)^.&set := $00004000;
  20194. end;
  20195. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20196. begin
  20197. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20198. end;
  20199. procedure TUART2_U2STA.setUTXISEL1; inline;
  20200. begin
  20201. pTDefRegMap(@Self)^.&set := $00008000;
  20202. end;
  20203. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20204. begin
  20205. pTDefRegMap(@Self)^.clr := $00008000;
  20206. end;
  20207. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20208. begin
  20209. if thebits = 0 then
  20210. pTDefRegMap(@Self)^.clr := $00008000
  20211. else
  20212. pTDefRegMap(@Self)^.&set := $00008000;
  20213. end;
  20214. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20215. begin
  20216. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20217. end;
  20218. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20219. begin
  20220. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20221. end;
  20222. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20223. begin
  20224. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20225. end;
  20226. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20227. begin
  20228. pTDefRegMap(@Self)^.val := thebits;
  20229. end;
  20230. function TUART2_U2STA.getw : TBits_32; inline;
  20231. begin
  20232. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20233. end;
  20234. procedure TUART2_U3ASTA.setURXDA; inline;
  20235. begin
  20236. pTDefRegMap(@Self)^.&set := $00000001;
  20237. end;
  20238. procedure TUART2_U3ASTA.clearURXDA; inline;
  20239. begin
  20240. pTDefRegMap(@Self)^.clr := $00000001;
  20241. end;
  20242. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20243. begin
  20244. if thebits = 0 then
  20245. pTDefRegMap(@Self)^.clr := $00000001
  20246. else
  20247. pTDefRegMap(@Self)^.&set := $00000001;
  20248. end;
  20249. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20250. begin
  20251. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20252. end;
  20253. procedure TUART2_U3ASTA.setOERR; inline;
  20254. begin
  20255. pTDefRegMap(@Self)^.&set := $00000002;
  20256. end;
  20257. procedure TUART2_U3ASTA.clearOERR; inline;
  20258. begin
  20259. pTDefRegMap(@Self)^.clr := $00000002;
  20260. end;
  20261. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20262. begin
  20263. if thebits = 0 then
  20264. pTDefRegMap(@Self)^.clr := $00000002
  20265. else
  20266. pTDefRegMap(@Self)^.&set := $00000002;
  20267. end;
  20268. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20269. begin
  20270. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20271. end;
  20272. procedure TUART2_U3ASTA.setFERR; inline;
  20273. begin
  20274. pTDefRegMap(@Self)^.&set := $00000004;
  20275. end;
  20276. procedure TUART2_U3ASTA.clearFERR; inline;
  20277. begin
  20278. pTDefRegMap(@Self)^.clr := $00000004;
  20279. end;
  20280. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20281. begin
  20282. if thebits = 0 then
  20283. pTDefRegMap(@Self)^.clr := $00000004
  20284. else
  20285. pTDefRegMap(@Self)^.&set := $00000004;
  20286. end;
  20287. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20288. begin
  20289. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20290. end;
  20291. procedure TUART2_U3ASTA.setPERR; inline;
  20292. begin
  20293. pTDefRegMap(@Self)^.&set := $00000008;
  20294. end;
  20295. procedure TUART2_U3ASTA.clearPERR; inline;
  20296. begin
  20297. pTDefRegMap(@Self)^.clr := $00000008;
  20298. end;
  20299. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20300. begin
  20301. if thebits = 0 then
  20302. pTDefRegMap(@Self)^.clr := $00000008
  20303. else
  20304. pTDefRegMap(@Self)^.&set := $00000008;
  20305. end;
  20306. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20307. begin
  20308. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20309. end;
  20310. procedure TUART2_U3ASTA.setRIDLE; inline;
  20311. begin
  20312. pTDefRegMap(@Self)^.&set := $00000010;
  20313. end;
  20314. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20315. begin
  20316. pTDefRegMap(@Self)^.clr := $00000010;
  20317. end;
  20318. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20319. begin
  20320. if thebits = 0 then
  20321. pTDefRegMap(@Self)^.clr := $00000010
  20322. else
  20323. pTDefRegMap(@Self)^.&set := $00000010;
  20324. end;
  20325. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20326. begin
  20327. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20328. end;
  20329. procedure TUART2_U3ASTA.setADDEN; inline;
  20330. begin
  20331. pTDefRegMap(@Self)^.&set := $00000020;
  20332. end;
  20333. procedure TUART2_U3ASTA.clearADDEN; inline;
  20334. begin
  20335. pTDefRegMap(@Self)^.clr := $00000020;
  20336. end;
  20337. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20338. begin
  20339. if thebits = 0 then
  20340. pTDefRegMap(@Self)^.clr := $00000020
  20341. else
  20342. pTDefRegMap(@Self)^.&set := $00000020;
  20343. end;
  20344. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20345. begin
  20346. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20347. end;
  20348. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20349. begin
  20350. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20351. end;
  20352. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20353. begin
  20354. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20355. end;
  20356. procedure TUART2_U3ASTA.setTRMT; inline;
  20357. begin
  20358. pTDefRegMap(@Self)^.&set := $00000100;
  20359. end;
  20360. procedure TUART2_U3ASTA.clearTRMT; inline;
  20361. begin
  20362. pTDefRegMap(@Self)^.clr := $00000100;
  20363. end;
  20364. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20365. begin
  20366. if thebits = 0 then
  20367. pTDefRegMap(@Self)^.clr := $00000100
  20368. else
  20369. pTDefRegMap(@Self)^.&set := $00000100;
  20370. end;
  20371. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  20372. begin
  20373. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20374. end;
  20375. procedure TUART2_U3ASTA.setUTXBF; inline;
  20376. begin
  20377. pTDefRegMap(@Self)^.&set := $00000200;
  20378. end;
  20379. procedure TUART2_U3ASTA.clearUTXBF; inline;
  20380. begin
  20381. pTDefRegMap(@Self)^.clr := $00000200;
  20382. end;
  20383. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  20384. begin
  20385. if thebits = 0 then
  20386. pTDefRegMap(@Self)^.clr := $00000200
  20387. else
  20388. pTDefRegMap(@Self)^.&set := $00000200;
  20389. end;
  20390. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  20391. begin
  20392. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20393. end;
  20394. procedure TUART2_U3ASTA.setUTXEN; inline;
  20395. begin
  20396. pTDefRegMap(@Self)^.&set := $00000400;
  20397. end;
  20398. procedure TUART2_U3ASTA.clearUTXEN; inline;
  20399. begin
  20400. pTDefRegMap(@Self)^.clr := $00000400;
  20401. end;
  20402. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  20403. begin
  20404. if thebits = 0 then
  20405. pTDefRegMap(@Self)^.clr := $00000400
  20406. else
  20407. pTDefRegMap(@Self)^.&set := $00000400;
  20408. end;
  20409. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  20410. begin
  20411. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20412. end;
  20413. procedure TUART2_U3ASTA.setUTXBRK; inline;
  20414. begin
  20415. pTDefRegMap(@Self)^.&set := $00000800;
  20416. end;
  20417. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  20418. begin
  20419. pTDefRegMap(@Self)^.clr := $00000800;
  20420. end;
  20421. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  20422. begin
  20423. if thebits = 0 then
  20424. pTDefRegMap(@Self)^.clr := $00000800
  20425. else
  20426. pTDefRegMap(@Self)^.&set := $00000800;
  20427. end;
  20428. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  20429. begin
  20430. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20431. end;
  20432. procedure TUART2_U3ASTA.setURXEN; inline;
  20433. begin
  20434. pTDefRegMap(@Self)^.&set := $00001000;
  20435. end;
  20436. procedure TUART2_U3ASTA.clearURXEN; inline;
  20437. begin
  20438. pTDefRegMap(@Self)^.clr := $00001000;
  20439. end;
  20440. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  20441. begin
  20442. if thebits = 0 then
  20443. pTDefRegMap(@Self)^.clr := $00001000
  20444. else
  20445. pTDefRegMap(@Self)^.&set := $00001000;
  20446. end;
  20447. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  20448. begin
  20449. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20450. end;
  20451. procedure TUART2_U3ASTA.setUTXINV; inline;
  20452. begin
  20453. pTDefRegMap(@Self)^.&set := $00002000;
  20454. end;
  20455. procedure TUART2_U3ASTA.clearUTXINV; inline;
  20456. begin
  20457. pTDefRegMap(@Self)^.clr := $00002000;
  20458. end;
  20459. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  20460. begin
  20461. if thebits = 0 then
  20462. pTDefRegMap(@Self)^.clr := $00002000
  20463. else
  20464. pTDefRegMap(@Self)^.&set := $00002000;
  20465. end;
  20466. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  20467. begin
  20468. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20469. end;
  20470. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  20471. begin
  20472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20473. end;
  20474. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  20475. begin
  20476. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20477. end;
  20478. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  20479. begin
  20480. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20481. end;
  20482. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  20483. begin
  20484. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20485. end;
  20486. procedure TUART2_U3ASTA.setADM_EN; inline;
  20487. begin
  20488. pTDefRegMap(@Self)^.&set := $01000000;
  20489. end;
  20490. procedure TUART2_U3ASTA.clearADM_EN; inline;
  20491. begin
  20492. pTDefRegMap(@Self)^.clr := $01000000;
  20493. end;
  20494. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  20495. begin
  20496. if thebits = 0 then
  20497. pTDefRegMap(@Self)^.clr := $01000000
  20498. else
  20499. pTDefRegMap(@Self)^.&set := $01000000;
  20500. end;
  20501. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  20502. begin
  20503. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20504. end;
  20505. procedure TUART2_U3ASTA.setURXISEL0; inline;
  20506. begin
  20507. pTDefRegMap(@Self)^.&set := $00000040;
  20508. end;
  20509. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  20510. begin
  20511. pTDefRegMap(@Self)^.clr := $00000040;
  20512. end;
  20513. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  20514. begin
  20515. if thebits = 0 then
  20516. pTDefRegMap(@Self)^.clr := $00000040
  20517. else
  20518. pTDefRegMap(@Self)^.&set := $00000040;
  20519. end;
  20520. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  20521. begin
  20522. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20523. end;
  20524. procedure TUART2_U3ASTA.setURXISEL1; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000080;
  20527. end;
  20528. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000080;
  20531. end;
  20532. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000080
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000080;
  20538. end;
  20539. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  20540. begin
  20541. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20542. end;
  20543. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.&set := $00004000;
  20546. end;
  20547. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.clr := $00004000;
  20550. end;
  20551. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  20552. begin
  20553. if thebits = 0 then
  20554. pTDefRegMap(@Self)^.clr := $00004000
  20555. else
  20556. pTDefRegMap(@Self)^.&set := $00004000;
  20557. end;
  20558. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  20559. begin
  20560. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20561. end;
  20562. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  20563. begin
  20564. pTDefRegMap(@Self)^.&set := $00008000;
  20565. end;
  20566. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.clr := $00008000;
  20569. end;
  20570. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  20571. begin
  20572. if thebits = 0 then
  20573. pTDefRegMap(@Self)^.clr := $00008000
  20574. else
  20575. pTDefRegMap(@Self)^.&set := $00008000;
  20576. end;
  20577. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  20578. begin
  20579. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20580. end;
  20581. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  20582. begin
  20583. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20584. end;
  20585. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  20586. begin
  20587. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20588. end;
  20589. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  20590. begin
  20591. pTDefRegMap(@Self)^.val := thebits;
  20592. end;
  20593. function TUART2_U3ASTA.getw : TBits_32; inline;
  20594. begin
  20595. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20596. end;
  20597. procedure TPMP_PMCON.setRDSP; inline;
  20598. begin
  20599. pTDefRegMap(@Self)^.&set := $00000001;
  20600. end;
  20601. procedure TPMP_PMCON.clearRDSP; inline;
  20602. begin
  20603. pTDefRegMap(@Self)^.clr := $00000001;
  20604. end;
  20605. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  20606. begin
  20607. if thebits = 0 then
  20608. pTDefRegMap(@Self)^.clr := $00000001
  20609. else
  20610. pTDefRegMap(@Self)^.&set := $00000001;
  20611. end;
  20612. function TPMP_PMCON.getRDSP : TBits_1; inline;
  20613. begin
  20614. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20615. end;
  20616. procedure TPMP_PMCON.setWRSP; inline;
  20617. begin
  20618. pTDefRegMap(@Self)^.&set := $00000002;
  20619. end;
  20620. procedure TPMP_PMCON.clearWRSP; inline;
  20621. begin
  20622. pTDefRegMap(@Self)^.clr := $00000002;
  20623. end;
  20624. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  20625. begin
  20626. if thebits = 0 then
  20627. pTDefRegMap(@Self)^.clr := $00000002
  20628. else
  20629. pTDefRegMap(@Self)^.&set := $00000002;
  20630. end;
  20631. function TPMP_PMCON.getWRSP : TBits_1; inline;
  20632. begin
  20633. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20634. end;
  20635. procedure TPMP_PMCON.setCS1P; inline;
  20636. begin
  20637. pTDefRegMap(@Self)^.&set := $00000008;
  20638. end;
  20639. procedure TPMP_PMCON.clearCS1P; inline;
  20640. begin
  20641. pTDefRegMap(@Self)^.clr := $00000008;
  20642. end;
  20643. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  20644. begin
  20645. if thebits = 0 then
  20646. pTDefRegMap(@Self)^.clr := $00000008
  20647. else
  20648. pTDefRegMap(@Self)^.&set := $00000008;
  20649. end;
  20650. function TPMP_PMCON.getCS1P : TBits_1; inline;
  20651. begin
  20652. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20653. end;
  20654. procedure TPMP_PMCON.setALP; inline;
  20655. begin
  20656. pTDefRegMap(@Self)^.&set := $00000020;
  20657. end;
  20658. procedure TPMP_PMCON.clearALP; inline;
  20659. begin
  20660. pTDefRegMap(@Self)^.clr := $00000020;
  20661. end;
  20662. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  20663. begin
  20664. if thebits = 0 then
  20665. pTDefRegMap(@Self)^.clr := $00000020
  20666. else
  20667. pTDefRegMap(@Self)^.&set := $00000020;
  20668. end;
  20669. function TPMP_PMCON.getALP : TBits_1; inline;
  20670. begin
  20671. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20672. end;
  20673. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  20674. begin
  20675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20676. end;
  20677. function TPMP_PMCON.getCSF : TBits_2; inline;
  20678. begin
  20679. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20680. end;
  20681. procedure TPMP_PMCON.setPTRDEN; inline;
  20682. begin
  20683. pTDefRegMap(@Self)^.&set := $00000100;
  20684. end;
  20685. procedure TPMP_PMCON.clearPTRDEN; inline;
  20686. begin
  20687. pTDefRegMap(@Self)^.clr := $00000100;
  20688. end;
  20689. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  20690. begin
  20691. if thebits = 0 then
  20692. pTDefRegMap(@Self)^.clr := $00000100
  20693. else
  20694. pTDefRegMap(@Self)^.&set := $00000100;
  20695. end;
  20696. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  20697. begin
  20698. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20699. end;
  20700. procedure TPMP_PMCON.setPTWREN; inline;
  20701. begin
  20702. pTDefRegMap(@Self)^.&set := $00000200;
  20703. end;
  20704. procedure TPMP_PMCON.clearPTWREN; inline;
  20705. begin
  20706. pTDefRegMap(@Self)^.clr := $00000200;
  20707. end;
  20708. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  20709. begin
  20710. if thebits = 0 then
  20711. pTDefRegMap(@Self)^.clr := $00000200
  20712. else
  20713. pTDefRegMap(@Self)^.&set := $00000200;
  20714. end;
  20715. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  20716. begin
  20717. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20718. end;
  20719. procedure TPMP_PMCON.setPMPTTL; inline;
  20720. begin
  20721. pTDefRegMap(@Self)^.&set := $00000400;
  20722. end;
  20723. procedure TPMP_PMCON.clearPMPTTL; inline;
  20724. begin
  20725. pTDefRegMap(@Self)^.clr := $00000400;
  20726. end;
  20727. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  20728. begin
  20729. if thebits = 0 then
  20730. pTDefRegMap(@Self)^.clr := $00000400
  20731. else
  20732. pTDefRegMap(@Self)^.&set := $00000400;
  20733. end;
  20734. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  20735. begin
  20736. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20737. end;
  20738. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  20739. begin
  20740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20741. end;
  20742. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  20743. begin
  20744. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20745. end;
  20746. procedure TPMP_PMCON.setSIDL; inline;
  20747. begin
  20748. pTDefRegMap(@Self)^.&set := $00002000;
  20749. end;
  20750. procedure TPMP_PMCON.clearSIDL; inline;
  20751. begin
  20752. pTDefRegMap(@Self)^.clr := $00002000;
  20753. end;
  20754. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  20755. begin
  20756. if thebits = 0 then
  20757. pTDefRegMap(@Self)^.clr := $00002000
  20758. else
  20759. pTDefRegMap(@Self)^.&set := $00002000;
  20760. end;
  20761. function TPMP_PMCON.getSIDL : TBits_1; inline;
  20762. begin
  20763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20764. end;
  20765. procedure TPMP_PMCON.setON; inline;
  20766. begin
  20767. pTDefRegMap(@Self)^.&set := $00008000;
  20768. end;
  20769. procedure TPMP_PMCON.clearON; inline;
  20770. begin
  20771. pTDefRegMap(@Self)^.clr := $00008000;
  20772. end;
  20773. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  20774. begin
  20775. if thebits = 0 then
  20776. pTDefRegMap(@Self)^.clr := $00008000
  20777. else
  20778. pTDefRegMap(@Self)^.&set := $00008000;
  20779. end;
  20780. function TPMP_PMCON.getON : TBits_1; inline;
  20781. begin
  20782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20783. end;
  20784. procedure TPMP_PMCON.setCSF0; inline;
  20785. begin
  20786. pTDefRegMap(@Self)^.&set := $00000040;
  20787. end;
  20788. procedure TPMP_PMCON.clearCSF0; inline;
  20789. begin
  20790. pTDefRegMap(@Self)^.clr := $00000040;
  20791. end;
  20792. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  20793. begin
  20794. if thebits = 0 then
  20795. pTDefRegMap(@Self)^.clr := $00000040
  20796. else
  20797. pTDefRegMap(@Self)^.&set := $00000040;
  20798. end;
  20799. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  20800. begin
  20801. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20802. end;
  20803. procedure TPMP_PMCON.setCSF1; inline;
  20804. begin
  20805. pTDefRegMap(@Self)^.&set := $00000080;
  20806. end;
  20807. procedure TPMP_PMCON.clearCSF1; inline;
  20808. begin
  20809. pTDefRegMap(@Self)^.clr := $00000080;
  20810. end;
  20811. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  20812. begin
  20813. if thebits = 0 then
  20814. pTDefRegMap(@Self)^.clr := $00000080
  20815. else
  20816. pTDefRegMap(@Self)^.&set := $00000080;
  20817. end;
  20818. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  20819. begin
  20820. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20821. end;
  20822. procedure TPMP_PMCON.setADRMUX0; inline;
  20823. begin
  20824. pTDefRegMap(@Self)^.&set := $00000800;
  20825. end;
  20826. procedure TPMP_PMCON.clearADRMUX0; inline;
  20827. begin
  20828. pTDefRegMap(@Self)^.clr := $00000800;
  20829. end;
  20830. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  20831. begin
  20832. if thebits = 0 then
  20833. pTDefRegMap(@Self)^.clr := $00000800
  20834. else
  20835. pTDefRegMap(@Self)^.&set := $00000800;
  20836. end;
  20837. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  20838. begin
  20839. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20840. end;
  20841. procedure TPMP_PMCON.setADRMUX1; inline;
  20842. begin
  20843. pTDefRegMap(@Self)^.&set := $00001000;
  20844. end;
  20845. procedure TPMP_PMCON.clearADRMUX1; inline;
  20846. begin
  20847. pTDefRegMap(@Self)^.clr := $00001000;
  20848. end;
  20849. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  20850. begin
  20851. if thebits = 0 then
  20852. pTDefRegMap(@Self)^.clr := $00001000
  20853. else
  20854. pTDefRegMap(@Self)^.&set := $00001000;
  20855. end;
  20856. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  20857. begin
  20858. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20859. end;
  20860. procedure TPMP_PMCON.setPSIDL; inline;
  20861. begin
  20862. pTDefRegMap(@Self)^.&set := $00002000;
  20863. end;
  20864. procedure TPMP_PMCON.clearPSIDL; inline;
  20865. begin
  20866. pTDefRegMap(@Self)^.clr := $00002000;
  20867. end;
  20868. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  20869. begin
  20870. if thebits = 0 then
  20871. pTDefRegMap(@Self)^.clr := $00002000
  20872. else
  20873. pTDefRegMap(@Self)^.&set := $00002000;
  20874. end;
  20875. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  20876. begin
  20877. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20878. end;
  20879. procedure TPMP_PMCON.setPMPEN; inline;
  20880. begin
  20881. pTDefRegMap(@Self)^.&set := $00008000;
  20882. end;
  20883. procedure TPMP_PMCON.clearPMPEN; inline;
  20884. begin
  20885. pTDefRegMap(@Self)^.clr := $00008000;
  20886. end;
  20887. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  20888. begin
  20889. if thebits = 0 then
  20890. pTDefRegMap(@Self)^.clr := $00008000
  20891. else
  20892. pTDefRegMap(@Self)^.&set := $00008000;
  20893. end;
  20894. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  20895. begin
  20896. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20897. end;
  20898. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  20899. begin
  20900. pTDefRegMap(@Self)^.val := thebits;
  20901. end;
  20902. function TPMP_PMCON.getw : TBits_32; inline;
  20903. begin
  20904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20905. end;
  20906. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  20907. begin
  20908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  20909. end;
  20910. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  20911. begin
  20912. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  20913. end;
  20914. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  20915. begin
  20916. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  20917. end;
  20918. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  20919. begin
  20920. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  20921. end;
  20922. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  20923. begin
  20924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20925. end;
  20926. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  20927. begin
  20928. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20929. end;
  20930. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  20931. begin
  20932. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20933. end;
  20934. function TPMP_PMMODE.getMODE : TBits_2; inline;
  20935. begin
  20936. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20937. end;
  20938. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  20939. begin
  20940. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  20941. end;
  20942. function TPMP_PMMODE.getINCM : TBits_2; inline;
  20943. begin
  20944. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  20945. end;
  20946. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  20947. begin
  20948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  20949. end;
  20950. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  20951. begin
  20952. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  20953. end;
  20954. procedure TPMP_PMMODE.setBUSY; inline;
  20955. begin
  20956. pTDefRegMap(@Self)^.&set := $00008000;
  20957. end;
  20958. procedure TPMP_PMMODE.clearBUSY; inline;
  20959. begin
  20960. pTDefRegMap(@Self)^.clr := $00008000;
  20961. end;
  20962. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  20963. begin
  20964. if thebits = 0 then
  20965. pTDefRegMap(@Self)^.clr := $00008000
  20966. else
  20967. pTDefRegMap(@Self)^.&set := $00008000;
  20968. end;
  20969. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  20970. begin
  20971. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20972. end;
  20973. procedure TPMP_PMMODE.setWAITE0; inline;
  20974. begin
  20975. pTDefRegMap(@Self)^.&set := $00000001;
  20976. end;
  20977. procedure TPMP_PMMODE.clearWAITE0; inline;
  20978. begin
  20979. pTDefRegMap(@Self)^.clr := $00000001;
  20980. end;
  20981. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  20982. begin
  20983. if thebits = 0 then
  20984. pTDefRegMap(@Self)^.clr := $00000001
  20985. else
  20986. pTDefRegMap(@Self)^.&set := $00000001;
  20987. end;
  20988. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  20989. begin
  20990. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20991. end;
  20992. procedure TPMP_PMMODE.setWAITE1; inline;
  20993. begin
  20994. pTDefRegMap(@Self)^.&set := $00000002;
  20995. end;
  20996. procedure TPMP_PMMODE.clearWAITE1; inline;
  20997. begin
  20998. pTDefRegMap(@Self)^.clr := $00000002;
  20999. end;
  21000. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21001. begin
  21002. if thebits = 0 then
  21003. pTDefRegMap(@Self)^.clr := $00000002
  21004. else
  21005. pTDefRegMap(@Self)^.&set := $00000002;
  21006. end;
  21007. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21008. begin
  21009. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21010. end;
  21011. procedure TPMP_PMMODE.setWAITM0; inline;
  21012. begin
  21013. pTDefRegMap(@Self)^.&set := $00000004;
  21014. end;
  21015. procedure TPMP_PMMODE.clearWAITM0; inline;
  21016. begin
  21017. pTDefRegMap(@Self)^.clr := $00000004;
  21018. end;
  21019. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21020. begin
  21021. if thebits = 0 then
  21022. pTDefRegMap(@Self)^.clr := $00000004
  21023. else
  21024. pTDefRegMap(@Self)^.&set := $00000004;
  21025. end;
  21026. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21027. begin
  21028. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21029. end;
  21030. procedure TPMP_PMMODE.setWAITM1; inline;
  21031. begin
  21032. pTDefRegMap(@Self)^.&set := $00000008;
  21033. end;
  21034. procedure TPMP_PMMODE.clearWAITM1; inline;
  21035. begin
  21036. pTDefRegMap(@Self)^.clr := $00000008;
  21037. end;
  21038. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21039. begin
  21040. if thebits = 0 then
  21041. pTDefRegMap(@Self)^.clr := $00000008
  21042. else
  21043. pTDefRegMap(@Self)^.&set := $00000008;
  21044. end;
  21045. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21046. begin
  21047. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21048. end;
  21049. procedure TPMP_PMMODE.setWAITM2; inline;
  21050. begin
  21051. pTDefRegMap(@Self)^.&set := $00000010;
  21052. end;
  21053. procedure TPMP_PMMODE.clearWAITM2; inline;
  21054. begin
  21055. pTDefRegMap(@Self)^.clr := $00000010;
  21056. end;
  21057. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21058. begin
  21059. if thebits = 0 then
  21060. pTDefRegMap(@Self)^.clr := $00000010
  21061. else
  21062. pTDefRegMap(@Self)^.&set := $00000010;
  21063. end;
  21064. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21065. begin
  21066. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21067. end;
  21068. procedure TPMP_PMMODE.setWAITM3; inline;
  21069. begin
  21070. pTDefRegMap(@Self)^.&set := $00000020;
  21071. end;
  21072. procedure TPMP_PMMODE.clearWAITM3; inline;
  21073. begin
  21074. pTDefRegMap(@Self)^.clr := $00000020;
  21075. end;
  21076. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21077. begin
  21078. if thebits = 0 then
  21079. pTDefRegMap(@Self)^.clr := $00000020
  21080. else
  21081. pTDefRegMap(@Self)^.&set := $00000020;
  21082. end;
  21083. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21084. begin
  21085. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21086. end;
  21087. procedure TPMP_PMMODE.setWAITB0; inline;
  21088. begin
  21089. pTDefRegMap(@Self)^.&set := $00000040;
  21090. end;
  21091. procedure TPMP_PMMODE.clearWAITB0; inline;
  21092. begin
  21093. pTDefRegMap(@Self)^.clr := $00000040;
  21094. end;
  21095. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21096. begin
  21097. if thebits = 0 then
  21098. pTDefRegMap(@Self)^.clr := $00000040
  21099. else
  21100. pTDefRegMap(@Self)^.&set := $00000040;
  21101. end;
  21102. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21103. begin
  21104. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21105. end;
  21106. procedure TPMP_PMMODE.setWAITB1; inline;
  21107. begin
  21108. pTDefRegMap(@Self)^.&set := $00000080;
  21109. end;
  21110. procedure TPMP_PMMODE.clearWAITB1; inline;
  21111. begin
  21112. pTDefRegMap(@Self)^.clr := $00000080;
  21113. end;
  21114. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21115. begin
  21116. if thebits = 0 then
  21117. pTDefRegMap(@Self)^.clr := $00000080
  21118. else
  21119. pTDefRegMap(@Self)^.&set := $00000080;
  21120. end;
  21121. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21122. begin
  21123. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21124. end;
  21125. procedure TPMP_PMMODE.setMODE0; inline;
  21126. begin
  21127. pTDefRegMap(@Self)^.&set := $00000100;
  21128. end;
  21129. procedure TPMP_PMMODE.clearMODE0; inline;
  21130. begin
  21131. pTDefRegMap(@Self)^.clr := $00000100;
  21132. end;
  21133. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21134. begin
  21135. if thebits = 0 then
  21136. pTDefRegMap(@Self)^.clr := $00000100
  21137. else
  21138. pTDefRegMap(@Self)^.&set := $00000100;
  21139. end;
  21140. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21141. begin
  21142. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21143. end;
  21144. procedure TPMP_PMMODE.setMODE1; inline;
  21145. begin
  21146. pTDefRegMap(@Self)^.&set := $00000200;
  21147. end;
  21148. procedure TPMP_PMMODE.clearMODE1; inline;
  21149. begin
  21150. pTDefRegMap(@Self)^.clr := $00000200;
  21151. end;
  21152. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21153. begin
  21154. if thebits = 0 then
  21155. pTDefRegMap(@Self)^.clr := $00000200
  21156. else
  21157. pTDefRegMap(@Self)^.&set := $00000200;
  21158. end;
  21159. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21160. begin
  21161. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21162. end;
  21163. procedure TPMP_PMMODE.setINCM0; inline;
  21164. begin
  21165. pTDefRegMap(@Self)^.&set := $00000800;
  21166. end;
  21167. procedure TPMP_PMMODE.clearINCM0; inline;
  21168. begin
  21169. pTDefRegMap(@Self)^.clr := $00000800;
  21170. end;
  21171. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21172. begin
  21173. if thebits = 0 then
  21174. pTDefRegMap(@Self)^.clr := $00000800
  21175. else
  21176. pTDefRegMap(@Self)^.&set := $00000800;
  21177. end;
  21178. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21179. begin
  21180. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21181. end;
  21182. procedure TPMP_PMMODE.setINCM1; inline;
  21183. begin
  21184. pTDefRegMap(@Self)^.&set := $00001000;
  21185. end;
  21186. procedure TPMP_PMMODE.clearINCM1; inline;
  21187. begin
  21188. pTDefRegMap(@Self)^.clr := $00001000;
  21189. end;
  21190. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21191. begin
  21192. if thebits = 0 then
  21193. pTDefRegMap(@Self)^.clr := $00001000
  21194. else
  21195. pTDefRegMap(@Self)^.&set := $00001000;
  21196. end;
  21197. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21198. begin
  21199. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21200. end;
  21201. procedure TPMP_PMMODE.setIRQM0; inline;
  21202. begin
  21203. pTDefRegMap(@Self)^.&set := $00002000;
  21204. end;
  21205. procedure TPMP_PMMODE.clearIRQM0; inline;
  21206. begin
  21207. pTDefRegMap(@Self)^.clr := $00002000;
  21208. end;
  21209. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21210. begin
  21211. if thebits = 0 then
  21212. pTDefRegMap(@Self)^.clr := $00002000
  21213. else
  21214. pTDefRegMap(@Self)^.&set := $00002000;
  21215. end;
  21216. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21217. begin
  21218. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21219. end;
  21220. procedure TPMP_PMMODE.setIRQM1; inline;
  21221. begin
  21222. pTDefRegMap(@Self)^.&set := $00004000;
  21223. end;
  21224. procedure TPMP_PMMODE.clearIRQM1; inline;
  21225. begin
  21226. pTDefRegMap(@Self)^.clr := $00004000;
  21227. end;
  21228. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21229. begin
  21230. if thebits = 0 then
  21231. pTDefRegMap(@Self)^.clr := $00004000
  21232. else
  21233. pTDefRegMap(@Self)^.&set := $00004000;
  21234. end;
  21235. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21236. begin
  21237. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21238. end;
  21239. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21240. begin
  21241. pTDefRegMap(@Self)^.val := thebits;
  21242. end;
  21243. function TPMP_PMMODE.getw : TBits_32; inline;
  21244. begin
  21245. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21246. end;
  21247. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21248. begin
  21249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21250. end;
  21251. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21252. begin
  21253. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21254. end;
  21255. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21256. begin
  21257. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21258. end;
  21259. function TPMP_PMADDR.getCS : TBits_2; inline;
  21260. begin
  21261. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21262. end;
  21263. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21264. begin
  21265. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21266. end;
  21267. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21268. begin
  21269. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21270. end;
  21271. procedure TPMP_PMADDR.setCS1; inline;
  21272. begin
  21273. pTDefRegMap(@Self)^.&set := $00004000;
  21274. end;
  21275. procedure TPMP_PMADDR.clearCS1; inline;
  21276. begin
  21277. pTDefRegMap(@Self)^.clr := $00004000;
  21278. end;
  21279. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21280. begin
  21281. if thebits = 0 then
  21282. pTDefRegMap(@Self)^.clr := $00004000
  21283. else
  21284. pTDefRegMap(@Self)^.&set := $00004000;
  21285. end;
  21286. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21287. begin
  21288. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21289. end;
  21290. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21291. begin
  21292. pTDefRegMap(@Self)^.val := thebits;
  21293. end;
  21294. function TPMP_PMADDR.getw : TBits_32; inline;
  21295. begin
  21296. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21297. end;
  21298. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21299. begin
  21300. pTDefRegMap(@Self)^.val := thebits;
  21301. end;
  21302. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21303. begin
  21304. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21305. end;
  21306. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21307. begin
  21308. pTDefRegMap(@Self)^.val := thebits;
  21309. end;
  21310. function TPMP_PMDOUT.getw : TBits_32; inline;
  21311. begin
  21312. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21313. end;
  21314. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21315. begin
  21316. pTDefRegMap(@Self)^.val := thebits;
  21317. end;
  21318. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21319. begin
  21320. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21321. end;
  21322. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21323. begin
  21324. pTDefRegMap(@Self)^.val := thebits;
  21325. end;
  21326. function TPMP_PMDIN.getw : TBits_32; inline;
  21327. begin
  21328. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21329. end;
  21330. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21331. begin
  21332. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21333. end;
  21334. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21335. begin
  21336. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21337. end;
  21338. procedure TPMP_PMAEN.setPTEN0; inline;
  21339. begin
  21340. pTDefRegMap(@Self)^.&set := $00000001;
  21341. end;
  21342. procedure TPMP_PMAEN.clearPTEN0; inline;
  21343. begin
  21344. pTDefRegMap(@Self)^.clr := $00000001;
  21345. end;
  21346. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21347. begin
  21348. if thebits = 0 then
  21349. pTDefRegMap(@Self)^.clr := $00000001
  21350. else
  21351. pTDefRegMap(@Self)^.&set := $00000001;
  21352. end;
  21353. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21354. begin
  21355. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21356. end;
  21357. procedure TPMP_PMAEN.setPTEN1; inline;
  21358. begin
  21359. pTDefRegMap(@Self)^.&set := $00000002;
  21360. end;
  21361. procedure TPMP_PMAEN.clearPTEN1; inline;
  21362. begin
  21363. pTDefRegMap(@Self)^.clr := $00000002;
  21364. end;
  21365. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  21366. begin
  21367. if thebits = 0 then
  21368. pTDefRegMap(@Self)^.clr := $00000002
  21369. else
  21370. pTDefRegMap(@Self)^.&set := $00000002;
  21371. end;
  21372. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  21373. begin
  21374. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21375. end;
  21376. procedure TPMP_PMAEN.setPTEN2; inline;
  21377. begin
  21378. pTDefRegMap(@Self)^.&set := $00000004;
  21379. end;
  21380. procedure TPMP_PMAEN.clearPTEN2; inline;
  21381. begin
  21382. pTDefRegMap(@Self)^.clr := $00000004;
  21383. end;
  21384. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  21385. begin
  21386. if thebits = 0 then
  21387. pTDefRegMap(@Self)^.clr := $00000004
  21388. else
  21389. pTDefRegMap(@Self)^.&set := $00000004;
  21390. end;
  21391. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  21392. begin
  21393. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21394. end;
  21395. procedure TPMP_PMAEN.setPTEN3; inline;
  21396. begin
  21397. pTDefRegMap(@Self)^.&set := $00000008;
  21398. end;
  21399. procedure TPMP_PMAEN.clearPTEN3; inline;
  21400. begin
  21401. pTDefRegMap(@Self)^.clr := $00000008;
  21402. end;
  21403. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  21404. begin
  21405. if thebits = 0 then
  21406. pTDefRegMap(@Self)^.clr := $00000008
  21407. else
  21408. pTDefRegMap(@Self)^.&set := $00000008;
  21409. end;
  21410. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  21411. begin
  21412. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21413. end;
  21414. procedure TPMP_PMAEN.setPTEN4; inline;
  21415. begin
  21416. pTDefRegMap(@Self)^.&set := $00000010;
  21417. end;
  21418. procedure TPMP_PMAEN.clearPTEN4; inline;
  21419. begin
  21420. pTDefRegMap(@Self)^.clr := $00000010;
  21421. end;
  21422. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  21423. begin
  21424. if thebits = 0 then
  21425. pTDefRegMap(@Self)^.clr := $00000010
  21426. else
  21427. pTDefRegMap(@Self)^.&set := $00000010;
  21428. end;
  21429. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  21430. begin
  21431. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21432. end;
  21433. procedure TPMP_PMAEN.setPTEN5; inline;
  21434. begin
  21435. pTDefRegMap(@Self)^.&set := $00000020;
  21436. end;
  21437. procedure TPMP_PMAEN.clearPTEN5; inline;
  21438. begin
  21439. pTDefRegMap(@Self)^.clr := $00000020;
  21440. end;
  21441. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  21442. begin
  21443. if thebits = 0 then
  21444. pTDefRegMap(@Self)^.clr := $00000020
  21445. else
  21446. pTDefRegMap(@Self)^.&set := $00000020;
  21447. end;
  21448. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  21449. begin
  21450. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21451. end;
  21452. procedure TPMP_PMAEN.setPTEN6; inline;
  21453. begin
  21454. pTDefRegMap(@Self)^.&set := $00000040;
  21455. end;
  21456. procedure TPMP_PMAEN.clearPTEN6; inline;
  21457. begin
  21458. pTDefRegMap(@Self)^.clr := $00000040;
  21459. end;
  21460. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  21461. begin
  21462. if thebits = 0 then
  21463. pTDefRegMap(@Self)^.clr := $00000040
  21464. else
  21465. pTDefRegMap(@Self)^.&set := $00000040;
  21466. end;
  21467. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  21468. begin
  21469. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21470. end;
  21471. procedure TPMP_PMAEN.setPTEN7; inline;
  21472. begin
  21473. pTDefRegMap(@Self)^.&set := $00000080;
  21474. end;
  21475. procedure TPMP_PMAEN.clearPTEN7; inline;
  21476. begin
  21477. pTDefRegMap(@Self)^.clr := $00000080;
  21478. end;
  21479. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  21480. begin
  21481. if thebits = 0 then
  21482. pTDefRegMap(@Self)^.clr := $00000080
  21483. else
  21484. pTDefRegMap(@Self)^.&set := $00000080;
  21485. end;
  21486. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  21487. begin
  21488. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21489. end;
  21490. procedure TPMP_PMAEN.setPTEN8; inline;
  21491. begin
  21492. pTDefRegMap(@Self)^.&set := $00000100;
  21493. end;
  21494. procedure TPMP_PMAEN.clearPTEN8; inline;
  21495. begin
  21496. pTDefRegMap(@Self)^.clr := $00000100;
  21497. end;
  21498. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  21499. begin
  21500. if thebits = 0 then
  21501. pTDefRegMap(@Self)^.clr := $00000100
  21502. else
  21503. pTDefRegMap(@Self)^.&set := $00000100;
  21504. end;
  21505. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  21506. begin
  21507. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21508. end;
  21509. procedure TPMP_PMAEN.setPTEN9; inline;
  21510. begin
  21511. pTDefRegMap(@Self)^.&set := $00000200;
  21512. end;
  21513. procedure TPMP_PMAEN.clearPTEN9; inline;
  21514. begin
  21515. pTDefRegMap(@Self)^.clr := $00000200;
  21516. end;
  21517. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  21518. begin
  21519. if thebits = 0 then
  21520. pTDefRegMap(@Self)^.clr := $00000200
  21521. else
  21522. pTDefRegMap(@Self)^.&set := $00000200;
  21523. end;
  21524. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  21525. begin
  21526. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21527. end;
  21528. procedure TPMP_PMAEN.setPTEN10; inline;
  21529. begin
  21530. pTDefRegMap(@Self)^.&set := $00000400;
  21531. end;
  21532. procedure TPMP_PMAEN.clearPTEN10; inline;
  21533. begin
  21534. pTDefRegMap(@Self)^.clr := $00000400;
  21535. end;
  21536. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  21537. begin
  21538. if thebits = 0 then
  21539. pTDefRegMap(@Self)^.clr := $00000400
  21540. else
  21541. pTDefRegMap(@Self)^.&set := $00000400;
  21542. end;
  21543. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  21544. begin
  21545. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21546. end;
  21547. procedure TPMP_PMAEN.setPTEN11; inline;
  21548. begin
  21549. pTDefRegMap(@Self)^.&set := $00000800;
  21550. end;
  21551. procedure TPMP_PMAEN.clearPTEN11; inline;
  21552. begin
  21553. pTDefRegMap(@Self)^.clr := $00000800;
  21554. end;
  21555. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  21556. begin
  21557. if thebits = 0 then
  21558. pTDefRegMap(@Self)^.clr := $00000800
  21559. else
  21560. pTDefRegMap(@Self)^.&set := $00000800;
  21561. end;
  21562. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  21563. begin
  21564. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21565. end;
  21566. procedure TPMP_PMAEN.setPTEN12; inline;
  21567. begin
  21568. pTDefRegMap(@Self)^.&set := $00001000;
  21569. end;
  21570. procedure TPMP_PMAEN.clearPTEN12; inline;
  21571. begin
  21572. pTDefRegMap(@Self)^.clr := $00001000;
  21573. end;
  21574. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  21575. begin
  21576. if thebits = 0 then
  21577. pTDefRegMap(@Self)^.clr := $00001000
  21578. else
  21579. pTDefRegMap(@Self)^.&set := $00001000;
  21580. end;
  21581. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  21582. begin
  21583. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21584. end;
  21585. procedure TPMP_PMAEN.setPTEN13; inline;
  21586. begin
  21587. pTDefRegMap(@Self)^.&set := $00002000;
  21588. end;
  21589. procedure TPMP_PMAEN.clearPTEN13; inline;
  21590. begin
  21591. pTDefRegMap(@Self)^.clr := $00002000;
  21592. end;
  21593. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  21594. begin
  21595. if thebits = 0 then
  21596. pTDefRegMap(@Self)^.clr := $00002000
  21597. else
  21598. pTDefRegMap(@Self)^.&set := $00002000;
  21599. end;
  21600. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  21601. begin
  21602. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21603. end;
  21604. procedure TPMP_PMAEN.setPTEN14; inline;
  21605. begin
  21606. pTDefRegMap(@Self)^.&set := $00004000;
  21607. end;
  21608. procedure TPMP_PMAEN.clearPTEN14; inline;
  21609. begin
  21610. pTDefRegMap(@Self)^.clr := $00004000;
  21611. end;
  21612. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  21613. begin
  21614. if thebits = 0 then
  21615. pTDefRegMap(@Self)^.clr := $00004000
  21616. else
  21617. pTDefRegMap(@Self)^.&set := $00004000;
  21618. end;
  21619. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  21620. begin
  21621. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21622. end;
  21623. procedure TPMP_PMAEN.setPTEN15; inline;
  21624. begin
  21625. pTDefRegMap(@Self)^.&set := $00008000;
  21626. end;
  21627. procedure TPMP_PMAEN.clearPTEN15; inline;
  21628. begin
  21629. pTDefRegMap(@Self)^.clr := $00008000;
  21630. end;
  21631. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  21632. begin
  21633. if thebits = 0 then
  21634. pTDefRegMap(@Self)^.clr := $00008000
  21635. else
  21636. pTDefRegMap(@Self)^.&set := $00008000;
  21637. end;
  21638. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  21639. begin
  21640. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21641. end;
  21642. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  21643. begin
  21644. pTDefRegMap(@Self)^.val := thebits;
  21645. end;
  21646. function TPMP_PMAEN.getw : TBits_32; inline;
  21647. begin
  21648. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21649. end;
  21650. procedure TPMP_PMSTAT.setOB0E; inline;
  21651. begin
  21652. pTDefRegMap(@Self)^.&set := $00000001;
  21653. end;
  21654. procedure TPMP_PMSTAT.clearOB0E; inline;
  21655. begin
  21656. pTDefRegMap(@Self)^.clr := $00000001;
  21657. end;
  21658. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  21659. begin
  21660. if thebits = 0 then
  21661. pTDefRegMap(@Self)^.clr := $00000001
  21662. else
  21663. pTDefRegMap(@Self)^.&set := $00000001;
  21664. end;
  21665. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  21666. begin
  21667. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21668. end;
  21669. procedure TPMP_PMSTAT.setOB1E; inline;
  21670. begin
  21671. pTDefRegMap(@Self)^.&set := $00000002;
  21672. end;
  21673. procedure TPMP_PMSTAT.clearOB1E; inline;
  21674. begin
  21675. pTDefRegMap(@Self)^.clr := $00000002;
  21676. end;
  21677. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  21678. begin
  21679. if thebits = 0 then
  21680. pTDefRegMap(@Self)^.clr := $00000002
  21681. else
  21682. pTDefRegMap(@Self)^.&set := $00000002;
  21683. end;
  21684. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  21685. begin
  21686. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21687. end;
  21688. procedure TPMP_PMSTAT.setOB2E; inline;
  21689. begin
  21690. pTDefRegMap(@Self)^.&set := $00000004;
  21691. end;
  21692. procedure TPMP_PMSTAT.clearOB2E; inline;
  21693. begin
  21694. pTDefRegMap(@Self)^.clr := $00000004;
  21695. end;
  21696. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  21697. begin
  21698. if thebits = 0 then
  21699. pTDefRegMap(@Self)^.clr := $00000004
  21700. else
  21701. pTDefRegMap(@Self)^.&set := $00000004;
  21702. end;
  21703. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  21704. begin
  21705. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21706. end;
  21707. procedure TPMP_PMSTAT.setOB3E; inline;
  21708. begin
  21709. pTDefRegMap(@Self)^.&set := $00000008;
  21710. end;
  21711. procedure TPMP_PMSTAT.clearOB3E; inline;
  21712. begin
  21713. pTDefRegMap(@Self)^.clr := $00000008;
  21714. end;
  21715. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  21716. begin
  21717. if thebits = 0 then
  21718. pTDefRegMap(@Self)^.clr := $00000008
  21719. else
  21720. pTDefRegMap(@Self)^.&set := $00000008;
  21721. end;
  21722. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  21723. begin
  21724. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21725. end;
  21726. procedure TPMP_PMSTAT.setOBUF; inline;
  21727. begin
  21728. pTDefRegMap(@Self)^.&set := $00000040;
  21729. end;
  21730. procedure TPMP_PMSTAT.clearOBUF; inline;
  21731. begin
  21732. pTDefRegMap(@Self)^.clr := $00000040;
  21733. end;
  21734. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  21735. begin
  21736. if thebits = 0 then
  21737. pTDefRegMap(@Self)^.clr := $00000040
  21738. else
  21739. pTDefRegMap(@Self)^.&set := $00000040;
  21740. end;
  21741. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  21742. begin
  21743. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21744. end;
  21745. procedure TPMP_PMSTAT.setOBE; inline;
  21746. begin
  21747. pTDefRegMap(@Self)^.&set := $00000080;
  21748. end;
  21749. procedure TPMP_PMSTAT.clearOBE; inline;
  21750. begin
  21751. pTDefRegMap(@Self)^.clr := $00000080;
  21752. end;
  21753. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  21754. begin
  21755. if thebits = 0 then
  21756. pTDefRegMap(@Self)^.clr := $00000080
  21757. else
  21758. pTDefRegMap(@Self)^.&set := $00000080;
  21759. end;
  21760. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  21761. begin
  21762. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21763. end;
  21764. procedure TPMP_PMSTAT.setIB0F; inline;
  21765. begin
  21766. pTDefRegMap(@Self)^.&set := $00000100;
  21767. end;
  21768. procedure TPMP_PMSTAT.clearIB0F; inline;
  21769. begin
  21770. pTDefRegMap(@Self)^.clr := $00000100;
  21771. end;
  21772. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  21773. begin
  21774. if thebits = 0 then
  21775. pTDefRegMap(@Self)^.clr := $00000100
  21776. else
  21777. pTDefRegMap(@Self)^.&set := $00000100;
  21778. end;
  21779. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  21780. begin
  21781. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21782. end;
  21783. procedure TPMP_PMSTAT.setIB1F; inline;
  21784. begin
  21785. pTDefRegMap(@Self)^.&set := $00000200;
  21786. end;
  21787. procedure TPMP_PMSTAT.clearIB1F; inline;
  21788. begin
  21789. pTDefRegMap(@Self)^.clr := $00000200;
  21790. end;
  21791. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  21792. begin
  21793. if thebits = 0 then
  21794. pTDefRegMap(@Self)^.clr := $00000200
  21795. else
  21796. pTDefRegMap(@Self)^.&set := $00000200;
  21797. end;
  21798. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  21799. begin
  21800. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21801. end;
  21802. procedure TPMP_PMSTAT.setIB2F; inline;
  21803. begin
  21804. pTDefRegMap(@Self)^.&set := $00000400;
  21805. end;
  21806. procedure TPMP_PMSTAT.clearIB2F; inline;
  21807. begin
  21808. pTDefRegMap(@Self)^.clr := $00000400;
  21809. end;
  21810. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  21811. begin
  21812. if thebits = 0 then
  21813. pTDefRegMap(@Self)^.clr := $00000400
  21814. else
  21815. pTDefRegMap(@Self)^.&set := $00000400;
  21816. end;
  21817. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  21818. begin
  21819. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21820. end;
  21821. procedure TPMP_PMSTAT.setIB3F; inline;
  21822. begin
  21823. pTDefRegMap(@Self)^.&set := $00000800;
  21824. end;
  21825. procedure TPMP_PMSTAT.clearIB3F; inline;
  21826. begin
  21827. pTDefRegMap(@Self)^.clr := $00000800;
  21828. end;
  21829. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  21830. begin
  21831. if thebits = 0 then
  21832. pTDefRegMap(@Self)^.clr := $00000800
  21833. else
  21834. pTDefRegMap(@Self)^.&set := $00000800;
  21835. end;
  21836. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  21837. begin
  21838. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21839. end;
  21840. procedure TPMP_PMSTAT.setIBOV; inline;
  21841. begin
  21842. pTDefRegMap(@Self)^.&set := $00004000;
  21843. end;
  21844. procedure TPMP_PMSTAT.clearIBOV; inline;
  21845. begin
  21846. pTDefRegMap(@Self)^.clr := $00004000;
  21847. end;
  21848. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  21849. begin
  21850. if thebits = 0 then
  21851. pTDefRegMap(@Self)^.clr := $00004000
  21852. else
  21853. pTDefRegMap(@Self)^.&set := $00004000;
  21854. end;
  21855. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  21856. begin
  21857. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21858. end;
  21859. procedure TPMP_PMSTAT.setIBF; inline;
  21860. begin
  21861. pTDefRegMap(@Self)^.&set := $00008000;
  21862. end;
  21863. procedure TPMP_PMSTAT.clearIBF; inline;
  21864. begin
  21865. pTDefRegMap(@Self)^.clr := $00008000;
  21866. end;
  21867. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  21868. begin
  21869. if thebits = 0 then
  21870. pTDefRegMap(@Self)^.clr := $00008000
  21871. else
  21872. pTDefRegMap(@Self)^.&set := $00008000;
  21873. end;
  21874. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  21875. begin
  21876. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21877. end;
  21878. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  21879. begin
  21880. pTDefRegMap(@Self)^.val := thebits;
  21881. end;
  21882. function TPMP_PMSTAT.getw : TBits_32; inline;
  21883. begin
  21884. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21885. end;
  21886. procedure TADC10_AD1CON1.setDONE; inline;
  21887. begin
  21888. pTDefRegMap(@Self)^.&set := $00000001;
  21889. end;
  21890. procedure TADC10_AD1CON1.clearDONE; inline;
  21891. begin
  21892. pTDefRegMap(@Self)^.clr := $00000001;
  21893. end;
  21894. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  21895. begin
  21896. if thebits = 0 then
  21897. pTDefRegMap(@Self)^.clr := $00000001
  21898. else
  21899. pTDefRegMap(@Self)^.&set := $00000001;
  21900. end;
  21901. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  21902. begin
  21903. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21904. end;
  21905. procedure TADC10_AD1CON1.setSAMP; inline;
  21906. begin
  21907. pTDefRegMap(@Self)^.&set := $00000002;
  21908. end;
  21909. procedure TADC10_AD1CON1.clearSAMP; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.clr := $00000002;
  21912. end;
  21913. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  21914. begin
  21915. if thebits = 0 then
  21916. pTDefRegMap(@Self)^.clr := $00000002
  21917. else
  21918. pTDefRegMap(@Self)^.&set := $00000002;
  21919. end;
  21920. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  21921. begin
  21922. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21923. end;
  21924. procedure TADC10_AD1CON1.setASAM; inline;
  21925. begin
  21926. pTDefRegMap(@Self)^.&set := $00000004;
  21927. end;
  21928. procedure TADC10_AD1CON1.clearASAM; inline;
  21929. begin
  21930. pTDefRegMap(@Self)^.clr := $00000004;
  21931. end;
  21932. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  21933. begin
  21934. if thebits = 0 then
  21935. pTDefRegMap(@Self)^.clr := $00000004
  21936. else
  21937. pTDefRegMap(@Self)^.&set := $00000004;
  21938. end;
  21939. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  21940. begin
  21941. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21942. end;
  21943. procedure TADC10_AD1CON1.setCLRASAM; inline;
  21944. begin
  21945. pTDefRegMap(@Self)^.&set := $00000010;
  21946. end;
  21947. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  21948. begin
  21949. pTDefRegMap(@Self)^.clr := $00000010;
  21950. end;
  21951. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  21952. begin
  21953. if thebits = 0 then
  21954. pTDefRegMap(@Self)^.clr := $00000010
  21955. else
  21956. pTDefRegMap(@Self)^.&set := $00000010;
  21957. end;
  21958. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  21959. begin
  21960. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21961. end;
  21962. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  21963. begin
  21964. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  21965. end;
  21966. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  21967. begin
  21968. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  21969. end;
  21970. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  21971. begin
  21972. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  21973. end;
  21974. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  21975. begin
  21976. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  21977. end;
  21978. procedure TADC10_AD1CON1.setSIDL; inline;
  21979. begin
  21980. pTDefRegMap(@Self)^.&set := $00002000;
  21981. end;
  21982. procedure TADC10_AD1CON1.clearSIDL; inline;
  21983. begin
  21984. pTDefRegMap(@Self)^.clr := $00002000;
  21985. end;
  21986. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  21987. begin
  21988. if thebits = 0 then
  21989. pTDefRegMap(@Self)^.clr := $00002000
  21990. else
  21991. pTDefRegMap(@Self)^.&set := $00002000;
  21992. end;
  21993. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  21994. begin
  21995. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21996. end;
  21997. procedure TADC10_AD1CON1.setON; inline;
  21998. begin
  21999. pTDefRegMap(@Self)^.&set := $00008000;
  22000. end;
  22001. procedure TADC10_AD1CON1.clearON; inline;
  22002. begin
  22003. pTDefRegMap(@Self)^.clr := $00008000;
  22004. end;
  22005. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22006. begin
  22007. if thebits = 0 then
  22008. pTDefRegMap(@Self)^.clr := $00008000
  22009. else
  22010. pTDefRegMap(@Self)^.&set := $00008000;
  22011. end;
  22012. function TADC10_AD1CON1.getON : TBits_1; inline;
  22013. begin
  22014. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22015. end;
  22016. procedure TADC10_AD1CON1.setSSRC0; inline;
  22017. begin
  22018. pTDefRegMap(@Self)^.&set := $00000020;
  22019. end;
  22020. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22021. begin
  22022. pTDefRegMap(@Self)^.clr := $00000020;
  22023. end;
  22024. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22025. begin
  22026. if thebits = 0 then
  22027. pTDefRegMap(@Self)^.clr := $00000020
  22028. else
  22029. pTDefRegMap(@Self)^.&set := $00000020;
  22030. end;
  22031. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22032. begin
  22033. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22034. end;
  22035. procedure TADC10_AD1CON1.setSSRC1; inline;
  22036. begin
  22037. pTDefRegMap(@Self)^.&set := $00000040;
  22038. end;
  22039. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22040. begin
  22041. pTDefRegMap(@Self)^.clr := $00000040;
  22042. end;
  22043. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22044. begin
  22045. if thebits = 0 then
  22046. pTDefRegMap(@Self)^.clr := $00000040
  22047. else
  22048. pTDefRegMap(@Self)^.&set := $00000040;
  22049. end;
  22050. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22051. begin
  22052. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22053. end;
  22054. procedure TADC10_AD1CON1.setSSRC2; inline;
  22055. begin
  22056. pTDefRegMap(@Self)^.&set := $00000080;
  22057. end;
  22058. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22059. begin
  22060. pTDefRegMap(@Self)^.clr := $00000080;
  22061. end;
  22062. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22063. begin
  22064. if thebits = 0 then
  22065. pTDefRegMap(@Self)^.clr := $00000080
  22066. else
  22067. pTDefRegMap(@Self)^.&set := $00000080;
  22068. end;
  22069. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22070. begin
  22071. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22072. end;
  22073. procedure TADC10_AD1CON1.setFORM0; inline;
  22074. begin
  22075. pTDefRegMap(@Self)^.&set := $00000100;
  22076. end;
  22077. procedure TADC10_AD1CON1.clearFORM0; inline;
  22078. begin
  22079. pTDefRegMap(@Self)^.clr := $00000100;
  22080. end;
  22081. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22082. begin
  22083. if thebits = 0 then
  22084. pTDefRegMap(@Self)^.clr := $00000100
  22085. else
  22086. pTDefRegMap(@Self)^.&set := $00000100;
  22087. end;
  22088. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22089. begin
  22090. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22091. end;
  22092. procedure TADC10_AD1CON1.setFORM1; inline;
  22093. begin
  22094. pTDefRegMap(@Self)^.&set := $00000200;
  22095. end;
  22096. procedure TADC10_AD1CON1.clearFORM1; inline;
  22097. begin
  22098. pTDefRegMap(@Self)^.clr := $00000200;
  22099. end;
  22100. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22101. begin
  22102. if thebits = 0 then
  22103. pTDefRegMap(@Self)^.clr := $00000200
  22104. else
  22105. pTDefRegMap(@Self)^.&set := $00000200;
  22106. end;
  22107. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22108. begin
  22109. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22110. end;
  22111. procedure TADC10_AD1CON1.setFORM2; inline;
  22112. begin
  22113. pTDefRegMap(@Self)^.&set := $00000400;
  22114. end;
  22115. procedure TADC10_AD1CON1.clearFORM2; inline;
  22116. begin
  22117. pTDefRegMap(@Self)^.clr := $00000400;
  22118. end;
  22119. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22120. begin
  22121. if thebits = 0 then
  22122. pTDefRegMap(@Self)^.clr := $00000400
  22123. else
  22124. pTDefRegMap(@Self)^.&set := $00000400;
  22125. end;
  22126. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22127. begin
  22128. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22129. end;
  22130. procedure TADC10_AD1CON1.setADSIDL; inline;
  22131. begin
  22132. pTDefRegMap(@Self)^.&set := $00002000;
  22133. end;
  22134. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22135. begin
  22136. pTDefRegMap(@Self)^.clr := $00002000;
  22137. end;
  22138. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22139. begin
  22140. if thebits = 0 then
  22141. pTDefRegMap(@Self)^.clr := $00002000
  22142. else
  22143. pTDefRegMap(@Self)^.&set := $00002000;
  22144. end;
  22145. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22146. begin
  22147. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22148. end;
  22149. procedure TADC10_AD1CON1.setADON; inline;
  22150. begin
  22151. pTDefRegMap(@Self)^.&set := $00008000;
  22152. end;
  22153. procedure TADC10_AD1CON1.clearADON; inline;
  22154. begin
  22155. pTDefRegMap(@Self)^.clr := $00008000;
  22156. end;
  22157. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22158. begin
  22159. if thebits = 0 then
  22160. pTDefRegMap(@Self)^.clr := $00008000
  22161. else
  22162. pTDefRegMap(@Self)^.&set := $00008000;
  22163. end;
  22164. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22165. begin
  22166. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22167. end;
  22168. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22169. begin
  22170. pTDefRegMap(@Self)^.val := thebits;
  22171. end;
  22172. function TADC10_AD1CON1.getw : TBits_32; inline;
  22173. begin
  22174. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22175. end;
  22176. procedure TADC10_AD1CON2.setALTS; inline;
  22177. begin
  22178. pTDefRegMap(@Self)^.&set := $00000001;
  22179. end;
  22180. procedure TADC10_AD1CON2.clearALTS; inline;
  22181. begin
  22182. pTDefRegMap(@Self)^.clr := $00000001;
  22183. end;
  22184. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22185. begin
  22186. if thebits = 0 then
  22187. pTDefRegMap(@Self)^.clr := $00000001
  22188. else
  22189. pTDefRegMap(@Self)^.&set := $00000001;
  22190. end;
  22191. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22192. begin
  22193. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22194. end;
  22195. procedure TADC10_AD1CON2.setBUFM; inline;
  22196. begin
  22197. pTDefRegMap(@Self)^.&set := $00000002;
  22198. end;
  22199. procedure TADC10_AD1CON2.clearBUFM; inline;
  22200. begin
  22201. pTDefRegMap(@Self)^.clr := $00000002;
  22202. end;
  22203. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22204. begin
  22205. if thebits = 0 then
  22206. pTDefRegMap(@Self)^.clr := $00000002
  22207. else
  22208. pTDefRegMap(@Self)^.&set := $00000002;
  22209. end;
  22210. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22211. begin
  22212. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22213. end;
  22214. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22215. begin
  22216. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22217. end;
  22218. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22219. begin
  22220. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22221. end;
  22222. procedure TADC10_AD1CON2.setBUFS; inline;
  22223. begin
  22224. pTDefRegMap(@Self)^.&set := $00000080;
  22225. end;
  22226. procedure TADC10_AD1CON2.clearBUFS; inline;
  22227. begin
  22228. pTDefRegMap(@Self)^.clr := $00000080;
  22229. end;
  22230. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22231. begin
  22232. if thebits = 0 then
  22233. pTDefRegMap(@Self)^.clr := $00000080
  22234. else
  22235. pTDefRegMap(@Self)^.&set := $00000080;
  22236. end;
  22237. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22238. begin
  22239. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22240. end;
  22241. procedure TADC10_AD1CON2.setCSCNA; inline;
  22242. begin
  22243. pTDefRegMap(@Self)^.&set := $00000400;
  22244. end;
  22245. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22246. begin
  22247. pTDefRegMap(@Self)^.clr := $00000400;
  22248. end;
  22249. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22250. begin
  22251. if thebits = 0 then
  22252. pTDefRegMap(@Self)^.clr := $00000400
  22253. else
  22254. pTDefRegMap(@Self)^.&set := $00000400;
  22255. end;
  22256. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22257. begin
  22258. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22259. end;
  22260. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22261. begin
  22262. pTDefRegMap(@Self)^.&set := $00001000;
  22263. end;
  22264. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22265. begin
  22266. pTDefRegMap(@Self)^.clr := $00001000;
  22267. end;
  22268. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22269. begin
  22270. if thebits = 0 then
  22271. pTDefRegMap(@Self)^.clr := $00001000
  22272. else
  22273. pTDefRegMap(@Self)^.&set := $00001000;
  22274. end;
  22275. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22276. begin
  22277. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22278. end;
  22279. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22280. begin
  22281. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22282. end;
  22283. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22284. begin
  22285. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22286. end;
  22287. procedure TADC10_AD1CON2.setSMPI0; inline;
  22288. begin
  22289. pTDefRegMap(@Self)^.&set := $00000004;
  22290. end;
  22291. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22292. begin
  22293. pTDefRegMap(@Self)^.clr := $00000004;
  22294. end;
  22295. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22296. begin
  22297. if thebits = 0 then
  22298. pTDefRegMap(@Self)^.clr := $00000004
  22299. else
  22300. pTDefRegMap(@Self)^.&set := $00000004;
  22301. end;
  22302. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22303. begin
  22304. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22305. end;
  22306. procedure TADC10_AD1CON2.setSMPI1; inline;
  22307. begin
  22308. pTDefRegMap(@Self)^.&set := $00000008;
  22309. end;
  22310. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22311. begin
  22312. pTDefRegMap(@Self)^.clr := $00000008;
  22313. end;
  22314. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22315. begin
  22316. if thebits = 0 then
  22317. pTDefRegMap(@Self)^.clr := $00000008
  22318. else
  22319. pTDefRegMap(@Self)^.&set := $00000008;
  22320. end;
  22321. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22322. begin
  22323. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22324. end;
  22325. procedure TADC10_AD1CON2.setSMPI2; inline;
  22326. begin
  22327. pTDefRegMap(@Self)^.&set := $00000010;
  22328. end;
  22329. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22330. begin
  22331. pTDefRegMap(@Self)^.clr := $00000010;
  22332. end;
  22333. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22334. begin
  22335. if thebits = 0 then
  22336. pTDefRegMap(@Self)^.clr := $00000010
  22337. else
  22338. pTDefRegMap(@Self)^.&set := $00000010;
  22339. end;
  22340. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22341. begin
  22342. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22343. end;
  22344. procedure TADC10_AD1CON2.setSMPI3; inline;
  22345. begin
  22346. pTDefRegMap(@Self)^.&set := $00000020;
  22347. end;
  22348. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22349. begin
  22350. pTDefRegMap(@Self)^.clr := $00000020;
  22351. end;
  22352. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22353. begin
  22354. if thebits = 0 then
  22355. pTDefRegMap(@Self)^.clr := $00000020
  22356. else
  22357. pTDefRegMap(@Self)^.&set := $00000020;
  22358. end;
  22359. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22360. begin
  22361. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22362. end;
  22363. procedure TADC10_AD1CON2.setVCFG0; inline;
  22364. begin
  22365. pTDefRegMap(@Self)^.&set := $00002000;
  22366. end;
  22367. procedure TADC10_AD1CON2.clearVCFG0; inline;
  22368. begin
  22369. pTDefRegMap(@Self)^.clr := $00002000;
  22370. end;
  22371. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  22372. begin
  22373. if thebits = 0 then
  22374. pTDefRegMap(@Self)^.clr := $00002000
  22375. else
  22376. pTDefRegMap(@Self)^.&set := $00002000;
  22377. end;
  22378. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  22379. begin
  22380. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22381. end;
  22382. procedure TADC10_AD1CON2.setVCFG1; inline;
  22383. begin
  22384. pTDefRegMap(@Self)^.&set := $00004000;
  22385. end;
  22386. procedure TADC10_AD1CON2.clearVCFG1; inline;
  22387. begin
  22388. pTDefRegMap(@Self)^.clr := $00004000;
  22389. end;
  22390. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  22391. begin
  22392. if thebits = 0 then
  22393. pTDefRegMap(@Self)^.clr := $00004000
  22394. else
  22395. pTDefRegMap(@Self)^.&set := $00004000;
  22396. end;
  22397. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  22398. begin
  22399. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22400. end;
  22401. procedure TADC10_AD1CON2.setVCFG2; inline;
  22402. begin
  22403. pTDefRegMap(@Self)^.&set := $00008000;
  22404. end;
  22405. procedure TADC10_AD1CON2.clearVCFG2; inline;
  22406. begin
  22407. pTDefRegMap(@Self)^.clr := $00008000;
  22408. end;
  22409. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  22410. begin
  22411. if thebits = 0 then
  22412. pTDefRegMap(@Self)^.clr := $00008000
  22413. else
  22414. pTDefRegMap(@Self)^.&set := $00008000;
  22415. end;
  22416. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  22417. begin
  22418. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22419. end;
  22420. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  22421. begin
  22422. pTDefRegMap(@Self)^.val := thebits;
  22423. end;
  22424. function TADC10_AD1CON2.getw : TBits_32; inline;
  22425. begin
  22426. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22427. end;
  22428. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  22429. begin
  22430. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  22431. end;
  22432. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  22433. begin
  22434. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  22435. end;
  22436. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  22437. begin
  22438. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  22439. end;
  22440. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  22441. begin
  22442. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  22443. end;
  22444. procedure TADC10_AD1CON3.setADRC; inline;
  22445. begin
  22446. pTDefRegMap(@Self)^.&set := $00008000;
  22447. end;
  22448. procedure TADC10_AD1CON3.clearADRC; inline;
  22449. begin
  22450. pTDefRegMap(@Self)^.clr := $00008000;
  22451. end;
  22452. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  22453. begin
  22454. if thebits = 0 then
  22455. pTDefRegMap(@Self)^.clr := $00008000
  22456. else
  22457. pTDefRegMap(@Self)^.&set := $00008000;
  22458. end;
  22459. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  22460. begin
  22461. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22462. end;
  22463. procedure TADC10_AD1CON3.setADCS0; inline;
  22464. begin
  22465. pTDefRegMap(@Self)^.&set := $00000001;
  22466. end;
  22467. procedure TADC10_AD1CON3.clearADCS0; inline;
  22468. begin
  22469. pTDefRegMap(@Self)^.clr := $00000001;
  22470. end;
  22471. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  22472. begin
  22473. if thebits = 0 then
  22474. pTDefRegMap(@Self)^.clr := $00000001
  22475. else
  22476. pTDefRegMap(@Self)^.&set := $00000001;
  22477. end;
  22478. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  22479. begin
  22480. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22481. end;
  22482. procedure TADC10_AD1CON3.setADCS1; inline;
  22483. begin
  22484. pTDefRegMap(@Self)^.&set := $00000002;
  22485. end;
  22486. procedure TADC10_AD1CON3.clearADCS1; inline;
  22487. begin
  22488. pTDefRegMap(@Self)^.clr := $00000002;
  22489. end;
  22490. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  22491. begin
  22492. if thebits = 0 then
  22493. pTDefRegMap(@Self)^.clr := $00000002
  22494. else
  22495. pTDefRegMap(@Self)^.&set := $00000002;
  22496. end;
  22497. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  22498. begin
  22499. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22500. end;
  22501. procedure TADC10_AD1CON3.setADCS2; inline;
  22502. begin
  22503. pTDefRegMap(@Self)^.&set := $00000004;
  22504. end;
  22505. procedure TADC10_AD1CON3.clearADCS2; inline;
  22506. begin
  22507. pTDefRegMap(@Self)^.clr := $00000004;
  22508. end;
  22509. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  22510. begin
  22511. if thebits = 0 then
  22512. pTDefRegMap(@Self)^.clr := $00000004
  22513. else
  22514. pTDefRegMap(@Self)^.&set := $00000004;
  22515. end;
  22516. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  22517. begin
  22518. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22519. end;
  22520. procedure TADC10_AD1CON3.setADCS3; inline;
  22521. begin
  22522. pTDefRegMap(@Self)^.&set := $00000008;
  22523. end;
  22524. procedure TADC10_AD1CON3.clearADCS3; inline;
  22525. begin
  22526. pTDefRegMap(@Self)^.clr := $00000008;
  22527. end;
  22528. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  22529. begin
  22530. if thebits = 0 then
  22531. pTDefRegMap(@Self)^.clr := $00000008
  22532. else
  22533. pTDefRegMap(@Self)^.&set := $00000008;
  22534. end;
  22535. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  22536. begin
  22537. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22538. end;
  22539. procedure TADC10_AD1CON3.setADCS4; inline;
  22540. begin
  22541. pTDefRegMap(@Self)^.&set := $00000010;
  22542. end;
  22543. procedure TADC10_AD1CON3.clearADCS4; inline;
  22544. begin
  22545. pTDefRegMap(@Self)^.clr := $00000010;
  22546. end;
  22547. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  22548. begin
  22549. if thebits = 0 then
  22550. pTDefRegMap(@Self)^.clr := $00000010
  22551. else
  22552. pTDefRegMap(@Self)^.&set := $00000010;
  22553. end;
  22554. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  22555. begin
  22556. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22557. end;
  22558. procedure TADC10_AD1CON3.setADCS5; inline;
  22559. begin
  22560. pTDefRegMap(@Self)^.&set := $00000020;
  22561. end;
  22562. procedure TADC10_AD1CON3.clearADCS5; inline;
  22563. begin
  22564. pTDefRegMap(@Self)^.clr := $00000020;
  22565. end;
  22566. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  22567. begin
  22568. if thebits = 0 then
  22569. pTDefRegMap(@Self)^.clr := $00000020
  22570. else
  22571. pTDefRegMap(@Self)^.&set := $00000020;
  22572. end;
  22573. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  22574. begin
  22575. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22576. end;
  22577. procedure TADC10_AD1CON3.setADCS6; inline;
  22578. begin
  22579. pTDefRegMap(@Self)^.&set := $00000040;
  22580. end;
  22581. procedure TADC10_AD1CON3.clearADCS6; inline;
  22582. begin
  22583. pTDefRegMap(@Self)^.clr := $00000040;
  22584. end;
  22585. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  22586. begin
  22587. if thebits = 0 then
  22588. pTDefRegMap(@Self)^.clr := $00000040
  22589. else
  22590. pTDefRegMap(@Self)^.&set := $00000040;
  22591. end;
  22592. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  22593. begin
  22594. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22595. end;
  22596. procedure TADC10_AD1CON3.setADCS7; inline;
  22597. begin
  22598. pTDefRegMap(@Self)^.&set := $00000080;
  22599. end;
  22600. procedure TADC10_AD1CON3.clearADCS7; inline;
  22601. begin
  22602. pTDefRegMap(@Self)^.clr := $00000080;
  22603. end;
  22604. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  22605. begin
  22606. if thebits = 0 then
  22607. pTDefRegMap(@Self)^.clr := $00000080
  22608. else
  22609. pTDefRegMap(@Self)^.&set := $00000080;
  22610. end;
  22611. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  22612. begin
  22613. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22614. end;
  22615. procedure TADC10_AD1CON3.setSAMC0; inline;
  22616. begin
  22617. pTDefRegMap(@Self)^.&set := $00000100;
  22618. end;
  22619. procedure TADC10_AD1CON3.clearSAMC0; inline;
  22620. begin
  22621. pTDefRegMap(@Self)^.clr := $00000100;
  22622. end;
  22623. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  22624. begin
  22625. if thebits = 0 then
  22626. pTDefRegMap(@Self)^.clr := $00000100
  22627. else
  22628. pTDefRegMap(@Self)^.&set := $00000100;
  22629. end;
  22630. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  22631. begin
  22632. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22633. end;
  22634. procedure TADC10_AD1CON3.setSAMC1; inline;
  22635. begin
  22636. pTDefRegMap(@Self)^.&set := $00000200;
  22637. end;
  22638. procedure TADC10_AD1CON3.clearSAMC1; inline;
  22639. begin
  22640. pTDefRegMap(@Self)^.clr := $00000200;
  22641. end;
  22642. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  22643. begin
  22644. if thebits = 0 then
  22645. pTDefRegMap(@Self)^.clr := $00000200
  22646. else
  22647. pTDefRegMap(@Self)^.&set := $00000200;
  22648. end;
  22649. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  22650. begin
  22651. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22652. end;
  22653. procedure TADC10_AD1CON3.setSAMC2; inline;
  22654. begin
  22655. pTDefRegMap(@Self)^.&set := $00000400;
  22656. end;
  22657. procedure TADC10_AD1CON3.clearSAMC2; inline;
  22658. begin
  22659. pTDefRegMap(@Self)^.clr := $00000400;
  22660. end;
  22661. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  22662. begin
  22663. if thebits = 0 then
  22664. pTDefRegMap(@Self)^.clr := $00000400
  22665. else
  22666. pTDefRegMap(@Self)^.&set := $00000400;
  22667. end;
  22668. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  22669. begin
  22670. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22671. end;
  22672. procedure TADC10_AD1CON3.setSAMC3; inline;
  22673. begin
  22674. pTDefRegMap(@Self)^.&set := $00000800;
  22675. end;
  22676. procedure TADC10_AD1CON3.clearSAMC3; inline;
  22677. begin
  22678. pTDefRegMap(@Self)^.clr := $00000800;
  22679. end;
  22680. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  22681. begin
  22682. if thebits = 0 then
  22683. pTDefRegMap(@Self)^.clr := $00000800
  22684. else
  22685. pTDefRegMap(@Self)^.&set := $00000800;
  22686. end;
  22687. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  22688. begin
  22689. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22690. end;
  22691. procedure TADC10_AD1CON3.setSAMC4; inline;
  22692. begin
  22693. pTDefRegMap(@Self)^.&set := $00001000;
  22694. end;
  22695. procedure TADC10_AD1CON3.clearSAMC4; inline;
  22696. begin
  22697. pTDefRegMap(@Self)^.clr := $00001000;
  22698. end;
  22699. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  22700. begin
  22701. if thebits = 0 then
  22702. pTDefRegMap(@Self)^.clr := $00001000
  22703. else
  22704. pTDefRegMap(@Self)^.&set := $00001000;
  22705. end;
  22706. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  22707. begin
  22708. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22709. end;
  22710. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  22711. begin
  22712. pTDefRegMap(@Self)^.val := thebits;
  22713. end;
  22714. function TADC10_AD1CON3.getw : TBits_32; inline;
  22715. begin
  22716. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22717. end;
  22718. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  22719. begin
  22720. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  22721. end;
  22722. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  22723. begin
  22724. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  22725. end;
  22726. procedure TADC10_AD1CHS.setCH0NA; inline;
  22727. begin
  22728. pTDefRegMap(@Self)^.&set := $00800000;
  22729. end;
  22730. procedure TADC10_AD1CHS.clearCH0NA; inline;
  22731. begin
  22732. pTDefRegMap(@Self)^.clr := $00800000;
  22733. end;
  22734. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  22735. begin
  22736. if thebits = 0 then
  22737. pTDefRegMap(@Self)^.clr := $00800000
  22738. else
  22739. pTDefRegMap(@Self)^.&set := $00800000;
  22740. end;
  22741. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  22742. begin
  22743. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  22744. end;
  22745. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  22746. begin
  22747. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  22748. end;
  22749. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  22750. begin
  22751. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  22752. end;
  22753. procedure TADC10_AD1CHS.setCH0NB; inline;
  22754. begin
  22755. pTDefRegMap(@Self)^.&set := $80000000;
  22756. end;
  22757. procedure TADC10_AD1CHS.clearCH0NB; inline;
  22758. begin
  22759. pTDefRegMap(@Self)^.clr := $80000000;
  22760. end;
  22761. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  22762. begin
  22763. if thebits = 0 then
  22764. pTDefRegMap(@Self)^.clr := $80000000
  22765. else
  22766. pTDefRegMap(@Self)^.&set := $80000000;
  22767. end;
  22768. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  22769. begin
  22770. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  22771. end;
  22772. procedure TADC10_AD1CHS.setCH0SA0; inline;
  22773. begin
  22774. pTDefRegMap(@Self)^.&set := $00010000;
  22775. end;
  22776. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  22777. begin
  22778. pTDefRegMap(@Self)^.clr := $00010000;
  22779. end;
  22780. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  22781. begin
  22782. if thebits = 0 then
  22783. pTDefRegMap(@Self)^.clr := $00010000
  22784. else
  22785. pTDefRegMap(@Self)^.&set := $00010000;
  22786. end;
  22787. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  22788. begin
  22789. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  22790. end;
  22791. procedure TADC10_AD1CHS.setCH0SA1; inline;
  22792. begin
  22793. pTDefRegMap(@Self)^.&set := $00020000;
  22794. end;
  22795. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  22796. begin
  22797. pTDefRegMap(@Self)^.clr := $00020000;
  22798. end;
  22799. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  22800. begin
  22801. if thebits = 0 then
  22802. pTDefRegMap(@Self)^.clr := $00020000
  22803. else
  22804. pTDefRegMap(@Self)^.&set := $00020000;
  22805. end;
  22806. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  22807. begin
  22808. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  22809. end;
  22810. procedure TADC10_AD1CHS.setCH0SA2; inline;
  22811. begin
  22812. pTDefRegMap(@Self)^.&set := $00040000;
  22813. end;
  22814. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  22815. begin
  22816. pTDefRegMap(@Self)^.clr := $00040000;
  22817. end;
  22818. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  22819. begin
  22820. if thebits = 0 then
  22821. pTDefRegMap(@Self)^.clr := $00040000
  22822. else
  22823. pTDefRegMap(@Self)^.&set := $00040000;
  22824. end;
  22825. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  22826. begin
  22827. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  22828. end;
  22829. procedure TADC10_AD1CHS.setCH0SA3; inline;
  22830. begin
  22831. pTDefRegMap(@Self)^.&set := $00080000;
  22832. end;
  22833. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  22834. begin
  22835. pTDefRegMap(@Self)^.clr := $00080000;
  22836. end;
  22837. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  22838. begin
  22839. if thebits = 0 then
  22840. pTDefRegMap(@Self)^.clr := $00080000
  22841. else
  22842. pTDefRegMap(@Self)^.&set := $00080000;
  22843. end;
  22844. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  22845. begin
  22846. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  22847. end;
  22848. procedure TADC10_AD1CHS.setCH0SB0; inline;
  22849. begin
  22850. pTDefRegMap(@Self)^.&set := $01000000;
  22851. end;
  22852. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  22853. begin
  22854. pTDefRegMap(@Self)^.clr := $01000000;
  22855. end;
  22856. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  22857. begin
  22858. if thebits = 0 then
  22859. pTDefRegMap(@Self)^.clr := $01000000
  22860. else
  22861. pTDefRegMap(@Self)^.&set := $01000000;
  22862. end;
  22863. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  22864. begin
  22865. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  22866. end;
  22867. procedure TADC10_AD1CHS.setCH0SB1; inline;
  22868. begin
  22869. pTDefRegMap(@Self)^.&set := $02000000;
  22870. end;
  22871. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  22872. begin
  22873. pTDefRegMap(@Self)^.clr := $02000000;
  22874. end;
  22875. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  22876. begin
  22877. if thebits = 0 then
  22878. pTDefRegMap(@Self)^.clr := $02000000
  22879. else
  22880. pTDefRegMap(@Self)^.&set := $02000000;
  22881. end;
  22882. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  22883. begin
  22884. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  22885. end;
  22886. procedure TADC10_AD1CHS.setCH0SB2; inline;
  22887. begin
  22888. pTDefRegMap(@Self)^.&set := $04000000;
  22889. end;
  22890. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  22891. begin
  22892. pTDefRegMap(@Self)^.clr := $04000000;
  22893. end;
  22894. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  22895. begin
  22896. if thebits = 0 then
  22897. pTDefRegMap(@Self)^.clr := $04000000
  22898. else
  22899. pTDefRegMap(@Self)^.&set := $04000000;
  22900. end;
  22901. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  22902. begin
  22903. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  22904. end;
  22905. procedure TADC10_AD1CHS.setCH0SB3; inline;
  22906. begin
  22907. pTDefRegMap(@Self)^.&set := $08000000;
  22908. end;
  22909. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  22910. begin
  22911. pTDefRegMap(@Self)^.clr := $08000000;
  22912. end;
  22913. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  22914. begin
  22915. if thebits = 0 then
  22916. pTDefRegMap(@Self)^.clr := $08000000
  22917. else
  22918. pTDefRegMap(@Self)^.&set := $08000000;
  22919. end;
  22920. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  22921. begin
  22922. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  22923. end;
  22924. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  22925. begin
  22926. pTDefRegMap(@Self)^.val := thebits;
  22927. end;
  22928. function TADC10_AD1CHS.getw : TBits_32; inline;
  22929. begin
  22930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22931. end;
  22932. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  22933. begin
  22934. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  22935. end;
  22936. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  22937. begin
  22938. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  22939. end;
  22940. procedure TADC10_AD1CSSL.setCSSL0; inline;
  22941. begin
  22942. pTDefRegMap(@Self)^.&set := $00000001;
  22943. end;
  22944. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.clr := $00000001;
  22947. end;
  22948. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  22949. begin
  22950. if thebits = 0 then
  22951. pTDefRegMap(@Self)^.clr := $00000001
  22952. else
  22953. pTDefRegMap(@Self)^.&set := $00000001;
  22954. end;
  22955. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  22956. begin
  22957. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22958. end;
  22959. procedure TADC10_AD1CSSL.setCSSL1; inline;
  22960. begin
  22961. pTDefRegMap(@Self)^.&set := $00000002;
  22962. end;
  22963. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  22964. begin
  22965. pTDefRegMap(@Self)^.clr := $00000002;
  22966. end;
  22967. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  22968. begin
  22969. if thebits = 0 then
  22970. pTDefRegMap(@Self)^.clr := $00000002
  22971. else
  22972. pTDefRegMap(@Self)^.&set := $00000002;
  22973. end;
  22974. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  22975. begin
  22976. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22977. end;
  22978. procedure TADC10_AD1CSSL.setCSSL2; inline;
  22979. begin
  22980. pTDefRegMap(@Self)^.&set := $00000004;
  22981. end;
  22982. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  22983. begin
  22984. pTDefRegMap(@Self)^.clr := $00000004;
  22985. end;
  22986. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  22987. begin
  22988. if thebits = 0 then
  22989. pTDefRegMap(@Self)^.clr := $00000004
  22990. else
  22991. pTDefRegMap(@Self)^.&set := $00000004;
  22992. end;
  22993. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  22994. begin
  22995. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22996. end;
  22997. procedure TADC10_AD1CSSL.setCSSL3; inline;
  22998. begin
  22999. pTDefRegMap(@Self)^.&set := $00000008;
  23000. end;
  23001. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23002. begin
  23003. pTDefRegMap(@Self)^.clr := $00000008;
  23004. end;
  23005. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23006. begin
  23007. if thebits = 0 then
  23008. pTDefRegMap(@Self)^.clr := $00000008
  23009. else
  23010. pTDefRegMap(@Self)^.&set := $00000008;
  23011. end;
  23012. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23013. begin
  23014. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23015. end;
  23016. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23017. begin
  23018. pTDefRegMap(@Self)^.&set := $00000010;
  23019. end;
  23020. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23021. begin
  23022. pTDefRegMap(@Self)^.clr := $00000010;
  23023. end;
  23024. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23025. begin
  23026. if thebits = 0 then
  23027. pTDefRegMap(@Self)^.clr := $00000010
  23028. else
  23029. pTDefRegMap(@Self)^.&set := $00000010;
  23030. end;
  23031. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23032. begin
  23033. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23034. end;
  23035. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23036. begin
  23037. pTDefRegMap(@Self)^.&set := $00000020;
  23038. end;
  23039. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23040. begin
  23041. pTDefRegMap(@Self)^.clr := $00000020;
  23042. end;
  23043. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23044. begin
  23045. if thebits = 0 then
  23046. pTDefRegMap(@Self)^.clr := $00000020
  23047. else
  23048. pTDefRegMap(@Self)^.&set := $00000020;
  23049. end;
  23050. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23051. begin
  23052. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23053. end;
  23054. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23055. begin
  23056. pTDefRegMap(@Self)^.&set := $00000040;
  23057. end;
  23058. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23059. begin
  23060. pTDefRegMap(@Self)^.clr := $00000040;
  23061. end;
  23062. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23063. begin
  23064. if thebits = 0 then
  23065. pTDefRegMap(@Self)^.clr := $00000040
  23066. else
  23067. pTDefRegMap(@Self)^.&set := $00000040;
  23068. end;
  23069. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23070. begin
  23071. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23072. end;
  23073. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23074. begin
  23075. pTDefRegMap(@Self)^.&set := $00000080;
  23076. end;
  23077. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23078. begin
  23079. pTDefRegMap(@Self)^.clr := $00000080;
  23080. end;
  23081. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23082. begin
  23083. if thebits = 0 then
  23084. pTDefRegMap(@Self)^.clr := $00000080
  23085. else
  23086. pTDefRegMap(@Self)^.&set := $00000080;
  23087. end;
  23088. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23089. begin
  23090. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23091. end;
  23092. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23093. begin
  23094. pTDefRegMap(@Self)^.&set := $00000100;
  23095. end;
  23096. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23097. begin
  23098. pTDefRegMap(@Self)^.clr := $00000100;
  23099. end;
  23100. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23101. begin
  23102. if thebits = 0 then
  23103. pTDefRegMap(@Self)^.clr := $00000100
  23104. else
  23105. pTDefRegMap(@Self)^.&set := $00000100;
  23106. end;
  23107. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23108. begin
  23109. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23110. end;
  23111. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23112. begin
  23113. pTDefRegMap(@Self)^.&set := $00000200;
  23114. end;
  23115. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23116. begin
  23117. pTDefRegMap(@Self)^.clr := $00000200;
  23118. end;
  23119. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23120. begin
  23121. if thebits = 0 then
  23122. pTDefRegMap(@Self)^.clr := $00000200
  23123. else
  23124. pTDefRegMap(@Self)^.&set := $00000200;
  23125. end;
  23126. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23127. begin
  23128. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23129. end;
  23130. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23131. begin
  23132. pTDefRegMap(@Self)^.&set := $00000400;
  23133. end;
  23134. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23135. begin
  23136. pTDefRegMap(@Self)^.clr := $00000400;
  23137. end;
  23138. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23139. begin
  23140. if thebits = 0 then
  23141. pTDefRegMap(@Self)^.clr := $00000400
  23142. else
  23143. pTDefRegMap(@Self)^.&set := $00000400;
  23144. end;
  23145. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23146. begin
  23147. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23148. end;
  23149. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23150. begin
  23151. pTDefRegMap(@Self)^.&set := $00000800;
  23152. end;
  23153. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23154. begin
  23155. pTDefRegMap(@Self)^.clr := $00000800;
  23156. end;
  23157. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23158. begin
  23159. if thebits = 0 then
  23160. pTDefRegMap(@Self)^.clr := $00000800
  23161. else
  23162. pTDefRegMap(@Self)^.&set := $00000800;
  23163. end;
  23164. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23165. begin
  23166. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23167. end;
  23168. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23169. begin
  23170. pTDefRegMap(@Self)^.&set := $00001000;
  23171. end;
  23172. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23173. begin
  23174. pTDefRegMap(@Self)^.clr := $00001000;
  23175. end;
  23176. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23177. begin
  23178. if thebits = 0 then
  23179. pTDefRegMap(@Self)^.clr := $00001000
  23180. else
  23181. pTDefRegMap(@Self)^.&set := $00001000;
  23182. end;
  23183. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23184. begin
  23185. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23186. end;
  23187. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23188. begin
  23189. pTDefRegMap(@Self)^.&set := $00002000;
  23190. end;
  23191. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23192. begin
  23193. pTDefRegMap(@Self)^.clr := $00002000;
  23194. end;
  23195. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23196. begin
  23197. if thebits = 0 then
  23198. pTDefRegMap(@Self)^.clr := $00002000
  23199. else
  23200. pTDefRegMap(@Self)^.&set := $00002000;
  23201. end;
  23202. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23203. begin
  23204. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23205. end;
  23206. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23207. begin
  23208. pTDefRegMap(@Self)^.&set := $00004000;
  23209. end;
  23210. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23211. begin
  23212. pTDefRegMap(@Self)^.clr := $00004000;
  23213. end;
  23214. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23215. begin
  23216. if thebits = 0 then
  23217. pTDefRegMap(@Self)^.clr := $00004000
  23218. else
  23219. pTDefRegMap(@Self)^.&set := $00004000;
  23220. end;
  23221. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23222. begin
  23223. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23224. end;
  23225. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23226. begin
  23227. pTDefRegMap(@Self)^.&set := $00008000;
  23228. end;
  23229. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23230. begin
  23231. pTDefRegMap(@Self)^.clr := $00008000;
  23232. end;
  23233. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23234. begin
  23235. if thebits = 0 then
  23236. pTDefRegMap(@Self)^.clr := $00008000
  23237. else
  23238. pTDefRegMap(@Self)^.&set := $00008000;
  23239. end;
  23240. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23241. begin
  23242. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23243. end;
  23244. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23245. begin
  23246. pTDefRegMap(@Self)^.val := thebits;
  23247. end;
  23248. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23249. begin
  23250. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23251. end;
  23252. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23253. begin
  23254. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23255. end;
  23256. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23257. begin
  23258. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23259. end;
  23260. procedure TCVR_CVRCON.setCVRSS; inline;
  23261. begin
  23262. pTDefRegMap(@Self)^.&set := $00000010;
  23263. end;
  23264. procedure TCVR_CVRCON.clearCVRSS; inline;
  23265. begin
  23266. pTDefRegMap(@Self)^.clr := $00000010;
  23267. end;
  23268. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23269. begin
  23270. if thebits = 0 then
  23271. pTDefRegMap(@Self)^.clr := $00000010
  23272. else
  23273. pTDefRegMap(@Self)^.&set := $00000010;
  23274. end;
  23275. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23276. begin
  23277. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23278. end;
  23279. procedure TCVR_CVRCON.setCVRR; inline;
  23280. begin
  23281. pTDefRegMap(@Self)^.&set := $00000020;
  23282. end;
  23283. procedure TCVR_CVRCON.clearCVRR; inline;
  23284. begin
  23285. pTDefRegMap(@Self)^.clr := $00000020;
  23286. end;
  23287. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23288. begin
  23289. if thebits = 0 then
  23290. pTDefRegMap(@Self)^.clr := $00000020
  23291. else
  23292. pTDefRegMap(@Self)^.&set := $00000020;
  23293. end;
  23294. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23295. begin
  23296. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23297. end;
  23298. procedure TCVR_CVRCON.setCVROE; inline;
  23299. begin
  23300. pTDefRegMap(@Self)^.&set := $00000040;
  23301. end;
  23302. procedure TCVR_CVRCON.clearCVROE; inline;
  23303. begin
  23304. pTDefRegMap(@Self)^.clr := $00000040;
  23305. end;
  23306. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23307. begin
  23308. if thebits = 0 then
  23309. pTDefRegMap(@Self)^.clr := $00000040
  23310. else
  23311. pTDefRegMap(@Self)^.&set := $00000040;
  23312. end;
  23313. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23314. begin
  23315. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23316. end;
  23317. procedure TCVR_CVRCON.setON; inline;
  23318. begin
  23319. pTDefRegMap(@Self)^.&set := $00008000;
  23320. end;
  23321. procedure TCVR_CVRCON.clearON; inline;
  23322. begin
  23323. pTDefRegMap(@Self)^.clr := $00008000;
  23324. end;
  23325. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23326. begin
  23327. if thebits = 0 then
  23328. pTDefRegMap(@Self)^.clr := $00008000
  23329. else
  23330. pTDefRegMap(@Self)^.&set := $00008000;
  23331. end;
  23332. function TCVR_CVRCON.getON : TBits_1; inline;
  23333. begin
  23334. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23335. end;
  23336. procedure TCVR_CVRCON.setCVR0; inline;
  23337. begin
  23338. pTDefRegMap(@Self)^.&set := $00000001;
  23339. end;
  23340. procedure TCVR_CVRCON.clearCVR0; inline;
  23341. begin
  23342. pTDefRegMap(@Self)^.clr := $00000001;
  23343. end;
  23344. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23345. begin
  23346. if thebits = 0 then
  23347. pTDefRegMap(@Self)^.clr := $00000001
  23348. else
  23349. pTDefRegMap(@Self)^.&set := $00000001;
  23350. end;
  23351. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23352. begin
  23353. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23354. end;
  23355. procedure TCVR_CVRCON.setCVR1; inline;
  23356. begin
  23357. pTDefRegMap(@Self)^.&set := $00000002;
  23358. end;
  23359. procedure TCVR_CVRCON.clearCVR1; inline;
  23360. begin
  23361. pTDefRegMap(@Self)^.clr := $00000002;
  23362. end;
  23363. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23364. begin
  23365. if thebits = 0 then
  23366. pTDefRegMap(@Self)^.clr := $00000002
  23367. else
  23368. pTDefRegMap(@Self)^.&set := $00000002;
  23369. end;
  23370. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  23371. begin
  23372. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23373. end;
  23374. procedure TCVR_CVRCON.setCVR2; inline;
  23375. begin
  23376. pTDefRegMap(@Self)^.&set := $00000004;
  23377. end;
  23378. procedure TCVR_CVRCON.clearCVR2; inline;
  23379. begin
  23380. pTDefRegMap(@Self)^.clr := $00000004;
  23381. end;
  23382. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  23383. begin
  23384. if thebits = 0 then
  23385. pTDefRegMap(@Self)^.clr := $00000004
  23386. else
  23387. pTDefRegMap(@Self)^.&set := $00000004;
  23388. end;
  23389. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  23390. begin
  23391. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23392. end;
  23393. procedure TCVR_CVRCON.setCVR3; inline;
  23394. begin
  23395. pTDefRegMap(@Self)^.&set := $00000008;
  23396. end;
  23397. procedure TCVR_CVRCON.clearCVR3; inline;
  23398. begin
  23399. pTDefRegMap(@Self)^.clr := $00000008;
  23400. end;
  23401. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  23402. begin
  23403. if thebits = 0 then
  23404. pTDefRegMap(@Self)^.clr := $00000008
  23405. else
  23406. pTDefRegMap(@Self)^.&set := $00000008;
  23407. end;
  23408. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  23409. begin
  23410. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23411. end;
  23412. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  23413. begin
  23414. pTDefRegMap(@Self)^.val := thebits;
  23415. end;
  23416. function TCVR_CVRCON.getw : TBits_32; inline;
  23417. begin
  23418. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23419. end;
  23420. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  23421. begin
  23422. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23423. end;
  23424. function TCMP_CM1CON.getCCH : TBits_2; inline;
  23425. begin
  23426. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23427. end;
  23428. procedure TCMP_CM1CON.setCREF; inline;
  23429. begin
  23430. pTDefRegMap(@Self)^.&set := $00000010;
  23431. end;
  23432. procedure TCMP_CM1CON.clearCREF; inline;
  23433. begin
  23434. pTDefRegMap(@Self)^.clr := $00000010;
  23435. end;
  23436. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  23437. begin
  23438. if thebits = 0 then
  23439. pTDefRegMap(@Self)^.clr := $00000010
  23440. else
  23441. pTDefRegMap(@Self)^.&set := $00000010;
  23442. end;
  23443. function TCMP_CM1CON.getCREF : TBits_1; inline;
  23444. begin
  23445. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23446. end;
  23447. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  23448. begin
  23449. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23450. end;
  23451. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  23452. begin
  23453. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23454. end;
  23455. procedure TCMP_CM1CON.setCOUT; inline;
  23456. begin
  23457. pTDefRegMap(@Self)^.&set := $00000100;
  23458. end;
  23459. procedure TCMP_CM1CON.clearCOUT; inline;
  23460. begin
  23461. pTDefRegMap(@Self)^.clr := $00000100;
  23462. end;
  23463. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  23464. begin
  23465. if thebits = 0 then
  23466. pTDefRegMap(@Self)^.clr := $00000100
  23467. else
  23468. pTDefRegMap(@Self)^.&set := $00000100;
  23469. end;
  23470. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  23471. begin
  23472. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23473. end;
  23474. procedure TCMP_CM1CON.setCPOL; inline;
  23475. begin
  23476. pTDefRegMap(@Self)^.&set := $00002000;
  23477. end;
  23478. procedure TCMP_CM1CON.clearCPOL; inline;
  23479. begin
  23480. pTDefRegMap(@Self)^.clr := $00002000;
  23481. end;
  23482. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  23483. begin
  23484. if thebits = 0 then
  23485. pTDefRegMap(@Self)^.clr := $00002000
  23486. else
  23487. pTDefRegMap(@Self)^.&set := $00002000;
  23488. end;
  23489. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  23490. begin
  23491. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23492. end;
  23493. procedure TCMP_CM1CON.setCOE; inline;
  23494. begin
  23495. pTDefRegMap(@Self)^.&set := $00004000;
  23496. end;
  23497. procedure TCMP_CM1CON.clearCOE; inline;
  23498. begin
  23499. pTDefRegMap(@Self)^.clr := $00004000;
  23500. end;
  23501. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  23502. begin
  23503. if thebits = 0 then
  23504. pTDefRegMap(@Self)^.clr := $00004000
  23505. else
  23506. pTDefRegMap(@Self)^.&set := $00004000;
  23507. end;
  23508. function TCMP_CM1CON.getCOE : TBits_1; inline;
  23509. begin
  23510. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23511. end;
  23512. procedure TCMP_CM1CON.setON; inline;
  23513. begin
  23514. pTDefRegMap(@Self)^.&set := $00008000;
  23515. end;
  23516. procedure TCMP_CM1CON.clearON; inline;
  23517. begin
  23518. pTDefRegMap(@Self)^.clr := $00008000;
  23519. end;
  23520. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  23521. begin
  23522. if thebits = 0 then
  23523. pTDefRegMap(@Self)^.clr := $00008000
  23524. else
  23525. pTDefRegMap(@Self)^.&set := $00008000;
  23526. end;
  23527. function TCMP_CM1CON.getON : TBits_1; inline;
  23528. begin
  23529. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23530. end;
  23531. procedure TCMP_CM1CON.setCCH0; inline;
  23532. begin
  23533. pTDefRegMap(@Self)^.&set := $00000001;
  23534. end;
  23535. procedure TCMP_CM1CON.clearCCH0; inline;
  23536. begin
  23537. pTDefRegMap(@Self)^.clr := $00000001;
  23538. end;
  23539. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  23540. begin
  23541. if thebits = 0 then
  23542. pTDefRegMap(@Self)^.clr := $00000001
  23543. else
  23544. pTDefRegMap(@Self)^.&set := $00000001;
  23545. end;
  23546. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  23547. begin
  23548. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23549. end;
  23550. procedure TCMP_CM1CON.setCCH1; inline;
  23551. begin
  23552. pTDefRegMap(@Self)^.&set := $00000002;
  23553. end;
  23554. procedure TCMP_CM1CON.clearCCH1; inline;
  23555. begin
  23556. pTDefRegMap(@Self)^.clr := $00000002;
  23557. end;
  23558. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  23559. begin
  23560. if thebits = 0 then
  23561. pTDefRegMap(@Self)^.clr := $00000002
  23562. else
  23563. pTDefRegMap(@Self)^.&set := $00000002;
  23564. end;
  23565. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  23566. begin
  23567. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23568. end;
  23569. procedure TCMP_CM1CON.setEVPOL0; inline;
  23570. begin
  23571. pTDefRegMap(@Self)^.&set := $00000040;
  23572. end;
  23573. procedure TCMP_CM1CON.clearEVPOL0; inline;
  23574. begin
  23575. pTDefRegMap(@Self)^.clr := $00000040;
  23576. end;
  23577. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  23578. begin
  23579. if thebits = 0 then
  23580. pTDefRegMap(@Self)^.clr := $00000040
  23581. else
  23582. pTDefRegMap(@Self)^.&set := $00000040;
  23583. end;
  23584. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  23585. begin
  23586. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23587. end;
  23588. procedure TCMP_CM1CON.setEVPOL1; inline;
  23589. begin
  23590. pTDefRegMap(@Self)^.&set := $00000080;
  23591. end;
  23592. procedure TCMP_CM1CON.clearEVPOL1; inline;
  23593. begin
  23594. pTDefRegMap(@Self)^.clr := $00000080;
  23595. end;
  23596. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  23597. begin
  23598. if thebits = 0 then
  23599. pTDefRegMap(@Self)^.clr := $00000080
  23600. else
  23601. pTDefRegMap(@Self)^.&set := $00000080;
  23602. end;
  23603. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  23604. begin
  23605. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23606. end;
  23607. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  23608. begin
  23609. pTDefRegMap(@Self)^.val := thebits;
  23610. end;
  23611. function TCMP_CM1CON.getw : TBits_32; inline;
  23612. begin
  23613. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23614. end;
  23615. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  23616. begin
  23617. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23618. end;
  23619. function TCMP_CM2CON.getCCH : TBits_2; inline;
  23620. begin
  23621. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23622. end;
  23623. procedure TCMP_CM2CON.setCREF; inline;
  23624. begin
  23625. pTDefRegMap(@Self)^.&set := $00000010;
  23626. end;
  23627. procedure TCMP_CM2CON.clearCREF; inline;
  23628. begin
  23629. pTDefRegMap(@Self)^.clr := $00000010;
  23630. end;
  23631. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  23632. begin
  23633. if thebits = 0 then
  23634. pTDefRegMap(@Self)^.clr := $00000010
  23635. else
  23636. pTDefRegMap(@Self)^.&set := $00000010;
  23637. end;
  23638. function TCMP_CM2CON.getCREF : TBits_1; inline;
  23639. begin
  23640. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23641. end;
  23642. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  23643. begin
  23644. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23645. end;
  23646. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  23647. begin
  23648. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23649. end;
  23650. procedure TCMP_CM2CON.setCOUT; inline;
  23651. begin
  23652. pTDefRegMap(@Self)^.&set := $00000100;
  23653. end;
  23654. procedure TCMP_CM2CON.clearCOUT; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.clr := $00000100;
  23657. end;
  23658. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  23659. begin
  23660. if thebits = 0 then
  23661. pTDefRegMap(@Self)^.clr := $00000100
  23662. else
  23663. pTDefRegMap(@Self)^.&set := $00000100;
  23664. end;
  23665. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  23666. begin
  23667. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23668. end;
  23669. procedure TCMP_CM2CON.setCPOL; inline;
  23670. begin
  23671. pTDefRegMap(@Self)^.&set := $00002000;
  23672. end;
  23673. procedure TCMP_CM2CON.clearCPOL; inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.clr := $00002000;
  23676. end;
  23677. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  23678. begin
  23679. if thebits = 0 then
  23680. pTDefRegMap(@Self)^.clr := $00002000
  23681. else
  23682. pTDefRegMap(@Self)^.&set := $00002000;
  23683. end;
  23684. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  23685. begin
  23686. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23687. end;
  23688. procedure TCMP_CM2CON.setCOE; inline;
  23689. begin
  23690. pTDefRegMap(@Self)^.&set := $00004000;
  23691. end;
  23692. procedure TCMP_CM2CON.clearCOE; inline;
  23693. begin
  23694. pTDefRegMap(@Self)^.clr := $00004000;
  23695. end;
  23696. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  23697. begin
  23698. if thebits = 0 then
  23699. pTDefRegMap(@Self)^.clr := $00004000
  23700. else
  23701. pTDefRegMap(@Self)^.&set := $00004000;
  23702. end;
  23703. function TCMP_CM2CON.getCOE : TBits_1; inline;
  23704. begin
  23705. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23706. end;
  23707. procedure TCMP_CM2CON.setON; inline;
  23708. begin
  23709. pTDefRegMap(@Self)^.&set := $00008000;
  23710. end;
  23711. procedure TCMP_CM2CON.clearON; inline;
  23712. begin
  23713. pTDefRegMap(@Self)^.clr := $00008000;
  23714. end;
  23715. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  23716. begin
  23717. if thebits = 0 then
  23718. pTDefRegMap(@Self)^.clr := $00008000
  23719. else
  23720. pTDefRegMap(@Self)^.&set := $00008000;
  23721. end;
  23722. function TCMP_CM2CON.getON : TBits_1; inline;
  23723. begin
  23724. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23725. end;
  23726. procedure TCMP_CM2CON.setCCH0; inline;
  23727. begin
  23728. pTDefRegMap(@Self)^.&set := $00000001;
  23729. end;
  23730. procedure TCMP_CM2CON.clearCCH0; inline;
  23731. begin
  23732. pTDefRegMap(@Self)^.clr := $00000001;
  23733. end;
  23734. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  23735. begin
  23736. if thebits = 0 then
  23737. pTDefRegMap(@Self)^.clr := $00000001
  23738. else
  23739. pTDefRegMap(@Self)^.&set := $00000001;
  23740. end;
  23741. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  23742. begin
  23743. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23744. end;
  23745. procedure TCMP_CM2CON.setCCH1; inline;
  23746. begin
  23747. pTDefRegMap(@Self)^.&set := $00000002;
  23748. end;
  23749. procedure TCMP_CM2CON.clearCCH1; inline;
  23750. begin
  23751. pTDefRegMap(@Self)^.clr := $00000002;
  23752. end;
  23753. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  23754. begin
  23755. if thebits = 0 then
  23756. pTDefRegMap(@Self)^.clr := $00000002
  23757. else
  23758. pTDefRegMap(@Self)^.&set := $00000002;
  23759. end;
  23760. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  23761. begin
  23762. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23763. end;
  23764. procedure TCMP_CM2CON.setEVPOL0; inline;
  23765. begin
  23766. pTDefRegMap(@Self)^.&set := $00000040;
  23767. end;
  23768. procedure TCMP_CM2CON.clearEVPOL0; inline;
  23769. begin
  23770. pTDefRegMap(@Self)^.clr := $00000040;
  23771. end;
  23772. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  23773. begin
  23774. if thebits = 0 then
  23775. pTDefRegMap(@Self)^.clr := $00000040
  23776. else
  23777. pTDefRegMap(@Self)^.&set := $00000040;
  23778. end;
  23779. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  23780. begin
  23781. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23782. end;
  23783. procedure TCMP_CM2CON.setEVPOL1; inline;
  23784. begin
  23785. pTDefRegMap(@Self)^.&set := $00000080;
  23786. end;
  23787. procedure TCMP_CM2CON.clearEVPOL1; inline;
  23788. begin
  23789. pTDefRegMap(@Self)^.clr := $00000080;
  23790. end;
  23791. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  23792. begin
  23793. if thebits = 0 then
  23794. pTDefRegMap(@Self)^.clr := $00000080
  23795. else
  23796. pTDefRegMap(@Self)^.&set := $00000080;
  23797. end;
  23798. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  23799. begin
  23800. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23801. end;
  23802. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  23803. begin
  23804. pTDefRegMap(@Self)^.val := thebits;
  23805. end;
  23806. function TCMP_CM2CON.getw : TBits_32; inline;
  23807. begin
  23808. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23809. end;
  23810. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  23811. begin
  23812. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  23813. end;
  23814. function TCMP_CM3CON.getCCH : TBits_2; inline;
  23815. begin
  23816. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  23817. end;
  23818. procedure TCMP_CM3CON.setCREF; inline;
  23819. begin
  23820. pTDefRegMap(@Self)^.&set := $00000010;
  23821. end;
  23822. procedure TCMP_CM3CON.clearCREF; inline;
  23823. begin
  23824. pTDefRegMap(@Self)^.clr := $00000010;
  23825. end;
  23826. procedure TCMP_CM3CON.setCREF(thebits : TBits_1); inline;
  23827. begin
  23828. if thebits = 0 then
  23829. pTDefRegMap(@Self)^.clr := $00000010
  23830. else
  23831. pTDefRegMap(@Self)^.&set := $00000010;
  23832. end;
  23833. function TCMP_CM3CON.getCREF : TBits_1; inline;
  23834. begin
  23835. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23836. end;
  23837. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  23838. begin
  23839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  23840. end;
  23841. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  23842. begin
  23843. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  23844. end;
  23845. procedure TCMP_CM3CON.setCOUT; inline;
  23846. begin
  23847. pTDefRegMap(@Self)^.&set := $00000100;
  23848. end;
  23849. procedure TCMP_CM3CON.clearCOUT; inline;
  23850. begin
  23851. pTDefRegMap(@Self)^.clr := $00000100;
  23852. end;
  23853. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  23854. begin
  23855. if thebits = 0 then
  23856. pTDefRegMap(@Self)^.clr := $00000100
  23857. else
  23858. pTDefRegMap(@Self)^.&set := $00000100;
  23859. end;
  23860. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  23861. begin
  23862. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23863. end;
  23864. procedure TCMP_CM3CON.setCPOL; inline;
  23865. begin
  23866. pTDefRegMap(@Self)^.&set := $00002000;
  23867. end;
  23868. procedure TCMP_CM3CON.clearCPOL; inline;
  23869. begin
  23870. pTDefRegMap(@Self)^.clr := $00002000;
  23871. end;
  23872. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  23873. begin
  23874. if thebits = 0 then
  23875. pTDefRegMap(@Self)^.clr := $00002000
  23876. else
  23877. pTDefRegMap(@Self)^.&set := $00002000;
  23878. end;
  23879. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  23880. begin
  23881. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23882. end;
  23883. procedure TCMP_CM3CON.setCOE; inline;
  23884. begin
  23885. pTDefRegMap(@Self)^.&set := $00004000;
  23886. end;
  23887. procedure TCMP_CM3CON.clearCOE; inline;
  23888. begin
  23889. pTDefRegMap(@Self)^.clr := $00004000;
  23890. end;
  23891. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  23892. begin
  23893. if thebits = 0 then
  23894. pTDefRegMap(@Self)^.clr := $00004000
  23895. else
  23896. pTDefRegMap(@Self)^.&set := $00004000;
  23897. end;
  23898. function TCMP_CM3CON.getCOE : TBits_1; inline;
  23899. begin
  23900. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23901. end;
  23902. procedure TCMP_CM3CON.setON; inline;
  23903. begin
  23904. pTDefRegMap(@Self)^.&set := $00008000;
  23905. end;
  23906. procedure TCMP_CM3CON.clearON; inline;
  23907. begin
  23908. pTDefRegMap(@Self)^.clr := $00008000;
  23909. end;
  23910. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  23911. begin
  23912. if thebits = 0 then
  23913. pTDefRegMap(@Self)^.clr := $00008000
  23914. else
  23915. pTDefRegMap(@Self)^.&set := $00008000;
  23916. end;
  23917. function TCMP_CM3CON.getON : TBits_1; inline;
  23918. begin
  23919. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23920. end;
  23921. procedure TCMP_CM3CON.setCCH0; inline;
  23922. begin
  23923. pTDefRegMap(@Self)^.&set := $00000001;
  23924. end;
  23925. procedure TCMP_CM3CON.clearCCH0; inline;
  23926. begin
  23927. pTDefRegMap(@Self)^.clr := $00000001;
  23928. end;
  23929. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  23930. begin
  23931. if thebits = 0 then
  23932. pTDefRegMap(@Self)^.clr := $00000001
  23933. else
  23934. pTDefRegMap(@Self)^.&set := $00000001;
  23935. end;
  23936. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  23937. begin
  23938. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23939. end;
  23940. procedure TCMP_CM3CON.setCCH1; inline;
  23941. begin
  23942. pTDefRegMap(@Self)^.&set := $00000002;
  23943. end;
  23944. procedure TCMP_CM3CON.clearCCH1; inline;
  23945. begin
  23946. pTDefRegMap(@Self)^.clr := $00000002;
  23947. end;
  23948. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  23949. begin
  23950. if thebits = 0 then
  23951. pTDefRegMap(@Self)^.clr := $00000002
  23952. else
  23953. pTDefRegMap(@Self)^.&set := $00000002;
  23954. end;
  23955. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  23956. begin
  23957. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23958. end;
  23959. procedure TCMP_CM3CON.setEVPOL0; inline;
  23960. begin
  23961. pTDefRegMap(@Self)^.&set := $00000040;
  23962. end;
  23963. procedure TCMP_CM3CON.clearEVPOL0; inline;
  23964. begin
  23965. pTDefRegMap(@Self)^.clr := $00000040;
  23966. end;
  23967. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  23968. begin
  23969. if thebits = 0 then
  23970. pTDefRegMap(@Self)^.clr := $00000040
  23971. else
  23972. pTDefRegMap(@Self)^.&set := $00000040;
  23973. end;
  23974. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  23975. begin
  23976. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23977. end;
  23978. procedure TCMP_CM3CON.setEVPOL1; inline;
  23979. begin
  23980. pTDefRegMap(@Self)^.&set := $00000080;
  23981. end;
  23982. procedure TCMP_CM3CON.clearEVPOL1; inline;
  23983. begin
  23984. pTDefRegMap(@Self)^.clr := $00000080;
  23985. end;
  23986. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  23987. begin
  23988. if thebits = 0 then
  23989. pTDefRegMap(@Self)^.clr := $00000080
  23990. else
  23991. pTDefRegMap(@Self)^.&set := $00000080;
  23992. end;
  23993. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  23994. begin
  23995. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23996. end;
  23997. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  23998. begin
  23999. pTDefRegMap(@Self)^.val := thebits;
  24000. end;
  24001. function TCMP_CM3CON.getw : TBits_32; inline;
  24002. begin
  24003. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24004. end;
  24005. procedure TCMP_CMSTAT.setC1OUT; inline;
  24006. begin
  24007. pTDefRegMap(@Self)^.&set := $00000001;
  24008. end;
  24009. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24010. begin
  24011. pTDefRegMap(@Self)^.clr := $00000001;
  24012. end;
  24013. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24014. begin
  24015. if thebits = 0 then
  24016. pTDefRegMap(@Self)^.clr := $00000001
  24017. else
  24018. pTDefRegMap(@Self)^.&set := $00000001;
  24019. end;
  24020. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24021. begin
  24022. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24023. end;
  24024. procedure TCMP_CMSTAT.setC2OUT; inline;
  24025. begin
  24026. pTDefRegMap(@Self)^.&set := $00000002;
  24027. end;
  24028. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24029. begin
  24030. pTDefRegMap(@Self)^.clr := $00000002;
  24031. end;
  24032. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24033. begin
  24034. if thebits = 0 then
  24035. pTDefRegMap(@Self)^.clr := $00000002
  24036. else
  24037. pTDefRegMap(@Self)^.&set := $00000002;
  24038. end;
  24039. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24040. begin
  24041. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24042. end;
  24043. procedure TCMP_CMSTAT.setC3OUT; inline;
  24044. begin
  24045. pTDefRegMap(@Self)^.&set := $00000004;
  24046. end;
  24047. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24048. begin
  24049. pTDefRegMap(@Self)^.clr := $00000004;
  24050. end;
  24051. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24052. begin
  24053. if thebits = 0 then
  24054. pTDefRegMap(@Self)^.clr := $00000004
  24055. else
  24056. pTDefRegMap(@Self)^.&set := $00000004;
  24057. end;
  24058. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24059. begin
  24060. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24061. end;
  24062. procedure TCMP_CMSTAT.setSIDL; inline;
  24063. begin
  24064. pTDefRegMap(@Self)^.&set := $00002000;
  24065. end;
  24066. procedure TCMP_CMSTAT.clearSIDL; inline;
  24067. begin
  24068. pTDefRegMap(@Self)^.clr := $00002000;
  24069. end;
  24070. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24071. begin
  24072. if thebits = 0 then
  24073. pTDefRegMap(@Self)^.clr := $00002000
  24074. else
  24075. pTDefRegMap(@Self)^.&set := $00002000;
  24076. end;
  24077. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24078. begin
  24079. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24080. end;
  24081. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24082. begin
  24083. pTDefRegMap(@Self)^.val := thebits;
  24084. end;
  24085. function TCMP_CMSTAT.getw : TBits_32; inline;
  24086. begin
  24087. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24088. end;
  24089. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24090. begin
  24091. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24092. end;
  24093. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24094. begin
  24095. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24096. end;
  24097. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24098. begin
  24099. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24100. end;
  24101. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24102. begin
  24103. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24104. end;
  24105. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24106. begin
  24107. pTDefRegMap(@Self)^.&set := $00000100;
  24108. end;
  24109. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24110. begin
  24111. pTDefRegMap(@Self)^.clr := $00000100;
  24112. end;
  24113. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24114. begin
  24115. if thebits = 0 then
  24116. pTDefRegMap(@Self)^.clr := $00000100
  24117. else
  24118. pTDefRegMap(@Self)^.&set := $00000100;
  24119. end;
  24120. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24121. begin
  24122. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24123. end;
  24124. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24125. begin
  24126. pTDefRegMap(@Self)^.&set := $00000200;
  24127. end;
  24128. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24129. begin
  24130. pTDefRegMap(@Self)^.clr := $00000200;
  24131. end;
  24132. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24133. begin
  24134. if thebits = 0 then
  24135. pTDefRegMap(@Self)^.clr := $00000200
  24136. else
  24137. pTDefRegMap(@Self)^.&set := $00000200;
  24138. end;
  24139. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24140. begin
  24141. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24142. end;
  24143. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24144. begin
  24145. pTDefRegMap(@Self)^.&set := $00000400;
  24146. end;
  24147. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24148. begin
  24149. pTDefRegMap(@Self)^.clr := $00000400;
  24150. end;
  24151. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24152. begin
  24153. if thebits = 0 then
  24154. pTDefRegMap(@Self)^.clr := $00000400
  24155. else
  24156. pTDefRegMap(@Self)^.&set := $00000400;
  24157. end;
  24158. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24159. begin
  24160. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24161. end;
  24162. procedure TCMP_CTMUCON.setEDGEN; inline;
  24163. begin
  24164. pTDefRegMap(@Self)^.&set := $00000800;
  24165. end;
  24166. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24167. begin
  24168. pTDefRegMap(@Self)^.clr := $00000800;
  24169. end;
  24170. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24171. begin
  24172. if thebits = 0 then
  24173. pTDefRegMap(@Self)^.clr := $00000800
  24174. else
  24175. pTDefRegMap(@Self)^.&set := $00000800;
  24176. end;
  24177. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24178. begin
  24179. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24180. end;
  24181. procedure TCMP_CTMUCON.setTGEN; inline;
  24182. begin
  24183. pTDefRegMap(@Self)^.&set := $00001000;
  24184. end;
  24185. procedure TCMP_CTMUCON.clearTGEN; inline;
  24186. begin
  24187. pTDefRegMap(@Self)^.clr := $00001000;
  24188. end;
  24189. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24190. begin
  24191. if thebits = 0 then
  24192. pTDefRegMap(@Self)^.clr := $00001000
  24193. else
  24194. pTDefRegMap(@Self)^.&set := $00001000;
  24195. end;
  24196. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24197. begin
  24198. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24199. end;
  24200. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24201. begin
  24202. pTDefRegMap(@Self)^.&set := $00002000;
  24203. end;
  24204. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24205. begin
  24206. pTDefRegMap(@Self)^.clr := $00002000;
  24207. end;
  24208. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24209. begin
  24210. if thebits = 0 then
  24211. pTDefRegMap(@Self)^.clr := $00002000
  24212. else
  24213. pTDefRegMap(@Self)^.&set := $00002000;
  24214. end;
  24215. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24216. begin
  24217. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24218. end;
  24219. procedure TCMP_CTMUCON.setON; inline;
  24220. begin
  24221. pTDefRegMap(@Self)^.&set := $00008000;
  24222. end;
  24223. procedure TCMP_CTMUCON.clearON; inline;
  24224. begin
  24225. pTDefRegMap(@Self)^.clr := $00008000;
  24226. end;
  24227. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24228. begin
  24229. if thebits = 0 then
  24230. pTDefRegMap(@Self)^.clr := $00008000
  24231. else
  24232. pTDefRegMap(@Self)^.&set := $00008000;
  24233. end;
  24234. function TCMP_CTMUCON.getON : TBits_1; inline;
  24235. begin
  24236. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24237. end;
  24238. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24239. begin
  24240. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24241. end;
  24242. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24243. begin
  24244. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24245. end;
  24246. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24247. begin
  24248. pTDefRegMap(@Self)^.&set := $00400000;
  24249. end;
  24250. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24251. begin
  24252. pTDefRegMap(@Self)^.clr := $00400000;
  24253. end;
  24254. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24255. begin
  24256. if thebits = 0 then
  24257. pTDefRegMap(@Self)^.clr := $00400000
  24258. else
  24259. pTDefRegMap(@Self)^.&set := $00400000;
  24260. end;
  24261. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24262. begin
  24263. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24264. end;
  24265. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24266. begin
  24267. pTDefRegMap(@Self)^.&set := $00800000;
  24268. end;
  24269. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24270. begin
  24271. pTDefRegMap(@Self)^.clr := $00800000;
  24272. end;
  24273. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24274. begin
  24275. if thebits = 0 then
  24276. pTDefRegMap(@Self)^.clr := $00800000
  24277. else
  24278. pTDefRegMap(@Self)^.&set := $00800000;
  24279. end;
  24280. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24281. begin
  24282. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24283. end;
  24284. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24285. begin
  24286. pTDefRegMap(@Self)^.&set := $01000000;
  24287. end;
  24288. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.clr := $01000000;
  24291. end;
  24292. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24293. begin
  24294. if thebits = 0 then
  24295. pTDefRegMap(@Self)^.clr := $01000000
  24296. else
  24297. pTDefRegMap(@Self)^.&set := $01000000;
  24298. end;
  24299. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24300. begin
  24301. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24302. end;
  24303. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24304. begin
  24305. pTDefRegMap(@Self)^.&set := $02000000;
  24306. end;
  24307. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.clr := $02000000;
  24310. end;
  24311. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24312. begin
  24313. if thebits = 0 then
  24314. pTDefRegMap(@Self)^.clr := $02000000
  24315. else
  24316. pTDefRegMap(@Self)^.&set := $02000000;
  24317. end;
  24318. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24319. begin
  24320. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24321. end;
  24322. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24323. begin
  24324. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24325. end;
  24326. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24327. begin
  24328. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24329. end;
  24330. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24331. begin
  24332. pTDefRegMap(@Self)^.&set := $40000000;
  24333. end;
  24334. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24335. begin
  24336. pTDefRegMap(@Self)^.clr := $40000000;
  24337. end;
  24338. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24339. begin
  24340. if thebits = 0 then
  24341. pTDefRegMap(@Self)^.clr := $40000000
  24342. else
  24343. pTDefRegMap(@Self)^.&set := $40000000;
  24344. end;
  24345. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24346. begin
  24347. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24348. end;
  24349. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24350. begin
  24351. pTDefRegMap(@Self)^.&set := $80000000;
  24352. end;
  24353. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24354. begin
  24355. pTDefRegMap(@Self)^.clr := $80000000;
  24356. end;
  24357. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24358. begin
  24359. if thebits = 0 then
  24360. pTDefRegMap(@Self)^.clr := $80000000
  24361. else
  24362. pTDefRegMap(@Self)^.&set := $80000000;
  24363. end;
  24364. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24365. begin
  24366. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  24367. end;
  24368. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  24369. begin
  24370. pTDefRegMap(@Self)^.val := thebits;
  24371. end;
  24372. function TCMP_CTMUCON.getw : TBits_32; inline;
  24373. begin
  24374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24375. end;
  24376. procedure TOSC_OSCCON.setOSWEN; inline;
  24377. begin
  24378. pTDefRegMap(@Self)^.&set := $00000001;
  24379. end;
  24380. procedure TOSC_OSCCON.clearOSWEN; inline;
  24381. begin
  24382. pTDefRegMap(@Self)^.clr := $00000001;
  24383. end;
  24384. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  24385. begin
  24386. if thebits = 0 then
  24387. pTDefRegMap(@Self)^.clr := $00000001
  24388. else
  24389. pTDefRegMap(@Self)^.&set := $00000001;
  24390. end;
  24391. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  24392. begin
  24393. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24394. end;
  24395. procedure TOSC_OSCCON.setSOSCEN; inline;
  24396. begin
  24397. pTDefRegMap(@Self)^.&set := $00000002;
  24398. end;
  24399. procedure TOSC_OSCCON.clearSOSCEN; inline;
  24400. begin
  24401. pTDefRegMap(@Self)^.clr := $00000002;
  24402. end;
  24403. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  24404. begin
  24405. if thebits = 0 then
  24406. pTDefRegMap(@Self)^.clr := $00000002
  24407. else
  24408. pTDefRegMap(@Self)^.&set := $00000002;
  24409. end;
  24410. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  24411. begin
  24412. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24413. end;
  24414. procedure TOSC_OSCCON.setUFRCEN; inline;
  24415. begin
  24416. pTDefRegMap(@Self)^.&set := $00000004;
  24417. end;
  24418. procedure TOSC_OSCCON.clearUFRCEN; inline;
  24419. begin
  24420. pTDefRegMap(@Self)^.clr := $00000004;
  24421. end;
  24422. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  24423. begin
  24424. if thebits = 0 then
  24425. pTDefRegMap(@Self)^.clr := $00000004
  24426. else
  24427. pTDefRegMap(@Self)^.&set := $00000004;
  24428. end;
  24429. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  24430. begin
  24431. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24432. end;
  24433. procedure TOSC_OSCCON.setCF; inline;
  24434. begin
  24435. pTDefRegMap(@Self)^.&set := $00000008;
  24436. end;
  24437. procedure TOSC_OSCCON.clearCF; inline;
  24438. begin
  24439. pTDefRegMap(@Self)^.clr := $00000008;
  24440. end;
  24441. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  24442. begin
  24443. if thebits = 0 then
  24444. pTDefRegMap(@Self)^.clr := $00000008
  24445. else
  24446. pTDefRegMap(@Self)^.&set := $00000008;
  24447. end;
  24448. function TOSC_OSCCON.getCF : TBits_1; inline;
  24449. begin
  24450. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24451. end;
  24452. procedure TOSC_OSCCON.setSLPEN; inline;
  24453. begin
  24454. pTDefRegMap(@Self)^.&set := $00000010;
  24455. end;
  24456. procedure TOSC_OSCCON.clearSLPEN; inline;
  24457. begin
  24458. pTDefRegMap(@Self)^.clr := $00000010;
  24459. end;
  24460. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  24461. begin
  24462. if thebits = 0 then
  24463. pTDefRegMap(@Self)^.clr := $00000010
  24464. else
  24465. pTDefRegMap(@Self)^.&set := $00000010;
  24466. end;
  24467. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  24468. begin
  24469. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24470. end;
  24471. procedure TOSC_OSCCON.setSLOCK; inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.&set := $00000020;
  24474. end;
  24475. procedure TOSC_OSCCON.clearSLOCK; inline;
  24476. begin
  24477. pTDefRegMap(@Self)^.clr := $00000020;
  24478. end;
  24479. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  24480. begin
  24481. if thebits = 0 then
  24482. pTDefRegMap(@Self)^.clr := $00000020
  24483. else
  24484. pTDefRegMap(@Self)^.&set := $00000020;
  24485. end;
  24486. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  24487. begin
  24488. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  24489. end;
  24490. procedure TOSC_OSCCON.setULOCK; inline;
  24491. begin
  24492. pTDefRegMap(@Self)^.&set := $00000040;
  24493. end;
  24494. procedure TOSC_OSCCON.clearULOCK; inline;
  24495. begin
  24496. pTDefRegMap(@Self)^.clr := $00000040;
  24497. end;
  24498. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  24499. begin
  24500. if thebits = 0 then
  24501. pTDefRegMap(@Self)^.clr := $00000040
  24502. else
  24503. pTDefRegMap(@Self)^.&set := $00000040;
  24504. end;
  24505. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  24506. begin
  24507. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24508. end;
  24509. procedure TOSC_OSCCON.setCLKLOCK; inline;
  24510. begin
  24511. pTDefRegMap(@Self)^.&set := $00000080;
  24512. end;
  24513. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  24514. begin
  24515. pTDefRegMap(@Self)^.clr := $00000080;
  24516. end;
  24517. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  24518. begin
  24519. if thebits = 0 then
  24520. pTDefRegMap(@Self)^.clr := $00000080
  24521. else
  24522. pTDefRegMap(@Self)^.&set := $00000080;
  24523. end;
  24524. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  24525. begin
  24526. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24527. end;
  24528. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  24529. begin
  24530. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  24531. end;
  24532. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  24533. begin
  24534. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  24535. end;
  24536. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  24537. begin
  24538. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  24539. end;
  24540. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  24541. begin
  24542. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  24543. end;
  24544. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  24545. begin
  24546. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  24547. end;
  24548. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  24549. begin
  24550. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  24551. end;
  24552. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  24553. begin
  24554. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  24555. end;
  24556. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  24557. begin
  24558. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  24559. end;
  24560. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  24561. begin
  24562. pTDefRegMap(@Self)^.&set := $00200000;
  24563. end;
  24564. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  24565. begin
  24566. pTDefRegMap(@Self)^.clr := $00200000;
  24567. end;
  24568. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  24569. begin
  24570. if thebits = 0 then
  24571. pTDefRegMap(@Self)^.clr := $00200000
  24572. else
  24573. pTDefRegMap(@Self)^.&set := $00200000;
  24574. end;
  24575. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  24576. begin
  24577. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  24578. end;
  24579. procedure TOSC_OSCCON.setSOSCRDY; inline;
  24580. begin
  24581. pTDefRegMap(@Self)^.&set := $00400000;
  24582. end;
  24583. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  24584. begin
  24585. pTDefRegMap(@Self)^.clr := $00400000;
  24586. end;
  24587. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  24588. begin
  24589. if thebits = 0 then
  24590. pTDefRegMap(@Self)^.clr := $00400000
  24591. else
  24592. pTDefRegMap(@Self)^.&set := $00400000;
  24593. end;
  24594. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  24595. begin
  24596. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24597. end;
  24598. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  24599. begin
  24600. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  24601. end;
  24602. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  24603. begin
  24604. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  24605. end;
  24606. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  24607. begin
  24608. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  24609. end;
  24610. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  24611. begin
  24612. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  24613. end;
  24614. procedure TOSC_OSCCON.setNOSC0; inline;
  24615. begin
  24616. pTDefRegMap(@Self)^.&set := $00000100;
  24617. end;
  24618. procedure TOSC_OSCCON.clearNOSC0; inline;
  24619. begin
  24620. pTDefRegMap(@Self)^.clr := $00000100;
  24621. end;
  24622. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  24623. begin
  24624. if thebits = 0 then
  24625. pTDefRegMap(@Self)^.clr := $00000100
  24626. else
  24627. pTDefRegMap(@Self)^.&set := $00000100;
  24628. end;
  24629. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  24630. begin
  24631. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24632. end;
  24633. procedure TOSC_OSCCON.setNOSC1; inline;
  24634. begin
  24635. pTDefRegMap(@Self)^.&set := $00000200;
  24636. end;
  24637. procedure TOSC_OSCCON.clearNOSC1; inline;
  24638. begin
  24639. pTDefRegMap(@Self)^.clr := $00000200;
  24640. end;
  24641. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  24642. begin
  24643. if thebits = 0 then
  24644. pTDefRegMap(@Self)^.clr := $00000200
  24645. else
  24646. pTDefRegMap(@Self)^.&set := $00000200;
  24647. end;
  24648. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  24649. begin
  24650. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24651. end;
  24652. procedure TOSC_OSCCON.setNOSC2; inline;
  24653. begin
  24654. pTDefRegMap(@Self)^.&set := $00000400;
  24655. end;
  24656. procedure TOSC_OSCCON.clearNOSC2; inline;
  24657. begin
  24658. pTDefRegMap(@Self)^.clr := $00000400;
  24659. end;
  24660. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  24661. begin
  24662. if thebits = 0 then
  24663. pTDefRegMap(@Self)^.clr := $00000400
  24664. else
  24665. pTDefRegMap(@Self)^.&set := $00000400;
  24666. end;
  24667. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  24668. begin
  24669. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24670. end;
  24671. procedure TOSC_OSCCON.setCOSC0; inline;
  24672. begin
  24673. pTDefRegMap(@Self)^.&set := $00001000;
  24674. end;
  24675. procedure TOSC_OSCCON.clearCOSC0; inline;
  24676. begin
  24677. pTDefRegMap(@Self)^.clr := $00001000;
  24678. end;
  24679. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  24680. begin
  24681. if thebits = 0 then
  24682. pTDefRegMap(@Self)^.clr := $00001000
  24683. else
  24684. pTDefRegMap(@Self)^.&set := $00001000;
  24685. end;
  24686. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  24687. begin
  24688. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24689. end;
  24690. procedure TOSC_OSCCON.setCOSC1; inline;
  24691. begin
  24692. pTDefRegMap(@Self)^.&set := $00002000;
  24693. end;
  24694. procedure TOSC_OSCCON.clearCOSC1; inline;
  24695. begin
  24696. pTDefRegMap(@Self)^.clr := $00002000;
  24697. end;
  24698. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  24699. begin
  24700. if thebits = 0 then
  24701. pTDefRegMap(@Self)^.clr := $00002000
  24702. else
  24703. pTDefRegMap(@Self)^.&set := $00002000;
  24704. end;
  24705. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  24706. begin
  24707. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24708. end;
  24709. procedure TOSC_OSCCON.setCOSC2; inline;
  24710. begin
  24711. pTDefRegMap(@Self)^.&set := $00004000;
  24712. end;
  24713. procedure TOSC_OSCCON.clearCOSC2; inline;
  24714. begin
  24715. pTDefRegMap(@Self)^.clr := $00004000;
  24716. end;
  24717. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  24718. begin
  24719. if thebits = 0 then
  24720. pTDefRegMap(@Self)^.clr := $00004000
  24721. else
  24722. pTDefRegMap(@Self)^.&set := $00004000;
  24723. end;
  24724. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  24725. begin
  24726. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24727. end;
  24728. procedure TOSC_OSCCON.setPLLMULT0; inline;
  24729. begin
  24730. pTDefRegMap(@Self)^.&set := $00010000;
  24731. end;
  24732. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  24733. begin
  24734. pTDefRegMap(@Self)^.clr := $00010000;
  24735. end;
  24736. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  24737. begin
  24738. if thebits = 0 then
  24739. pTDefRegMap(@Self)^.clr := $00010000
  24740. else
  24741. pTDefRegMap(@Self)^.&set := $00010000;
  24742. end;
  24743. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  24744. begin
  24745. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  24746. end;
  24747. procedure TOSC_OSCCON.setPLLMULT1; inline;
  24748. begin
  24749. pTDefRegMap(@Self)^.&set := $00020000;
  24750. end;
  24751. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  24752. begin
  24753. pTDefRegMap(@Self)^.clr := $00020000;
  24754. end;
  24755. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  24756. begin
  24757. if thebits = 0 then
  24758. pTDefRegMap(@Self)^.clr := $00020000
  24759. else
  24760. pTDefRegMap(@Self)^.&set := $00020000;
  24761. end;
  24762. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  24763. begin
  24764. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  24765. end;
  24766. procedure TOSC_OSCCON.setPLLMULT2; inline;
  24767. begin
  24768. pTDefRegMap(@Self)^.&set := $00040000;
  24769. end;
  24770. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  24771. begin
  24772. pTDefRegMap(@Self)^.clr := $00040000;
  24773. end;
  24774. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  24775. begin
  24776. if thebits = 0 then
  24777. pTDefRegMap(@Self)^.clr := $00040000
  24778. else
  24779. pTDefRegMap(@Self)^.&set := $00040000;
  24780. end;
  24781. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  24782. begin
  24783. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  24784. end;
  24785. procedure TOSC_OSCCON.setPBDIV0; inline;
  24786. begin
  24787. pTDefRegMap(@Self)^.&set := $00080000;
  24788. end;
  24789. procedure TOSC_OSCCON.clearPBDIV0; inline;
  24790. begin
  24791. pTDefRegMap(@Self)^.clr := $00080000;
  24792. end;
  24793. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  24794. begin
  24795. if thebits = 0 then
  24796. pTDefRegMap(@Self)^.clr := $00080000
  24797. else
  24798. pTDefRegMap(@Self)^.&set := $00080000;
  24799. end;
  24800. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  24801. begin
  24802. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  24803. end;
  24804. procedure TOSC_OSCCON.setPBDIV1; inline;
  24805. begin
  24806. pTDefRegMap(@Self)^.&set := $00100000;
  24807. end;
  24808. procedure TOSC_OSCCON.clearPBDIV1; inline;
  24809. begin
  24810. pTDefRegMap(@Self)^.clr := $00100000;
  24811. end;
  24812. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  24813. begin
  24814. if thebits = 0 then
  24815. pTDefRegMap(@Self)^.clr := $00100000
  24816. else
  24817. pTDefRegMap(@Self)^.&set := $00100000;
  24818. end;
  24819. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  24820. begin
  24821. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  24822. end;
  24823. procedure TOSC_OSCCON.setFRCDIV0; inline;
  24824. begin
  24825. pTDefRegMap(@Self)^.&set := $01000000;
  24826. end;
  24827. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  24828. begin
  24829. pTDefRegMap(@Self)^.clr := $01000000;
  24830. end;
  24831. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  24832. begin
  24833. if thebits = 0 then
  24834. pTDefRegMap(@Self)^.clr := $01000000
  24835. else
  24836. pTDefRegMap(@Self)^.&set := $01000000;
  24837. end;
  24838. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  24839. begin
  24840. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24841. end;
  24842. procedure TOSC_OSCCON.setFRCDIV1; inline;
  24843. begin
  24844. pTDefRegMap(@Self)^.&set := $02000000;
  24845. end;
  24846. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  24847. begin
  24848. pTDefRegMap(@Self)^.clr := $02000000;
  24849. end;
  24850. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  24851. begin
  24852. if thebits = 0 then
  24853. pTDefRegMap(@Self)^.clr := $02000000
  24854. else
  24855. pTDefRegMap(@Self)^.&set := $02000000;
  24856. end;
  24857. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  24858. begin
  24859. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24860. end;
  24861. procedure TOSC_OSCCON.setFRCDIV2; inline;
  24862. begin
  24863. pTDefRegMap(@Self)^.&set := $04000000;
  24864. end;
  24865. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  24866. begin
  24867. pTDefRegMap(@Self)^.clr := $04000000;
  24868. end;
  24869. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  24870. begin
  24871. if thebits = 0 then
  24872. pTDefRegMap(@Self)^.clr := $04000000
  24873. else
  24874. pTDefRegMap(@Self)^.&set := $04000000;
  24875. end;
  24876. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  24877. begin
  24878. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  24879. end;
  24880. procedure TOSC_OSCCON.setPLLODIV0; inline;
  24881. begin
  24882. pTDefRegMap(@Self)^.&set := $08000000;
  24883. end;
  24884. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  24885. begin
  24886. pTDefRegMap(@Self)^.clr := $08000000;
  24887. end;
  24888. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  24889. begin
  24890. if thebits = 0 then
  24891. pTDefRegMap(@Self)^.clr := $08000000
  24892. else
  24893. pTDefRegMap(@Self)^.&set := $08000000;
  24894. end;
  24895. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  24896. begin
  24897. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  24898. end;
  24899. procedure TOSC_OSCCON.setPLLODIV1; inline;
  24900. begin
  24901. pTDefRegMap(@Self)^.&set := $10000000;
  24902. end;
  24903. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  24904. begin
  24905. pTDefRegMap(@Self)^.clr := $10000000;
  24906. end;
  24907. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  24908. begin
  24909. if thebits = 0 then
  24910. pTDefRegMap(@Self)^.clr := $10000000
  24911. else
  24912. pTDefRegMap(@Self)^.&set := $10000000;
  24913. end;
  24914. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  24915. begin
  24916. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  24917. end;
  24918. procedure TOSC_OSCCON.setPLLODIV2; inline;
  24919. begin
  24920. pTDefRegMap(@Self)^.&set := $20000000;
  24921. end;
  24922. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  24923. begin
  24924. pTDefRegMap(@Self)^.clr := $20000000;
  24925. end;
  24926. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  24927. begin
  24928. if thebits = 0 then
  24929. pTDefRegMap(@Self)^.clr := $20000000
  24930. else
  24931. pTDefRegMap(@Self)^.&set := $20000000;
  24932. end;
  24933. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  24934. begin
  24935. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  24936. end;
  24937. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  24938. begin
  24939. pTDefRegMap(@Self)^.val := thebits;
  24940. end;
  24941. function TOSC_OSCCON.getw : TBits_32; inline;
  24942. begin
  24943. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24944. end;
  24945. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  24946. begin
  24947. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  24948. end;
  24949. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  24950. begin
  24951. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  24952. end;
  24953. procedure TOSC_OSCTUN.setTUN0; inline;
  24954. begin
  24955. pTDefRegMap(@Self)^.&set := $00000001;
  24956. end;
  24957. procedure TOSC_OSCTUN.clearTUN0; inline;
  24958. begin
  24959. pTDefRegMap(@Self)^.clr := $00000001;
  24960. end;
  24961. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  24962. begin
  24963. if thebits = 0 then
  24964. pTDefRegMap(@Self)^.clr := $00000001
  24965. else
  24966. pTDefRegMap(@Self)^.&set := $00000001;
  24967. end;
  24968. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  24969. begin
  24970. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24971. end;
  24972. procedure TOSC_OSCTUN.setTUN1; inline;
  24973. begin
  24974. pTDefRegMap(@Self)^.&set := $00000002;
  24975. end;
  24976. procedure TOSC_OSCTUN.clearTUN1; inline;
  24977. begin
  24978. pTDefRegMap(@Self)^.clr := $00000002;
  24979. end;
  24980. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  24981. begin
  24982. if thebits = 0 then
  24983. pTDefRegMap(@Self)^.clr := $00000002
  24984. else
  24985. pTDefRegMap(@Self)^.&set := $00000002;
  24986. end;
  24987. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  24988. begin
  24989. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24990. end;
  24991. procedure TOSC_OSCTUN.setTUN2; inline;
  24992. begin
  24993. pTDefRegMap(@Self)^.&set := $00000004;
  24994. end;
  24995. procedure TOSC_OSCTUN.clearTUN2; inline;
  24996. begin
  24997. pTDefRegMap(@Self)^.clr := $00000004;
  24998. end;
  24999. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25000. begin
  25001. if thebits = 0 then
  25002. pTDefRegMap(@Self)^.clr := $00000004
  25003. else
  25004. pTDefRegMap(@Self)^.&set := $00000004;
  25005. end;
  25006. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25007. begin
  25008. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25009. end;
  25010. procedure TOSC_OSCTUN.setTUN3; inline;
  25011. begin
  25012. pTDefRegMap(@Self)^.&set := $00000008;
  25013. end;
  25014. procedure TOSC_OSCTUN.clearTUN3; inline;
  25015. begin
  25016. pTDefRegMap(@Self)^.clr := $00000008;
  25017. end;
  25018. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25019. begin
  25020. if thebits = 0 then
  25021. pTDefRegMap(@Self)^.clr := $00000008
  25022. else
  25023. pTDefRegMap(@Self)^.&set := $00000008;
  25024. end;
  25025. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25026. begin
  25027. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25028. end;
  25029. procedure TOSC_OSCTUN.setTUN4; inline;
  25030. begin
  25031. pTDefRegMap(@Self)^.&set := $00000010;
  25032. end;
  25033. procedure TOSC_OSCTUN.clearTUN4; inline;
  25034. begin
  25035. pTDefRegMap(@Self)^.clr := $00000010;
  25036. end;
  25037. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25038. begin
  25039. if thebits = 0 then
  25040. pTDefRegMap(@Self)^.clr := $00000010
  25041. else
  25042. pTDefRegMap(@Self)^.&set := $00000010;
  25043. end;
  25044. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25045. begin
  25046. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25047. end;
  25048. procedure TOSC_OSCTUN.setTUN5; inline;
  25049. begin
  25050. pTDefRegMap(@Self)^.&set := $00000020;
  25051. end;
  25052. procedure TOSC_OSCTUN.clearTUN5; inline;
  25053. begin
  25054. pTDefRegMap(@Self)^.clr := $00000020;
  25055. end;
  25056. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25057. begin
  25058. if thebits = 0 then
  25059. pTDefRegMap(@Self)^.clr := $00000020
  25060. else
  25061. pTDefRegMap(@Self)^.&set := $00000020;
  25062. end;
  25063. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25064. begin
  25065. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25066. end;
  25067. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25068. begin
  25069. pTDefRegMap(@Self)^.val := thebits;
  25070. end;
  25071. function TOSC_OSCTUN.getw : TBits_32; inline;
  25072. begin
  25073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25074. end;
  25075. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25076. begin
  25077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25078. end;
  25079. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25080. begin
  25081. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25082. end;
  25083. procedure TOSC_REFOCON.setACTIVE; inline;
  25084. begin
  25085. pTDefRegMap(@Self)^.&set := $00000100;
  25086. end;
  25087. procedure TOSC_REFOCON.clearACTIVE; inline;
  25088. begin
  25089. pTDefRegMap(@Self)^.clr := $00000100;
  25090. end;
  25091. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25092. begin
  25093. if thebits = 0 then
  25094. pTDefRegMap(@Self)^.clr := $00000100
  25095. else
  25096. pTDefRegMap(@Self)^.&set := $00000100;
  25097. end;
  25098. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25099. begin
  25100. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25101. end;
  25102. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25103. begin
  25104. pTDefRegMap(@Self)^.&set := $00000200;
  25105. end;
  25106. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25107. begin
  25108. pTDefRegMap(@Self)^.clr := $00000200;
  25109. end;
  25110. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25111. begin
  25112. if thebits = 0 then
  25113. pTDefRegMap(@Self)^.clr := $00000200
  25114. else
  25115. pTDefRegMap(@Self)^.&set := $00000200;
  25116. end;
  25117. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25118. begin
  25119. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25120. end;
  25121. procedure TOSC_REFOCON.setRSLP; inline;
  25122. begin
  25123. pTDefRegMap(@Self)^.&set := $00000800;
  25124. end;
  25125. procedure TOSC_REFOCON.clearRSLP; inline;
  25126. begin
  25127. pTDefRegMap(@Self)^.clr := $00000800;
  25128. end;
  25129. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25130. begin
  25131. if thebits = 0 then
  25132. pTDefRegMap(@Self)^.clr := $00000800
  25133. else
  25134. pTDefRegMap(@Self)^.&set := $00000800;
  25135. end;
  25136. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25137. begin
  25138. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25139. end;
  25140. procedure TOSC_REFOCON.setOE; inline;
  25141. begin
  25142. pTDefRegMap(@Self)^.&set := $00001000;
  25143. end;
  25144. procedure TOSC_REFOCON.clearOE; inline;
  25145. begin
  25146. pTDefRegMap(@Self)^.clr := $00001000;
  25147. end;
  25148. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25149. begin
  25150. if thebits = 0 then
  25151. pTDefRegMap(@Self)^.clr := $00001000
  25152. else
  25153. pTDefRegMap(@Self)^.&set := $00001000;
  25154. end;
  25155. function TOSC_REFOCON.getOE : TBits_1; inline;
  25156. begin
  25157. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25158. end;
  25159. procedure TOSC_REFOCON.setSIDL; inline;
  25160. begin
  25161. pTDefRegMap(@Self)^.&set := $00002000;
  25162. end;
  25163. procedure TOSC_REFOCON.clearSIDL; inline;
  25164. begin
  25165. pTDefRegMap(@Self)^.clr := $00002000;
  25166. end;
  25167. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25168. begin
  25169. if thebits = 0 then
  25170. pTDefRegMap(@Self)^.clr := $00002000
  25171. else
  25172. pTDefRegMap(@Self)^.&set := $00002000;
  25173. end;
  25174. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25175. begin
  25176. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25177. end;
  25178. procedure TOSC_REFOCON.setON; inline;
  25179. begin
  25180. pTDefRegMap(@Self)^.&set := $00008000;
  25181. end;
  25182. procedure TOSC_REFOCON.clearON; inline;
  25183. begin
  25184. pTDefRegMap(@Self)^.clr := $00008000;
  25185. end;
  25186. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25187. begin
  25188. if thebits = 0 then
  25189. pTDefRegMap(@Self)^.clr := $00008000
  25190. else
  25191. pTDefRegMap(@Self)^.&set := $00008000;
  25192. end;
  25193. function TOSC_REFOCON.getON : TBits_1; inline;
  25194. begin
  25195. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25196. end;
  25197. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25198. begin
  25199. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25200. end;
  25201. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25202. begin
  25203. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25204. end;
  25205. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25206. begin
  25207. pTDefRegMap(@Self)^.val := thebits;
  25208. end;
  25209. function TOSC_REFOCON.getw : TBits_32; inline;
  25210. begin
  25211. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25212. end;
  25213. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25214. begin
  25215. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25216. end;
  25217. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25218. begin
  25219. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25220. end;
  25221. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25222. begin
  25223. pTDefRegMap(@Self)^.val := thebits;
  25224. end;
  25225. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25226. begin
  25227. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25228. end;
  25229. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25230. begin
  25231. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25232. end;
  25233. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25234. begin
  25235. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25236. end;
  25237. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25238. begin
  25239. pTDefRegMap(@Self)^.&set := $00000800;
  25240. end;
  25241. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25242. begin
  25243. pTDefRegMap(@Self)^.clr := $00000800;
  25244. end;
  25245. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25246. begin
  25247. if thebits = 0 then
  25248. pTDefRegMap(@Self)^.clr := $00000800
  25249. else
  25250. pTDefRegMap(@Self)^.&set := $00000800;
  25251. end;
  25252. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25253. begin
  25254. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25255. end;
  25256. procedure TNVM_NVMCON.setLVDERR; inline;
  25257. begin
  25258. pTDefRegMap(@Self)^.&set := $00001000;
  25259. end;
  25260. procedure TNVM_NVMCON.clearLVDERR; inline;
  25261. begin
  25262. pTDefRegMap(@Self)^.clr := $00001000;
  25263. end;
  25264. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25265. begin
  25266. if thebits = 0 then
  25267. pTDefRegMap(@Self)^.clr := $00001000
  25268. else
  25269. pTDefRegMap(@Self)^.&set := $00001000;
  25270. end;
  25271. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25272. begin
  25273. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25274. end;
  25275. procedure TNVM_NVMCON.setWRERR; inline;
  25276. begin
  25277. pTDefRegMap(@Self)^.&set := $00002000;
  25278. end;
  25279. procedure TNVM_NVMCON.clearWRERR; inline;
  25280. begin
  25281. pTDefRegMap(@Self)^.clr := $00002000;
  25282. end;
  25283. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25284. begin
  25285. if thebits = 0 then
  25286. pTDefRegMap(@Self)^.clr := $00002000
  25287. else
  25288. pTDefRegMap(@Self)^.&set := $00002000;
  25289. end;
  25290. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25291. begin
  25292. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25293. end;
  25294. procedure TNVM_NVMCON.setWREN; inline;
  25295. begin
  25296. pTDefRegMap(@Self)^.&set := $00004000;
  25297. end;
  25298. procedure TNVM_NVMCON.clearWREN; inline;
  25299. begin
  25300. pTDefRegMap(@Self)^.clr := $00004000;
  25301. end;
  25302. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25303. begin
  25304. if thebits = 0 then
  25305. pTDefRegMap(@Self)^.clr := $00004000
  25306. else
  25307. pTDefRegMap(@Self)^.&set := $00004000;
  25308. end;
  25309. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25310. begin
  25311. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25312. end;
  25313. procedure TNVM_NVMCON.setWR; inline;
  25314. begin
  25315. pTDefRegMap(@Self)^.&set := $00008000;
  25316. end;
  25317. procedure TNVM_NVMCON.clearWR; inline;
  25318. begin
  25319. pTDefRegMap(@Self)^.clr := $00008000;
  25320. end;
  25321. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25322. begin
  25323. if thebits = 0 then
  25324. pTDefRegMap(@Self)^.clr := $00008000
  25325. else
  25326. pTDefRegMap(@Self)^.&set := $00008000;
  25327. end;
  25328. function TNVM_NVMCON.getWR : TBits_1; inline;
  25329. begin
  25330. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25331. end;
  25332. procedure TNVM_NVMCON.setNVMOP0; inline;
  25333. begin
  25334. pTDefRegMap(@Self)^.&set := $00000001;
  25335. end;
  25336. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25337. begin
  25338. pTDefRegMap(@Self)^.clr := $00000001;
  25339. end;
  25340. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25341. begin
  25342. if thebits = 0 then
  25343. pTDefRegMap(@Self)^.clr := $00000001
  25344. else
  25345. pTDefRegMap(@Self)^.&set := $00000001;
  25346. end;
  25347. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25348. begin
  25349. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25350. end;
  25351. procedure TNVM_NVMCON.setNVMOP1; inline;
  25352. begin
  25353. pTDefRegMap(@Self)^.&set := $00000002;
  25354. end;
  25355. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25356. begin
  25357. pTDefRegMap(@Self)^.clr := $00000002;
  25358. end;
  25359. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25360. begin
  25361. if thebits = 0 then
  25362. pTDefRegMap(@Self)^.clr := $00000002
  25363. else
  25364. pTDefRegMap(@Self)^.&set := $00000002;
  25365. end;
  25366. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  25367. begin
  25368. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25369. end;
  25370. procedure TNVM_NVMCON.setNVMOP2; inline;
  25371. begin
  25372. pTDefRegMap(@Self)^.&set := $00000004;
  25373. end;
  25374. procedure TNVM_NVMCON.clearNVMOP2; inline;
  25375. begin
  25376. pTDefRegMap(@Self)^.clr := $00000004;
  25377. end;
  25378. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  25379. begin
  25380. if thebits = 0 then
  25381. pTDefRegMap(@Self)^.clr := $00000004
  25382. else
  25383. pTDefRegMap(@Self)^.&set := $00000004;
  25384. end;
  25385. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  25386. begin
  25387. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25388. end;
  25389. procedure TNVM_NVMCON.setNVMOP3; inline;
  25390. begin
  25391. pTDefRegMap(@Self)^.&set := $00000008;
  25392. end;
  25393. procedure TNVM_NVMCON.clearNVMOP3; inline;
  25394. begin
  25395. pTDefRegMap(@Self)^.clr := $00000008;
  25396. end;
  25397. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  25398. begin
  25399. if thebits = 0 then
  25400. pTDefRegMap(@Self)^.clr := $00000008
  25401. else
  25402. pTDefRegMap(@Self)^.&set := $00000008;
  25403. end;
  25404. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  25405. begin
  25406. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25407. end;
  25408. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  25409. begin
  25410. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25411. end;
  25412. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  25413. begin
  25414. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25415. end;
  25416. procedure TNVM_NVMCON.setPROGOP0; inline;
  25417. begin
  25418. pTDefRegMap(@Self)^.&set := $00000001;
  25419. end;
  25420. procedure TNVM_NVMCON.clearPROGOP0; inline;
  25421. begin
  25422. pTDefRegMap(@Self)^.clr := $00000001;
  25423. end;
  25424. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  25425. begin
  25426. if thebits = 0 then
  25427. pTDefRegMap(@Self)^.clr := $00000001
  25428. else
  25429. pTDefRegMap(@Self)^.&set := $00000001;
  25430. end;
  25431. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  25432. begin
  25433. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25434. end;
  25435. procedure TNVM_NVMCON.setPROGOP1; inline;
  25436. begin
  25437. pTDefRegMap(@Self)^.&set := $00000002;
  25438. end;
  25439. procedure TNVM_NVMCON.clearPROGOP1; inline;
  25440. begin
  25441. pTDefRegMap(@Self)^.clr := $00000002;
  25442. end;
  25443. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  25444. begin
  25445. if thebits = 0 then
  25446. pTDefRegMap(@Self)^.clr := $00000002
  25447. else
  25448. pTDefRegMap(@Self)^.&set := $00000002;
  25449. end;
  25450. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  25451. begin
  25452. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25453. end;
  25454. procedure TNVM_NVMCON.setPROGOP2; inline;
  25455. begin
  25456. pTDefRegMap(@Self)^.&set := $00000004;
  25457. end;
  25458. procedure TNVM_NVMCON.clearPROGOP2; inline;
  25459. begin
  25460. pTDefRegMap(@Self)^.clr := $00000004;
  25461. end;
  25462. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  25463. begin
  25464. if thebits = 0 then
  25465. pTDefRegMap(@Self)^.clr := $00000004
  25466. else
  25467. pTDefRegMap(@Self)^.&set := $00000004;
  25468. end;
  25469. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  25470. begin
  25471. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25472. end;
  25473. procedure TNVM_NVMCON.setPROGOP3; inline;
  25474. begin
  25475. pTDefRegMap(@Self)^.&set := $00000008;
  25476. end;
  25477. procedure TNVM_NVMCON.clearPROGOP3; inline;
  25478. begin
  25479. pTDefRegMap(@Self)^.clr := $00000008;
  25480. end;
  25481. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  25482. begin
  25483. if thebits = 0 then
  25484. pTDefRegMap(@Self)^.clr := $00000008
  25485. else
  25486. pTDefRegMap(@Self)^.&set := $00000008;
  25487. end;
  25488. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  25489. begin
  25490. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25491. end;
  25492. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  25493. begin
  25494. pTDefRegMap(@Self)^.val := thebits;
  25495. end;
  25496. function TNVM_NVMCON.getw : TBits_32; inline;
  25497. begin
  25498. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25499. end;
  25500. procedure TRCON_RCON.setPOR; inline;
  25501. begin
  25502. pTDefRegMap(@Self)^.&set := $00000001;
  25503. end;
  25504. procedure TRCON_RCON.clearPOR; inline;
  25505. begin
  25506. pTDefRegMap(@Self)^.clr := $00000001;
  25507. end;
  25508. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  25509. begin
  25510. if thebits = 0 then
  25511. pTDefRegMap(@Self)^.clr := $00000001
  25512. else
  25513. pTDefRegMap(@Self)^.&set := $00000001;
  25514. end;
  25515. function TRCON_RCON.getPOR : TBits_1; inline;
  25516. begin
  25517. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25518. end;
  25519. procedure TRCON_RCON.setBOR; inline;
  25520. begin
  25521. pTDefRegMap(@Self)^.&set := $00000002;
  25522. end;
  25523. procedure TRCON_RCON.clearBOR; inline;
  25524. begin
  25525. pTDefRegMap(@Self)^.clr := $00000002;
  25526. end;
  25527. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  25528. begin
  25529. if thebits = 0 then
  25530. pTDefRegMap(@Self)^.clr := $00000002
  25531. else
  25532. pTDefRegMap(@Self)^.&set := $00000002;
  25533. end;
  25534. function TRCON_RCON.getBOR : TBits_1; inline;
  25535. begin
  25536. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25537. end;
  25538. procedure TRCON_RCON.setIDLE; inline;
  25539. begin
  25540. pTDefRegMap(@Self)^.&set := $00000004;
  25541. end;
  25542. procedure TRCON_RCON.clearIDLE; inline;
  25543. begin
  25544. pTDefRegMap(@Self)^.clr := $00000004;
  25545. end;
  25546. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  25547. begin
  25548. if thebits = 0 then
  25549. pTDefRegMap(@Self)^.clr := $00000004
  25550. else
  25551. pTDefRegMap(@Self)^.&set := $00000004;
  25552. end;
  25553. function TRCON_RCON.getIDLE : TBits_1; inline;
  25554. begin
  25555. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25556. end;
  25557. procedure TRCON_RCON.setSLEEP; inline;
  25558. begin
  25559. pTDefRegMap(@Self)^.&set := $00000008;
  25560. end;
  25561. procedure TRCON_RCON.clearSLEEP; inline;
  25562. begin
  25563. pTDefRegMap(@Self)^.clr := $00000008;
  25564. end;
  25565. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  25566. begin
  25567. if thebits = 0 then
  25568. pTDefRegMap(@Self)^.clr := $00000008
  25569. else
  25570. pTDefRegMap(@Self)^.&set := $00000008;
  25571. end;
  25572. function TRCON_RCON.getSLEEP : TBits_1; inline;
  25573. begin
  25574. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25575. end;
  25576. procedure TRCON_RCON.setWDTO; inline;
  25577. begin
  25578. pTDefRegMap(@Self)^.&set := $00000010;
  25579. end;
  25580. procedure TRCON_RCON.clearWDTO; inline;
  25581. begin
  25582. pTDefRegMap(@Self)^.clr := $00000010;
  25583. end;
  25584. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  25585. begin
  25586. if thebits = 0 then
  25587. pTDefRegMap(@Self)^.clr := $00000010
  25588. else
  25589. pTDefRegMap(@Self)^.&set := $00000010;
  25590. end;
  25591. function TRCON_RCON.getWDTO : TBits_1; inline;
  25592. begin
  25593. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25594. end;
  25595. procedure TRCON_RCON.setSWR; inline;
  25596. begin
  25597. pTDefRegMap(@Self)^.&set := $00000040;
  25598. end;
  25599. procedure TRCON_RCON.clearSWR; inline;
  25600. begin
  25601. pTDefRegMap(@Self)^.clr := $00000040;
  25602. end;
  25603. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  25604. begin
  25605. if thebits = 0 then
  25606. pTDefRegMap(@Self)^.clr := $00000040
  25607. else
  25608. pTDefRegMap(@Self)^.&set := $00000040;
  25609. end;
  25610. function TRCON_RCON.getSWR : TBits_1; inline;
  25611. begin
  25612. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25613. end;
  25614. procedure TRCON_RCON.setEXTR; inline;
  25615. begin
  25616. pTDefRegMap(@Self)^.&set := $00000080;
  25617. end;
  25618. procedure TRCON_RCON.clearEXTR; inline;
  25619. begin
  25620. pTDefRegMap(@Self)^.clr := $00000080;
  25621. end;
  25622. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  25623. begin
  25624. if thebits = 0 then
  25625. pTDefRegMap(@Self)^.clr := $00000080
  25626. else
  25627. pTDefRegMap(@Self)^.&set := $00000080;
  25628. end;
  25629. function TRCON_RCON.getEXTR : TBits_1; inline;
  25630. begin
  25631. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25632. end;
  25633. procedure TRCON_RCON.setVREGS; inline;
  25634. begin
  25635. pTDefRegMap(@Self)^.&set := $00000100;
  25636. end;
  25637. procedure TRCON_RCON.clearVREGS; inline;
  25638. begin
  25639. pTDefRegMap(@Self)^.clr := $00000100;
  25640. end;
  25641. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  25642. begin
  25643. if thebits = 0 then
  25644. pTDefRegMap(@Self)^.clr := $00000100
  25645. else
  25646. pTDefRegMap(@Self)^.&set := $00000100;
  25647. end;
  25648. function TRCON_RCON.getVREGS : TBits_1; inline;
  25649. begin
  25650. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25651. end;
  25652. procedure TRCON_RCON.setCMR; inline;
  25653. begin
  25654. pTDefRegMap(@Self)^.&set := $00000200;
  25655. end;
  25656. procedure TRCON_RCON.clearCMR; inline;
  25657. begin
  25658. pTDefRegMap(@Self)^.clr := $00000200;
  25659. end;
  25660. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  25661. begin
  25662. if thebits = 0 then
  25663. pTDefRegMap(@Self)^.clr := $00000200
  25664. else
  25665. pTDefRegMap(@Self)^.&set := $00000200;
  25666. end;
  25667. function TRCON_RCON.getCMR : TBits_1; inline;
  25668. begin
  25669. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25670. end;
  25671. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  25672. begin
  25673. pTDefRegMap(@Self)^.val := thebits;
  25674. end;
  25675. function TRCON_RCON.getw : TBits_32; inline;
  25676. begin
  25677. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25678. end;
  25679. procedure TRCON_RSWRST.setSWRST; inline;
  25680. begin
  25681. pTDefRegMap(@Self)^.&set := $00000001;
  25682. end;
  25683. procedure TRCON_RSWRST.clearSWRST; inline;
  25684. begin
  25685. pTDefRegMap(@Self)^.clr := $00000001;
  25686. end;
  25687. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  25688. begin
  25689. if thebits = 0 then
  25690. pTDefRegMap(@Self)^.clr := $00000001
  25691. else
  25692. pTDefRegMap(@Self)^.&set := $00000001;
  25693. end;
  25694. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  25695. begin
  25696. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25697. end;
  25698. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  25699. begin
  25700. pTDefRegMap(@Self)^.val := thebits;
  25701. end;
  25702. function TRCON_RSWRST.getw : TBits_32; inline;
  25703. begin
  25704. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25705. end;
  25706. procedure TINT_INTCON.setINT0EP; inline;
  25707. begin
  25708. pTDefRegMap(@Self)^.&set := $00000001;
  25709. end;
  25710. procedure TINT_INTCON.clearINT0EP; inline;
  25711. begin
  25712. pTDefRegMap(@Self)^.clr := $00000001;
  25713. end;
  25714. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  25715. begin
  25716. if thebits = 0 then
  25717. pTDefRegMap(@Self)^.clr := $00000001
  25718. else
  25719. pTDefRegMap(@Self)^.&set := $00000001;
  25720. end;
  25721. function TINT_INTCON.getINT0EP : TBits_1; inline;
  25722. begin
  25723. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25724. end;
  25725. procedure TINT_INTCON.setINT1EP; inline;
  25726. begin
  25727. pTDefRegMap(@Self)^.&set := $00000002;
  25728. end;
  25729. procedure TINT_INTCON.clearINT1EP; inline;
  25730. begin
  25731. pTDefRegMap(@Self)^.clr := $00000002;
  25732. end;
  25733. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  25734. begin
  25735. if thebits = 0 then
  25736. pTDefRegMap(@Self)^.clr := $00000002
  25737. else
  25738. pTDefRegMap(@Self)^.&set := $00000002;
  25739. end;
  25740. function TINT_INTCON.getINT1EP : TBits_1; inline;
  25741. begin
  25742. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25743. end;
  25744. procedure TINT_INTCON.setINT2EP; inline;
  25745. begin
  25746. pTDefRegMap(@Self)^.&set := $00000004;
  25747. end;
  25748. procedure TINT_INTCON.clearINT2EP; inline;
  25749. begin
  25750. pTDefRegMap(@Self)^.clr := $00000004;
  25751. end;
  25752. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  25753. begin
  25754. if thebits = 0 then
  25755. pTDefRegMap(@Self)^.clr := $00000004
  25756. else
  25757. pTDefRegMap(@Self)^.&set := $00000004;
  25758. end;
  25759. function TINT_INTCON.getINT2EP : TBits_1; inline;
  25760. begin
  25761. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25762. end;
  25763. procedure TINT_INTCON.setINT3EP; inline;
  25764. begin
  25765. pTDefRegMap(@Self)^.&set := $00000008;
  25766. end;
  25767. procedure TINT_INTCON.clearINT3EP; inline;
  25768. begin
  25769. pTDefRegMap(@Self)^.clr := $00000008;
  25770. end;
  25771. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  25772. begin
  25773. if thebits = 0 then
  25774. pTDefRegMap(@Self)^.clr := $00000008
  25775. else
  25776. pTDefRegMap(@Self)^.&set := $00000008;
  25777. end;
  25778. function TINT_INTCON.getINT3EP : TBits_1; inline;
  25779. begin
  25780. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25781. end;
  25782. procedure TINT_INTCON.setINT4EP; inline;
  25783. begin
  25784. pTDefRegMap(@Self)^.&set := $00000010;
  25785. end;
  25786. procedure TINT_INTCON.clearINT4EP; inline;
  25787. begin
  25788. pTDefRegMap(@Self)^.clr := $00000010;
  25789. end;
  25790. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  25791. begin
  25792. if thebits = 0 then
  25793. pTDefRegMap(@Self)^.clr := $00000010
  25794. else
  25795. pTDefRegMap(@Self)^.&set := $00000010;
  25796. end;
  25797. function TINT_INTCON.getINT4EP : TBits_1; inline;
  25798. begin
  25799. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25800. end;
  25801. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  25802. begin
  25803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25804. end;
  25805. function TINT_INTCON.getTPC : TBits_3; inline;
  25806. begin
  25807. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25808. end;
  25809. procedure TINT_INTCON.setMVEC; inline;
  25810. begin
  25811. pTDefRegMap(@Self)^.&set := $00001000;
  25812. end;
  25813. procedure TINT_INTCON.clearMVEC; inline;
  25814. begin
  25815. pTDefRegMap(@Self)^.clr := $00001000;
  25816. end;
  25817. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  25818. begin
  25819. if thebits = 0 then
  25820. pTDefRegMap(@Self)^.clr := $00001000
  25821. else
  25822. pTDefRegMap(@Self)^.&set := $00001000;
  25823. end;
  25824. function TINT_INTCON.getMVEC : TBits_1; inline;
  25825. begin
  25826. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25827. end;
  25828. procedure TINT_INTCON.setSS0; inline;
  25829. begin
  25830. pTDefRegMap(@Self)^.&set := $00010000;
  25831. end;
  25832. procedure TINT_INTCON.clearSS0; inline;
  25833. begin
  25834. pTDefRegMap(@Self)^.clr := $00010000;
  25835. end;
  25836. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  25837. begin
  25838. if thebits = 0 then
  25839. pTDefRegMap(@Self)^.clr := $00010000
  25840. else
  25841. pTDefRegMap(@Self)^.&set := $00010000;
  25842. end;
  25843. function TINT_INTCON.getSS0 : TBits_1; inline;
  25844. begin
  25845. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25846. end;
  25847. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  25848. begin
  25849. pTDefRegMap(@Self)^.val := thebits;
  25850. end;
  25851. function TINT_INTCON.getw : TBits_32; inline;
  25852. begin
  25853. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25854. end;
  25855. procedure TINT_IFS0.setCTIF; inline;
  25856. begin
  25857. pTDefRegMap(@Self)^.&set := $00000001;
  25858. end;
  25859. procedure TINT_IFS0.clearCTIF; inline;
  25860. begin
  25861. pTDefRegMap(@Self)^.clr := $00000001;
  25862. end;
  25863. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  25864. begin
  25865. if thebits = 0 then
  25866. pTDefRegMap(@Self)^.clr := $00000001
  25867. else
  25868. pTDefRegMap(@Self)^.&set := $00000001;
  25869. end;
  25870. function TINT_IFS0.getCTIF : TBits_1; inline;
  25871. begin
  25872. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25873. end;
  25874. procedure TINT_IFS0.setCS0IF; inline;
  25875. begin
  25876. pTDefRegMap(@Self)^.&set := $00000002;
  25877. end;
  25878. procedure TINT_IFS0.clearCS0IF; inline;
  25879. begin
  25880. pTDefRegMap(@Self)^.clr := $00000002;
  25881. end;
  25882. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  25883. begin
  25884. if thebits = 0 then
  25885. pTDefRegMap(@Self)^.clr := $00000002
  25886. else
  25887. pTDefRegMap(@Self)^.&set := $00000002;
  25888. end;
  25889. function TINT_IFS0.getCS0IF : TBits_1; inline;
  25890. begin
  25891. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25892. end;
  25893. procedure TINT_IFS0.setCS1IF; inline;
  25894. begin
  25895. pTDefRegMap(@Self)^.&set := $00000004;
  25896. end;
  25897. procedure TINT_IFS0.clearCS1IF; inline;
  25898. begin
  25899. pTDefRegMap(@Self)^.clr := $00000004;
  25900. end;
  25901. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  25902. begin
  25903. if thebits = 0 then
  25904. pTDefRegMap(@Self)^.clr := $00000004
  25905. else
  25906. pTDefRegMap(@Self)^.&set := $00000004;
  25907. end;
  25908. function TINT_IFS0.getCS1IF : TBits_1; inline;
  25909. begin
  25910. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25911. end;
  25912. procedure TINT_IFS0.setINT0IF; inline;
  25913. begin
  25914. pTDefRegMap(@Self)^.&set := $00000008;
  25915. end;
  25916. procedure TINT_IFS0.clearINT0IF; inline;
  25917. begin
  25918. pTDefRegMap(@Self)^.clr := $00000008;
  25919. end;
  25920. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  25921. begin
  25922. if thebits = 0 then
  25923. pTDefRegMap(@Self)^.clr := $00000008
  25924. else
  25925. pTDefRegMap(@Self)^.&set := $00000008;
  25926. end;
  25927. function TINT_IFS0.getINT0IF : TBits_1; inline;
  25928. begin
  25929. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25930. end;
  25931. procedure TINT_IFS0.setT1IF; inline;
  25932. begin
  25933. pTDefRegMap(@Self)^.&set := $00000010;
  25934. end;
  25935. procedure TINT_IFS0.clearT1IF; inline;
  25936. begin
  25937. pTDefRegMap(@Self)^.clr := $00000010;
  25938. end;
  25939. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  25940. begin
  25941. if thebits = 0 then
  25942. pTDefRegMap(@Self)^.clr := $00000010
  25943. else
  25944. pTDefRegMap(@Self)^.&set := $00000010;
  25945. end;
  25946. function TINT_IFS0.getT1IF : TBits_1; inline;
  25947. begin
  25948. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25949. end;
  25950. procedure TINT_IFS0.setIC1EIF; inline;
  25951. begin
  25952. pTDefRegMap(@Self)^.&set := $00000020;
  25953. end;
  25954. procedure TINT_IFS0.clearIC1EIF; inline;
  25955. begin
  25956. pTDefRegMap(@Self)^.clr := $00000020;
  25957. end;
  25958. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  25959. begin
  25960. if thebits = 0 then
  25961. pTDefRegMap(@Self)^.clr := $00000020
  25962. else
  25963. pTDefRegMap(@Self)^.&set := $00000020;
  25964. end;
  25965. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  25966. begin
  25967. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25968. end;
  25969. procedure TINT_IFS0.setIC1IF; inline;
  25970. begin
  25971. pTDefRegMap(@Self)^.&set := $00000040;
  25972. end;
  25973. procedure TINT_IFS0.clearIC1IF; inline;
  25974. begin
  25975. pTDefRegMap(@Self)^.clr := $00000040;
  25976. end;
  25977. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  25978. begin
  25979. if thebits = 0 then
  25980. pTDefRegMap(@Self)^.clr := $00000040
  25981. else
  25982. pTDefRegMap(@Self)^.&set := $00000040;
  25983. end;
  25984. function TINT_IFS0.getIC1IF : TBits_1; inline;
  25985. begin
  25986. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25987. end;
  25988. procedure TINT_IFS0.setOC1IF; inline;
  25989. begin
  25990. pTDefRegMap(@Self)^.&set := $00000080;
  25991. end;
  25992. procedure TINT_IFS0.clearOC1IF; inline;
  25993. begin
  25994. pTDefRegMap(@Self)^.clr := $00000080;
  25995. end;
  25996. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  25997. begin
  25998. if thebits = 0 then
  25999. pTDefRegMap(@Self)^.clr := $00000080
  26000. else
  26001. pTDefRegMap(@Self)^.&set := $00000080;
  26002. end;
  26003. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26004. begin
  26005. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26006. end;
  26007. procedure TINT_IFS0.setINT1IF; inline;
  26008. begin
  26009. pTDefRegMap(@Self)^.&set := $00000100;
  26010. end;
  26011. procedure TINT_IFS0.clearINT1IF; inline;
  26012. begin
  26013. pTDefRegMap(@Self)^.clr := $00000100;
  26014. end;
  26015. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26016. begin
  26017. if thebits = 0 then
  26018. pTDefRegMap(@Self)^.clr := $00000100
  26019. else
  26020. pTDefRegMap(@Self)^.&set := $00000100;
  26021. end;
  26022. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26023. begin
  26024. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26025. end;
  26026. procedure TINT_IFS0.setT2IF; inline;
  26027. begin
  26028. pTDefRegMap(@Self)^.&set := $00000200;
  26029. end;
  26030. procedure TINT_IFS0.clearT2IF; inline;
  26031. begin
  26032. pTDefRegMap(@Self)^.clr := $00000200;
  26033. end;
  26034. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26035. begin
  26036. if thebits = 0 then
  26037. pTDefRegMap(@Self)^.clr := $00000200
  26038. else
  26039. pTDefRegMap(@Self)^.&set := $00000200;
  26040. end;
  26041. function TINT_IFS0.getT2IF : TBits_1; inline;
  26042. begin
  26043. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26044. end;
  26045. procedure TINT_IFS0.setIC2EIF; inline;
  26046. begin
  26047. pTDefRegMap(@Self)^.&set := $00000400;
  26048. end;
  26049. procedure TINT_IFS0.clearIC2EIF; inline;
  26050. begin
  26051. pTDefRegMap(@Self)^.clr := $00000400;
  26052. end;
  26053. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26054. begin
  26055. if thebits = 0 then
  26056. pTDefRegMap(@Self)^.clr := $00000400
  26057. else
  26058. pTDefRegMap(@Self)^.&set := $00000400;
  26059. end;
  26060. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26061. begin
  26062. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26063. end;
  26064. procedure TINT_IFS0.setIC2IF; inline;
  26065. begin
  26066. pTDefRegMap(@Self)^.&set := $00000800;
  26067. end;
  26068. procedure TINT_IFS0.clearIC2IF; inline;
  26069. begin
  26070. pTDefRegMap(@Self)^.clr := $00000800;
  26071. end;
  26072. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26073. begin
  26074. if thebits = 0 then
  26075. pTDefRegMap(@Self)^.clr := $00000800
  26076. else
  26077. pTDefRegMap(@Self)^.&set := $00000800;
  26078. end;
  26079. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26080. begin
  26081. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26082. end;
  26083. procedure TINT_IFS0.setOC2IF; inline;
  26084. begin
  26085. pTDefRegMap(@Self)^.&set := $00001000;
  26086. end;
  26087. procedure TINT_IFS0.clearOC2IF; inline;
  26088. begin
  26089. pTDefRegMap(@Self)^.clr := $00001000;
  26090. end;
  26091. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26092. begin
  26093. if thebits = 0 then
  26094. pTDefRegMap(@Self)^.clr := $00001000
  26095. else
  26096. pTDefRegMap(@Self)^.&set := $00001000;
  26097. end;
  26098. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26099. begin
  26100. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26101. end;
  26102. procedure TINT_IFS0.setINT2IF; inline;
  26103. begin
  26104. pTDefRegMap(@Self)^.&set := $00002000;
  26105. end;
  26106. procedure TINT_IFS0.clearINT2IF; inline;
  26107. begin
  26108. pTDefRegMap(@Self)^.clr := $00002000;
  26109. end;
  26110. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26111. begin
  26112. if thebits = 0 then
  26113. pTDefRegMap(@Self)^.clr := $00002000
  26114. else
  26115. pTDefRegMap(@Self)^.&set := $00002000;
  26116. end;
  26117. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26118. begin
  26119. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26120. end;
  26121. procedure TINT_IFS0.setT3IF; inline;
  26122. begin
  26123. pTDefRegMap(@Self)^.&set := $00004000;
  26124. end;
  26125. procedure TINT_IFS0.clearT3IF; inline;
  26126. begin
  26127. pTDefRegMap(@Self)^.clr := $00004000;
  26128. end;
  26129. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26130. begin
  26131. if thebits = 0 then
  26132. pTDefRegMap(@Self)^.clr := $00004000
  26133. else
  26134. pTDefRegMap(@Self)^.&set := $00004000;
  26135. end;
  26136. function TINT_IFS0.getT3IF : TBits_1; inline;
  26137. begin
  26138. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26139. end;
  26140. procedure TINT_IFS0.setIC3EIF; inline;
  26141. begin
  26142. pTDefRegMap(@Self)^.&set := $00008000;
  26143. end;
  26144. procedure TINT_IFS0.clearIC3EIF; inline;
  26145. begin
  26146. pTDefRegMap(@Self)^.clr := $00008000;
  26147. end;
  26148. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26149. begin
  26150. if thebits = 0 then
  26151. pTDefRegMap(@Self)^.clr := $00008000
  26152. else
  26153. pTDefRegMap(@Self)^.&set := $00008000;
  26154. end;
  26155. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26156. begin
  26157. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26158. end;
  26159. procedure TINT_IFS0.setIC3IF; inline;
  26160. begin
  26161. pTDefRegMap(@Self)^.&set := $00010000;
  26162. end;
  26163. procedure TINT_IFS0.clearIC3IF; inline;
  26164. begin
  26165. pTDefRegMap(@Self)^.clr := $00010000;
  26166. end;
  26167. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26168. begin
  26169. if thebits = 0 then
  26170. pTDefRegMap(@Self)^.clr := $00010000
  26171. else
  26172. pTDefRegMap(@Self)^.&set := $00010000;
  26173. end;
  26174. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26175. begin
  26176. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26177. end;
  26178. procedure TINT_IFS0.setOC3IF; inline;
  26179. begin
  26180. pTDefRegMap(@Self)^.&set := $00020000;
  26181. end;
  26182. procedure TINT_IFS0.clearOC3IF; inline;
  26183. begin
  26184. pTDefRegMap(@Self)^.clr := $00020000;
  26185. end;
  26186. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26187. begin
  26188. if thebits = 0 then
  26189. pTDefRegMap(@Self)^.clr := $00020000
  26190. else
  26191. pTDefRegMap(@Self)^.&set := $00020000;
  26192. end;
  26193. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26194. begin
  26195. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26196. end;
  26197. procedure TINT_IFS0.setINT3IF; inline;
  26198. begin
  26199. pTDefRegMap(@Self)^.&set := $00040000;
  26200. end;
  26201. procedure TINT_IFS0.clearINT3IF; inline;
  26202. begin
  26203. pTDefRegMap(@Self)^.clr := $00040000;
  26204. end;
  26205. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26206. begin
  26207. if thebits = 0 then
  26208. pTDefRegMap(@Self)^.clr := $00040000
  26209. else
  26210. pTDefRegMap(@Self)^.&set := $00040000;
  26211. end;
  26212. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26213. begin
  26214. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26215. end;
  26216. procedure TINT_IFS0.setT4IF; inline;
  26217. begin
  26218. pTDefRegMap(@Self)^.&set := $00080000;
  26219. end;
  26220. procedure TINT_IFS0.clearT4IF; inline;
  26221. begin
  26222. pTDefRegMap(@Self)^.clr := $00080000;
  26223. end;
  26224. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26225. begin
  26226. if thebits = 0 then
  26227. pTDefRegMap(@Self)^.clr := $00080000
  26228. else
  26229. pTDefRegMap(@Self)^.&set := $00080000;
  26230. end;
  26231. function TINT_IFS0.getT4IF : TBits_1; inline;
  26232. begin
  26233. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26234. end;
  26235. procedure TINT_IFS0.setIC4EIF; inline;
  26236. begin
  26237. pTDefRegMap(@Self)^.&set := $00100000;
  26238. end;
  26239. procedure TINT_IFS0.clearIC4EIF; inline;
  26240. begin
  26241. pTDefRegMap(@Self)^.clr := $00100000;
  26242. end;
  26243. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26244. begin
  26245. if thebits = 0 then
  26246. pTDefRegMap(@Self)^.clr := $00100000
  26247. else
  26248. pTDefRegMap(@Self)^.&set := $00100000;
  26249. end;
  26250. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26251. begin
  26252. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26253. end;
  26254. procedure TINT_IFS0.setIC4IF; inline;
  26255. begin
  26256. pTDefRegMap(@Self)^.&set := $00200000;
  26257. end;
  26258. procedure TINT_IFS0.clearIC4IF; inline;
  26259. begin
  26260. pTDefRegMap(@Self)^.clr := $00200000;
  26261. end;
  26262. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26263. begin
  26264. if thebits = 0 then
  26265. pTDefRegMap(@Self)^.clr := $00200000
  26266. else
  26267. pTDefRegMap(@Self)^.&set := $00200000;
  26268. end;
  26269. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26270. begin
  26271. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26272. end;
  26273. procedure TINT_IFS0.setOC4IF; inline;
  26274. begin
  26275. pTDefRegMap(@Self)^.&set := $00400000;
  26276. end;
  26277. procedure TINT_IFS0.clearOC4IF; inline;
  26278. begin
  26279. pTDefRegMap(@Self)^.clr := $00400000;
  26280. end;
  26281. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26282. begin
  26283. if thebits = 0 then
  26284. pTDefRegMap(@Self)^.clr := $00400000
  26285. else
  26286. pTDefRegMap(@Self)^.&set := $00400000;
  26287. end;
  26288. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26289. begin
  26290. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26291. end;
  26292. procedure TINT_IFS0.setINT4IF; inline;
  26293. begin
  26294. pTDefRegMap(@Self)^.&set := $00800000;
  26295. end;
  26296. procedure TINT_IFS0.clearINT4IF; inline;
  26297. begin
  26298. pTDefRegMap(@Self)^.clr := $00800000;
  26299. end;
  26300. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26301. begin
  26302. if thebits = 0 then
  26303. pTDefRegMap(@Self)^.clr := $00800000
  26304. else
  26305. pTDefRegMap(@Self)^.&set := $00800000;
  26306. end;
  26307. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26308. begin
  26309. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26310. end;
  26311. procedure TINT_IFS0.setT5IF; inline;
  26312. begin
  26313. pTDefRegMap(@Self)^.&set := $01000000;
  26314. end;
  26315. procedure TINT_IFS0.clearT5IF; inline;
  26316. begin
  26317. pTDefRegMap(@Self)^.clr := $01000000;
  26318. end;
  26319. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26320. begin
  26321. if thebits = 0 then
  26322. pTDefRegMap(@Self)^.clr := $01000000
  26323. else
  26324. pTDefRegMap(@Self)^.&set := $01000000;
  26325. end;
  26326. function TINT_IFS0.getT5IF : TBits_1; inline;
  26327. begin
  26328. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26329. end;
  26330. procedure TINT_IFS0.setIC5EIF; inline;
  26331. begin
  26332. pTDefRegMap(@Self)^.&set := $02000000;
  26333. end;
  26334. procedure TINT_IFS0.clearIC5EIF; inline;
  26335. begin
  26336. pTDefRegMap(@Self)^.clr := $02000000;
  26337. end;
  26338. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26339. begin
  26340. if thebits = 0 then
  26341. pTDefRegMap(@Self)^.clr := $02000000
  26342. else
  26343. pTDefRegMap(@Self)^.&set := $02000000;
  26344. end;
  26345. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26346. begin
  26347. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26348. end;
  26349. procedure TINT_IFS0.setIC5IF; inline;
  26350. begin
  26351. pTDefRegMap(@Self)^.&set := $04000000;
  26352. end;
  26353. procedure TINT_IFS0.clearIC5IF; inline;
  26354. begin
  26355. pTDefRegMap(@Self)^.clr := $04000000;
  26356. end;
  26357. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26358. begin
  26359. if thebits = 0 then
  26360. pTDefRegMap(@Self)^.clr := $04000000
  26361. else
  26362. pTDefRegMap(@Self)^.&set := $04000000;
  26363. end;
  26364. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26365. begin
  26366. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26367. end;
  26368. procedure TINT_IFS0.setOC5IF; inline;
  26369. begin
  26370. pTDefRegMap(@Self)^.&set := $08000000;
  26371. end;
  26372. procedure TINT_IFS0.clearOC5IF; inline;
  26373. begin
  26374. pTDefRegMap(@Self)^.clr := $08000000;
  26375. end;
  26376. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  26377. begin
  26378. if thebits = 0 then
  26379. pTDefRegMap(@Self)^.clr := $08000000
  26380. else
  26381. pTDefRegMap(@Self)^.&set := $08000000;
  26382. end;
  26383. function TINT_IFS0.getOC5IF : TBits_1; inline;
  26384. begin
  26385. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26386. end;
  26387. procedure TINT_IFS0.setAD1IF; inline;
  26388. begin
  26389. pTDefRegMap(@Self)^.&set := $10000000;
  26390. end;
  26391. procedure TINT_IFS0.clearAD1IF; inline;
  26392. begin
  26393. pTDefRegMap(@Self)^.clr := $10000000;
  26394. end;
  26395. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  26396. begin
  26397. if thebits = 0 then
  26398. pTDefRegMap(@Self)^.clr := $10000000
  26399. else
  26400. pTDefRegMap(@Self)^.&set := $10000000;
  26401. end;
  26402. function TINT_IFS0.getAD1IF : TBits_1; inline;
  26403. begin
  26404. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  26405. end;
  26406. procedure TINT_IFS0.setFSCMIF; inline;
  26407. begin
  26408. pTDefRegMap(@Self)^.&set := $20000000;
  26409. end;
  26410. procedure TINT_IFS0.clearFSCMIF; inline;
  26411. begin
  26412. pTDefRegMap(@Self)^.clr := $20000000;
  26413. end;
  26414. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  26415. begin
  26416. if thebits = 0 then
  26417. pTDefRegMap(@Self)^.clr := $20000000
  26418. else
  26419. pTDefRegMap(@Self)^.&set := $20000000;
  26420. end;
  26421. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  26422. begin
  26423. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  26424. end;
  26425. procedure TINT_IFS0.setRTCCIF; inline;
  26426. begin
  26427. pTDefRegMap(@Self)^.&set := $40000000;
  26428. end;
  26429. procedure TINT_IFS0.clearRTCCIF; inline;
  26430. begin
  26431. pTDefRegMap(@Self)^.clr := $40000000;
  26432. end;
  26433. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  26434. begin
  26435. if thebits = 0 then
  26436. pTDefRegMap(@Self)^.clr := $40000000
  26437. else
  26438. pTDefRegMap(@Self)^.&set := $40000000;
  26439. end;
  26440. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  26441. begin
  26442. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  26443. end;
  26444. procedure TINT_IFS0.setFCEIF; inline;
  26445. begin
  26446. pTDefRegMap(@Self)^.&set := $80000000;
  26447. end;
  26448. procedure TINT_IFS0.clearFCEIF; inline;
  26449. begin
  26450. pTDefRegMap(@Self)^.clr := $80000000;
  26451. end;
  26452. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  26453. begin
  26454. if thebits = 0 then
  26455. pTDefRegMap(@Self)^.clr := $80000000
  26456. else
  26457. pTDefRegMap(@Self)^.&set := $80000000;
  26458. end;
  26459. function TINT_IFS0.getFCEIF : TBits_1; inline;
  26460. begin
  26461. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  26462. end;
  26463. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  26464. begin
  26465. pTDefRegMap(@Self)^.val := thebits;
  26466. end;
  26467. function TINT_IFS0.getw : TBits_32; inline;
  26468. begin
  26469. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26470. end;
  26471. procedure TINT_IFS1.setCMP1IF; inline;
  26472. begin
  26473. pTDefRegMap(@Self)^.&set := $00000001;
  26474. end;
  26475. procedure TINT_IFS1.clearCMP1IF; inline;
  26476. begin
  26477. pTDefRegMap(@Self)^.clr := $00000001;
  26478. end;
  26479. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  26480. begin
  26481. if thebits = 0 then
  26482. pTDefRegMap(@Self)^.clr := $00000001
  26483. else
  26484. pTDefRegMap(@Self)^.&set := $00000001;
  26485. end;
  26486. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  26487. begin
  26488. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26489. end;
  26490. procedure TINT_IFS1.setCMP2IF; inline;
  26491. begin
  26492. pTDefRegMap(@Self)^.&set := $00000002;
  26493. end;
  26494. procedure TINT_IFS1.clearCMP2IF; inline;
  26495. begin
  26496. pTDefRegMap(@Self)^.clr := $00000002;
  26497. end;
  26498. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  26499. begin
  26500. if thebits = 0 then
  26501. pTDefRegMap(@Self)^.clr := $00000002
  26502. else
  26503. pTDefRegMap(@Self)^.&set := $00000002;
  26504. end;
  26505. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  26506. begin
  26507. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26508. end;
  26509. procedure TINT_IFS1.setCMP3IF; inline;
  26510. begin
  26511. pTDefRegMap(@Self)^.&set := $00000004;
  26512. end;
  26513. procedure TINT_IFS1.clearCMP3IF; inline;
  26514. begin
  26515. pTDefRegMap(@Self)^.clr := $00000004;
  26516. end;
  26517. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  26518. begin
  26519. if thebits = 0 then
  26520. pTDefRegMap(@Self)^.clr := $00000004
  26521. else
  26522. pTDefRegMap(@Self)^.&set := $00000004;
  26523. end;
  26524. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  26525. begin
  26526. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26527. end;
  26528. procedure TINT_IFS1.setSPI1EIF; inline;
  26529. begin
  26530. pTDefRegMap(@Self)^.&set := $00000010;
  26531. end;
  26532. procedure TINT_IFS1.clearSPI1EIF; inline;
  26533. begin
  26534. pTDefRegMap(@Self)^.clr := $00000010;
  26535. end;
  26536. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  26537. begin
  26538. if thebits = 0 then
  26539. pTDefRegMap(@Self)^.clr := $00000010
  26540. else
  26541. pTDefRegMap(@Self)^.&set := $00000010;
  26542. end;
  26543. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  26544. begin
  26545. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26546. end;
  26547. procedure TINT_IFS1.setSPI1RXIF; inline;
  26548. begin
  26549. pTDefRegMap(@Self)^.&set := $00000020;
  26550. end;
  26551. procedure TINT_IFS1.clearSPI1RXIF; inline;
  26552. begin
  26553. pTDefRegMap(@Self)^.clr := $00000020;
  26554. end;
  26555. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  26556. begin
  26557. if thebits = 0 then
  26558. pTDefRegMap(@Self)^.clr := $00000020
  26559. else
  26560. pTDefRegMap(@Self)^.&set := $00000020;
  26561. end;
  26562. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  26563. begin
  26564. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26565. end;
  26566. procedure TINT_IFS1.setSPI1TXIF; inline;
  26567. begin
  26568. pTDefRegMap(@Self)^.&set := $00000040;
  26569. end;
  26570. procedure TINT_IFS1.clearSPI1TXIF; inline;
  26571. begin
  26572. pTDefRegMap(@Self)^.clr := $00000040;
  26573. end;
  26574. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  26575. begin
  26576. if thebits = 0 then
  26577. pTDefRegMap(@Self)^.clr := $00000040
  26578. else
  26579. pTDefRegMap(@Self)^.&set := $00000040;
  26580. end;
  26581. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  26582. begin
  26583. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26584. end;
  26585. procedure TINT_IFS1.setU1EIF; inline;
  26586. begin
  26587. pTDefRegMap(@Self)^.&set := $00000080;
  26588. end;
  26589. procedure TINT_IFS1.clearU1EIF; inline;
  26590. begin
  26591. pTDefRegMap(@Self)^.clr := $00000080;
  26592. end;
  26593. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  26594. begin
  26595. if thebits = 0 then
  26596. pTDefRegMap(@Self)^.clr := $00000080
  26597. else
  26598. pTDefRegMap(@Self)^.&set := $00000080;
  26599. end;
  26600. function TINT_IFS1.getU1EIF : TBits_1; inline;
  26601. begin
  26602. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26603. end;
  26604. procedure TINT_IFS1.setU1RXIF; inline;
  26605. begin
  26606. pTDefRegMap(@Self)^.&set := $00000100;
  26607. end;
  26608. procedure TINT_IFS1.clearU1RXIF; inline;
  26609. begin
  26610. pTDefRegMap(@Self)^.clr := $00000100;
  26611. end;
  26612. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  26613. begin
  26614. if thebits = 0 then
  26615. pTDefRegMap(@Self)^.clr := $00000100
  26616. else
  26617. pTDefRegMap(@Self)^.&set := $00000100;
  26618. end;
  26619. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  26620. begin
  26621. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26622. end;
  26623. procedure TINT_IFS1.setU1TXIF; inline;
  26624. begin
  26625. pTDefRegMap(@Self)^.&set := $00000200;
  26626. end;
  26627. procedure TINT_IFS1.clearU1TXIF; inline;
  26628. begin
  26629. pTDefRegMap(@Self)^.clr := $00000200;
  26630. end;
  26631. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  26632. begin
  26633. if thebits = 0 then
  26634. pTDefRegMap(@Self)^.clr := $00000200
  26635. else
  26636. pTDefRegMap(@Self)^.&set := $00000200;
  26637. end;
  26638. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  26639. begin
  26640. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26641. end;
  26642. procedure TINT_IFS1.setI2C1BIF; inline;
  26643. begin
  26644. pTDefRegMap(@Self)^.&set := $00000400;
  26645. end;
  26646. procedure TINT_IFS1.clearI2C1BIF; inline;
  26647. begin
  26648. pTDefRegMap(@Self)^.clr := $00000400;
  26649. end;
  26650. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  26651. begin
  26652. if thebits = 0 then
  26653. pTDefRegMap(@Self)^.clr := $00000400
  26654. else
  26655. pTDefRegMap(@Self)^.&set := $00000400;
  26656. end;
  26657. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  26658. begin
  26659. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26660. end;
  26661. procedure TINT_IFS1.setI2C1SIF; inline;
  26662. begin
  26663. pTDefRegMap(@Self)^.&set := $00000800;
  26664. end;
  26665. procedure TINT_IFS1.clearI2C1SIF; inline;
  26666. begin
  26667. pTDefRegMap(@Self)^.clr := $00000800;
  26668. end;
  26669. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  26670. begin
  26671. if thebits = 0 then
  26672. pTDefRegMap(@Self)^.clr := $00000800
  26673. else
  26674. pTDefRegMap(@Self)^.&set := $00000800;
  26675. end;
  26676. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  26677. begin
  26678. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26679. end;
  26680. procedure TINT_IFS1.setI2C1MIF; inline;
  26681. begin
  26682. pTDefRegMap(@Self)^.&set := $00001000;
  26683. end;
  26684. procedure TINT_IFS1.clearI2C1MIF; inline;
  26685. begin
  26686. pTDefRegMap(@Self)^.clr := $00001000;
  26687. end;
  26688. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  26689. begin
  26690. if thebits = 0 then
  26691. pTDefRegMap(@Self)^.clr := $00001000
  26692. else
  26693. pTDefRegMap(@Self)^.&set := $00001000;
  26694. end;
  26695. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  26696. begin
  26697. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26698. end;
  26699. procedure TINT_IFS1.setCNAIF; inline;
  26700. begin
  26701. pTDefRegMap(@Self)^.&set := $00002000;
  26702. end;
  26703. procedure TINT_IFS1.clearCNAIF; inline;
  26704. begin
  26705. pTDefRegMap(@Self)^.clr := $00002000;
  26706. end;
  26707. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  26708. begin
  26709. if thebits = 0 then
  26710. pTDefRegMap(@Self)^.clr := $00002000
  26711. else
  26712. pTDefRegMap(@Self)^.&set := $00002000;
  26713. end;
  26714. function TINT_IFS1.getCNAIF : TBits_1; inline;
  26715. begin
  26716. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26717. end;
  26718. procedure TINT_IFS1.setCNBIF; inline;
  26719. begin
  26720. pTDefRegMap(@Self)^.&set := $00004000;
  26721. end;
  26722. procedure TINT_IFS1.clearCNBIF; inline;
  26723. begin
  26724. pTDefRegMap(@Self)^.clr := $00004000;
  26725. end;
  26726. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  26727. begin
  26728. if thebits = 0 then
  26729. pTDefRegMap(@Self)^.clr := $00004000
  26730. else
  26731. pTDefRegMap(@Self)^.&set := $00004000;
  26732. end;
  26733. function TINT_IFS1.getCNBIF : TBits_1; inline;
  26734. begin
  26735. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26736. end;
  26737. procedure TINT_IFS1.setCNCIF; inline;
  26738. begin
  26739. pTDefRegMap(@Self)^.&set := $00008000;
  26740. end;
  26741. procedure TINT_IFS1.clearCNCIF; inline;
  26742. begin
  26743. pTDefRegMap(@Self)^.clr := $00008000;
  26744. end;
  26745. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  26746. begin
  26747. if thebits = 0 then
  26748. pTDefRegMap(@Self)^.clr := $00008000
  26749. else
  26750. pTDefRegMap(@Self)^.&set := $00008000;
  26751. end;
  26752. function TINT_IFS1.getCNCIF : TBits_1; inline;
  26753. begin
  26754. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26755. end;
  26756. procedure TINT_IFS1.setPMPIF; inline;
  26757. begin
  26758. pTDefRegMap(@Self)^.&set := $00010000;
  26759. end;
  26760. procedure TINT_IFS1.clearPMPIF; inline;
  26761. begin
  26762. pTDefRegMap(@Self)^.clr := $00010000;
  26763. end;
  26764. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  26765. begin
  26766. if thebits = 0 then
  26767. pTDefRegMap(@Self)^.clr := $00010000
  26768. else
  26769. pTDefRegMap(@Self)^.&set := $00010000;
  26770. end;
  26771. function TINT_IFS1.getPMPIF : TBits_1; inline;
  26772. begin
  26773. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26774. end;
  26775. procedure TINT_IFS1.setPMPEIF; inline;
  26776. begin
  26777. pTDefRegMap(@Self)^.&set := $00020000;
  26778. end;
  26779. procedure TINT_IFS1.clearPMPEIF; inline;
  26780. begin
  26781. pTDefRegMap(@Self)^.clr := $00020000;
  26782. end;
  26783. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  26784. begin
  26785. if thebits = 0 then
  26786. pTDefRegMap(@Self)^.clr := $00020000
  26787. else
  26788. pTDefRegMap(@Self)^.&set := $00020000;
  26789. end;
  26790. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  26791. begin
  26792. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26793. end;
  26794. procedure TINT_IFS1.setSPI2EIF; inline;
  26795. begin
  26796. pTDefRegMap(@Self)^.&set := $00040000;
  26797. end;
  26798. procedure TINT_IFS1.clearSPI2EIF; inline;
  26799. begin
  26800. pTDefRegMap(@Self)^.clr := $00040000;
  26801. end;
  26802. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  26803. begin
  26804. if thebits = 0 then
  26805. pTDefRegMap(@Self)^.clr := $00040000
  26806. else
  26807. pTDefRegMap(@Self)^.&set := $00040000;
  26808. end;
  26809. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  26810. begin
  26811. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26812. end;
  26813. procedure TINT_IFS1.setSPI2RXIF; inline;
  26814. begin
  26815. pTDefRegMap(@Self)^.&set := $00080000;
  26816. end;
  26817. procedure TINT_IFS1.clearSPI2RXIF; inline;
  26818. begin
  26819. pTDefRegMap(@Self)^.clr := $00080000;
  26820. end;
  26821. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  26822. begin
  26823. if thebits = 0 then
  26824. pTDefRegMap(@Self)^.clr := $00080000
  26825. else
  26826. pTDefRegMap(@Self)^.&set := $00080000;
  26827. end;
  26828. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  26829. begin
  26830. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26831. end;
  26832. procedure TINT_IFS1.setSPI2TXIF; inline;
  26833. begin
  26834. pTDefRegMap(@Self)^.&set := $00100000;
  26835. end;
  26836. procedure TINT_IFS1.clearSPI2TXIF; inline;
  26837. begin
  26838. pTDefRegMap(@Self)^.clr := $00100000;
  26839. end;
  26840. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  26841. begin
  26842. if thebits = 0 then
  26843. pTDefRegMap(@Self)^.clr := $00100000
  26844. else
  26845. pTDefRegMap(@Self)^.&set := $00100000;
  26846. end;
  26847. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  26848. begin
  26849. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26850. end;
  26851. procedure TINT_IFS1.setU2EIF; inline;
  26852. begin
  26853. pTDefRegMap(@Self)^.&set := $00200000;
  26854. end;
  26855. procedure TINT_IFS1.clearU2EIF; inline;
  26856. begin
  26857. pTDefRegMap(@Self)^.clr := $00200000;
  26858. end;
  26859. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  26860. begin
  26861. if thebits = 0 then
  26862. pTDefRegMap(@Self)^.clr := $00200000
  26863. else
  26864. pTDefRegMap(@Self)^.&set := $00200000;
  26865. end;
  26866. function TINT_IFS1.getU2EIF : TBits_1; inline;
  26867. begin
  26868. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26869. end;
  26870. procedure TINT_IFS1.setU2RXIF; inline;
  26871. begin
  26872. pTDefRegMap(@Self)^.&set := $00400000;
  26873. end;
  26874. procedure TINT_IFS1.clearU2RXIF; inline;
  26875. begin
  26876. pTDefRegMap(@Self)^.clr := $00400000;
  26877. end;
  26878. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  26879. begin
  26880. if thebits = 0 then
  26881. pTDefRegMap(@Self)^.clr := $00400000
  26882. else
  26883. pTDefRegMap(@Self)^.&set := $00400000;
  26884. end;
  26885. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  26886. begin
  26887. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26888. end;
  26889. procedure TINT_IFS1.setU2TXIF; inline;
  26890. begin
  26891. pTDefRegMap(@Self)^.&set := $00800000;
  26892. end;
  26893. procedure TINT_IFS1.clearU2TXIF; inline;
  26894. begin
  26895. pTDefRegMap(@Self)^.clr := $00800000;
  26896. end;
  26897. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  26898. begin
  26899. if thebits = 0 then
  26900. pTDefRegMap(@Self)^.clr := $00800000
  26901. else
  26902. pTDefRegMap(@Self)^.&set := $00800000;
  26903. end;
  26904. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  26905. begin
  26906. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26907. end;
  26908. procedure TINT_IFS1.setI2C2BIF; inline;
  26909. begin
  26910. pTDefRegMap(@Self)^.&set := $01000000;
  26911. end;
  26912. procedure TINT_IFS1.clearI2C2BIF; inline;
  26913. begin
  26914. pTDefRegMap(@Self)^.clr := $01000000;
  26915. end;
  26916. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  26917. begin
  26918. if thebits = 0 then
  26919. pTDefRegMap(@Self)^.clr := $01000000
  26920. else
  26921. pTDefRegMap(@Self)^.&set := $01000000;
  26922. end;
  26923. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  26924. begin
  26925. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26926. end;
  26927. procedure TINT_IFS1.setI2C2SIF; inline;
  26928. begin
  26929. pTDefRegMap(@Self)^.&set := $02000000;
  26930. end;
  26931. procedure TINT_IFS1.clearI2C2SIF; inline;
  26932. begin
  26933. pTDefRegMap(@Self)^.clr := $02000000;
  26934. end;
  26935. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  26936. begin
  26937. if thebits = 0 then
  26938. pTDefRegMap(@Self)^.clr := $02000000
  26939. else
  26940. pTDefRegMap(@Self)^.&set := $02000000;
  26941. end;
  26942. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  26943. begin
  26944. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26945. end;
  26946. procedure TINT_IFS1.setI2C2MIF; inline;
  26947. begin
  26948. pTDefRegMap(@Self)^.&set := $04000000;
  26949. end;
  26950. procedure TINT_IFS1.clearI2C2MIF; inline;
  26951. begin
  26952. pTDefRegMap(@Self)^.clr := $04000000;
  26953. end;
  26954. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  26955. begin
  26956. if thebits = 0 then
  26957. pTDefRegMap(@Self)^.clr := $04000000
  26958. else
  26959. pTDefRegMap(@Self)^.&set := $04000000;
  26960. end;
  26961. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  26962. begin
  26963. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  26964. end;
  26965. procedure TINT_IFS1.setCTMUIF; inline;
  26966. begin
  26967. pTDefRegMap(@Self)^.&set := $08000000;
  26968. end;
  26969. procedure TINT_IFS1.clearCTMUIF; inline;
  26970. begin
  26971. pTDefRegMap(@Self)^.clr := $08000000;
  26972. end;
  26973. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  26974. begin
  26975. if thebits = 0 then
  26976. pTDefRegMap(@Self)^.clr := $08000000
  26977. else
  26978. pTDefRegMap(@Self)^.&set := $08000000;
  26979. end;
  26980. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  26981. begin
  26982. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  26983. end;
  26984. procedure TINT_IFS1.setDMA0IF; inline;
  26985. begin
  26986. pTDefRegMap(@Self)^.&set := $10000000;
  26987. end;
  26988. procedure TINT_IFS1.clearDMA0IF; inline;
  26989. begin
  26990. pTDefRegMap(@Self)^.clr := $10000000;
  26991. end;
  26992. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  26993. begin
  26994. if thebits = 0 then
  26995. pTDefRegMap(@Self)^.clr := $10000000
  26996. else
  26997. pTDefRegMap(@Self)^.&set := $10000000;
  26998. end;
  26999. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27000. begin
  27001. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27002. end;
  27003. procedure TINT_IFS1.setDMA1IF; inline;
  27004. begin
  27005. pTDefRegMap(@Self)^.&set := $20000000;
  27006. end;
  27007. procedure TINT_IFS1.clearDMA1IF; inline;
  27008. begin
  27009. pTDefRegMap(@Self)^.clr := $20000000;
  27010. end;
  27011. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27012. begin
  27013. if thebits = 0 then
  27014. pTDefRegMap(@Self)^.clr := $20000000
  27015. else
  27016. pTDefRegMap(@Self)^.&set := $20000000;
  27017. end;
  27018. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27019. begin
  27020. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27021. end;
  27022. procedure TINT_IFS1.setDMA2IF; inline;
  27023. begin
  27024. pTDefRegMap(@Self)^.&set := $40000000;
  27025. end;
  27026. procedure TINT_IFS1.clearDMA2IF; inline;
  27027. begin
  27028. pTDefRegMap(@Self)^.clr := $40000000;
  27029. end;
  27030. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27031. begin
  27032. if thebits = 0 then
  27033. pTDefRegMap(@Self)^.clr := $40000000
  27034. else
  27035. pTDefRegMap(@Self)^.&set := $40000000;
  27036. end;
  27037. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27038. begin
  27039. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27040. end;
  27041. procedure TINT_IFS1.setDMA3IF; inline;
  27042. begin
  27043. pTDefRegMap(@Self)^.&set := $80000000;
  27044. end;
  27045. procedure TINT_IFS1.clearDMA3IF; inline;
  27046. begin
  27047. pTDefRegMap(@Self)^.clr := $80000000;
  27048. end;
  27049. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27050. begin
  27051. if thebits = 0 then
  27052. pTDefRegMap(@Self)^.clr := $80000000
  27053. else
  27054. pTDefRegMap(@Self)^.&set := $80000000;
  27055. end;
  27056. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27057. begin
  27058. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27059. end;
  27060. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27061. begin
  27062. pTDefRegMap(@Self)^.val := thebits;
  27063. end;
  27064. function TINT_IFS1.getw : TBits_32; inline;
  27065. begin
  27066. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27067. end;
  27068. procedure TINT_IEC0.setCTIE; inline;
  27069. begin
  27070. pTDefRegMap(@Self)^.&set := $00000001;
  27071. end;
  27072. procedure TINT_IEC0.clearCTIE; inline;
  27073. begin
  27074. pTDefRegMap(@Self)^.clr := $00000001;
  27075. end;
  27076. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27077. begin
  27078. if thebits = 0 then
  27079. pTDefRegMap(@Self)^.clr := $00000001
  27080. else
  27081. pTDefRegMap(@Self)^.&set := $00000001;
  27082. end;
  27083. function TINT_IEC0.getCTIE : TBits_1; inline;
  27084. begin
  27085. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27086. end;
  27087. procedure TINT_IEC0.setCS0IE; inline;
  27088. begin
  27089. pTDefRegMap(@Self)^.&set := $00000002;
  27090. end;
  27091. procedure TINT_IEC0.clearCS0IE; inline;
  27092. begin
  27093. pTDefRegMap(@Self)^.clr := $00000002;
  27094. end;
  27095. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27096. begin
  27097. if thebits = 0 then
  27098. pTDefRegMap(@Self)^.clr := $00000002
  27099. else
  27100. pTDefRegMap(@Self)^.&set := $00000002;
  27101. end;
  27102. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27103. begin
  27104. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27105. end;
  27106. procedure TINT_IEC0.setCS1IE; inline;
  27107. begin
  27108. pTDefRegMap(@Self)^.&set := $00000004;
  27109. end;
  27110. procedure TINT_IEC0.clearCS1IE; inline;
  27111. begin
  27112. pTDefRegMap(@Self)^.clr := $00000004;
  27113. end;
  27114. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27115. begin
  27116. if thebits = 0 then
  27117. pTDefRegMap(@Self)^.clr := $00000004
  27118. else
  27119. pTDefRegMap(@Self)^.&set := $00000004;
  27120. end;
  27121. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27122. begin
  27123. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27124. end;
  27125. procedure TINT_IEC0.setINT0IE; inline;
  27126. begin
  27127. pTDefRegMap(@Self)^.&set := $00000008;
  27128. end;
  27129. procedure TINT_IEC0.clearINT0IE; inline;
  27130. begin
  27131. pTDefRegMap(@Self)^.clr := $00000008;
  27132. end;
  27133. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27134. begin
  27135. if thebits = 0 then
  27136. pTDefRegMap(@Self)^.clr := $00000008
  27137. else
  27138. pTDefRegMap(@Self)^.&set := $00000008;
  27139. end;
  27140. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27141. begin
  27142. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27143. end;
  27144. procedure TINT_IEC0.setT1IE; inline;
  27145. begin
  27146. pTDefRegMap(@Self)^.&set := $00000010;
  27147. end;
  27148. procedure TINT_IEC0.clearT1IE; inline;
  27149. begin
  27150. pTDefRegMap(@Self)^.clr := $00000010;
  27151. end;
  27152. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27153. begin
  27154. if thebits = 0 then
  27155. pTDefRegMap(@Self)^.clr := $00000010
  27156. else
  27157. pTDefRegMap(@Self)^.&set := $00000010;
  27158. end;
  27159. function TINT_IEC0.getT1IE : TBits_1; inline;
  27160. begin
  27161. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27162. end;
  27163. procedure TINT_IEC0.setIC1EIE; inline;
  27164. begin
  27165. pTDefRegMap(@Self)^.&set := $00000020;
  27166. end;
  27167. procedure TINT_IEC0.clearIC1EIE; inline;
  27168. begin
  27169. pTDefRegMap(@Self)^.clr := $00000020;
  27170. end;
  27171. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27172. begin
  27173. if thebits = 0 then
  27174. pTDefRegMap(@Self)^.clr := $00000020
  27175. else
  27176. pTDefRegMap(@Self)^.&set := $00000020;
  27177. end;
  27178. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27179. begin
  27180. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27181. end;
  27182. procedure TINT_IEC0.setIC1IE; inline;
  27183. begin
  27184. pTDefRegMap(@Self)^.&set := $00000040;
  27185. end;
  27186. procedure TINT_IEC0.clearIC1IE; inline;
  27187. begin
  27188. pTDefRegMap(@Self)^.clr := $00000040;
  27189. end;
  27190. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27191. begin
  27192. if thebits = 0 then
  27193. pTDefRegMap(@Self)^.clr := $00000040
  27194. else
  27195. pTDefRegMap(@Self)^.&set := $00000040;
  27196. end;
  27197. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27198. begin
  27199. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27200. end;
  27201. procedure TINT_IEC0.setOC1IE; inline;
  27202. begin
  27203. pTDefRegMap(@Self)^.&set := $00000080;
  27204. end;
  27205. procedure TINT_IEC0.clearOC1IE; inline;
  27206. begin
  27207. pTDefRegMap(@Self)^.clr := $00000080;
  27208. end;
  27209. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27210. begin
  27211. if thebits = 0 then
  27212. pTDefRegMap(@Self)^.clr := $00000080
  27213. else
  27214. pTDefRegMap(@Self)^.&set := $00000080;
  27215. end;
  27216. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27217. begin
  27218. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27219. end;
  27220. procedure TINT_IEC0.setINT1IE; inline;
  27221. begin
  27222. pTDefRegMap(@Self)^.&set := $00000100;
  27223. end;
  27224. procedure TINT_IEC0.clearINT1IE; inline;
  27225. begin
  27226. pTDefRegMap(@Self)^.clr := $00000100;
  27227. end;
  27228. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27229. begin
  27230. if thebits = 0 then
  27231. pTDefRegMap(@Self)^.clr := $00000100
  27232. else
  27233. pTDefRegMap(@Self)^.&set := $00000100;
  27234. end;
  27235. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27236. begin
  27237. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27238. end;
  27239. procedure TINT_IEC0.setT2IE; inline;
  27240. begin
  27241. pTDefRegMap(@Self)^.&set := $00000200;
  27242. end;
  27243. procedure TINT_IEC0.clearT2IE; inline;
  27244. begin
  27245. pTDefRegMap(@Self)^.clr := $00000200;
  27246. end;
  27247. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27248. begin
  27249. if thebits = 0 then
  27250. pTDefRegMap(@Self)^.clr := $00000200
  27251. else
  27252. pTDefRegMap(@Self)^.&set := $00000200;
  27253. end;
  27254. function TINT_IEC0.getT2IE : TBits_1; inline;
  27255. begin
  27256. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27257. end;
  27258. procedure TINT_IEC0.setIC2EIE; inline;
  27259. begin
  27260. pTDefRegMap(@Self)^.&set := $00000400;
  27261. end;
  27262. procedure TINT_IEC0.clearIC2EIE; inline;
  27263. begin
  27264. pTDefRegMap(@Self)^.clr := $00000400;
  27265. end;
  27266. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27267. begin
  27268. if thebits = 0 then
  27269. pTDefRegMap(@Self)^.clr := $00000400
  27270. else
  27271. pTDefRegMap(@Self)^.&set := $00000400;
  27272. end;
  27273. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27274. begin
  27275. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27276. end;
  27277. procedure TINT_IEC0.setIC2IE; inline;
  27278. begin
  27279. pTDefRegMap(@Self)^.&set := $00000800;
  27280. end;
  27281. procedure TINT_IEC0.clearIC2IE; inline;
  27282. begin
  27283. pTDefRegMap(@Self)^.clr := $00000800;
  27284. end;
  27285. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27286. begin
  27287. if thebits = 0 then
  27288. pTDefRegMap(@Self)^.clr := $00000800
  27289. else
  27290. pTDefRegMap(@Self)^.&set := $00000800;
  27291. end;
  27292. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27293. begin
  27294. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27295. end;
  27296. procedure TINT_IEC0.setOC2IE; inline;
  27297. begin
  27298. pTDefRegMap(@Self)^.&set := $00001000;
  27299. end;
  27300. procedure TINT_IEC0.clearOC2IE; inline;
  27301. begin
  27302. pTDefRegMap(@Self)^.clr := $00001000;
  27303. end;
  27304. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27305. begin
  27306. if thebits = 0 then
  27307. pTDefRegMap(@Self)^.clr := $00001000
  27308. else
  27309. pTDefRegMap(@Self)^.&set := $00001000;
  27310. end;
  27311. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27312. begin
  27313. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27314. end;
  27315. procedure TINT_IEC0.setINT2IE; inline;
  27316. begin
  27317. pTDefRegMap(@Self)^.&set := $00002000;
  27318. end;
  27319. procedure TINT_IEC0.clearINT2IE; inline;
  27320. begin
  27321. pTDefRegMap(@Self)^.clr := $00002000;
  27322. end;
  27323. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27324. begin
  27325. if thebits = 0 then
  27326. pTDefRegMap(@Self)^.clr := $00002000
  27327. else
  27328. pTDefRegMap(@Self)^.&set := $00002000;
  27329. end;
  27330. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27331. begin
  27332. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27333. end;
  27334. procedure TINT_IEC0.setT3IE; inline;
  27335. begin
  27336. pTDefRegMap(@Self)^.&set := $00004000;
  27337. end;
  27338. procedure TINT_IEC0.clearT3IE; inline;
  27339. begin
  27340. pTDefRegMap(@Self)^.clr := $00004000;
  27341. end;
  27342. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27343. begin
  27344. if thebits = 0 then
  27345. pTDefRegMap(@Self)^.clr := $00004000
  27346. else
  27347. pTDefRegMap(@Self)^.&set := $00004000;
  27348. end;
  27349. function TINT_IEC0.getT3IE : TBits_1; inline;
  27350. begin
  27351. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27352. end;
  27353. procedure TINT_IEC0.setIC3EIE; inline;
  27354. begin
  27355. pTDefRegMap(@Self)^.&set := $00008000;
  27356. end;
  27357. procedure TINT_IEC0.clearIC3EIE; inline;
  27358. begin
  27359. pTDefRegMap(@Self)^.clr := $00008000;
  27360. end;
  27361. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27362. begin
  27363. if thebits = 0 then
  27364. pTDefRegMap(@Self)^.clr := $00008000
  27365. else
  27366. pTDefRegMap(@Self)^.&set := $00008000;
  27367. end;
  27368. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  27369. begin
  27370. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27371. end;
  27372. procedure TINT_IEC0.setIC3IE; inline;
  27373. begin
  27374. pTDefRegMap(@Self)^.&set := $00010000;
  27375. end;
  27376. procedure TINT_IEC0.clearIC3IE; inline;
  27377. begin
  27378. pTDefRegMap(@Self)^.clr := $00010000;
  27379. end;
  27380. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  27381. begin
  27382. if thebits = 0 then
  27383. pTDefRegMap(@Self)^.clr := $00010000
  27384. else
  27385. pTDefRegMap(@Self)^.&set := $00010000;
  27386. end;
  27387. function TINT_IEC0.getIC3IE : TBits_1; inline;
  27388. begin
  27389. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27390. end;
  27391. procedure TINT_IEC0.setOC3IE; inline;
  27392. begin
  27393. pTDefRegMap(@Self)^.&set := $00020000;
  27394. end;
  27395. procedure TINT_IEC0.clearOC3IE; inline;
  27396. begin
  27397. pTDefRegMap(@Self)^.clr := $00020000;
  27398. end;
  27399. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  27400. begin
  27401. if thebits = 0 then
  27402. pTDefRegMap(@Self)^.clr := $00020000
  27403. else
  27404. pTDefRegMap(@Self)^.&set := $00020000;
  27405. end;
  27406. function TINT_IEC0.getOC3IE : TBits_1; inline;
  27407. begin
  27408. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27409. end;
  27410. procedure TINT_IEC0.setINT3IE; inline;
  27411. begin
  27412. pTDefRegMap(@Self)^.&set := $00040000;
  27413. end;
  27414. procedure TINT_IEC0.clearINT3IE; inline;
  27415. begin
  27416. pTDefRegMap(@Self)^.clr := $00040000;
  27417. end;
  27418. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  27419. begin
  27420. if thebits = 0 then
  27421. pTDefRegMap(@Self)^.clr := $00040000
  27422. else
  27423. pTDefRegMap(@Self)^.&set := $00040000;
  27424. end;
  27425. function TINT_IEC0.getINT3IE : TBits_1; inline;
  27426. begin
  27427. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27428. end;
  27429. procedure TINT_IEC0.setT4IE; inline;
  27430. begin
  27431. pTDefRegMap(@Self)^.&set := $00080000;
  27432. end;
  27433. procedure TINT_IEC0.clearT4IE; inline;
  27434. begin
  27435. pTDefRegMap(@Self)^.clr := $00080000;
  27436. end;
  27437. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  27438. begin
  27439. if thebits = 0 then
  27440. pTDefRegMap(@Self)^.clr := $00080000
  27441. else
  27442. pTDefRegMap(@Self)^.&set := $00080000;
  27443. end;
  27444. function TINT_IEC0.getT4IE : TBits_1; inline;
  27445. begin
  27446. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27447. end;
  27448. procedure TINT_IEC0.setIC4EIE; inline;
  27449. begin
  27450. pTDefRegMap(@Self)^.&set := $00100000;
  27451. end;
  27452. procedure TINT_IEC0.clearIC4EIE; inline;
  27453. begin
  27454. pTDefRegMap(@Self)^.clr := $00100000;
  27455. end;
  27456. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  27457. begin
  27458. if thebits = 0 then
  27459. pTDefRegMap(@Self)^.clr := $00100000
  27460. else
  27461. pTDefRegMap(@Self)^.&set := $00100000;
  27462. end;
  27463. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  27464. begin
  27465. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27466. end;
  27467. procedure TINT_IEC0.setIC4IE; inline;
  27468. begin
  27469. pTDefRegMap(@Self)^.&set := $00200000;
  27470. end;
  27471. procedure TINT_IEC0.clearIC4IE; inline;
  27472. begin
  27473. pTDefRegMap(@Self)^.clr := $00200000;
  27474. end;
  27475. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  27476. begin
  27477. if thebits = 0 then
  27478. pTDefRegMap(@Self)^.clr := $00200000
  27479. else
  27480. pTDefRegMap(@Self)^.&set := $00200000;
  27481. end;
  27482. function TINT_IEC0.getIC4IE : TBits_1; inline;
  27483. begin
  27484. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27485. end;
  27486. procedure TINT_IEC0.setOC4IE; inline;
  27487. begin
  27488. pTDefRegMap(@Self)^.&set := $00400000;
  27489. end;
  27490. procedure TINT_IEC0.clearOC4IE; inline;
  27491. begin
  27492. pTDefRegMap(@Self)^.clr := $00400000;
  27493. end;
  27494. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  27495. begin
  27496. if thebits = 0 then
  27497. pTDefRegMap(@Self)^.clr := $00400000
  27498. else
  27499. pTDefRegMap(@Self)^.&set := $00400000;
  27500. end;
  27501. function TINT_IEC0.getOC4IE : TBits_1; inline;
  27502. begin
  27503. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27504. end;
  27505. procedure TINT_IEC0.setINT4IE; inline;
  27506. begin
  27507. pTDefRegMap(@Self)^.&set := $00800000;
  27508. end;
  27509. procedure TINT_IEC0.clearINT4IE; inline;
  27510. begin
  27511. pTDefRegMap(@Self)^.clr := $00800000;
  27512. end;
  27513. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  27514. begin
  27515. if thebits = 0 then
  27516. pTDefRegMap(@Self)^.clr := $00800000
  27517. else
  27518. pTDefRegMap(@Self)^.&set := $00800000;
  27519. end;
  27520. function TINT_IEC0.getINT4IE : TBits_1; inline;
  27521. begin
  27522. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27523. end;
  27524. procedure TINT_IEC0.setT5IE; inline;
  27525. begin
  27526. pTDefRegMap(@Self)^.&set := $01000000;
  27527. end;
  27528. procedure TINT_IEC0.clearT5IE; inline;
  27529. begin
  27530. pTDefRegMap(@Self)^.clr := $01000000;
  27531. end;
  27532. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  27533. begin
  27534. if thebits = 0 then
  27535. pTDefRegMap(@Self)^.clr := $01000000
  27536. else
  27537. pTDefRegMap(@Self)^.&set := $01000000;
  27538. end;
  27539. function TINT_IEC0.getT5IE : TBits_1; inline;
  27540. begin
  27541. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27542. end;
  27543. procedure TINT_IEC0.setIC5EIE; inline;
  27544. begin
  27545. pTDefRegMap(@Self)^.&set := $02000000;
  27546. end;
  27547. procedure TINT_IEC0.clearIC5EIE; inline;
  27548. begin
  27549. pTDefRegMap(@Self)^.clr := $02000000;
  27550. end;
  27551. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  27552. begin
  27553. if thebits = 0 then
  27554. pTDefRegMap(@Self)^.clr := $02000000
  27555. else
  27556. pTDefRegMap(@Self)^.&set := $02000000;
  27557. end;
  27558. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  27559. begin
  27560. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27561. end;
  27562. procedure TINT_IEC0.setIC5IE; inline;
  27563. begin
  27564. pTDefRegMap(@Self)^.&set := $04000000;
  27565. end;
  27566. procedure TINT_IEC0.clearIC5IE; inline;
  27567. begin
  27568. pTDefRegMap(@Self)^.clr := $04000000;
  27569. end;
  27570. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  27571. begin
  27572. if thebits = 0 then
  27573. pTDefRegMap(@Self)^.clr := $04000000
  27574. else
  27575. pTDefRegMap(@Self)^.&set := $04000000;
  27576. end;
  27577. function TINT_IEC0.getIC5IE : TBits_1; inline;
  27578. begin
  27579. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27580. end;
  27581. procedure TINT_IEC0.setOC5IE; inline;
  27582. begin
  27583. pTDefRegMap(@Self)^.&set := $08000000;
  27584. end;
  27585. procedure TINT_IEC0.clearOC5IE; inline;
  27586. begin
  27587. pTDefRegMap(@Self)^.clr := $08000000;
  27588. end;
  27589. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  27590. begin
  27591. if thebits = 0 then
  27592. pTDefRegMap(@Self)^.clr := $08000000
  27593. else
  27594. pTDefRegMap(@Self)^.&set := $08000000;
  27595. end;
  27596. function TINT_IEC0.getOC5IE : TBits_1; inline;
  27597. begin
  27598. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27599. end;
  27600. procedure TINT_IEC0.setAD1IE; inline;
  27601. begin
  27602. pTDefRegMap(@Self)^.&set := $10000000;
  27603. end;
  27604. procedure TINT_IEC0.clearAD1IE; inline;
  27605. begin
  27606. pTDefRegMap(@Self)^.clr := $10000000;
  27607. end;
  27608. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  27609. begin
  27610. if thebits = 0 then
  27611. pTDefRegMap(@Self)^.clr := $10000000
  27612. else
  27613. pTDefRegMap(@Self)^.&set := $10000000;
  27614. end;
  27615. function TINT_IEC0.getAD1IE : TBits_1; inline;
  27616. begin
  27617. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27618. end;
  27619. procedure TINT_IEC0.setFSCMIE; inline;
  27620. begin
  27621. pTDefRegMap(@Self)^.&set := $20000000;
  27622. end;
  27623. procedure TINT_IEC0.clearFSCMIE; inline;
  27624. begin
  27625. pTDefRegMap(@Self)^.clr := $20000000;
  27626. end;
  27627. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  27628. begin
  27629. if thebits = 0 then
  27630. pTDefRegMap(@Self)^.clr := $20000000
  27631. else
  27632. pTDefRegMap(@Self)^.&set := $20000000;
  27633. end;
  27634. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  27635. begin
  27636. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27637. end;
  27638. procedure TINT_IEC0.setRTCCIE; inline;
  27639. begin
  27640. pTDefRegMap(@Self)^.&set := $40000000;
  27641. end;
  27642. procedure TINT_IEC0.clearRTCCIE; inline;
  27643. begin
  27644. pTDefRegMap(@Self)^.clr := $40000000;
  27645. end;
  27646. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  27647. begin
  27648. if thebits = 0 then
  27649. pTDefRegMap(@Self)^.clr := $40000000
  27650. else
  27651. pTDefRegMap(@Self)^.&set := $40000000;
  27652. end;
  27653. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  27654. begin
  27655. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27656. end;
  27657. procedure TINT_IEC0.setFCEIE; inline;
  27658. begin
  27659. pTDefRegMap(@Self)^.&set := $80000000;
  27660. end;
  27661. procedure TINT_IEC0.clearFCEIE; inline;
  27662. begin
  27663. pTDefRegMap(@Self)^.clr := $80000000;
  27664. end;
  27665. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  27666. begin
  27667. if thebits = 0 then
  27668. pTDefRegMap(@Self)^.clr := $80000000
  27669. else
  27670. pTDefRegMap(@Self)^.&set := $80000000;
  27671. end;
  27672. function TINT_IEC0.getFCEIE : TBits_1; inline;
  27673. begin
  27674. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27675. end;
  27676. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  27677. begin
  27678. pTDefRegMap(@Self)^.val := thebits;
  27679. end;
  27680. function TINT_IEC0.getw : TBits_32; inline;
  27681. begin
  27682. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27683. end;
  27684. procedure TINT_IEC1.setCMP1IE; inline;
  27685. begin
  27686. pTDefRegMap(@Self)^.&set := $00000001;
  27687. end;
  27688. procedure TINT_IEC1.clearCMP1IE; inline;
  27689. begin
  27690. pTDefRegMap(@Self)^.clr := $00000001;
  27691. end;
  27692. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  27693. begin
  27694. if thebits = 0 then
  27695. pTDefRegMap(@Self)^.clr := $00000001
  27696. else
  27697. pTDefRegMap(@Self)^.&set := $00000001;
  27698. end;
  27699. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  27700. begin
  27701. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27702. end;
  27703. procedure TINT_IEC1.setCMP2IE; inline;
  27704. begin
  27705. pTDefRegMap(@Self)^.&set := $00000002;
  27706. end;
  27707. procedure TINT_IEC1.clearCMP2IE; inline;
  27708. begin
  27709. pTDefRegMap(@Self)^.clr := $00000002;
  27710. end;
  27711. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  27712. begin
  27713. if thebits = 0 then
  27714. pTDefRegMap(@Self)^.clr := $00000002
  27715. else
  27716. pTDefRegMap(@Self)^.&set := $00000002;
  27717. end;
  27718. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  27719. begin
  27720. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27721. end;
  27722. procedure TINT_IEC1.setCMP3IE; inline;
  27723. begin
  27724. pTDefRegMap(@Self)^.&set := $00000004;
  27725. end;
  27726. procedure TINT_IEC1.clearCMP3IE; inline;
  27727. begin
  27728. pTDefRegMap(@Self)^.clr := $00000004;
  27729. end;
  27730. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  27731. begin
  27732. if thebits = 0 then
  27733. pTDefRegMap(@Self)^.clr := $00000004
  27734. else
  27735. pTDefRegMap(@Self)^.&set := $00000004;
  27736. end;
  27737. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  27738. begin
  27739. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27740. end;
  27741. procedure TINT_IEC1.setSPI1EIE; inline;
  27742. begin
  27743. pTDefRegMap(@Self)^.&set := $00000010;
  27744. end;
  27745. procedure TINT_IEC1.clearSPI1EIE; inline;
  27746. begin
  27747. pTDefRegMap(@Self)^.clr := $00000010;
  27748. end;
  27749. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  27750. begin
  27751. if thebits = 0 then
  27752. pTDefRegMap(@Self)^.clr := $00000010
  27753. else
  27754. pTDefRegMap(@Self)^.&set := $00000010;
  27755. end;
  27756. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  27757. begin
  27758. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27759. end;
  27760. procedure TINT_IEC1.setSPI1RXIE; inline;
  27761. begin
  27762. pTDefRegMap(@Self)^.&set := $00000020;
  27763. end;
  27764. procedure TINT_IEC1.clearSPI1RXIE; inline;
  27765. begin
  27766. pTDefRegMap(@Self)^.clr := $00000020;
  27767. end;
  27768. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  27769. begin
  27770. if thebits = 0 then
  27771. pTDefRegMap(@Self)^.clr := $00000020
  27772. else
  27773. pTDefRegMap(@Self)^.&set := $00000020;
  27774. end;
  27775. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  27776. begin
  27777. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27778. end;
  27779. procedure TINT_IEC1.setSPI1TXIE; inline;
  27780. begin
  27781. pTDefRegMap(@Self)^.&set := $00000040;
  27782. end;
  27783. procedure TINT_IEC1.clearSPI1TXIE; inline;
  27784. begin
  27785. pTDefRegMap(@Self)^.clr := $00000040;
  27786. end;
  27787. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  27788. begin
  27789. if thebits = 0 then
  27790. pTDefRegMap(@Self)^.clr := $00000040
  27791. else
  27792. pTDefRegMap(@Self)^.&set := $00000040;
  27793. end;
  27794. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  27795. begin
  27796. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27797. end;
  27798. procedure TINT_IEC1.setU1EIE; inline;
  27799. begin
  27800. pTDefRegMap(@Self)^.&set := $00000080;
  27801. end;
  27802. procedure TINT_IEC1.clearU1EIE; inline;
  27803. begin
  27804. pTDefRegMap(@Self)^.clr := $00000080;
  27805. end;
  27806. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  27807. begin
  27808. if thebits = 0 then
  27809. pTDefRegMap(@Self)^.clr := $00000080
  27810. else
  27811. pTDefRegMap(@Self)^.&set := $00000080;
  27812. end;
  27813. function TINT_IEC1.getU1EIE : TBits_1; inline;
  27814. begin
  27815. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27816. end;
  27817. procedure TINT_IEC1.setU1RXIE; inline;
  27818. begin
  27819. pTDefRegMap(@Self)^.&set := $00000100;
  27820. end;
  27821. procedure TINT_IEC1.clearU1RXIE; inline;
  27822. begin
  27823. pTDefRegMap(@Self)^.clr := $00000100;
  27824. end;
  27825. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  27826. begin
  27827. if thebits = 0 then
  27828. pTDefRegMap(@Self)^.clr := $00000100
  27829. else
  27830. pTDefRegMap(@Self)^.&set := $00000100;
  27831. end;
  27832. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  27833. begin
  27834. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27835. end;
  27836. procedure TINT_IEC1.setU1TXIE; inline;
  27837. begin
  27838. pTDefRegMap(@Self)^.&set := $00000200;
  27839. end;
  27840. procedure TINT_IEC1.clearU1TXIE; inline;
  27841. begin
  27842. pTDefRegMap(@Self)^.clr := $00000200;
  27843. end;
  27844. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  27845. begin
  27846. if thebits = 0 then
  27847. pTDefRegMap(@Self)^.clr := $00000200
  27848. else
  27849. pTDefRegMap(@Self)^.&set := $00000200;
  27850. end;
  27851. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  27852. begin
  27853. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27854. end;
  27855. procedure TINT_IEC1.setI2C1BIE; inline;
  27856. begin
  27857. pTDefRegMap(@Self)^.&set := $00000400;
  27858. end;
  27859. procedure TINT_IEC1.clearI2C1BIE; inline;
  27860. begin
  27861. pTDefRegMap(@Self)^.clr := $00000400;
  27862. end;
  27863. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  27864. begin
  27865. if thebits = 0 then
  27866. pTDefRegMap(@Self)^.clr := $00000400
  27867. else
  27868. pTDefRegMap(@Self)^.&set := $00000400;
  27869. end;
  27870. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  27871. begin
  27872. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27873. end;
  27874. procedure TINT_IEC1.setI2C1SIE; inline;
  27875. begin
  27876. pTDefRegMap(@Self)^.&set := $00000800;
  27877. end;
  27878. procedure TINT_IEC1.clearI2C1SIE; inline;
  27879. begin
  27880. pTDefRegMap(@Self)^.clr := $00000800;
  27881. end;
  27882. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  27883. begin
  27884. if thebits = 0 then
  27885. pTDefRegMap(@Self)^.clr := $00000800
  27886. else
  27887. pTDefRegMap(@Self)^.&set := $00000800;
  27888. end;
  27889. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  27890. begin
  27891. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27892. end;
  27893. procedure TINT_IEC1.setI2C1MIE; inline;
  27894. begin
  27895. pTDefRegMap(@Self)^.&set := $00001000;
  27896. end;
  27897. procedure TINT_IEC1.clearI2C1MIE; inline;
  27898. begin
  27899. pTDefRegMap(@Self)^.clr := $00001000;
  27900. end;
  27901. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  27902. begin
  27903. if thebits = 0 then
  27904. pTDefRegMap(@Self)^.clr := $00001000
  27905. else
  27906. pTDefRegMap(@Self)^.&set := $00001000;
  27907. end;
  27908. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  27909. begin
  27910. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27911. end;
  27912. procedure TINT_IEC1.setCNAIE; inline;
  27913. begin
  27914. pTDefRegMap(@Self)^.&set := $00002000;
  27915. end;
  27916. procedure TINT_IEC1.clearCNAIE; inline;
  27917. begin
  27918. pTDefRegMap(@Self)^.clr := $00002000;
  27919. end;
  27920. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  27921. begin
  27922. if thebits = 0 then
  27923. pTDefRegMap(@Self)^.clr := $00002000
  27924. else
  27925. pTDefRegMap(@Self)^.&set := $00002000;
  27926. end;
  27927. function TINT_IEC1.getCNAIE : TBits_1; inline;
  27928. begin
  27929. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27930. end;
  27931. procedure TINT_IEC1.setCNBIE; inline;
  27932. begin
  27933. pTDefRegMap(@Self)^.&set := $00004000;
  27934. end;
  27935. procedure TINT_IEC1.clearCNBIE; inline;
  27936. begin
  27937. pTDefRegMap(@Self)^.clr := $00004000;
  27938. end;
  27939. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  27940. begin
  27941. if thebits = 0 then
  27942. pTDefRegMap(@Self)^.clr := $00004000
  27943. else
  27944. pTDefRegMap(@Self)^.&set := $00004000;
  27945. end;
  27946. function TINT_IEC1.getCNBIE : TBits_1; inline;
  27947. begin
  27948. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27949. end;
  27950. procedure TINT_IEC1.setCNCIE; inline;
  27951. begin
  27952. pTDefRegMap(@Self)^.&set := $00008000;
  27953. end;
  27954. procedure TINT_IEC1.clearCNCIE; inline;
  27955. begin
  27956. pTDefRegMap(@Self)^.clr := $00008000;
  27957. end;
  27958. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  27959. begin
  27960. if thebits = 0 then
  27961. pTDefRegMap(@Self)^.clr := $00008000
  27962. else
  27963. pTDefRegMap(@Self)^.&set := $00008000;
  27964. end;
  27965. function TINT_IEC1.getCNCIE : TBits_1; inline;
  27966. begin
  27967. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27968. end;
  27969. procedure TINT_IEC1.setPMPIE; inline;
  27970. begin
  27971. pTDefRegMap(@Self)^.&set := $00010000;
  27972. end;
  27973. procedure TINT_IEC1.clearPMPIE; inline;
  27974. begin
  27975. pTDefRegMap(@Self)^.clr := $00010000;
  27976. end;
  27977. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  27978. begin
  27979. if thebits = 0 then
  27980. pTDefRegMap(@Self)^.clr := $00010000
  27981. else
  27982. pTDefRegMap(@Self)^.&set := $00010000;
  27983. end;
  27984. function TINT_IEC1.getPMPIE : TBits_1; inline;
  27985. begin
  27986. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27987. end;
  27988. procedure TINT_IEC1.setPMPEIE; inline;
  27989. begin
  27990. pTDefRegMap(@Self)^.&set := $00020000;
  27991. end;
  27992. procedure TINT_IEC1.clearPMPEIE; inline;
  27993. begin
  27994. pTDefRegMap(@Self)^.clr := $00020000;
  27995. end;
  27996. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  27997. begin
  27998. if thebits = 0 then
  27999. pTDefRegMap(@Self)^.clr := $00020000
  28000. else
  28001. pTDefRegMap(@Self)^.&set := $00020000;
  28002. end;
  28003. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28004. begin
  28005. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28006. end;
  28007. procedure TINT_IEC1.setSPI2EIE; inline;
  28008. begin
  28009. pTDefRegMap(@Self)^.&set := $00040000;
  28010. end;
  28011. procedure TINT_IEC1.clearSPI2EIE; inline;
  28012. begin
  28013. pTDefRegMap(@Self)^.clr := $00040000;
  28014. end;
  28015. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28016. begin
  28017. if thebits = 0 then
  28018. pTDefRegMap(@Self)^.clr := $00040000
  28019. else
  28020. pTDefRegMap(@Self)^.&set := $00040000;
  28021. end;
  28022. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28023. begin
  28024. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28025. end;
  28026. procedure TINT_IEC1.setSPI2RXIE; inline;
  28027. begin
  28028. pTDefRegMap(@Self)^.&set := $00080000;
  28029. end;
  28030. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28031. begin
  28032. pTDefRegMap(@Self)^.clr := $00080000;
  28033. end;
  28034. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28035. begin
  28036. if thebits = 0 then
  28037. pTDefRegMap(@Self)^.clr := $00080000
  28038. else
  28039. pTDefRegMap(@Self)^.&set := $00080000;
  28040. end;
  28041. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28042. begin
  28043. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28044. end;
  28045. procedure TINT_IEC1.setSPI2TXIE; inline;
  28046. begin
  28047. pTDefRegMap(@Self)^.&set := $00100000;
  28048. end;
  28049. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28050. begin
  28051. pTDefRegMap(@Self)^.clr := $00100000;
  28052. end;
  28053. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28054. begin
  28055. if thebits = 0 then
  28056. pTDefRegMap(@Self)^.clr := $00100000
  28057. else
  28058. pTDefRegMap(@Self)^.&set := $00100000;
  28059. end;
  28060. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28061. begin
  28062. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28063. end;
  28064. procedure TINT_IEC1.setU2EIE; inline;
  28065. begin
  28066. pTDefRegMap(@Self)^.&set := $00200000;
  28067. end;
  28068. procedure TINT_IEC1.clearU2EIE; inline;
  28069. begin
  28070. pTDefRegMap(@Self)^.clr := $00200000;
  28071. end;
  28072. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28073. begin
  28074. if thebits = 0 then
  28075. pTDefRegMap(@Self)^.clr := $00200000
  28076. else
  28077. pTDefRegMap(@Self)^.&set := $00200000;
  28078. end;
  28079. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28080. begin
  28081. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28082. end;
  28083. procedure TINT_IEC1.setU2RXIE; inline;
  28084. begin
  28085. pTDefRegMap(@Self)^.&set := $00400000;
  28086. end;
  28087. procedure TINT_IEC1.clearU2RXIE; inline;
  28088. begin
  28089. pTDefRegMap(@Self)^.clr := $00400000;
  28090. end;
  28091. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28092. begin
  28093. if thebits = 0 then
  28094. pTDefRegMap(@Self)^.clr := $00400000
  28095. else
  28096. pTDefRegMap(@Self)^.&set := $00400000;
  28097. end;
  28098. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28099. begin
  28100. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28101. end;
  28102. procedure TINT_IEC1.setU2TXIE; inline;
  28103. begin
  28104. pTDefRegMap(@Self)^.&set := $00800000;
  28105. end;
  28106. procedure TINT_IEC1.clearU2TXIE; inline;
  28107. begin
  28108. pTDefRegMap(@Self)^.clr := $00800000;
  28109. end;
  28110. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28111. begin
  28112. if thebits = 0 then
  28113. pTDefRegMap(@Self)^.clr := $00800000
  28114. else
  28115. pTDefRegMap(@Self)^.&set := $00800000;
  28116. end;
  28117. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28118. begin
  28119. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28120. end;
  28121. procedure TINT_IEC1.setI2C2BIE; inline;
  28122. begin
  28123. pTDefRegMap(@Self)^.&set := $01000000;
  28124. end;
  28125. procedure TINT_IEC1.clearI2C2BIE; inline;
  28126. begin
  28127. pTDefRegMap(@Self)^.clr := $01000000;
  28128. end;
  28129. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28130. begin
  28131. if thebits = 0 then
  28132. pTDefRegMap(@Self)^.clr := $01000000
  28133. else
  28134. pTDefRegMap(@Self)^.&set := $01000000;
  28135. end;
  28136. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28137. begin
  28138. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28139. end;
  28140. procedure TINT_IEC1.setI2C2SIE; inline;
  28141. begin
  28142. pTDefRegMap(@Self)^.&set := $02000000;
  28143. end;
  28144. procedure TINT_IEC1.clearI2C2SIE; inline;
  28145. begin
  28146. pTDefRegMap(@Self)^.clr := $02000000;
  28147. end;
  28148. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28149. begin
  28150. if thebits = 0 then
  28151. pTDefRegMap(@Self)^.clr := $02000000
  28152. else
  28153. pTDefRegMap(@Self)^.&set := $02000000;
  28154. end;
  28155. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28156. begin
  28157. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28158. end;
  28159. procedure TINT_IEC1.setI2C2MIE; inline;
  28160. begin
  28161. pTDefRegMap(@Self)^.&set := $04000000;
  28162. end;
  28163. procedure TINT_IEC1.clearI2C2MIE; inline;
  28164. begin
  28165. pTDefRegMap(@Self)^.clr := $04000000;
  28166. end;
  28167. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28168. begin
  28169. if thebits = 0 then
  28170. pTDefRegMap(@Self)^.clr := $04000000
  28171. else
  28172. pTDefRegMap(@Self)^.&set := $04000000;
  28173. end;
  28174. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28175. begin
  28176. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28177. end;
  28178. procedure TINT_IEC1.setCTMUIE; inline;
  28179. begin
  28180. pTDefRegMap(@Self)^.&set := $08000000;
  28181. end;
  28182. procedure TINT_IEC1.clearCTMUIE; inline;
  28183. begin
  28184. pTDefRegMap(@Self)^.clr := $08000000;
  28185. end;
  28186. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28187. begin
  28188. if thebits = 0 then
  28189. pTDefRegMap(@Self)^.clr := $08000000
  28190. else
  28191. pTDefRegMap(@Self)^.&set := $08000000;
  28192. end;
  28193. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28194. begin
  28195. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28196. end;
  28197. procedure TINT_IEC1.setDMA0IE; inline;
  28198. begin
  28199. pTDefRegMap(@Self)^.&set := $10000000;
  28200. end;
  28201. procedure TINT_IEC1.clearDMA0IE; inline;
  28202. begin
  28203. pTDefRegMap(@Self)^.clr := $10000000;
  28204. end;
  28205. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28206. begin
  28207. if thebits = 0 then
  28208. pTDefRegMap(@Self)^.clr := $10000000
  28209. else
  28210. pTDefRegMap(@Self)^.&set := $10000000;
  28211. end;
  28212. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28213. begin
  28214. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28215. end;
  28216. procedure TINT_IEC1.setDMA1IE; inline;
  28217. begin
  28218. pTDefRegMap(@Self)^.&set := $20000000;
  28219. end;
  28220. procedure TINT_IEC1.clearDMA1IE; inline;
  28221. begin
  28222. pTDefRegMap(@Self)^.clr := $20000000;
  28223. end;
  28224. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28225. begin
  28226. if thebits = 0 then
  28227. pTDefRegMap(@Self)^.clr := $20000000
  28228. else
  28229. pTDefRegMap(@Self)^.&set := $20000000;
  28230. end;
  28231. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28232. begin
  28233. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28234. end;
  28235. procedure TINT_IEC1.setDMA2IE; inline;
  28236. begin
  28237. pTDefRegMap(@Self)^.&set := $40000000;
  28238. end;
  28239. procedure TINT_IEC1.clearDMA2IE; inline;
  28240. begin
  28241. pTDefRegMap(@Self)^.clr := $40000000;
  28242. end;
  28243. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28244. begin
  28245. if thebits = 0 then
  28246. pTDefRegMap(@Self)^.clr := $40000000
  28247. else
  28248. pTDefRegMap(@Self)^.&set := $40000000;
  28249. end;
  28250. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28251. begin
  28252. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28253. end;
  28254. procedure TINT_IEC1.setDMA3IE; inline;
  28255. begin
  28256. pTDefRegMap(@Self)^.&set := $80000000;
  28257. end;
  28258. procedure TINT_IEC1.clearDMA3IE; inline;
  28259. begin
  28260. pTDefRegMap(@Self)^.clr := $80000000;
  28261. end;
  28262. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28263. begin
  28264. if thebits = 0 then
  28265. pTDefRegMap(@Self)^.clr := $80000000
  28266. else
  28267. pTDefRegMap(@Self)^.&set := $80000000;
  28268. end;
  28269. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28270. begin
  28271. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28272. end;
  28273. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28274. begin
  28275. pTDefRegMap(@Self)^.val := thebits;
  28276. end;
  28277. function TINT_IEC1.getw : TBits_32; inline;
  28278. begin
  28279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28280. end;
  28281. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28282. begin
  28283. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28284. end;
  28285. function TINT_IPC0.getCTIS : TBits_2; inline;
  28286. begin
  28287. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28288. end;
  28289. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28290. begin
  28291. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28292. end;
  28293. function TINT_IPC0.getCTIP : TBits_3; inline;
  28294. begin
  28295. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28296. end;
  28297. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28298. begin
  28299. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28300. end;
  28301. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28302. begin
  28303. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28304. end;
  28305. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28306. begin
  28307. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28308. end;
  28309. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28310. begin
  28311. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28312. end;
  28313. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28314. begin
  28315. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28316. end;
  28317. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28318. begin
  28319. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28320. end;
  28321. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28322. begin
  28323. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28324. end;
  28325. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28326. begin
  28327. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28328. end;
  28329. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28330. begin
  28331. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28332. end;
  28333. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28334. begin
  28335. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28336. end;
  28337. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28338. begin
  28339. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28340. end;
  28341. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28342. begin
  28343. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28344. end;
  28345. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28346. begin
  28347. pTDefRegMap(@Self)^.val := thebits;
  28348. end;
  28349. function TINT_IPC0.getw : TBits_32; inline;
  28350. begin
  28351. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28352. end;
  28353. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28354. begin
  28355. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28356. end;
  28357. function TINT_IPC1.getT1IS : TBits_2; inline;
  28358. begin
  28359. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28360. end;
  28361. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28362. begin
  28363. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28364. end;
  28365. function TINT_IPC1.getT1IP : TBits_3; inline;
  28366. begin
  28367. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28368. end;
  28369. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  28370. begin
  28371. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28372. end;
  28373. function TINT_IPC1.getIC1IS : TBits_2; inline;
  28374. begin
  28375. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28376. end;
  28377. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  28378. begin
  28379. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28380. end;
  28381. function TINT_IPC1.getIC1IP : TBits_3; inline;
  28382. begin
  28383. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28384. end;
  28385. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  28386. begin
  28387. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28388. end;
  28389. function TINT_IPC1.getOC1IS : TBits_2; inline;
  28390. begin
  28391. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28392. end;
  28393. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  28394. begin
  28395. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28396. end;
  28397. function TINT_IPC1.getOC1IP : TBits_3; inline;
  28398. begin
  28399. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28400. end;
  28401. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  28402. begin
  28403. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28404. end;
  28405. function TINT_IPC1.getINT1IS : TBits_2; inline;
  28406. begin
  28407. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28408. end;
  28409. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  28410. begin
  28411. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28412. end;
  28413. function TINT_IPC1.getINT1IP : TBits_3; inline;
  28414. begin
  28415. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28416. end;
  28417. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  28418. begin
  28419. pTDefRegMap(@Self)^.val := thebits;
  28420. end;
  28421. function TINT_IPC1.getw : TBits_32; inline;
  28422. begin
  28423. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28424. end;
  28425. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  28426. begin
  28427. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28428. end;
  28429. function TINT_IPC2.getT2IS : TBits_2; inline;
  28430. begin
  28431. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28432. end;
  28433. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  28434. begin
  28435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28436. end;
  28437. function TINT_IPC2.getT2IP : TBits_3; inline;
  28438. begin
  28439. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28440. end;
  28441. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  28442. begin
  28443. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28444. end;
  28445. function TINT_IPC2.getIC2IS : TBits_2; inline;
  28446. begin
  28447. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28448. end;
  28449. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  28450. begin
  28451. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28452. end;
  28453. function TINT_IPC2.getIC2IP : TBits_3; inline;
  28454. begin
  28455. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28456. end;
  28457. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  28458. begin
  28459. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28460. end;
  28461. function TINT_IPC2.getOC2IS : TBits_2; inline;
  28462. begin
  28463. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28464. end;
  28465. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  28466. begin
  28467. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28468. end;
  28469. function TINT_IPC2.getOC2IP : TBits_3; inline;
  28470. begin
  28471. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28472. end;
  28473. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  28474. begin
  28475. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28476. end;
  28477. function TINT_IPC2.getINT2IS : TBits_2; inline;
  28478. begin
  28479. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28480. end;
  28481. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  28482. begin
  28483. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28484. end;
  28485. function TINT_IPC2.getINT2IP : TBits_3; inline;
  28486. begin
  28487. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28488. end;
  28489. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  28490. begin
  28491. pTDefRegMap(@Self)^.val := thebits;
  28492. end;
  28493. function TINT_IPC2.getw : TBits_32; inline;
  28494. begin
  28495. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28496. end;
  28497. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  28498. begin
  28499. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28500. end;
  28501. function TINT_IPC3.getT3IS : TBits_2; inline;
  28502. begin
  28503. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28504. end;
  28505. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  28506. begin
  28507. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28508. end;
  28509. function TINT_IPC3.getT3IP : TBits_3; inline;
  28510. begin
  28511. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28512. end;
  28513. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  28514. begin
  28515. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28516. end;
  28517. function TINT_IPC3.getIC3IS : TBits_2; inline;
  28518. begin
  28519. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28520. end;
  28521. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  28522. begin
  28523. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28524. end;
  28525. function TINT_IPC3.getIC3IP : TBits_3; inline;
  28526. begin
  28527. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28528. end;
  28529. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  28530. begin
  28531. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28532. end;
  28533. function TINT_IPC3.getOC3IS : TBits_2; inline;
  28534. begin
  28535. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28536. end;
  28537. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  28538. begin
  28539. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28540. end;
  28541. function TINT_IPC3.getOC3IP : TBits_3; inline;
  28542. begin
  28543. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28544. end;
  28545. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  28546. begin
  28547. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28548. end;
  28549. function TINT_IPC3.getINT3IS : TBits_2; inline;
  28550. begin
  28551. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28552. end;
  28553. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  28554. begin
  28555. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28556. end;
  28557. function TINT_IPC3.getINT3IP : TBits_3; inline;
  28558. begin
  28559. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28560. end;
  28561. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  28562. begin
  28563. pTDefRegMap(@Self)^.val := thebits;
  28564. end;
  28565. function TINT_IPC3.getw : TBits_32; inline;
  28566. begin
  28567. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28568. end;
  28569. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  28570. begin
  28571. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28572. end;
  28573. function TINT_IPC4.getT4IS : TBits_2; inline;
  28574. begin
  28575. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28576. end;
  28577. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  28578. begin
  28579. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28580. end;
  28581. function TINT_IPC4.getT4IP : TBits_3; inline;
  28582. begin
  28583. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28584. end;
  28585. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  28586. begin
  28587. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28588. end;
  28589. function TINT_IPC4.getIC4IS : TBits_2; inline;
  28590. begin
  28591. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28592. end;
  28593. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  28594. begin
  28595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28596. end;
  28597. function TINT_IPC4.getIC4IP : TBits_3; inline;
  28598. begin
  28599. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28600. end;
  28601. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  28602. begin
  28603. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28604. end;
  28605. function TINT_IPC4.getOC4IS : TBits_2; inline;
  28606. begin
  28607. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28608. end;
  28609. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  28610. begin
  28611. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28612. end;
  28613. function TINT_IPC4.getOC4IP : TBits_3; inline;
  28614. begin
  28615. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28616. end;
  28617. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  28618. begin
  28619. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28620. end;
  28621. function TINT_IPC4.getINT4IS : TBits_2; inline;
  28622. begin
  28623. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28624. end;
  28625. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  28626. begin
  28627. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28628. end;
  28629. function TINT_IPC4.getINT4IP : TBits_3; inline;
  28630. begin
  28631. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28632. end;
  28633. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  28634. begin
  28635. pTDefRegMap(@Self)^.val := thebits;
  28636. end;
  28637. function TINT_IPC4.getw : TBits_32; inline;
  28638. begin
  28639. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28640. end;
  28641. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  28642. begin
  28643. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28644. end;
  28645. function TINT_IPC5.getT5IS : TBits_2; inline;
  28646. begin
  28647. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28648. end;
  28649. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  28650. begin
  28651. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28652. end;
  28653. function TINT_IPC5.getT5IP : TBits_3; inline;
  28654. begin
  28655. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28656. end;
  28657. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  28658. begin
  28659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28660. end;
  28661. function TINT_IPC5.getIC5IS : TBits_2; inline;
  28662. begin
  28663. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28664. end;
  28665. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  28666. begin
  28667. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28668. end;
  28669. function TINT_IPC5.getIC5IP : TBits_3; inline;
  28670. begin
  28671. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28672. end;
  28673. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  28674. begin
  28675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28676. end;
  28677. function TINT_IPC5.getOC5IS : TBits_2; inline;
  28678. begin
  28679. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28680. end;
  28681. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  28682. begin
  28683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28684. end;
  28685. function TINT_IPC5.getOC5IP : TBits_3; inline;
  28686. begin
  28687. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28688. end;
  28689. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  28690. begin
  28691. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28692. end;
  28693. function TINT_IPC5.getAD1IS : TBits_2; inline;
  28694. begin
  28695. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28696. end;
  28697. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  28698. begin
  28699. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28700. end;
  28701. function TINT_IPC5.getAD1IP : TBits_3; inline;
  28702. begin
  28703. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28704. end;
  28705. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  28706. begin
  28707. pTDefRegMap(@Self)^.val := thebits;
  28708. end;
  28709. function TINT_IPC5.getw : TBits_32; inline;
  28710. begin
  28711. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28712. end;
  28713. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  28714. begin
  28715. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28716. end;
  28717. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  28718. begin
  28719. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28720. end;
  28721. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  28722. begin
  28723. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28724. end;
  28725. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  28726. begin
  28727. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28728. end;
  28729. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  28730. begin
  28731. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28732. end;
  28733. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  28734. begin
  28735. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28736. end;
  28737. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  28738. begin
  28739. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28740. end;
  28741. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  28742. begin
  28743. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28744. end;
  28745. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  28746. begin
  28747. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28748. end;
  28749. function TINT_IPC6.getFCEIS : TBits_2; inline;
  28750. begin
  28751. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28752. end;
  28753. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  28754. begin
  28755. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28756. end;
  28757. function TINT_IPC6.getFCEIP : TBits_3; inline;
  28758. begin
  28759. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28760. end;
  28761. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  28762. begin
  28763. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28764. end;
  28765. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  28766. begin
  28767. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28768. end;
  28769. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  28770. begin
  28771. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28772. end;
  28773. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  28774. begin
  28775. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28776. end;
  28777. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  28778. begin
  28779. pTDefRegMap(@Self)^.val := thebits;
  28780. end;
  28781. function TINT_IPC6.getw : TBits_32; inline;
  28782. begin
  28783. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28784. end;
  28785. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  28786. begin
  28787. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28788. end;
  28789. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  28790. begin
  28791. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28792. end;
  28793. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  28794. begin
  28795. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28796. end;
  28797. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  28798. begin
  28799. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28800. end;
  28801. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  28802. begin
  28803. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28804. end;
  28805. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  28806. begin
  28807. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28808. end;
  28809. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  28810. begin
  28811. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28812. end;
  28813. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  28814. begin
  28815. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28816. end;
  28817. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  28818. begin
  28819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28820. end;
  28821. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  28822. begin
  28823. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28824. end;
  28825. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  28826. begin
  28827. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28828. end;
  28829. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  28830. begin
  28831. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28832. end;
  28833. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  28834. begin
  28835. pTDefRegMap(@Self)^.val := thebits;
  28836. end;
  28837. function TINT_IPC7.getw : TBits_32; inline;
  28838. begin
  28839. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28840. end;
  28841. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  28842. begin
  28843. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28844. end;
  28845. function TINT_IPC8.getU1IS : TBits_2; inline;
  28846. begin
  28847. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28848. end;
  28849. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  28850. begin
  28851. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28852. end;
  28853. function TINT_IPC8.getU1IP : TBits_3; inline;
  28854. begin
  28855. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28856. end;
  28857. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  28858. begin
  28859. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28860. end;
  28861. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  28862. begin
  28863. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28864. end;
  28865. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  28866. begin
  28867. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28868. end;
  28869. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  28870. begin
  28871. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28872. end;
  28873. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  28874. begin
  28875. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28876. end;
  28877. function TINT_IPC8.getCNIS : TBits_2; inline;
  28878. begin
  28879. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28880. end;
  28881. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  28882. begin
  28883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28884. end;
  28885. function TINT_IPC8.getCNIP : TBits_3; inline;
  28886. begin
  28887. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28888. end;
  28889. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  28890. begin
  28891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28892. end;
  28893. function TINT_IPC8.getPMPIS : TBits_2; inline;
  28894. begin
  28895. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28896. end;
  28897. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  28898. begin
  28899. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28900. end;
  28901. function TINT_IPC8.getPMPIP : TBits_3; inline;
  28902. begin
  28903. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28904. end;
  28905. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  28906. begin
  28907. pTDefRegMap(@Self)^.val := thebits;
  28908. end;
  28909. function TINT_IPC8.getw : TBits_32; inline;
  28910. begin
  28911. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28912. end;
  28913. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  28914. begin
  28915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28916. end;
  28917. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  28918. begin
  28919. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28920. end;
  28921. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  28922. begin
  28923. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28924. end;
  28925. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  28926. begin
  28927. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28928. end;
  28929. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  28930. begin
  28931. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28932. end;
  28933. function TINT_IPC9.getU2IS : TBits_2; inline;
  28934. begin
  28935. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28936. end;
  28937. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  28938. begin
  28939. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28940. end;
  28941. function TINT_IPC9.getU2IP : TBits_3; inline;
  28942. begin
  28943. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28944. end;
  28945. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  28946. begin
  28947. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28948. end;
  28949. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  28950. begin
  28951. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28952. end;
  28953. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  28954. begin
  28955. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28956. end;
  28957. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  28958. begin
  28959. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28960. end;
  28961. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  28962. begin
  28963. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28964. end;
  28965. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  28966. begin
  28967. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28968. end;
  28969. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  28970. begin
  28971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28972. end;
  28973. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  28974. begin
  28975. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28976. end;
  28977. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  28978. begin
  28979. pTDefRegMap(@Self)^.val := thebits;
  28980. end;
  28981. function TINT_IPC9.getw : TBits_32; inline;
  28982. begin
  28983. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28984. end;
  28985. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  28986. begin
  28987. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28988. end;
  28989. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  28990. begin
  28991. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28992. end;
  28993. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  28994. begin
  28995. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28996. end;
  28997. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  28998. begin
  28999. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29000. end;
  29001. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29002. begin
  29003. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29004. end;
  29005. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29006. begin
  29007. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29008. end;
  29009. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29010. begin
  29011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29012. end;
  29013. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29014. begin
  29015. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29016. end;
  29017. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29018. begin
  29019. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29020. end;
  29021. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29022. begin
  29023. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29024. end;
  29025. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29026. begin
  29027. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29028. end;
  29029. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29030. begin
  29031. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29032. end;
  29033. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29034. begin
  29035. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29036. end;
  29037. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29038. begin
  29039. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29040. end;
  29041. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29042. begin
  29043. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29044. end;
  29045. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29046. begin
  29047. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29048. end;
  29049. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29050. begin
  29051. pTDefRegMap(@Self)^.val := thebits;
  29052. end;
  29053. function TINT_IPC10.getw : TBits_32; inline;
  29054. begin
  29055. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29056. end;
  29057. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29058. begin
  29059. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29060. end;
  29061. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29062. begin
  29063. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29064. end;
  29065. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29066. begin
  29067. pTDefRegMap(@Self)^.&set := $00000040;
  29068. end;
  29069. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29070. begin
  29071. pTDefRegMap(@Self)^.clr := $00000040;
  29072. end;
  29073. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29074. begin
  29075. if thebits = 0 then
  29076. pTDefRegMap(@Self)^.clr := $00000040
  29077. else
  29078. pTDefRegMap(@Self)^.&set := $00000040;
  29079. end;
  29080. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29081. begin
  29082. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29083. end;
  29084. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29085. begin
  29086. pTDefRegMap(@Self)^.&set := $00010000;
  29087. end;
  29088. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29089. begin
  29090. pTDefRegMap(@Self)^.clr := $00010000;
  29091. end;
  29092. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29093. begin
  29094. if thebits = 0 then
  29095. pTDefRegMap(@Self)^.clr := $00010000
  29096. else
  29097. pTDefRegMap(@Self)^.&set := $00010000;
  29098. end;
  29099. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29100. begin
  29101. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29102. end;
  29103. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29104. begin
  29105. pTDefRegMap(@Self)^.&set := $00020000;
  29106. end;
  29107. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.clr := $00020000;
  29110. end;
  29111. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29112. begin
  29113. if thebits = 0 then
  29114. pTDefRegMap(@Self)^.clr := $00020000
  29115. else
  29116. pTDefRegMap(@Self)^.&set := $00020000;
  29117. end;
  29118. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29119. begin
  29120. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29121. end;
  29122. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29123. begin
  29124. pTDefRegMap(@Self)^.&set := $00040000;
  29125. end;
  29126. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29127. begin
  29128. pTDefRegMap(@Self)^.clr := $00040000;
  29129. end;
  29130. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29131. begin
  29132. if thebits = 0 then
  29133. pTDefRegMap(@Self)^.clr := $00040000
  29134. else
  29135. pTDefRegMap(@Self)^.&set := $00040000;
  29136. end;
  29137. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29138. begin
  29139. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29140. end;
  29141. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29142. begin
  29143. pTDefRegMap(@Self)^.&set := $00080000;
  29144. end;
  29145. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29146. begin
  29147. pTDefRegMap(@Self)^.clr := $00080000;
  29148. end;
  29149. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29150. begin
  29151. if thebits = 0 then
  29152. pTDefRegMap(@Self)^.clr := $00080000
  29153. else
  29154. pTDefRegMap(@Self)^.&set := $00080000;
  29155. end;
  29156. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29157. begin
  29158. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29159. end;
  29160. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29161. begin
  29162. pTDefRegMap(@Self)^.&set := $00100000;
  29163. end;
  29164. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29165. begin
  29166. pTDefRegMap(@Self)^.clr := $00100000;
  29167. end;
  29168. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29169. begin
  29170. if thebits = 0 then
  29171. pTDefRegMap(@Self)^.clr := $00100000
  29172. else
  29173. pTDefRegMap(@Self)^.&set := $00100000;
  29174. end;
  29175. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29176. begin
  29177. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29178. end;
  29179. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.&set := $04000000;
  29182. end;
  29183. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29184. begin
  29185. pTDefRegMap(@Self)^.clr := $04000000;
  29186. end;
  29187. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29188. begin
  29189. if thebits = 0 then
  29190. pTDefRegMap(@Self)^.clr := $04000000
  29191. else
  29192. pTDefRegMap(@Self)^.&set := $04000000;
  29193. end;
  29194. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29195. begin
  29196. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29197. end;
  29198. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29199. begin
  29200. pTDefRegMap(@Self)^.val := thebits;
  29201. end;
  29202. function TBMX_BMXCON.getw : TBits_32; inline;
  29203. begin
  29204. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29205. end;
  29206. procedure TDMAC_DMACON.setDMABUSY; inline;
  29207. begin
  29208. pTDefRegMap(@Self)^.&set := $00000800;
  29209. end;
  29210. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29211. begin
  29212. pTDefRegMap(@Self)^.clr := $00000800;
  29213. end;
  29214. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29215. begin
  29216. if thebits = 0 then
  29217. pTDefRegMap(@Self)^.clr := $00000800
  29218. else
  29219. pTDefRegMap(@Self)^.&set := $00000800;
  29220. end;
  29221. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29222. begin
  29223. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29224. end;
  29225. procedure TDMAC_DMACON.setSUSPEND; inline;
  29226. begin
  29227. pTDefRegMap(@Self)^.&set := $00001000;
  29228. end;
  29229. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29230. begin
  29231. pTDefRegMap(@Self)^.clr := $00001000;
  29232. end;
  29233. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29234. begin
  29235. if thebits = 0 then
  29236. pTDefRegMap(@Self)^.clr := $00001000
  29237. else
  29238. pTDefRegMap(@Self)^.&set := $00001000;
  29239. end;
  29240. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29241. begin
  29242. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29243. end;
  29244. procedure TDMAC_DMACON.setON; inline;
  29245. begin
  29246. pTDefRegMap(@Self)^.&set := $00008000;
  29247. end;
  29248. procedure TDMAC_DMACON.clearON; inline;
  29249. begin
  29250. pTDefRegMap(@Self)^.clr := $00008000;
  29251. end;
  29252. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29253. begin
  29254. if thebits = 0 then
  29255. pTDefRegMap(@Self)^.clr := $00008000
  29256. else
  29257. pTDefRegMap(@Self)^.&set := $00008000;
  29258. end;
  29259. function TDMAC_DMACON.getON : TBits_1; inline;
  29260. begin
  29261. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29262. end;
  29263. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29264. begin
  29265. pTDefRegMap(@Self)^.val := thebits;
  29266. end;
  29267. function TDMAC_DMACON.getw : TBits_32; inline;
  29268. begin
  29269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29270. end;
  29271. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29272. begin
  29273. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29274. end;
  29275. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29276. begin
  29277. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29278. end;
  29279. procedure TDMAC_DMASTAT.setRDWR; inline;
  29280. begin
  29281. pTDefRegMap(@Self)^.&set := $00000008;
  29282. end;
  29283. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.clr := $00000008;
  29286. end;
  29287. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29288. begin
  29289. if thebits = 0 then
  29290. pTDefRegMap(@Self)^.clr := $00000008
  29291. else
  29292. pTDefRegMap(@Self)^.&set := $00000008;
  29293. end;
  29294. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29295. begin
  29296. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29297. end;
  29298. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29299. begin
  29300. pTDefRegMap(@Self)^.val := thebits;
  29301. end;
  29302. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29303. begin
  29304. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29305. end;
  29306. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29307. begin
  29308. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29309. end;
  29310. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29311. begin
  29312. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29313. end;
  29314. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29315. begin
  29316. pTDefRegMap(@Self)^.&set := $00000020;
  29317. end;
  29318. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29319. begin
  29320. pTDefRegMap(@Self)^.clr := $00000020;
  29321. end;
  29322. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29323. begin
  29324. if thebits = 0 then
  29325. pTDefRegMap(@Self)^.clr := $00000020
  29326. else
  29327. pTDefRegMap(@Self)^.&set := $00000020;
  29328. end;
  29329. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29330. begin
  29331. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29332. end;
  29333. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29334. begin
  29335. pTDefRegMap(@Self)^.&set := $00000040;
  29336. end;
  29337. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29338. begin
  29339. pTDefRegMap(@Self)^.clr := $00000040;
  29340. end;
  29341. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29342. begin
  29343. if thebits = 0 then
  29344. pTDefRegMap(@Self)^.clr := $00000040
  29345. else
  29346. pTDefRegMap(@Self)^.&set := $00000040;
  29347. end;
  29348. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29349. begin
  29350. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29351. end;
  29352. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29353. begin
  29354. pTDefRegMap(@Self)^.&set := $00000080;
  29355. end;
  29356. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29357. begin
  29358. pTDefRegMap(@Self)^.clr := $00000080;
  29359. end;
  29360. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29361. begin
  29362. if thebits = 0 then
  29363. pTDefRegMap(@Self)^.clr := $00000080
  29364. else
  29365. pTDefRegMap(@Self)^.&set := $00000080;
  29366. end;
  29367. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  29368. begin
  29369. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29370. end;
  29371. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  29374. end;
  29375. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  29376. begin
  29377. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  29378. end;
  29379. procedure TDMAC_DCRCCON.setBITO; inline;
  29380. begin
  29381. pTDefRegMap(@Self)^.&set := $01000000;
  29382. end;
  29383. procedure TDMAC_DCRCCON.clearBITO; inline;
  29384. begin
  29385. pTDefRegMap(@Self)^.clr := $01000000;
  29386. end;
  29387. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  29388. begin
  29389. if thebits = 0 then
  29390. pTDefRegMap(@Self)^.clr := $01000000
  29391. else
  29392. pTDefRegMap(@Self)^.&set := $01000000;
  29393. end;
  29394. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  29395. begin
  29396. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  29397. end;
  29398. procedure TDMAC_DCRCCON.setWBO; inline;
  29399. begin
  29400. pTDefRegMap(@Self)^.&set := $08000000;
  29401. end;
  29402. procedure TDMAC_DCRCCON.clearWBO; inline;
  29403. begin
  29404. pTDefRegMap(@Self)^.clr := $08000000;
  29405. end;
  29406. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  29407. begin
  29408. if thebits = 0 then
  29409. pTDefRegMap(@Self)^.clr := $08000000
  29410. else
  29411. pTDefRegMap(@Self)^.&set := $08000000;
  29412. end;
  29413. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  29414. begin
  29415. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  29416. end;
  29417. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  29418. begin
  29419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  29420. end;
  29421. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  29422. begin
  29423. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  29424. end;
  29425. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  29426. begin
  29427. pTDefRegMap(@Self)^.val := thebits;
  29428. end;
  29429. function TDMAC_DCRCCON.getw : TBits_32; inline;
  29430. begin
  29431. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29432. end;
  29433. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  29434. begin
  29435. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29436. end;
  29437. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  29438. begin
  29439. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29440. end;
  29441. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  29442. begin
  29443. pTDefRegMap(@Self)^.&set := $00000004;
  29444. end;
  29445. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  29446. begin
  29447. pTDefRegMap(@Self)^.clr := $00000004;
  29448. end;
  29449. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  29450. begin
  29451. if thebits = 0 then
  29452. pTDefRegMap(@Self)^.clr := $00000004
  29453. else
  29454. pTDefRegMap(@Self)^.&set := $00000004;
  29455. end;
  29456. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  29457. begin
  29458. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29459. end;
  29460. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  29461. begin
  29462. pTDefRegMap(@Self)^.&set := $00000010;
  29463. end;
  29464. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  29465. begin
  29466. pTDefRegMap(@Self)^.clr := $00000010;
  29467. end;
  29468. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  29469. begin
  29470. if thebits = 0 then
  29471. pTDefRegMap(@Self)^.clr := $00000010
  29472. else
  29473. pTDefRegMap(@Self)^.&set := $00000010;
  29474. end;
  29475. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  29476. begin
  29477. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29478. end;
  29479. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  29480. begin
  29481. pTDefRegMap(@Self)^.&set := $00000020;
  29482. end;
  29483. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.clr := $00000020;
  29486. end;
  29487. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  29488. begin
  29489. if thebits = 0 then
  29490. pTDefRegMap(@Self)^.clr := $00000020
  29491. else
  29492. pTDefRegMap(@Self)^.&set := $00000020;
  29493. end;
  29494. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  29495. begin
  29496. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29497. end;
  29498. procedure TDMAC0_DCH0CON.setCHAED; inline;
  29499. begin
  29500. pTDefRegMap(@Self)^.&set := $00000040;
  29501. end;
  29502. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  29503. begin
  29504. pTDefRegMap(@Self)^.clr := $00000040;
  29505. end;
  29506. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  29507. begin
  29508. if thebits = 0 then
  29509. pTDefRegMap(@Self)^.clr := $00000040
  29510. else
  29511. pTDefRegMap(@Self)^.&set := $00000040;
  29512. end;
  29513. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  29514. begin
  29515. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29516. end;
  29517. procedure TDMAC0_DCH0CON.setCHEN; inline;
  29518. begin
  29519. pTDefRegMap(@Self)^.&set := $00000080;
  29520. end;
  29521. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  29522. begin
  29523. pTDefRegMap(@Self)^.clr := $00000080;
  29524. end;
  29525. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  29526. begin
  29527. if thebits = 0 then
  29528. pTDefRegMap(@Self)^.clr := $00000080
  29529. else
  29530. pTDefRegMap(@Self)^.&set := $00000080;
  29531. end;
  29532. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  29533. begin
  29534. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29535. end;
  29536. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  29537. begin
  29538. pTDefRegMap(@Self)^.&set := $00000100;
  29539. end;
  29540. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  29541. begin
  29542. pTDefRegMap(@Self)^.clr := $00000100;
  29543. end;
  29544. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  29545. begin
  29546. if thebits = 0 then
  29547. pTDefRegMap(@Self)^.clr := $00000100
  29548. else
  29549. pTDefRegMap(@Self)^.&set := $00000100;
  29550. end;
  29551. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  29552. begin
  29553. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  29554. end;
  29555. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  29556. begin
  29557. pTDefRegMap(@Self)^.&set := $00008000;
  29558. end;
  29559. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  29560. begin
  29561. pTDefRegMap(@Self)^.clr := $00008000;
  29562. end;
  29563. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  29564. begin
  29565. if thebits = 0 then
  29566. pTDefRegMap(@Self)^.clr := $00008000
  29567. else
  29568. pTDefRegMap(@Self)^.&set := $00008000;
  29569. end;
  29570. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  29571. begin
  29572. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29573. end;
  29574. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  29575. begin
  29576. pTDefRegMap(@Self)^.val := thebits;
  29577. end;
  29578. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  29579. begin
  29580. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29581. end;
  29582. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  29583. begin
  29584. pTDefRegMap(@Self)^.&set := $00000008;
  29585. end;
  29586. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  29587. begin
  29588. pTDefRegMap(@Self)^.clr := $00000008;
  29589. end;
  29590. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  29591. begin
  29592. if thebits = 0 then
  29593. pTDefRegMap(@Self)^.clr := $00000008
  29594. else
  29595. pTDefRegMap(@Self)^.&set := $00000008;
  29596. end;
  29597. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  29598. begin
  29599. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29600. end;
  29601. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  29602. begin
  29603. pTDefRegMap(@Self)^.&set := $00000010;
  29604. end;
  29605. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  29606. begin
  29607. pTDefRegMap(@Self)^.clr := $00000010;
  29608. end;
  29609. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  29610. begin
  29611. if thebits = 0 then
  29612. pTDefRegMap(@Self)^.clr := $00000010
  29613. else
  29614. pTDefRegMap(@Self)^.&set := $00000010;
  29615. end;
  29616. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  29617. begin
  29618. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29619. end;
  29620. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  29621. begin
  29622. pTDefRegMap(@Self)^.&set := $00000020;
  29623. end;
  29624. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  29625. begin
  29626. pTDefRegMap(@Self)^.clr := $00000020;
  29627. end;
  29628. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  29629. begin
  29630. if thebits = 0 then
  29631. pTDefRegMap(@Self)^.clr := $00000020
  29632. else
  29633. pTDefRegMap(@Self)^.&set := $00000020;
  29634. end;
  29635. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  29636. begin
  29637. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29638. end;
  29639. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  29640. begin
  29641. pTDefRegMap(@Self)^.&set := $00000040;
  29642. end;
  29643. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.clr := $00000040;
  29646. end;
  29647. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  29648. begin
  29649. if thebits = 0 then
  29650. pTDefRegMap(@Self)^.clr := $00000040
  29651. else
  29652. pTDefRegMap(@Self)^.&set := $00000040;
  29653. end;
  29654. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  29655. begin
  29656. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29657. end;
  29658. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  29659. begin
  29660. pTDefRegMap(@Self)^.&set := $00000080;
  29661. end;
  29662. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  29663. begin
  29664. pTDefRegMap(@Self)^.clr := $00000080;
  29665. end;
  29666. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  29667. begin
  29668. if thebits = 0 then
  29669. pTDefRegMap(@Self)^.clr := $00000080
  29670. else
  29671. pTDefRegMap(@Self)^.&set := $00000080;
  29672. end;
  29673. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  29674. begin
  29675. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29676. end;
  29677. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  29678. begin
  29679. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  29680. end;
  29681. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  29682. begin
  29683. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  29684. end;
  29685. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  29686. begin
  29687. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  29688. end;
  29689. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  29690. begin
  29691. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  29692. end;
  29693. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  29694. begin
  29695. pTDefRegMap(@Self)^.val := thebits;
  29696. end;
  29697. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  29698. begin
  29699. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29700. end;
  29701. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  29702. begin
  29703. pTDefRegMap(@Self)^.&set := $00000001;
  29704. end;
  29705. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  29706. begin
  29707. pTDefRegMap(@Self)^.clr := $00000001;
  29708. end;
  29709. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  29710. begin
  29711. if thebits = 0 then
  29712. pTDefRegMap(@Self)^.clr := $00000001
  29713. else
  29714. pTDefRegMap(@Self)^.&set := $00000001;
  29715. end;
  29716. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  29717. begin
  29718. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  29719. end;
  29720. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  29721. begin
  29722. pTDefRegMap(@Self)^.&set := $00000002;
  29723. end;
  29724. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  29725. begin
  29726. pTDefRegMap(@Self)^.clr := $00000002;
  29727. end;
  29728. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  29729. begin
  29730. if thebits = 0 then
  29731. pTDefRegMap(@Self)^.clr := $00000002
  29732. else
  29733. pTDefRegMap(@Self)^.&set := $00000002;
  29734. end;
  29735. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  29736. begin
  29737. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  29738. end;
  29739. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  29740. begin
  29741. pTDefRegMap(@Self)^.&set := $00000004;
  29742. end;
  29743. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  29744. begin
  29745. pTDefRegMap(@Self)^.clr := $00000004;
  29746. end;
  29747. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  29748. begin
  29749. if thebits = 0 then
  29750. pTDefRegMap(@Self)^.clr := $00000004
  29751. else
  29752. pTDefRegMap(@Self)^.&set := $00000004;
  29753. end;
  29754. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  29755. begin
  29756. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  29757. end;
  29758. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  29759. begin
  29760. pTDefRegMap(@Self)^.&set := $00000008;
  29761. end;
  29762. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  29763. begin
  29764. pTDefRegMap(@Self)^.clr := $00000008;
  29765. end;
  29766. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  29767. begin
  29768. if thebits = 0 then
  29769. pTDefRegMap(@Self)^.clr := $00000008
  29770. else
  29771. pTDefRegMap(@Self)^.&set := $00000008;
  29772. end;
  29773. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  29774. begin
  29775. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29776. end;
  29777. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  29778. begin
  29779. pTDefRegMap(@Self)^.&set := $00000010;
  29780. end;
  29781. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  29782. begin
  29783. pTDefRegMap(@Self)^.clr := $00000010;
  29784. end;
  29785. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  29786. begin
  29787. if thebits = 0 then
  29788. pTDefRegMap(@Self)^.clr := $00000010
  29789. else
  29790. pTDefRegMap(@Self)^.&set := $00000010;
  29791. end;
  29792. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  29793. begin
  29794. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  29795. end;
  29796. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  29797. begin
  29798. pTDefRegMap(@Self)^.&set := $00000020;
  29799. end;
  29800. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  29801. begin
  29802. pTDefRegMap(@Self)^.clr := $00000020;
  29803. end;
  29804. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  29805. begin
  29806. if thebits = 0 then
  29807. pTDefRegMap(@Self)^.clr := $00000020
  29808. else
  29809. pTDefRegMap(@Self)^.&set := $00000020;
  29810. end;
  29811. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  29812. begin
  29813. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29814. end;
  29815. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  29816. begin
  29817. pTDefRegMap(@Self)^.&set := $00000040;
  29818. end;
  29819. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  29820. begin
  29821. pTDefRegMap(@Self)^.clr := $00000040;
  29822. end;
  29823. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  29824. begin
  29825. if thebits = 0 then
  29826. pTDefRegMap(@Self)^.clr := $00000040
  29827. else
  29828. pTDefRegMap(@Self)^.&set := $00000040;
  29829. end;
  29830. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  29831. begin
  29832. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29833. end;
  29834. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  29835. begin
  29836. pTDefRegMap(@Self)^.&set := $00000080;
  29837. end;
  29838. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  29839. begin
  29840. pTDefRegMap(@Self)^.clr := $00000080;
  29841. end;
  29842. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  29843. begin
  29844. if thebits = 0 then
  29845. pTDefRegMap(@Self)^.clr := $00000080
  29846. else
  29847. pTDefRegMap(@Self)^.&set := $00000080;
  29848. end;
  29849. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  29850. begin
  29851. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  29852. end;
  29853. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  29854. begin
  29855. pTDefRegMap(@Self)^.&set := $00010000;
  29856. end;
  29857. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  29858. begin
  29859. pTDefRegMap(@Self)^.clr := $00010000;
  29860. end;
  29861. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  29862. begin
  29863. if thebits = 0 then
  29864. pTDefRegMap(@Self)^.clr := $00010000
  29865. else
  29866. pTDefRegMap(@Self)^.&set := $00010000;
  29867. end;
  29868. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  29869. begin
  29870. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29871. end;
  29872. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  29873. begin
  29874. pTDefRegMap(@Self)^.&set := $00020000;
  29875. end;
  29876. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  29877. begin
  29878. pTDefRegMap(@Self)^.clr := $00020000;
  29879. end;
  29880. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  29881. begin
  29882. if thebits = 0 then
  29883. pTDefRegMap(@Self)^.clr := $00020000
  29884. else
  29885. pTDefRegMap(@Self)^.&set := $00020000;
  29886. end;
  29887. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  29888. begin
  29889. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29890. end;
  29891. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  29892. begin
  29893. pTDefRegMap(@Self)^.&set := $00040000;
  29894. end;
  29895. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  29896. begin
  29897. pTDefRegMap(@Self)^.clr := $00040000;
  29898. end;
  29899. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  29900. begin
  29901. if thebits = 0 then
  29902. pTDefRegMap(@Self)^.clr := $00040000
  29903. else
  29904. pTDefRegMap(@Self)^.&set := $00040000;
  29905. end;
  29906. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  29907. begin
  29908. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29909. end;
  29910. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  29911. begin
  29912. pTDefRegMap(@Self)^.&set := $00080000;
  29913. end;
  29914. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  29915. begin
  29916. pTDefRegMap(@Self)^.clr := $00080000;
  29917. end;
  29918. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  29919. begin
  29920. if thebits = 0 then
  29921. pTDefRegMap(@Self)^.clr := $00080000
  29922. else
  29923. pTDefRegMap(@Self)^.&set := $00080000;
  29924. end;
  29925. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  29926. begin
  29927. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29928. end;
  29929. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  29930. begin
  29931. pTDefRegMap(@Self)^.&set := $00100000;
  29932. end;
  29933. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  29934. begin
  29935. pTDefRegMap(@Self)^.clr := $00100000;
  29936. end;
  29937. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  29938. begin
  29939. if thebits = 0 then
  29940. pTDefRegMap(@Self)^.clr := $00100000
  29941. else
  29942. pTDefRegMap(@Self)^.&set := $00100000;
  29943. end;
  29944. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  29945. begin
  29946. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29947. end;
  29948. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  29949. begin
  29950. pTDefRegMap(@Self)^.&set := $00200000;
  29951. end;
  29952. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  29953. begin
  29954. pTDefRegMap(@Self)^.clr := $00200000;
  29955. end;
  29956. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  29957. begin
  29958. if thebits = 0 then
  29959. pTDefRegMap(@Self)^.clr := $00200000
  29960. else
  29961. pTDefRegMap(@Self)^.&set := $00200000;
  29962. end;
  29963. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  29964. begin
  29965. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  29966. end;
  29967. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.&set := $00400000;
  29970. end;
  29971. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  29972. begin
  29973. pTDefRegMap(@Self)^.clr := $00400000;
  29974. end;
  29975. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  29976. begin
  29977. if thebits = 0 then
  29978. pTDefRegMap(@Self)^.clr := $00400000
  29979. else
  29980. pTDefRegMap(@Self)^.&set := $00400000;
  29981. end;
  29982. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  29983. begin
  29984. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  29985. end;
  29986. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  29987. begin
  29988. pTDefRegMap(@Self)^.&set := $00800000;
  29989. end;
  29990. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  29991. begin
  29992. pTDefRegMap(@Self)^.clr := $00800000;
  29993. end;
  29994. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  29995. begin
  29996. if thebits = 0 then
  29997. pTDefRegMap(@Self)^.clr := $00800000
  29998. else
  29999. pTDefRegMap(@Self)^.&set := $00800000;
  30000. end;
  30001. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30002. begin
  30003. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30004. end;
  30005. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30006. begin
  30007. pTDefRegMap(@Self)^.val := thebits;
  30008. end;
  30009. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30010. begin
  30011. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30012. end;
  30013. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30014. begin
  30015. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30016. end;
  30017. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30018. begin
  30019. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30020. end;
  30021. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30022. begin
  30023. pTDefRegMap(@Self)^.&set := $00000004;
  30024. end;
  30025. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30026. begin
  30027. pTDefRegMap(@Self)^.clr := $00000004;
  30028. end;
  30029. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30030. begin
  30031. if thebits = 0 then
  30032. pTDefRegMap(@Self)^.clr := $00000004
  30033. else
  30034. pTDefRegMap(@Self)^.&set := $00000004;
  30035. end;
  30036. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30037. begin
  30038. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30039. end;
  30040. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30041. begin
  30042. pTDefRegMap(@Self)^.&set := $00000010;
  30043. end;
  30044. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30045. begin
  30046. pTDefRegMap(@Self)^.clr := $00000010;
  30047. end;
  30048. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30049. begin
  30050. if thebits = 0 then
  30051. pTDefRegMap(@Self)^.clr := $00000010
  30052. else
  30053. pTDefRegMap(@Self)^.&set := $00000010;
  30054. end;
  30055. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30056. begin
  30057. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30058. end;
  30059. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.&set := $00000020;
  30062. end;
  30063. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30064. begin
  30065. pTDefRegMap(@Self)^.clr := $00000020;
  30066. end;
  30067. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30068. begin
  30069. if thebits = 0 then
  30070. pTDefRegMap(@Self)^.clr := $00000020
  30071. else
  30072. pTDefRegMap(@Self)^.&set := $00000020;
  30073. end;
  30074. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30075. begin
  30076. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30077. end;
  30078. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30079. begin
  30080. pTDefRegMap(@Self)^.&set := $00000040;
  30081. end;
  30082. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30083. begin
  30084. pTDefRegMap(@Self)^.clr := $00000040;
  30085. end;
  30086. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30087. begin
  30088. if thebits = 0 then
  30089. pTDefRegMap(@Self)^.clr := $00000040
  30090. else
  30091. pTDefRegMap(@Self)^.&set := $00000040;
  30092. end;
  30093. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30094. begin
  30095. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30096. end;
  30097. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30098. begin
  30099. pTDefRegMap(@Self)^.&set := $00000080;
  30100. end;
  30101. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30102. begin
  30103. pTDefRegMap(@Self)^.clr := $00000080;
  30104. end;
  30105. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30106. begin
  30107. if thebits = 0 then
  30108. pTDefRegMap(@Self)^.clr := $00000080
  30109. else
  30110. pTDefRegMap(@Self)^.&set := $00000080;
  30111. end;
  30112. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30113. begin
  30114. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30115. end;
  30116. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30117. begin
  30118. pTDefRegMap(@Self)^.&set := $00000100;
  30119. end;
  30120. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30121. begin
  30122. pTDefRegMap(@Self)^.clr := $00000100;
  30123. end;
  30124. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30125. begin
  30126. if thebits = 0 then
  30127. pTDefRegMap(@Self)^.clr := $00000100
  30128. else
  30129. pTDefRegMap(@Self)^.&set := $00000100;
  30130. end;
  30131. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30132. begin
  30133. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30134. end;
  30135. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30136. begin
  30137. pTDefRegMap(@Self)^.&set := $00008000;
  30138. end;
  30139. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30140. begin
  30141. pTDefRegMap(@Self)^.clr := $00008000;
  30142. end;
  30143. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30144. begin
  30145. if thebits = 0 then
  30146. pTDefRegMap(@Self)^.clr := $00008000
  30147. else
  30148. pTDefRegMap(@Self)^.&set := $00008000;
  30149. end;
  30150. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30151. begin
  30152. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30153. end;
  30154. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30155. begin
  30156. pTDefRegMap(@Self)^.val := thebits;
  30157. end;
  30158. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30159. begin
  30160. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30161. end;
  30162. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30163. begin
  30164. pTDefRegMap(@Self)^.&set := $00000008;
  30165. end;
  30166. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30167. begin
  30168. pTDefRegMap(@Self)^.clr := $00000008;
  30169. end;
  30170. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30171. begin
  30172. if thebits = 0 then
  30173. pTDefRegMap(@Self)^.clr := $00000008
  30174. else
  30175. pTDefRegMap(@Self)^.&set := $00000008;
  30176. end;
  30177. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30178. begin
  30179. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30180. end;
  30181. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30182. begin
  30183. pTDefRegMap(@Self)^.&set := $00000010;
  30184. end;
  30185. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30186. begin
  30187. pTDefRegMap(@Self)^.clr := $00000010;
  30188. end;
  30189. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30190. begin
  30191. if thebits = 0 then
  30192. pTDefRegMap(@Self)^.clr := $00000010
  30193. else
  30194. pTDefRegMap(@Self)^.&set := $00000010;
  30195. end;
  30196. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30197. begin
  30198. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30199. end;
  30200. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30201. begin
  30202. pTDefRegMap(@Self)^.&set := $00000020;
  30203. end;
  30204. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30205. begin
  30206. pTDefRegMap(@Self)^.clr := $00000020;
  30207. end;
  30208. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30209. begin
  30210. if thebits = 0 then
  30211. pTDefRegMap(@Self)^.clr := $00000020
  30212. else
  30213. pTDefRegMap(@Self)^.&set := $00000020;
  30214. end;
  30215. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30216. begin
  30217. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30218. end;
  30219. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30220. begin
  30221. pTDefRegMap(@Self)^.&set := $00000040;
  30222. end;
  30223. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30224. begin
  30225. pTDefRegMap(@Self)^.clr := $00000040;
  30226. end;
  30227. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30228. begin
  30229. if thebits = 0 then
  30230. pTDefRegMap(@Self)^.clr := $00000040
  30231. else
  30232. pTDefRegMap(@Self)^.&set := $00000040;
  30233. end;
  30234. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30235. begin
  30236. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30237. end;
  30238. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30239. begin
  30240. pTDefRegMap(@Self)^.&set := $00000080;
  30241. end;
  30242. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30243. begin
  30244. pTDefRegMap(@Self)^.clr := $00000080;
  30245. end;
  30246. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30247. begin
  30248. if thebits = 0 then
  30249. pTDefRegMap(@Self)^.clr := $00000080
  30250. else
  30251. pTDefRegMap(@Self)^.&set := $00000080;
  30252. end;
  30253. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30254. begin
  30255. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30256. end;
  30257. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30258. begin
  30259. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30260. end;
  30261. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30262. begin
  30263. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30264. end;
  30265. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30266. begin
  30267. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30268. end;
  30269. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30270. begin
  30271. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30272. end;
  30273. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30274. begin
  30275. pTDefRegMap(@Self)^.val := thebits;
  30276. end;
  30277. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30278. begin
  30279. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30280. end;
  30281. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30282. begin
  30283. pTDefRegMap(@Self)^.&set := $00000001;
  30284. end;
  30285. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30286. begin
  30287. pTDefRegMap(@Self)^.clr := $00000001;
  30288. end;
  30289. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30290. begin
  30291. if thebits = 0 then
  30292. pTDefRegMap(@Self)^.clr := $00000001
  30293. else
  30294. pTDefRegMap(@Self)^.&set := $00000001;
  30295. end;
  30296. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30297. begin
  30298. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30299. end;
  30300. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30301. begin
  30302. pTDefRegMap(@Self)^.&set := $00000002;
  30303. end;
  30304. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30305. begin
  30306. pTDefRegMap(@Self)^.clr := $00000002;
  30307. end;
  30308. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30309. begin
  30310. if thebits = 0 then
  30311. pTDefRegMap(@Self)^.clr := $00000002
  30312. else
  30313. pTDefRegMap(@Self)^.&set := $00000002;
  30314. end;
  30315. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30316. begin
  30317. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30318. end;
  30319. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30320. begin
  30321. pTDefRegMap(@Self)^.&set := $00000004;
  30322. end;
  30323. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30324. begin
  30325. pTDefRegMap(@Self)^.clr := $00000004;
  30326. end;
  30327. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30328. begin
  30329. if thebits = 0 then
  30330. pTDefRegMap(@Self)^.clr := $00000004
  30331. else
  30332. pTDefRegMap(@Self)^.&set := $00000004;
  30333. end;
  30334. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30335. begin
  30336. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30337. end;
  30338. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30339. begin
  30340. pTDefRegMap(@Self)^.&set := $00000008;
  30341. end;
  30342. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30343. begin
  30344. pTDefRegMap(@Self)^.clr := $00000008;
  30345. end;
  30346. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30347. begin
  30348. if thebits = 0 then
  30349. pTDefRegMap(@Self)^.clr := $00000008
  30350. else
  30351. pTDefRegMap(@Self)^.&set := $00000008;
  30352. end;
  30353. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30354. begin
  30355. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30356. end;
  30357. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30358. begin
  30359. pTDefRegMap(@Self)^.&set := $00000010;
  30360. end;
  30361. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30362. begin
  30363. pTDefRegMap(@Self)^.clr := $00000010;
  30364. end;
  30365. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  30366. begin
  30367. if thebits = 0 then
  30368. pTDefRegMap(@Self)^.clr := $00000010
  30369. else
  30370. pTDefRegMap(@Self)^.&set := $00000010;
  30371. end;
  30372. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  30373. begin
  30374. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30375. end;
  30376. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  30377. begin
  30378. pTDefRegMap(@Self)^.&set := $00000020;
  30379. end;
  30380. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  30381. begin
  30382. pTDefRegMap(@Self)^.clr := $00000020;
  30383. end;
  30384. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  30385. begin
  30386. if thebits = 0 then
  30387. pTDefRegMap(@Self)^.clr := $00000020
  30388. else
  30389. pTDefRegMap(@Self)^.&set := $00000020;
  30390. end;
  30391. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  30392. begin
  30393. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30394. end;
  30395. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  30396. begin
  30397. pTDefRegMap(@Self)^.&set := $00000040;
  30398. end;
  30399. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  30400. begin
  30401. pTDefRegMap(@Self)^.clr := $00000040;
  30402. end;
  30403. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  30404. begin
  30405. if thebits = 0 then
  30406. pTDefRegMap(@Self)^.clr := $00000040
  30407. else
  30408. pTDefRegMap(@Self)^.&set := $00000040;
  30409. end;
  30410. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  30411. begin
  30412. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30413. end;
  30414. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  30415. begin
  30416. pTDefRegMap(@Self)^.&set := $00000080;
  30417. end;
  30418. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  30419. begin
  30420. pTDefRegMap(@Self)^.clr := $00000080;
  30421. end;
  30422. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  30423. begin
  30424. if thebits = 0 then
  30425. pTDefRegMap(@Self)^.clr := $00000080
  30426. else
  30427. pTDefRegMap(@Self)^.&set := $00000080;
  30428. end;
  30429. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  30430. begin
  30431. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30432. end;
  30433. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  30434. begin
  30435. pTDefRegMap(@Self)^.&set := $00010000;
  30436. end;
  30437. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  30438. begin
  30439. pTDefRegMap(@Self)^.clr := $00010000;
  30440. end;
  30441. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  30442. begin
  30443. if thebits = 0 then
  30444. pTDefRegMap(@Self)^.clr := $00010000
  30445. else
  30446. pTDefRegMap(@Self)^.&set := $00010000;
  30447. end;
  30448. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  30449. begin
  30450. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30451. end;
  30452. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  30453. begin
  30454. pTDefRegMap(@Self)^.&set := $00020000;
  30455. end;
  30456. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  30457. begin
  30458. pTDefRegMap(@Self)^.clr := $00020000;
  30459. end;
  30460. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  30461. begin
  30462. if thebits = 0 then
  30463. pTDefRegMap(@Self)^.clr := $00020000
  30464. else
  30465. pTDefRegMap(@Self)^.&set := $00020000;
  30466. end;
  30467. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  30468. begin
  30469. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30470. end;
  30471. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  30472. begin
  30473. pTDefRegMap(@Self)^.&set := $00040000;
  30474. end;
  30475. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  30476. begin
  30477. pTDefRegMap(@Self)^.clr := $00040000;
  30478. end;
  30479. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  30480. begin
  30481. if thebits = 0 then
  30482. pTDefRegMap(@Self)^.clr := $00040000
  30483. else
  30484. pTDefRegMap(@Self)^.&set := $00040000;
  30485. end;
  30486. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  30487. begin
  30488. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30489. end;
  30490. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  30491. begin
  30492. pTDefRegMap(@Self)^.&set := $00080000;
  30493. end;
  30494. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  30495. begin
  30496. pTDefRegMap(@Self)^.clr := $00080000;
  30497. end;
  30498. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  30499. begin
  30500. if thebits = 0 then
  30501. pTDefRegMap(@Self)^.clr := $00080000
  30502. else
  30503. pTDefRegMap(@Self)^.&set := $00080000;
  30504. end;
  30505. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  30506. begin
  30507. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30508. end;
  30509. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  30510. begin
  30511. pTDefRegMap(@Self)^.&set := $00100000;
  30512. end;
  30513. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  30514. begin
  30515. pTDefRegMap(@Self)^.clr := $00100000;
  30516. end;
  30517. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  30518. begin
  30519. if thebits = 0 then
  30520. pTDefRegMap(@Self)^.clr := $00100000
  30521. else
  30522. pTDefRegMap(@Self)^.&set := $00100000;
  30523. end;
  30524. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  30525. begin
  30526. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30527. end;
  30528. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  30529. begin
  30530. pTDefRegMap(@Self)^.&set := $00200000;
  30531. end;
  30532. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  30533. begin
  30534. pTDefRegMap(@Self)^.clr := $00200000;
  30535. end;
  30536. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  30537. begin
  30538. if thebits = 0 then
  30539. pTDefRegMap(@Self)^.clr := $00200000
  30540. else
  30541. pTDefRegMap(@Self)^.&set := $00200000;
  30542. end;
  30543. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  30544. begin
  30545. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30546. end;
  30547. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  30548. begin
  30549. pTDefRegMap(@Self)^.&set := $00400000;
  30550. end;
  30551. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  30552. begin
  30553. pTDefRegMap(@Self)^.clr := $00400000;
  30554. end;
  30555. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  30556. begin
  30557. if thebits = 0 then
  30558. pTDefRegMap(@Self)^.clr := $00400000
  30559. else
  30560. pTDefRegMap(@Self)^.&set := $00400000;
  30561. end;
  30562. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  30563. begin
  30564. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30565. end;
  30566. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  30567. begin
  30568. pTDefRegMap(@Self)^.&set := $00800000;
  30569. end;
  30570. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  30571. begin
  30572. pTDefRegMap(@Self)^.clr := $00800000;
  30573. end;
  30574. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  30575. begin
  30576. if thebits = 0 then
  30577. pTDefRegMap(@Self)^.clr := $00800000
  30578. else
  30579. pTDefRegMap(@Self)^.&set := $00800000;
  30580. end;
  30581. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  30582. begin
  30583. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30584. end;
  30585. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  30586. begin
  30587. pTDefRegMap(@Self)^.val := thebits;
  30588. end;
  30589. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  30590. begin
  30591. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30592. end;
  30593. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  30594. begin
  30595. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30596. end;
  30597. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  30598. begin
  30599. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30600. end;
  30601. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  30602. begin
  30603. pTDefRegMap(@Self)^.&set := $00000004;
  30604. end;
  30605. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  30606. begin
  30607. pTDefRegMap(@Self)^.clr := $00000004;
  30608. end;
  30609. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  30610. begin
  30611. if thebits = 0 then
  30612. pTDefRegMap(@Self)^.clr := $00000004
  30613. else
  30614. pTDefRegMap(@Self)^.&set := $00000004;
  30615. end;
  30616. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  30617. begin
  30618. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30619. end;
  30620. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  30621. begin
  30622. pTDefRegMap(@Self)^.&set := $00000010;
  30623. end;
  30624. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  30625. begin
  30626. pTDefRegMap(@Self)^.clr := $00000010;
  30627. end;
  30628. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  30629. begin
  30630. if thebits = 0 then
  30631. pTDefRegMap(@Self)^.clr := $00000010
  30632. else
  30633. pTDefRegMap(@Self)^.&set := $00000010;
  30634. end;
  30635. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  30636. begin
  30637. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30638. end;
  30639. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  30640. begin
  30641. pTDefRegMap(@Self)^.&set := $00000020;
  30642. end;
  30643. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  30644. begin
  30645. pTDefRegMap(@Self)^.clr := $00000020;
  30646. end;
  30647. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  30648. begin
  30649. if thebits = 0 then
  30650. pTDefRegMap(@Self)^.clr := $00000020
  30651. else
  30652. pTDefRegMap(@Self)^.&set := $00000020;
  30653. end;
  30654. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  30655. begin
  30656. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30657. end;
  30658. procedure TDMAC2_DCH2CON.setCHAED; inline;
  30659. begin
  30660. pTDefRegMap(@Self)^.&set := $00000040;
  30661. end;
  30662. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  30663. begin
  30664. pTDefRegMap(@Self)^.clr := $00000040;
  30665. end;
  30666. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  30667. begin
  30668. if thebits = 0 then
  30669. pTDefRegMap(@Self)^.clr := $00000040
  30670. else
  30671. pTDefRegMap(@Self)^.&set := $00000040;
  30672. end;
  30673. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  30674. begin
  30675. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30676. end;
  30677. procedure TDMAC2_DCH2CON.setCHEN; inline;
  30678. begin
  30679. pTDefRegMap(@Self)^.&set := $00000080;
  30680. end;
  30681. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  30682. begin
  30683. pTDefRegMap(@Self)^.clr := $00000080;
  30684. end;
  30685. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  30686. begin
  30687. if thebits = 0 then
  30688. pTDefRegMap(@Self)^.clr := $00000080
  30689. else
  30690. pTDefRegMap(@Self)^.&set := $00000080;
  30691. end;
  30692. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  30693. begin
  30694. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30695. end;
  30696. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  30697. begin
  30698. pTDefRegMap(@Self)^.&set := $00000100;
  30699. end;
  30700. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  30701. begin
  30702. pTDefRegMap(@Self)^.clr := $00000100;
  30703. end;
  30704. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  30705. begin
  30706. if thebits = 0 then
  30707. pTDefRegMap(@Self)^.clr := $00000100
  30708. else
  30709. pTDefRegMap(@Self)^.&set := $00000100;
  30710. end;
  30711. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  30712. begin
  30713. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30714. end;
  30715. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  30716. begin
  30717. pTDefRegMap(@Self)^.&set := $00008000;
  30718. end;
  30719. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  30720. begin
  30721. pTDefRegMap(@Self)^.clr := $00008000;
  30722. end;
  30723. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  30724. begin
  30725. if thebits = 0 then
  30726. pTDefRegMap(@Self)^.clr := $00008000
  30727. else
  30728. pTDefRegMap(@Self)^.&set := $00008000;
  30729. end;
  30730. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  30731. begin
  30732. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30733. end;
  30734. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  30735. begin
  30736. pTDefRegMap(@Self)^.val := thebits;
  30737. end;
  30738. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  30739. begin
  30740. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30741. end;
  30742. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  30743. begin
  30744. pTDefRegMap(@Self)^.&set := $00000008;
  30745. end;
  30746. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  30747. begin
  30748. pTDefRegMap(@Self)^.clr := $00000008;
  30749. end;
  30750. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  30751. begin
  30752. if thebits = 0 then
  30753. pTDefRegMap(@Self)^.clr := $00000008
  30754. else
  30755. pTDefRegMap(@Self)^.&set := $00000008;
  30756. end;
  30757. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  30758. begin
  30759. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30760. end;
  30761. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  30762. begin
  30763. pTDefRegMap(@Self)^.&set := $00000010;
  30764. end;
  30765. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  30766. begin
  30767. pTDefRegMap(@Self)^.clr := $00000010;
  30768. end;
  30769. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  30770. begin
  30771. if thebits = 0 then
  30772. pTDefRegMap(@Self)^.clr := $00000010
  30773. else
  30774. pTDefRegMap(@Self)^.&set := $00000010;
  30775. end;
  30776. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  30777. begin
  30778. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30779. end;
  30780. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  30781. begin
  30782. pTDefRegMap(@Self)^.&set := $00000020;
  30783. end;
  30784. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  30785. begin
  30786. pTDefRegMap(@Self)^.clr := $00000020;
  30787. end;
  30788. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  30789. begin
  30790. if thebits = 0 then
  30791. pTDefRegMap(@Self)^.clr := $00000020
  30792. else
  30793. pTDefRegMap(@Self)^.&set := $00000020;
  30794. end;
  30795. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  30796. begin
  30797. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30798. end;
  30799. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  30800. begin
  30801. pTDefRegMap(@Self)^.&set := $00000040;
  30802. end;
  30803. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  30804. begin
  30805. pTDefRegMap(@Self)^.clr := $00000040;
  30806. end;
  30807. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  30808. begin
  30809. if thebits = 0 then
  30810. pTDefRegMap(@Self)^.clr := $00000040
  30811. else
  30812. pTDefRegMap(@Self)^.&set := $00000040;
  30813. end;
  30814. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  30815. begin
  30816. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30817. end;
  30818. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  30819. begin
  30820. pTDefRegMap(@Self)^.&set := $00000080;
  30821. end;
  30822. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  30823. begin
  30824. pTDefRegMap(@Self)^.clr := $00000080;
  30825. end;
  30826. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  30827. begin
  30828. if thebits = 0 then
  30829. pTDefRegMap(@Self)^.clr := $00000080
  30830. else
  30831. pTDefRegMap(@Self)^.&set := $00000080;
  30832. end;
  30833. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  30834. begin
  30835. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30836. end;
  30837. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  30838. begin
  30839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30840. end;
  30841. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  30842. begin
  30843. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30844. end;
  30845. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  30846. begin
  30847. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30848. end;
  30849. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  30850. begin
  30851. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30852. end;
  30853. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  30854. begin
  30855. pTDefRegMap(@Self)^.val := thebits;
  30856. end;
  30857. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  30858. begin
  30859. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30860. end;
  30861. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  30862. begin
  30863. pTDefRegMap(@Self)^.&set := $00000001;
  30864. end;
  30865. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  30866. begin
  30867. pTDefRegMap(@Self)^.clr := $00000001;
  30868. end;
  30869. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  30870. begin
  30871. if thebits = 0 then
  30872. pTDefRegMap(@Self)^.clr := $00000001
  30873. else
  30874. pTDefRegMap(@Self)^.&set := $00000001;
  30875. end;
  30876. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  30877. begin
  30878. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30879. end;
  30880. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  30881. begin
  30882. pTDefRegMap(@Self)^.&set := $00000002;
  30883. end;
  30884. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  30885. begin
  30886. pTDefRegMap(@Self)^.clr := $00000002;
  30887. end;
  30888. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  30889. begin
  30890. if thebits = 0 then
  30891. pTDefRegMap(@Self)^.clr := $00000002
  30892. else
  30893. pTDefRegMap(@Self)^.&set := $00000002;
  30894. end;
  30895. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  30896. begin
  30897. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30898. end;
  30899. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  30900. begin
  30901. pTDefRegMap(@Self)^.&set := $00000004;
  30902. end;
  30903. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  30904. begin
  30905. pTDefRegMap(@Self)^.clr := $00000004;
  30906. end;
  30907. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  30908. begin
  30909. if thebits = 0 then
  30910. pTDefRegMap(@Self)^.clr := $00000004
  30911. else
  30912. pTDefRegMap(@Self)^.&set := $00000004;
  30913. end;
  30914. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  30915. begin
  30916. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30917. end;
  30918. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  30919. begin
  30920. pTDefRegMap(@Self)^.&set := $00000008;
  30921. end;
  30922. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  30923. begin
  30924. pTDefRegMap(@Self)^.clr := $00000008;
  30925. end;
  30926. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  30927. begin
  30928. if thebits = 0 then
  30929. pTDefRegMap(@Self)^.clr := $00000008
  30930. else
  30931. pTDefRegMap(@Self)^.&set := $00000008;
  30932. end;
  30933. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  30934. begin
  30935. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30936. end;
  30937. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  30938. begin
  30939. pTDefRegMap(@Self)^.&set := $00000010;
  30940. end;
  30941. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  30942. begin
  30943. pTDefRegMap(@Self)^.clr := $00000010;
  30944. end;
  30945. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  30946. begin
  30947. if thebits = 0 then
  30948. pTDefRegMap(@Self)^.clr := $00000010
  30949. else
  30950. pTDefRegMap(@Self)^.&set := $00000010;
  30951. end;
  30952. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  30953. begin
  30954. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30955. end;
  30956. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  30957. begin
  30958. pTDefRegMap(@Self)^.&set := $00000020;
  30959. end;
  30960. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  30961. begin
  30962. pTDefRegMap(@Self)^.clr := $00000020;
  30963. end;
  30964. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  30965. begin
  30966. if thebits = 0 then
  30967. pTDefRegMap(@Self)^.clr := $00000020
  30968. else
  30969. pTDefRegMap(@Self)^.&set := $00000020;
  30970. end;
  30971. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  30972. begin
  30973. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30974. end;
  30975. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  30976. begin
  30977. pTDefRegMap(@Self)^.&set := $00000040;
  30978. end;
  30979. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  30980. begin
  30981. pTDefRegMap(@Self)^.clr := $00000040;
  30982. end;
  30983. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  30984. begin
  30985. if thebits = 0 then
  30986. pTDefRegMap(@Self)^.clr := $00000040
  30987. else
  30988. pTDefRegMap(@Self)^.&set := $00000040;
  30989. end;
  30990. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  30991. begin
  30992. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30993. end;
  30994. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  30995. begin
  30996. pTDefRegMap(@Self)^.&set := $00000080;
  30997. end;
  30998. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  30999. begin
  31000. pTDefRegMap(@Self)^.clr := $00000080;
  31001. end;
  31002. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31003. begin
  31004. if thebits = 0 then
  31005. pTDefRegMap(@Self)^.clr := $00000080
  31006. else
  31007. pTDefRegMap(@Self)^.&set := $00000080;
  31008. end;
  31009. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31010. begin
  31011. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31012. end;
  31013. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31014. begin
  31015. pTDefRegMap(@Self)^.&set := $00010000;
  31016. end;
  31017. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31018. begin
  31019. pTDefRegMap(@Self)^.clr := $00010000;
  31020. end;
  31021. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31022. begin
  31023. if thebits = 0 then
  31024. pTDefRegMap(@Self)^.clr := $00010000
  31025. else
  31026. pTDefRegMap(@Self)^.&set := $00010000;
  31027. end;
  31028. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31029. begin
  31030. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31031. end;
  31032. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31033. begin
  31034. pTDefRegMap(@Self)^.&set := $00020000;
  31035. end;
  31036. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31037. begin
  31038. pTDefRegMap(@Self)^.clr := $00020000;
  31039. end;
  31040. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31041. begin
  31042. if thebits = 0 then
  31043. pTDefRegMap(@Self)^.clr := $00020000
  31044. else
  31045. pTDefRegMap(@Self)^.&set := $00020000;
  31046. end;
  31047. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31048. begin
  31049. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31050. end;
  31051. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31052. begin
  31053. pTDefRegMap(@Self)^.&set := $00040000;
  31054. end;
  31055. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31056. begin
  31057. pTDefRegMap(@Self)^.clr := $00040000;
  31058. end;
  31059. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31060. begin
  31061. if thebits = 0 then
  31062. pTDefRegMap(@Self)^.clr := $00040000
  31063. else
  31064. pTDefRegMap(@Self)^.&set := $00040000;
  31065. end;
  31066. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31067. begin
  31068. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31069. end;
  31070. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31071. begin
  31072. pTDefRegMap(@Self)^.&set := $00080000;
  31073. end;
  31074. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31075. begin
  31076. pTDefRegMap(@Self)^.clr := $00080000;
  31077. end;
  31078. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31079. begin
  31080. if thebits = 0 then
  31081. pTDefRegMap(@Self)^.clr := $00080000
  31082. else
  31083. pTDefRegMap(@Self)^.&set := $00080000;
  31084. end;
  31085. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31086. begin
  31087. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31088. end;
  31089. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31090. begin
  31091. pTDefRegMap(@Self)^.&set := $00100000;
  31092. end;
  31093. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31094. begin
  31095. pTDefRegMap(@Self)^.clr := $00100000;
  31096. end;
  31097. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31098. begin
  31099. if thebits = 0 then
  31100. pTDefRegMap(@Self)^.clr := $00100000
  31101. else
  31102. pTDefRegMap(@Self)^.&set := $00100000;
  31103. end;
  31104. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31105. begin
  31106. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31107. end;
  31108. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31109. begin
  31110. pTDefRegMap(@Self)^.&set := $00200000;
  31111. end;
  31112. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31113. begin
  31114. pTDefRegMap(@Self)^.clr := $00200000;
  31115. end;
  31116. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31117. begin
  31118. if thebits = 0 then
  31119. pTDefRegMap(@Self)^.clr := $00200000
  31120. else
  31121. pTDefRegMap(@Self)^.&set := $00200000;
  31122. end;
  31123. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31124. begin
  31125. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31126. end;
  31127. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31128. begin
  31129. pTDefRegMap(@Self)^.&set := $00400000;
  31130. end;
  31131. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31132. begin
  31133. pTDefRegMap(@Self)^.clr := $00400000;
  31134. end;
  31135. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31136. begin
  31137. if thebits = 0 then
  31138. pTDefRegMap(@Self)^.clr := $00400000
  31139. else
  31140. pTDefRegMap(@Self)^.&set := $00400000;
  31141. end;
  31142. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31143. begin
  31144. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31145. end;
  31146. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31147. begin
  31148. pTDefRegMap(@Self)^.&set := $00800000;
  31149. end;
  31150. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31151. begin
  31152. pTDefRegMap(@Self)^.clr := $00800000;
  31153. end;
  31154. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31155. begin
  31156. if thebits = 0 then
  31157. pTDefRegMap(@Self)^.clr := $00800000
  31158. else
  31159. pTDefRegMap(@Self)^.&set := $00800000;
  31160. end;
  31161. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31162. begin
  31163. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31164. end;
  31165. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31166. begin
  31167. pTDefRegMap(@Self)^.val := thebits;
  31168. end;
  31169. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31170. begin
  31171. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31172. end;
  31173. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31174. begin
  31175. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31176. end;
  31177. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31178. begin
  31179. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31180. end;
  31181. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31182. begin
  31183. pTDefRegMap(@Self)^.&set := $00000004;
  31184. end;
  31185. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31186. begin
  31187. pTDefRegMap(@Self)^.clr := $00000004;
  31188. end;
  31189. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31190. begin
  31191. if thebits = 0 then
  31192. pTDefRegMap(@Self)^.clr := $00000004
  31193. else
  31194. pTDefRegMap(@Self)^.&set := $00000004;
  31195. end;
  31196. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31197. begin
  31198. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31199. end;
  31200. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31201. begin
  31202. pTDefRegMap(@Self)^.&set := $00000010;
  31203. end;
  31204. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31205. begin
  31206. pTDefRegMap(@Self)^.clr := $00000010;
  31207. end;
  31208. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31209. begin
  31210. if thebits = 0 then
  31211. pTDefRegMap(@Self)^.clr := $00000010
  31212. else
  31213. pTDefRegMap(@Self)^.&set := $00000010;
  31214. end;
  31215. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31216. begin
  31217. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31218. end;
  31219. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31220. begin
  31221. pTDefRegMap(@Self)^.&set := $00000020;
  31222. end;
  31223. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31224. begin
  31225. pTDefRegMap(@Self)^.clr := $00000020;
  31226. end;
  31227. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31228. begin
  31229. if thebits = 0 then
  31230. pTDefRegMap(@Self)^.clr := $00000020
  31231. else
  31232. pTDefRegMap(@Self)^.&set := $00000020;
  31233. end;
  31234. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31235. begin
  31236. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31237. end;
  31238. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31239. begin
  31240. pTDefRegMap(@Self)^.&set := $00000040;
  31241. end;
  31242. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31243. begin
  31244. pTDefRegMap(@Self)^.clr := $00000040;
  31245. end;
  31246. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31247. begin
  31248. if thebits = 0 then
  31249. pTDefRegMap(@Self)^.clr := $00000040
  31250. else
  31251. pTDefRegMap(@Self)^.&set := $00000040;
  31252. end;
  31253. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31254. begin
  31255. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31256. end;
  31257. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31258. begin
  31259. pTDefRegMap(@Self)^.&set := $00000080;
  31260. end;
  31261. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31262. begin
  31263. pTDefRegMap(@Self)^.clr := $00000080;
  31264. end;
  31265. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31266. begin
  31267. if thebits = 0 then
  31268. pTDefRegMap(@Self)^.clr := $00000080
  31269. else
  31270. pTDefRegMap(@Self)^.&set := $00000080;
  31271. end;
  31272. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31273. begin
  31274. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31275. end;
  31276. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31277. begin
  31278. pTDefRegMap(@Self)^.&set := $00000100;
  31279. end;
  31280. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31281. begin
  31282. pTDefRegMap(@Self)^.clr := $00000100;
  31283. end;
  31284. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31285. begin
  31286. if thebits = 0 then
  31287. pTDefRegMap(@Self)^.clr := $00000100
  31288. else
  31289. pTDefRegMap(@Self)^.&set := $00000100;
  31290. end;
  31291. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31292. begin
  31293. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31294. end;
  31295. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31296. begin
  31297. pTDefRegMap(@Self)^.&set := $00008000;
  31298. end;
  31299. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31300. begin
  31301. pTDefRegMap(@Self)^.clr := $00008000;
  31302. end;
  31303. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31304. begin
  31305. if thebits = 0 then
  31306. pTDefRegMap(@Self)^.clr := $00008000
  31307. else
  31308. pTDefRegMap(@Self)^.&set := $00008000;
  31309. end;
  31310. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31311. begin
  31312. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31313. end;
  31314. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31315. begin
  31316. pTDefRegMap(@Self)^.val := thebits;
  31317. end;
  31318. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31319. begin
  31320. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31321. end;
  31322. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31323. begin
  31324. pTDefRegMap(@Self)^.&set := $00000008;
  31325. end;
  31326. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31327. begin
  31328. pTDefRegMap(@Self)^.clr := $00000008;
  31329. end;
  31330. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31331. begin
  31332. if thebits = 0 then
  31333. pTDefRegMap(@Self)^.clr := $00000008
  31334. else
  31335. pTDefRegMap(@Self)^.&set := $00000008;
  31336. end;
  31337. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31338. begin
  31339. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31340. end;
  31341. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31342. begin
  31343. pTDefRegMap(@Self)^.&set := $00000010;
  31344. end;
  31345. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31346. begin
  31347. pTDefRegMap(@Self)^.clr := $00000010;
  31348. end;
  31349. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31350. begin
  31351. if thebits = 0 then
  31352. pTDefRegMap(@Self)^.clr := $00000010
  31353. else
  31354. pTDefRegMap(@Self)^.&set := $00000010;
  31355. end;
  31356. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31357. begin
  31358. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31359. end;
  31360. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31361. begin
  31362. pTDefRegMap(@Self)^.&set := $00000020;
  31363. end;
  31364. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31365. begin
  31366. pTDefRegMap(@Self)^.clr := $00000020;
  31367. end;
  31368. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  31369. begin
  31370. if thebits = 0 then
  31371. pTDefRegMap(@Self)^.clr := $00000020
  31372. else
  31373. pTDefRegMap(@Self)^.&set := $00000020;
  31374. end;
  31375. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  31376. begin
  31377. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31378. end;
  31379. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  31380. begin
  31381. pTDefRegMap(@Self)^.&set := $00000040;
  31382. end;
  31383. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  31384. begin
  31385. pTDefRegMap(@Self)^.clr := $00000040;
  31386. end;
  31387. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  31388. begin
  31389. if thebits = 0 then
  31390. pTDefRegMap(@Self)^.clr := $00000040
  31391. else
  31392. pTDefRegMap(@Self)^.&set := $00000040;
  31393. end;
  31394. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  31395. begin
  31396. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31397. end;
  31398. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  31399. begin
  31400. pTDefRegMap(@Self)^.&set := $00000080;
  31401. end;
  31402. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  31403. begin
  31404. pTDefRegMap(@Self)^.clr := $00000080;
  31405. end;
  31406. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  31407. begin
  31408. if thebits = 0 then
  31409. pTDefRegMap(@Self)^.clr := $00000080
  31410. else
  31411. pTDefRegMap(@Self)^.&set := $00000080;
  31412. end;
  31413. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  31414. begin
  31415. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31416. end;
  31417. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  31418. begin
  31419. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31420. end;
  31421. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  31422. begin
  31423. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31424. end;
  31425. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  31426. begin
  31427. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31428. end;
  31429. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  31430. begin
  31431. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31432. end;
  31433. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  31434. begin
  31435. pTDefRegMap(@Self)^.val := thebits;
  31436. end;
  31437. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  31438. begin
  31439. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31440. end;
  31441. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  31442. begin
  31443. pTDefRegMap(@Self)^.&set := $00000001;
  31444. end;
  31445. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  31446. begin
  31447. pTDefRegMap(@Self)^.clr := $00000001;
  31448. end;
  31449. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  31450. begin
  31451. if thebits = 0 then
  31452. pTDefRegMap(@Self)^.clr := $00000001
  31453. else
  31454. pTDefRegMap(@Self)^.&set := $00000001;
  31455. end;
  31456. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  31457. begin
  31458. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31459. end;
  31460. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  31461. begin
  31462. pTDefRegMap(@Self)^.&set := $00000002;
  31463. end;
  31464. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  31465. begin
  31466. pTDefRegMap(@Self)^.clr := $00000002;
  31467. end;
  31468. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  31469. begin
  31470. if thebits = 0 then
  31471. pTDefRegMap(@Self)^.clr := $00000002
  31472. else
  31473. pTDefRegMap(@Self)^.&set := $00000002;
  31474. end;
  31475. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  31476. begin
  31477. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31478. end;
  31479. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  31480. begin
  31481. pTDefRegMap(@Self)^.&set := $00000004;
  31482. end;
  31483. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  31484. begin
  31485. pTDefRegMap(@Self)^.clr := $00000004;
  31486. end;
  31487. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  31488. begin
  31489. if thebits = 0 then
  31490. pTDefRegMap(@Self)^.clr := $00000004
  31491. else
  31492. pTDefRegMap(@Self)^.&set := $00000004;
  31493. end;
  31494. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  31495. begin
  31496. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31497. end;
  31498. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  31499. begin
  31500. pTDefRegMap(@Self)^.&set := $00000008;
  31501. end;
  31502. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  31503. begin
  31504. pTDefRegMap(@Self)^.clr := $00000008;
  31505. end;
  31506. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  31507. begin
  31508. if thebits = 0 then
  31509. pTDefRegMap(@Self)^.clr := $00000008
  31510. else
  31511. pTDefRegMap(@Self)^.&set := $00000008;
  31512. end;
  31513. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  31514. begin
  31515. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31516. end;
  31517. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  31518. begin
  31519. pTDefRegMap(@Self)^.&set := $00000010;
  31520. end;
  31521. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  31522. begin
  31523. pTDefRegMap(@Self)^.clr := $00000010;
  31524. end;
  31525. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  31526. begin
  31527. if thebits = 0 then
  31528. pTDefRegMap(@Self)^.clr := $00000010
  31529. else
  31530. pTDefRegMap(@Self)^.&set := $00000010;
  31531. end;
  31532. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  31533. begin
  31534. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31535. end;
  31536. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  31537. begin
  31538. pTDefRegMap(@Self)^.&set := $00000020;
  31539. end;
  31540. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  31541. begin
  31542. pTDefRegMap(@Self)^.clr := $00000020;
  31543. end;
  31544. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  31545. begin
  31546. if thebits = 0 then
  31547. pTDefRegMap(@Self)^.clr := $00000020
  31548. else
  31549. pTDefRegMap(@Self)^.&set := $00000020;
  31550. end;
  31551. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  31552. begin
  31553. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31554. end;
  31555. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  31556. begin
  31557. pTDefRegMap(@Self)^.&set := $00000040;
  31558. end;
  31559. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  31560. begin
  31561. pTDefRegMap(@Self)^.clr := $00000040;
  31562. end;
  31563. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  31564. begin
  31565. if thebits = 0 then
  31566. pTDefRegMap(@Self)^.clr := $00000040
  31567. else
  31568. pTDefRegMap(@Self)^.&set := $00000040;
  31569. end;
  31570. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  31571. begin
  31572. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31573. end;
  31574. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  31575. begin
  31576. pTDefRegMap(@Self)^.&set := $00000080;
  31577. end;
  31578. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  31579. begin
  31580. pTDefRegMap(@Self)^.clr := $00000080;
  31581. end;
  31582. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  31583. begin
  31584. if thebits = 0 then
  31585. pTDefRegMap(@Self)^.clr := $00000080
  31586. else
  31587. pTDefRegMap(@Self)^.&set := $00000080;
  31588. end;
  31589. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  31590. begin
  31591. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31592. end;
  31593. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  31594. begin
  31595. pTDefRegMap(@Self)^.&set := $00010000;
  31596. end;
  31597. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  31598. begin
  31599. pTDefRegMap(@Self)^.clr := $00010000;
  31600. end;
  31601. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  31602. begin
  31603. if thebits = 0 then
  31604. pTDefRegMap(@Self)^.clr := $00010000
  31605. else
  31606. pTDefRegMap(@Self)^.&set := $00010000;
  31607. end;
  31608. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  31609. begin
  31610. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31611. end;
  31612. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  31613. begin
  31614. pTDefRegMap(@Self)^.&set := $00020000;
  31615. end;
  31616. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  31617. begin
  31618. pTDefRegMap(@Self)^.clr := $00020000;
  31619. end;
  31620. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  31621. begin
  31622. if thebits = 0 then
  31623. pTDefRegMap(@Self)^.clr := $00020000
  31624. else
  31625. pTDefRegMap(@Self)^.&set := $00020000;
  31626. end;
  31627. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  31628. begin
  31629. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31630. end;
  31631. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  31632. begin
  31633. pTDefRegMap(@Self)^.&set := $00040000;
  31634. end;
  31635. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  31636. begin
  31637. pTDefRegMap(@Self)^.clr := $00040000;
  31638. end;
  31639. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  31640. begin
  31641. if thebits = 0 then
  31642. pTDefRegMap(@Self)^.clr := $00040000
  31643. else
  31644. pTDefRegMap(@Self)^.&set := $00040000;
  31645. end;
  31646. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  31647. begin
  31648. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31649. end;
  31650. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  31651. begin
  31652. pTDefRegMap(@Self)^.&set := $00080000;
  31653. end;
  31654. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  31655. begin
  31656. pTDefRegMap(@Self)^.clr := $00080000;
  31657. end;
  31658. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  31659. begin
  31660. if thebits = 0 then
  31661. pTDefRegMap(@Self)^.clr := $00080000
  31662. else
  31663. pTDefRegMap(@Self)^.&set := $00080000;
  31664. end;
  31665. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  31666. begin
  31667. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31668. end;
  31669. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  31670. begin
  31671. pTDefRegMap(@Self)^.&set := $00100000;
  31672. end;
  31673. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  31674. begin
  31675. pTDefRegMap(@Self)^.clr := $00100000;
  31676. end;
  31677. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  31678. begin
  31679. if thebits = 0 then
  31680. pTDefRegMap(@Self)^.clr := $00100000
  31681. else
  31682. pTDefRegMap(@Self)^.&set := $00100000;
  31683. end;
  31684. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  31685. begin
  31686. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31687. end;
  31688. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  31689. begin
  31690. pTDefRegMap(@Self)^.&set := $00200000;
  31691. end;
  31692. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  31693. begin
  31694. pTDefRegMap(@Self)^.clr := $00200000;
  31695. end;
  31696. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  31697. begin
  31698. if thebits = 0 then
  31699. pTDefRegMap(@Self)^.clr := $00200000
  31700. else
  31701. pTDefRegMap(@Self)^.&set := $00200000;
  31702. end;
  31703. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  31704. begin
  31705. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31706. end;
  31707. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  31708. begin
  31709. pTDefRegMap(@Self)^.&set := $00400000;
  31710. end;
  31711. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  31712. begin
  31713. pTDefRegMap(@Self)^.clr := $00400000;
  31714. end;
  31715. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  31716. begin
  31717. if thebits = 0 then
  31718. pTDefRegMap(@Self)^.clr := $00400000
  31719. else
  31720. pTDefRegMap(@Self)^.&set := $00400000;
  31721. end;
  31722. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  31723. begin
  31724. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31725. end;
  31726. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  31727. begin
  31728. pTDefRegMap(@Self)^.&set := $00800000;
  31729. end;
  31730. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  31731. begin
  31732. pTDefRegMap(@Self)^.clr := $00800000;
  31733. end;
  31734. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  31735. begin
  31736. if thebits = 0 then
  31737. pTDefRegMap(@Self)^.clr := $00800000
  31738. else
  31739. pTDefRegMap(@Self)^.&set := $00800000;
  31740. end;
  31741. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  31742. begin
  31743. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31744. end;
  31745. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  31746. begin
  31747. pTDefRegMap(@Self)^.val := thebits;
  31748. end;
  31749. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  31750. begin
  31751. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31752. end;
  31753. procedure TDMAC3_U1IR.setURSTIF_DETACHIF; inline;
  31754. begin
  31755. pTDefRegMap(@Self)^.&set := $00000001;
  31756. end;
  31757. procedure TDMAC3_U1IR.clearURSTIF_DETACHIF; inline;
  31758. begin
  31759. pTDefRegMap(@Self)^.clr := $00000001;
  31760. end;
  31761. procedure TDMAC3_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  31762. begin
  31763. if thebits = 0 then
  31764. pTDefRegMap(@Self)^.clr := $00000001
  31765. else
  31766. pTDefRegMap(@Self)^.&set := $00000001;
  31767. end;
  31768. function TDMAC3_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  31769. begin
  31770. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31771. end;
  31772. procedure TDMAC3_U1IR.setUERRIF; inline;
  31773. begin
  31774. pTDefRegMap(@Self)^.&set := $00000002;
  31775. end;
  31776. procedure TDMAC3_U1IR.clearUERRIF; inline;
  31777. begin
  31778. pTDefRegMap(@Self)^.clr := $00000002;
  31779. end;
  31780. procedure TDMAC3_U1IR.setUERRIF(thebits : TBits_1); inline;
  31781. begin
  31782. if thebits = 0 then
  31783. pTDefRegMap(@Self)^.clr := $00000002
  31784. else
  31785. pTDefRegMap(@Self)^.&set := $00000002;
  31786. end;
  31787. function TDMAC3_U1IR.getUERRIF : TBits_1; inline;
  31788. begin
  31789. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31790. end;
  31791. procedure TDMAC3_U1IR.setSOFIF; inline;
  31792. begin
  31793. pTDefRegMap(@Self)^.&set := $00000004;
  31794. end;
  31795. procedure TDMAC3_U1IR.clearSOFIF; inline;
  31796. begin
  31797. pTDefRegMap(@Self)^.clr := $00000004;
  31798. end;
  31799. procedure TDMAC3_U1IR.setSOFIF(thebits : TBits_1); inline;
  31800. begin
  31801. if thebits = 0 then
  31802. pTDefRegMap(@Self)^.clr := $00000004
  31803. else
  31804. pTDefRegMap(@Self)^.&set := $00000004;
  31805. end;
  31806. function TDMAC3_U1IR.getSOFIF : TBits_1; inline;
  31807. begin
  31808. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31809. end;
  31810. procedure TDMAC3_U1IR.setTRNIF; inline;
  31811. begin
  31812. pTDefRegMap(@Self)^.&set := $00000008;
  31813. end;
  31814. procedure TDMAC3_U1IR.clearTRNIF; inline;
  31815. begin
  31816. pTDefRegMap(@Self)^.clr := $00000008;
  31817. end;
  31818. procedure TDMAC3_U1IR.setTRNIF(thebits : TBits_1); inline;
  31819. begin
  31820. if thebits = 0 then
  31821. pTDefRegMap(@Self)^.clr := $00000008
  31822. else
  31823. pTDefRegMap(@Self)^.&set := $00000008;
  31824. end;
  31825. function TDMAC3_U1IR.getTRNIF : TBits_1; inline;
  31826. begin
  31827. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31828. end;
  31829. procedure TDMAC3_U1IR.setIDLEIF; inline;
  31830. begin
  31831. pTDefRegMap(@Self)^.&set := $00000010;
  31832. end;
  31833. procedure TDMAC3_U1IR.clearIDLEIF; inline;
  31834. begin
  31835. pTDefRegMap(@Self)^.clr := $00000010;
  31836. end;
  31837. procedure TDMAC3_U1IR.setIDLEIF(thebits : TBits_1); inline;
  31838. begin
  31839. if thebits = 0 then
  31840. pTDefRegMap(@Self)^.clr := $00000010
  31841. else
  31842. pTDefRegMap(@Self)^.&set := $00000010;
  31843. end;
  31844. function TDMAC3_U1IR.getIDLEIF : TBits_1; inline;
  31845. begin
  31846. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31847. end;
  31848. procedure TDMAC3_U1IR.setRESUMEIF; inline;
  31849. begin
  31850. pTDefRegMap(@Self)^.&set := $00000020;
  31851. end;
  31852. procedure TDMAC3_U1IR.clearRESUMEIF; inline;
  31853. begin
  31854. pTDefRegMap(@Self)^.clr := $00000020;
  31855. end;
  31856. procedure TDMAC3_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  31857. begin
  31858. if thebits = 0 then
  31859. pTDefRegMap(@Self)^.clr := $00000020
  31860. else
  31861. pTDefRegMap(@Self)^.&set := $00000020;
  31862. end;
  31863. function TDMAC3_U1IR.getRESUMEIF : TBits_1; inline;
  31864. begin
  31865. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31866. end;
  31867. procedure TDMAC3_U1IR.setATTACHIF; inline;
  31868. begin
  31869. pTDefRegMap(@Self)^.&set := $00000040;
  31870. end;
  31871. procedure TDMAC3_U1IR.clearATTACHIF; inline;
  31872. begin
  31873. pTDefRegMap(@Self)^.clr := $00000040;
  31874. end;
  31875. procedure TDMAC3_U1IR.setATTACHIF(thebits : TBits_1); inline;
  31876. begin
  31877. if thebits = 0 then
  31878. pTDefRegMap(@Self)^.clr := $00000040
  31879. else
  31880. pTDefRegMap(@Self)^.&set := $00000040;
  31881. end;
  31882. function TDMAC3_U1IR.getATTACHIF : TBits_1; inline;
  31883. begin
  31884. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31885. end;
  31886. procedure TDMAC3_U1IR.setSTALLIF; inline;
  31887. begin
  31888. pTDefRegMap(@Self)^.&set := $00000080;
  31889. end;
  31890. procedure TDMAC3_U1IR.clearSTALLIF; inline;
  31891. begin
  31892. pTDefRegMap(@Self)^.clr := $00000080;
  31893. end;
  31894. procedure TDMAC3_U1IR.setSTALLIF(thebits : TBits_1); inline;
  31895. begin
  31896. if thebits = 0 then
  31897. pTDefRegMap(@Self)^.clr := $00000080
  31898. else
  31899. pTDefRegMap(@Self)^.&set := $00000080;
  31900. end;
  31901. function TDMAC3_U1IR.getSTALLIF : TBits_1; inline;
  31902. begin
  31903. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31904. end;
  31905. procedure TDMAC3_U1IR.setDETACHIF; inline;
  31906. begin
  31907. pTDefRegMap(@Self)^.&set := $00000001;
  31908. end;
  31909. procedure TDMAC3_U1IR.clearDETACHIF; inline;
  31910. begin
  31911. pTDefRegMap(@Self)^.clr := $00000001;
  31912. end;
  31913. procedure TDMAC3_U1IR.setDETACHIF(thebits : TBits_1); inline;
  31914. begin
  31915. if thebits = 0 then
  31916. pTDefRegMap(@Self)^.clr := $00000001
  31917. else
  31918. pTDefRegMap(@Self)^.&set := $00000001;
  31919. end;
  31920. function TDMAC3_U1IR.getDETACHIF : TBits_1; inline;
  31921. begin
  31922. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31923. end;
  31924. procedure TDMAC3_U1IR.setURSTIF; inline;
  31925. begin
  31926. pTDefRegMap(@Self)^.&set := $00000001;
  31927. end;
  31928. procedure TDMAC3_U1IR.clearURSTIF; inline;
  31929. begin
  31930. pTDefRegMap(@Self)^.clr := $00000001;
  31931. end;
  31932. procedure TDMAC3_U1IR.setURSTIF(thebits : TBits_1); inline;
  31933. begin
  31934. if thebits = 0 then
  31935. pTDefRegMap(@Self)^.clr := $00000001
  31936. else
  31937. pTDefRegMap(@Self)^.&set := $00000001;
  31938. end;
  31939. function TDMAC3_U1IR.getURSTIF : TBits_1; inline;
  31940. begin
  31941. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31942. end;
  31943. procedure TDMAC3_U1IE.setURSTIE_DETACHIE; inline;
  31944. begin
  31945. pTDefRegMap(@Self)^.&set := $00000001;
  31946. end;
  31947. procedure TDMAC3_U1IE.clearURSTIE_DETACHIE; inline;
  31948. begin
  31949. pTDefRegMap(@Self)^.clr := $00000001;
  31950. end;
  31951. procedure TDMAC3_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  31952. begin
  31953. if thebits = 0 then
  31954. pTDefRegMap(@Self)^.clr := $00000001
  31955. else
  31956. pTDefRegMap(@Self)^.&set := $00000001;
  31957. end;
  31958. function TDMAC3_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  31959. begin
  31960. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31961. end;
  31962. procedure TDMAC3_U1IE.setUERRIE; inline;
  31963. begin
  31964. pTDefRegMap(@Self)^.&set := $00000002;
  31965. end;
  31966. procedure TDMAC3_U1IE.clearUERRIE; inline;
  31967. begin
  31968. pTDefRegMap(@Self)^.clr := $00000002;
  31969. end;
  31970. procedure TDMAC3_U1IE.setUERRIE(thebits : TBits_1); inline;
  31971. begin
  31972. if thebits = 0 then
  31973. pTDefRegMap(@Self)^.clr := $00000002
  31974. else
  31975. pTDefRegMap(@Self)^.&set := $00000002;
  31976. end;
  31977. function TDMAC3_U1IE.getUERRIE : TBits_1; inline;
  31978. begin
  31979. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31980. end;
  31981. procedure TDMAC3_U1IE.setSOFIE; inline;
  31982. begin
  31983. pTDefRegMap(@Self)^.&set := $00000004;
  31984. end;
  31985. procedure TDMAC3_U1IE.clearSOFIE; inline;
  31986. begin
  31987. pTDefRegMap(@Self)^.clr := $00000004;
  31988. end;
  31989. procedure TDMAC3_U1IE.setSOFIE(thebits : TBits_1); inline;
  31990. begin
  31991. if thebits = 0 then
  31992. pTDefRegMap(@Self)^.clr := $00000004
  31993. else
  31994. pTDefRegMap(@Self)^.&set := $00000004;
  31995. end;
  31996. function TDMAC3_U1IE.getSOFIE : TBits_1; inline;
  31997. begin
  31998. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31999. end;
  32000. procedure TDMAC3_U1IE.setTRNIE; inline;
  32001. begin
  32002. pTDefRegMap(@Self)^.&set := $00000008;
  32003. end;
  32004. procedure TDMAC3_U1IE.clearTRNIE; inline;
  32005. begin
  32006. pTDefRegMap(@Self)^.clr := $00000008;
  32007. end;
  32008. procedure TDMAC3_U1IE.setTRNIE(thebits : TBits_1); inline;
  32009. begin
  32010. if thebits = 0 then
  32011. pTDefRegMap(@Self)^.clr := $00000008
  32012. else
  32013. pTDefRegMap(@Self)^.&set := $00000008;
  32014. end;
  32015. function TDMAC3_U1IE.getTRNIE : TBits_1; inline;
  32016. begin
  32017. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32018. end;
  32019. procedure TDMAC3_U1IE.setIDLEIE; inline;
  32020. begin
  32021. pTDefRegMap(@Self)^.&set := $00000010;
  32022. end;
  32023. procedure TDMAC3_U1IE.clearIDLEIE; inline;
  32024. begin
  32025. pTDefRegMap(@Self)^.clr := $00000010;
  32026. end;
  32027. procedure TDMAC3_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32028. begin
  32029. if thebits = 0 then
  32030. pTDefRegMap(@Self)^.clr := $00000010
  32031. else
  32032. pTDefRegMap(@Self)^.&set := $00000010;
  32033. end;
  32034. function TDMAC3_U1IE.getIDLEIE : TBits_1; inline;
  32035. begin
  32036. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32037. end;
  32038. procedure TDMAC3_U1IE.setRESUMEIE; inline;
  32039. begin
  32040. pTDefRegMap(@Self)^.&set := $00000020;
  32041. end;
  32042. procedure TDMAC3_U1IE.clearRESUMEIE; inline;
  32043. begin
  32044. pTDefRegMap(@Self)^.clr := $00000020;
  32045. end;
  32046. procedure TDMAC3_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32047. begin
  32048. if thebits = 0 then
  32049. pTDefRegMap(@Self)^.clr := $00000020
  32050. else
  32051. pTDefRegMap(@Self)^.&set := $00000020;
  32052. end;
  32053. function TDMAC3_U1IE.getRESUMEIE : TBits_1; inline;
  32054. begin
  32055. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32056. end;
  32057. procedure TDMAC3_U1IE.setATTACHIE; inline;
  32058. begin
  32059. pTDefRegMap(@Self)^.&set := $00000040;
  32060. end;
  32061. procedure TDMAC3_U1IE.clearATTACHIE; inline;
  32062. begin
  32063. pTDefRegMap(@Self)^.clr := $00000040;
  32064. end;
  32065. procedure TDMAC3_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32066. begin
  32067. if thebits = 0 then
  32068. pTDefRegMap(@Self)^.clr := $00000040
  32069. else
  32070. pTDefRegMap(@Self)^.&set := $00000040;
  32071. end;
  32072. function TDMAC3_U1IE.getATTACHIE : TBits_1; inline;
  32073. begin
  32074. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32075. end;
  32076. procedure TDMAC3_U1IE.setSTALLIE; inline;
  32077. begin
  32078. pTDefRegMap(@Self)^.&set := $00000080;
  32079. end;
  32080. procedure TDMAC3_U1IE.clearSTALLIE; inline;
  32081. begin
  32082. pTDefRegMap(@Self)^.clr := $00000080;
  32083. end;
  32084. procedure TDMAC3_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32085. begin
  32086. if thebits = 0 then
  32087. pTDefRegMap(@Self)^.clr := $00000080
  32088. else
  32089. pTDefRegMap(@Self)^.&set := $00000080;
  32090. end;
  32091. function TDMAC3_U1IE.getSTALLIE : TBits_1; inline;
  32092. begin
  32093. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32094. end;
  32095. procedure TDMAC3_U1IE.setDETACHIE; inline;
  32096. begin
  32097. pTDefRegMap(@Self)^.&set := $00000001;
  32098. end;
  32099. procedure TDMAC3_U1IE.clearDETACHIE; inline;
  32100. begin
  32101. pTDefRegMap(@Self)^.clr := $00000001;
  32102. end;
  32103. procedure TDMAC3_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32104. begin
  32105. if thebits = 0 then
  32106. pTDefRegMap(@Self)^.clr := $00000001
  32107. else
  32108. pTDefRegMap(@Self)^.&set := $00000001;
  32109. end;
  32110. function TDMAC3_U1IE.getDETACHIE : TBits_1; inline;
  32111. begin
  32112. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32113. end;
  32114. procedure TDMAC3_U1IE.setURSTIE; inline;
  32115. begin
  32116. pTDefRegMap(@Self)^.&set := $00000001;
  32117. end;
  32118. procedure TDMAC3_U1IE.clearURSTIE; inline;
  32119. begin
  32120. pTDefRegMap(@Self)^.clr := $00000001;
  32121. end;
  32122. procedure TDMAC3_U1IE.setURSTIE(thebits : TBits_1); inline;
  32123. begin
  32124. if thebits = 0 then
  32125. pTDefRegMap(@Self)^.clr := $00000001
  32126. else
  32127. pTDefRegMap(@Self)^.&set := $00000001;
  32128. end;
  32129. function TDMAC3_U1IE.getURSTIE : TBits_1; inline;
  32130. begin
  32131. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32132. end;
  32133. procedure TDMAC3_U1EIR.setPIDEF; inline;
  32134. begin
  32135. pTDefRegMap(@Self)^.&set := $00000001;
  32136. end;
  32137. procedure TDMAC3_U1EIR.clearPIDEF; inline;
  32138. begin
  32139. pTDefRegMap(@Self)^.clr := $00000001;
  32140. end;
  32141. procedure TDMAC3_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32142. begin
  32143. if thebits = 0 then
  32144. pTDefRegMap(@Self)^.clr := $00000001
  32145. else
  32146. pTDefRegMap(@Self)^.&set := $00000001;
  32147. end;
  32148. function TDMAC3_U1EIR.getPIDEF : TBits_1; inline;
  32149. begin
  32150. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32151. end;
  32152. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF; inline;
  32153. begin
  32154. pTDefRegMap(@Self)^.&set := $00000002;
  32155. end;
  32156. procedure TDMAC3_U1EIR.clearCRC5EF_EOFEF; inline;
  32157. begin
  32158. pTDefRegMap(@Self)^.clr := $00000002;
  32159. end;
  32160. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32161. begin
  32162. if thebits = 0 then
  32163. pTDefRegMap(@Self)^.clr := $00000002
  32164. else
  32165. pTDefRegMap(@Self)^.&set := $00000002;
  32166. end;
  32167. function TDMAC3_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32168. begin
  32169. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32170. end;
  32171. procedure TDMAC3_U1EIR.setCRC16EF; inline;
  32172. begin
  32173. pTDefRegMap(@Self)^.&set := $00000004;
  32174. end;
  32175. procedure TDMAC3_U1EIR.clearCRC16EF; inline;
  32176. begin
  32177. pTDefRegMap(@Self)^.clr := $00000004;
  32178. end;
  32179. procedure TDMAC3_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32180. begin
  32181. if thebits = 0 then
  32182. pTDefRegMap(@Self)^.clr := $00000004
  32183. else
  32184. pTDefRegMap(@Self)^.&set := $00000004;
  32185. end;
  32186. function TDMAC3_U1EIR.getCRC16EF : TBits_1; inline;
  32187. begin
  32188. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32189. end;
  32190. procedure TDMAC3_U1EIR.setDFN8EF; inline;
  32191. begin
  32192. pTDefRegMap(@Self)^.&set := $00000008;
  32193. end;
  32194. procedure TDMAC3_U1EIR.clearDFN8EF; inline;
  32195. begin
  32196. pTDefRegMap(@Self)^.clr := $00000008;
  32197. end;
  32198. procedure TDMAC3_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32199. begin
  32200. if thebits = 0 then
  32201. pTDefRegMap(@Self)^.clr := $00000008
  32202. else
  32203. pTDefRegMap(@Self)^.&set := $00000008;
  32204. end;
  32205. function TDMAC3_U1EIR.getDFN8EF : TBits_1; inline;
  32206. begin
  32207. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32208. end;
  32209. procedure TDMAC3_U1EIR.setBTOEF; inline;
  32210. begin
  32211. pTDefRegMap(@Self)^.&set := $00000010;
  32212. end;
  32213. procedure TDMAC3_U1EIR.clearBTOEF; inline;
  32214. begin
  32215. pTDefRegMap(@Self)^.clr := $00000010;
  32216. end;
  32217. procedure TDMAC3_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32218. begin
  32219. if thebits = 0 then
  32220. pTDefRegMap(@Self)^.clr := $00000010
  32221. else
  32222. pTDefRegMap(@Self)^.&set := $00000010;
  32223. end;
  32224. function TDMAC3_U1EIR.getBTOEF : TBits_1; inline;
  32225. begin
  32226. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32227. end;
  32228. procedure TDMAC3_U1EIR.setDMAEF; inline;
  32229. begin
  32230. pTDefRegMap(@Self)^.&set := $00000020;
  32231. end;
  32232. procedure TDMAC3_U1EIR.clearDMAEF; inline;
  32233. begin
  32234. pTDefRegMap(@Self)^.clr := $00000020;
  32235. end;
  32236. procedure TDMAC3_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32237. begin
  32238. if thebits = 0 then
  32239. pTDefRegMap(@Self)^.clr := $00000020
  32240. else
  32241. pTDefRegMap(@Self)^.&set := $00000020;
  32242. end;
  32243. function TDMAC3_U1EIR.getDMAEF : TBits_1; inline;
  32244. begin
  32245. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32246. end;
  32247. procedure TDMAC3_U1EIR.setBMXEF; inline;
  32248. begin
  32249. pTDefRegMap(@Self)^.&set := $00000040;
  32250. end;
  32251. procedure TDMAC3_U1EIR.clearBMXEF; inline;
  32252. begin
  32253. pTDefRegMap(@Self)^.clr := $00000040;
  32254. end;
  32255. procedure TDMAC3_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32256. begin
  32257. if thebits = 0 then
  32258. pTDefRegMap(@Self)^.clr := $00000040
  32259. else
  32260. pTDefRegMap(@Self)^.&set := $00000040;
  32261. end;
  32262. function TDMAC3_U1EIR.getBMXEF : TBits_1; inline;
  32263. begin
  32264. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32265. end;
  32266. procedure TDMAC3_U1EIR.setBTSEF; inline;
  32267. begin
  32268. pTDefRegMap(@Self)^.&set := $00000080;
  32269. end;
  32270. procedure TDMAC3_U1EIR.clearBTSEF; inline;
  32271. begin
  32272. pTDefRegMap(@Self)^.clr := $00000080;
  32273. end;
  32274. procedure TDMAC3_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32275. begin
  32276. if thebits = 0 then
  32277. pTDefRegMap(@Self)^.clr := $00000080
  32278. else
  32279. pTDefRegMap(@Self)^.&set := $00000080;
  32280. end;
  32281. function TDMAC3_U1EIR.getBTSEF : TBits_1; inline;
  32282. begin
  32283. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32284. end;
  32285. procedure TDMAC3_U1EIR.setCRC5EF; inline;
  32286. begin
  32287. pTDefRegMap(@Self)^.&set := $00000002;
  32288. end;
  32289. procedure TDMAC3_U1EIR.clearCRC5EF; inline;
  32290. begin
  32291. pTDefRegMap(@Self)^.clr := $00000002;
  32292. end;
  32293. procedure TDMAC3_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32294. begin
  32295. if thebits = 0 then
  32296. pTDefRegMap(@Self)^.clr := $00000002
  32297. else
  32298. pTDefRegMap(@Self)^.&set := $00000002;
  32299. end;
  32300. function TDMAC3_U1EIR.getCRC5EF : TBits_1; inline;
  32301. begin
  32302. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32303. end;
  32304. procedure TDMAC3_U1EIR.setEOFEF; inline;
  32305. begin
  32306. pTDefRegMap(@Self)^.&set := $00000002;
  32307. end;
  32308. procedure TDMAC3_U1EIR.clearEOFEF; inline;
  32309. begin
  32310. pTDefRegMap(@Self)^.clr := $00000002;
  32311. end;
  32312. procedure TDMAC3_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32313. begin
  32314. if thebits = 0 then
  32315. pTDefRegMap(@Self)^.clr := $00000002
  32316. else
  32317. pTDefRegMap(@Self)^.&set := $00000002;
  32318. end;
  32319. function TDMAC3_U1EIR.getEOFEF : TBits_1; inline;
  32320. begin
  32321. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32322. end;
  32323. procedure TDMAC3_U1EIE.setPIDEE; inline;
  32324. begin
  32325. pTDefRegMap(@Self)^.&set := $00000001;
  32326. end;
  32327. procedure TDMAC3_U1EIE.clearPIDEE; inline;
  32328. begin
  32329. pTDefRegMap(@Self)^.clr := $00000001;
  32330. end;
  32331. procedure TDMAC3_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32332. begin
  32333. if thebits = 0 then
  32334. pTDefRegMap(@Self)^.clr := $00000001
  32335. else
  32336. pTDefRegMap(@Self)^.&set := $00000001;
  32337. end;
  32338. function TDMAC3_U1EIE.getPIDEE : TBits_1; inline;
  32339. begin
  32340. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32341. end;
  32342. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE; inline;
  32343. begin
  32344. pTDefRegMap(@Self)^.&set := $00000002;
  32345. end;
  32346. procedure TDMAC3_U1EIE.clearCRC5EE_EOFEE; inline;
  32347. begin
  32348. pTDefRegMap(@Self)^.clr := $00000002;
  32349. end;
  32350. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32351. begin
  32352. if thebits = 0 then
  32353. pTDefRegMap(@Self)^.clr := $00000002
  32354. else
  32355. pTDefRegMap(@Self)^.&set := $00000002;
  32356. end;
  32357. function TDMAC3_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32358. begin
  32359. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32360. end;
  32361. procedure TDMAC3_U1EIE.setCRC16EE; inline;
  32362. begin
  32363. pTDefRegMap(@Self)^.&set := $00000004;
  32364. end;
  32365. procedure TDMAC3_U1EIE.clearCRC16EE; inline;
  32366. begin
  32367. pTDefRegMap(@Self)^.clr := $00000004;
  32368. end;
  32369. procedure TDMAC3_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  32370. begin
  32371. if thebits = 0 then
  32372. pTDefRegMap(@Self)^.clr := $00000004
  32373. else
  32374. pTDefRegMap(@Self)^.&set := $00000004;
  32375. end;
  32376. function TDMAC3_U1EIE.getCRC16EE : TBits_1; inline;
  32377. begin
  32378. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32379. end;
  32380. procedure TDMAC3_U1EIE.setDFN8EE; inline;
  32381. begin
  32382. pTDefRegMap(@Self)^.&set := $00000008;
  32383. end;
  32384. procedure TDMAC3_U1EIE.clearDFN8EE; inline;
  32385. begin
  32386. pTDefRegMap(@Self)^.clr := $00000008;
  32387. end;
  32388. procedure TDMAC3_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  32389. begin
  32390. if thebits = 0 then
  32391. pTDefRegMap(@Self)^.clr := $00000008
  32392. else
  32393. pTDefRegMap(@Self)^.&set := $00000008;
  32394. end;
  32395. function TDMAC3_U1EIE.getDFN8EE : TBits_1; inline;
  32396. begin
  32397. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32398. end;
  32399. procedure TDMAC3_U1EIE.setBTOEE; inline;
  32400. begin
  32401. pTDefRegMap(@Self)^.&set := $00000010;
  32402. end;
  32403. procedure TDMAC3_U1EIE.clearBTOEE; inline;
  32404. begin
  32405. pTDefRegMap(@Self)^.clr := $00000010;
  32406. end;
  32407. procedure TDMAC3_U1EIE.setBTOEE(thebits : TBits_1); inline;
  32408. begin
  32409. if thebits = 0 then
  32410. pTDefRegMap(@Self)^.clr := $00000010
  32411. else
  32412. pTDefRegMap(@Self)^.&set := $00000010;
  32413. end;
  32414. function TDMAC3_U1EIE.getBTOEE : TBits_1; inline;
  32415. begin
  32416. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32417. end;
  32418. procedure TDMAC3_U1EIE.setDMAEE; inline;
  32419. begin
  32420. pTDefRegMap(@Self)^.&set := $00000020;
  32421. end;
  32422. procedure TDMAC3_U1EIE.clearDMAEE; inline;
  32423. begin
  32424. pTDefRegMap(@Self)^.clr := $00000020;
  32425. end;
  32426. procedure TDMAC3_U1EIE.setDMAEE(thebits : TBits_1); inline;
  32427. begin
  32428. if thebits = 0 then
  32429. pTDefRegMap(@Self)^.clr := $00000020
  32430. else
  32431. pTDefRegMap(@Self)^.&set := $00000020;
  32432. end;
  32433. function TDMAC3_U1EIE.getDMAEE : TBits_1; inline;
  32434. begin
  32435. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32436. end;
  32437. procedure TDMAC3_U1EIE.setBMXEE; inline;
  32438. begin
  32439. pTDefRegMap(@Self)^.&set := $00000040;
  32440. end;
  32441. procedure TDMAC3_U1EIE.clearBMXEE; inline;
  32442. begin
  32443. pTDefRegMap(@Self)^.clr := $00000040;
  32444. end;
  32445. procedure TDMAC3_U1EIE.setBMXEE(thebits : TBits_1); inline;
  32446. begin
  32447. if thebits = 0 then
  32448. pTDefRegMap(@Self)^.clr := $00000040
  32449. else
  32450. pTDefRegMap(@Self)^.&set := $00000040;
  32451. end;
  32452. function TDMAC3_U1EIE.getBMXEE : TBits_1; inline;
  32453. begin
  32454. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32455. end;
  32456. procedure TDMAC3_U1EIE.setBTSEE; inline;
  32457. begin
  32458. pTDefRegMap(@Self)^.&set := $00000080;
  32459. end;
  32460. procedure TDMAC3_U1EIE.clearBTSEE; inline;
  32461. begin
  32462. pTDefRegMap(@Self)^.clr := $00000080;
  32463. end;
  32464. procedure TDMAC3_U1EIE.setBTSEE(thebits : TBits_1); inline;
  32465. begin
  32466. if thebits = 0 then
  32467. pTDefRegMap(@Self)^.clr := $00000080
  32468. else
  32469. pTDefRegMap(@Self)^.&set := $00000080;
  32470. end;
  32471. function TDMAC3_U1EIE.getBTSEE : TBits_1; inline;
  32472. begin
  32473. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32474. end;
  32475. procedure TDMAC3_U1EIE.setCRC5EE; inline;
  32476. begin
  32477. pTDefRegMap(@Self)^.&set := $00000002;
  32478. end;
  32479. procedure TDMAC3_U1EIE.clearCRC5EE; inline;
  32480. begin
  32481. pTDefRegMap(@Self)^.clr := $00000002;
  32482. end;
  32483. procedure TDMAC3_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  32484. begin
  32485. if thebits = 0 then
  32486. pTDefRegMap(@Self)^.clr := $00000002
  32487. else
  32488. pTDefRegMap(@Self)^.&set := $00000002;
  32489. end;
  32490. function TDMAC3_U1EIE.getCRC5EE : TBits_1; inline;
  32491. begin
  32492. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32493. end;
  32494. procedure TDMAC3_U1EIE.setEOFEE; inline;
  32495. begin
  32496. pTDefRegMap(@Self)^.&set := $00000002;
  32497. end;
  32498. procedure TDMAC3_U1EIE.clearEOFEE; inline;
  32499. begin
  32500. pTDefRegMap(@Self)^.clr := $00000002;
  32501. end;
  32502. procedure TDMAC3_U1EIE.setEOFEE(thebits : TBits_1); inline;
  32503. begin
  32504. if thebits = 0 then
  32505. pTDefRegMap(@Self)^.clr := $00000002
  32506. else
  32507. pTDefRegMap(@Self)^.&set := $00000002;
  32508. end;
  32509. function TDMAC3_U1EIE.getEOFEE : TBits_1; inline;
  32510. begin
  32511. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32512. end;
  32513. procedure TDMAC3_U1STAT.setPPBI; inline;
  32514. begin
  32515. pTDefRegMap(@Self)^.&set := $00000004;
  32516. end;
  32517. procedure TDMAC3_U1STAT.clearPPBI; inline;
  32518. begin
  32519. pTDefRegMap(@Self)^.clr := $00000004;
  32520. end;
  32521. procedure TDMAC3_U1STAT.setPPBI(thebits : TBits_1); inline;
  32522. begin
  32523. if thebits = 0 then
  32524. pTDefRegMap(@Self)^.clr := $00000004
  32525. else
  32526. pTDefRegMap(@Self)^.&set := $00000004;
  32527. end;
  32528. function TDMAC3_U1STAT.getPPBI : TBits_1; inline;
  32529. begin
  32530. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32531. end;
  32532. procedure TDMAC3_U1STAT.setDIR; inline;
  32533. begin
  32534. pTDefRegMap(@Self)^.&set := $00000008;
  32535. end;
  32536. procedure TDMAC3_U1STAT.clearDIR; inline;
  32537. begin
  32538. pTDefRegMap(@Self)^.clr := $00000008;
  32539. end;
  32540. procedure TDMAC3_U1STAT.setDIR(thebits : TBits_1); inline;
  32541. begin
  32542. if thebits = 0 then
  32543. pTDefRegMap(@Self)^.clr := $00000008
  32544. else
  32545. pTDefRegMap(@Self)^.&set := $00000008;
  32546. end;
  32547. function TDMAC3_U1STAT.getDIR : TBits_1; inline;
  32548. begin
  32549. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32550. end;
  32551. procedure TDMAC3_U1STAT.setENDPT(thebits : TBits_4); inline;
  32552. begin
  32553. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  32554. end;
  32555. function TDMAC3_U1STAT.getENDPT : TBits_4; inline;
  32556. begin
  32557. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  32558. end;
  32559. procedure TDMAC3_U1STAT.setENDPT0; inline;
  32560. begin
  32561. pTDefRegMap(@Self)^.&set := $00000010;
  32562. end;
  32563. procedure TDMAC3_U1STAT.clearENDPT0; inline;
  32564. begin
  32565. pTDefRegMap(@Self)^.clr := $00000010;
  32566. end;
  32567. procedure TDMAC3_U1STAT.setENDPT0(thebits : TBits_1); inline;
  32568. begin
  32569. if thebits = 0 then
  32570. pTDefRegMap(@Self)^.clr := $00000010
  32571. else
  32572. pTDefRegMap(@Self)^.&set := $00000010;
  32573. end;
  32574. function TDMAC3_U1STAT.getENDPT0 : TBits_1; inline;
  32575. begin
  32576. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32577. end;
  32578. procedure TDMAC3_U1STAT.setENDPT1; inline;
  32579. begin
  32580. pTDefRegMap(@Self)^.&set := $00000020;
  32581. end;
  32582. procedure TDMAC3_U1STAT.clearENDPT1; inline;
  32583. begin
  32584. pTDefRegMap(@Self)^.clr := $00000020;
  32585. end;
  32586. procedure TDMAC3_U1STAT.setENDPT1(thebits : TBits_1); inline;
  32587. begin
  32588. if thebits = 0 then
  32589. pTDefRegMap(@Self)^.clr := $00000020
  32590. else
  32591. pTDefRegMap(@Self)^.&set := $00000020;
  32592. end;
  32593. function TDMAC3_U1STAT.getENDPT1 : TBits_1; inline;
  32594. begin
  32595. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32596. end;
  32597. procedure TDMAC3_U1STAT.setENDPT2; inline;
  32598. begin
  32599. pTDefRegMap(@Self)^.&set := $00000040;
  32600. end;
  32601. procedure TDMAC3_U1STAT.clearENDPT2; inline;
  32602. begin
  32603. pTDefRegMap(@Self)^.clr := $00000040;
  32604. end;
  32605. procedure TDMAC3_U1STAT.setENDPT2(thebits : TBits_1); inline;
  32606. begin
  32607. if thebits = 0 then
  32608. pTDefRegMap(@Self)^.clr := $00000040
  32609. else
  32610. pTDefRegMap(@Self)^.&set := $00000040;
  32611. end;
  32612. function TDMAC3_U1STAT.getENDPT2 : TBits_1; inline;
  32613. begin
  32614. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32615. end;
  32616. procedure TDMAC3_U1STAT.setENDPT3; inline;
  32617. begin
  32618. pTDefRegMap(@Self)^.&set := $00000080;
  32619. end;
  32620. procedure TDMAC3_U1STAT.clearENDPT3; inline;
  32621. begin
  32622. pTDefRegMap(@Self)^.clr := $00000080;
  32623. end;
  32624. procedure TDMAC3_U1STAT.setENDPT3(thebits : TBits_1); inline;
  32625. begin
  32626. if thebits = 0 then
  32627. pTDefRegMap(@Self)^.clr := $00000080
  32628. else
  32629. pTDefRegMap(@Self)^.&set := $00000080;
  32630. end;
  32631. function TDMAC3_U1STAT.getENDPT3 : TBits_1; inline;
  32632. begin
  32633. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32634. end;
  32635. procedure TDMAC3_U1CON.setUSBEN_SOFEN; inline;
  32636. begin
  32637. pTDefRegMap(@Self)^.&set := $00000001;
  32638. end;
  32639. procedure TDMAC3_U1CON.clearUSBEN_SOFEN; inline;
  32640. begin
  32641. pTDefRegMap(@Self)^.clr := $00000001;
  32642. end;
  32643. procedure TDMAC3_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  32644. begin
  32645. if thebits = 0 then
  32646. pTDefRegMap(@Self)^.clr := $00000001
  32647. else
  32648. pTDefRegMap(@Self)^.&set := $00000001;
  32649. end;
  32650. function TDMAC3_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  32651. begin
  32652. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32653. end;
  32654. procedure TDMAC3_U1CON.setPPBRST; inline;
  32655. begin
  32656. pTDefRegMap(@Self)^.&set := $00000002;
  32657. end;
  32658. procedure TDMAC3_U1CON.clearPPBRST; inline;
  32659. begin
  32660. pTDefRegMap(@Self)^.clr := $00000002;
  32661. end;
  32662. procedure TDMAC3_U1CON.setPPBRST(thebits : TBits_1); inline;
  32663. begin
  32664. if thebits = 0 then
  32665. pTDefRegMap(@Self)^.clr := $00000002
  32666. else
  32667. pTDefRegMap(@Self)^.&set := $00000002;
  32668. end;
  32669. function TDMAC3_U1CON.getPPBRST : TBits_1; inline;
  32670. begin
  32671. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32672. end;
  32673. procedure TDMAC3_U1CON.setRESUME; inline;
  32674. begin
  32675. pTDefRegMap(@Self)^.&set := $00000004;
  32676. end;
  32677. procedure TDMAC3_U1CON.clearRESUME; inline;
  32678. begin
  32679. pTDefRegMap(@Self)^.clr := $00000004;
  32680. end;
  32681. procedure TDMAC3_U1CON.setRESUME(thebits : TBits_1); inline;
  32682. begin
  32683. if thebits = 0 then
  32684. pTDefRegMap(@Self)^.clr := $00000004
  32685. else
  32686. pTDefRegMap(@Self)^.&set := $00000004;
  32687. end;
  32688. function TDMAC3_U1CON.getRESUME : TBits_1; inline;
  32689. begin
  32690. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32691. end;
  32692. procedure TDMAC3_U1CON.setHOSTEN; inline;
  32693. begin
  32694. pTDefRegMap(@Self)^.&set := $00000008;
  32695. end;
  32696. procedure TDMAC3_U1CON.clearHOSTEN; inline;
  32697. begin
  32698. pTDefRegMap(@Self)^.clr := $00000008;
  32699. end;
  32700. procedure TDMAC3_U1CON.setHOSTEN(thebits : TBits_1); inline;
  32701. begin
  32702. if thebits = 0 then
  32703. pTDefRegMap(@Self)^.clr := $00000008
  32704. else
  32705. pTDefRegMap(@Self)^.&set := $00000008;
  32706. end;
  32707. function TDMAC3_U1CON.getHOSTEN : TBits_1; inline;
  32708. begin
  32709. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32710. end;
  32711. procedure TDMAC3_U1CON.setUSBRST; inline;
  32712. begin
  32713. pTDefRegMap(@Self)^.&set := $00000010;
  32714. end;
  32715. procedure TDMAC3_U1CON.clearUSBRST; inline;
  32716. begin
  32717. pTDefRegMap(@Self)^.clr := $00000010;
  32718. end;
  32719. procedure TDMAC3_U1CON.setUSBRST(thebits : TBits_1); inline;
  32720. begin
  32721. if thebits = 0 then
  32722. pTDefRegMap(@Self)^.clr := $00000010
  32723. else
  32724. pTDefRegMap(@Self)^.&set := $00000010;
  32725. end;
  32726. function TDMAC3_U1CON.getUSBRST : TBits_1; inline;
  32727. begin
  32728. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32729. end;
  32730. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY; inline;
  32731. begin
  32732. pTDefRegMap(@Self)^.&set := $00000020;
  32733. end;
  32734. procedure TDMAC3_U1CON.clearPKTDIS_TOKBUSY; inline;
  32735. begin
  32736. pTDefRegMap(@Self)^.clr := $00000020;
  32737. end;
  32738. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  32739. begin
  32740. if thebits = 0 then
  32741. pTDefRegMap(@Self)^.clr := $00000020
  32742. else
  32743. pTDefRegMap(@Self)^.&set := $00000020;
  32744. end;
  32745. function TDMAC3_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  32746. begin
  32747. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32748. end;
  32749. procedure TDMAC3_U1CON.setSE0; inline;
  32750. begin
  32751. pTDefRegMap(@Self)^.&set := $00000040;
  32752. end;
  32753. procedure TDMAC3_U1CON.clearSE0; inline;
  32754. begin
  32755. pTDefRegMap(@Self)^.clr := $00000040;
  32756. end;
  32757. procedure TDMAC3_U1CON.setSE0(thebits : TBits_1); inline;
  32758. begin
  32759. if thebits = 0 then
  32760. pTDefRegMap(@Self)^.clr := $00000040
  32761. else
  32762. pTDefRegMap(@Self)^.&set := $00000040;
  32763. end;
  32764. function TDMAC3_U1CON.getSE0 : TBits_1; inline;
  32765. begin
  32766. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32767. end;
  32768. procedure TDMAC3_U1CON.setJSTATE; inline;
  32769. begin
  32770. pTDefRegMap(@Self)^.&set := $00000080;
  32771. end;
  32772. procedure TDMAC3_U1CON.clearJSTATE; inline;
  32773. begin
  32774. pTDefRegMap(@Self)^.clr := $00000080;
  32775. end;
  32776. procedure TDMAC3_U1CON.setJSTATE(thebits : TBits_1); inline;
  32777. begin
  32778. if thebits = 0 then
  32779. pTDefRegMap(@Self)^.clr := $00000080
  32780. else
  32781. pTDefRegMap(@Self)^.&set := $00000080;
  32782. end;
  32783. function TDMAC3_U1CON.getJSTATE : TBits_1; inline;
  32784. begin
  32785. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32786. end;
  32787. procedure TDMAC3_U1CON.setUSBEN; inline;
  32788. begin
  32789. pTDefRegMap(@Self)^.&set := $00000001;
  32790. end;
  32791. procedure TDMAC3_U1CON.clearUSBEN; inline;
  32792. begin
  32793. pTDefRegMap(@Self)^.clr := $00000001;
  32794. end;
  32795. procedure TDMAC3_U1CON.setUSBEN(thebits : TBits_1); inline;
  32796. begin
  32797. if thebits = 0 then
  32798. pTDefRegMap(@Self)^.clr := $00000001
  32799. else
  32800. pTDefRegMap(@Self)^.&set := $00000001;
  32801. end;
  32802. function TDMAC3_U1CON.getUSBEN : TBits_1; inline;
  32803. begin
  32804. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32805. end;
  32806. procedure TDMAC3_U1CON.setSOFEN; inline;
  32807. begin
  32808. pTDefRegMap(@Self)^.&set := $00000001;
  32809. end;
  32810. procedure TDMAC3_U1CON.clearSOFEN; inline;
  32811. begin
  32812. pTDefRegMap(@Self)^.clr := $00000001;
  32813. end;
  32814. procedure TDMAC3_U1CON.setSOFEN(thebits : TBits_1); inline;
  32815. begin
  32816. if thebits = 0 then
  32817. pTDefRegMap(@Self)^.clr := $00000001
  32818. else
  32819. pTDefRegMap(@Self)^.&set := $00000001;
  32820. end;
  32821. function TDMAC3_U1CON.getSOFEN : TBits_1; inline;
  32822. begin
  32823. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32824. end;
  32825. procedure TDMAC3_U1CON.setPKTDIS; inline;
  32826. begin
  32827. pTDefRegMap(@Self)^.&set := $00000020;
  32828. end;
  32829. procedure TDMAC3_U1CON.clearPKTDIS; inline;
  32830. begin
  32831. pTDefRegMap(@Self)^.clr := $00000020;
  32832. end;
  32833. procedure TDMAC3_U1CON.setPKTDIS(thebits : TBits_1); inline;
  32834. begin
  32835. if thebits = 0 then
  32836. pTDefRegMap(@Self)^.clr := $00000020
  32837. else
  32838. pTDefRegMap(@Self)^.&set := $00000020;
  32839. end;
  32840. function TDMAC3_U1CON.getPKTDIS : TBits_1; inline;
  32841. begin
  32842. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32843. end;
  32844. procedure TDMAC3_U1CON.setTOKBUSY; inline;
  32845. begin
  32846. pTDefRegMap(@Self)^.&set := $00000020;
  32847. end;
  32848. procedure TDMAC3_U1CON.clearTOKBUSY; inline;
  32849. begin
  32850. pTDefRegMap(@Self)^.clr := $00000020;
  32851. end;
  32852. procedure TDMAC3_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  32853. begin
  32854. if thebits = 0 then
  32855. pTDefRegMap(@Self)^.clr := $00000020
  32856. else
  32857. pTDefRegMap(@Self)^.&set := $00000020;
  32858. end;
  32859. function TDMAC3_U1CON.getTOKBUSY : TBits_1; inline;
  32860. begin
  32861. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32862. end;
  32863. procedure TDMAC3_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  32864. begin
  32865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  32866. end;
  32867. function TDMAC3_U1ADDR.getDEVADDR : TBits_7; inline;
  32868. begin
  32869. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  32870. end;
  32871. procedure TDMAC3_U1ADDR.setLSPDEN; inline;
  32872. begin
  32873. pTDefRegMap(@Self)^.&set := $00000080;
  32874. end;
  32875. procedure TDMAC3_U1ADDR.clearLSPDEN; inline;
  32876. begin
  32877. pTDefRegMap(@Self)^.clr := $00000080;
  32878. end;
  32879. procedure TDMAC3_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  32880. begin
  32881. if thebits = 0 then
  32882. pTDefRegMap(@Self)^.clr := $00000080
  32883. else
  32884. pTDefRegMap(@Self)^.&set := $00000080;
  32885. end;
  32886. function TDMAC3_U1ADDR.getLSPDEN : TBits_1; inline;
  32887. begin
  32888. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32889. end;
  32890. procedure TDMAC3_U1ADDR.setDEVADDR0; inline;
  32891. begin
  32892. pTDefRegMap(@Self)^.&set := $00000001;
  32893. end;
  32894. procedure TDMAC3_U1ADDR.clearDEVADDR0; inline;
  32895. begin
  32896. pTDefRegMap(@Self)^.clr := $00000001;
  32897. end;
  32898. procedure TDMAC3_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  32899. begin
  32900. if thebits = 0 then
  32901. pTDefRegMap(@Self)^.clr := $00000001
  32902. else
  32903. pTDefRegMap(@Self)^.&set := $00000001;
  32904. end;
  32905. function TDMAC3_U1ADDR.getDEVADDR0 : TBits_1; inline;
  32906. begin
  32907. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32908. end;
  32909. procedure TDMAC3_U1ADDR.setDEVADDR1; inline;
  32910. begin
  32911. pTDefRegMap(@Self)^.&set := $00000002;
  32912. end;
  32913. procedure TDMAC3_U1ADDR.clearDEVADDR1; inline;
  32914. begin
  32915. pTDefRegMap(@Self)^.clr := $00000002;
  32916. end;
  32917. procedure TDMAC3_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  32918. begin
  32919. if thebits = 0 then
  32920. pTDefRegMap(@Self)^.clr := $00000002
  32921. else
  32922. pTDefRegMap(@Self)^.&set := $00000002;
  32923. end;
  32924. function TDMAC3_U1ADDR.getDEVADDR1 : TBits_1; inline;
  32925. begin
  32926. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32927. end;
  32928. procedure TDMAC3_U1ADDR.setDEVADDR2; inline;
  32929. begin
  32930. pTDefRegMap(@Self)^.&set := $00000004;
  32931. end;
  32932. procedure TDMAC3_U1ADDR.clearDEVADDR2; inline;
  32933. begin
  32934. pTDefRegMap(@Self)^.clr := $00000004;
  32935. end;
  32936. procedure TDMAC3_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  32937. begin
  32938. if thebits = 0 then
  32939. pTDefRegMap(@Self)^.clr := $00000004
  32940. else
  32941. pTDefRegMap(@Self)^.&set := $00000004;
  32942. end;
  32943. function TDMAC3_U1ADDR.getDEVADDR2 : TBits_1; inline;
  32944. begin
  32945. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32946. end;
  32947. procedure TDMAC3_U1ADDR.setDEVADDR3; inline;
  32948. begin
  32949. pTDefRegMap(@Self)^.&set := $00000008;
  32950. end;
  32951. procedure TDMAC3_U1ADDR.clearDEVADDR3; inline;
  32952. begin
  32953. pTDefRegMap(@Self)^.clr := $00000008;
  32954. end;
  32955. procedure TDMAC3_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  32956. begin
  32957. if thebits = 0 then
  32958. pTDefRegMap(@Self)^.clr := $00000008
  32959. else
  32960. pTDefRegMap(@Self)^.&set := $00000008;
  32961. end;
  32962. function TDMAC3_U1ADDR.getDEVADDR3 : TBits_1; inline;
  32963. begin
  32964. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32965. end;
  32966. procedure TDMAC3_U1ADDR.setDEVADDR4; inline;
  32967. begin
  32968. pTDefRegMap(@Self)^.&set := $00000010;
  32969. end;
  32970. procedure TDMAC3_U1ADDR.clearDEVADDR4; inline;
  32971. begin
  32972. pTDefRegMap(@Self)^.clr := $00000010;
  32973. end;
  32974. procedure TDMAC3_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  32975. begin
  32976. if thebits = 0 then
  32977. pTDefRegMap(@Self)^.clr := $00000010
  32978. else
  32979. pTDefRegMap(@Self)^.&set := $00000010;
  32980. end;
  32981. function TDMAC3_U1ADDR.getDEVADDR4 : TBits_1; inline;
  32982. begin
  32983. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32984. end;
  32985. procedure TDMAC3_U1ADDR.setDEVADDR5; inline;
  32986. begin
  32987. pTDefRegMap(@Self)^.&set := $00000020;
  32988. end;
  32989. procedure TDMAC3_U1ADDR.clearDEVADDR5; inline;
  32990. begin
  32991. pTDefRegMap(@Self)^.clr := $00000020;
  32992. end;
  32993. procedure TDMAC3_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  32994. begin
  32995. if thebits = 0 then
  32996. pTDefRegMap(@Self)^.clr := $00000020
  32997. else
  32998. pTDefRegMap(@Self)^.&set := $00000020;
  32999. end;
  33000. function TDMAC3_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33001. begin
  33002. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33003. end;
  33004. procedure TDMAC3_U1ADDR.setDEVADDR6; inline;
  33005. begin
  33006. pTDefRegMap(@Self)^.&set := $00000040;
  33007. end;
  33008. procedure TDMAC3_U1ADDR.clearDEVADDR6; inline;
  33009. begin
  33010. pTDefRegMap(@Self)^.clr := $00000040;
  33011. end;
  33012. procedure TDMAC3_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33013. begin
  33014. if thebits = 0 then
  33015. pTDefRegMap(@Self)^.clr := $00000040
  33016. else
  33017. pTDefRegMap(@Self)^.&set := $00000040;
  33018. end;
  33019. function TDMAC3_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33020. begin
  33021. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33022. end;
  33023. procedure TDMAC3_U1FRML.setFRML(thebits : TBits_8); inline;
  33024. begin
  33025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33026. end;
  33027. function TDMAC3_U1FRML.getFRML : TBits_8; inline;
  33028. begin
  33029. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33030. end;
  33031. procedure TDMAC3_U1FRML.setFRM0; inline;
  33032. begin
  33033. pTDefRegMap(@Self)^.&set := $00000001;
  33034. end;
  33035. procedure TDMAC3_U1FRML.clearFRM0; inline;
  33036. begin
  33037. pTDefRegMap(@Self)^.clr := $00000001;
  33038. end;
  33039. procedure TDMAC3_U1FRML.setFRM0(thebits : TBits_1); inline;
  33040. begin
  33041. if thebits = 0 then
  33042. pTDefRegMap(@Self)^.clr := $00000001
  33043. else
  33044. pTDefRegMap(@Self)^.&set := $00000001;
  33045. end;
  33046. function TDMAC3_U1FRML.getFRM0 : TBits_1; inline;
  33047. begin
  33048. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33049. end;
  33050. procedure TDMAC3_U1FRML.setFRM1; inline;
  33051. begin
  33052. pTDefRegMap(@Self)^.&set := $00000002;
  33053. end;
  33054. procedure TDMAC3_U1FRML.clearFRM1; inline;
  33055. begin
  33056. pTDefRegMap(@Self)^.clr := $00000002;
  33057. end;
  33058. procedure TDMAC3_U1FRML.setFRM1(thebits : TBits_1); inline;
  33059. begin
  33060. if thebits = 0 then
  33061. pTDefRegMap(@Self)^.clr := $00000002
  33062. else
  33063. pTDefRegMap(@Self)^.&set := $00000002;
  33064. end;
  33065. function TDMAC3_U1FRML.getFRM1 : TBits_1; inline;
  33066. begin
  33067. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33068. end;
  33069. procedure TDMAC3_U1FRML.setFRM2; inline;
  33070. begin
  33071. pTDefRegMap(@Self)^.&set := $00000004;
  33072. end;
  33073. procedure TDMAC3_U1FRML.clearFRM2; inline;
  33074. begin
  33075. pTDefRegMap(@Self)^.clr := $00000004;
  33076. end;
  33077. procedure TDMAC3_U1FRML.setFRM2(thebits : TBits_1); inline;
  33078. begin
  33079. if thebits = 0 then
  33080. pTDefRegMap(@Self)^.clr := $00000004
  33081. else
  33082. pTDefRegMap(@Self)^.&set := $00000004;
  33083. end;
  33084. function TDMAC3_U1FRML.getFRM2 : TBits_1; inline;
  33085. begin
  33086. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33087. end;
  33088. procedure TDMAC3_U1FRML.setFRM3; inline;
  33089. begin
  33090. pTDefRegMap(@Self)^.&set := $00000008;
  33091. end;
  33092. procedure TDMAC3_U1FRML.clearFRM3; inline;
  33093. begin
  33094. pTDefRegMap(@Self)^.clr := $00000008;
  33095. end;
  33096. procedure TDMAC3_U1FRML.setFRM3(thebits : TBits_1); inline;
  33097. begin
  33098. if thebits = 0 then
  33099. pTDefRegMap(@Self)^.clr := $00000008
  33100. else
  33101. pTDefRegMap(@Self)^.&set := $00000008;
  33102. end;
  33103. function TDMAC3_U1FRML.getFRM3 : TBits_1; inline;
  33104. begin
  33105. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33106. end;
  33107. procedure TDMAC3_U1FRML.setFRM4; inline;
  33108. begin
  33109. pTDefRegMap(@Self)^.&set := $00000010;
  33110. end;
  33111. procedure TDMAC3_U1FRML.clearFRM4; inline;
  33112. begin
  33113. pTDefRegMap(@Self)^.clr := $00000010;
  33114. end;
  33115. procedure TDMAC3_U1FRML.setFRM4(thebits : TBits_1); inline;
  33116. begin
  33117. if thebits = 0 then
  33118. pTDefRegMap(@Self)^.clr := $00000010
  33119. else
  33120. pTDefRegMap(@Self)^.&set := $00000010;
  33121. end;
  33122. function TDMAC3_U1FRML.getFRM4 : TBits_1; inline;
  33123. begin
  33124. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33125. end;
  33126. procedure TDMAC3_U1FRML.setFRM5; inline;
  33127. begin
  33128. pTDefRegMap(@Self)^.&set := $00000020;
  33129. end;
  33130. procedure TDMAC3_U1FRML.clearFRM5; inline;
  33131. begin
  33132. pTDefRegMap(@Self)^.clr := $00000020;
  33133. end;
  33134. procedure TDMAC3_U1FRML.setFRM5(thebits : TBits_1); inline;
  33135. begin
  33136. if thebits = 0 then
  33137. pTDefRegMap(@Self)^.clr := $00000020
  33138. else
  33139. pTDefRegMap(@Self)^.&set := $00000020;
  33140. end;
  33141. function TDMAC3_U1FRML.getFRM5 : TBits_1; inline;
  33142. begin
  33143. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33144. end;
  33145. procedure TDMAC3_U1FRML.setFRM6; inline;
  33146. begin
  33147. pTDefRegMap(@Self)^.&set := $00000040;
  33148. end;
  33149. procedure TDMAC3_U1FRML.clearFRM6; inline;
  33150. begin
  33151. pTDefRegMap(@Self)^.clr := $00000040;
  33152. end;
  33153. procedure TDMAC3_U1FRML.setFRM6(thebits : TBits_1); inline;
  33154. begin
  33155. if thebits = 0 then
  33156. pTDefRegMap(@Self)^.clr := $00000040
  33157. else
  33158. pTDefRegMap(@Self)^.&set := $00000040;
  33159. end;
  33160. function TDMAC3_U1FRML.getFRM6 : TBits_1; inline;
  33161. begin
  33162. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33163. end;
  33164. procedure TDMAC3_U1FRML.setFRM7; inline;
  33165. begin
  33166. pTDefRegMap(@Self)^.&set := $00000080;
  33167. end;
  33168. procedure TDMAC3_U1FRML.clearFRM7; inline;
  33169. begin
  33170. pTDefRegMap(@Self)^.clr := $00000080;
  33171. end;
  33172. procedure TDMAC3_U1FRML.setFRM7(thebits : TBits_1); inline;
  33173. begin
  33174. if thebits = 0 then
  33175. pTDefRegMap(@Self)^.clr := $00000080
  33176. else
  33177. pTDefRegMap(@Self)^.&set := $00000080;
  33178. end;
  33179. function TDMAC3_U1FRML.getFRM7 : TBits_1; inline;
  33180. begin
  33181. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33182. end;
  33183. procedure TDMAC3_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33184. begin
  33185. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33186. end;
  33187. function TDMAC3_U1FRMH.getFRMH : TBits_3; inline;
  33188. begin
  33189. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33190. end;
  33191. procedure TDMAC3_U1FRMH.setFRM8; inline;
  33192. begin
  33193. pTDefRegMap(@Self)^.&set := $00000001;
  33194. end;
  33195. procedure TDMAC3_U1FRMH.clearFRM8; inline;
  33196. begin
  33197. pTDefRegMap(@Self)^.clr := $00000001;
  33198. end;
  33199. procedure TDMAC3_U1FRMH.setFRM8(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_U1FRMH.getFRM8 : TBits_1; inline;
  33207. begin
  33208. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33209. end;
  33210. procedure TDMAC3_U1FRMH.setFRM9; inline;
  33211. begin
  33212. pTDefRegMap(@Self)^.&set := $00000002;
  33213. end;
  33214. procedure TDMAC3_U1FRMH.clearFRM9; inline;
  33215. begin
  33216. pTDefRegMap(@Self)^.clr := $00000002;
  33217. end;
  33218. procedure TDMAC3_U1FRMH.setFRM9(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_U1FRMH.getFRM9 : TBits_1; inline;
  33226. begin
  33227. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33228. end;
  33229. procedure TDMAC3_U1FRMH.setFRM10; inline;
  33230. begin
  33231. pTDefRegMap(@Self)^.&set := $00000004;
  33232. end;
  33233. procedure TDMAC3_U1FRMH.clearFRM10; inline;
  33234. begin
  33235. pTDefRegMap(@Self)^.clr := $00000004;
  33236. end;
  33237. procedure TDMAC3_U1FRMH.setFRM10(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_U1FRMH.getFRM10 : TBits_1; inline;
  33245. begin
  33246. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33247. end;
  33248. procedure TDMAC3_U1TOK.setEP(thebits : TBits_4); inline;
  33249. begin
  33250. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33251. end;
  33252. function TDMAC3_U1TOK.getEP : TBits_4; inline;
  33253. begin
  33254. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33255. end;
  33256. procedure TDMAC3_U1TOK.setPID(thebits : TBits_4); inline;
  33257. begin
  33258. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33259. end;
  33260. function TDMAC3_U1TOK.getPID : TBits_4; inline;
  33261. begin
  33262. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33263. end;
  33264. procedure TDMAC3_U1TOK.setEP0; inline;
  33265. begin
  33266. pTDefRegMap(@Self)^.&set := $00000001;
  33267. end;
  33268. procedure TDMAC3_U1TOK.clearEP0; inline;
  33269. begin
  33270. pTDefRegMap(@Self)^.clr := $00000001;
  33271. end;
  33272. procedure TDMAC3_U1TOK.setEP0(thebits : TBits_1); inline;
  33273. begin
  33274. if thebits = 0 then
  33275. pTDefRegMap(@Self)^.clr := $00000001
  33276. else
  33277. pTDefRegMap(@Self)^.&set := $00000001;
  33278. end;
  33279. function TDMAC3_U1TOK.getEP0 : TBits_1; inline;
  33280. begin
  33281. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33282. end;
  33283. procedure TDMAC3_U1TOK.setEP1; inline;
  33284. begin
  33285. pTDefRegMap(@Self)^.&set := $00000002;
  33286. end;
  33287. procedure TDMAC3_U1TOK.clearEP1; inline;
  33288. begin
  33289. pTDefRegMap(@Self)^.clr := $00000002;
  33290. end;
  33291. procedure TDMAC3_U1TOK.setEP1(thebits : TBits_1); inline;
  33292. begin
  33293. if thebits = 0 then
  33294. pTDefRegMap(@Self)^.clr := $00000002
  33295. else
  33296. pTDefRegMap(@Self)^.&set := $00000002;
  33297. end;
  33298. function TDMAC3_U1TOK.getEP1 : TBits_1; inline;
  33299. begin
  33300. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33301. end;
  33302. procedure TDMAC3_U1TOK.setEP2; inline;
  33303. begin
  33304. pTDefRegMap(@Self)^.&set := $00000004;
  33305. end;
  33306. procedure TDMAC3_U1TOK.clearEP2; inline;
  33307. begin
  33308. pTDefRegMap(@Self)^.clr := $00000004;
  33309. end;
  33310. procedure TDMAC3_U1TOK.setEP2(thebits : TBits_1); inline;
  33311. begin
  33312. if thebits = 0 then
  33313. pTDefRegMap(@Self)^.clr := $00000004
  33314. else
  33315. pTDefRegMap(@Self)^.&set := $00000004;
  33316. end;
  33317. function TDMAC3_U1TOK.getEP2 : TBits_1; inline;
  33318. begin
  33319. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33320. end;
  33321. procedure TDMAC3_U1TOK.setEP3; inline;
  33322. begin
  33323. pTDefRegMap(@Self)^.&set := $00000008;
  33324. end;
  33325. procedure TDMAC3_U1TOK.clearEP3; inline;
  33326. begin
  33327. pTDefRegMap(@Self)^.clr := $00000008;
  33328. end;
  33329. procedure TDMAC3_U1TOK.setEP3(thebits : TBits_1); inline;
  33330. begin
  33331. if thebits = 0 then
  33332. pTDefRegMap(@Self)^.clr := $00000008
  33333. else
  33334. pTDefRegMap(@Self)^.&set := $00000008;
  33335. end;
  33336. function TDMAC3_U1TOK.getEP3 : TBits_1; inline;
  33337. begin
  33338. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33339. end;
  33340. procedure TDMAC3_U1TOK.setPID0; inline;
  33341. begin
  33342. pTDefRegMap(@Self)^.&set := $00000010;
  33343. end;
  33344. procedure TDMAC3_U1TOK.clearPID0; inline;
  33345. begin
  33346. pTDefRegMap(@Self)^.clr := $00000010;
  33347. end;
  33348. procedure TDMAC3_U1TOK.setPID0(thebits : TBits_1); inline;
  33349. begin
  33350. if thebits = 0 then
  33351. pTDefRegMap(@Self)^.clr := $00000010
  33352. else
  33353. pTDefRegMap(@Self)^.&set := $00000010;
  33354. end;
  33355. function TDMAC3_U1TOK.getPID0 : TBits_1; inline;
  33356. begin
  33357. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33358. end;
  33359. procedure TDMAC3_U1TOK.setPID1; inline;
  33360. begin
  33361. pTDefRegMap(@Self)^.&set := $00000020;
  33362. end;
  33363. procedure TDMAC3_U1TOK.clearPID1; inline;
  33364. begin
  33365. pTDefRegMap(@Self)^.clr := $00000020;
  33366. end;
  33367. procedure TDMAC3_U1TOK.setPID1(thebits : TBits_1); inline;
  33368. begin
  33369. if thebits = 0 then
  33370. pTDefRegMap(@Self)^.clr := $00000020
  33371. else
  33372. pTDefRegMap(@Self)^.&set := $00000020;
  33373. end;
  33374. function TDMAC3_U1TOK.getPID1 : TBits_1; inline;
  33375. begin
  33376. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33377. end;
  33378. procedure TDMAC3_U1TOK.setPID2; inline;
  33379. begin
  33380. pTDefRegMap(@Self)^.&set := $00000040;
  33381. end;
  33382. procedure TDMAC3_U1TOK.clearPID2; inline;
  33383. begin
  33384. pTDefRegMap(@Self)^.clr := $00000040;
  33385. end;
  33386. procedure TDMAC3_U1TOK.setPID2(thebits : TBits_1); inline;
  33387. begin
  33388. if thebits = 0 then
  33389. pTDefRegMap(@Self)^.clr := $00000040
  33390. else
  33391. pTDefRegMap(@Self)^.&set := $00000040;
  33392. end;
  33393. function TDMAC3_U1TOK.getPID2 : TBits_1; inline;
  33394. begin
  33395. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33396. end;
  33397. procedure TDMAC3_U1TOK.setPID3; inline;
  33398. begin
  33399. pTDefRegMap(@Self)^.&set := $00000080;
  33400. end;
  33401. procedure TDMAC3_U1TOK.clearPID3; inline;
  33402. begin
  33403. pTDefRegMap(@Self)^.clr := $00000080;
  33404. end;
  33405. procedure TDMAC3_U1TOK.setPID3(thebits : TBits_1); inline;
  33406. begin
  33407. if thebits = 0 then
  33408. pTDefRegMap(@Self)^.clr := $00000080
  33409. else
  33410. pTDefRegMap(@Self)^.&set := $00000080;
  33411. end;
  33412. function TDMAC3_U1TOK.getPID3 : TBits_1; inline;
  33413. begin
  33414. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33415. end;
  33416. procedure TPORTA_ANSELA.setANSA0; inline;
  33417. begin
  33418. pTDefRegMap(@Self)^.&set := $00000001;
  33419. end;
  33420. procedure TPORTA_ANSELA.clearANSA0; inline;
  33421. begin
  33422. pTDefRegMap(@Self)^.clr := $00000001;
  33423. end;
  33424. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  33425. begin
  33426. if thebits = 0 then
  33427. pTDefRegMap(@Self)^.clr := $00000001
  33428. else
  33429. pTDefRegMap(@Self)^.&set := $00000001;
  33430. end;
  33431. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  33432. begin
  33433. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33434. end;
  33435. procedure TPORTA_ANSELA.setANSA1; inline;
  33436. begin
  33437. pTDefRegMap(@Self)^.&set := $00000002;
  33438. end;
  33439. procedure TPORTA_ANSELA.clearANSA1; inline;
  33440. begin
  33441. pTDefRegMap(@Self)^.clr := $00000002;
  33442. end;
  33443. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  33444. begin
  33445. if thebits = 0 then
  33446. pTDefRegMap(@Self)^.clr := $00000002
  33447. else
  33448. pTDefRegMap(@Self)^.&set := $00000002;
  33449. end;
  33450. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  33451. begin
  33452. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33453. end;
  33454. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  33455. begin
  33456. pTDefRegMap(@Self)^.val := thebits;
  33457. end;
  33458. function TPORTA_ANSELA.getw : TBits_32; inline;
  33459. begin
  33460. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33461. end;
  33462. procedure TPORTA_TRISA.setTRISA0; inline;
  33463. begin
  33464. pTDefRegMap(@Self)^.&set := $00000001;
  33465. end;
  33466. procedure TPORTA_TRISA.clearTRISA0; inline;
  33467. begin
  33468. pTDefRegMap(@Self)^.clr := $00000001;
  33469. end;
  33470. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  33471. begin
  33472. if thebits = 0 then
  33473. pTDefRegMap(@Self)^.clr := $00000001
  33474. else
  33475. pTDefRegMap(@Self)^.&set := $00000001;
  33476. end;
  33477. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  33478. begin
  33479. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33480. end;
  33481. procedure TPORTA_TRISA.setTRISA1; inline;
  33482. begin
  33483. pTDefRegMap(@Self)^.&set := $00000002;
  33484. end;
  33485. procedure TPORTA_TRISA.clearTRISA1; inline;
  33486. begin
  33487. pTDefRegMap(@Self)^.clr := $00000002;
  33488. end;
  33489. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  33490. begin
  33491. if thebits = 0 then
  33492. pTDefRegMap(@Self)^.clr := $00000002
  33493. else
  33494. pTDefRegMap(@Self)^.&set := $00000002;
  33495. end;
  33496. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  33497. begin
  33498. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33499. end;
  33500. procedure TPORTA_TRISA.setTRISA2; inline;
  33501. begin
  33502. pTDefRegMap(@Self)^.&set := $00000004;
  33503. end;
  33504. procedure TPORTA_TRISA.clearTRISA2; inline;
  33505. begin
  33506. pTDefRegMap(@Self)^.clr := $00000004;
  33507. end;
  33508. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  33509. begin
  33510. if thebits = 0 then
  33511. pTDefRegMap(@Self)^.clr := $00000004
  33512. else
  33513. pTDefRegMap(@Self)^.&set := $00000004;
  33514. end;
  33515. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  33516. begin
  33517. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33518. end;
  33519. procedure TPORTA_TRISA.setTRISA3; inline;
  33520. begin
  33521. pTDefRegMap(@Self)^.&set := $00000008;
  33522. end;
  33523. procedure TPORTA_TRISA.clearTRISA3; inline;
  33524. begin
  33525. pTDefRegMap(@Self)^.clr := $00000008;
  33526. end;
  33527. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  33528. begin
  33529. if thebits = 0 then
  33530. pTDefRegMap(@Self)^.clr := $00000008
  33531. else
  33532. pTDefRegMap(@Self)^.&set := $00000008;
  33533. end;
  33534. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  33535. begin
  33536. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33537. end;
  33538. procedure TPORTA_TRISA.setTRISA4; inline;
  33539. begin
  33540. pTDefRegMap(@Self)^.&set := $00000010;
  33541. end;
  33542. procedure TPORTA_TRISA.clearTRISA4; inline;
  33543. begin
  33544. pTDefRegMap(@Self)^.clr := $00000010;
  33545. end;
  33546. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  33547. begin
  33548. if thebits = 0 then
  33549. pTDefRegMap(@Self)^.clr := $00000010
  33550. else
  33551. pTDefRegMap(@Self)^.&set := $00000010;
  33552. end;
  33553. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  33554. begin
  33555. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33556. end;
  33557. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  33558. begin
  33559. pTDefRegMap(@Self)^.val := thebits;
  33560. end;
  33561. function TPORTA_TRISA.getw : TBits_32; inline;
  33562. begin
  33563. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33564. end;
  33565. procedure TPORTA_PORTA.setRA0; inline;
  33566. begin
  33567. pTDefRegMap(@Self)^.&set := $00000001;
  33568. end;
  33569. procedure TPORTA_PORTA.clearRA0; inline;
  33570. begin
  33571. pTDefRegMap(@Self)^.clr := $00000001;
  33572. end;
  33573. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  33574. begin
  33575. if thebits = 0 then
  33576. pTDefRegMap(@Self)^.clr := $00000001
  33577. else
  33578. pTDefRegMap(@Self)^.&set := $00000001;
  33579. end;
  33580. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  33581. begin
  33582. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33583. end;
  33584. procedure TPORTA_PORTA.setRA1; inline;
  33585. begin
  33586. pTDefRegMap(@Self)^.&set := $00000002;
  33587. end;
  33588. procedure TPORTA_PORTA.clearRA1; inline;
  33589. begin
  33590. pTDefRegMap(@Self)^.clr := $00000002;
  33591. end;
  33592. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  33593. begin
  33594. if thebits = 0 then
  33595. pTDefRegMap(@Self)^.clr := $00000002
  33596. else
  33597. pTDefRegMap(@Self)^.&set := $00000002;
  33598. end;
  33599. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  33600. begin
  33601. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33602. end;
  33603. procedure TPORTA_PORTA.setRA2; inline;
  33604. begin
  33605. pTDefRegMap(@Self)^.&set := $00000004;
  33606. end;
  33607. procedure TPORTA_PORTA.clearRA2; inline;
  33608. begin
  33609. pTDefRegMap(@Self)^.clr := $00000004;
  33610. end;
  33611. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  33612. begin
  33613. if thebits = 0 then
  33614. pTDefRegMap(@Self)^.clr := $00000004
  33615. else
  33616. pTDefRegMap(@Self)^.&set := $00000004;
  33617. end;
  33618. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  33619. begin
  33620. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33621. end;
  33622. procedure TPORTA_PORTA.setRA3; inline;
  33623. begin
  33624. pTDefRegMap(@Self)^.&set := $00000008;
  33625. end;
  33626. procedure TPORTA_PORTA.clearRA3; inline;
  33627. begin
  33628. pTDefRegMap(@Self)^.clr := $00000008;
  33629. end;
  33630. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  33631. begin
  33632. if thebits = 0 then
  33633. pTDefRegMap(@Self)^.clr := $00000008
  33634. else
  33635. pTDefRegMap(@Self)^.&set := $00000008;
  33636. end;
  33637. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  33638. begin
  33639. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33640. end;
  33641. procedure TPORTA_PORTA.setRA4; inline;
  33642. begin
  33643. pTDefRegMap(@Self)^.&set := $00000010;
  33644. end;
  33645. procedure TPORTA_PORTA.clearRA4; inline;
  33646. begin
  33647. pTDefRegMap(@Self)^.clr := $00000010;
  33648. end;
  33649. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  33650. begin
  33651. if thebits = 0 then
  33652. pTDefRegMap(@Self)^.clr := $00000010
  33653. else
  33654. pTDefRegMap(@Self)^.&set := $00000010;
  33655. end;
  33656. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  33657. begin
  33658. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33659. end;
  33660. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  33661. begin
  33662. pTDefRegMap(@Self)^.val := thebits;
  33663. end;
  33664. function TPORTA_PORTA.getw : TBits_32; inline;
  33665. begin
  33666. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33667. end;
  33668. procedure TPORTA_LATA.setLATA0; inline;
  33669. begin
  33670. pTDefRegMap(@Self)^.&set := $00000001;
  33671. end;
  33672. procedure TPORTA_LATA.clearLATA0; inline;
  33673. begin
  33674. pTDefRegMap(@Self)^.clr := $00000001;
  33675. end;
  33676. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  33677. begin
  33678. if thebits = 0 then
  33679. pTDefRegMap(@Self)^.clr := $00000001
  33680. else
  33681. pTDefRegMap(@Self)^.&set := $00000001;
  33682. end;
  33683. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  33684. begin
  33685. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33686. end;
  33687. procedure TPORTA_LATA.setLATA1; inline;
  33688. begin
  33689. pTDefRegMap(@Self)^.&set := $00000002;
  33690. end;
  33691. procedure TPORTA_LATA.clearLATA1; inline;
  33692. begin
  33693. pTDefRegMap(@Self)^.clr := $00000002;
  33694. end;
  33695. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  33696. begin
  33697. if thebits = 0 then
  33698. pTDefRegMap(@Self)^.clr := $00000002
  33699. else
  33700. pTDefRegMap(@Self)^.&set := $00000002;
  33701. end;
  33702. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  33703. begin
  33704. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33705. end;
  33706. procedure TPORTA_LATA.setLATA2; inline;
  33707. begin
  33708. pTDefRegMap(@Self)^.&set := $00000004;
  33709. end;
  33710. procedure TPORTA_LATA.clearLATA2; inline;
  33711. begin
  33712. pTDefRegMap(@Self)^.clr := $00000004;
  33713. end;
  33714. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  33715. begin
  33716. if thebits = 0 then
  33717. pTDefRegMap(@Self)^.clr := $00000004
  33718. else
  33719. pTDefRegMap(@Self)^.&set := $00000004;
  33720. end;
  33721. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  33722. begin
  33723. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33724. end;
  33725. procedure TPORTA_LATA.setLATA3; inline;
  33726. begin
  33727. pTDefRegMap(@Self)^.&set := $00000008;
  33728. end;
  33729. procedure TPORTA_LATA.clearLATA3; inline;
  33730. begin
  33731. pTDefRegMap(@Self)^.clr := $00000008;
  33732. end;
  33733. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  33734. begin
  33735. if thebits = 0 then
  33736. pTDefRegMap(@Self)^.clr := $00000008
  33737. else
  33738. pTDefRegMap(@Self)^.&set := $00000008;
  33739. end;
  33740. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  33741. begin
  33742. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33743. end;
  33744. procedure TPORTA_LATA.setLATA4; inline;
  33745. begin
  33746. pTDefRegMap(@Self)^.&set := $00000010;
  33747. end;
  33748. procedure TPORTA_LATA.clearLATA4; inline;
  33749. begin
  33750. pTDefRegMap(@Self)^.clr := $00000010;
  33751. end;
  33752. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  33753. begin
  33754. if thebits = 0 then
  33755. pTDefRegMap(@Self)^.clr := $00000010
  33756. else
  33757. pTDefRegMap(@Self)^.&set := $00000010;
  33758. end;
  33759. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  33760. begin
  33761. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33762. end;
  33763. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  33764. begin
  33765. pTDefRegMap(@Self)^.val := thebits;
  33766. end;
  33767. function TPORTA_LATA.getw : TBits_32; inline;
  33768. begin
  33769. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33770. end;
  33771. procedure TPORTA_ODCA.setODCA0; inline;
  33772. begin
  33773. pTDefRegMap(@Self)^.&set := $00000001;
  33774. end;
  33775. procedure TPORTA_ODCA.clearODCA0; inline;
  33776. begin
  33777. pTDefRegMap(@Self)^.clr := $00000001;
  33778. end;
  33779. procedure TPORTA_ODCA.setODCA0(thebits : TBits_1); inline;
  33780. begin
  33781. if thebits = 0 then
  33782. pTDefRegMap(@Self)^.clr := $00000001
  33783. else
  33784. pTDefRegMap(@Self)^.&set := $00000001;
  33785. end;
  33786. function TPORTA_ODCA.getODCA0 : TBits_1; inline;
  33787. begin
  33788. getODCA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33789. end;
  33790. procedure TPORTA_ODCA.setODCA1; inline;
  33791. begin
  33792. pTDefRegMap(@Self)^.&set := $00000002;
  33793. end;
  33794. procedure TPORTA_ODCA.clearODCA1; inline;
  33795. begin
  33796. pTDefRegMap(@Self)^.clr := $00000002;
  33797. end;
  33798. procedure TPORTA_ODCA.setODCA1(thebits : TBits_1); inline;
  33799. begin
  33800. if thebits = 0 then
  33801. pTDefRegMap(@Self)^.clr := $00000002
  33802. else
  33803. pTDefRegMap(@Self)^.&set := $00000002;
  33804. end;
  33805. function TPORTA_ODCA.getODCA1 : TBits_1; inline;
  33806. begin
  33807. getODCA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33808. end;
  33809. procedure TPORTA_ODCA.setODCA2; inline;
  33810. begin
  33811. pTDefRegMap(@Self)^.&set := $00000004;
  33812. end;
  33813. procedure TPORTA_ODCA.clearODCA2; inline;
  33814. begin
  33815. pTDefRegMap(@Self)^.clr := $00000004;
  33816. end;
  33817. procedure TPORTA_ODCA.setODCA2(thebits : TBits_1); inline;
  33818. begin
  33819. if thebits = 0 then
  33820. pTDefRegMap(@Self)^.clr := $00000004
  33821. else
  33822. pTDefRegMap(@Self)^.&set := $00000004;
  33823. end;
  33824. function TPORTA_ODCA.getODCA2 : TBits_1; inline;
  33825. begin
  33826. getODCA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33827. end;
  33828. procedure TPORTA_ODCA.setODCA3; inline;
  33829. begin
  33830. pTDefRegMap(@Self)^.&set := $00000008;
  33831. end;
  33832. procedure TPORTA_ODCA.clearODCA3; inline;
  33833. begin
  33834. pTDefRegMap(@Self)^.clr := $00000008;
  33835. end;
  33836. procedure TPORTA_ODCA.setODCA3(thebits : TBits_1); inline;
  33837. begin
  33838. if thebits = 0 then
  33839. pTDefRegMap(@Self)^.clr := $00000008
  33840. else
  33841. pTDefRegMap(@Self)^.&set := $00000008;
  33842. end;
  33843. function TPORTA_ODCA.getODCA3 : TBits_1; inline;
  33844. begin
  33845. getODCA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33846. end;
  33847. procedure TPORTA_ODCA.setODCA4; inline;
  33848. begin
  33849. pTDefRegMap(@Self)^.&set := $00000010;
  33850. end;
  33851. procedure TPORTA_ODCA.clearODCA4; inline;
  33852. begin
  33853. pTDefRegMap(@Self)^.clr := $00000010;
  33854. end;
  33855. procedure TPORTA_ODCA.setODCA4(thebits : TBits_1); inline;
  33856. begin
  33857. if thebits = 0 then
  33858. pTDefRegMap(@Self)^.clr := $00000010
  33859. else
  33860. pTDefRegMap(@Self)^.&set := $00000010;
  33861. end;
  33862. function TPORTA_ODCA.getODCA4 : TBits_1; inline;
  33863. begin
  33864. getODCA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33865. end;
  33866. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  33867. begin
  33868. pTDefRegMap(@Self)^.val := thebits;
  33869. end;
  33870. function TPORTA_ODCA.getw : TBits_32; inline;
  33871. begin
  33872. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33873. end;
  33874. procedure TPORTA_CNPUA.setCNPUA0; inline;
  33875. begin
  33876. pTDefRegMap(@Self)^.&set := $00000001;
  33877. end;
  33878. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  33879. begin
  33880. pTDefRegMap(@Self)^.clr := $00000001;
  33881. end;
  33882. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  33883. begin
  33884. if thebits = 0 then
  33885. pTDefRegMap(@Self)^.clr := $00000001
  33886. else
  33887. pTDefRegMap(@Self)^.&set := $00000001;
  33888. end;
  33889. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  33890. begin
  33891. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33892. end;
  33893. procedure TPORTA_CNPUA.setCNPUA1; inline;
  33894. begin
  33895. pTDefRegMap(@Self)^.&set := $00000002;
  33896. end;
  33897. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  33898. begin
  33899. pTDefRegMap(@Self)^.clr := $00000002;
  33900. end;
  33901. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  33902. begin
  33903. if thebits = 0 then
  33904. pTDefRegMap(@Self)^.clr := $00000002
  33905. else
  33906. pTDefRegMap(@Self)^.&set := $00000002;
  33907. end;
  33908. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  33909. begin
  33910. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33911. end;
  33912. procedure TPORTA_CNPUA.setCNPUA2; inline;
  33913. begin
  33914. pTDefRegMap(@Self)^.&set := $00000004;
  33915. end;
  33916. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  33917. begin
  33918. pTDefRegMap(@Self)^.clr := $00000004;
  33919. end;
  33920. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  33921. begin
  33922. if thebits = 0 then
  33923. pTDefRegMap(@Self)^.clr := $00000004
  33924. else
  33925. pTDefRegMap(@Self)^.&set := $00000004;
  33926. end;
  33927. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  33928. begin
  33929. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33930. end;
  33931. procedure TPORTA_CNPUA.setCNPUA3; inline;
  33932. begin
  33933. pTDefRegMap(@Self)^.&set := $00000008;
  33934. end;
  33935. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  33936. begin
  33937. pTDefRegMap(@Self)^.clr := $00000008;
  33938. end;
  33939. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  33940. begin
  33941. if thebits = 0 then
  33942. pTDefRegMap(@Self)^.clr := $00000008
  33943. else
  33944. pTDefRegMap(@Self)^.&set := $00000008;
  33945. end;
  33946. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  33947. begin
  33948. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33949. end;
  33950. procedure TPORTA_CNPUA.setCNPUA4; inline;
  33951. begin
  33952. pTDefRegMap(@Self)^.&set := $00000010;
  33953. end;
  33954. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  33955. begin
  33956. pTDefRegMap(@Self)^.clr := $00000010;
  33957. end;
  33958. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  33959. begin
  33960. if thebits = 0 then
  33961. pTDefRegMap(@Self)^.clr := $00000010
  33962. else
  33963. pTDefRegMap(@Self)^.&set := $00000010;
  33964. end;
  33965. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  33966. begin
  33967. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33968. end;
  33969. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  33970. begin
  33971. pTDefRegMap(@Self)^.val := thebits;
  33972. end;
  33973. function TPORTA_CNPUA.getw : TBits_32; inline;
  33974. begin
  33975. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  33976. end;
  33977. procedure TPORTA_CNPDA.setCNPDA0; inline;
  33978. begin
  33979. pTDefRegMap(@Self)^.&set := $00000001;
  33980. end;
  33981. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  33982. begin
  33983. pTDefRegMap(@Self)^.clr := $00000001;
  33984. end;
  33985. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  33986. begin
  33987. if thebits = 0 then
  33988. pTDefRegMap(@Self)^.clr := $00000001
  33989. else
  33990. pTDefRegMap(@Self)^.&set := $00000001;
  33991. end;
  33992. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  33993. begin
  33994. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33995. end;
  33996. procedure TPORTA_CNPDA.setCNPDA1; inline;
  33997. begin
  33998. pTDefRegMap(@Self)^.&set := $00000002;
  33999. end;
  34000. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34001. begin
  34002. pTDefRegMap(@Self)^.clr := $00000002;
  34003. end;
  34004. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34005. begin
  34006. if thebits = 0 then
  34007. pTDefRegMap(@Self)^.clr := $00000002
  34008. else
  34009. pTDefRegMap(@Self)^.&set := $00000002;
  34010. end;
  34011. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34012. begin
  34013. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34014. end;
  34015. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34016. begin
  34017. pTDefRegMap(@Self)^.&set := $00000004;
  34018. end;
  34019. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34020. begin
  34021. pTDefRegMap(@Self)^.clr := $00000004;
  34022. end;
  34023. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34024. begin
  34025. if thebits = 0 then
  34026. pTDefRegMap(@Self)^.clr := $00000004
  34027. else
  34028. pTDefRegMap(@Self)^.&set := $00000004;
  34029. end;
  34030. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34031. begin
  34032. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34033. end;
  34034. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34035. begin
  34036. pTDefRegMap(@Self)^.&set := $00000008;
  34037. end;
  34038. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34039. begin
  34040. pTDefRegMap(@Self)^.clr := $00000008;
  34041. end;
  34042. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34043. begin
  34044. if thebits = 0 then
  34045. pTDefRegMap(@Self)^.clr := $00000008
  34046. else
  34047. pTDefRegMap(@Self)^.&set := $00000008;
  34048. end;
  34049. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34050. begin
  34051. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34052. end;
  34053. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34054. begin
  34055. pTDefRegMap(@Self)^.&set := $00000010;
  34056. end;
  34057. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34058. begin
  34059. pTDefRegMap(@Self)^.clr := $00000010;
  34060. end;
  34061. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34062. begin
  34063. if thebits = 0 then
  34064. pTDefRegMap(@Self)^.clr := $00000010
  34065. else
  34066. pTDefRegMap(@Self)^.&set := $00000010;
  34067. end;
  34068. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34069. begin
  34070. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34071. end;
  34072. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  34073. begin
  34074. pTDefRegMap(@Self)^.val := thebits;
  34075. end;
  34076. function TPORTA_CNPDA.getw : TBits_32; inline;
  34077. begin
  34078. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34079. end;
  34080. procedure TPORTA_CNCONA.setSIDL; inline;
  34081. begin
  34082. pTDefRegMap(@Self)^.&set := $00002000;
  34083. end;
  34084. procedure TPORTA_CNCONA.clearSIDL; inline;
  34085. begin
  34086. pTDefRegMap(@Self)^.clr := $00002000;
  34087. end;
  34088. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  34089. begin
  34090. if thebits = 0 then
  34091. pTDefRegMap(@Self)^.clr := $00002000
  34092. else
  34093. pTDefRegMap(@Self)^.&set := $00002000;
  34094. end;
  34095. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  34096. begin
  34097. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34098. end;
  34099. procedure TPORTA_CNCONA.setON; inline;
  34100. begin
  34101. pTDefRegMap(@Self)^.&set := $00008000;
  34102. end;
  34103. procedure TPORTA_CNCONA.clearON; inline;
  34104. begin
  34105. pTDefRegMap(@Self)^.clr := $00008000;
  34106. end;
  34107. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  34108. begin
  34109. if thebits = 0 then
  34110. pTDefRegMap(@Self)^.clr := $00008000
  34111. else
  34112. pTDefRegMap(@Self)^.&set := $00008000;
  34113. end;
  34114. function TPORTA_CNCONA.getON : TBits_1; inline;
  34115. begin
  34116. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34117. end;
  34118. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  34119. begin
  34120. pTDefRegMap(@Self)^.val := thebits;
  34121. end;
  34122. function TPORTA_CNCONA.getw : TBits_32; inline;
  34123. begin
  34124. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34125. end;
  34126. procedure TPORTA_CNENA.setCNIEA0; inline;
  34127. begin
  34128. pTDefRegMap(@Self)^.&set := $00000001;
  34129. end;
  34130. procedure TPORTA_CNENA.clearCNIEA0; inline;
  34131. begin
  34132. pTDefRegMap(@Self)^.clr := $00000001;
  34133. end;
  34134. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  34135. begin
  34136. if thebits = 0 then
  34137. pTDefRegMap(@Self)^.clr := $00000001
  34138. else
  34139. pTDefRegMap(@Self)^.&set := $00000001;
  34140. end;
  34141. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  34142. begin
  34143. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34144. end;
  34145. procedure TPORTA_CNENA.setCNIEA1; inline;
  34146. begin
  34147. pTDefRegMap(@Self)^.&set := $00000002;
  34148. end;
  34149. procedure TPORTA_CNENA.clearCNIEA1; inline;
  34150. begin
  34151. pTDefRegMap(@Self)^.clr := $00000002;
  34152. end;
  34153. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  34154. begin
  34155. if thebits = 0 then
  34156. pTDefRegMap(@Self)^.clr := $00000002
  34157. else
  34158. pTDefRegMap(@Self)^.&set := $00000002;
  34159. end;
  34160. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  34161. begin
  34162. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34163. end;
  34164. procedure TPORTA_CNENA.setCNIEA2; inline;
  34165. begin
  34166. pTDefRegMap(@Self)^.&set := $00000004;
  34167. end;
  34168. procedure TPORTA_CNENA.clearCNIEA2; inline;
  34169. begin
  34170. pTDefRegMap(@Self)^.clr := $00000004;
  34171. end;
  34172. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  34173. begin
  34174. if thebits = 0 then
  34175. pTDefRegMap(@Self)^.clr := $00000004
  34176. else
  34177. pTDefRegMap(@Self)^.&set := $00000004;
  34178. end;
  34179. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  34180. begin
  34181. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34182. end;
  34183. procedure TPORTA_CNENA.setCNIEA3; inline;
  34184. begin
  34185. pTDefRegMap(@Self)^.&set := $00000008;
  34186. end;
  34187. procedure TPORTA_CNENA.clearCNIEA3; inline;
  34188. begin
  34189. pTDefRegMap(@Self)^.clr := $00000008;
  34190. end;
  34191. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  34192. begin
  34193. if thebits = 0 then
  34194. pTDefRegMap(@Self)^.clr := $00000008
  34195. else
  34196. pTDefRegMap(@Self)^.&set := $00000008;
  34197. end;
  34198. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  34199. begin
  34200. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34201. end;
  34202. procedure TPORTA_CNENA.setCNIEA4; inline;
  34203. begin
  34204. pTDefRegMap(@Self)^.&set := $00000010;
  34205. end;
  34206. procedure TPORTA_CNENA.clearCNIEA4; inline;
  34207. begin
  34208. pTDefRegMap(@Self)^.clr := $00000010;
  34209. end;
  34210. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  34211. begin
  34212. if thebits = 0 then
  34213. pTDefRegMap(@Self)^.clr := $00000010
  34214. else
  34215. pTDefRegMap(@Self)^.&set := $00000010;
  34216. end;
  34217. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  34218. begin
  34219. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34220. end;
  34221. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  34222. begin
  34223. pTDefRegMap(@Self)^.val := thebits;
  34224. end;
  34225. function TPORTA_CNENA.getw : TBits_32; inline;
  34226. begin
  34227. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34228. end;
  34229. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  34230. begin
  34231. pTDefRegMap(@Self)^.&set := $00000001;
  34232. end;
  34233. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.clr := $00000001;
  34236. end;
  34237. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  34238. begin
  34239. if thebits = 0 then
  34240. pTDefRegMap(@Self)^.clr := $00000001
  34241. else
  34242. pTDefRegMap(@Self)^.&set := $00000001;
  34243. end;
  34244. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  34245. begin
  34246. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34247. end;
  34248. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  34249. begin
  34250. pTDefRegMap(@Self)^.&set := $00000002;
  34251. end;
  34252. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  34253. begin
  34254. pTDefRegMap(@Self)^.clr := $00000002;
  34255. end;
  34256. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  34257. begin
  34258. if thebits = 0 then
  34259. pTDefRegMap(@Self)^.clr := $00000002
  34260. else
  34261. pTDefRegMap(@Self)^.&set := $00000002;
  34262. end;
  34263. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  34264. begin
  34265. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34266. end;
  34267. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  34268. begin
  34269. pTDefRegMap(@Self)^.&set := $00000004;
  34270. end;
  34271. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  34272. begin
  34273. pTDefRegMap(@Self)^.clr := $00000004;
  34274. end;
  34275. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  34276. begin
  34277. if thebits = 0 then
  34278. pTDefRegMap(@Self)^.clr := $00000004
  34279. else
  34280. pTDefRegMap(@Self)^.&set := $00000004;
  34281. end;
  34282. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  34283. begin
  34284. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34285. end;
  34286. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  34287. begin
  34288. pTDefRegMap(@Self)^.&set := $00000008;
  34289. end;
  34290. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  34291. begin
  34292. pTDefRegMap(@Self)^.clr := $00000008;
  34293. end;
  34294. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  34295. begin
  34296. if thebits = 0 then
  34297. pTDefRegMap(@Self)^.clr := $00000008
  34298. else
  34299. pTDefRegMap(@Self)^.&set := $00000008;
  34300. end;
  34301. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  34302. begin
  34303. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34304. end;
  34305. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  34306. begin
  34307. pTDefRegMap(@Self)^.&set := $00000010;
  34308. end;
  34309. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  34310. begin
  34311. pTDefRegMap(@Self)^.clr := $00000010;
  34312. end;
  34313. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  34314. begin
  34315. if thebits = 0 then
  34316. pTDefRegMap(@Self)^.clr := $00000010
  34317. else
  34318. pTDefRegMap(@Self)^.&set := $00000010;
  34319. end;
  34320. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  34321. begin
  34322. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34323. end;
  34324. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  34325. begin
  34326. pTDefRegMap(@Self)^.val := thebits;
  34327. end;
  34328. function TPORTA_CNSTATA.getw : TBits_32; inline;
  34329. begin
  34330. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34331. end;
  34332. procedure TPORTB_ANSELB.setANSB0; inline;
  34333. begin
  34334. pTDefRegMap(@Self)^.&set := $00000001;
  34335. end;
  34336. procedure TPORTB_ANSELB.clearANSB0; inline;
  34337. begin
  34338. pTDefRegMap(@Self)^.clr := $00000001;
  34339. end;
  34340. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  34341. begin
  34342. if thebits = 0 then
  34343. pTDefRegMap(@Self)^.clr := $00000001
  34344. else
  34345. pTDefRegMap(@Self)^.&set := $00000001;
  34346. end;
  34347. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  34348. begin
  34349. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34350. end;
  34351. procedure TPORTB_ANSELB.setANSB1; inline;
  34352. begin
  34353. pTDefRegMap(@Self)^.&set := $00000002;
  34354. end;
  34355. procedure TPORTB_ANSELB.clearANSB1; inline;
  34356. begin
  34357. pTDefRegMap(@Self)^.clr := $00000002;
  34358. end;
  34359. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  34360. begin
  34361. if thebits = 0 then
  34362. pTDefRegMap(@Self)^.clr := $00000002
  34363. else
  34364. pTDefRegMap(@Self)^.&set := $00000002;
  34365. end;
  34366. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  34367. begin
  34368. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34369. end;
  34370. procedure TPORTB_ANSELB.setANSB2; inline;
  34371. begin
  34372. pTDefRegMap(@Self)^.&set := $00000004;
  34373. end;
  34374. procedure TPORTB_ANSELB.clearANSB2; inline;
  34375. begin
  34376. pTDefRegMap(@Self)^.clr := $00000004;
  34377. end;
  34378. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  34379. begin
  34380. if thebits = 0 then
  34381. pTDefRegMap(@Self)^.clr := $00000004
  34382. else
  34383. pTDefRegMap(@Self)^.&set := $00000004;
  34384. end;
  34385. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  34386. begin
  34387. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34388. end;
  34389. procedure TPORTB_ANSELB.setANSB3; inline;
  34390. begin
  34391. pTDefRegMap(@Self)^.&set := $00000008;
  34392. end;
  34393. procedure TPORTB_ANSELB.clearANSB3; inline;
  34394. begin
  34395. pTDefRegMap(@Self)^.clr := $00000008;
  34396. end;
  34397. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  34398. begin
  34399. if thebits = 0 then
  34400. pTDefRegMap(@Self)^.clr := $00000008
  34401. else
  34402. pTDefRegMap(@Self)^.&set := $00000008;
  34403. end;
  34404. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  34405. begin
  34406. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34407. end;
  34408. procedure TPORTB_ANSELB.setANSB12; inline;
  34409. begin
  34410. pTDefRegMap(@Self)^.&set := $00001000;
  34411. end;
  34412. procedure TPORTB_ANSELB.clearANSB12; inline;
  34413. begin
  34414. pTDefRegMap(@Self)^.clr := $00001000;
  34415. end;
  34416. procedure TPORTB_ANSELB.setANSB12(thebits : TBits_1); inline;
  34417. begin
  34418. if thebits = 0 then
  34419. pTDefRegMap(@Self)^.clr := $00001000
  34420. else
  34421. pTDefRegMap(@Self)^.&set := $00001000;
  34422. end;
  34423. function TPORTB_ANSELB.getANSB12 : TBits_1; inline;
  34424. begin
  34425. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34426. end;
  34427. procedure TPORTB_ANSELB.setANSB13; inline;
  34428. begin
  34429. pTDefRegMap(@Self)^.&set := $00002000;
  34430. end;
  34431. procedure TPORTB_ANSELB.clearANSB13; inline;
  34432. begin
  34433. pTDefRegMap(@Self)^.clr := $00002000;
  34434. end;
  34435. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  34436. begin
  34437. if thebits = 0 then
  34438. pTDefRegMap(@Self)^.clr := $00002000
  34439. else
  34440. pTDefRegMap(@Self)^.&set := $00002000;
  34441. end;
  34442. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  34443. begin
  34444. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34445. end;
  34446. procedure TPORTB_ANSELB.setANSB14; inline;
  34447. begin
  34448. pTDefRegMap(@Self)^.&set := $00004000;
  34449. end;
  34450. procedure TPORTB_ANSELB.clearANSB14; inline;
  34451. begin
  34452. pTDefRegMap(@Self)^.clr := $00004000;
  34453. end;
  34454. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  34455. begin
  34456. if thebits = 0 then
  34457. pTDefRegMap(@Self)^.clr := $00004000
  34458. else
  34459. pTDefRegMap(@Self)^.&set := $00004000;
  34460. end;
  34461. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  34462. begin
  34463. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34464. end;
  34465. procedure TPORTB_ANSELB.setANSB15; inline;
  34466. begin
  34467. pTDefRegMap(@Self)^.&set := $00008000;
  34468. end;
  34469. procedure TPORTB_ANSELB.clearANSB15; inline;
  34470. begin
  34471. pTDefRegMap(@Self)^.clr := $00008000;
  34472. end;
  34473. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  34474. begin
  34475. if thebits = 0 then
  34476. pTDefRegMap(@Self)^.clr := $00008000
  34477. else
  34478. pTDefRegMap(@Self)^.&set := $00008000;
  34479. end;
  34480. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  34481. begin
  34482. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34483. end;
  34484. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  34485. begin
  34486. pTDefRegMap(@Self)^.val := thebits;
  34487. end;
  34488. function TPORTB_ANSELB.getw : TBits_32; inline;
  34489. begin
  34490. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34491. end;
  34492. procedure TPORTB_TRISB.setTRISB0; inline;
  34493. begin
  34494. pTDefRegMap(@Self)^.&set := $00000001;
  34495. end;
  34496. procedure TPORTB_TRISB.clearTRISB0; inline;
  34497. begin
  34498. pTDefRegMap(@Self)^.clr := $00000001;
  34499. end;
  34500. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  34501. begin
  34502. if thebits = 0 then
  34503. pTDefRegMap(@Self)^.clr := $00000001
  34504. else
  34505. pTDefRegMap(@Self)^.&set := $00000001;
  34506. end;
  34507. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  34508. begin
  34509. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34510. end;
  34511. procedure TPORTB_TRISB.setTRISB1; inline;
  34512. begin
  34513. pTDefRegMap(@Self)^.&set := $00000002;
  34514. end;
  34515. procedure TPORTB_TRISB.clearTRISB1; inline;
  34516. begin
  34517. pTDefRegMap(@Self)^.clr := $00000002;
  34518. end;
  34519. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  34520. begin
  34521. if thebits = 0 then
  34522. pTDefRegMap(@Self)^.clr := $00000002
  34523. else
  34524. pTDefRegMap(@Self)^.&set := $00000002;
  34525. end;
  34526. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  34527. begin
  34528. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34529. end;
  34530. procedure TPORTB_TRISB.setTRISB2; inline;
  34531. begin
  34532. pTDefRegMap(@Self)^.&set := $00000004;
  34533. end;
  34534. procedure TPORTB_TRISB.clearTRISB2; inline;
  34535. begin
  34536. pTDefRegMap(@Self)^.clr := $00000004;
  34537. end;
  34538. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  34539. begin
  34540. if thebits = 0 then
  34541. pTDefRegMap(@Self)^.clr := $00000004
  34542. else
  34543. pTDefRegMap(@Self)^.&set := $00000004;
  34544. end;
  34545. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  34546. begin
  34547. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34548. end;
  34549. procedure TPORTB_TRISB.setTRISB3; inline;
  34550. begin
  34551. pTDefRegMap(@Self)^.&set := $00000008;
  34552. end;
  34553. procedure TPORTB_TRISB.clearTRISB3; inline;
  34554. begin
  34555. pTDefRegMap(@Self)^.clr := $00000008;
  34556. end;
  34557. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  34558. begin
  34559. if thebits = 0 then
  34560. pTDefRegMap(@Self)^.clr := $00000008
  34561. else
  34562. pTDefRegMap(@Self)^.&set := $00000008;
  34563. end;
  34564. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  34565. begin
  34566. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34567. end;
  34568. procedure TPORTB_TRISB.setTRISB4; inline;
  34569. begin
  34570. pTDefRegMap(@Self)^.&set := $00000010;
  34571. end;
  34572. procedure TPORTB_TRISB.clearTRISB4; inline;
  34573. begin
  34574. pTDefRegMap(@Self)^.clr := $00000010;
  34575. end;
  34576. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  34577. begin
  34578. if thebits = 0 then
  34579. pTDefRegMap(@Self)^.clr := $00000010
  34580. else
  34581. pTDefRegMap(@Self)^.&set := $00000010;
  34582. end;
  34583. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  34584. begin
  34585. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34586. end;
  34587. procedure TPORTB_TRISB.setTRISB5; inline;
  34588. begin
  34589. pTDefRegMap(@Self)^.&set := $00000020;
  34590. end;
  34591. procedure TPORTB_TRISB.clearTRISB5; inline;
  34592. begin
  34593. pTDefRegMap(@Self)^.clr := $00000020;
  34594. end;
  34595. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  34596. begin
  34597. if thebits = 0 then
  34598. pTDefRegMap(@Self)^.clr := $00000020
  34599. else
  34600. pTDefRegMap(@Self)^.&set := $00000020;
  34601. end;
  34602. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  34603. begin
  34604. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34605. end;
  34606. procedure TPORTB_TRISB.setTRISB6; inline;
  34607. begin
  34608. pTDefRegMap(@Self)^.&set := $00000040;
  34609. end;
  34610. procedure TPORTB_TRISB.clearTRISB6; inline;
  34611. begin
  34612. pTDefRegMap(@Self)^.clr := $00000040;
  34613. end;
  34614. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  34615. begin
  34616. if thebits = 0 then
  34617. pTDefRegMap(@Self)^.clr := $00000040
  34618. else
  34619. pTDefRegMap(@Self)^.&set := $00000040;
  34620. end;
  34621. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  34622. begin
  34623. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34624. end;
  34625. procedure TPORTB_TRISB.setTRISB7; inline;
  34626. begin
  34627. pTDefRegMap(@Self)^.&set := $00000080;
  34628. end;
  34629. procedure TPORTB_TRISB.clearTRISB7; inline;
  34630. begin
  34631. pTDefRegMap(@Self)^.clr := $00000080;
  34632. end;
  34633. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  34634. begin
  34635. if thebits = 0 then
  34636. pTDefRegMap(@Self)^.clr := $00000080
  34637. else
  34638. pTDefRegMap(@Self)^.&set := $00000080;
  34639. end;
  34640. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  34641. begin
  34642. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34643. end;
  34644. procedure TPORTB_TRISB.setTRISB8; inline;
  34645. begin
  34646. pTDefRegMap(@Self)^.&set := $00000100;
  34647. end;
  34648. procedure TPORTB_TRISB.clearTRISB8; inline;
  34649. begin
  34650. pTDefRegMap(@Self)^.clr := $00000100;
  34651. end;
  34652. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  34653. begin
  34654. if thebits = 0 then
  34655. pTDefRegMap(@Self)^.clr := $00000100
  34656. else
  34657. pTDefRegMap(@Self)^.&set := $00000100;
  34658. end;
  34659. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  34660. begin
  34661. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34662. end;
  34663. procedure TPORTB_TRISB.setTRISB9; inline;
  34664. begin
  34665. pTDefRegMap(@Self)^.&set := $00000200;
  34666. end;
  34667. procedure TPORTB_TRISB.clearTRISB9; inline;
  34668. begin
  34669. pTDefRegMap(@Self)^.clr := $00000200;
  34670. end;
  34671. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  34672. begin
  34673. if thebits = 0 then
  34674. pTDefRegMap(@Self)^.clr := $00000200
  34675. else
  34676. pTDefRegMap(@Self)^.&set := $00000200;
  34677. end;
  34678. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  34679. begin
  34680. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34681. end;
  34682. procedure TPORTB_TRISB.setTRISB10; inline;
  34683. begin
  34684. pTDefRegMap(@Self)^.&set := $00000400;
  34685. end;
  34686. procedure TPORTB_TRISB.clearTRISB10; inline;
  34687. begin
  34688. pTDefRegMap(@Self)^.clr := $00000400;
  34689. end;
  34690. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  34691. begin
  34692. if thebits = 0 then
  34693. pTDefRegMap(@Self)^.clr := $00000400
  34694. else
  34695. pTDefRegMap(@Self)^.&set := $00000400;
  34696. end;
  34697. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  34698. begin
  34699. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34700. end;
  34701. procedure TPORTB_TRISB.setTRISB11; inline;
  34702. begin
  34703. pTDefRegMap(@Self)^.&set := $00000800;
  34704. end;
  34705. procedure TPORTB_TRISB.clearTRISB11; inline;
  34706. begin
  34707. pTDefRegMap(@Self)^.clr := $00000800;
  34708. end;
  34709. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  34710. begin
  34711. if thebits = 0 then
  34712. pTDefRegMap(@Self)^.clr := $00000800
  34713. else
  34714. pTDefRegMap(@Self)^.&set := $00000800;
  34715. end;
  34716. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  34717. begin
  34718. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  34719. end;
  34720. procedure TPORTB_TRISB.setTRISB12; inline;
  34721. begin
  34722. pTDefRegMap(@Self)^.&set := $00001000;
  34723. end;
  34724. procedure TPORTB_TRISB.clearTRISB12; inline;
  34725. begin
  34726. pTDefRegMap(@Self)^.clr := $00001000;
  34727. end;
  34728. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  34729. begin
  34730. if thebits = 0 then
  34731. pTDefRegMap(@Self)^.clr := $00001000
  34732. else
  34733. pTDefRegMap(@Self)^.&set := $00001000;
  34734. end;
  34735. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  34736. begin
  34737. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  34738. end;
  34739. procedure TPORTB_TRISB.setTRISB13; inline;
  34740. begin
  34741. pTDefRegMap(@Self)^.&set := $00002000;
  34742. end;
  34743. procedure TPORTB_TRISB.clearTRISB13; inline;
  34744. begin
  34745. pTDefRegMap(@Self)^.clr := $00002000;
  34746. end;
  34747. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  34748. begin
  34749. if thebits = 0 then
  34750. pTDefRegMap(@Self)^.clr := $00002000
  34751. else
  34752. pTDefRegMap(@Self)^.&set := $00002000;
  34753. end;
  34754. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  34755. begin
  34756. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  34757. end;
  34758. procedure TPORTB_TRISB.setTRISB14; inline;
  34759. begin
  34760. pTDefRegMap(@Self)^.&set := $00004000;
  34761. end;
  34762. procedure TPORTB_TRISB.clearTRISB14; inline;
  34763. begin
  34764. pTDefRegMap(@Self)^.clr := $00004000;
  34765. end;
  34766. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  34767. begin
  34768. if thebits = 0 then
  34769. pTDefRegMap(@Self)^.clr := $00004000
  34770. else
  34771. pTDefRegMap(@Self)^.&set := $00004000;
  34772. end;
  34773. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  34774. begin
  34775. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  34776. end;
  34777. procedure TPORTB_TRISB.setTRISB15; inline;
  34778. begin
  34779. pTDefRegMap(@Self)^.&set := $00008000;
  34780. end;
  34781. procedure TPORTB_TRISB.clearTRISB15; inline;
  34782. begin
  34783. pTDefRegMap(@Self)^.clr := $00008000;
  34784. end;
  34785. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  34786. begin
  34787. if thebits = 0 then
  34788. pTDefRegMap(@Self)^.clr := $00008000
  34789. else
  34790. pTDefRegMap(@Self)^.&set := $00008000;
  34791. end;
  34792. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  34793. begin
  34794. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  34795. end;
  34796. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  34797. begin
  34798. pTDefRegMap(@Self)^.val := thebits;
  34799. end;
  34800. function TPORTB_TRISB.getw : TBits_32; inline;
  34801. begin
  34802. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34803. end;
  34804. procedure TPORTB_PORTB.setRB0; inline;
  34805. begin
  34806. pTDefRegMap(@Self)^.&set := $00000001;
  34807. end;
  34808. procedure TPORTB_PORTB.clearRB0; inline;
  34809. begin
  34810. pTDefRegMap(@Self)^.clr := $00000001;
  34811. end;
  34812. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  34813. begin
  34814. if thebits = 0 then
  34815. pTDefRegMap(@Self)^.clr := $00000001
  34816. else
  34817. pTDefRegMap(@Self)^.&set := $00000001;
  34818. end;
  34819. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  34820. begin
  34821. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34822. end;
  34823. procedure TPORTB_PORTB.setRB1; inline;
  34824. begin
  34825. pTDefRegMap(@Self)^.&set := $00000002;
  34826. end;
  34827. procedure TPORTB_PORTB.clearRB1; inline;
  34828. begin
  34829. pTDefRegMap(@Self)^.clr := $00000002;
  34830. end;
  34831. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  34832. begin
  34833. if thebits = 0 then
  34834. pTDefRegMap(@Self)^.clr := $00000002
  34835. else
  34836. pTDefRegMap(@Self)^.&set := $00000002;
  34837. end;
  34838. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  34839. begin
  34840. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34841. end;
  34842. procedure TPORTB_PORTB.setRB2; inline;
  34843. begin
  34844. pTDefRegMap(@Self)^.&set := $00000004;
  34845. end;
  34846. procedure TPORTB_PORTB.clearRB2; inline;
  34847. begin
  34848. pTDefRegMap(@Self)^.clr := $00000004;
  34849. end;
  34850. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  34851. begin
  34852. if thebits = 0 then
  34853. pTDefRegMap(@Self)^.clr := $00000004
  34854. else
  34855. pTDefRegMap(@Self)^.&set := $00000004;
  34856. end;
  34857. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  34858. begin
  34859. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34860. end;
  34861. procedure TPORTB_PORTB.setRB3; inline;
  34862. begin
  34863. pTDefRegMap(@Self)^.&set := $00000008;
  34864. end;
  34865. procedure TPORTB_PORTB.clearRB3; inline;
  34866. begin
  34867. pTDefRegMap(@Self)^.clr := $00000008;
  34868. end;
  34869. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  34870. begin
  34871. if thebits = 0 then
  34872. pTDefRegMap(@Self)^.clr := $00000008
  34873. else
  34874. pTDefRegMap(@Self)^.&set := $00000008;
  34875. end;
  34876. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  34877. begin
  34878. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34879. end;
  34880. procedure TPORTB_PORTB.setRB4; inline;
  34881. begin
  34882. pTDefRegMap(@Self)^.&set := $00000010;
  34883. end;
  34884. procedure TPORTB_PORTB.clearRB4; inline;
  34885. begin
  34886. pTDefRegMap(@Self)^.clr := $00000010;
  34887. end;
  34888. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  34889. begin
  34890. if thebits = 0 then
  34891. pTDefRegMap(@Self)^.clr := $00000010
  34892. else
  34893. pTDefRegMap(@Self)^.&set := $00000010;
  34894. end;
  34895. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  34896. begin
  34897. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34898. end;
  34899. procedure TPORTB_PORTB.setRB5; inline;
  34900. begin
  34901. pTDefRegMap(@Self)^.&set := $00000020;
  34902. end;
  34903. procedure TPORTB_PORTB.clearRB5; inline;
  34904. begin
  34905. pTDefRegMap(@Self)^.clr := $00000020;
  34906. end;
  34907. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  34908. begin
  34909. if thebits = 0 then
  34910. pTDefRegMap(@Self)^.clr := $00000020
  34911. else
  34912. pTDefRegMap(@Self)^.&set := $00000020;
  34913. end;
  34914. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  34915. begin
  34916. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34917. end;
  34918. procedure TPORTB_PORTB.setRB6; inline;
  34919. begin
  34920. pTDefRegMap(@Self)^.&set := $00000040;
  34921. end;
  34922. procedure TPORTB_PORTB.clearRB6; inline;
  34923. begin
  34924. pTDefRegMap(@Self)^.clr := $00000040;
  34925. end;
  34926. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  34927. begin
  34928. if thebits = 0 then
  34929. pTDefRegMap(@Self)^.clr := $00000040
  34930. else
  34931. pTDefRegMap(@Self)^.&set := $00000040;
  34932. end;
  34933. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  34934. begin
  34935. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34936. end;
  34937. procedure TPORTB_PORTB.setRB7; inline;
  34938. begin
  34939. pTDefRegMap(@Self)^.&set := $00000080;
  34940. end;
  34941. procedure TPORTB_PORTB.clearRB7; inline;
  34942. begin
  34943. pTDefRegMap(@Self)^.clr := $00000080;
  34944. end;
  34945. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  34946. begin
  34947. if thebits = 0 then
  34948. pTDefRegMap(@Self)^.clr := $00000080
  34949. else
  34950. pTDefRegMap(@Self)^.&set := $00000080;
  34951. end;
  34952. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  34953. begin
  34954. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34955. end;
  34956. procedure TPORTB_PORTB.setRB8; inline;
  34957. begin
  34958. pTDefRegMap(@Self)^.&set := $00000100;
  34959. end;
  34960. procedure TPORTB_PORTB.clearRB8; inline;
  34961. begin
  34962. pTDefRegMap(@Self)^.clr := $00000100;
  34963. end;
  34964. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  34965. begin
  34966. if thebits = 0 then
  34967. pTDefRegMap(@Self)^.clr := $00000100
  34968. else
  34969. pTDefRegMap(@Self)^.&set := $00000100;
  34970. end;
  34971. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  34972. begin
  34973. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34974. end;
  34975. procedure TPORTB_PORTB.setRB9; inline;
  34976. begin
  34977. pTDefRegMap(@Self)^.&set := $00000200;
  34978. end;
  34979. procedure TPORTB_PORTB.clearRB9; inline;
  34980. begin
  34981. pTDefRegMap(@Self)^.clr := $00000200;
  34982. end;
  34983. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  34984. begin
  34985. if thebits = 0 then
  34986. pTDefRegMap(@Self)^.clr := $00000200
  34987. else
  34988. pTDefRegMap(@Self)^.&set := $00000200;
  34989. end;
  34990. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  34991. begin
  34992. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34993. end;
  34994. procedure TPORTB_PORTB.setRB10; inline;
  34995. begin
  34996. pTDefRegMap(@Self)^.&set := $00000400;
  34997. end;
  34998. procedure TPORTB_PORTB.clearRB10; inline;
  34999. begin
  35000. pTDefRegMap(@Self)^.clr := $00000400;
  35001. end;
  35002. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  35003. begin
  35004. if thebits = 0 then
  35005. pTDefRegMap(@Self)^.clr := $00000400
  35006. else
  35007. pTDefRegMap(@Self)^.&set := $00000400;
  35008. end;
  35009. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  35010. begin
  35011. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35012. end;
  35013. procedure TPORTB_PORTB.setRB11; inline;
  35014. begin
  35015. pTDefRegMap(@Self)^.&set := $00000800;
  35016. end;
  35017. procedure TPORTB_PORTB.clearRB11; inline;
  35018. begin
  35019. pTDefRegMap(@Self)^.clr := $00000800;
  35020. end;
  35021. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  35022. begin
  35023. if thebits = 0 then
  35024. pTDefRegMap(@Self)^.clr := $00000800
  35025. else
  35026. pTDefRegMap(@Self)^.&set := $00000800;
  35027. end;
  35028. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  35029. begin
  35030. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35031. end;
  35032. procedure TPORTB_PORTB.setRB12; inline;
  35033. begin
  35034. pTDefRegMap(@Self)^.&set := $00001000;
  35035. end;
  35036. procedure TPORTB_PORTB.clearRB12; inline;
  35037. begin
  35038. pTDefRegMap(@Self)^.clr := $00001000;
  35039. end;
  35040. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  35041. begin
  35042. if thebits = 0 then
  35043. pTDefRegMap(@Self)^.clr := $00001000
  35044. else
  35045. pTDefRegMap(@Self)^.&set := $00001000;
  35046. end;
  35047. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  35048. begin
  35049. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35050. end;
  35051. procedure TPORTB_PORTB.setRB13; inline;
  35052. begin
  35053. pTDefRegMap(@Self)^.&set := $00002000;
  35054. end;
  35055. procedure TPORTB_PORTB.clearRB13; inline;
  35056. begin
  35057. pTDefRegMap(@Self)^.clr := $00002000;
  35058. end;
  35059. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  35060. begin
  35061. if thebits = 0 then
  35062. pTDefRegMap(@Self)^.clr := $00002000
  35063. else
  35064. pTDefRegMap(@Self)^.&set := $00002000;
  35065. end;
  35066. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  35067. begin
  35068. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35069. end;
  35070. procedure TPORTB_PORTB.setRB14; inline;
  35071. begin
  35072. pTDefRegMap(@Self)^.&set := $00004000;
  35073. end;
  35074. procedure TPORTB_PORTB.clearRB14; inline;
  35075. begin
  35076. pTDefRegMap(@Self)^.clr := $00004000;
  35077. end;
  35078. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  35079. begin
  35080. if thebits = 0 then
  35081. pTDefRegMap(@Self)^.clr := $00004000
  35082. else
  35083. pTDefRegMap(@Self)^.&set := $00004000;
  35084. end;
  35085. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  35086. begin
  35087. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35088. end;
  35089. procedure TPORTB_PORTB.setRB15; inline;
  35090. begin
  35091. pTDefRegMap(@Self)^.&set := $00008000;
  35092. end;
  35093. procedure TPORTB_PORTB.clearRB15; inline;
  35094. begin
  35095. pTDefRegMap(@Self)^.clr := $00008000;
  35096. end;
  35097. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  35098. begin
  35099. if thebits = 0 then
  35100. pTDefRegMap(@Self)^.clr := $00008000
  35101. else
  35102. pTDefRegMap(@Self)^.&set := $00008000;
  35103. end;
  35104. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  35105. begin
  35106. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35107. end;
  35108. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  35109. begin
  35110. pTDefRegMap(@Self)^.val := thebits;
  35111. end;
  35112. function TPORTB_PORTB.getw : TBits_32; inline;
  35113. begin
  35114. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35115. end;
  35116. procedure TPORTB_LATB.setLATB0; inline;
  35117. begin
  35118. pTDefRegMap(@Self)^.&set := $00000001;
  35119. end;
  35120. procedure TPORTB_LATB.clearLATB0; inline;
  35121. begin
  35122. pTDefRegMap(@Self)^.clr := $00000001;
  35123. end;
  35124. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  35125. begin
  35126. if thebits = 0 then
  35127. pTDefRegMap(@Self)^.clr := $00000001
  35128. else
  35129. pTDefRegMap(@Self)^.&set := $00000001;
  35130. end;
  35131. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  35132. begin
  35133. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35134. end;
  35135. procedure TPORTB_LATB.setLATB1; inline;
  35136. begin
  35137. pTDefRegMap(@Self)^.&set := $00000002;
  35138. end;
  35139. procedure TPORTB_LATB.clearLATB1; inline;
  35140. begin
  35141. pTDefRegMap(@Self)^.clr := $00000002;
  35142. end;
  35143. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  35144. begin
  35145. if thebits = 0 then
  35146. pTDefRegMap(@Self)^.clr := $00000002
  35147. else
  35148. pTDefRegMap(@Self)^.&set := $00000002;
  35149. end;
  35150. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  35151. begin
  35152. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35153. end;
  35154. procedure TPORTB_LATB.setLATB2; inline;
  35155. begin
  35156. pTDefRegMap(@Self)^.&set := $00000004;
  35157. end;
  35158. procedure TPORTB_LATB.clearLATB2; inline;
  35159. begin
  35160. pTDefRegMap(@Self)^.clr := $00000004;
  35161. end;
  35162. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  35163. begin
  35164. if thebits = 0 then
  35165. pTDefRegMap(@Self)^.clr := $00000004
  35166. else
  35167. pTDefRegMap(@Self)^.&set := $00000004;
  35168. end;
  35169. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  35170. begin
  35171. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35172. end;
  35173. procedure TPORTB_LATB.setLATB3; inline;
  35174. begin
  35175. pTDefRegMap(@Self)^.&set := $00000008;
  35176. end;
  35177. procedure TPORTB_LATB.clearLATB3; inline;
  35178. begin
  35179. pTDefRegMap(@Self)^.clr := $00000008;
  35180. end;
  35181. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  35182. begin
  35183. if thebits = 0 then
  35184. pTDefRegMap(@Self)^.clr := $00000008
  35185. else
  35186. pTDefRegMap(@Self)^.&set := $00000008;
  35187. end;
  35188. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  35189. begin
  35190. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35191. end;
  35192. procedure TPORTB_LATB.setLATB4; inline;
  35193. begin
  35194. pTDefRegMap(@Self)^.&set := $00000010;
  35195. end;
  35196. procedure TPORTB_LATB.clearLATB4; inline;
  35197. begin
  35198. pTDefRegMap(@Self)^.clr := $00000010;
  35199. end;
  35200. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  35201. begin
  35202. if thebits = 0 then
  35203. pTDefRegMap(@Self)^.clr := $00000010
  35204. else
  35205. pTDefRegMap(@Self)^.&set := $00000010;
  35206. end;
  35207. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  35208. begin
  35209. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35210. end;
  35211. procedure TPORTB_LATB.setLATB5; inline;
  35212. begin
  35213. pTDefRegMap(@Self)^.&set := $00000020;
  35214. end;
  35215. procedure TPORTB_LATB.clearLATB5; inline;
  35216. begin
  35217. pTDefRegMap(@Self)^.clr := $00000020;
  35218. end;
  35219. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  35220. begin
  35221. if thebits = 0 then
  35222. pTDefRegMap(@Self)^.clr := $00000020
  35223. else
  35224. pTDefRegMap(@Self)^.&set := $00000020;
  35225. end;
  35226. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  35227. begin
  35228. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35229. end;
  35230. procedure TPORTB_LATB.setLATB6; inline;
  35231. begin
  35232. pTDefRegMap(@Self)^.&set := $00000040;
  35233. end;
  35234. procedure TPORTB_LATB.clearLATB6; inline;
  35235. begin
  35236. pTDefRegMap(@Self)^.clr := $00000040;
  35237. end;
  35238. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  35239. begin
  35240. if thebits = 0 then
  35241. pTDefRegMap(@Self)^.clr := $00000040
  35242. else
  35243. pTDefRegMap(@Self)^.&set := $00000040;
  35244. end;
  35245. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  35246. begin
  35247. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35248. end;
  35249. procedure TPORTB_LATB.setLATB7; inline;
  35250. begin
  35251. pTDefRegMap(@Self)^.&set := $00000080;
  35252. end;
  35253. procedure TPORTB_LATB.clearLATB7; inline;
  35254. begin
  35255. pTDefRegMap(@Self)^.clr := $00000080;
  35256. end;
  35257. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  35258. begin
  35259. if thebits = 0 then
  35260. pTDefRegMap(@Self)^.clr := $00000080
  35261. else
  35262. pTDefRegMap(@Self)^.&set := $00000080;
  35263. end;
  35264. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  35265. begin
  35266. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35267. end;
  35268. procedure TPORTB_LATB.setLATB8; inline;
  35269. begin
  35270. pTDefRegMap(@Self)^.&set := $00000100;
  35271. end;
  35272. procedure TPORTB_LATB.clearLATB8; inline;
  35273. begin
  35274. pTDefRegMap(@Self)^.clr := $00000100;
  35275. end;
  35276. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  35277. begin
  35278. if thebits = 0 then
  35279. pTDefRegMap(@Self)^.clr := $00000100
  35280. else
  35281. pTDefRegMap(@Self)^.&set := $00000100;
  35282. end;
  35283. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  35284. begin
  35285. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35286. end;
  35287. procedure TPORTB_LATB.setLATB9; inline;
  35288. begin
  35289. pTDefRegMap(@Self)^.&set := $00000200;
  35290. end;
  35291. procedure TPORTB_LATB.clearLATB9; inline;
  35292. begin
  35293. pTDefRegMap(@Self)^.clr := $00000200;
  35294. end;
  35295. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  35296. begin
  35297. if thebits = 0 then
  35298. pTDefRegMap(@Self)^.clr := $00000200
  35299. else
  35300. pTDefRegMap(@Self)^.&set := $00000200;
  35301. end;
  35302. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  35303. begin
  35304. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35305. end;
  35306. procedure TPORTB_LATB.setLATB10; inline;
  35307. begin
  35308. pTDefRegMap(@Self)^.&set := $00000400;
  35309. end;
  35310. procedure TPORTB_LATB.clearLATB10; inline;
  35311. begin
  35312. pTDefRegMap(@Self)^.clr := $00000400;
  35313. end;
  35314. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  35315. begin
  35316. if thebits = 0 then
  35317. pTDefRegMap(@Self)^.clr := $00000400
  35318. else
  35319. pTDefRegMap(@Self)^.&set := $00000400;
  35320. end;
  35321. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  35322. begin
  35323. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35324. end;
  35325. procedure TPORTB_LATB.setLATB11; inline;
  35326. begin
  35327. pTDefRegMap(@Self)^.&set := $00000800;
  35328. end;
  35329. procedure TPORTB_LATB.clearLATB11; inline;
  35330. begin
  35331. pTDefRegMap(@Self)^.clr := $00000800;
  35332. end;
  35333. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  35334. begin
  35335. if thebits = 0 then
  35336. pTDefRegMap(@Self)^.clr := $00000800
  35337. else
  35338. pTDefRegMap(@Self)^.&set := $00000800;
  35339. end;
  35340. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  35341. begin
  35342. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35343. end;
  35344. procedure TPORTB_LATB.setLATB12; inline;
  35345. begin
  35346. pTDefRegMap(@Self)^.&set := $00001000;
  35347. end;
  35348. procedure TPORTB_LATB.clearLATB12; inline;
  35349. begin
  35350. pTDefRegMap(@Self)^.clr := $00001000;
  35351. end;
  35352. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  35353. begin
  35354. if thebits = 0 then
  35355. pTDefRegMap(@Self)^.clr := $00001000
  35356. else
  35357. pTDefRegMap(@Self)^.&set := $00001000;
  35358. end;
  35359. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  35360. begin
  35361. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35362. end;
  35363. procedure TPORTB_LATB.setLATB13; inline;
  35364. begin
  35365. pTDefRegMap(@Self)^.&set := $00002000;
  35366. end;
  35367. procedure TPORTB_LATB.clearLATB13; inline;
  35368. begin
  35369. pTDefRegMap(@Self)^.clr := $00002000;
  35370. end;
  35371. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  35372. begin
  35373. if thebits = 0 then
  35374. pTDefRegMap(@Self)^.clr := $00002000
  35375. else
  35376. pTDefRegMap(@Self)^.&set := $00002000;
  35377. end;
  35378. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  35379. begin
  35380. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35381. end;
  35382. procedure TPORTB_LATB.setLATB14; inline;
  35383. begin
  35384. pTDefRegMap(@Self)^.&set := $00004000;
  35385. end;
  35386. procedure TPORTB_LATB.clearLATB14; inline;
  35387. begin
  35388. pTDefRegMap(@Self)^.clr := $00004000;
  35389. end;
  35390. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  35391. begin
  35392. if thebits = 0 then
  35393. pTDefRegMap(@Self)^.clr := $00004000
  35394. else
  35395. pTDefRegMap(@Self)^.&set := $00004000;
  35396. end;
  35397. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  35398. begin
  35399. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35400. end;
  35401. procedure TPORTB_LATB.setLATB15; inline;
  35402. begin
  35403. pTDefRegMap(@Self)^.&set := $00008000;
  35404. end;
  35405. procedure TPORTB_LATB.clearLATB15; inline;
  35406. begin
  35407. pTDefRegMap(@Self)^.clr := $00008000;
  35408. end;
  35409. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  35410. begin
  35411. if thebits = 0 then
  35412. pTDefRegMap(@Self)^.clr := $00008000
  35413. else
  35414. pTDefRegMap(@Self)^.&set := $00008000;
  35415. end;
  35416. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  35417. begin
  35418. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35419. end;
  35420. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  35421. begin
  35422. pTDefRegMap(@Self)^.val := thebits;
  35423. end;
  35424. function TPORTB_LATB.getw : TBits_32; inline;
  35425. begin
  35426. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35427. end;
  35428. procedure TPORTB_ODCB.setODCB0; inline;
  35429. begin
  35430. pTDefRegMap(@Self)^.&set := $00000001;
  35431. end;
  35432. procedure TPORTB_ODCB.clearODCB0; inline;
  35433. begin
  35434. pTDefRegMap(@Self)^.clr := $00000001;
  35435. end;
  35436. procedure TPORTB_ODCB.setODCB0(thebits : TBits_1); inline;
  35437. begin
  35438. if thebits = 0 then
  35439. pTDefRegMap(@Self)^.clr := $00000001
  35440. else
  35441. pTDefRegMap(@Self)^.&set := $00000001;
  35442. end;
  35443. function TPORTB_ODCB.getODCB0 : TBits_1; inline;
  35444. begin
  35445. getODCB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35446. end;
  35447. procedure TPORTB_ODCB.setODCB1; inline;
  35448. begin
  35449. pTDefRegMap(@Self)^.&set := $00000002;
  35450. end;
  35451. procedure TPORTB_ODCB.clearODCB1; inline;
  35452. begin
  35453. pTDefRegMap(@Self)^.clr := $00000002;
  35454. end;
  35455. procedure TPORTB_ODCB.setODCB1(thebits : TBits_1); inline;
  35456. begin
  35457. if thebits = 0 then
  35458. pTDefRegMap(@Self)^.clr := $00000002
  35459. else
  35460. pTDefRegMap(@Self)^.&set := $00000002;
  35461. end;
  35462. function TPORTB_ODCB.getODCB1 : TBits_1; inline;
  35463. begin
  35464. getODCB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35465. end;
  35466. procedure TPORTB_ODCB.setODCB2; inline;
  35467. begin
  35468. pTDefRegMap(@Self)^.&set := $00000004;
  35469. end;
  35470. procedure TPORTB_ODCB.clearODCB2; inline;
  35471. begin
  35472. pTDefRegMap(@Self)^.clr := $00000004;
  35473. end;
  35474. procedure TPORTB_ODCB.setODCB2(thebits : TBits_1); inline;
  35475. begin
  35476. if thebits = 0 then
  35477. pTDefRegMap(@Self)^.clr := $00000004
  35478. else
  35479. pTDefRegMap(@Self)^.&set := $00000004;
  35480. end;
  35481. function TPORTB_ODCB.getODCB2 : TBits_1; inline;
  35482. begin
  35483. getODCB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35484. end;
  35485. procedure TPORTB_ODCB.setODCB3; inline;
  35486. begin
  35487. pTDefRegMap(@Self)^.&set := $00000008;
  35488. end;
  35489. procedure TPORTB_ODCB.clearODCB3; inline;
  35490. begin
  35491. pTDefRegMap(@Self)^.clr := $00000008;
  35492. end;
  35493. procedure TPORTB_ODCB.setODCB3(thebits : TBits_1); inline;
  35494. begin
  35495. if thebits = 0 then
  35496. pTDefRegMap(@Self)^.clr := $00000008
  35497. else
  35498. pTDefRegMap(@Self)^.&set := $00000008;
  35499. end;
  35500. function TPORTB_ODCB.getODCB3 : TBits_1; inline;
  35501. begin
  35502. getODCB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35503. end;
  35504. procedure TPORTB_ODCB.setODCB4; inline;
  35505. begin
  35506. pTDefRegMap(@Self)^.&set := $00000010;
  35507. end;
  35508. procedure TPORTB_ODCB.clearODCB4; inline;
  35509. begin
  35510. pTDefRegMap(@Self)^.clr := $00000010;
  35511. end;
  35512. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  35513. begin
  35514. if thebits = 0 then
  35515. pTDefRegMap(@Self)^.clr := $00000010
  35516. else
  35517. pTDefRegMap(@Self)^.&set := $00000010;
  35518. end;
  35519. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  35520. begin
  35521. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35522. end;
  35523. procedure TPORTB_ODCB.setODCB5; inline;
  35524. begin
  35525. pTDefRegMap(@Self)^.&set := $00000020;
  35526. end;
  35527. procedure TPORTB_ODCB.clearODCB5; inline;
  35528. begin
  35529. pTDefRegMap(@Self)^.clr := $00000020;
  35530. end;
  35531. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  35532. begin
  35533. if thebits = 0 then
  35534. pTDefRegMap(@Self)^.clr := $00000020
  35535. else
  35536. pTDefRegMap(@Self)^.&set := $00000020;
  35537. end;
  35538. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  35539. begin
  35540. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35541. end;
  35542. procedure TPORTB_ODCB.setODCB6; inline;
  35543. begin
  35544. pTDefRegMap(@Self)^.&set := $00000040;
  35545. end;
  35546. procedure TPORTB_ODCB.clearODCB6; inline;
  35547. begin
  35548. pTDefRegMap(@Self)^.clr := $00000040;
  35549. end;
  35550. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  35551. begin
  35552. if thebits = 0 then
  35553. pTDefRegMap(@Self)^.clr := $00000040
  35554. else
  35555. pTDefRegMap(@Self)^.&set := $00000040;
  35556. end;
  35557. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  35558. begin
  35559. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35560. end;
  35561. procedure TPORTB_ODCB.setODCB7; inline;
  35562. begin
  35563. pTDefRegMap(@Self)^.&set := $00000080;
  35564. end;
  35565. procedure TPORTB_ODCB.clearODCB7; inline;
  35566. begin
  35567. pTDefRegMap(@Self)^.clr := $00000080;
  35568. end;
  35569. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  35570. begin
  35571. if thebits = 0 then
  35572. pTDefRegMap(@Self)^.clr := $00000080
  35573. else
  35574. pTDefRegMap(@Self)^.&set := $00000080;
  35575. end;
  35576. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  35577. begin
  35578. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35579. end;
  35580. procedure TPORTB_ODCB.setODCB8; inline;
  35581. begin
  35582. pTDefRegMap(@Self)^.&set := $00000100;
  35583. end;
  35584. procedure TPORTB_ODCB.clearODCB8; inline;
  35585. begin
  35586. pTDefRegMap(@Self)^.clr := $00000100;
  35587. end;
  35588. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  35589. begin
  35590. if thebits = 0 then
  35591. pTDefRegMap(@Self)^.clr := $00000100
  35592. else
  35593. pTDefRegMap(@Self)^.&set := $00000100;
  35594. end;
  35595. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  35596. begin
  35597. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35598. end;
  35599. procedure TPORTB_ODCB.setODCB9; inline;
  35600. begin
  35601. pTDefRegMap(@Self)^.&set := $00000200;
  35602. end;
  35603. procedure TPORTB_ODCB.clearODCB9; inline;
  35604. begin
  35605. pTDefRegMap(@Self)^.clr := $00000200;
  35606. end;
  35607. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  35608. begin
  35609. if thebits = 0 then
  35610. pTDefRegMap(@Self)^.clr := $00000200
  35611. else
  35612. pTDefRegMap(@Self)^.&set := $00000200;
  35613. end;
  35614. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  35615. begin
  35616. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35617. end;
  35618. procedure TPORTB_ODCB.setODCB10; inline;
  35619. begin
  35620. pTDefRegMap(@Self)^.&set := $00000400;
  35621. end;
  35622. procedure TPORTB_ODCB.clearODCB10; inline;
  35623. begin
  35624. pTDefRegMap(@Self)^.clr := $00000400;
  35625. end;
  35626. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  35627. begin
  35628. if thebits = 0 then
  35629. pTDefRegMap(@Self)^.clr := $00000400
  35630. else
  35631. pTDefRegMap(@Self)^.&set := $00000400;
  35632. end;
  35633. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  35634. begin
  35635. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35636. end;
  35637. procedure TPORTB_ODCB.setODCB11; inline;
  35638. begin
  35639. pTDefRegMap(@Self)^.&set := $00000800;
  35640. end;
  35641. procedure TPORTB_ODCB.clearODCB11; inline;
  35642. begin
  35643. pTDefRegMap(@Self)^.clr := $00000800;
  35644. end;
  35645. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  35646. begin
  35647. if thebits = 0 then
  35648. pTDefRegMap(@Self)^.clr := $00000800
  35649. else
  35650. pTDefRegMap(@Self)^.&set := $00000800;
  35651. end;
  35652. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  35653. begin
  35654. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35655. end;
  35656. procedure TPORTB_ODCB.setODCB12; inline;
  35657. begin
  35658. pTDefRegMap(@Self)^.&set := $00001000;
  35659. end;
  35660. procedure TPORTB_ODCB.clearODCB12; inline;
  35661. begin
  35662. pTDefRegMap(@Self)^.clr := $00001000;
  35663. end;
  35664. procedure TPORTB_ODCB.setODCB12(thebits : TBits_1); inline;
  35665. begin
  35666. if thebits = 0 then
  35667. pTDefRegMap(@Self)^.clr := $00001000
  35668. else
  35669. pTDefRegMap(@Self)^.&set := $00001000;
  35670. end;
  35671. function TPORTB_ODCB.getODCB12 : TBits_1; inline;
  35672. begin
  35673. getODCB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35674. end;
  35675. procedure TPORTB_ODCB.setODCB13; inline;
  35676. begin
  35677. pTDefRegMap(@Self)^.&set := $00002000;
  35678. end;
  35679. procedure TPORTB_ODCB.clearODCB13; inline;
  35680. begin
  35681. pTDefRegMap(@Self)^.clr := $00002000;
  35682. end;
  35683. procedure TPORTB_ODCB.setODCB13(thebits : TBits_1); inline;
  35684. begin
  35685. if thebits = 0 then
  35686. pTDefRegMap(@Self)^.clr := $00002000
  35687. else
  35688. pTDefRegMap(@Self)^.&set := $00002000;
  35689. end;
  35690. function TPORTB_ODCB.getODCB13 : TBits_1; inline;
  35691. begin
  35692. getODCB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35693. end;
  35694. procedure TPORTB_ODCB.setODCB14; inline;
  35695. begin
  35696. pTDefRegMap(@Self)^.&set := $00004000;
  35697. end;
  35698. procedure TPORTB_ODCB.clearODCB14; inline;
  35699. begin
  35700. pTDefRegMap(@Self)^.clr := $00004000;
  35701. end;
  35702. procedure TPORTB_ODCB.setODCB14(thebits : TBits_1); inline;
  35703. begin
  35704. if thebits = 0 then
  35705. pTDefRegMap(@Self)^.clr := $00004000
  35706. else
  35707. pTDefRegMap(@Self)^.&set := $00004000;
  35708. end;
  35709. function TPORTB_ODCB.getODCB14 : TBits_1; inline;
  35710. begin
  35711. getODCB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35712. end;
  35713. procedure TPORTB_ODCB.setODCB15; inline;
  35714. begin
  35715. pTDefRegMap(@Self)^.&set := $00008000;
  35716. end;
  35717. procedure TPORTB_ODCB.clearODCB15; inline;
  35718. begin
  35719. pTDefRegMap(@Self)^.clr := $00008000;
  35720. end;
  35721. procedure TPORTB_ODCB.setODCB15(thebits : TBits_1); inline;
  35722. begin
  35723. if thebits = 0 then
  35724. pTDefRegMap(@Self)^.clr := $00008000
  35725. else
  35726. pTDefRegMap(@Self)^.&set := $00008000;
  35727. end;
  35728. function TPORTB_ODCB.getODCB15 : TBits_1; inline;
  35729. begin
  35730. getODCB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35731. end;
  35732. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  35733. begin
  35734. pTDefRegMap(@Self)^.val := thebits;
  35735. end;
  35736. function TPORTB_ODCB.getw : TBits_32; inline;
  35737. begin
  35738. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35739. end;
  35740. procedure TPORTB_CNPUB.setCNPUB0; inline;
  35741. begin
  35742. pTDefRegMap(@Self)^.&set := $00000001;
  35743. end;
  35744. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  35745. begin
  35746. pTDefRegMap(@Self)^.clr := $00000001;
  35747. end;
  35748. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  35749. begin
  35750. if thebits = 0 then
  35751. pTDefRegMap(@Self)^.clr := $00000001
  35752. else
  35753. pTDefRegMap(@Self)^.&set := $00000001;
  35754. end;
  35755. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  35756. begin
  35757. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35758. end;
  35759. procedure TPORTB_CNPUB.setCNPUB1; inline;
  35760. begin
  35761. pTDefRegMap(@Self)^.&set := $00000002;
  35762. end;
  35763. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  35764. begin
  35765. pTDefRegMap(@Self)^.clr := $00000002;
  35766. end;
  35767. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  35768. begin
  35769. if thebits = 0 then
  35770. pTDefRegMap(@Self)^.clr := $00000002
  35771. else
  35772. pTDefRegMap(@Self)^.&set := $00000002;
  35773. end;
  35774. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  35775. begin
  35776. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35777. end;
  35778. procedure TPORTB_CNPUB.setCNPUB2; inline;
  35779. begin
  35780. pTDefRegMap(@Self)^.&set := $00000004;
  35781. end;
  35782. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  35783. begin
  35784. pTDefRegMap(@Self)^.clr := $00000004;
  35785. end;
  35786. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  35787. begin
  35788. if thebits = 0 then
  35789. pTDefRegMap(@Self)^.clr := $00000004
  35790. else
  35791. pTDefRegMap(@Self)^.&set := $00000004;
  35792. end;
  35793. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  35794. begin
  35795. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35796. end;
  35797. procedure TPORTB_CNPUB.setCNPUB3; inline;
  35798. begin
  35799. pTDefRegMap(@Self)^.&set := $00000008;
  35800. end;
  35801. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  35802. begin
  35803. pTDefRegMap(@Self)^.clr := $00000008;
  35804. end;
  35805. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  35806. begin
  35807. if thebits = 0 then
  35808. pTDefRegMap(@Self)^.clr := $00000008
  35809. else
  35810. pTDefRegMap(@Self)^.&set := $00000008;
  35811. end;
  35812. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  35813. begin
  35814. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35815. end;
  35816. procedure TPORTB_CNPUB.setCNPUB4; inline;
  35817. begin
  35818. pTDefRegMap(@Self)^.&set := $00000010;
  35819. end;
  35820. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  35821. begin
  35822. pTDefRegMap(@Self)^.clr := $00000010;
  35823. end;
  35824. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  35825. begin
  35826. if thebits = 0 then
  35827. pTDefRegMap(@Self)^.clr := $00000010
  35828. else
  35829. pTDefRegMap(@Self)^.&set := $00000010;
  35830. end;
  35831. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  35832. begin
  35833. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35834. end;
  35835. procedure TPORTB_CNPUB.setCNPUB5; inline;
  35836. begin
  35837. pTDefRegMap(@Self)^.&set := $00000020;
  35838. end;
  35839. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  35840. begin
  35841. pTDefRegMap(@Self)^.clr := $00000020;
  35842. end;
  35843. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  35844. begin
  35845. if thebits = 0 then
  35846. pTDefRegMap(@Self)^.clr := $00000020
  35847. else
  35848. pTDefRegMap(@Self)^.&set := $00000020;
  35849. end;
  35850. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  35851. begin
  35852. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35853. end;
  35854. procedure TPORTB_CNPUB.setCNPUB6; inline;
  35855. begin
  35856. pTDefRegMap(@Self)^.&set := $00000040;
  35857. end;
  35858. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  35859. begin
  35860. pTDefRegMap(@Self)^.clr := $00000040;
  35861. end;
  35862. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  35863. begin
  35864. if thebits = 0 then
  35865. pTDefRegMap(@Self)^.clr := $00000040
  35866. else
  35867. pTDefRegMap(@Self)^.&set := $00000040;
  35868. end;
  35869. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  35870. begin
  35871. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35872. end;
  35873. procedure TPORTB_CNPUB.setCNPUB7; inline;
  35874. begin
  35875. pTDefRegMap(@Self)^.&set := $00000080;
  35876. end;
  35877. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  35878. begin
  35879. pTDefRegMap(@Self)^.clr := $00000080;
  35880. end;
  35881. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  35882. begin
  35883. if thebits = 0 then
  35884. pTDefRegMap(@Self)^.clr := $00000080
  35885. else
  35886. pTDefRegMap(@Self)^.&set := $00000080;
  35887. end;
  35888. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  35889. begin
  35890. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35891. end;
  35892. procedure TPORTB_CNPUB.setCNPUB8; inline;
  35893. begin
  35894. pTDefRegMap(@Self)^.&set := $00000100;
  35895. end;
  35896. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  35897. begin
  35898. pTDefRegMap(@Self)^.clr := $00000100;
  35899. end;
  35900. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  35901. begin
  35902. if thebits = 0 then
  35903. pTDefRegMap(@Self)^.clr := $00000100
  35904. else
  35905. pTDefRegMap(@Self)^.&set := $00000100;
  35906. end;
  35907. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  35908. begin
  35909. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35910. end;
  35911. procedure TPORTB_CNPUB.setCNPUB9; inline;
  35912. begin
  35913. pTDefRegMap(@Self)^.&set := $00000200;
  35914. end;
  35915. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  35916. begin
  35917. pTDefRegMap(@Self)^.clr := $00000200;
  35918. end;
  35919. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  35920. begin
  35921. if thebits = 0 then
  35922. pTDefRegMap(@Self)^.clr := $00000200
  35923. else
  35924. pTDefRegMap(@Self)^.&set := $00000200;
  35925. end;
  35926. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  35927. begin
  35928. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35929. end;
  35930. procedure TPORTB_CNPUB.setCNPUB10; inline;
  35931. begin
  35932. pTDefRegMap(@Self)^.&set := $00000400;
  35933. end;
  35934. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  35935. begin
  35936. pTDefRegMap(@Self)^.clr := $00000400;
  35937. end;
  35938. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  35939. begin
  35940. if thebits = 0 then
  35941. pTDefRegMap(@Self)^.clr := $00000400
  35942. else
  35943. pTDefRegMap(@Self)^.&set := $00000400;
  35944. end;
  35945. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  35946. begin
  35947. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35948. end;
  35949. procedure TPORTB_CNPUB.setCNPUB11; inline;
  35950. begin
  35951. pTDefRegMap(@Self)^.&set := $00000800;
  35952. end;
  35953. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  35954. begin
  35955. pTDefRegMap(@Self)^.clr := $00000800;
  35956. end;
  35957. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  35958. begin
  35959. if thebits = 0 then
  35960. pTDefRegMap(@Self)^.clr := $00000800
  35961. else
  35962. pTDefRegMap(@Self)^.&set := $00000800;
  35963. end;
  35964. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  35965. begin
  35966. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35967. end;
  35968. procedure TPORTB_CNPUB.setCNPUB12; inline;
  35969. begin
  35970. pTDefRegMap(@Self)^.&set := $00001000;
  35971. end;
  35972. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  35973. begin
  35974. pTDefRegMap(@Self)^.clr := $00001000;
  35975. end;
  35976. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  35977. begin
  35978. if thebits = 0 then
  35979. pTDefRegMap(@Self)^.clr := $00001000
  35980. else
  35981. pTDefRegMap(@Self)^.&set := $00001000;
  35982. end;
  35983. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  35984. begin
  35985. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35986. end;
  35987. procedure TPORTB_CNPUB.setCNPUB13; inline;
  35988. begin
  35989. pTDefRegMap(@Self)^.&set := $00002000;
  35990. end;
  35991. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  35992. begin
  35993. pTDefRegMap(@Self)^.clr := $00002000;
  35994. end;
  35995. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  35996. begin
  35997. if thebits = 0 then
  35998. pTDefRegMap(@Self)^.clr := $00002000
  35999. else
  36000. pTDefRegMap(@Self)^.&set := $00002000;
  36001. end;
  36002. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  36003. begin
  36004. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36005. end;
  36006. procedure TPORTB_CNPUB.setCNPUB14; inline;
  36007. begin
  36008. pTDefRegMap(@Self)^.&set := $00004000;
  36009. end;
  36010. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  36011. begin
  36012. pTDefRegMap(@Self)^.clr := $00004000;
  36013. end;
  36014. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  36015. begin
  36016. if thebits = 0 then
  36017. pTDefRegMap(@Self)^.clr := $00004000
  36018. else
  36019. pTDefRegMap(@Self)^.&set := $00004000;
  36020. end;
  36021. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  36022. begin
  36023. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36024. end;
  36025. procedure TPORTB_CNPUB.setCNPUB15; inline;
  36026. begin
  36027. pTDefRegMap(@Self)^.&set := $00008000;
  36028. end;
  36029. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  36030. begin
  36031. pTDefRegMap(@Self)^.clr := $00008000;
  36032. end;
  36033. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  36034. begin
  36035. if thebits = 0 then
  36036. pTDefRegMap(@Self)^.clr := $00008000
  36037. else
  36038. pTDefRegMap(@Self)^.&set := $00008000;
  36039. end;
  36040. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  36041. begin
  36042. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36043. end;
  36044. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  36045. begin
  36046. pTDefRegMap(@Self)^.val := thebits;
  36047. end;
  36048. function TPORTB_CNPUB.getw : TBits_32; inline;
  36049. begin
  36050. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36051. end;
  36052. procedure TPORTB_CNPDB.setCNPDB0; inline;
  36053. begin
  36054. pTDefRegMap(@Self)^.&set := $00000001;
  36055. end;
  36056. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  36057. begin
  36058. pTDefRegMap(@Self)^.clr := $00000001;
  36059. end;
  36060. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  36061. begin
  36062. if thebits = 0 then
  36063. pTDefRegMap(@Self)^.clr := $00000001
  36064. else
  36065. pTDefRegMap(@Self)^.&set := $00000001;
  36066. end;
  36067. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  36068. begin
  36069. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36070. end;
  36071. procedure TPORTB_CNPDB.setCNPDB1; inline;
  36072. begin
  36073. pTDefRegMap(@Self)^.&set := $00000002;
  36074. end;
  36075. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  36076. begin
  36077. pTDefRegMap(@Self)^.clr := $00000002;
  36078. end;
  36079. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  36080. begin
  36081. if thebits = 0 then
  36082. pTDefRegMap(@Self)^.clr := $00000002
  36083. else
  36084. pTDefRegMap(@Self)^.&set := $00000002;
  36085. end;
  36086. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  36087. begin
  36088. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36089. end;
  36090. procedure TPORTB_CNPDB.setCNPDB2; inline;
  36091. begin
  36092. pTDefRegMap(@Self)^.&set := $00000004;
  36093. end;
  36094. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  36095. begin
  36096. pTDefRegMap(@Self)^.clr := $00000004;
  36097. end;
  36098. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  36099. begin
  36100. if thebits = 0 then
  36101. pTDefRegMap(@Self)^.clr := $00000004
  36102. else
  36103. pTDefRegMap(@Self)^.&set := $00000004;
  36104. end;
  36105. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  36106. begin
  36107. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36108. end;
  36109. procedure TPORTB_CNPDB.setCNPDB3; inline;
  36110. begin
  36111. pTDefRegMap(@Self)^.&set := $00000008;
  36112. end;
  36113. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  36114. begin
  36115. pTDefRegMap(@Self)^.clr := $00000008;
  36116. end;
  36117. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  36118. begin
  36119. if thebits = 0 then
  36120. pTDefRegMap(@Self)^.clr := $00000008
  36121. else
  36122. pTDefRegMap(@Self)^.&set := $00000008;
  36123. end;
  36124. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  36125. begin
  36126. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36127. end;
  36128. procedure TPORTB_CNPDB.setCNPDB4; inline;
  36129. begin
  36130. pTDefRegMap(@Self)^.&set := $00000010;
  36131. end;
  36132. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  36133. begin
  36134. pTDefRegMap(@Self)^.clr := $00000010;
  36135. end;
  36136. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  36137. begin
  36138. if thebits = 0 then
  36139. pTDefRegMap(@Self)^.clr := $00000010
  36140. else
  36141. pTDefRegMap(@Self)^.&set := $00000010;
  36142. end;
  36143. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  36144. begin
  36145. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36146. end;
  36147. procedure TPORTB_CNPDB.setCNPDB5; inline;
  36148. begin
  36149. pTDefRegMap(@Self)^.&set := $00000020;
  36150. end;
  36151. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  36152. begin
  36153. pTDefRegMap(@Self)^.clr := $00000020;
  36154. end;
  36155. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  36156. begin
  36157. if thebits = 0 then
  36158. pTDefRegMap(@Self)^.clr := $00000020
  36159. else
  36160. pTDefRegMap(@Self)^.&set := $00000020;
  36161. end;
  36162. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  36163. begin
  36164. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36165. end;
  36166. procedure TPORTB_CNPDB.setCNPDB6; inline;
  36167. begin
  36168. pTDefRegMap(@Self)^.&set := $00000040;
  36169. end;
  36170. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  36171. begin
  36172. pTDefRegMap(@Self)^.clr := $00000040;
  36173. end;
  36174. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  36175. begin
  36176. if thebits = 0 then
  36177. pTDefRegMap(@Self)^.clr := $00000040
  36178. else
  36179. pTDefRegMap(@Self)^.&set := $00000040;
  36180. end;
  36181. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  36182. begin
  36183. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36184. end;
  36185. procedure TPORTB_CNPDB.setCNPDB7; inline;
  36186. begin
  36187. pTDefRegMap(@Self)^.&set := $00000080;
  36188. end;
  36189. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  36190. begin
  36191. pTDefRegMap(@Self)^.clr := $00000080;
  36192. end;
  36193. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  36194. begin
  36195. if thebits = 0 then
  36196. pTDefRegMap(@Self)^.clr := $00000080
  36197. else
  36198. pTDefRegMap(@Self)^.&set := $00000080;
  36199. end;
  36200. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  36201. begin
  36202. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36203. end;
  36204. procedure TPORTB_CNPDB.setCNPDB8; inline;
  36205. begin
  36206. pTDefRegMap(@Self)^.&set := $00000100;
  36207. end;
  36208. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  36209. begin
  36210. pTDefRegMap(@Self)^.clr := $00000100;
  36211. end;
  36212. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  36213. begin
  36214. if thebits = 0 then
  36215. pTDefRegMap(@Self)^.clr := $00000100
  36216. else
  36217. pTDefRegMap(@Self)^.&set := $00000100;
  36218. end;
  36219. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  36220. begin
  36221. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36222. end;
  36223. procedure TPORTB_CNPDB.setCNPDB9; inline;
  36224. begin
  36225. pTDefRegMap(@Self)^.&set := $00000200;
  36226. end;
  36227. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  36228. begin
  36229. pTDefRegMap(@Self)^.clr := $00000200;
  36230. end;
  36231. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  36232. begin
  36233. if thebits = 0 then
  36234. pTDefRegMap(@Self)^.clr := $00000200
  36235. else
  36236. pTDefRegMap(@Self)^.&set := $00000200;
  36237. end;
  36238. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  36239. begin
  36240. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36241. end;
  36242. procedure TPORTB_CNPDB.setCNPDB10; inline;
  36243. begin
  36244. pTDefRegMap(@Self)^.&set := $00000400;
  36245. end;
  36246. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  36247. begin
  36248. pTDefRegMap(@Self)^.clr := $00000400;
  36249. end;
  36250. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  36251. begin
  36252. if thebits = 0 then
  36253. pTDefRegMap(@Self)^.clr := $00000400
  36254. else
  36255. pTDefRegMap(@Self)^.&set := $00000400;
  36256. end;
  36257. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  36258. begin
  36259. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36260. end;
  36261. procedure TPORTB_CNPDB.setCNPDB11; inline;
  36262. begin
  36263. pTDefRegMap(@Self)^.&set := $00000800;
  36264. end;
  36265. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  36266. begin
  36267. pTDefRegMap(@Self)^.clr := $00000800;
  36268. end;
  36269. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  36270. begin
  36271. if thebits = 0 then
  36272. pTDefRegMap(@Self)^.clr := $00000800
  36273. else
  36274. pTDefRegMap(@Self)^.&set := $00000800;
  36275. end;
  36276. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  36277. begin
  36278. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36279. end;
  36280. procedure TPORTB_CNPDB.setCNPDB12; inline;
  36281. begin
  36282. pTDefRegMap(@Self)^.&set := $00001000;
  36283. end;
  36284. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  36285. begin
  36286. pTDefRegMap(@Self)^.clr := $00001000;
  36287. end;
  36288. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  36289. begin
  36290. if thebits = 0 then
  36291. pTDefRegMap(@Self)^.clr := $00001000
  36292. else
  36293. pTDefRegMap(@Self)^.&set := $00001000;
  36294. end;
  36295. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  36296. begin
  36297. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36298. end;
  36299. procedure TPORTB_CNPDB.setCNPDB13; inline;
  36300. begin
  36301. pTDefRegMap(@Self)^.&set := $00002000;
  36302. end;
  36303. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  36304. begin
  36305. pTDefRegMap(@Self)^.clr := $00002000;
  36306. end;
  36307. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  36308. begin
  36309. if thebits = 0 then
  36310. pTDefRegMap(@Self)^.clr := $00002000
  36311. else
  36312. pTDefRegMap(@Self)^.&set := $00002000;
  36313. end;
  36314. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  36315. begin
  36316. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36317. end;
  36318. procedure TPORTB_CNPDB.setCNPDB14; inline;
  36319. begin
  36320. pTDefRegMap(@Self)^.&set := $00004000;
  36321. end;
  36322. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  36323. begin
  36324. pTDefRegMap(@Self)^.clr := $00004000;
  36325. end;
  36326. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  36327. begin
  36328. if thebits = 0 then
  36329. pTDefRegMap(@Self)^.clr := $00004000
  36330. else
  36331. pTDefRegMap(@Self)^.&set := $00004000;
  36332. end;
  36333. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  36334. begin
  36335. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36336. end;
  36337. procedure TPORTB_CNPDB.setCNPDB15; inline;
  36338. begin
  36339. pTDefRegMap(@Self)^.&set := $00008000;
  36340. end;
  36341. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  36342. begin
  36343. pTDefRegMap(@Self)^.clr := $00008000;
  36344. end;
  36345. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  36346. begin
  36347. if thebits = 0 then
  36348. pTDefRegMap(@Self)^.clr := $00008000
  36349. else
  36350. pTDefRegMap(@Self)^.&set := $00008000;
  36351. end;
  36352. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  36353. begin
  36354. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36355. end;
  36356. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  36357. begin
  36358. pTDefRegMap(@Self)^.val := thebits;
  36359. end;
  36360. function TPORTB_CNPDB.getw : TBits_32; inline;
  36361. begin
  36362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36363. end;
  36364. procedure TPORTB_CNCONB.setSIDL; inline;
  36365. begin
  36366. pTDefRegMap(@Self)^.&set := $00002000;
  36367. end;
  36368. procedure TPORTB_CNCONB.clearSIDL; inline;
  36369. begin
  36370. pTDefRegMap(@Self)^.clr := $00002000;
  36371. end;
  36372. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  36373. begin
  36374. if thebits = 0 then
  36375. pTDefRegMap(@Self)^.clr := $00002000
  36376. else
  36377. pTDefRegMap(@Self)^.&set := $00002000;
  36378. end;
  36379. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  36380. begin
  36381. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36382. end;
  36383. procedure TPORTB_CNCONB.setON; inline;
  36384. begin
  36385. pTDefRegMap(@Self)^.&set := $00008000;
  36386. end;
  36387. procedure TPORTB_CNCONB.clearON; inline;
  36388. begin
  36389. pTDefRegMap(@Self)^.clr := $00008000;
  36390. end;
  36391. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  36392. begin
  36393. if thebits = 0 then
  36394. pTDefRegMap(@Self)^.clr := $00008000
  36395. else
  36396. pTDefRegMap(@Self)^.&set := $00008000;
  36397. end;
  36398. function TPORTB_CNCONB.getON : TBits_1; inline;
  36399. begin
  36400. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36401. end;
  36402. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  36403. begin
  36404. pTDefRegMap(@Self)^.val := thebits;
  36405. end;
  36406. function TPORTB_CNCONB.getw : TBits_32; inline;
  36407. begin
  36408. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36409. end;
  36410. procedure TPORTB_CNENB.setCNIEB0; inline;
  36411. begin
  36412. pTDefRegMap(@Self)^.&set := $00000001;
  36413. end;
  36414. procedure TPORTB_CNENB.clearCNIEB0; inline;
  36415. begin
  36416. pTDefRegMap(@Self)^.clr := $00000001;
  36417. end;
  36418. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  36419. begin
  36420. if thebits = 0 then
  36421. pTDefRegMap(@Self)^.clr := $00000001
  36422. else
  36423. pTDefRegMap(@Self)^.&set := $00000001;
  36424. end;
  36425. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  36426. begin
  36427. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36428. end;
  36429. procedure TPORTB_CNENB.setCNIEB1; inline;
  36430. begin
  36431. pTDefRegMap(@Self)^.&set := $00000002;
  36432. end;
  36433. procedure TPORTB_CNENB.clearCNIEB1; inline;
  36434. begin
  36435. pTDefRegMap(@Self)^.clr := $00000002;
  36436. end;
  36437. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  36438. begin
  36439. if thebits = 0 then
  36440. pTDefRegMap(@Self)^.clr := $00000002
  36441. else
  36442. pTDefRegMap(@Self)^.&set := $00000002;
  36443. end;
  36444. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  36445. begin
  36446. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36447. end;
  36448. procedure TPORTB_CNENB.setCNIEB2; inline;
  36449. begin
  36450. pTDefRegMap(@Self)^.&set := $00000004;
  36451. end;
  36452. procedure TPORTB_CNENB.clearCNIEB2; inline;
  36453. begin
  36454. pTDefRegMap(@Self)^.clr := $00000004;
  36455. end;
  36456. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  36457. begin
  36458. if thebits = 0 then
  36459. pTDefRegMap(@Self)^.clr := $00000004
  36460. else
  36461. pTDefRegMap(@Self)^.&set := $00000004;
  36462. end;
  36463. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  36464. begin
  36465. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36466. end;
  36467. procedure TPORTB_CNENB.setCNIEB3; inline;
  36468. begin
  36469. pTDefRegMap(@Self)^.&set := $00000008;
  36470. end;
  36471. procedure TPORTB_CNENB.clearCNIEB3; inline;
  36472. begin
  36473. pTDefRegMap(@Self)^.clr := $00000008;
  36474. end;
  36475. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  36476. begin
  36477. if thebits = 0 then
  36478. pTDefRegMap(@Self)^.clr := $00000008
  36479. else
  36480. pTDefRegMap(@Self)^.&set := $00000008;
  36481. end;
  36482. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  36483. begin
  36484. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36485. end;
  36486. procedure TPORTB_CNENB.setCNIEB4; inline;
  36487. begin
  36488. pTDefRegMap(@Self)^.&set := $00000010;
  36489. end;
  36490. procedure TPORTB_CNENB.clearCNIEB4; inline;
  36491. begin
  36492. pTDefRegMap(@Self)^.clr := $00000010;
  36493. end;
  36494. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  36495. begin
  36496. if thebits = 0 then
  36497. pTDefRegMap(@Self)^.clr := $00000010
  36498. else
  36499. pTDefRegMap(@Self)^.&set := $00000010;
  36500. end;
  36501. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  36502. begin
  36503. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36504. end;
  36505. procedure TPORTB_CNENB.setCNIEB5; inline;
  36506. begin
  36507. pTDefRegMap(@Self)^.&set := $00000020;
  36508. end;
  36509. procedure TPORTB_CNENB.clearCNIEB5; inline;
  36510. begin
  36511. pTDefRegMap(@Self)^.clr := $00000020;
  36512. end;
  36513. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  36514. begin
  36515. if thebits = 0 then
  36516. pTDefRegMap(@Self)^.clr := $00000020
  36517. else
  36518. pTDefRegMap(@Self)^.&set := $00000020;
  36519. end;
  36520. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  36521. begin
  36522. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36523. end;
  36524. procedure TPORTB_CNENB.setCNIEB6; inline;
  36525. begin
  36526. pTDefRegMap(@Self)^.&set := $00000040;
  36527. end;
  36528. procedure TPORTB_CNENB.clearCNIEB6; inline;
  36529. begin
  36530. pTDefRegMap(@Self)^.clr := $00000040;
  36531. end;
  36532. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  36533. begin
  36534. if thebits = 0 then
  36535. pTDefRegMap(@Self)^.clr := $00000040
  36536. else
  36537. pTDefRegMap(@Self)^.&set := $00000040;
  36538. end;
  36539. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  36540. begin
  36541. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36542. end;
  36543. procedure TPORTB_CNENB.setCNIEB7; inline;
  36544. begin
  36545. pTDefRegMap(@Self)^.&set := $00000080;
  36546. end;
  36547. procedure TPORTB_CNENB.clearCNIEB7; inline;
  36548. begin
  36549. pTDefRegMap(@Self)^.clr := $00000080;
  36550. end;
  36551. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  36552. begin
  36553. if thebits = 0 then
  36554. pTDefRegMap(@Self)^.clr := $00000080
  36555. else
  36556. pTDefRegMap(@Self)^.&set := $00000080;
  36557. end;
  36558. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  36559. begin
  36560. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36561. end;
  36562. procedure TPORTB_CNENB.setCNIEB8; inline;
  36563. begin
  36564. pTDefRegMap(@Self)^.&set := $00000100;
  36565. end;
  36566. procedure TPORTB_CNENB.clearCNIEB8; inline;
  36567. begin
  36568. pTDefRegMap(@Self)^.clr := $00000100;
  36569. end;
  36570. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  36571. begin
  36572. if thebits = 0 then
  36573. pTDefRegMap(@Self)^.clr := $00000100
  36574. else
  36575. pTDefRegMap(@Self)^.&set := $00000100;
  36576. end;
  36577. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  36578. begin
  36579. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36580. end;
  36581. procedure TPORTB_CNENB.setCNIEB9; inline;
  36582. begin
  36583. pTDefRegMap(@Self)^.&set := $00000200;
  36584. end;
  36585. procedure TPORTB_CNENB.clearCNIEB9; inline;
  36586. begin
  36587. pTDefRegMap(@Self)^.clr := $00000200;
  36588. end;
  36589. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  36590. begin
  36591. if thebits = 0 then
  36592. pTDefRegMap(@Self)^.clr := $00000200
  36593. else
  36594. pTDefRegMap(@Self)^.&set := $00000200;
  36595. end;
  36596. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  36597. begin
  36598. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36599. end;
  36600. procedure TPORTB_CNENB.setCNIEB10; inline;
  36601. begin
  36602. pTDefRegMap(@Self)^.&set := $00000400;
  36603. end;
  36604. procedure TPORTB_CNENB.clearCNIEB10; inline;
  36605. begin
  36606. pTDefRegMap(@Self)^.clr := $00000400;
  36607. end;
  36608. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  36609. begin
  36610. if thebits = 0 then
  36611. pTDefRegMap(@Self)^.clr := $00000400
  36612. else
  36613. pTDefRegMap(@Self)^.&set := $00000400;
  36614. end;
  36615. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  36616. begin
  36617. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36618. end;
  36619. procedure TPORTB_CNENB.setCNIEB11; inline;
  36620. begin
  36621. pTDefRegMap(@Self)^.&set := $00000800;
  36622. end;
  36623. procedure TPORTB_CNENB.clearCNIEB11; inline;
  36624. begin
  36625. pTDefRegMap(@Self)^.clr := $00000800;
  36626. end;
  36627. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  36628. begin
  36629. if thebits = 0 then
  36630. pTDefRegMap(@Self)^.clr := $00000800
  36631. else
  36632. pTDefRegMap(@Self)^.&set := $00000800;
  36633. end;
  36634. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  36635. begin
  36636. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36637. end;
  36638. procedure TPORTB_CNENB.setCNIEB12; inline;
  36639. begin
  36640. pTDefRegMap(@Self)^.&set := $00001000;
  36641. end;
  36642. procedure TPORTB_CNENB.clearCNIEB12; inline;
  36643. begin
  36644. pTDefRegMap(@Self)^.clr := $00001000;
  36645. end;
  36646. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  36647. begin
  36648. if thebits = 0 then
  36649. pTDefRegMap(@Self)^.clr := $00001000
  36650. else
  36651. pTDefRegMap(@Self)^.&set := $00001000;
  36652. end;
  36653. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  36654. begin
  36655. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36656. end;
  36657. procedure TPORTB_CNENB.setCNIEB13; inline;
  36658. begin
  36659. pTDefRegMap(@Self)^.&set := $00002000;
  36660. end;
  36661. procedure TPORTB_CNENB.clearCNIEB13; inline;
  36662. begin
  36663. pTDefRegMap(@Self)^.clr := $00002000;
  36664. end;
  36665. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  36666. begin
  36667. if thebits = 0 then
  36668. pTDefRegMap(@Self)^.clr := $00002000
  36669. else
  36670. pTDefRegMap(@Self)^.&set := $00002000;
  36671. end;
  36672. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  36673. begin
  36674. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36675. end;
  36676. procedure TPORTB_CNENB.setCNIEB14; inline;
  36677. begin
  36678. pTDefRegMap(@Self)^.&set := $00004000;
  36679. end;
  36680. procedure TPORTB_CNENB.clearCNIEB14; inline;
  36681. begin
  36682. pTDefRegMap(@Self)^.clr := $00004000;
  36683. end;
  36684. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  36685. begin
  36686. if thebits = 0 then
  36687. pTDefRegMap(@Self)^.clr := $00004000
  36688. else
  36689. pTDefRegMap(@Self)^.&set := $00004000;
  36690. end;
  36691. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  36692. begin
  36693. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36694. end;
  36695. procedure TPORTB_CNENB.setCNIEB15; inline;
  36696. begin
  36697. pTDefRegMap(@Self)^.&set := $00008000;
  36698. end;
  36699. procedure TPORTB_CNENB.clearCNIEB15; inline;
  36700. begin
  36701. pTDefRegMap(@Self)^.clr := $00008000;
  36702. end;
  36703. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  36704. begin
  36705. if thebits = 0 then
  36706. pTDefRegMap(@Self)^.clr := $00008000
  36707. else
  36708. pTDefRegMap(@Self)^.&set := $00008000;
  36709. end;
  36710. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  36711. begin
  36712. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36713. end;
  36714. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  36715. begin
  36716. pTDefRegMap(@Self)^.val := thebits;
  36717. end;
  36718. function TPORTB_CNENB.getw : TBits_32; inline;
  36719. begin
  36720. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36721. end;
  36722. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  36723. begin
  36724. pTDefRegMap(@Self)^.&set := $00000001;
  36725. end;
  36726. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  36727. begin
  36728. pTDefRegMap(@Self)^.clr := $00000001;
  36729. end;
  36730. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  36731. begin
  36732. if thebits = 0 then
  36733. pTDefRegMap(@Self)^.clr := $00000001
  36734. else
  36735. pTDefRegMap(@Self)^.&set := $00000001;
  36736. end;
  36737. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  36738. begin
  36739. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36740. end;
  36741. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  36742. begin
  36743. pTDefRegMap(@Self)^.&set := $00000002;
  36744. end;
  36745. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  36746. begin
  36747. pTDefRegMap(@Self)^.clr := $00000002;
  36748. end;
  36749. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  36750. begin
  36751. if thebits = 0 then
  36752. pTDefRegMap(@Self)^.clr := $00000002
  36753. else
  36754. pTDefRegMap(@Self)^.&set := $00000002;
  36755. end;
  36756. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  36757. begin
  36758. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36759. end;
  36760. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  36761. begin
  36762. pTDefRegMap(@Self)^.&set := $00000004;
  36763. end;
  36764. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  36765. begin
  36766. pTDefRegMap(@Self)^.clr := $00000004;
  36767. end;
  36768. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  36769. begin
  36770. if thebits = 0 then
  36771. pTDefRegMap(@Self)^.clr := $00000004
  36772. else
  36773. pTDefRegMap(@Self)^.&set := $00000004;
  36774. end;
  36775. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  36776. begin
  36777. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36778. end;
  36779. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  36780. begin
  36781. pTDefRegMap(@Self)^.&set := $00000008;
  36782. end;
  36783. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  36784. begin
  36785. pTDefRegMap(@Self)^.clr := $00000008;
  36786. end;
  36787. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  36788. begin
  36789. if thebits = 0 then
  36790. pTDefRegMap(@Self)^.clr := $00000008
  36791. else
  36792. pTDefRegMap(@Self)^.&set := $00000008;
  36793. end;
  36794. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  36795. begin
  36796. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36797. end;
  36798. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  36799. begin
  36800. pTDefRegMap(@Self)^.&set := $00000010;
  36801. end;
  36802. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  36803. begin
  36804. pTDefRegMap(@Self)^.clr := $00000010;
  36805. end;
  36806. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  36807. begin
  36808. if thebits = 0 then
  36809. pTDefRegMap(@Self)^.clr := $00000010
  36810. else
  36811. pTDefRegMap(@Self)^.&set := $00000010;
  36812. end;
  36813. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  36814. begin
  36815. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36816. end;
  36817. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  36818. begin
  36819. pTDefRegMap(@Self)^.&set := $00000020;
  36820. end;
  36821. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  36822. begin
  36823. pTDefRegMap(@Self)^.clr := $00000020;
  36824. end;
  36825. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  36826. begin
  36827. if thebits = 0 then
  36828. pTDefRegMap(@Self)^.clr := $00000020
  36829. else
  36830. pTDefRegMap(@Self)^.&set := $00000020;
  36831. end;
  36832. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  36833. begin
  36834. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36835. end;
  36836. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  36837. begin
  36838. pTDefRegMap(@Self)^.&set := $00000040;
  36839. end;
  36840. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  36841. begin
  36842. pTDefRegMap(@Self)^.clr := $00000040;
  36843. end;
  36844. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  36845. begin
  36846. if thebits = 0 then
  36847. pTDefRegMap(@Self)^.clr := $00000040
  36848. else
  36849. pTDefRegMap(@Self)^.&set := $00000040;
  36850. end;
  36851. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  36852. begin
  36853. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36854. end;
  36855. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  36856. begin
  36857. pTDefRegMap(@Self)^.&set := $00000080;
  36858. end;
  36859. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  36860. begin
  36861. pTDefRegMap(@Self)^.clr := $00000080;
  36862. end;
  36863. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  36864. begin
  36865. if thebits = 0 then
  36866. pTDefRegMap(@Self)^.clr := $00000080
  36867. else
  36868. pTDefRegMap(@Self)^.&set := $00000080;
  36869. end;
  36870. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  36871. begin
  36872. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36873. end;
  36874. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  36875. begin
  36876. pTDefRegMap(@Self)^.&set := $00000100;
  36877. end;
  36878. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  36879. begin
  36880. pTDefRegMap(@Self)^.clr := $00000100;
  36881. end;
  36882. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  36883. begin
  36884. if thebits = 0 then
  36885. pTDefRegMap(@Self)^.clr := $00000100
  36886. else
  36887. pTDefRegMap(@Self)^.&set := $00000100;
  36888. end;
  36889. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  36890. begin
  36891. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36892. end;
  36893. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  36894. begin
  36895. pTDefRegMap(@Self)^.&set := $00000200;
  36896. end;
  36897. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  36898. begin
  36899. pTDefRegMap(@Self)^.clr := $00000200;
  36900. end;
  36901. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  36902. begin
  36903. if thebits = 0 then
  36904. pTDefRegMap(@Self)^.clr := $00000200
  36905. else
  36906. pTDefRegMap(@Self)^.&set := $00000200;
  36907. end;
  36908. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  36909. begin
  36910. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36911. end;
  36912. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  36913. begin
  36914. pTDefRegMap(@Self)^.&set := $00000400;
  36915. end;
  36916. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  36917. begin
  36918. pTDefRegMap(@Self)^.clr := $00000400;
  36919. end;
  36920. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  36921. begin
  36922. if thebits = 0 then
  36923. pTDefRegMap(@Self)^.clr := $00000400
  36924. else
  36925. pTDefRegMap(@Self)^.&set := $00000400;
  36926. end;
  36927. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  36928. begin
  36929. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36930. end;
  36931. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  36932. begin
  36933. pTDefRegMap(@Self)^.&set := $00000800;
  36934. end;
  36935. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  36936. begin
  36937. pTDefRegMap(@Self)^.clr := $00000800;
  36938. end;
  36939. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  36940. begin
  36941. if thebits = 0 then
  36942. pTDefRegMap(@Self)^.clr := $00000800
  36943. else
  36944. pTDefRegMap(@Self)^.&set := $00000800;
  36945. end;
  36946. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  36947. begin
  36948. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36949. end;
  36950. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  36951. begin
  36952. pTDefRegMap(@Self)^.&set := $00001000;
  36953. end;
  36954. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  36955. begin
  36956. pTDefRegMap(@Self)^.clr := $00001000;
  36957. end;
  36958. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  36959. begin
  36960. if thebits = 0 then
  36961. pTDefRegMap(@Self)^.clr := $00001000
  36962. else
  36963. pTDefRegMap(@Self)^.&set := $00001000;
  36964. end;
  36965. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  36966. begin
  36967. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36968. end;
  36969. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  36970. begin
  36971. pTDefRegMap(@Self)^.&set := $00002000;
  36972. end;
  36973. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  36974. begin
  36975. pTDefRegMap(@Self)^.clr := $00002000;
  36976. end;
  36977. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  36978. begin
  36979. if thebits = 0 then
  36980. pTDefRegMap(@Self)^.clr := $00002000
  36981. else
  36982. pTDefRegMap(@Self)^.&set := $00002000;
  36983. end;
  36984. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  36985. begin
  36986. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36987. end;
  36988. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  36989. begin
  36990. pTDefRegMap(@Self)^.&set := $00004000;
  36991. end;
  36992. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  36993. begin
  36994. pTDefRegMap(@Self)^.clr := $00004000;
  36995. end;
  36996. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  36997. begin
  36998. if thebits = 0 then
  36999. pTDefRegMap(@Self)^.clr := $00004000
  37000. else
  37001. pTDefRegMap(@Self)^.&set := $00004000;
  37002. end;
  37003. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  37004. begin
  37005. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37006. end;
  37007. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  37008. begin
  37009. pTDefRegMap(@Self)^.&set := $00008000;
  37010. end;
  37011. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  37012. begin
  37013. pTDefRegMap(@Self)^.clr := $00008000;
  37014. end;
  37015. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  37016. begin
  37017. if thebits = 0 then
  37018. pTDefRegMap(@Self)^.clr := $00008000
  37019. else
  37020. pTDefRegMap(@Self)^.&set := $00008000;
  37021. end;
  37022. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  37023. begin
  37024. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37025. end;
  37026. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  37027. begin
  37028. pTDefRegMap(@Self)^.val := thebits;
  37029. end;
  37030. function TPORTB_CNSTATB.getw : TBits_32; inline;
  37031. begin
  37032. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37033. end;
  37034. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  37035. begin
  37036. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  37037. end;
  37038. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  37039. begin
  37040. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  37041. end;
  37042. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  37043. begin
  37044. pTDefRegMap(@Self)^.&set := $10000000;
  37045. end;
  37046. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  37047. begin
  37048. pTDefRegMap(@Self)^.clr := $10000000;
  37049. end;
  37050. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  37051. begin
  37052. if thebits = 0 then
  37053. pTDefRegMap(@Self)^.clr := $10000000
  37054. else
  37055. pTDefRegMap(@Self)^.&set := $10000000;
  37056. end;
  37057. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  37058. begin
  37059. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37060. end;
  37061. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  37062. begin
  37063. pTDefRegMap(@Self)^.&set := $20000000;
  37064. end;
  37065. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  37066. begin
  37067. pTDefRegMap(@Self)^.clr := $20000000;
  37068. end;
  37069. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  37070. begin
  37071. if thebits = 0 then
  37072. pTDefRegMap(@Self)^.clr := $20000000
  37073. else
  37074. pTDefRegMap(@Self)^.&set := $20000000;
  37075. end;
  37076. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  37077. begin
  37078. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  37079. end;
  37080. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  37081. begin
  37082. pTDefRegMap(@Self)^.&set := $40000000;
  37083. end;
  37084. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  37085. begin
  37086. pTDefRegMap(@Self)^.clr := $40000000;
  37087. end;
  37088. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  37089. begin
  37090. if thebits = 0 then
  37091. pTDefRegMap(@Self)^.clr := $40000000
  37092. else
  37093. pTDefRegMap(@Self)^.&set := $40000000;
  37094. end;
  37095. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  37096. begin
  37097. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  37098. end;
  37099. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  37100. begin
  37101. pTDefRegMap(@Self)^.&set := $80000000;
  37102. end;
  37103. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  37104. begin
  37105. pTDefRegMap(@Self)^.clr := $80000000;
  37106. end;
  37107. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  37108. begin
  37109. if thebits = 0 then
  37110. pTDefRegMap(@Self)^.clr := $80000000
  37111. else
  37112. pTDefRegMap(@Self)^.&set := $80000000;
  37113. end;
  37114. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  37115. begin
  37116. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  37117. end;
  37118. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  37119. begin
  37120. pTDefRegMap(@Self)^.val := thebits;
  37121. end;
  37122. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  37123. begin
  37124. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37125. end;
  37126. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  37127. begin
  37128. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37129. end;
  37130. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  37131. begin
  37132. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37133. end;
  37134. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  37135. begin
  37136. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  37137. end;
  37138. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  37139. begin
  37140. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  37141. end;
  37142. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  37143. begin
  37144. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  37145. end;
  37146. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  37147. begin
  37148. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  37149. end;
  37150. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  37151. begin
  37152. pTDefRegMap(@Self)^.val := thebits;
  37153. end;
  37154. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  37155. begin
  37156. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37157. end;
  37158. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  37159. begin
  37160. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  37161. end;
  37162. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  37163. begin
  37164. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  37165. end;
  37166. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  37167. begin
  37168. pTDefRegMap(@Self)^.&set := $00000020;
  37169. end;
  37170. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  37171. begin
  37172. pTDefRegMap(@Self)^.clr := $00000020;
  37173. end;
  37174. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  37175. begin
  37176. if thebits = 0 then
  37177. pTDefRegMap(@Self)^.clr := $00000020
  37178. else
  37179. pTDefRegMap(@Self)^.&set := $00000020;
  37180. end;
  37181. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  37182. begin
  37183. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37184. end;
  37185. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  37186. begin
  37187. pTDefRegMap(@Self)^.&set := $00000080;
  37188. end;
  37189. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  37190. begin
  37191. pTDefRegMap(@Self)^.clr := $00000080;
  37192. end;
  37193. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  37194. begin
  37195. if thebits = 0 then
  37196. pTDefRegMap(@Self)^.clr := $00000080
  37197. else
  37198. pTDefRegMap(@Self)^.&set := $00000080;
  37199. end;
  37200. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  37201. begin
  37202. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37203. end;
  37204. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  37205. begin
  37206. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  37207. end;
  37208. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  37209. begin
  37210. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  37211. end;
  37212. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  37213. begin
  37214. pTDefRegMap(@Self)^.&set := $00000400;
  37215. end;
  37216. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  37217. begin
  37218. pTDefRegMap(@Self)^.clr := $00000400;
  37219. end;
  37220. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  37221. begin
  37222. if thebits = 0 then
  37223. pTDefRegMap(@Self)^.clr := $00000400
  37224. else
  37225. pTDefRegMap(@Self)^.&set := $00000400;
  37226. end;
  37227. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  37228. begin
  37229. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37230. end;
  37231. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  37232. begin
  37233. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  37234. end;
  37235. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  37236. begin
  37237. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  37238. end;
  37239. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  37240. begin
  37241. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  37242. end;
  37243. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  37244. begin
  37245. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  37246. end;
  37247. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  37248. begin
  37249. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  37250. end;
  37251. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  37252. begin
  37253. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  37254. end;
  37255. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  37256. begin
  37257. pTDefRegMap(@Self)^.&set := $00400000;
  37258. end;
  37259. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  37260. begin
  37261. pTDefRegMap(@Self)^.clr := $00400000;
  37262. end;
  37263. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  37264. begin
  37265. if thebits = 0 then
  37266. pTDefRegMap(@Self)^.clr := $00400000
  37267. else
  37268. pTDefRegMap(@Self)^.&set := $00400000;
  37269. end;
  37270. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  37271. begin
  37272. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  37273. end;
  37274. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  37275. begin
  37276. pTDefRegMap(@Self)^.&set := $00800000;
  37277. end;
  37278. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  37279. begin
  37280. pTDefRegMap(@Self)^.clr := $00800000;
  37281. end;
  37282. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  37283. begin
  37284. if thebits = 0 then
  37285. pTDefRegMap(@Self)^.clr := $00800000
  37286. else
  37287. pTDefRegMap(@Self)^.&set := $00800000;
  37288. end;
  37289. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  37290. begin
  37291. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  37292. end;
  37293. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  37294. begin
  37295. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  37296. end;
  37297. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  37298. begin
  37299. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  37300. end;
  37301. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  37302. begin
  37303. pTDefRegMap(@Self)^.val := thebits;
  37304. end;
  37305. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  37306. begin
  37307. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37308. end;
  37309. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  37310. begin
  37311. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37312. end;
  37313. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  37314. begin
  37315. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37316. end;
  37317. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  37318. begin
  37319. pTDefRegMap(@Self)^.&set := $00000004;
  37320. end;
  37321. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  37322. begin
  37323. pTDefRegMap(@Self)^.clr := $00000004;
  37324. end;
  37325. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  37326. begin
  37327. if thebits = 0 then
  37328. pTDefRegMap(@Self)^.clr := $00000004
  37329. else
  37330. pTDefRegMap(@Self)^.&set := $00000004;
  37331. end;
  37332. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  37333. begin
  37334. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37335. end;
  37336. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  37337. begin
  37338. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  37339. end;
  37340. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  37341. begin
  37342. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  37343. end;
  37344. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_9); inline;
  37345. begin
  37346. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF803FF or ( thebits shl 10 );
  37347. end;
  37348. function TDEVCFG_DEVCFG0.getPWP : TBits_9; inline;
  37349. begin
  37350. getPWP := (pTDefRegMap(@Self)^.val and $0007FC00) shr 10;
  37351. end;
  37352. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  37353. begin
  37354. pTDefRegMap(@Self)^.&set := $01000000;
  37355. end;
  37356. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  37357. begin
  37358. pTDefRegMap(@Self)^.clr := $01000000;
  37359. end;
  37360. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  37361. begin
  37362. if thebits = 0 then
  37363. pTDefRegMap(@Self)^.clr := $01000000
  37364. else
  37365. pTDefRegMap(@Self)^.&set := $01000000;
  37366. end;
  37367. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  37368. begin
  37369. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  37370. end;
  37371. procedure TDEVCFG_DEVCFG0.setCP; inline;
  37372. begin
  37373. pTDefRegMap(@Self)^.&set := $10000000;
  37374. end;
  37375. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  37376. begin
  37377. pTDefRegMap(@Self)^.clr := $10000000;
  37378. end;
  37379. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  37380. begin
  37381. if thebits = 0 then
  37382. pTDefRegMap(@Self)^.clr := $10000000
  37383. else
  37384. pTDefRegMap(@Self)^.&set := $10000000;
  37385. end;
  37386. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  37387. begin
  37388. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  37389. end;
  37390. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  37391. begin
  37392. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  37393. end;
  37394. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  37395. begin
  37396. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  37397. end;
  37398. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  37399. begin
  37400. pTDefRegMap(@Self)^.val := thebits;
  37401. end;
  37402. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  37403. begin
  37404. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37405. end;
  37406. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  37407. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  37408. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  37409. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  37410. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  37411. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  37412. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  37413. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  37414. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  37415. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  37416. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  37417. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  37418. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  37419. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  37420. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  37421. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  37422. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  37423. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  37424. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  37425. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  37426. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  37427. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  37428. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  37429. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  37430. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  37431. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  37432. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  37433. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  37434. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  37435. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  37436. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  37437. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  37438. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  37439. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  37440. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  37441. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  37442. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  37443. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  37444. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  37445. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  37446. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  37447. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  37448. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  37449. procedure Vectors; assembler; nostackframe;
  37450. label interrupt_vectors;
  37451. asm
  37452. .section ".init.interrupt_vectors,\"ax\",@progbits"
  37453. interrupt_vectors:
  37454. j _CORE_TIMER_VECTOR_interrupt
  37455. nop
  37456. nop
  37457. nop
  37458. nop
  37459. nop
  37460. nop
  37461. nop
  37462. j _CORE_SOFTWARE_0_VECTOR_interrupt
  37463. nop
  37464. nop
  37465. nop
  37466. nop
  37467. nop
  37468. nop
  37469. nop
  37470. j _CORE_SOFTWARE_1_VECTOR_interrupt
  37471. nop
  37472. nop
  37473. nop
  37474. nop
  37475. nop
  37476. nop
  37477. nop
  37478. j _EXTERNAL_0_VECTOR_interrupt
  37479. nop
  37480. nop
  37481. nop
  37482. nop
  37483. nop
  37484. nop
  37485. nop
  37486. j _TIMER_1_VECTOR_interrupt
  37487. nop
  37488. nop
  37489. nop
  37490. nop
  37491. nop
  37492. nop
  37493. nop
  37494. j _INPUT_CAPTURE_1_VECTOR_interrupt
  37495. nop
  37496. nop
  37497. nop
  37498. nop
  37499. nop
  37500. nop
  37501. nop
  37502. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  37503. nop
  37504. nop
  37505. nop
  37506. nop
  37507. nop
  37508. nop
  37509. nop
  37510. j _EXTERNAL_1_VECTOR_interrupt
  37511. nop
  37512. nop
  37513. nop
  37514. nop
  37515. nop
  37516. nop
  37517. nop
  37518. j _TIMER_2_VECTOR_interrupt
  37519. nop
  37520. nop
  37521. nop
  37522. nop
  37523. nop
  37524. nop
  37525. nop
  37526. j _INPUT_CAPTURE_2_VECTOR_interrupt
  37527. nop
  37528. nop
  37529. nop
  37530. nop
  37531. nop
  37532. nop
  37533. nop
  37534. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  37535. nop
  37536. nop
  37537. nop
  37538. nop
  37539. nop
  37540. nop
  37541. nop
  37542. j _EXTERNAL_2_VECTOR_interrupt
  37543. nop
  37544. nop
  37545. nop
  37546. nop
  37547. nop
  37548. nop
  37549. nop
  37550. j _TIMER_3_VECTOR_interrupt
  37551. nop
  37552. nop
  37553. nop
  37554. nop
  37555. nop
  37556. nop
  37557. nop
  37558. j _INPUT_CAPTURE_3_VECTOR_interrupt
  37559. nop
  37560. nop
  37561. nop
  37562. nop
  37563. nop
  37564. nop
  37565. nop
  37566. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  37567. nop
  37568. nop
  37569. nop
  37570. nop
  37571. nop
  37572. nop
  37573. nop
  37574. j _EXTERNAL_3_VECTOR_interrupt
  37575. nop
  37576. nop
  37577. nop
  37578. nop
  37579. nop
  37580. nop
  37581. nop
  37582. j _TIMER_4_VECTOR_interrupt
  37583. nop
  37584. nop
  37585. nop
  37586. nop
  37587. nop
  37588. nop
  37589. nop
  37590. j _INPUT_CAPTURE_4_VECTOR_interrupt
  37591. nop
  37592. nop
  37593. nop
  37594. nop
  37595. nop
  37596. nop
  37597. nop
  37598. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  37599. nop
  37600. nop
  37601. nop
  37602. nop
  37603. nop
  37604. nop
  37605. nop
  37606. j _EXTERNAL_4_VECTOR_interrupt
  37607. nop
  37608. nop
  37609. nop
  37610. nop
  37611. nop
  37612. nop
  37613. nop
  37614. j _TIMER_5_VECTOR_interrupt
  37615. nop
  37616. nop
  37617. nop
  37618. nop
  37619. nop
  37620. nop
  37621. nop
  37622. j _INPUT_CAPTURE_5_VECTOR_interrupt
  37623. nop
  37624. nop
  37625. nop
  37626. nop
  37627. nop
  37628. nop
  37629. nop
  37630. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  37631. nop
  37632. nop
  37633. nop
  37634. nop
  37635. nop
  37636. nop
  37637. nop
  37638. j _ADC_VECTOR_interrupt
  37639. nop
  37640. nop
  37641. nop
  37642. nop
  37643. nop
  37644. nop
  37645. nop
  37646. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37647. nop
  37648. nop
  37649. nop
  37650. nop
  37651. nop
  37652. nop
  37653. nop
  37654. j _RTCC_VECTOR_interrupt
  37655. nop
  37656. nop
  37657. nop
  37658. nop
  37659. nop
  37660. nop
  37661. nop
  37662. j _FCE_VECTOR_interrupt
  37663. nop
  37664. nop
  37665. nop
  37666. nop
  37667. nop
  37668. nop
  37669. nop
  37670. j _COMPARATOR_1_VECTOR_interrupt
  37671. nop
  37672. nop
  37673. nop
  37674. nop
  37675. nop
  37676. nop
  37677. nop
  37678. j _COMPARATOR_2_VECTOR_interrupt
  37679. nop
  37680. nop
  37681. nop
  37682. nop
  37683. nop
  37684. nop
  37685. nop
  37686. j _COMPARATOR_3_VECTOR_interrupt
  37687. nop
  37688. nop
  37689. nop
  37690. nop
  37691. nop
  37692. nop
  37693. nop
  37694. nop
  37695. nop
  37696. nop
  37697. nop
  37698. nop
  37699. nop
  37700. nop
  37701. nop
  37702. j _SPI_1_VECTOR_interrupt
  37703. nop
  37704. nop
  37705. nop
  37706. nop
  37707. nop
  37708. nop
  37709. nop
  37710. j _UART_1_VECTOR_interrupt
  37711. nop
  37712. nop
  37713. nop
  37714. nop
  37715. nop
  37716. nop
  37717. nop
  37718. j _I2C_1_VECTOR_interrupt
  37719. nop
  37720. nop
  37721. nop
  37722. nop
  37723. nop
  37724. nop
  37725. nop
  37726. j _CHANGE_NOTICE_VECTOR_interrupt
  37727. nop
  37728. nop
  37729. nop
  37730. nop
  37731. nop
  37732. nop
  37733. nop
  37734. j _PMP_VECTOR_interrupt
  37735. nop
  37736. nop
  37737. nop
  37738. nop
  37739. nop
  37740. nop
  37741. nop
  37742. j _SPI_2_VECTOR_interrupt
  37743. nop
  37744. nop
  37745. nop
  37746. nop
  37747. nop
  37748. nop
  37749. nop
  37750. j _UART_2_VECTOR_interrupt
  37751. nop
  37752. nop
  37753. nop
  37754. nop
  37755. nop
  37756. nop
  37757. nop
  37758. j _I2C_2_VECTOR_interrupt
  37759. nop
  37760. nop
  37761. nop
  37762. nop
  37763. nop
  37764. nop
  37765. nop
  37766. j _CTMU_VECTOR_interrupt
  37767. nop
  37768. nop
  37769. nop
  37770. nop
  37771. nop
  37772. nop
  37773. nop
  37774. j _DMA_0_VECTOR_interrupt
  37775. nop
  37776. nop
  37777. nop
  37778. nop
  37779. nop
  37780. nop
  37781. nop
  37782. j _DMA_1_VECTOR_interrupt
  37783. nop
  37784. nop
  37785. nop
  37786. nop
  37787. nop
  37788. nop
  37789. nop
  37790. j _DMA_2_VECTOR_interrupt
  37791. nop
  37792. nop
  37793. nop
  37794. nop
  37795. nop
  37796. nop
  37797. nop
  37798. j _DMA_3_VECTOR_interrupt
  37799. nop
  37800. nop
  37801. nop
  37802. nop
  37803. nop
  37804. nop
  37805. nop
  37806. .weak _CORE_TIMER_VECTOR_interrupt
  37807. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  37808. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  37809. .weak _EXTERNAL_0_VECTOR_interrupt
  37810. .weak _TIMER_1_VECTOR_interrupt
  37811. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  37812. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  37813. .weak _EXTERNAL_1_VECTOR_interrupt
  37814. .weak _TIMER_2_VECTOR_interrupt
  37815. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  37816. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  37817. .weak _EXTERNAL_2_VECTOR_interrupt
  37818. .weak _TIMER_3_VECTOR_interrupt
  37819. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  37820. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  37821. .weak _EXTERNAL_3_VECTOR_interrupt
  37822. .weak _TIMER_4_VECTOR_interrupt
  37823. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  37824. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  37825. .weak _EXTERNAL_4_VECTOR_interrupt
  37826. .weak _TIMER_5_VECTOR_interrupt
  37827. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  37828. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  37829. .weak _ADC_VECTOR_interrupt
  37830. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  37831. .weak _RTCC_VECTOR_interrupt
  37832. .weak _FCE_VECTOR_interrupt
  37833. .weak _COMPARATOR_1_VECTOR_interrupt
  37834. .weak _COMPARATOR_2_VECTOR_interrupt
  37835. .weak _COMPARATOR_3_VECTOR_interrupt
  37836. .weak _SPI_1_VECTOR_interrupt
  37837. .weak _UART_1_VECTOR_interrupt
  37838. .weak _I2C_1_VECTOR_interrupt
  37839. .weak _CHANGE_NOTICE_VECTOR_interrupt
  37840. .weak _PMP_VECTOR_interrupt
  37841. .weak _SPI_2_VECTOR_interrupt
  37842. .weak _UART_2_VECTOR_interrupt
  37843. .weak _I2C_2_VECTOR_interrupt
  37844. .weak _CTMU_VECTOR_interrupt
  37845. .weak _DMA_0_VECTOR_interrupt
  37846. .weak _DMA_1_VECTOR_interrupt
  37847. .weak _DMA_2_VECTOR_interrupt
  37848. .weak _DMA_3_VECTOR_interrupt
  37849. .text
  37850. end;
  37851. end.