pic32mx110f016d.pp 1.2 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489
  1. unit pic32mx110f016d;
  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 getTRISA10 : TBits_1; inline;
  8270. function getTRISA2 : TBits_1; inline;
  8271. function getTRISA3 : TBits_1; inline;
  8272. function getTRISA4 : TBits_1; inline;
  8273. function getTRISA7 : TBits_1; inline;
  8274. function getTRISA8 : TBits_1; inline;
  8275. function getTRISA9 : TBits_1; inline;
  8276. function getw : TBits_32; inline;
  8277. procedure setTRISA0(thebits : TBits_1); inline;
  8278. procedure setTRISA1(thebits : TBits_1); inline;
  8279. procedure setTRISA10(thebits : TBits_1); inline;
  8280. procedure setTRISA2(thebits : TBits_1); inline;
  8281. procedure setTRISA3(thebits : TBits_1); inline;
  8282. procedure setTRISA4(thebits : TBits_1); inline;
  8283. procedure setTRISA7(thebits : TBits_1); inline;
  8284. procedure setTRISA8(thebits : TBits_1); inline;
  8285. procedure setTRISA9(thebits : TBits_1); inline;
  8286. procedure setw(thebits : TBits_32); inline;
  8287. public
  8288. procedure clearTRISA0; inline;
  8289. procedure clearTRISA10; inline;
  8290. procedure clearTRISA1; inline;
  8291. procedure clearTRISA2; inline;
  8292. procedure clearTRISA3; inline;
  8293. procedure clearTRISA4; inline;
  8294. procedure clearTRISA7; inline;
  8295. procedure clearTRISA8; inline;
  8296. procedure clearTRISA9; inline;
  8297. procedure setTRISA0; inline;
  8298. procedure setTRISA10; inline;
  8299. procedure setTRISA1; inline;
  8300. procedure setTRISA2; inline;
  8301. procedure setTRISA3; inline;
  8302. procedure setTRISA4; inline;
  8303. procedure setTRISA7; inline;
  8304. procedure setTRISA8; inline;
  8305. procedure setTRISA9; inline;
  8306. property TRISA0 : TBits_1 read getTRISA0 write setTRISA0;
  8307. property TRISA1 : TBits_1 read getTRISA1 write setTRISA1;
  8308. property TRISA10 : TBits_1 read getTRISA10 write setTRISA10;
  8309. property TRISA2 : TBits_1 read getTRISA2 write setTRISA2;
  8310. property TRISA3 : TBits_1 read getTRISA3 write setTRISA3;
  8311. property TRISA4 : TBits_1 read getTRISA4 write setTRISA4;
  8312. property TRISA7 : TBits_1 read getTRISA7 write setTRISA7;
  8313. property TRISA8 : TBits_1 read getTRISA8 write setTRISA8;
  8314. property TRISA9 : TBits_1 read getTRISA9 write setTRISA9;
  8315. property w : TBits_32 read getw write setw;
  8316. end;
  8317. TPORTA_PORTA = record
  8318. private
  8319. function getRA0 : TBits_1; inline;
  8320. function getRA1 : TBits_1; inline;
  8321. function getRA10 : TBits_1; inline;
  8322. function getRA2 : TBits_1; inline;
  8323. function getRA3 : TBits_1; inline;
  8324. function getRA4 : TBits_1; inline;
  8325. function getRA7 : TBits_1; inline;
  8326. function getRA8 : TBits_1; inline;
  8327. function getRA9 : TBits_1; inline;
  8328. function getw : TBits_32; inline;
  8329. procedure setRA0(thebits : TBits_1); inline;
  8330. procedure setRA1(thebits : TBits_1); inline;
  8331. procedure setRA10(thebits : TBits_1); inline;
  8332. procedure setRA2(thebits : TBits_1); inline;
  8333. procedure setRA3(thebits : TBits_1); inline;
  8334. procedure setRA4(thebits : TBits_1); inline;
  8335. procedure setRA7(thebits : TBits_1); inline;
  8336. procedure setRA8(thebits : TBits_1); inline;
  8337. procedure setRA9(thebits : TBits_1); inline;
  8338. procedure setw(thebits : TBits_32); inline;
  8339. public
  8340. procedure clearRA0; inline;
  8341. procedure clearRA10; inline;
  8342. procedure clearRA1; inline;
  8343. procedure clearRA2; inline;
  8344. procedure clearRA3; inline;
  8345. procedure clearRA4; inline;
  8346. procedure clearRA7; inline;
  8347. procedure clearRA8; inline;
  8348. procedure clearRA9; inline;
  8349. procedure setRA0; inline;
  8350. procedure setRA10; inline;
  8351. procedure setRA1; inline;
  8352. procedure setRA2; inline;
  8353. procedure setRA3; inline;
  8354. procedure setRA4; inline;
  8355. procedure setRA7; inline;
  8356. procedure setRA8; inline;
  8357. procedure setRA9; inline;
  8358. property RA0 : TBits_1 read getRA0 write setRA0;
  8359. property RA1 : TBits_1 read getRA1 write setRA1;
  8360. property RA10 : TBits_1 read getRA10 write setRA10;
  8361. property RA2 : TBits_1 read getRA2 write setRA2;
  8362. property RA3 : TBits_1 read getRA3 write setRA3;
  8363. property RA4 : TBits_1 read getRA4 write setRA4;
  8364. property RA7 : TBits_1 read getRA7 write setRA7;
  8365. property RA8 : TBits_1 read getRA8 write setRA8;
  8366. property RA9 : TBits_1 read getRA9 write setRA9;
  8367. property w : TBits_32 read getw write setw;
  8368. end;
  8369. TPortA_bits=(RA0=0,RA1=1,RA2=2,RA3=3,RA4=4,RA7=7,RA8=8,RA9=9,RA10=10);
  8370. TPortA_bitset = set of TPortA_bits;
  8371. TPORTA_LATA = record
  8372. private
  8373. function getLATA0 : TBits_1; inline;
  8374. function getLATA1 : TBits_1; inline;
  8375. function getLATA10 : TBits_1; inline;
  8376. function getLATA2 : TBits_1; inline;
  8377. function getLATA3 : TBits_1; inline;
  8378. function getLATA4 : TBits_1; inline;
  8379. function getLATA7 : TBits_1; inline;
  8380. function getLATA8 : TBits_1; inline;
  8381. function getLATA9 : TBits_1; inline;
  8382. function getw : TBits_32; inline;
  8383. procedure setLATA0(thebits : TBits_1); inline;
  8384. procedure setLATA1(thebits : TBits_1); inline;
  8385. procedure setLATA10(thebits : TBits_1); inline;
  8386. procedure setLATA2(thebits : TBits_1); inline;
  8387. procedure setLATA3(thebits : TBits_1); inline;
  8388. procedure setLATA4(thebits : TBits_1); inline;
  8389. procedure setLATA7(thebits : TBits_1); inline;
  8390. procedure setLATA8(thebits : TBits_1); inline;
  8391. procedure setLATA9(thebits : TBits_1); inline;
  8392. procedure setw(thebits : TBits_32); inline;
  8393. public
  8394. procedure clearLATA0; inline;
  8395. procedure clearLATA10; inline;
  8396. procedure clearLATA1; inline;
  8397. procedure clearLATA2; inline;
  8398. procedure clearLATA3; inline;
  8399. procedure clearLATA4; inline;
  8400. procedure clearLATA7; inline;
  8401. procedure clearLATA8; inline;
  8402. procedure clearLATA9; inline;
  8403. procedure setLATA0; inline;
  8404. procedure setLATA10; inline;
  8405. procedure setLATA1; inline;
  8406. procedure setLATA2; inline;
  8407. procedure setLATA3; inline;
  8408. procedure setLATA4; inline;
  8409. procedure setLATA7; inline;
  8410. procedure setLATA8; inline;
  8411. procedure setLATA9; inline;
  8412. property LATA0 : TBits_1 read getLATA0 write setLATA0;
  8413. property LATA1 : TBits_1 read getLATA1 write setLATA1;
  8414. property LATA10 : TBits_1 read getLATA10 write setLATA10;
  8415. property LATA2 : TBits_1 read getLATA2 write setLATA2;
  8416. property LATA3 : TBits_1 read getLATA3 write setLATA3;
  8417. property LATA4 : TBits_1 read getLATA4 write setLATA4;
  8418. property LATA7 : TBits_1 read getLATA7 write setLATA7;
  8419. property LATA8 : TBits_1 read getLATA8 write setLATA8;
  8420. property LATA9 : TBits_1 read getLATA9 write setLATA9;
  8421. property w : TBits_32 read getw write setw;
  8422. end;
  8423. TPORTA_ODCA = record
  8424. private
  8425. function getODCA10 : TBits_1; inline;
  8426. function getODCA7 : TBits_1; inline;
  8427. function getODCA8 : TBits_1; inline;
  8428. function getODCA9 : TBits_1; inline;
  8429. function getw : TBits_32; inline;
  8430. procedure setODCA10(thebits : TBits_1); inline;
  8431. procedure setODCA7(thebits : TBits_1); inline;
  8432. procedure setODCA8(thebits : TBits_1); inline;
  8433. procedure setODCA9(thebits : TBits_1); inline;
  8434. procedure setw(thebits : TBits_32); inline;
  8435. public
  8436. procedure clearODCA10; inline;
  8437. procedure clearODCA7; inline;
  8438. procedure clearODCA8; inline;
  8439. procedure clearODCA9; inline;
  8440. procedure setODCA10; inline;
  8441. procedure setODCA7; inline;
  8442. procedure setODCA8; inline;
  8443. procedure setODCA9; inline;
  8444. property ODCA10 : TBits_1 read getODCA10 write setODCA10;
  8445. property ODCA7 : TBits_1 read getODCA7 write setODCA7;
  8446. property ODCA8 : TBits_1 read getODCA8 write setODCA8;
  8447. property ODCA9 : TBits_1 read getODCA9 write setODCA9;
  8448. property w : TBits_32 read getw write setw;
  8449. end;
  8450. TPORTA_CNPUA = record
  8451. private
  8452. function getCNPUA0 : TBits_1; inline;
  8453. function getCNPUA1 : TBits_1; inline;
  8454. function getCNPUA10 : TBits_1; inline;
  8455. function getCNPUA2 : TBits_1; inline;
  8456. function getCNPUA3 : TBits_1; inline;
  8457. function getCNPUA4 : TBits_1; inline;
  8458. function getCNPUA7 : TBits_1; inline;
  8459. function getCNPUA8 : TBits_1; inline;
  8460. function getCNPUA9 : TBits_1; inline;
  8461. function getw : TBits_32; inline;
  8462. procedure setCNPUA0(thebits : TBits_1); inline;
  8463. procedure setCNPUA1(thebits : TBits_1); inline;
  8464. procedure setCNPUA10(thebits : TBits_1); inline;
  8465. procedure setCNPUA2(thebits : TBits_1); inline;
  8466. procedure setCNPUA3(thebits : TBits_1); inline;
  8467. procedure setCNPUA4(thebits : TBits_1); inline;
  8468. procedure setCNPUA7(thebits : TBits_1); inline;
  8469. procedure setCNPUA8(thebits : TBits_1); inline;
  8470. procedure setCNPUA9(thebits : TBits_1); inline;
  8471. procedure setw(thebits : TBits_32); inline;
  8472. public
  8473. procedure clearCNPUA0; inline;
  8474. procedure clearCNPUA10; inline;
  8475. procedure clearCNPUA1; inline;
  8476. procedure clearCNPUA2; inline;
  8477. procedure clearCNPUA3; inline;
  8478. procedure clearCNPUA4; inline;
  8479. procedure clearCNPUA7; inline;
  8480. procedure clearCNPUA8; inline;
  8481. procedure clearCNPUA9; inline;
  8482. procedure setCNPUA0; inline;
  8483. procedure setCNPUA10; inline;
  8484. procedure setCNPUA1; inline;
  8485. procedure setCNPUA2; inline;
  8486. procedure setCNPUA3; inline;
  8487. procedure setCNPUA4; inline;
  8488. procedure setCNPUA7; inline;
  8489. procedure setCNPUA8; inline;
  8490. procedure setCNPUA9; inline;
  8491. property CNPUA0 : TBits_1 read getCNPUA0 write setCNPUA0;
  8492. property CNPUA1 : TBits_1 read getCNPUA1 write setCNPUA1;
  8493. property CNPUA10 : TBits_1 read getCNPUA10 write setCNPUA10;
  8494. property CNPUA2 : TBits_1 read getCNPUA2 write setCNPUA2;
  8495. property CNPUA3 : TBits_1 read getCNPUA3 write setCNPUA3;
  8496. property CNPUA4 : TBits_1 read getCNPUA4 write setCNPUA4;
  8497. property CNPUA7 : TBits_1 read getCNPUA7 write setCNPUA7;
  8498. property CNPUA8 : TBits_1 read getCNPUA8 write setCNPUA8;
  8499. property CNPUA9 : TBits_1 read getCNPUA9 write setCNPUA9;
  8500. property w : TBits_32 read getw write setw;
  8501. end;
  8502. TPORTA_CNPDA = record
  8503. private
  8504. function getCNPDA0 : TBits_1; inline;
  8505. function getCNPDA1 : TBits_1; inline;
  8506. function getCNPDA10 : TBits_1; inline;
  8507. function getCNPDA2 : TBits_1; inline;
  8508. function getCNPDA3 : TBits_1; inline;
  8509. function getCNPDA4 : TBits_1; inline;
  8510. function getCNPDA7 : TBits_1; inline;
  8511. function getCNPDA8 : TBits_1; inline;
  8512. function getCNPDA9 : TBits_1; inline;
  8513. function getw : TBits_32; inline;
  8514. procedure setCNPDA0(thebits : TBits_1); inline;
  8515. procedure setCNPDA1(thebits : TBits_1); inline;
  8516. procedure setCNPDA10(thebits : TBits_1); inline;
  8517. procedure setCNPDA2(thebits : TBits_1); inline;
  8518. procedure setCNPDA3(thebits : TBits_1); inline;
  8519. procedure setCNPDA4(thebits : TBits_1); inline;
  8520. procedure setCNPDA7(thebits : TBits_1); inline;
  8521. procedure setCNPDA8(thebits : TBits_1); inline;
  8522. procedure setCNPDA9(thebits : TBits_1); inline;
  8523. procedure setw(thebits : TBits_32); inline;
  8524. public
  8525. procedure clearCNPDA0; inline;
  8526. procedure clearCNPDA10; inline;
  8527. procedure clearCNPDA1; inline;
  8528. procedure clearCNPDA2; inline;
  8529. procedure clearCNPDA3; inline;
  8530. procedure clearCNPDA4; inline;
  8531. procedure clearCNPDA7; inline;
  8532. procedure clearCNPDA8; inline;
  8533. procedure clearCNPDA9; inline;
  8534. procedure setCNPDA0; inline;
  8535. procedure setCNPDA10; inline;
  8536. procedure setCNPDA1; inline;
  8537. procedure setCNPDA2; inline;
  8538. procedure setCNPDA3; inline;
  8539. procedure setCNPDA4; inline;
  8540. procedure setCNPDA7; inline;
  8541. procedure setCNPDA8; inline;
  8542. procedure setCNPDA9; inline;
  8543. property CNPDA0 : TBits_1 read getCNPDA0 write setCNPDA0;
  8544. property CNPDA1 : TBits_1 read getCNPDA1 write setCNPDA1;
  8545. property CNPDA10 : TBits_1 read getCNPDA10 write setCNPDA10;
  8546. property CNPDA2 : TBits_1 read getCNPDA2 write setCNPDA2;
  8547. property CNPDA3 : TBits_1 read getCNPDA3 write setCNPDA3;
  8548. property CNPDA4 : TBits_1 read getCNPDA4 write setCNPDA4;
  8549. property CNPDA7 : TBits_1 read getCNPDA7 write setCNPDA7;
  8550. property CNPDA8 : TBits_1 read getCNPDA8 write setCNPDA8;
  8551. property CNPDA9 : TBits_1 read getCNPDA9 write setCNPDA9;
  8552. property w : TBits_32 read getw write setw;
  8553. end;
  8554. TPORTA_CNCONA = record
  8555. private
  8556. function getON : TBits_1; inline;
  8557. function getSIDL : TBits_1; inline;
  8558. function getw : TBits_32; inline;
  8559. procedure setON(thebits : TBits_1); inline;
  8560. procedure setSIDL(thebits : TBits_1); inline;
  8561. procedure setw(thebits : TBits_32); inline;
  8562. public
  8563. procedure clearON; inline;
  8564. procedure clearSIDL; inline;
  8565. procedure setON; inline;
  8566. procedure setSIDL; inline;
  8567. property ON : TBits_1 read getON write setON;
  8568. property SIDL : TBits_1 read getSIDL write setSIDL;
  8569. property w : TBits_32 read getw write setw;
  8570. end;
  8571. TPORTA_CNENA = record
  8572. private
  8573. function getCNIEA0 : TBits_1; inline;
  8574. function getCNIEA1 : TBits_1; inline;
  8575. function getCNIEA10 : TBits_1; inline;
  8576. function getCNIEA2 : TBits_1; inline;
  8577. function getCNIEA3 : TBits_1; inline;
  8578. function getCNIEA4 : TBits_1; inline;
  8579. function getCNIEA7 : TBits_1; inline;
  8580. function getCNIEA8 : TBits_1; inline;
  8581. function getCNIEA9 : TBits_1; inline;
  8582. function getw : TBits_32; inline;
  8583. procedure setCNIEA0(thebits : TBits_1); inline;
  8584. procedure setCNIEA1(thebits : TBits_1); inline;
  8585. procedure setCNIEA10(thebits : TBits_1); inline;
  8586. procedure setCNIEA2(thebits : TBits_1); inline;
  8587. procedure setCNIEA3(thebits : TBits_1); inline;
  8588. procedure setCNIEA4(thebits : TBits_1); inline;
  8589. procedure setCNIEA7(thebits : TBits_1); inline;
  8590. procedure setCNIEA8(thebits : TBits_1); inline;
  8591. procedure setCNIEA9(thebits : TBits_1); inline;
  8592. procedure setw(thebits : TBits_32); inline;
  8593. public
  8594. procedure clearCNIEA0; inline;
  8595. procedure clearCNIEA10; inline;
  8596. procedure clearCNIEA1; inline;
  8597. procedure clearCNIEA2; inline;
  8598. procedure clearCNIEA3; inline;
  8599. procedure clearCNIEA4; inline;
  8600. procedure clearCNIEA7; inline;
  8601. procedure clearCNIEA8; inline;
  8602. procedure clearCNIEA9; inline;
  8603. procedure setCNIEA0; inline;
  8604. procedure setCNIEA10; inline;
  8605. procedure setCNIEA1; inline;
  8606. procedure setCNIEA2; inline;
  8607. procedure setCNIEA3; inline;
  8608. procedure setCNIEA4; inline;
  8609. procedure setCNIEA7; inline;
  8610. procedure setCNIEA8; inline;
  8611. procedure setCNIEA9; inline;
  8612. property CNIEA0 : TBits_1 read getCNIEA0 write setCNIEA0;
  8613. property CNIEA1 : TBits_1 read getCNIEA1 write setCNIEA1;
  8614. property CNIEA10 : TBits_1 read getCNIEA10 write setCNIEA10;
  8615. property CNIEA2 : TBits_1 read getCNIEA2 write setCNIEA2;
  8616. property CNIEA3 : TBits_1 read getCNIEA3 write setCNIEA3;
  8617. property CNIEA4 : TBits_1 read getCNIEA4 write setCNIEA4;
  8618. property CNIEA7 : TBits_1 read getCNIEA7 write setCNIEA7;
  8619. property CNIEA8 : TBits_1 read getCNIEA8 write setCNIEA8;
  8620. property CNIEA9 : TBits_1 read getCNIEA9 write setCNIEA9;
  8621. property w : TBits_32 read getw write setw;
  8622. end;
  8623. TPORTA_CNSTATA = record
  8624. private
  8625. function getCNSTATA0 : TBits_1; inline;
  8626. function getCNSTATA1 : TBits_1; inline;
  8627. function getCNSTATA10 : TBits_1; inline;
  8628. function getCNSTATA2 : TBits_1; inline;
  8629. function getCNSTATA3 : TBits_1; inline;
  8630. function getCNSTATA4 : TBits_1; inline;
  8631. function getCNSTATA7 : TBits_1; inline;
  8632. function getCNSTATA8 : TBits_1; inline;
  8633. function getCNSTATA9 : TBits_1; inline;
  8634. function getw : TBits_32; inline;
  8635. procedure setCNSTATA0(thebits : TBits_1); inline;
  8636. procedure setCNSTATA1(thebits : TBits_1); inline;
  8637. procedure setCNSTATA10(thebits : TBits_1); inline;
  8638. procedure setCNSTATA2(thebits : TBits_1); inline;
  8639. procedure setCNSTATA3(thebits : TBits_1); inline;
  8640. procedure setCNSTATA4(thebits : TBits_1); inline;
  8641. procedure setCNSTATA7(thebits : TBits_1); inline;
  8642. procedure setCNSTATA8(thebits : TBits_1); inline;
  8643. procedure setCNSTATA9(thebits : TBits_1); inline;
  8644. procedure setw(thebits : TBits_32); inline;
  8645. public
  8646. procedure clearCNSTATA0; inline;
  8647. procedure clearCNSTATA10; inline;
  8648. procedure clearCNSTATA1; inline;
  8649. procedure clearCNSTATA2; inline;
  8650. procedure clearCNSTATA3; inline;
  8651. procedure clearCNSTATA4; inline;
  8652. procedure clearCNSTATA7; inline;
  8653. procedure clearCNSTATA8; inline;
  8654. procedure clearCNSTATA9; inline;
  8655. procedure setCNSTATA0; inline;
  8656. procedure setCNSTATA10; inline;
  8657. procedure setCNSTATA1; inline;
  8658. procedure setCNSTATA2; inline;
  8659. procedure setCNSTATA3; inline;
  8660. procedure setCNSTATA4; inline;
  8661. procedure setCNSTATA7; inline;
  8662. procedure setCNSTATA8; inline;
  8663. procedure setCNSTATA9; inline;
  8664. property CNSTATA0 : TBits_1 read getCNSTATA0 write setCNSTATA0;
  8665. property CNSTATA1 : TBits_1 read getCNSTATA1 write setCNSTATA1;
  8666. property CNSTATA10 : TBits_1 read getCNSTATA10 write setCNSTATA10;
  8667. property CNSTATA2 : TBits_1 read getCNSTATA2 write setCNSTATA2;
  8668. property CNSTATA3 : TBits_1 read getCNSTATA3 write setCNSTATA3;
  8669. property CNSTATA4 : TBits_1 read getCNSTATA4 write setCNSTATA4;
  8670. property CNSTATA7 : TBits_1 read getCNSTATA7 write setCNSTATA7;
  8671. property CNSTATA8 : TBits_1 read getCNSTATA8 write setCNSTATA8;
  8672. property CNSTATA9 : TBits_1 read getCNSTATA9 write setCNSTATA9;
  8673. property w : TBits_32 read getw write setw;
  8674. end;
  8675. type
  8676. TPORTARegisters = record
  8677. ANSELAbits : TPORTA_ANSELA;
  8678. ANSELA : longWord;
  8679. ANSELACLR : longWord;
  8680. ANSELASET : longWord;
  8681. ANSELAINV : longWord;
  8682. TRISAbits : TPORTA_TRISA;
  8683. TRISA : longWord;
  8684. TRISACLR : longWord;
  8685. TRISASET : longWord;
  8686. TRISAINV : longWord;
  8687. PORTAbits : TPORTA_PORTA;
  8688. PORTA : longWord;
  8689. PORTACLR : longWord;
  8690. PORTASET : longWord;
  8691. PORTAINV : longWord;
  8692. LATAbits : TPORTA_LATA;
  8693. LATA : longWord;
  8694. LATACLR : longWord;
  8695. LATASET : longWord;
  8696. LATAINV : longWord;
  8697. ODCAbits : TPORTA_ODCA;
  8698. ODCA : longWord;
  8699. ODCACLR : longWord;
  8700. ODCASET : longWord;
  8701. ODCAINV : longWord;
  8702. CNPUAbits : TPORTA_CNPUA;
  8703. CNPUA : longWord;
  8704. CNPUACLR : longWord;
  8705. CNPUASET : longWord;
  8706. CNPUAINV : longWord;
  8707. CNPDAbits : TPORTA_CNPDA;
  8708. CNPDA : longWord;
  8709. CNPDACLR : longWord;
  8710. CNPDASET : longWord;
  8711. CNPDAINV : longWord;
  8712. CNCONAbits : TPORTA_CNCONA;
  8713. CNCONA : longWord;
  8714. CNCONACLR : longWord;
  8715. CNCONASET : longWord;
  8716. CNCONAINV : longWord;
  8717. CNENAbits : TPORTA_CNENA;
  8718. CNENA : longWord;
  8719. CNENACLR : longWord;
  8720. CNENASET : longWord;
  8721. CNENAINV : longWord;
  8722. CNSTATAbits : TPORTA_CNSTATA;
  8723. CNSTATA : longWord;
  8724. CNSTATACLR : longWord;
  8725. CNSTATASET : longWord;
  8726. CNSTATAINV : longWord;
  8727. end;
  8728. TPORTB_ANSELB = record
  8729. private
  8730. function getANSB0 : TBits_1; inline;
  8731. function getANSB1 : TBits_1; inline;
  8732. function getANSB12 : TBits_1; inline;
  8733. function getANSB13 : TBits_1; inline;
  8734. function getANSB14 : TBits_1; inline;
  8735. function getANSB15 : TBits_1; inline;
  8736. function getANSB2 : TBits_1; inline;
  8737. function getANSB3 : TBits_1; inline;
  8738. function getw : TBits_32; inline;
  8739. procedure setANSB0(thebits : TBits_1); inline;
  8740. procedure setANSB1(thebits : TBits_1); inline;
  8741. procedure setANSB12(thebits : TBits_1); inline;
  8742. procedure setANSB13(thebits : TBits_1); inline;
  8743. procedure setANSB14(thebits : TBits_1); inline;
  8744. procedure setANSB15(thebits : TBits_1); inline;
  8745. procedure setANSB2(thebits : TBits_1); inline;
  8746. procedure setANSB3(thebits : TBits_1); inline;
  8747. procedure setw(thebits : TBits_32); inline;
  8748. public
  8749. procedure clearANSB0; inline;
  8750. procedure clearANSB12; inline;
  8751. procedure clearANSB13; inline;
  8752. procedure clearANSB14; inline;
  8753. procedure clearANSB15; inline;
  8754. procedure clearANSB1; inline;
  8755. procedure clearANSB2; inline;
  8756. procedure clearANSB3; inline;
  8757. procedure setANSB0; inline;
  8758. procedure setANSB12; inline;
  8759. procedure setANSB13; inline;
  8760. procedure setANSB14; inline;
  8761. procedure setANSB15; inline;
  8762. procedure setANSB1; inline;
  8763. procedure setANSB2; inline;
  8764. procedure setANSB3; inline;
  8765. property ANSB0 : TBits_1 read getANSB0 write setANSB0;
  8766. property ANSB1 : TBits_1 read getANSB1 write setANSB1;
  8767. property ANSB12 : TBits_1 read getANSB12 write setANSB12;
  8768. property ANSB13 : TBits_1 read getANSB13 write setANSB13;
  8769. property ANSB14 : TBits_1 read getANSB14 write setANSB14;
  8770. property ANSB15 : TBits_1 read getANSB15 write setANSB15;
  8771. property ANSB2 : TBits_1 read getANSB2 write setANSB2;
  8772. property ANSB3 : TBits_1 read getANSB3 write setANSB3;
  8773. property w : TBits_32 read getw write setw;
  8774. end;
  8775. TPORTB_TRISB = record
  8776. private
  8777. function getTRISB0 : TBits_1; inline;
  8778. function getTRISB1 : TBits_1; inline;
  8779. function getTRISB10 : TBits_1; inline;
  8780. function getTRISB11 : TBits_1; inline;
  8781. function getTRISB12 : TBits_1; inline;
  8782. function getTRISB13 : TBits_1; inline;
  8783. function getTRISB14 : TBits_1; inline;
  8784. function getTRISB15 : TBits_1; inline;
  8785. function getTRISB2 : TBits_1; inline;
  8786. function getTRISB3 : TBits_1; inline;
  8787. function getTRISB4 : TBits_1; inline;
  8788. function getTRISB5 : TBits_1; inline;
  8789. function getTRISB6 : TBits_1; inline;
  8790. function getTRISB7 : TBits_1; inline;
  8791. function getTRISB8 : TBits_1; inline;
  8792. function getTRISB9 : TBits_1; inline;
  8793. function getw : TBits_32; inline;
  8794. procedure setTRISB0(thebits : TBits_1); inline;
  8795. procedure setTRISB1(thebits : TBits_1); inline;
  8796. procedure setTRISB10(thebits : TBits_1); inline;
  8797. procedure setTRISB11(thebits : TBits_1); inline;
  8798. procedure setTRISB12(thebits : TBits_1); inline;
  8799. procedure setTRISB13(thebits : TBits_1); inline;
  8800. procedure setTRISB14(thebits : TBits_1); inline;
  8801. procedure setTRISB15(thebits : TBits_1); inline;
  8802. procedure setTRISB2(thebits : TBits_1); inline;
  8803. procedure setTRISB3(thebits : TBits_1); inline;
  8804. procedure setTRISB4(thebits : TBits_1); inline;
  8805. procedure setTRISB5(thebits : TBits_1); inline;
  8806. procedure setTRISB6(thebits : TBits_1); inline;
  8807. procedure setTRISB7(thebits : TBits_1); inline;
  8808. procedure setTRISB8(thebits : TBits_1); inline;
  8809. procedure setTRISB9(thebits : TBits_1); inline;
  8810. procedure setw(thebits : TBits_32); inline;
  8811. public
  8812. procedure clearTRISB0; inline;
  8813. procedure clearTRISB10; inline;
  8814. procedure clearTRISB11; inline;
  8815. procedure clearTRISB12; inline;
  8816. procedure clearTRISB13; inline;
  8817. procedure clearTRISB14; inline;
  8818. procedure clearTRISB15; inline;
  8819. procedure clearTRISB1; inline;
  8820. procedure clearTRISB2; inline;
  8821. procedure clearTRISB3; inline;
  8822. procedure clearTRISB4; inline;
  8823. procedure clearTRISB5; inline;
  8824. procedure clearTRISB6; inline;
  8825. procedure clearTRISB7; inline;
  8826. procedure clearTRISB8; inline;
  8827. procedure clearTRISB9; inline;
  8828. procedure setTRISB0; inline;
  8829. procedure setTRISB10; inline;
  8830. procedure setTRISB11; inline;
  8831. procedure setTRISB12; inline;
  8832. procedure setTRISB13; inline;
  8833. procedure setTRISB14; inline;
  8834. procedure setTRISB15; inline;
  8835. procedure setTRISB1; inline;
  8836. procedure setTRISB2; inline;
  8837. procedure setTRISB3; inline;
  8838. procedure setTRISB4; inline;
  8839. procedure setTRISB5; inline;
  8840. procedure setTRISB6; inline;
  8841. procedure setTRISB7; inline;
  8842. procedure setTRISB8; inline;
  8843. procedure setTRISB9; inline;
  8844. property TRISB0 : TBits_1 read getTRISB0 write setTRISB0;
  8845. property TRISB1 : TBits_1 read getTRISB1 write setTRISB1;
  8846. property TRISB10 : TBits_1 read getTRISB10 write setTRISB10;
  8847. property TRISB11 : TBits_1 read getTRISB11 write setTRISB11;
  8848. property TRISB12 : TBits_1 read getTRISB12 write setTRISB12;
  8849. property TRISB13 : TBits_1 read getTRISB13 write setTRISB13;
  8850. property TRISB14 : TBits_1 read getTRISB14 write setTRISB14;
  8851. property TRISB15 : TBits_1 read getTRISB15 write setTRISB15;
  8852. property TRISB2 : TBits_1 read getTRISB2 write setTRISB2;
  8853. property TRISB3 : TBits_1 read getTRISB3 write setTRISB3;
  8854. property TRISB4 : TBits_1 read getTRISB4 write setTRISB4;
  8855. property TRISB5 : TBits_1 read getTRISB5 write setTRISB5;
  8856. property TRISB6 : TBits_1 read getTRISB6 write setTRISB6;
  8857. property TRISB7 : TBits_1 read getTRISB7 write setTRISB7;
  8858. property TRISB8 : TBits_1 read getTRISB8 write setTRISB8;
  8859. property TRISB9 : TBits_1 read getTRISB9 write setTRISB9;
  8860. property w : TBits_32 read getw write setw;
  8861. end;
  8862. TPORTB_PORTB = record
  8863. private
  8864. function getRB0 : TBits_1; inline;
  8865. function getRB1 : TBits_1; inline;
  8866. function getRB10 : TBits_1; inline;
  8867. function getRB11 : TBits_1; inline;
  8868. function getRB12 : TBits_1; inline;
  8869. function getRB13 : TBits_1; inline;
  8870. function getRB14 : TBits_1; inline;
  8871. function getRB15 : TBits_1; inline;
  8872. function getRB2 : TBits_1; inline;
  8873. function getRB3 : TBits_1; inline;
  8874. function getRB4 : TBits_1; inline;
  8875. function getRB5 : TBits_1; inline;
  8876. function getRB6 : TBits_1; inline;
  8877. function getRB7 : TBits_1; inline;
  8878. function getRB8 : TBits_1; inline;
  8879. function getRB9 : TBits_1; inline;
  8880. function getw : TBits_32; inline;
  8881. procedure setRB0(thebits : TBits_1); inline;
  8882. procedure setRB1(thebits : TBits_1); inline;
  8883. procedure setRB10(thebits : TBits_1); inline;
  8884. procedure setRB11(thebits : TBits_1); inline;
  8885. procedure setRB12(thebits : TBits_1); inline;
  8886. procedure setRB13(thebits : TBits_1); inline;
  8887. procedure setRB14(thebits : TBits_1); inline;
  8888. procedure setRB15(thebits : TBits_1); inline;
  8889. procedure setRB2(thebits : TBits_1); inline;
  8890. procedure setRB3(thebits : TBits_1); inline;
  8891. procedure setRB4(thebits : TBits_1); inline;
  8892. procedure setRB5(thebits : TBits_1); inline;
  8893. procedure setRB6(thebits : TBits_1); inline;
  8894. procedure setRB7(thebits : TBits_1); inline;
  8895. procedure setRB8(thebits : TBits_1); inline;
  8896. procedure setRB9(thebits : TBits_1); inline;
  8897. procedure setw(thebits : TBits_32); inline;
  8898. public
  8899. procedure clearRB0; inline;
  8900. procedure clearRB10; inline;
  8901. procedure clearRB11; inline;
  8902. procedure clearRB12; inline;
  8903. procedure clearRB13; inline;
  8904. procedure clearRB14; inline;
  8905. procedure clearRB15; inline;
  8906. procedure clearRB1; inline;
  8907. procedure clearRB2; inline;
  8908. procedure clearRB3; inline;
  8909. procedure clearRB4; inline;
  8910. procedure clearRB5; inline;
  8911. procedure clearRB6; inline;
  8912. procedure clearRB7; inline;
  8913. procedure clearRB8; inline;
  8914. procedure clearRB9; inline;
  8915. procedure setRB0; inline;
  8916. procedure setRB10; inline;
  8917. procedure setRB11; inline;
  8918. procedure setRB12; inline;
  8919. procedure setRB13; inline;
  8920. procedure setRB14; inline;
  8921. procedure setRB15; inline;
  8922. procedure setRB1; inline;
  8923. procedure setRB2; inline;
  8924. procedure setRB3; inline;
  8925. procedure setRB4; inline;
  8926. procedure setRB5; inline;
  8927. procedure setRB6; inline;
  8928. procedure setRB7; inline;
  8929. procedure setRB8; inline;
  8930. procedure setRB9; inline;
  8931. property RB0 : TBits_1 read getRB0 write setRB0;
  8932. property RB1 : TBits_1 read getRB1 write setRB1;
  8933. property RB10 : TBits_1 read getRB10 write setRB10;
  8934. property RB11 : TBits_1 read getRB11 write setRB11;
  8935. property RB12 : TBits_1 read getRB12 write setRB12;
  8936. property RB13 : TBits_1 read getRB13 write setRB13;
  8937. property RB14 : TBits_1 read getRB14 write setRB14;
  8938. property RB15 : TBits_1 read getRB15 write setRB15;
  8939. property RB2 : TBits_1 read getRB2 write setRB2;
  8940. property RB3 : TBits_1 read getRB3 write setRB3;
  8941. property RB4 : TBits_1 read getRB4 write setRB4;
  8942. property RB5 : TBits_1 read getRB5 write setRB5;
  8943. property RB6 : TBits_1 read getRB6 write setRB6;
  8944. property RB7 : TBits_1 read getRB7 write setRB7;
  8945. property RB8 : TBits_1 read getRB8 write setRB8;
  8946. property RB9 : TBits_1 read getRB9 write setRB9;
  8947. property w : TBits_32 read getw write setw;
  8948. end;
  8949. 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);
  8950. TPortB_bitset = set of TPortB_bits;
  8951. TPORTB_LATB = record
  8952. private
  8953. function getLATB0 : TBits_1; inline;
  8954. function getLATB1 : TBits_1; inline;
  8955. function getLATB10 : TBits_1; inline;
  8956. function getLATB11 : TBits_1; inline;
  8957. function getLATB12 : TBits_1; inline;
  8958. function getLATB13 : TBits_1; inline;
  8959. function getLATB14 : TBits_1; inline;
  8960. function getLATB15 : TBits_1; inline;
  8961. function getLATB2 : TBits_1; inline;
  8962. function getLATB3 : TBits_1; inline;
  8963. function getLATB4 : TBits_1; inline;
  8964. function getLATB5 : TBits_1; inline;
  8965. function getLATB6 : TBits_1; inline;
  8966. function getLATB7 : TBits_1; inline;
  8967. function getLATB8 : TBits_1; inline;
  8968. function getLATB9 : TBits_1; inline;
  8969. function getw : TBits_32; inline;
  8970. procedure setLATB0(thebits : TBits_1); inline;
  8971. procedure setLATB1(thebits : TBits_1); inline;
  8972. procedure setLATB10(thebits : TBits_1); inline;
  8973. procedure setLATB11(thebits : TBits_1); inline;
  8974. procedure setLATB12(thebits : TBits_1); inline;
  8975. procedure setLATB13(thebits : TBits_1); inline;
  8976. procedure setLATB14(thebits : TBits_1); inline;
  8977. procedure setLATB15(thebits : TBits_1); inline;
  8978. procedure setLATB2(thebits : TBits_1); inline;
  8979. procedure setLATB3(thebits : TBits_1); inline;
  8980. procedure setLATB4(thebits : TBits_1); inline;
  8981. procedure setLATB5(thebits : TBits_1); inline;
  8982. procedure setLATB6(thebits : TBits_1); inline;
  8983. procedure setLATB7(thebits : TBits_1); inline;
  8984. procedure setLATB8(thebits : TBits_1); inline;
  8985. procedure setLATB9(thebits : TBits_1); inline;
  8986. procedure setw(thebits : TBits_32); inline;
  8987. public
  8988. procedure clearLATB0; inline;
  8989. procedure clearLATB10; inline;
  8990. procedure clearLATB11; inline;
  8991. procedure clearLATB12; inline;
  8992. procedure clearLATB13; inline;
  8993. procedure clearLATB14; inline;
  8994. procedure clearLATB15; inline;
  8995. procedure clearLATB1; inline;
  8996. procedure clearLATB2; inline;
  8997. procedure clearLATB3; inline;
  8998. procedure clearLATB4; inline;
  8999. procedure clearLATB5; inline;
  9000. procedure clearLATB6; inline;
  9001. procedure clearLATB7; inline;
  9002. procedure clearLATB8; inline;
  9003. procedure clearLATB9; inline;
  9004. procedure setLATB0; inline;
  9005. procedure setLATB10; inline;
  9006. procedure setLATB11; inline;
  9007. procedure setLATB12; inline;
  9008. procedure setLATB13; inline;
  9009. procedure setLATB14; inline;
  9010. procedure setLATB15; inline;
  9011. procedure setLATB1; inline;
  9012. procedure setLATB2; inline;
  9013. procedure setLATB3; inline;
  9014. procedure setLATB4; inline;
  9015. procedure setLATB5; inline;
  9016. procedure setLATB6; inline;
  9017. procedure setLATB7; inline;
  9018. procedure setLATB8; inline;
  9019. procedure setLATB9; inline;
  9020. property LATB0 : TBits_1 read getLATB0 write setLATB0;
  9021. property LATB1 : TBits_1 read getLATB1 write setLATB1;
  9022. property LATB10 : TBits_1 read getLATB10 write setLATB10;
  9023. property LATB11 : TBits_1 read getLATB11 write setLATB11;
  9024. property LATB12 : TBits_1 read getLATB12 write setLATB12;
  9025. property LATB13 : TBits_1 read getLATB13 write setLATB13;
  9026. property LATB14 : TBits_1 read getLATB14 write setLATB14;
  9027. property LATB15 : TBits_1 read getLATB15 write setLATB15;
  9028. property LATB2 : TBits_1 read getLATB2 write setLATB2;
  9029. property LATB3 : TBits_1 read getLATB3 write setLATB3;
  9030. property LATB4 : TBits_1 read getLATB4 write setLATB4;
  9031. property LATB5 : TBits_1 read getLATB5 write setLATB5;
  9032. property LATB6 : TBits_1 read getLATB6 write setLATB6;
  9033. property LATB7 : TBits_1 read getLATB7 write setLATB7;
  9034. property LATB8 : TBits_1 read getLATB8 write setLATB8;
  9035. property LATB9 : TBits_1 read getLATB9 write setLATB9;
  9036. property w : TBits_32 read getw write setw;
  9037. end;
  9038. TPORTB_ODCB = record
  9039. private
  9040. function getODCB10 : TBits_1; inline;
  9041. function getODCB11 : TBits_1; inline;
  9042. function getODCB4 : TBits_1; inline;
  9043. function getODCB5 : TBits_1; inline;
  9044. function getODCB6 : TBits_1; inline;
  9045. function getODCB7 : TBits_1; inline;
  9046. function getODCB8 : TBits_1; inline;
  9047. function getODCB9 : TBits_1; inline;
  9048. function getw : TBits_32; inline;
  9049. procedure setODCB10(thebits : TBits_1); inline;
  9050. procedure setODCB11(thebits : TBits_1); inline;
  9051. procedure setODCB4(thebits : TBits_1); inline;
  9052. procedure setODCB5(thebits : TBits_1); inline;
  9053. procedure setODCB6(thebits : TBits_1); inline;
  9054. procedure setODCB7(thebits : TBits_1); inline;
  9055. procedure setODCB8(thebits : TBits_1); inline;
  9056. procedure setODCB9(thebits : TBits_1); inline;
  9057. procedure setw(thebits : TBits_32); inline;
  9058. public
  9059. procedure clearODCB10; inline;
  9060. procedure clearODCB11; inline;
  9061. procedure clearODCB4; inline;
  9062. procedure clearODCB5; inline;
  9063. procedure clearODCB6; inline;
  9064. procedure clearODCB7; inline;
  9065. procedure clearODCB8; inline;
  9066. procedure clearODCB9; inline;
  9067. procedure setODCB10; inline;
  9068. procedure setODCB11; inline;
  9069. procedure setODCB4; inline;
  9070. procedure setODCB5; inline;
  9071. procedure setODCB6; inline;
  9072. procedure setODCB7; inline;
  9073. procedure setODCB8; inline;
  9074. procedure setODCB9; inline;
  9075. property ODCB10 : TBits_1 read getODCB10 write setODCB10;
  9076. property ODCB11 : TBits_1 read getODCB11 write setODCB11;
  9077. property ODCB4 : TBits_1 read getODCB4 write setODCB4;
  9078. property ODCB5 : TBits_1 read getODCB5 write setODCB5;
  9079. property ODCB6 : TBits_1 read getODCB6 write setODCB6;
  9080. property ODCB7 : TBits_1 read getODCB7 write setODCB7;
  9081. property ODCB8 : TBits_1 read getODCB8 write setODCB8;
  9082. property ODCB9 : TBits_1 read getODCB9 write setODCB9;
  9083. property w : TBits_32 read getw write setw;
  9084. end;
  9085. TPORTB_CNPUB = record
  9086. private
  9087. function getCNPUB0 : TBits_1; inline;
  9088. function getCNPUB1 : TBits_1; inline;
  9089. function getCNPUB10 : TBits_1; inline;
  9090. function getCNPUB11 : TBits_1; inline;
  9091. function getCNPUB12 : TBits_1; inline;
  9092. function getCNPUB13 : TBits_1; inline;
  9093. function getCNPUB14 : TBits_1; inline;
  9094. function getCNPUB15 : TBits_1; inline;
  9095. function getCNPUB2 : TBits_1; inline;
  9096. function getCNPUB3 : TBits_1; inline;
  9097. function getCNPUB4 : TBits_1; inline;
  9098. function getCNPUB5 : TBits_1; inline;
  9099. function getCNPUB6 : TBits_1; inline;
  9100. function getCNPUB7 : TBits_1; inline;
  9101. function getCNPUB8 : TBits_1; inline;
  9102. function getCNPUB9 : TBits_1; inline;
  9103. function getw : TBits_32; inline;
  9104. procedure setCNPUB0(thebits : TBits_1); inline;
  9105. procedure setCNPUB1(thebits : TBits_1); inline;
  9106. procedure setCNPUB10(thebits : TBits_1); inline;
  9107. procedure setCNPUB11(thebits : TBits_1); inline;
  9108. procedure setCNPUB12(thebits : TBits_1); inline;
  9109. procedure setCNPUB13(thebits : TBits_1); inline;
  9110. procedure setCNPUB14(thebits : TBits_1); inline;
  9111. procedure setCNPUB15(thebits : TBits_1); inline;
  9112. procedure setCNPUB2(thebits : TBits_1); inline;
  9113. procedure setCNPUB3(thebits : TBits_1); inline;
  9114. procedure setCNPUB4(thebits : TBits_1); inline;
  9115. procedure setCNPUB5(thebits : TBits_1); inline;
  9116. procedure setCNPUB6(thebits : TBits_1); inline;
  9117. procedure setCNPUB7(thebits : TBits_1); inline;
  9118. procedure setCNPUB8(thebits : TBits_1); inline;
  9119. procedure setCNPUB9(thebits : TBits_1); inline;
  9120. procedure setw(thebits : TBits_32); inline;
  9121. public
  9122. procedure clearCNPUB0; inline;
  9123. procedure clearCNPUB10; inline;
  9124. procedure clearCNPUB11; inline;
  9125. procedure clearCNPUB12; inline;
  9126. procedure clearCNPUB13; inline;
  9127. procedure clearCNPUB14; inline;
  9128. procedure clearCNPUB15; inline;
  9129. procedure clearCNPUB1; inline;
  9130. procedure clearCNPUB2; inline;
  9131. procedure clearCNPUB3; inline;
  9132. procedure clearCNPUB4; inline;
  9133. procedure clearCNPUB5; inline;
  9134. procedure clearCNPUB6; inline;
  9135. procedure clearCNPUB7; inline;
  9136. procedure clearCNPUB8; inline;
  9137. procedure clearCNPUB9; inline;
  9138. procedure setCNPUB0; inline;
  9139. procedure setCNPUB10; inline;
  9140. procedure setCNPUB11; inline;
  9141. procedure setCNPUB12; inline;
  9142. procedure setCNPUB13; inline;
  9143. procedure setCNPUB14; inline;
  9144. procedure setCNPUB15; inline;
  9145. procedure setCNPUB1; inline;
  9146. procedure setCNPUB2; inline;
  9147. procedure setCNPUB3; inline;
  9148. procedure setCNPUB4; inline;
  9149. procedure setCNPUB5; inline;
  9150. procedure setCNPUB6; inline;
  9151. procedure setCNPUB7; inline;
  9152. procedure setCNPUB8; inline;
  9153. procedure setCNPUB9; inline;
  9154. property CNPUB0 : TBits_1 read getCNPUB0 write setCNPUB0;
  9155. property CNPUB1 : TBits_1 read getCNPUB1 write setCNPUB1;
  9156. property CNPUB10 : TBits_1 read getCNPUB10 write setCNPUB10;
  9157. property CNPUB11 : TBits_1 read getCNPUB11 write setCNPUB11;
  9158. property CNPUB12 : TBits_1 read getCNPUB12 write setCNPUB12;
  9159. property CNPUB13 : TBits_1 read getCNPUB13 write setCNPUB13;
  9160. property CNPUB14 : TBits_1 read getCNPUB14 write setCNPUB14;
  9161. property CNPUB15 : TBits_1 read getCNPUB15 write setCNPUB15;
  9162. property CNPUB2 : TBits_1 read getCNPUB2 write setCNPUB2;
  9163. property CNPUB3 : TBits_1 read getCNPUB3 write setCNPUB3;
  9164. property CNPUB4 : TBits_1 read getCNPUB4 write setCNPUB4;
  9165. property CNPUB5 : TBits_1 read getCNPUB5 write setCNPUB5;
  9166. property CNPUB6 : TBits_1 read getCNPUB6 write setCNPUB6;
  9167. property CNPUB7 : TBits_1 read getCNPUB7 write setCNPUB7;
  9168. property CNPUB8 : TBits_1 read getCNPUB8 write setCNPUB8;
  9169. property CNPUB9 : TBits_1 read getCNPUB9 write setCNPUB9;
  9170. property w : TBits_32 read getw write setw;
  9171. end;
  9172. TPORTB_CNPDB = record
  9173. private
  9174. function getCNPDB0 : TBits_1; inline;
  9175. function getCNPDB1 : TBits_1; inline;
  9176. function getCNPDB10 : TBits_1; inline;
  9177. function getCNPDB11 : TBits_1; inline;
  9178. function getCNPDB12 : TBits_1; inline;
  9179. function getCNPDB13 : TBits_1; inline;
  9180. function getCNPDB14 : TBits_1; inline;
  9181. function getCNPDB15 : TBits_1; inline;
  9182. function getCNPDB2 : TBits_1; inline;
  9183. function getCNPDB3 : TBits_1; inline;
  9184. function getCNPDB4 : TBits_1; inline;
  9185. function getCNPDB5 : TBits_1; inline;
  9186. function getCNPDB6 : TBits_1; inline;
  9187. function getCNPDB7 : TBits_1; inline;
  9188. function getCNPDB8 : TBits_1; inline;
  9189. function getCNPDB9 : TBits_1; inline;
  9190. function getw : TBits_32; inline;
  9191. procedure setCNPDB0(thebits : TBits_1); inline;
  9192. procedure setCNPDB1(thebits : TBits_1); inline;
  9193. procedure setCNPDB10(thebits : TBits_1); inline;
  9194. procedure setCNPDB11(thebits : TBits_1); inline;
  9195. procedure setCNPDB12(thebits : TBits_1); inline;
  9196. procedure setCNPDB13(thebits : TBits_1); inline;
  9197. procedure setCNPDB14(thebits : TBits_1); inline;
  9198. procedure setCNPDB15(thebits : TBits_1); inline;
  9199. procedure setCNPDB2(thebits : TBits_1); inline;
  9200. procedure setCNPDB3(thebits : TBits_1); inline;
  9201. procedure setCNPDB4(thebits : TBits_1); inline;
  9202. procedure setCNPDB5(thebits : TBits_1); inline;
  9203. procedure setCNPDB6(thebits : TBits_1); inline;
  9204. procedure setCNPDB7(thebits : TBits_1); inline;
  9205. procedure setCNPDB8(thebits : TBits_1); inline;
  9206. procedure setCNPDB9(thebits : TBits_1); inline;
  9207. procedure setw(thebits : TBits_32); inline;
  9208. public
  9209. procedure clearCNPDB0; inline;
  9210. procedure clearCNPDB10; inline;
  9211. procedure clearCNPDB11; inline;
  9212. procedure clearCNPDB12; inline;
  9213. procedure clearCNPDB13; inline;
  9214. procedure clearCNPDB14; inline;
  9215. procedure clearCNPDB15; inline;
  9216. procedure clearCNPDB1; inline;
  9217. procedure clearCNPDB2; inline;
  9218. procedure clearCNPDB3; inline;
  9219. procedure clearCNPDB4; inline;
  9220. procedure clearCNPDB5; inline;
  9221. procedure clearCNPDB6; inline;
  9222. procedure clearCNPDB7; inline;
  9223. procedure clearCNPDB8; inline;
  9224. procedure clearCNPDB9; inline;
  9225. procedure setCNPDB0; inline;
  9226. procedure setCNPDB10; inline;
  9227. procedure setCNPDB11; inline;
  9228. procedure setCNPDB12; inline;
  9229. procedure setCNPDB13; inline;
  9230. procedure setCNPDB14; inline;
  9231. procedure setCNPDB15; inline;
  9232. procedure setCNPDB1; inline;
  9233. procedure setCNPDB2; inline;
  9234. procedure setCNPDB3; inline;
  9235. procedure setCNPDB4; inline;
  9236. procedure setCNPDB5; inline;
  9237. procedure setCNPDB6; inline;
  9238. procedure setCNPDB7; inline;
  9239. procedure setCNPDB8; inline;
  9240. procedure setCNPDB9; inline;
  9241. property CNPDB0 : TBits_1 read getCNPDB0 write setCNPDB0;
  9242. property CNPDB1 : TBits_1 read getCNPDB1 write setCNPDB1;
  9243. property CNPDB10 : TBits_1 read getCNPDB10 write setCNPDB10;
  9244. property CNPDB11 : TBits_1 read getCNPDB11 write setCNPDB11;
  9245. property CNPDB12 : TBits_1 read getCNPDB12 write setCNPDB12;
  9246. property CNPDB13 : TBits_1 read getCNPDB13 write setCNPDB13;
  9247. property CNPDB14 : TBits_1 read getCNPDB14 write setCNPDB14;
  9248. property CNPDB15 : TBits_1 read getCNPDB15 write setCNPDB15;
  9249. property CNPDB2 : TBits_1 read getCNPDB2 write setCNPDB2;
  9250. property CNPDB3 : TBits_1 read getCNPDB3 write setCNPDB3;
  9251. property CNPDB4 : TBits_1 read getCNPDB4 write setCNPDB4;
  9252. property CNPDB5 : TBits_1 read getCNPDB5 write setCNPDB5;
  9253. property CNPDB6 : TBits_1 read getCNPDB6 write setCNPDB6;
  9254. property CNPDB7 : TBits_1 read getCNPDB7 write setCNPDB7;
  9255. property CNPDB8 : TBits_1 read getCNPDB8 write setCNPDB8;
  9256. property CNPDB9 : TBits_1 read getCNPDB9 write setCNPDB9;
  9257. property w : TBits_32 read getw write setw;
  9258. end;
  9259. TPORTB_CNCONB = record
  9260. private
  9261. function getON : TBits_1; inline;
  9262. function getSIDL : TBits_1; inline;
  9263. function getw : TBits_32; inline;
  9264. procedure setON(thebits : TBits_1); inline;
  9265. procedure setSIDL(thebits : TBits_1); inline;
  9266. procedure setw(thebits : TBits_32); inline;
  9267. public
  9268. procedure clearON; inline;
  9269. procedure clearSIDL; inline;
  9270. procedure setON; inline;
  9271. procedure setSIDL; inline;
  9272. property ON : TBits_1 read getON write setON;
  9273. property SIDL : TBits_1 read getSIDL write setSIDL;
  9274. property w : TBits_32 read getw write setw;
  9275. end;
  9276. TPORTB_CNENB = record
  9277. private
  9278. function getCNIEB0 : TBits_1; inline;
  9279. function getCNIEB1 : TBits_1; inline;
  9280. function getCNIEB10 : TBits_1; inline;
  9281. function getCNIEB11 : TBits_1; inline;
  9282. function getCNIEB12 : TBits_1; inline;
  9283. function getCNIEB13 : TBits_1; inline;
  9284. function getCNIEB14 : TBits_1; inline;
  9285. function getCNIEB15 : TBits_1; inline;
  9286. function getCNIEB2 : TBits_1; inline;
  9287. function getCNIEB3 : TBits_1; inline;
  9288. function getCNIEB4 : TBits_1; inline;
  9289. function getCNIEB5 : TBits_1; inline;
  9290. function getCNIEB6 : TBits_1; inline;
  9291. function getCNIEB7 : TBits_1; inline;
  9292. function getCNIEB8 : TBits_1; inline;
  9293. function getCNIEB9 : TBits_1; inline;
  9294. function getw : TBits_32; inline;
  9295. procedure setCNIEB0(thebits : TBits_1); inline;
  9296. procedure setCNIEB1(thebits : TBits_1); inline;
  9297. procedure setCNIEB10(thebits : TBits_1); inline;
  9298. procedure setCNIEB11(thebits : TBits_1); inline;
  9299. procedure setCNIEB12(thebits : TBits_1); inline;
  9300. procedure setCNIEB13(thebits : TBits_1); inline;
  9301. procedure setCNIEB14(thebits : TBits_1); inline;
  9302. procedure setCNIEB15(thebits : TBits_1); inline;
  9303. procedure setCNIEB2(thebits : TBits_1); inline;
  9304. procedure setCNIEB3(thebits : TBits_1); inline;
  9305. procedure setCNIEB4(thebits : TBits_1); inline;
  9306. procedure setCNIEB5(thebits : TBits_1); inline;
  9307. procedure setCNIEB6(thebits : TBits_1); inline;
  9308. procedure setCNIEB7(thebits : TBits_1); inline;
  9309. procedure setCNIEB8(thebits : TBits_1); inline;
  9310. procedure setCNIEB9(thebits : TBits_1); inline;
  9311. procedure setw(thebits : TBits_32); inline;
  9312. public
  9313. procedure clearCNIEB0; inline;
  9314. procedure clearCNIEB10; inline;
  9315. procedure clearCNIEB11; inline;
  9316. procedure clearCNIEB12; inline;
  9317. procedure clearCNIEB13; inline;
  9318. procedure clearCNIEB14; inline;
  9319. procedure clearCNIEB15; inline;
  9320. procedure clearCNIEB1; inline;
  9321. procedure clearCNIEB2; inline;
  9322. procedure clearCNIEB3; inline;
  9323. procedure clearCNIEB4; inline;
  9324. procedure clearCNIEB5; inline;
  9325. procedure clearCNIEB6; inline;
  9326. procedure clearCNIEB7; inline;
  9327. procedure clearCNIEB8; inline;
  9328. procedure clearCNIEB9; inline;
  9329. procedure setCNIEB0; inline;
  9330. procedure setCNIEB10; inline;
  9331. procedure setCNIEB11; inline;
  9332. procedure setCNIEB12; inline;
  9333. procedure setCNIEB13; inline;
  9334. procedure setCNIEB14; inline;
  9335. procedure setCNIEB15; inline;
  9336. procedure setCNIEB1; inline;
  9337. procedure setCNIEB2; inline;
  9338. procedure setCNIEB3; inline;
  9339. procedure setCNIEB4; inline;
  9340. procedure setCNIEB5; inline;
  9341. procedure setCNIEB6; inline;
  9342. procedure setCNIEB7; inline;
  9343. procedure setCNIEB8; inline;
  9344. procedure setCNIEB9; inline;
  9345. property CNIEB0 : TBits_1 read getCNIEB0 write setCNIEB0;
  9346. property CNIEB1 : TBits_1 read getCNIEB1 write setCNIEB1;
  9347. property CNIEB10 : TBits_1 read getCNIEB10 write setCNIEB10;
  9348. property CNIEB11 : TBits_1 read getCNIEB11 write setCNIEB11;
  9349. property CNIEB12 : TBits_1 read getCNIEB12 write setCNIEB12;
  9350. property CNIEB13 : TBits_1 read getCNIEB13 write setCNIEB13;
  9351. property CNIEB14 : TBits_1 read getCNIEB14 write setCNIEB14;
  9352. property CNIEB15 : TBits_1 read getCNIEB15 write setCNIEB15;
  9353. property CNIEB2 : TBits_1 read getCNIEB2 write setCNIEB2;
  9354. property CNIEB3 : TBits_1 read getCNIEB3 write setCNIEB3;
  9355. property CNIEB4 : TBits_1 read getCNIEB4 write setCNIEB4;
  9356. property CNIEB5 : TBits_1 read getCNIEB5 write setCNIEB5;
  9357. property CNIEB6 : TBits_1 read getCNIEB6 write setCNIEB6;
  9358. property CNIEB7 : TBits_1 read getCNIEB7 write setCNIEB7;
  9359. property CNIEB8 : TBits_1 read getCNIEB8 write setCNIEB8;
  9360. property CNIEB9 : TBits_1 read getCNIEB9 write setCNIEB9;
  9361. property w : TBits_32 read getw write setw;
  9362. end;
  9363. TPORTB_CNSTATB = record
  9364. private
  9365. function getCNSTATB0 : TBits_1; inline;
  9366. function getCNSTATB1 : TBits_1; inline;
  9367. function getCNSTATB10 : TBits_1; inline;
  9368. function getCNSTATB11 : TBits_1; inline;
  9369. function getCNSTATB12 : TBits_1; inline;
  9370. function getCNSTATB13 : TBits_1; inline;
  9371. function getCNSTATB14 : TBits_1; inline;
  9372. function getCNSTATB15 : TBits_1; inline;
  9373. function getCNSTATB2 : TBits_1; inline;
  9374. function getCNSTATB3 : TBits_1; inline;
  9375. function getCNSTATB4 : TBits_1; inline;
  9376. function getCNSTATB5 : TBits_1; inline;
  9377. function getCNSTATB6 : TBits_1; inline;
  9378. function getCNSTATB7 : TBits_1; inline;
  9379. function getCNSTATB8 : TBits_1; inline;
  9380. function getCNSTATB9 : TBits_1; inline;
  9381. function getw : TBits_32; inline;
  9382. procedure setCNSTATB0(thebits : TBits_1); inline;
  9383. procedure setCNSTATB1(thebits : TBits_1); inline;
  9384. procedure setCNSTATB10(thebits : TBits_1); inline;
  9385. procedure setCNSTATB11(thebits : TBits_1); inline;
  9386. procedure setCNSTATB12(thebits : TBits_1); inline;
  9387. procedure setCNSTATB13(thebits : TBits_1); inline;
  9388. procedure setCNSTATB14(thebits : TBits_1); inline;
  9389. procedure setCNSTATB15(thebits : TBits_1); inline;
  9390. procedure setCNSTATB2(thebits : TBits_1); inline;
  9391. procedure setCNSTATB3(thebits : TBits_1); inline;
  9392. procedure setCNSTATB4(thebits : TBits_1); inline;
  9393. procedure setCNSTATB5(thebits : TBits_1); inline;
  9394. procedure setCNSTATB6(thebits : TBits_1); inline;
  9395. procedure setCNSTATB7(thebits : TBits_1); inline;
  9396. procedure setCNSTATB8(thebits : TBits_1); inline;
  9397. procedure setCNSTATB9(thebits : TBits_1); inline;
  9398. procedure setw(thebits : TBits_32); inline;
  9399. public
  9400. procedure clearCNSTATB0; inline;
  9401. procedure clearCNSTATB10; inline;
  9402. procedure clearCNSTATB11; inline;
  9403. procedure clearCNSTATB12; inline;
  9404. procedure clearCNSTATB13; inline;
  9405. procedure clearCNSTATB14; inline;
  9406. procedure clearCNSTATB15; inline;
  9407. procedure clearCNSTATB1; inline;
  9408. procedure clearCNSTATB2; inline;
  9409. procedure clearCNSTATB3; inline;
  9410. procedure clearCNSTATB4; inline;
  9411. procedure clearCNSTATB5; inline;
  9412. procedure clearCNSTATB6; inline;
  9413. procedure clearCNSTATB7; inline;
  9414. procedure clearCNSTATB8; inline;
  9415. procedure clearCNSTATB9; inline;
  9416. procedure setCNSTATB0; inline;
  9417. procedure setCNSTATB10; inline;
  9418. procedure setCNSTATB11; inline;
  9419. procedure setCNSTATB12; inline;
  9420. procedure setCNSTATB13; inline;
  9421. procedure setCNSTATB14; inline;
  9422. procedure setCNSTATB15; inline;
  9423. procedure setCNSTATB1; inline;
  9424. procedure setCNSTATB2; inline;
  9425. procedure setCNSTATB3; inline;
  9426. procedure setCNSTATB4; inline;
  9427. procedure setCNSTATB5; inline;
  9428. procedure setCNSTATB6; inline;
  9429. procedure setCNSTATB7; inline;
  9430. procedure setCNSTATB8; inline;
  9431. procedure setCNSTATB9; inline;
  9432. property CNSTATB0 : TBits_1 read getCNSTATB0 write setCNSTATB0;
  9433. property CNSTATB1 : TBits_1 read getCNSTATB1 write setCNSTATB1;
  9434. property CNSTATB10 : TBits_1 read getCNSTATB10 write setCNSTATB10;
  9435. property CNSTATB11 : TBits_1 read getCNSTATB11 write setCNSTATB11;
  9436. property CNSTATB12 : TBits_1 read getCNSTATB12 write setCNSTATB12;
  9437. property CNSTATB13 : TBits_1 read getCNSTATB13 write setCNSTATB13;
  9438. property CNSTATB14 : TBits_1 read getCNSTATB14 write setCNSTATB14;
  9439. property CNSTATB15 : TBits_1 read getCNSTATB15 write setCNSTATB15;
  9440. property CNSTATB2 : TBits_1 read getCNSTATB2 write setCNSTATB2;
  9441. property CNSTATB3 : TBits_1 read getCNSTATB3 write setCNSTATB3;
  9442. property CNSTATB4 : TBits_1 read getCNSTATB4 write setCNSTATB4;
  9443. property CNSTATB5 : TBits_1 read getCNSTATB5 write setCNSTATB5;
  9444. property CNSTATB6 : TBits_1 read getCNSTATB6 write setCNSTATB6;
  9445. property CNSTATB7 : TBits_1 read getCNSTATB7 write setCNSTATB7;
  9446. property CNSTATB8 : TBits_1 read getCNSTATB8 write setCNSTATB8;
  9447. property CNSTATB9 : TBits_1 read getCNSTATB9 write setCNSTATB9;
  9448. property w : TBits_32 read getw write setw;
  9449. end;
  9450. type
  9451. TPORTBRegisters = record
  9452. ANSELBbits : TPORTB_ANSELB;
  9453. ANSELB : longWord;
  9454. ANSELBCLR : longWord;
  9455. ANSELBSET : longWord;
  9456. ANSELBINV : longWord;
  9457. TRISBbits : TPORTB_TRISB;
  9458. TRISB : longWord;
  9459. TRISBCLR : longWord;
  9460. TRISBSET : longWord;
  9461. TRISBINV : longWord;
  9462. PORTBbits : TPORTB_PORTB;
  9463. PORTB : longWord;
  9464. PORTBCLR : longWord;
  9465. PORTBSET : longWord;
  9466. PORTBINV : longWord;
  9467. LATBbits : TPORTB_LATB;
  9468. LATB : longWord;
  9469. LATBCLR : longWord;
  9470. LATBSET : longWord;
  9471. LATBINV : longWord;
  9472. ODCBbits : TPORTB_ODCB;
  9473. ODCB : longWord;
  9474. ODCBCLR : longWord;
  9475. ODCBSET : longWord;
  9476. ODCBINV : longWord;
  9477. CNPUBbits : TPORTB_CNPUB;
  9478. CNPUB : longWord;
  9479. CNPUBCLR : longWord;
  9480. CNPUBSET : longWord;
  9481. CNPUBINV : longWord;
  9482. CNPDBbits : TPORTB_CNPDB;
  9483. CNPDB : longWord;
  9484. CNPDBCLR : longWord;
  9485. CNPDBSET : longWord;
  9486. CNPDBINV : longWord;
  9487. CNCONBbits : TPORTB_CNCONB;
  9488. CNCONB : longWord;
  9489. CNCONBCLR : longWord;
  9490. CNCONBSET : longWord;
  9491. CNCONBINV : longWord;
  9492. CNENBbits : TPORTB_CNENB;
  9493. CNENB : longWord;
  9494. CNENBCLR : longWord;
  9495. CNENBSET : longWord;
  9496. CNENBINV : longWord;
  9497. CNSTATBbits : TPORTB_CNSTATB;
  9498. CNSTATB : longWord;
  9499. CNSTATBCLR : longWord;
  9500. CNSTATBSET : longWord;
  9501. CNSTATBINV : longWord;
  9502. end;
  9503. TPORTC_ANSELC = record
  9504. private
  9505. function getANSC0 : TBits_1; inline;
  9506. function getANSC1 : TBits_1; inline;
  9507. function getANSC2 : TBits_1; inline;
  9508. function getANSC3 : TBits_1; inline;
  9509. function getw : TBits_32; inline;
  9510. procedure setANSC0(thebits : TBits_1); inline;
  9511. procedure setANSC1(thebits : TBits_1); inline;
  9512. procedure setANSC2(thebits : TBits_1); inline;
  9513. procedure setANSC3(thebits : TBits_1); inline;
  9514. procedure setw(thebits : TBits_32); inline;
  9515. public
  9516. procedure clearANSC0; inline;
  9517. procedure clearANSC1; inline;
  9518. procedure clearANSC2; inline;
  9519. procedure clearANSC3; inline;
  9520. procedure setANSC0; inline;
  9521. procedure setANSC1; inline;
  9522. procedure setANSC2; inline;
  9523. procedure setANSC3; inline;
  9524. property ANSC0 : TBits_1 read getANSC0 write setANSC0;
  9525. property ANSC1 : TBits_1 read getANSC1 write setANSC1;
  9526. property ANSC2 : TBits_1 read getANSC2 write setANSC2;
  9527. property ANSC3 : TBits_1 read getANSC3 write setANSC3;
  9528. property w : TBits_32 read getw write setw;
  9529. end;
  9530. TPORTC_TRISC = record
  9531. private
  9532. function getTRISC0 : TBits_1; inline;
  9533. function getTRISC1 : TBits_1; inline;
  9534. function getTRISC2 : TBits_1; inline;
  9535. function getTRISC3 : TBits_1; inline;
  9536. function getTRISC4 : TBits_1; inline;
  9537. function getTRISC5 : TBits_1; inline;
  9538. function getTRISC6 : TBits_1; inline;
  9539. function getTRISC7 : TBits_1; inline;
  9540. function getTRISC8 : TBits_1; inline;
  9541. function getTRISC9 : TBits_1; inline;
  9542. function getw : TBits_32; inline;
  9543. procedure setTRISC0(thebits : TBits_1); inline;
  9544. procedure setTRISC1(thebits : TBits_1); inline;
  9545. procedure setTRISC2(thebits : TBits_1); inline;
  9546. procedure setTRISC3(thebits : TBits_1); inline;
  9547. procedure setTRISC4(thebits : TBits_1); inline;
  9548. procedure setTRISC5(thebits : TBits_1); inline;
  9549. procedure setTRISC6(thebits : TBits_1); inline;
  9550. procedure setTRISC7(thebits : TBits_1); inline;
  9551. procedure setTRISC8(thebits : TBits_1); inline;
  9552. procedure setTRISC9(thebits : TBits_1); inline;
  9553. procedure setw(thebits : TBits_32); inline;
  9554. public
  9555. procedure clearTRISC0; inline;
  9556. procedure clearTRISC1; inline;
  9557. procedure clearTRISC2; inline;
  9558. procedure clearTRISC3; inline;
  9559. procedure clearTRISC4; inline;
  9560. procedure clearTRISC5; inline;
  9561. procedure clearTRISC6; inline;
  9562. procedure clearTRISC7; inline;
  9563. procedure clearTRISC8; inline;
  9564. procedure clearTRISC9; inline;
  9565. procedure setTRISC0; inline;
  9566. procedure setTRISC1; inline;
  9567. procedure setTRISC2; inline;
  9568. procedure setTRISC3; inline;
  9569. procedure setTRISC4; inline;
  9570. procedure setTRISC5; inline;
  9571. procedure setTRISC6; inline;
  9572. procedure setTRISC7; inline;
  9573. procedure setTRISC8; inline;
  9574. procedure setTRISC9; inline;
  9575. property TRISC0 : TBits_1 read getTRISC0 write setTRISC0;
  9576. property TRISC1 : TBits_1 read getTRISC1 write setTRISC1;
  9577. property TRISC2 : TBits_1 read getTRISC2 write setTRISC2;
  9578. property TRISC3 : TBits_1 read getTRISC3 write setTRISC3;
  9579. property TRISC4 : TBits_1 read getTRISC4 write setTRISC4;
  9580. property TRISC5 : TBits_1 read getTRISC5 write setTRISC5;
  9581. property TRISC6 : TBits_1 read getTRISC6 write setTRISC6;
  9582. property TRISC7 : TBits_1 read getTRISC7 write setTRISC7;
  9583. property TRISC8 : TBits_1 read getTRISC8 write setTRISC8;
  9584. property TRISC9 : TBits_1 read getTRISC9 write setTRISC9;
  9585. property w : TBits_32 read getw write setw;
  9586. end;
  9587. TPORTC_PORTC = record
  9588. private
  9589. function getRC0 : TBits_1; inline;
  9590. function getRC1 : TBits_1; inline;
  9591. function getRC2 : TBits_1; inline;
  9592. function getRC3 : TBits_1; inline;
  9593. function getRC4 : TBits_1; inline;
  9594. function getRC5 : TBits_1; inline;
  9595. function getRC6 : TBits_1; inline;
  9596. function getRC7 : TBits_1; inline;
  9597. function getRC8 : TBits_1; inline;
  9598. function getRC9 : TBits_1; inline;
  9599. function getw : TBits_32; inline;
  9600. procedure setRC0(thebits : TBits_1); inline;
  9601. procedure setRC1(thebits : TBits_1); inline;
  9602. procedure setRC2(thebits : TBits_1); inline;
  9603. procedure setRC3(thebits : TBits_1); inline;
  9604. procedure setRC4(thebits : TBits_1); inline;
  9605. procedure setRC5(thebits : TBits_1); inline;
  9606. procedure setRC6(thebits : TBits_1); inline;
  9607. procedure setRC7(thebits : TBits_1); inline;
  9608. procedure setRC8(thebits : TBits_1); inline;
  9609. procedure setRC9(thebits : TBits_1); inline;
  9610. procedure setw(thebits : TBits_32); inline;
  9611. public
  9612. procedure clearRC0; inline;
  9613. procedure clearRC1; inline;
  9614. procedure clearRC2; inline;
  9615. procedure clearRC3; inline;
  9616. procedure clearRC4; inline;
  9617. procedure clearRC5; inline;
  9618. procedure clearRC6; inline;
  9619. procedure clearRC7; inline;
  9620. procedure clearRC8; inline;
  9621. procedure clearRC9; inline;
  9622. procedure setRC0; inline;
  9623. procedure setRC1; inline;
  9624. procedure setRC2; inline;
  9625. procedure setRC3; inline;
  9626. procedure setRC4; inline;
  9627. procedure setRC5; inline;
  9628. procedure setRC6; inline;
  9629. procedure setRC7; inline;
  9630. procedure setRC8; inline;
  9631. procedure setRC9; inline;
  9632. property RC0 : TBits_1 read getRC0 write setRC0;
  9633. property RC1 : TBits_1 read getRC1 write setRC1;
  9634. property RC2 : TBits_1 read getRC2 write setRC2;
  9635. property RC3 : TBits_1 read getRC3 write setRC3;
  9636. property RC4 : TBits_1 read getRC4 write setRC4;
  9637. property RC5 : TBits_1 read getRC5 write setRC5;
  9638. property RC6 : TBits_1 read getRC6 write setRC6;
  9639. property RC7 : TBits_1 read getRC7 write setRC7;
  9640. property RC8 : TBits_1 read getRC8 write setRC8;
  9641. property RC9 : TBits_1 read getRC9 write setRC9;
  9642. property w : TBits_32 read getw write setw;
  9643. end;
  9644. TPortC_bits=(RC0=0,RC1=1,RC2=2,RC3=3,RC4=4,RC5=5,RC6=6,RC7=7,RC8=8,RC9=9);
  9645. TPortC_bitset = set of TPortC_bits;
  9646. TPORTC_LATC = record
  9647. private
  9648. function getLATC0 : TBits_1; inline;
  9649. function getLATC1 : TBits_1; inline;
  9650. function getLATC2 : TBits_1; inline;
  9651. function getLATC3 : TBits_1; inline;
  9652. function getLATC4 : TBits_1; inline;
  9653. function getLATC5 : TBits_1; inline;
  9654. function getLATC6 : TBits_1; inline;
  9655. function getLATC7 : TBits_1; inline;
  9656. function getLATC8 : TBits_1; inline;
  9657. function getLATC9 : TBits_1; inline;
  9658. function getw : TBits_32; inline;
  9659. procedure setLATC0(thebits : TBits_1); inline;
  9660. procedure setLATC1(thebits : TBits_1); inline;
  9661. procedure setLATC2(thebits : TBits_1); inline;
  9662. procedure setLATC3(thebits : TBits_1); inline;
  9663. procedure setLATC4(thebits : TBits_1); inline;
  9664. procedure setLATC5(thebits : TBits_1); inline;
  9665. procedure setLATC6(thebits : TBits_1); inline;
  9666. procedure setLATC7(thebits : TBits_1); inline;
  9667. procedure setLATC8(thebits : TBits_1); inline;
  9668. procedure setLATC9(thebits : TBits_1); inline;
  9669. procedure setw(thebits : TBits_32); inline;
  9670. public
  9671. procedure clearLATC0; inline;
  9672. procedure clearLATC1; inline;
  9673. procedure clearLATC2; inline;
  9674. procedure clearLATC3; inline;
  9675. procedure clearLATC4; inline;
  9676. procedure clearLATC5; inline;
  9677. procedure clearLATC6; inline;
  9678. procedure clearLATC7; inline;
  9679. procedure clearLATC8; inline;
  9680. procedure clearLATC9; inline;
  9681. procedure setLATC0; inline;
  9682. procedure setLATC1; inline;
  9683. procedure setLATC2; inline;
  9684. procedure setLATC3; inline;
  9685. procedure setLATC4; inline;
  9686. procedure setLATC5; inline;
  9687. procedure setLATC6; inline;
  9688. procedure setLATC7; inline;
  9689. procedure setLATC8; inline;
  9690. procedure setLATC9; inline;
  9691. property LATC0 : TBits_1 read getLATC0 write setLATC0;
  9692. property LATC1 : TBits_1 read getLATC1 write setLATC1;
  9693. property LATC2 : TBits_1 read getLATC2 write setLATC2;
  9694. property LATC3 : TBits_1 read getLATC3 write setLATC3;
  9695. property LATC4 : TBits_1 read getLATC4 write setLATC4;
  9696. property LATC5 : TBits_1 read getLATC5 write setLATC5;
  9697. property LATC6 : TBits_1 read getLATC6 write setLATC6;
  9698. property LATC7 : TBits_1 read getLATC7 write setLATC7;
  9699. property LATC8 : TBits_1 read getLATC8 write setLATC8;
  9700. property LATC9 : TBits_1 read getLATC9 write setLATC9;
  9701. property w : TBits_32 read getw write setw;
  9702. end;
  9703. TPORTC_ODCC = record
  9704. private
  9705. function getODCC4 : TBits_1; inline;
  9706. function getODCC5 : TBits_1; inline;
  9707. function getODCC6 : TBits_1; inline;
  9708. function getODCC7 : TBits_1; inline;
  9709. function getODCC8 : TBits_1; inline;
  9710. function getODCC9 : TBits_1; inline;
  9711. function getw : TBits_32; inline;
  9712. procedure setODCC4(thebits : TBits_1); inline;
  9713. procedure setODCC5(thebits : TBits_1); inline;
  9714. procedure setODCC6(thebits : TBits_1); inline;
  9715. procedure setODCC7(thebits : TBits_1); inline;
  9716. procedure setODCC8(thebits : TBits_1); inline;
  9717. procedure setODCC9(thebits : TBits_1); inline;
  9718. procedure setw(thebits : TBits_32); inline;
  9719. public
  9720. procedure clearODCC4; inline;
  9721. procedure clearODCC5; inline;
  9722. procedure clearODCC6; inline;
  9723. procedure clearODCC7; inline;
  9724. procedure clearODCC8; inline;
  9725. procedure clearODCC9; inline;
  9726. procedure setODCC4; inline;
  9727. procedure setODCC5; inline;
  9728. procedure setODCC6; inline;
  9729. procedure setODCC7; inline;
  9730. procedure setODCC8; inline;
  9731. procedure setODCC9; inline;
  9732. property ODCC4 : TBits_1 read getODCC4 write setODCC4;
  9733. property ODCC5 : TBits_1 read getODCC5 write setODCC5;
  9734. property ODCC6 : TBits_1 read getODCC6 write setODCC6;
  9735. property ODCC7 : TBits_1 read getODCC7 write setODCC7;
  9736. property ODCC8 : TBits_1 read getODCC8 write setODCC8;
  9737. property ODCC9 : TBits_1 read getODCC9 write setODCC9;
  9738. property w : TBits_32 read getw write setw;
  9739. end;
  9740. TPORTC_CNPUC = record
  9741. private
  9742. function getCNPUC0 : TBits_1; inline;
  9743. function getCNPUC1 : TBits_1; inline;
  9744. function getCNPUC2 : TBits_1; inline;
  9745. function getCNPUC3 : TBits_1; inline;
  9746. function getCNPUC4 : TBits_1; inline;
  9747. function getCNPUC5 : TBits_1; inline;
  9748. function getCNPUC6 : TBits_1; inline;
  9749. function getCNPUC7 : TBits_1; inline;
  9750. function getCNPUC8 : TBits_1; inline;
  9751. function getCNPUC9 : TBits_1; inline;
  9752. function getw : TBits_32; inline;
  9753. procedure setCNPUC0(thebits : TBits_1); inline;
  9754. procedure setCNPUC1(thebits : TBits_1); inline;
  9755. procedure setCNPUC2(thebits : TBits_1); inline;
  9756. procedure setCNPUC3(thebits : TBits_1); inline;
  9757. procedure setCNPUC4(thebits : TBits_1); inline;
  9758. procedure setCNPUC5(thebits : TBits_1); inline;
  9759. procedure setCNPUC6(thebits : TBits_1); inline;
  9760. procedure setCNPUC7(thebits : TBits_1); inline;
  9761. procedure setCNPUC8(thebits : TBits_1); inline;
  9762. procedure setCNPUC9(thebits : TBits_1); inline;
  9763. procedure setw(thebits : TBits_32); inline;
  9764. public
  9765. procedure clearCNPUC0; inline;
  9766. procedure clearCNPUC1; inline;
  9767. procedure clearCNPUC2; inline;
  9768. procedure clearCNPUC3; inline;
  9769. procedure clearCNPUC4; inline;
  9770. procedure clearCNPUC5; inline;
  9771. procedure clearCNPUC6; inline;
  9772. procedure clearCNPUC7; inline;
  9773. procedure clearCNPUC8; inline;
  9774. procedure clearCNPUC9; inline;
  9775. procedure setCNPUC0; inline;
  9776. procedure setCNPUC1; inline;
  9777. procedure setCNPUC2; inline;
  9778. procedure setCNPUC3; inline;
  9779. procedure setCNPUC4; inline;
  9780. procedure setCNPUC5; inline;
  9781. procedure setCNPUC6; inline;
  9782. procedure setCNPUC7; inline;
  9783. procedure setCNPUC8; inline;
  9784. procedure setCNPUC9; inline;
  9785. property CNPUC0 : TBits_1 read getCNPUC0 write setCNPUC0;
  9786. property CNPUC1 : TBits_1 read getCNPUC1 write setCNPUC1;
  9787. property CNPUC2 : TBits_1 read getCNPUC2 write setCNPUC2;
  9788. property CNPUC3 : TBits_1 read getCNPUC3 write setCNPUC3;
  9789. property CNPUC4 : TBits_1 read getCNPUC4 write setCNPUC4;
  9790. property CNPUC5 : TBits_1 read getCNPUC5 write setCNPUC5;
  9791. property CNPUC6 : TBits_1 read getCNPUC6 write setCNPUC6;
  9792. property CNPUC7 : TBits_1 read getCNPUC7 write setCNPUC7;
  9793. property CNPUC8 : TBits_1 read getCNPUC8 write setCNPUC8;
  9794. property CNPUC9 : TBits_1 read getCNPUC9 write setCNPUC9;
  9795. property w : TBits_32 read getw write setw;
  9796. end;
  9797. TPORTC_CNPDC = record
  9798. private
  9799. function getCNPDC0 : TBits_1; inline;
  9800. function getCNPDC1 : TBits_1; inline;
  9801. function getCNPDC2 : TBits_1; inline;
  9802. function getCNPDC3 : TBits_1; inline;
  9803. function getCNPDC4 : TBits_1; inline;
  9804. function getCNPDC5 : TBits_1; inline;
  9805. function getCNPDC6 : TBits_1; inline;
  9806. function getCNPDC7 : TBits_1; inline;
  9807. function getCNPDC8 : TBits_1; inline;
  9808. function getCNPDC9 : TBits_1; inline;
  9809. function getw : TBits_32; inline;
  9810. procedure setCNPDC0(thebits : TBits_1); inline;
  9811. procedure setCNPDC1(thebits : TBits_1); inline;
  9812. procedure setCNPDC2(thebits : TBits_1); inline;
  9813. procedure setCNPDC3(thebits : TBits_1); inline;
  9814. procedure setCNPDC4(thebits : TBits_1); inline;
  9815. procedure setCNPDC5(thebits : TBits_1); inline;
  9816. procedure setCNPDC6(thebits : TBits_1); inline;
  9817. procedure setCNPDC7(thebits : TBits_1); inline;
  9818. procedure setCNPDC8(thebits : TBits_1); inline;
  9819. procedure setCNPDC9(thebits : TBits_1); inline;
  9820. procedure setw(thebits : TBits_32); inline;
  9821. public
  9822. procedure clearCNPDC0; inline;
  9823. procedure clearCNPDC1; inline;
  9824. procedure clearCNPDC2; inline;
  9825. procedure clearCNPDC3; inline;
  9826. procedure clearCNPDC4; inline;
  9827. procedure clearCNPDC5; inline;
  9828. procedure clearCNPDC6; inline;
  9829. procedure clearCNPDC7; inline;
  9830. procedure clearCNPDC8; inline;
  9831. procedure clearCNPDC9; inline;
  9832. procedure setCNPDC0; inline;
  9833. procedure setCNPDC1; inline;
  9834. procedure setCNPDC2; inline;
  9835. procedure setCNPDC3; inline;
  9836. procedure setCNPDC4; inline;
  9837. procedure setCNPDC5; inline;
  9838. procedure setCNPDC6; inline;
  9839. procedure setCNPDC7; inline;
  9840. procedure setCNPDC8; inline;
  9841. procedure setCNPDC9; inline;
  9842. property CNPDC0 : TBits_1 read getCNPDC0 write setCNPDC0;
  9843. property CNPDC1 : TBits_1 read getCNPDC1 write setCNPDC1;
  9844. property CNPDC2 : TBits_1 read getCNPDC2 write setCNPDC2;
  9845. property CNPDC3 : TBits_1 read getCNPDC3 write setCNPDC3;
  9846. property CNPDC4 : TBits_1 read getCNPDC4 write setCNPDC4;
  9847. property CNPDC5 : TBits_1 read getCNPDC5 write setCNPDC5;
  9848. property CNPDC6 : TBits_1 read getCNPDC6 write setCNPDC6;
  9849. property CNPDC7 : TBits_1 read getCNPDC7 write setCNPDC7;
  9850. property CNPDC8 : TBits_1 read getCNPDC8 write setCNPDC8;
  9851. property CNPDC9 : TBits_1 read getCNPDC9 write setCNPDC9;
  9852. property w : TBits_32 read getw write setw;
  9853. end;
  9854. TPORTC_CNCONC = record
  9855. private
  9856. function getON : TBits_1; inline;
  9857. function getSIDL : TBits_1; inline;
  9858. function getw : TBits_32; inline;
  9859. procedure setON(thebits : TBits_1); inline;
  9860. procedure setSIDL(thebits : TBits_1); inline;
  9861. procedure setw(thebits : TBits_32); inline;
  9862. public
  9863. procedure clearON; inline;
  9864. procedure clearSIDL; inline;
  9865. procedure setON; inline;
  9866. procedure setSIDL; inline;
  9867. property ON : TBits_1 read getON write setON;
  9868. property SIDL : TBits_1 read getSIDL write setSIDL;
  9869. property w : TBits_32 read getw write setw;
  9870. end;
  9871. TPORTC_CNENC = record
  9872. private
  9873. function getCNIEC0 : TBits_1; inline;
  9874. function getCNIEC1 : TBits_1; inline;
  9875. function getCNIEC2 : TBits_1; inline;
  9876. function getCNIEC3 : TBits_1; inline;
  9877. function getCNIEC4 : TBits_1; inline;
  9878. function getCNIEC5 : TBits_1; inline;
  9879. function getCNIEC6 : TBits_1; inline;
  9880. function getCNIEC7 : TBits_1; inline;
  9881. function getCNIEC8 : TBits_1; inline;
  9882. function getCNIEC9 : TBits_1; inline;
  9883. function getw : TBits_32; inline;
  9884. procedure setCNIEC0(thebits : TBits_1); inline;
  9885. procedure setCNIEC1(thebits : TBits_1); inline;
  9886. procedure setCNIEC2(thebits : TBits_1); inline;
  9887. procedure setCNIEC3(thebits : TBits_1); inline;
  9888. procedure setCNIEC4(thebits : TBits_1); inline;
  9889. procedure setCNIEC5(thebits : TBits_1); inline;
  9890. procedure setCNIEC6(thebits : TBits_1); inline;
  9891. procedure setCNIEC7(thebits : TBits_1); inline;
  9892. procedure setCNIEC8(thebits : TBits_1); inline;
  9893. procedure setCNIEC9(thebits : TBits_1); inline;
  9894. procedure setw(thebits : TBits_32); inline;
  9895. public
  9896. procedure clearCNIEC0; inline;
  9897. procedure clearCNIEC1; inline;
  9898. procedure clearCNIEC2; inline;
  9899. procedure clearCNIEC3; inline;
  9900. procedure clearCNIEC4; inline;
  9901. procedure clearCNIEC5; inline;
  9902. procedure clearCNIEC6; inline;
  9903. procedure clearCNIEC7; inline;
  9904. procedure clearCNIEC8; inline;
  9905. procedure clearCNIEC9; inline;
  9906. procedure setCNIEC0; inline;
  9907. procedure setCNIEC1; inline;
  9908. procedure setCNIEC2; inline;
  9909. procedure setCNIEC3; inline;
  9910. procedure setCNIEC4; inline;
  9911. procedure setCNIEC5; inline;
  9912. procedure setCNIEC6; inline;
  9913. procedure setCNIEC7; inline;
  9914. procedure setCNIEC8; inline;
  9915. procedure setCNIEC9; inline;
  9916. property CNIEC0 : TBits_1 read getCNIEC0 write setCNIEC0;
  9917. property CNIEC1 : TBits_1 read getCNIEC1 write setCNIEC1;
  9918. property CNIEC2 : TBits_1 read getCNIEC2 write setCNIEC2;
  9919. property CNIEC3 : TBits_1 read getCNIEC3 write setCNIEC3;
  9920. property CNIEC4 : TBits_1 read getCNIEC4 write setCNIEC4;
  9921. property CNIEC5 : TBits_1 read getCNIEC5 write setCNIEC5;
  9922. property CNIEC6 : TBits_1 read getCNIEC6 write setCNIEC6;
  9923. property CNIEC7 : TBits_1 read getCNIEC7 write setCNIEC7;
  9924. property CNIEC8 : TBits_1 read getCNIEC8 write setCNIEC8;
  9925. property CNIEC9 : TBits_1 read getCNIEC9 write setCNIEC9;
  9926. property w : TBits_32 read getw write setw;
  9927. end;
  9928. TPORTC_CNSTATC = record
  9929. private
  9930. function getCNSTATC0 : TBits_1; inline;
  9931. function getCNSTATC1 : TBits_1; inline;
  9932. function getCNSTATC2 : TBits_1; inline;
  9933. function getCNSTATC3 : TBits_1; inline;
  9934. function getCNSTATC4 : TBits_1; inline;
  9935. function getCNSTATC5 : TBits_1; inline;
  9936. function getCNSTATC6 : TBits_1; inline;
  9937. function getCNSTATC7 : TBits_1; inline;
  9938. function getCNSTATC8 : TBits_1; inline;
  9939. function getCNSTATC9 : TBits_1; inline;
  9940. function getw : TBits_32; inline;
  9941. procedure setCNSTATC0(thebits : TBits_1); inline;
  9942. procedure setCNSTATC1(thebits : TBits_1); inline;
  9943. procedure setCNSTATC2(thebits : TBits_1); inline;
  9944. procedure setCNSTATC3(thebits : TBits_1); inline;
  9945. procedure setCNSTATC4(thebits : TBits_1); inline;
  9946. procedure setCNSTATC5(thebits : TBits_1); inline;
  9947. procedure setCNSTATC6(thebits : TBits_1); inline;
  9948. procedure setCNSTATC7(thebits : TBits_1); inline;
  9949. procedure setCNSTATC8(thebits : TBits_1); inline;
  9950. procedure setCNSTATC9(thebits : TBits_1); inline;
  9951. procedure setw(thebits : TBits_32); inline;
  9952. public
  9953. procedure clearCNSTATC0; inline;
  9954. procedure clearCNSTATC1; inline;
  9955. procedure clearCNSTATC2; inline;
  9956. procedure clearCNSTATC3; inline;
  9957. procedure clearCNSTATC4; inline;
  9958. procedure clearCNSTATC5; inline;
  9959. procedure clearCNSTATC6; inline;
  9960. procedure clearCNSTATC7; inline;
  9961. procedure clearCNSTATC8; inline;
  9962. procedure clearCNSTATC9; inline;
  9963. procedure setCNSTATC0; inline;
  9964. procedure setCNSTATC1; inline;
  9965. procedure setCNSTATC2; inline;
  9966. procedure setCNSTATC3; inline;
  9967. procedure setCNSTATC4; inline;
  9968. procedure setCNSTATC5; inline;
  9969. procedure setCNSTATC6; inline;
  9970. procedure setCNSTATC7; inline;
  9971. procedure setCNSTATC8; inline;
  9972. procedure setCNSTATC9; inline;
  9973. property CNSTATC0 : TBits_1 read getCNSTATC0 write setCNSTATC0;
  9974. property CNSTATC1 : TBits_1 read getCNSTATC1 write setCNSTATC1;
  9975. property CNSTATC2 : TBits_1 read getCNSTATC2 write setCNSTATC2;
  9976. property CNSTATC3 : TBits_1 read getCNSTATC3 write setCNSTATC3;
  9977. property CNSTATC4 : TBits_1 read getCNSTATC4 write setCNSTATC4;
  9978. property CNSTATC5 : TBits_1 read getCNSTATC5 write setCNSTATC5;
  9979. property CNSTATC6 : TBits_1 read getCNSTATC6 write setCNSTATC6;
  9980. property CNSTATC7 : TBits_1 read getCNSTATC7 write setCNSTATC7;
  9981. property CNSTATC8 : TBits_1 read getCNSTATC8 write setCNSTATC8;
  9982. property CNSTATC9 : TBits_1 read getCNSTATC9 write setCNSTATC9;
  9983. property w : TBits_32 read getw write setw;
  9984. end;
  9985. type
  9986. TPORTCRegisters = record
  9987. ANSELCbits : TPORTC_ANSELC;
  9988. ANSELC : longWord;
  9989. ANSELCCLR : longWord;
  9990. ANSELCSET : longWord;
  9991. ANSELCINV : longWord;
  9992. TRISCbits : TPORTC_TRISC;
  9993. TRISC : longWord;
  9994. TRISCCLR : longWord;
  9995. TRISCSET : longWord;
  9996. TRISCINV : longWord;
  9997. PORTCbits : TPORTC_PORTC;
  9998. PORTC : longWord;
  9999. PORTCCLR : longWord;
  10000. PORTCSET : longWord;
  10001. PORTCINV : longWord;
  10002. LATCbits : TPORTC_LATC;
  10003. LATC : longWord;
  10004. LATCCLR : longWord;
  10005. LATCSET : longWord;
  10006. LATCINV : longWord;
  10007. ODCCbits : TPORTC_ODCC;
  10008. ODCC : longWord;
  10009. ODCCCLR : longWord;
  10010. ODCCSET : longWord;
  10011. ODCCINV : longWord;
  10012. CNPUCbits : TPORTC_CNPUC;
  10013. CNPUC : longWord;
  10014. CNPUCCLR : longWord;
  10015. CNPUCSET : longWord;
  10016. CNPUCINV : longWord;
  10017. CNPDCbits : TPORTC_CNPDC;
  10018. CNPDC : longWord;
  10019. CNPDCCLR : longWord;
  10020. CNPDCSET : longWord;
  10021. CNPDCINV : longWord;
  10022. CNCONCbits : TPORTC_CNCONC;
  10023. CNCONC : longWord;
  10024. CNCONCCLR : longWord;
  10025. CNCONCSET : longWord;
  10026. CNCONCINV : longWord;
  10027. CNENCbits : TPORTC_CNENC;
  10028. CNENC : longWord;
  10029. CNENCCLR : longWord;
  10030. CNENCSET : longWord;
  10031. CNENCINV : longWord;
  10032. CNSTATCbits : TPORTC_CNSTATC;
  10033. CNSTATC : longWord;
  10034. CNSTATCCLR : longWord;
  10035. CNSTATCSET : longWord;
  10036. CNSTATCINV : longWord;
  10037. end;
  10038. TDEVCFG_DEVCFG3 = record
  10039. private
  10040. function getFUSBIDIO : TBits_1; inline;
  10041. function getFVBUSONIO : TBits_1; inline;
  10042. function getIOL1WAY : TBits_1; inline;
  10043. function getPMDL1WAY : TBits_1; inline;
  10044. function getUSERID : TBits_16; inline;
  10045. function getw : TBits_32; inline;
  10046. procedure setFUSBIDIO(thebits : TBits_1); inline;
  10047. procedure setFVBUSONIO(thebits : TBits_1); inline;
  10048. procedure setIOL1WAY(thebits : TBits_1); inline;
  10049. procedure setPMDL1WAY(thebits : TBits_1); inline;
  10050. procedure setUSERID(thebits : TBits_16); inline;
  10051. procedure setw(thebits : TBits_32); inline;
  10052. public
  10053. procedure clearFUSBIDIO; inline;
  10054. procedure clearFVBUSONIO; inline;
  10055. procedure clearIOL1WAY; inline;
  10056. procedure clearPMDL1WAY; inline;
  10057. procedure setFUSBIDIO; inline;
  10058. procedure setFVBUSONIO; inline;
  10059. procedure setIOL1WAY; inline;
  10060. procedure setPMDL1WAY; inline;
  10061. property FUSBIDIO : TBits_1 read getFUSBIDIO write setFUSBIDIO;
  10062. property FVBUSONIO : TBits_1 read getFVBUSONIO write setFVBUSONIO;
  10063. property IOL1WAY : TBits_1 read getIOL1WAY write setIOL1WAY;
  10064. property PMDL1WAY : TBits_1 read getPMDL1WAY write setPMDL1WAY;
  10065. property USERID : TBits_16 read getUSERID write setUSERID;
  10066. property w : TBits_32 read getw write setw;
  10067. end;
  10068. TDEVCFG_DEVCFG2 = record
  10069. private
  10070. function getFPLLIDIV : TBits_3; inline;
  10071. function getFPLLMUL : TBits_3; inline;
  10072. function getFPLLODIV : TBits_3; inline;
  10073. function getw : TBits_32; inline;
  10074. procedure setFPLLIDIV(thebits : TBits_3); inline;
  10075. procedure setFPLLMUL(thebits : TBits_3); inline;
  10076. procedure setFPLLODIV(thebits : TBits_3); inline;
  10077. procedure setw(thebits : TBits_32); inline;
  10078. public
  10079. property FPLLIDIV : TBits_3 read getFPLLIDIV write setFPLLIDIV;
  10080. property FPLLMUL : TBits_3 read getFPLLMUL write setFPLLMUL;
  10081. property FPLLODIV : TBits_3 read getFPLLODIV write setFPLLODIV;
  10082. property w : TBits_32 read getw write setw;
  10083. end;
  10084. TDEVCFG_DEVCFG1 = record
  10085. private
  10086. function getFCKSM : TBits_2; inline;
  10087. function getFNOSC : TBits_3; inline;
  10088. function getFPBDIV : TBits_2; inline;
  10089. function getFSOSCEN : TBits_1; inline;
  10090. function getFWDTEN : TBits_1; inline;
  10091. function getFWDTWINSZ : TBits_2; inline;
  10092. function getIESO : TBits_1; inline;
  10093. function getOSCIOFNC : TBits_1; inline;
  10094. function getPOSCMOD : TBits_2; inline;
  10095. function getWDTPS : TBits_5; inline;
  10096. function getWINDIS : TBits_1; inline;
  10097. function getw : TBits_32; inline;
  10098. procedure setFCKSM(thebits : TBits_2); inline;
  10099. procedure setFNOSC(thebits : TBits_3); inline;
  10100. procedure setFPBDIV(thebits : TBits_2); inline;
  10101. procedure setFSOSCEN(thebits : TBits_1); inline;
  10102. procedure setFWDTEN(thebits : TBits_1); inline;
  10103. procedure setFWDTWINSZ(thebits : TBits_2); inline;
  10104. procedure setIESO(thebits : TBits_1); inline;
  10105. procedure setOSCIOFNC(thebits : TBits_1); inline;
  10106. procedure setPOSCMOD(thebits : TBits_2); inline;
  10107. procedure setWDTPS(thebits : TBits_5); inline;
  10108. procedure setWINDIS(thebits : TBits_1); inline;
  10109. procedure setw(thebits : TBits_32); inline;
  10110. public
  10111. procedure clearFSOSCEN; inline;
  10112. procedure clearFWDTEN; inline;
  10113. procedure clearIESO; inline;
  10114. procedure clearOSCIOFNC; inline;
  10115. procedure clearWINDIS; inline;
  10116. procedure setFSOSCEN; inline;
  10117. procedure setFWDTEN; inline;
  10118. procedure setIESO; inline;
  10119. procedure setOSCIOFNC; inline;
  10120. procedure setWINDIS; inline;
  10121. property FCKSM : TBits_2 read getFCKSM write setFCKSM;
  10122. property FNOSC : TBits_3 read getFNOSC write setFNOSC;
  10123. property FPBDIV : TBits_2 read getFPBDIV write setFPBDIV;
  10124. property FSOSCEN : TBits_1 read getFSOSCEN write setFSOSCEN;
  10125. property FWDTEN : TBits_1 read getFWDTEN write setFWDTEN;
  10126. property FWDTWINSZ : TBits_2 read getFWDTWINSZ write setFWDTWINSZ;
  10127. property IESO : TBits_1 read getIESO write setIESO;
  10128. property OSCIOFNC : TBits_1 read getOSCIOFNC write setOSCIOFNC;
  10129. property POSCMOD : TBits_2 read getPOSCMOD write setPOSCMOD;
  10130. property WDTPS : TBits_5 read getWDTPS write setWDTPS;
  10131. property WINDIS : TBits_1 read getWINDIS write setWINDIS;
  10132. property w : TBits_32 read getw write setw;
  10133. end;
  10134. TDEVCFG_DEVCFG0 = record
  10135. private
  10136. function getBWP : TBits_1; inline;
  10137. function getCP : TBits_1; inline;
  10138. function getDEBUG : TBits_2; inline;
  10139. function getFDEBUG : TBits_2; inline;
  10140. function getICESEL : TBits_2; inline;
  10141. function getJTAGEN : TBits_1; inline;
  10142. function getPWP : TBits_6; inline;
  10143. function getw : TBits_32; inline;
  10144. procedure setBWP(thebits : TBits_1); inline;
  10145. procedure setCP(thebits : TBits_1); inline;
  10146. procedure setDEBUG(thebits : TBits_2); inline;
  10147. procedure setFDEBUG(thebits : TBits_2); inline;
  10148. procedure setICESEL(thebits : TBits_2); inline;
  10149. procedure setJTAGEN(thebits : TBits_1); inline;
  10150. procedure setPWP(thebits : TBits_6); inline;
  10151. procedure setw(thebits : TBits_32); inline;
  10152. public
  10153. procedure clearBWP; inline;
  10154. procedure clearCP; inline;
  10155. procedure clearJTAGEN; inline;
  10156. procedure setBWP; inline;
  10157. procedure setCP; inline;
  10158. procedure setJTAGEN; inline;
  10159. property BWP : TBits_1 read getBWP write setBWP;
  10160. property CP : TBits_1 read getCP write setCP;
  10161. property DEBUG : TBits_2 read getDEBUG write setDEBUG;
  10162. property FDEBUG : TBits_2 read getFDEBUG write setFDEBUG;
  10163. property ICESEL : TBits_2 read getICESEL write setICESEL;
  10164. property JTAGEN : TBits_1 read getJTAGEN write setJTAGEN;
  10165. property PWP : TBits_6 read getPWP write setPWP;
  10166. property w : TBits_32 read getw write setw;
  10167. end;
  10168. const
  10169. _CORE_TIMER_IRQ = 0;
  10170. _CORE_SOFTWARE_0_IRQ = 1;
  10171. _CORE_SOFTWARE_1_IRQ = 2;
  10172. _EXTERNAL_0_IRQ = 3;
  10173. _TIMER_1_IRQ = 4;
  10174. _INPUT_CAPTURE_ERROR_1_IRQ = 5;
  10175. _INPUT_CAPTURE_1_IRQ = 6;
  10176. _OUTPUT_COMPARE_1_IRQ = 7;
  10177. _EXTERNAL_1_IRQ = 8;
  10178. _TIMER_2_IRQ = 9;
  10179. _INPUT_CAPTURE_ERROR_2_IRQ = 10;
  10180. _INPUT_CAPTURE_2_IRQ = 11;
  10181. _OUTPUT_COMPARE_2_IRQ = 12;
  10182. _EXTERNAL_2_IRQ = 13;
  10183. _TIMER_3_IRQ = 14;
  10184. _INPUT_CAPTURE_ERROR_3_IRQ = 15;
  10185. _INPUT_CAPTURE_3_IRQ = 16;
  10186. _OUTPUT_COMPARE_3_IRQ = 17;
  10187. _EXTERNAL_3_IRQ = 18;
  10188. _TIMER_4_IRQ = 19;
  10189. _INPUT_CAPTURE_ERROR_4_IRQ = 20;
  10190. _INPUT_CAPTURE_4_IRQ = 21;
  10191. _OUTPUT_COMPARE_4_IRQ = 22;
  10192. _EXTERNAL_4_IRQ = 23;
  10193. _TIMER_5_IRQ = 24;
  10194. _INPUT_CAPTURE_ERROR_5_IRQ = 25;
  10195. _INPUT_CAPTURE_5_IRQ = 26;
  10196. _OUTPUT_COMPARE_5_IRQ = 27;
  10197. _ADC_IRQ = 28;
  10198. _FAIL_SAFE_MONITOR_IRQ = 29;
  10199. _RTCC_IRQ = 30;
  10200. _FLASH_CONTROL_IRQ = 31;
  10201. _COMPARATOR_1_IRQ = 32;
  10202. _COMPARATOR_2_IRQ = 33;
  10203. _COMPARATOR_3_IRQ = 34;
  10204. _USB_IRQ = 35;
  10205. _SPI1_ERR_IRQ = 36;
  10206. _SPI1_RX_IRQ = 37;
  10207. _SPI1_TX_IRQ = 38;
  10208. _UART1_ERR_IRQ = 39;
  10209. _UART1_RX_IRQ = 40;
  10210. _UART1_TX_IRQ = 41;
  10211. _I2C1_BUS_IRQ = 42;
  10212. _I2C1_SLAVE_IRQ = 43;
  10213. _I2C1_MASTER_IRQ = 44;
  10214. _CHANGE_NOTICE_A_IRQ = 45;
  10215. _CHANGE_NOTICE_B_IRQ = 46;
  10216. _CHANGE_NOTICE_C_IRQ = 47;
  10217. _PMP_IRQ = 48;
  10218. _PMP_ERROR_IRQ = 49;
  10219. _SPI2_ERR_IRQ = 50;
  10220. _SPI2_RX_IRQ = 51;
  10221. _SPI2_TX_IRQ = 52;
  10222. _UART2_ERR_IRQ = 53;
  10223. _UART2_RX_IRQ = 54;
  10224. _UART2_TX_IRQ = 55;
  10225. _I2C2_BUS_IRQ = 56;
  10226. _I2C2_SLAVE_IRQ = 57;
  10227. _I2C2_MASTER_IRQ = 58;
  10228. _CTMU_IRQ = 59;
  10229. _DMA0_IRQ = 60;
  10230. _DMA1_IRQ = 61;
  10231. _DMA2_IRQ = 62;
  10232. _DMA3_IRQ = 63;
  10233. const
  10234. ADC10_BASE_ADDRESS = $BF809000;
  10235. var
  10236. ADC10 : TADC10Registers absolute ADC10_BASE_ADDRESS;
  10237. const
  10238. BMX_BASE_ADDRESS = $BF882000;
  10239. var
  10240. BMX : TBMXRegisters absolute BMX_BASE_ADDRESS;
  10241. const
  10242. CFG_BASE_ADDRESS = $BF80F200;
  10243. var
  10244. CFG : TCFGRegisters absolute CFG_BASE_ADDRESS;
  10245. const
  10246. CMP_BASE_ADDRESS = $BF80A000;
  10247. var
  10248. CMP : TCMPRegisters absolute CMP_BASE_ADDRESS;
  10249. const
  10250. CVR_BASE_ADDRESS = $BF809800;
  10251. var
  10252. CVR : TCVRRegisters absolute CVR_BASE_ADDRESS;
  10253. const
  10254. DMAC_BASE_ADDRESS = $BF883000;
  10255. var
  10256. DMAC : TDMACRegisters absolute DMAC_BASE_ADDRESS;
  10257. const
  10258. DMAC0_BASE_ADDRESS = $BF883060;
  10259. var
  10260. DMAC0 : TDMAC0Registers absolute DMAC0_BASE_ADDRESS;
  10261. const
  10262. DMAC1_BASE_ADDRESS = $BF883120;
  10263. var
  10264. DMAC1 : TDMAC1Registers absolute DMAC1_BASE_ADDRESS;
  10265. const
  10266. DMAC2_BASE_ADDRESS = $BF8831E0;
  10267. var
  10268. DMAC2 : TDMAC2Registers absolute DMAC2_BASE_ADDRESS;
  10269. const
  10270. DMAC3_BASE_ADDRESS = $BF8832A0;
  10271. var
  10272. DMAC3 : TDMAC3Registers absolute DMAC3_BASE_ADDRESS;
  10273. const
  10274. I2C1_BASE_ADDRESS = $BF805000;
  10275. var
  10276. I2C1 : TI2C1Registers absolute I2C1_BASE_ADDRESS;
  10277. const
  10278. I2C2_BASE_ADDRESS = $BF805100;
  10279. var
  10280. I2C2 : TI2C2Registers absolute I2C2_BASE_ADDRESS;
  10281. const
  10282. ICAP1_BASE_ADDRESS = $BF802000;
  10283. var
  10284. ICAP1 : TICAP1Registers absolute ICAP1_BASE_ADDRESS;
  10285. const
  10286. ICAP2_BASE_ADDRESS = $BF802200;
  10287. var
  10288. ICAP2 : TICAP2Registers absolute ICAP2_BASE_ADDRESS;
  10289. const
  10290. ICAP3_BASE_ADDRESS = $BF802400;
  10291. var
  10292. ICAP3 : TICAP3Registers absolute ICAP3_BASE_ADDRESS;
  10293. const
  10294. ICAP4_BASE_ADDRESS = $BF802600;
  10295. var
  10296. ICAP4 : TICAP4Registers absolute ICAP4_BASE_ADDRESS;
  10297. const
  10298. ICAP5_BASE_ADDRESS = $BF802800;
  10299. var
  10300. ICAP5 : TICAP5Registers absolute ICAP5_BASE_ADDRESS;
  10301. const
  10302. INT_BASE_ADDRESS = $BF881000;
  10303. var
  10304. INT : TINTRegisters absolute INT_BASE_ADDRESS;
  10305. const
  10306. NVM_BASE_ADDRESS = $BF80F400;
  10307. var
  10308. NVM : TNVMRegisters absolute NVM_BASE_ADDRESS;
  10309. const
  10310. OCMP1_BASE_ADDRESS = $BF803000;
  10311. var
  10312. OCMP1 : TOCMP1Registers absolute OCMP1_BASE_ADDRESS;
  10313. const
  10314. OCMP2_BASE_ADDRESS = $BF803200;
  10315. var
  10316. OCMP2 : TOCMP2Registers absolute OCMP2_BASE_ADDRESS;
  10317. const
  10318. OCMP3_BASE_ADDRESS = $BF803400;
  10319. var
  10320. OCMP3 : TOCMP3Registers absolute OCMP3_BASE_ADDRESS;
  10321. const
  10322. OCMP4_BASE_ADDRESS = $BF803600;
  10323. var
  10324. OCMP4 : TOCMP4Registers absolute OCMP4_BASE_ADDRESS;
  10325. const
  10326. OCMP5_BASE_ADDRESS = $BF803800;
  10327. var
  10328. OCMP5 : TOCMP5Registers absolute OCMP5_BASE_ADDRESS;
  10329. const
  10330. OSC_BASE_ADDRESS = $BF80F000;
  10331. var
  10332. OSC : TOSCRegisters absolute OSC_BASE_ADDRESS;
  10333. const
  10334. PMP_BASE_ADDRESS = $BF807000;
  10335. var
  10336. PMP : TPMPRegisters absolute PMP_BASE_ADDRESS;
  10337. const
  10338. PORTA_BASE_ADDRESS = $BF886000;
  10339. var
  10340. PORTA : TPORTARegisters absolute PORTA_BASE_ADDRESS;
  10341. const
  10342. PORTB_BASE_ADDRESS = $BF886100;
  10343. var
  10344. PORTB : TPORTBRegisters absolute PORTB_BASE_ADDRESS;
  10345. const
  10346. PORTC_BASE_ADDRESS = $BF886200;
  10347. var
  10348. PORTC : TPORTCRegisters absolute PORTC_BASE_ADDRESS;
  10349. const
  10350. RCON_BASE_ADDRESS = $BF80F600;
  10351. var
  10352. RCON : TRCONRegisters absolute RCON_BASE_ADDRESS;
  10353. const
  10354. RTCC_BASE_ADDRESS = $BF800200;
  10355. var
  10356. RTCC : TRTCCRegisters absolute RTCC_BASE_ADDRESS;
  10357. const
  10358. SPI1_BASE_ADDRESS = $BF805800;
  10359. var
  10360. SPI1 : TSPI1Registers absolute SPI1_BASE_ADDRESS;
  10361. const
  10362. SPI2_BASE_ADDRESS = $BF805A00;
  10363. var
  10364. SPI2 : TSPI2Registers absolute SPI2_BASE_ADDRESS;
  10365. const
  10366. TMR1_BASE_ADDRESS = $BF800600;
  10367. var
  10368. TMR1 : TTMR1Registers absolute TMR1_BASE_ADDRESS;
  10369. const
  10370. TMR2_BASE_ADDRESS = $BF800800;
  10371. var
  10372. TMR2 : TTMR2Registers absolute TMR2_BASE_ADDRESS;
  10373. const
  10374. TMR3_BASE_ADDRESS = $BF800A00;
  10375. var
  10376. TMR3 : TTMR3Registers absolute TMR3_BASE_ADDRESS;
  10377. const
  10378. TMR4_BASE_ADDRESS = $BF800C00;
  10379. var
  10380. TMR4 : TTMR4Registers absolute TMR4_BASE_ADDRESS;
  10381. const
  10382. TMR5_BASE_ADDRESS = $BF800E00;
  10383. var
  10384. TMR5 : TTMR5Registers absolute TMR5_BASE_ADDRESS;
  10385. const
  10386. UART1_BASE_ADDRESS = $BF806000;
  10387. var
  10388. UART1 : TUART1Registers absolute UART1_BASE_ADDRESS;
  10389. const
  10390. UART2_BASE_ADDRESS = $BF806200;
  10391. var
  10392. UART2 : TUART2Registers absolute UART2_BASE_ADDRESS;
  10393. const
  10394. WDT_BASE_ADDRESS = $BF800000;
  10395. var
  10396. WDT : TWDTRegisters absolute WDT_BASE_ADDRESS;
  10397. implementation
  10398. type
  10399. TDefRegMap = record
  10400. val : longWord;
  10401. clr : longWord;
  10402. &set : longWord;
  10403. inv : longWord;
  10404. end;
  10405. pTDefRegMap = ^TDefRegMap;
  10406. procedure TWDT_WDTCON.setWDTCLR; inline;
  10407. begin
  10408. pTDefRegMap(@Self)^.&set := $00000001;
  10409. end;
  10410. procedure TWDT_WDTCON.clearWDTCLR; inline;
  10411. begin
  10412. pTDefRegMap(@Self)^.clr := $00000001;
  10413. end;
  10414. procedure TWDT_WDTCON.setWDTCLR(thebits : TBits_1); inline;
  10415. begin
  10416. if thebits = 0 then
  10417. pTDefRegMap(@Self)^.clr := $00000001
  10418. else
  10419. pTDefRegMap(@Self)^.&set := $00000001;
  10420. end;
  10421. function TWDT_WDTCON.getWDTCLR : TBits_1; inline;
  10422. begin
  10423. getWDTCLR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10424. end;
  10425. procedure TWDT_WDTCON.setWDTWINEN; inline;
  10426. begin
  10427. pTDefRegMap(@Self)^.&set := $00000002;
  10428. end;
  10429. procedure TWDT_WDTCON.clearWDTWINEN; inline;
  10430. begin
  10431. pTDefRegMap(@Self)^.clr := $00000002;
  10432. end;
  10433. procedure TWDT_WDTCON.setWDTWINEN(thebits : TBits_1); inline;
  10434. begin
  10435. if thebits = 0 then
  10436. pTDefRegMap(@Self)^.clr := $00000002
  10437. else
  10438. pTDefRegMap(@Self)^.&set := $00000002;
  10439. end;
  10440. function TWDT_WDTCON.getWDTWINEN : TBits_1; inline;
  10441. begin
  10442. getWDTWINEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10443. end;
  10444. procedure TWDT_WDTCON.setSWDTPS(thebits : TBits_5); inline;
  10445. begin
  10446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10447. end;
  10448. function TWDT_WDTCON.getSWDTPS : TBits_5; inline;
  10449. begin
  10450. getSWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10451. end;
  10452. procedure TWDT_WDTCON.setON; inline;
  10453. begin
  10454. pTDefRegMap(@Self)^.&set := $00008000;
  10455. end;
  10456. procedure TWDT_WDTCON.clearON; inline;
  10457. begin
  10458. pTDefRegMap(@Self)^.clr := $00008000;
  10459. end;
  10460. procedure TWDT_WDTCON.setON(thebits : TBits_1); inline;
  10461. begin
  10462. if thebits = 0 then
  10463. pTDefRegMap(@Self)^.clr := $00008000
  10464. else
  10465. pTDefRegMap(@Self)^.&set := $00008000;
  10466. end;
  10467. function TWDT_WDTCON.getON : TBits_1; inline;
  10468. begin
  10469. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10470. end;
  10471. procedure TWDT_WDTCON.setSWDTPS0; inline;
  10472. begin
  10473. pTDefRegMap(@Self)^.&set := $00000004;
  10474. end;
  10475. procedure TWDT_WDTCON.clearSWDTPS0; inline;
  10476. begin
  10477. pTDefRegMap(@Self)^.clr := $00000004;
  10478. end;
  10479. procedure TWDT_WDTCON.setSWDTPS0(thebits : TBits_1); inline;
  10480. begin
  10481. if thebits = 0 then
  10482. pTDefRegMap(@Self)^.clr := $00000004
  10483. else
  10484. pTDefRegMap(@Self)^.&set := $00000004;
  10485. end;
  10486. function TWDT_WDTCON.getSWDTPS0 : TBits_1; inline;
  10487. begin
  10488. getSWDTPS0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10489. end;
  10490. procedure TWDT_WDTCON.setSWDTPS1; inline;
  10491. begin
  10492. pTDefRegMap(@Self)^.&set := $00000008;
  10493. end;
  10494. procedure TWDT_WDTCON.clearSWDTPS1; inline;
  10495. begin
  10496. pTDefRegMap(@Self)^.clr := $00000008;
  10497. end;
  10498. procedure TWDT_WDTCON.setSWDTPS1(thebits : TBits_1); inline;
  10499. begin
  10500. if thebits = 0 then
  10501. pTDefRegMap(@Self)^.clr := $00000008
  10502. else
  10503. pTDefRegMap(@Self)^.&set := $00000008;
  10504. end;
  10505. function TWDT_WDTCON.getSWDTPS1 : TBits_1; inline;
  10506. begin
  10507. getSWDTPS1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10508. end;
  10509. procedure TWDT_WDTCON.setSWDTPS2; inline;
  10510. begin
  10511. pTDefRegMap(@Self)^.&set := $00000010;
  10512. end;
  10513. procedure TWDT_WDTCON.clearSWDTPS2; inline;
  10514. begin
  10515. pTDefRegMap(@Self)^.clr := $00000010;
  10516. end;
  10517. procedure TWDT_WDTCON.setSWDTPS2(thebits : TBits_1); inline;
  10518. begin
  10519. if thebits = 0 then
  10520. pTDefRegMap(@Self)^.clr := $00000010
  10521. else
  10522. pTDefRegMap(@Self)^.&set := $00000010;
  10523. end;
  10524. function TWDT_WDTCON.getSWDTPS2 : TBits_1; inline;
  10525. begin
  10526. getSWDTPS2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  10527. end;
  10528. procedure TWDT_WDTCON.setSWDTPS3; inline;
  10529. begin
  10530. pTDefRegMap(@Self)^.&set := $00000020;
  10531. end;
  10532. procedure TWDT_WDTCON.clearSWDTPS3; inline;
  10533. begin
  10534. pTDefRegMap(@Self)^.clr := $00000020;
  10535. end;
  10536. procedure TWDT_WDTCON.setSWDTPS3(thebits : TBits_1); inline;
  10537. begin
  10538. if thebits = 0 then
  10539. pTDefRegMap(@Self)^.clr := $00000020
  10540. else
  10541. pTDefRegMap(@Self)^.&set := $00000020;
  10542. end;
  10543. function TWDT_WDTCON.getSWDTPS3 : TBits_1; inline;
  10544. begin
  10545. getSWDTPS3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  10546. end;
  10547. procedure TWDT_WDTCON.setSWDTPS4; inline;
  10548. begin
  10549. pTDefRegMap(@Self)^.&set := $00000040;
  10550. end;
  10551. procedure TWDT_WDTCON.clearSWDTPS4; inline;
  10552. begin
  10553. pTDefRegMap(@Self)^.clr := $00000040;
  10554. end;
  10555. procedure TWDT_WDTCON.setSWDTPS4(thebits : TBits_1); inline;
  10556. begin
  10557. if thebits = 0 then
  10558. pTDefRegMap(@Self)^.clr := $00000040
  10559. else
  10560. pTDefRegMap(@Self)^.&set := $00000040;
  10561. end;
  10562. function TWDT_WDTCON.getSWDTPS4 : TBits_1; inline;
  10563. begin
  10564. getSWDTPS4 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10565. end;
  10566. procedure TWDT_WDTCON.setWDTPSTA(thebits : TBits_5); inline;
  10567. begin
  10568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10569. end;
  10570. function TWDT_WDTCON.getWDTPSTA : TBits_5; inline;
  10571. begin
  10572. getWDTPSTA := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10573. end;
  10574. procedure TWDT_WDTCON.setWDTPS(thebits : TBits_5); inline;
  10575. begin
  10576. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF83 or ( thebits shl 2 );
  10577. end;
  10578. function TWDT_WDTCON.getWDTPS : TBits_5; inline;
  10579. begin
  10580. getWDTPS := (pTDefRegMap(@Self)^.val and $0000007C) shr 2;
  10581. end;
  10582. procedure TWDT_WDTCON.setw(thebits : TBits_32); inline;
  10583. begin
  10584. pTDefRegMap(@Self)^.val := thebits;
  10585. end;
  10586. function TWDT_WDTCON.getw : TBits_32; inline;
  10587. begin
  10588. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10589. end;
  10590. procedure TRTCC_RTCCON.setRTCOE; inline;
  10591. begin
  10592. pTDefRegMap(@Self)^.&set := $00000001;
  10593. end;
  10594. procedure TRTCC_RTCCON.clearRTCOE; inline;
  10595. begin
  10596. pTDefRegMap(@Self)^.clr := $00000001;
  10597. end;
  10598. procedure TRTCC_RTCCON.setRTCOE(thebits : TBits_1); inline;
  10599. begin
  10600. if thebits = 0 then
  10601. pTDefRegMap(@Self)^.clr := $00000001
  10602. else
  10603. pTDefRegMap(@Self)^.&set := $00000001;
  10604. end;
  10605. function TRTCC_RTCCON.getRTCOE : TBits_1; inline;
  10606. begin
  10607. getRTCOE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  10608. end;
  10609. procedure TRTCC_RTCCON.setHALFSEC; inline;
  10610. begin
  10611. pTDefRegMap(@Self)^.&set := $00000002;
  10612. end;
  10613. procedure TRTCC_RTCCON.clearHALFSEC; inline;
  10614. begin
  10615. pTDefRegMap(@Self)^.clr := $00000002;
  10616. end;
  10617. procedure TRTCC_RTCCON.setHALFSEC(thebits : TBits_1); inline;
  10618. begin
  10619. if thebits = 0 then
  10620. pTDefRegMap(@Self)^.clr := $00000002
  10621. else
  10622. pTDefRegMap(@Self)^.&set := $00000002;
  10623. end;
  10624. function TRTCC_RTCCON.getHALFSEC : TBits_1; inline;
  10625. begin
  10626. getHALFSEC := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  10627. end;
  10628. procedure TRTCC_RTCCON.setRTCSYNC; inline;
  10629. begin
  10630. pTDefRegMap(@Self)^.&set := $00000004;
  10631. end;
  10632. procedure TRTCC_RTCCON.clearRTCSYNC; inline;
  10633. begin
  10634. pTDefRegMap(@Self)^.clr := $00000004;
  10635. end;
  10636. procedure TRTCC_RTCCON.setRTCSYNC(thebits : TBits_1); inline;
  10637. begin
  10638. if thebits = 0 then
  10639. pTDefRegMap(@Self)^.clr := $00000004
  10640. else
  10641. pTDefRegMap(@Self)^.&set := $00000004;
  10642. end;
  10643. function TRTCC_RTCCON.getRTCSYNC : TBits_1; inline;
  10644. begin
  10645. getRTCSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  10646. end;
  10647. procedure TRTCC_RTCCON.setRTCWREN; inline;
  10648. begin
  10649. pTDefRegMap(@Self)^.&set := $00000008;
  10650. end;
  10651. procedure TRTCC_RTCCON.clearRTCWREN; inline;
  10652. begin
  10653. pTDefRegMap(@Self)^.clr := $00000008;
  10654. end;
  10655. procedure TRTCC_RTCCON.setRTCWREN(thebits : TBits_1); inline;
  10656. begin
  10657. if thebits = 0 then
  10658. pTDefRegMap(@Self)^.clr := $00000008
  10659. else
  10660. pTDefRegMap(@Self)^.&set := $00000008;
  10661. end;
  10662. function TRTCC_RTCCON.getRTCWREN : TBits_1; inline;
  10663. begin
  10664. getRTCWREN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  10665. end;
  10666. procedure TRTCC_RTCCON.setRTCCLKON; inline;
  10667. begin
  10668. pTDefRegMap(@Self)^.&set := $00000040;
  10669. end;
  10670. procedure TRTCC_RTCCON.clearRTCCLKON; inline;
  10671. begin
  10672. pTDefRegMap(@Self)^.clr := $00000040;
  10673. end;
  10674. procedure TRTCC_RTCCON.setRTCCLKON(thebits : TBits_1); inline;
  10675. begin
  10676. if thebits = 0 then
  10677. pTDefRegMap(@Self)^.clr := $00000040
  10678. else
  10679. pTDefRegMap(@Self)^.&set := $00000040;
  10680. end;
  10681. function TRTCC_RTCCON.getRTCCLKON : TBits_1; inline;
  10682. begin
  10683. getRTCCLKON := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  10684. end;
  10685. procedure TRTCC_RTCCON.setRTSECSEL; inline;
  10686. begin
  10687. pTDefRegMap(@Self)^.&set := $00000080;
  10688. end;
  10689. procedure TRTCC_RTCCON.clearRTSECSEL; inline;
  10690. begin
  10691. pTDefRegMap(@Self)^.clr := $00000080;
  10692. end;
  10693. procedure TRTCC_RTCCON.setRTSECSEL(thebits : TBits_1); inline;
  10694. begin
  10695. if thebits = 0 then
  10696. pTDefRegMap(@Self)^.clr := $00000080
  10697. else
  10698. pTDefRegMap(@Self)^.&set := $00000080;
  10699. end;
  10700. function TRTCC_RTCCON.getRTSECSEL : TBits_1; inline;
  10701. begin
  10702. getRTSECSEL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  10703. end;
  10704. procedure TRTCC_RTCCON.setSIDL; inline;
  10705. begin
  10706. pTDefRegMap(@Self)^.&set := $00002000;
  10707. end;
  10708. procedure TRTCC_RTCCON.clearSIDL; inline;
  10709. begin
  10710. pTDefRegMap(@Self)^.clr := $00002000;
  10711. end;
  10712. procedure TRTCC_RTCCON.setSIDL(thebits : TBits_1); inline;
  10713. begin
  10714. if thebits = 0 then
  10715. pTDefRegMap(@Self)^.clr := $00002000
  10716. else
  10717. pTDefRegMap(@Self)^.&set := $00002000;
  10718. end;
  10719. function TRTCC_RTCCON.getSIDL : TBits_1; inline;
  10720. begin
  10721. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10722. end;
  10723. procedure TRTCC_RTCCON.setON; inline;
  10724. begin
  10725. pTDefRegMap(@Self)^.&set := $00008000;
  10726. end;
  10727. procedure TRTCC_RTCCON.clearON; inline;
  10728. begin
  10729. pTDefRegMap(@Self)^.clr := $00008000;
  10730. end;
  10731. procedure TRTCC_RTCCON.setON(thebits : TBits_1); inline;
  10732. begin
  10733. if thebits = 0 then
  10734. pTDefRegMap(@Self)^.clr := $00008000
  10735. else
  10736. pTDefRegMap(@Self)^.&set := $00008000;
  10737. end;
  10738. function TRTCC_RTCCON.getON : TBits_1; inline;
  10739. begin
  10740. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10741. end;
  10742. procedure TRTCC_RTCCON.setCAL(thebits : TBits_10); inline;
  10743. begin
  10744. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FC00FFFF or ( thebits shl 16 );
  10745. end;
  10746. function TRTCC_RTCCON.getCAL : TBits_10; inline;
  10747. begin
  10748. getCAL := (pTDefRegMap(@Self)^.val and $03FF0000) shr 16;
  10749. end;
  10750. procedure TRTCC_RTCCON.setw(thebits : TBits_32); inline;
  10751. begin
  10752. pTDefRegMap(@Self)^.val := thebits;
  10753. end;
  10754. function TRTCC_RTCCON.getw : TBits_32; inline;
  10755. begin
  10756. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10757. end;
  10758. procedure TRTCC_RTCALRM.setARPT(thebits : TBits_8); inline;
  10759. begin
  10760. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  10761. end;
  10762. function TRTCC_RTCALRM.getARPT : TBits_8; inline;
  10763. begin
  10764. getARPT := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  10765. end;
  10766. procedure TRTCC_RTCALRM.setAMASK(thebits : TBits_4); inline;
  10767. begin
  10768. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10769. end;
  10770. function TRTCC_RTCALRM.getAMASK : TBits_4; inline;
  10771. begin
  10772. getAMASK := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10773. end;
  10774. procedure TRTCC_RTCALRM.setALRMSYNC; inline;
  10775. begin
  10776. pTDefRegMap(@Self)^.&set := $00001000;
  10777. end;
  10778. procedure TRTCC_RTCALRM.clearALRMSYNC; inline;
  10779. begin
  10780. pTDefRegMap(@Self)^.clr := $00001000;
  10781. end;
  10782. procedure TRTCC_RTCALRM.setALRMSYNC(thebits : TBits_1); inline;
  10783. begin
  10784. if thebits = 0 then
  10785. pTDefRegMap(@Self)^.clr := $00001000
  10786. else
  10787. pTDefRegMap(@Self)^.&set := $00001000;
  10788. end;
  10789. function TRTCC_RTCALRM.getALRMSYNC : TBits_1; inline;
  10790. begin
  10791. getALRMSYNC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  10792. end;
  10793. procedure TRTCC_RTCALRM.setPIV; inline;
  10794. begin
  10795. pTDefRegMap(@Self)^.&set := $00002000;
  10796. end;
  10797. procedure TRTCC_RTCALRM.clearPIV; inline;
  10798. begin
  10799. pTDefRegMap(@Self)^.clr := $00002000;
  10800. end;
  10801. procedure TRTCC_RTCALRM.setPIV(thebits : TBits_1); inline;
  10802. begin
  10803. if thebits = 0 then
  10804. pTDefRegMap(@Self)^.clr := $00002000
  10805. else
  10806. pTDefRegMap(@Self)^.&set := $00002000;
  10807. end;
  10808. function TRTCC_RTCALRM.getPIV : TBits_1; inline;
  10809. begin
  10810. getPIV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  10811. end;
  10812. procedure TRTCC_RTCALRM.setCHIME; inline;
  10813. begin
  10814. pTDefRegMap(@Self)^.&set := $00004000;
  10815. end;
  10816. procedure TRTCC_RTCALRM.clearCHIME; inline;
  10817. begin
  10818. pTDefRegMap(@Self)^.clr := $00004000;
  10819. end;
  10820. procedure TRTCC_RTCALRM.setCHIME(thebits : TBits_1); inline;
  10821. begin
  10822. if thebits = 0 then
  10823. pTDefRegMap(@Self)^.clr := $00004000
  10824. else
  10825. pTDefRegMap(@Self)^.&set := $00004000;
  10826. end;
  10827. function TRTCC_RTCALRM.getCHIME : TBits_1; inline;
  10828. begin
  10829. getCHIME := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  10830. end;
  10831. procedure TRTCC_RTCALRM.setALRMEN; inline;
  10832. begin
  10833. pTDefRegMap(@Self)^.&set := $00008000;
  10834. end;
  10835. procedure TRTCC_RTCALRM.clearALRMEN; inline;
  10836. begin
  10837. pTDefRegMap(@Self)^.clr := $00008000;
  10838. end;
  10839. procedure TRTCC_RTCALRM.setALRMEN(thebits : TBits_1); inline;
  10840. begin
  10841. if thebits = 0 then
  10842. pTDefRegMap(@Self)^.clr := $00008000
  10843. else
  10844. pTDefRegMap(@Self)^.&set := $00008000;
  10845. end;
  10846. function TRTCC_RTCALRM.getALRMEN : TBits_1; inline;
  10847. begin
  10848. getALRMEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  10849. end;
  10850. procedure TRTCC_RTCALRM.setw(thebits : TBits_32); inline;
  10851. begin
  10852. pTDefRegMap(@Self)^.val := thebits;
  10853. end;
  10854. function TRTCC_RTCALRM.getw : TBits_32; inline;
  10855. begin
  10856. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10857. end;
  10858. procedure TRTCC_RTCTIME.setSEC01(thebits : TBits_4); inline;
  10859. begin
  10860. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10861. end;
  10862. function TRTCC_RTCTIME.getSEC01 : TBits_4; inline;
  10863. begin
  10864. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10865. end;
  10866. procedure TRTCC_RTCTIME.setSEC10(thebits : TBits_4); inline;
  10867. begin
  10868. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10869. end;
  10870. function TRTCC_RTCTIME.getSEC10 : TBits_4; inline;
  10871. begin
  10872. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10873. end;
  10874. procedure TRTCC_RTCTIME.setMIN01(thebits : TBits_4); inline;
  10875. begin
  10876. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10877. end;
  10878. function TRTCC_RTCTIME.getMIN01 : TBits_4; inline;
  10879. begin
  10880. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10881. end;
  10882. procedure TRTCC_RTCTIME.setMIN10(thebits : TBits_4); inline;
  10883. begin
  10884. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10885. end;
  10886. function TRTCC_RTCTIME.getMIN10 : TBits_4; inline;
  10887. begin
  10888. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10889. end;
  10890. procedure TRTCC_RTCTIME.setHR01(thebits : TBits_4); inline;
  10891. begin
  10892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10893. end;
  10894. function TRTCC_RTCTIME.getHR01 : TBits_4; inline;
  10895. begin
  10896. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10897. end;
  10898. procedure TRTCC_RTCTIME.setHR10(thebits : TBits_4); inline;
  10899. begin
  10900. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10901. end;
  10902. function TRTCC_RTCTIME.getHR10 : TBits_4; inline;
  10903. begin
  10904. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10905. end;
  10906. procedure TRTCC_RTCTIME.setw(thebits : TBits_32); inline;
  10907. begin
  10908. pTDefRegMap(@Self)^.val := thebits;
  10909. end;
  10910. function TRTCC_RTCTIME.getw : TBits_32; inline;
  10911. begin
  10912. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10913. end;
  10914. procedure TRTCC_RTCDATE.setWDAY01(thebits : TBits_4); inline;
  10915. begin
  10916. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  10917. end;
  10918. function TRTCC_RTCDATE.getWDAY01 : TBits_4; inline;
  10919. begin
  10920. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  10921. end;
  10922. procedure TRTCC_RTCDATE.setDAY01(thebits : TBits_4); inline;
  10923. begin
  10924. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10925. end;
  10926. function TRTCC_RTCDATE.getDAY01 : TBits_4; inline;
  10927. begin
  10928. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10929. end;
  10930. procedure TRTCC_RTCDATE.setDAY10(thebits : TBits_4); inline;
  10931. begin
  10932. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10933. end;
  10934. function TRTCC_RTCDATE.getDAY10 : TBits_4; inline;
  10935. begin
  10936. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10937. end;
  10938. procedure TRTCC_RTCDATE.setMONTH01(thebits : TBits_4); inline;
  10939. begin
  10940. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10941. end;
  10942. function TRTCC_RTCDATE.getMONTH01 : TBits_4; inline;
  10943. begin
  10944. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  10945. end;
  10946. procedure TRTCC_RTCDATE.setMONTH10(thebits : TBits_4); inline;
  10947. begin
  10948. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  10949. end;
  10950. function TRTCC_RTCDATE.getMONTH10 : TBits_4; inline;
  10951. begin
  10952. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  10953. end;
  10954. procedure TRTCC_RTCDATE.setYEAR01(thebits : TBits_4); inline;
  10955. begin
  10956. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  10957. end;
  10958. function TRTCC_RTCDATE.getYEAR01 : TBits_4; inline;
  10959. begin
  10960. getYEAR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  10961. end;
  10962. procedure TRTCC_RTCDATE.setYEAR10(thebits : TBits_4); inline;
  10963. begin
  10964. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  10965. end;
  10966. function TRTCC_RTCDATE.getYEAR10 : TBits_4; inline;
  10967. begin
  10968. getYEAR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  10969. end;
  10970. procedure TRTCC_RTCDATE.setw(thebits : TBits_32); inline;
  10971. begin
  10972. pTDefRegMap(@Self)^.val := thebits;
  10973. end;
  10974. function TRTCC_RTCDATE.getw : TBits_32; inline;
  10975. begin
  10976. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  10977. end;
  10978. procedure TRTCC_ALRMTIME.setSEC01(thebits : TBits_4); inline;
  10979. begin
  10980. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  10981. end;
  10982. function TRTCC_ALRMTIME.getSEC01 : TBits_4; inline;
  10983. begin
  10984. getSEC01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  10985. end;
  10986. procedure TRTCC_ALRMTIME.setSEC10(thebits : TBits_4); inline;
  10987. begin
  10988. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  10989. end;
  10990. function TRTCC_ALRMTIME.getSEC10 : TBits_4; inline;
  10991. begin
  10992. getSEC10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  10993. end;
  10994. procedure TRTCC_ALRMTIME.setMIN01(thebits : TBits_4); inline;
  10995. begin
  10996. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  10997. end;
  10998. function TRTCC_ALRMTIME.getMIN01 : TBits_4; inline;
  10999. begin
  11000. getMIN01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11001. end;
  11002. procedure TRTCC_ALRMTIME.setMIN10(thebits : TBits_4); inline;
  11003. begin
  11004. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11005. end;
  11006. function TRTCC_ALRMTIME.getMIN10 : TBits_4; inline;
  11007. begin
  11008. getMIN10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11009. end;
  11010. procedure TRTCC_ALRMTIME.setHR01(thebits : TBits_4); inline;
  11011. begin
  11012. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  11013. end;
  11014. function TRTCC_ALRMTIME.getHR01 : TBits_4; inline;
  11015. begin
  11016. getHR01 := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  11017. end;
  11018. procedure TRTCC_ALRMTIME.setHR10(thebits : TBits_4); inline;
  11019. begin
  11020. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $0FFFFFFF or ( thebits shl 28 );
  11021. end;
  11022. function TRTCC_ALRMTIME.getHR10 : TBits_4; inline;
  11023. begin
  11024. getHR10 := (pTDefRegMap(@Self)^.val and $F0000000) shr 28;
  11025. end;
  11026. procedure TRTCC_ALRMTIME.setw(thebits : TBits_32); inline;
  11027. begin
  11028. pTDefRegMap(@Self)^.val := thebits;
  11029. end;
  11030. function TRTCC_ALRMTIME.getw : TBits_32; inline;
  11031. begin
  11032. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11033. end;
  11034. procedure TRTCC_ALRMDATE.setWDAY01(thebits : TBits_4); inline;
  11035. begin
  11036. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  11037. end;
  11038. function TRTCC_ALRMDATE.getWDAY01 : TBits_4; inline;
  11039. begin
  11040. getWDAY01 := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  11041. end;
  11042. procedure TRTCC_ALRMDATE.setDAY01(thebits : TBits_4); inline;
  11043. begin
  11044. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF0FF or ( thebits shl 8 );
  11045. end;
  11046. function TRTCC_ALRMDATE.getDAY01 : TBits_4; inline;
  11047. begin
  11048. getDAY01 := (pTDefRegMap(@Self)^.val and $00000F00) shr 8;
  11049. end;
  11050. procedure TRTCC_ALRMDATE.setDAY10(thebits : TBits_4); inline;
  11051. begin
  11052. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0FFF or ( thebits shl 12 );
  11053. end;
  11054. function TRTCC_ALRMDATE.getDAY10 : TBits_4; inline;
  11055. begin
  11056. getDAY10 := (pTDefRegMap(@Self)^.val and $0000F000) shr 12;
  11057. end;
  11058. procedure TRTCC_ALRMDATE.setMONTH01(thebits : TBits_4); inline;
  11059. begin
  11060. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  11061. end;
  11062. function TRTCC_ALRMDATE.getMONTH01 : TBits_4; inline;
  11063. begin
  11064. getMONTH01 := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  11065. end;
  11066. procedure TRTCC_ALRMDATE.setMONTH10(thebits : TBits_4); inline;
  11067. begin
  11068. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF0FFFFF or ( thebits shl 20 );
  11069. end;
  11070. function TRTCC_ALRMDATE.getMONTH10 : TBits_4; inline;
  11071. begin
  11072. getMONTH10 := (pTDefRegMap(@Self)^.val and $00F00000) shr 20;
  11073. end;
  11074. procedure TRTCC_ALRMDATE.setw(thebits : TBits_32); inline;
  11075. begin
  11076. pTDefRegMap(@Self)^.val := thebits;
  11077. end;
  11078. function TRTCC_ALRMDATE.getw : TBits_32; inline;
  11079. begin
  11080. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11081. end;
  11082. procedure TTMR1_T1CON.setTCS; inline;
  11083. begin
  11084. pTDefRegMap(@Self)^.&set := $00000002;
  11085. end;
  11086. procedure TTMR1_T1CON.clearTCS; inline;
  11087. begin
  11088. pTDefRegMap(@Self)^.clr := $00000002;
  11089. end;
  11090. procedure TTMR1_T1CON.setTCS(thebits : TBits_1); inline;
  11091. begin
  11092. if thebits = 0 then
  11093. pTDefRegMap(@Self)^.clr := $00000002
  11094. else
  11095. pTDefRegMap(@Self)^.&set := $00000002;
  11096. end;
  11097. function TTMR1_T1CON.getTCS : TBits_1; inline;
  11098. begin
  11099. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11100. end;
  11101. procedure TTMR1_T1CON.setTSYNC; inline;
  11102. begin
  11103. pTDefRegMap(@Self)^.&set := $00000004;
  11104. end;
  11105. procedure TTMR1_T1CON.clearTSYNC; inline;
  11106. begin
  11107. pTDefRegMap(@Self)^.clr := $00000004;
  11108. end;
  11109. procedure TTMR1_T1CON.setTSYNC(thebits : TBits_1); inline;
  11110. begin
  11111. if thebits = 0 then
  11112. pTDefRegMap(@Self)^.clr := $00000004
  11113. else
  11114. pTDefRegMap(@Self)^.&set := $00000004;
  11115. end;
  11116. function TTMR1_T1CON.getTSYNC : TBits_1; inline;
  11117. begin
  11118. getTSYNC := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  11119. end;
  11120. procedure TTMR1_T1CON.setTCKPS(thebits : TBits_2); inline;
  11121. begin
  11122. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFCF or ( thebits shl 4 );
  11123. end;
  11124. function TTMR1_T1CON.getTCKPS : TBits_2; inline;
  11125. begin
  11126. getTCKPS := (pTDefRegMap(@Self)^.val and $00000030) shr 4;
  11127. end;
  11128. procedure TTMR1_T1CON.setTGATE; inline;
  11129. begin
  11130. pTDefRegMap(@Self)^.&set := $00000080;
  11131. end;
  11132. procedure TTMR1_T1CON.clearTGATE; inline;
  11133. begin
  11134. pTDefRegMap(@Self)^.clr := $00000080;
  11135. end;
  11136. procedure TTMR1_T1CON.setTGATE(thebits : TBits_1); inline;
  11137. begin
  11138. if thebits = 0 then
  11139. pTDefRegMap(@Self)^.clr := $00000080
  11140. else
  11141. pTDefRegMap(@Self)^.&set := $00000080;
  11142. end;
  11143. function TTMR1_T1CON.getTGATE : TBits_1; inline;
  11144. begin
  11145. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11146. end;
  11147. procedure TTMR1_T1CON.setTWIP; inline;
  11148. begin
  11149. pTDefRegMap(@Self)^.&set := $00000800;
  11150. end;
  11151. procedure TTMR1_T1CON.clearTWIP; inline;
  11152. begin
  11153. pTDefRegMap(@Self)^.clr := $00000800;
  11154. end;
  11155. procedure TTMR1_T1CON.setTWIP(thebits : TBits_1); inline;
  11156. begin
  11157. if thebits = 0 then
  11158. pTDefRegMap(@Self)^.clr := $00000800
  11159. else
  11160. pTDefRegMap(@Self)^.&set := $00000800;
  11161. end;
  11162. function TTMR1_T1CON.getTWIP : TBits_1; inline;
  11163. begin
  11164. getTWIP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  11165. end;
  11166. procedure TTMR1_T1CON.setTWDIS; inline;
  11167. begin
  11168. pTDefRegMap(@Self)^.&set := $00001000;
  11169. end;
  11170. procedure TTMR1_T1CON.clearTWDIS; inline;
  11171. begin
  11172. pTDefRegMap(@Self)^.clr := $00001000;
  11173. end;
  11174. procedure TTMR1_T1CON.setTWDIS(thebits : TBits_1); inline;
  11175. begin
  11176. if thebits = 0 then
  11177. pTDefRegMap(@Self)^.clr := $00001000
  11178. else
  11179. pTDefRegMap(@Self)^.&set := $00001000;
  11180. end;
  11181. function TTMR1_T1CON.getTWDIS : TBits_1; inline;
  11182. begin
  11183. getTWDIS := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  11184. end;
  11185. procedure TTMR1_T1CON.setSIDL; inline;
  11186. begin
  11187. pTDefRegMap(@Self)^.&set := $00002000;
  11188. end;
  11189. procedure TTMR1_T1CON.clearSIDL; inline;
  11190. begin
  11191. pTDefRegMap(@Self)^.clr := $00002000;
  11192. end;
  11193. procedure TTMR1_T1CON.setSIDL(thebits : TBits_1); inline;
  11194. begin
  11195. if thebits = 0 then
  11196. pTDefRegMap(@Self)^.clr := $00002000
  11197. else
  11198. pTDefRegMap(@Self)^.&set := $00002000;
  11199. end;
  11200. function TTMR1_T1CON.getSIDL : TBits_1; inline;
  11201. begin
  11202. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11203. end;
  11204. procedure TTMR1_T1CON.setON; inline;
  11205. begin
  11206. pTDefRegMap(@Self)^.&set := $00008000;
  11207. end;
  11208. procedure TTMR1_T1CON.clearON; inline;
  11209. begin
  11210. pTDefRegMap(@Self)^.clr := $00008000;
  11211. end;
  11212. procedure TTMR1_T1CON.setON(thebits : TBits_1); inline;
  11213. begin
  11214. if thebits = 0 then
  11215. pTDefRegMap(@Self)^.clr := $00008000
  11216. else
  11217. pTDefRegMap(@Self)^.&set := $00008000;
  11218. end;
  11219. function TTMR1_T1CON.getON : TBits_1; inline;
  11220. begin
  11221. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11222. end;
  11223. procedure TTMR1_T1CON.setTCKPS0; inline;
  11224. begin
  11225. pTDefRegMap(@Self)^.&set := $00000010;
  11226. end;
  11227. procedure TTMR1_T1CON.clearTCKPS0; inline;
  11228. begin
  11229. pTDefRegMap(@Self)^.clr := $00000010;
  11230. end;
  11231. procedure TTMR1_T1CON.setTCKPS0(thebits : TBits_1); inline;
  11232. begin
  11233. if thebits = 0 then
  11234. pTDefRegMap(@Self)^.clr := $00000010
  11235. else
  11236. pTDefRegMap(@Self)^.&set := $00000010;
  11237. end;
  11238. function TTMR1_T1CON.getTCKPS0 : TBits_1; inline;
  11239. begin
  11240. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11241. end;
  11242. procedure TTMR1_T1CON.setTCKPS1; inline;
  11243. begin
  11244. pTDefRegMap(@Self)^.&set := $00000020;
  11245. end;
  11246. procedure TTMR1_T1CON.clearTCKPS1; inline;
  11247. begin
  11248. pTDefRegMap(@Self)^.clr := $00000020;
  11249. end;
  11250. procedure TTMR1_T1CON.setTCKPS1(thebits : TBits_1); inline;
  11251. begin
  11252. if thebits = 0 then
  11253. pTDefRegMap(@Self)^.clr := $00000020
  11254. else
  11255. pTDefRegMap(@Self)^.&set := $00000020;
  11256. end;
  11257. function TTMR1_T1CON.getTCKPS1 : TBits_1; inline;
  11258. begin
  11259. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11260. end;
  11261. procedure TTMR1_T1CON.setTSIDL; inline;
  11262. begin
  11263. pTDefRegMap(@Self)^.&set := $00002000;
  11264. end;
  11265. procedure TTMR1_T1CON.clearTSIDL; inline;
  11266. begin
  11267. pTDefRegMap(@Self)^.clr := $00002000;
  11268. end;
  11269. procedure TTMR1_T1CON.setTSIDL(thebits : TBits_1); inline;
  11270. begin
  11271. if thebits = 0 then
  11272. pTDefRegMap(@Self)^.clr := $00002000
  11273. else
  11274. pTDefRegMap(@Self)^.&set := $00002000;
  11275. end;
  11276. function TTMR1_T1CON.getTSIDL : TBits_1; inline;
  11277. begin
  11278. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11279. end;
  11280. procedure TTMR1_T1CON.setTON; inline;
  11281. begin
  11282. pTDefRegMap(@Self)^.&set := $00008000;
  11283. end;
  11284. procedure TTMR1_T1CON.clearTON; inline;
  11285. begin
  11286. pTDefRegMap(@Self)^.clr := $00008000;
  11287. end;
  11288. procedure TTMR1_T1CON.setTON(thebits : TBits_1); inline;
  11289. begin
  11290. if thebits = 0 then
  11291. pTDefRegMap(@Self)^.clr := $00008000
  11292. else
  11293. pTDefRegMap(@Self)^.&set := $00008000;
  11294. end;
  11295. function TTMR1_T1CON.getTON : TBits_1; inline;
  11296. begin
  11297. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11298. end;
  11299. procedure TTMR1_T1CON.setw(thebits : TBits_32); inline;
  11300. begin
  11301. pTDefRegMap(@Self)^.val := thebits;
  11302. end;
  11303. function TTMR1_T1CON.getw : TBits_32; inline;
  11304. begin
  11305. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11306. end;
  11307. procedure TTMR2_T2CON.setTCS; inline;
  11308. begin
  11309. pTDefRegMap(@Self)^.&set := $00000002;
  11310. end;
  11311. procedure TTMR2_T2CON.clearTCS; inline;
  11312. begin
  11313. pTDefRegMap(@Self)^.clr := $00000002;
  11314. end;
  11315. procedure TTMR2_T2CON.setTCS(thebits : TBits_1); inline;
  11316. begin
  11317. if thebits = 0 then
  11318. pTDefRegMap(@Self)^.clr := $00000002
  11319. else
  11320. pTDefRegMap(@Self)^.&set := $00000002;
  11321. end;
  11322. function TTMR2_T2CON.getTCS : TBits_1; inline;
  11323. begin
  11324. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11325. end;
  11326. procedure TTMR2_T2CON.setT32; inline;
  11327. begin
  11328. pTDefRegMap(@Self)^.&set := $00000008;
  11329. end;
  11330. procedure TTMR2_T2CON.clearT32; inline;
  11331. begin
  11332. pTDefRegMap(@Self)^.clr := $00000008;
  11333. end;
  11334. procedure TTMR2_T2CON.setT32(thebits : TBits_1); inline;
  11335. begin
  11336. if thebits = 0 then
  11337. pTDefRegMap(@Self)^.clr := $00000008
  11338. else
  11339. pTDefRegMap(@Self)^.&set := $00000008;
  11340. end;
  11341. function TTMR2_T2CON.getT32 : TBits_1; inline;
  11342. begin
  11343. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11344. end;
  11345. procedure TTMR2_T2CON.setTCKPS(thebits : TBits_3); inline;
  11346. begin
  11347. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11348. end;
  11349. function TTMR2_T2CON.getTCKPS : TBits_3; inline;
  11350. begin
  11351. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11352. end;
  11353. procedure TTMR2_T2CON.setTGATE; inline;
  11354. begin
  11355. pTDefRegMap(@Self)^.&set := $00000080;
  11356. end;
  11357. procedure TTMR2_T2CON.clearTGATE; inline;
  11358. begin
  11359. pTDefRegMap(@Self)^.clr := $00000080;
  11360. end;
  11361. procedure TTMR2_T2CON.setTGATE(thebits : TBits_1); inline;
  11362. begin
  11363. if thebits = 0 then
  11364. pTDefRegMap(@Self)^.clr := $00000080
  11365. else
  11366. pTDefRegMap(@Self)^.&set := $00000080;
  11367. end;
  11368. function TTMR2_T2CON.getTGATE : TBits_1; inline;
  11369. begin
  11370. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11371. end;
  11372. procedure TTMR2_T2CON.setSIDL; inline;
  11373. begin
  11374. pTDefRegMap(@Self)^.&set := $00002000;
  11375. end;
  11376. procedure TTMR2_T2CON.clearSIDL; inline;
  11377. begin
  11378. pTDefRegMap(@Self)^.clr := $00002000;
  11379. end;
  11380. procedure TTMR2_T2CON.setSIDL(thebits : TBits_1); inline;
  11381. begin
  11382. if thebits = 0 then
  11383. pTDefRegMap(@Self)^.clr := $00002000
  11384. else
  11385. pTDefRegMap(@Self)^.&set := $00002000;
  11386. end;
  11387. function TTMR2_T2CON.getSIDL : TBits_1; inline;
  11388. begin
  11389. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11390. end;
  11391. procedure TTMR2_T2CON.setON; inline;
  11392. begin
  11393. pTDefRegMap(@Self)^.&set := $00008000;
  11394. end;
  11395. procedure TTMR2_T2CON.clearON; inline;
  11396. begin
  11397. pTDefRegMap(@Self)^.clr := $00008000;
  11398. end;
  11399. procedure TTMR2_T2CON.setON(thebits : TBits_1); inline;
  11400. begin
  11401. if thebits = 0 then
  11402. pTDefRegMap(@Self)^.clr := $00008000
  11403. else
  11404. pTDefRegMap(@Self)^.&set := $00008000;
  11405. end;
  11406. function TTMR2_T2CON.getON : TBits_1; inline;
  11407. begin
  11408. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11409. end;
  11410. procedure TTMR2_T2CON.setTCKPS0; inline;
  11411. begin
  11412. pTDefRegMap(@Self)^.&set := $00000010;
  11413. end;
  11414. procedure TTMR2_T2CON.clearTCKPS0; inline;
  11415. begin
  11416. pTDefRegMap(@Self)^.clr := $00000010;
  11417. end;
  11418. procedure TTMR2_T2CON.setTCKPS0(thebits : TBits_1); inline;
  11419. begin
  11420. if thebits = 0 then
  11421. pTDefRegMap(@Self)^.clr := $00000010
  11422. else
  11423. pTDefRegMap(@Self)^.&set := $00000010;
  11424. end;
  11425. function TTMR2_T2CON.getTCKPS0 : TBits_1; inline;
  11426. begin
  11427. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11428. end;
  11429. procedure TTMR2_T2CON.setTCKPS1; inline;
  11430. begin
  11431. pTDefRegMap(@Self)^.&set := $00000020;
  11432. end;
  11433. procedure TTMR2_T2CON.clearTCKPS1; inline;
  11434. begin
  11435. pTDefRegMap(@Self)^.clr := $00000020;
  11436. end;
  11437. procedure TTMR2_T2CON.setTCKPS1(thebits : TBits_1); inline;
  11438. begin
  11439. if thebits = 0 then
  11440. pTDefRegMap(@Self)^.clr := $00000020
  11441. else
  11442. pTDefRegMap(@Self)^.&set := $00000020;
  11443. end;
  11444. function TTMR2_T2CON.getTCKPS1 : TBits_1; inline;
  11445. begin
  11446. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11447. end;
  11448. procedure TTMR2_T2CON.setTCKPS2; inline;
  11449. begin
  11450. pTDefRegMap(@Self)^.&set := $00000040;
  11451. end;
  11452. procedure TTMR2_T2CON.clearTCKPS2; inline;
  11453. begin
  11454. pTDefRegMap(@Self)^.clr := $00000040;
  11455. end;
  11456. procedure TTMR2_T2CON.setTCKPS2(thebits : TBits_1); inline;
  11457. begin
  11458. if thebits = 0 then
  11459. pTDefRegMap(@Self)^.clr := $00000040
  11460. else
  11461. pTDefRegMap(@Self)^.&set := $00000040;
  11462. end;
  11463. function TTMR2_T2CON.getTCKPS2 : TBits_1; inline;
  11464. begin
  11465. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11466. end;
  11467. procedure TTMR2_T2CON.setTSIDL; inline;
  11468. begin
  11469. pTDefRegMap(@Self)^.&set := $00002000;
  11470. end;
  11471. procedure TTMR2_T2CON.clearTSIDL; inline;
  11472. begin
  11473. pTDefRegMap(@Self)^.clr := $00002000;
  11474. end;
  11475. procedure TTMR2_T2CON.setTSIDL(thebits : TBits_1); inline;
  11476. begin
  11477. if thebits = 0 then
  11478. pTDefRegMap(@Self)^.clr := $00002000
  11479. else
  11480. pTDefRegMap(@Self)^.&set := $00002000;
  11481. end;
  11482. function TTMR2_T2CON.getTSIDL : TBits_1; inline;
  11483. begin
  11484. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11485. end;
  11486. procedure TTMR2_T2CON.setTON; inline;
  11487. begin
  11488. pTDefRegMap(@Self)^.&set := $00008000;
  11489. end;
  11490. procedure TTMR2_T2CON.clearTON; inline;
  11491. begin
  11492. pTDefRegMap(@Self)^.clr := $00008000;
  11493. end;
  11494. procedure TTMR2_T2CON.setTON(thebits : TBits_1); inline;
  11495. begin
  11496. if thebits = 0 then
  11497. pTDefRegMap(@Self)^.clr := $00008000
  11498. else
  11499. pTDefRegMap(@Self)^.&set := $00008000;
  11500. end;
  11501. function TTMR2_T2CON.getTON : TBits_1; inline;
  11502. begin
  11503. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11504. end;
  11505. procedure TTMR2_T2CON.setw(thebits : TBits_32); inline;
  11506. begin
  11507. pTDefRegMap(@Self)^.val := thebits;
  11508. end;
  11509. function TTMR2_T2CON.getw : TBits_32; inline;
  11510. begin
  11511. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11512. end;
  11513. procedure TTMR3_T3CON.setTCS; inline;
  11514. begin
  11515. pTDefRegMap(@Self)^.&set := $00000002;
  11516. end;
  11517. procedure TTMR3_T3CON.clearTCS; inline;
  11518. begin
  11519. pTDefRegMap(@Self)^.clr := $00000002;
  11520. end;
  11521. procedure TTMR3_T3CON.setTCS(thebits : TBits_1); inline;
  11522. begin
  11523. if thebits = 0 then
  11524. pTDefRegMap(@Self)^.clr := $00000002
  11525. else
  11526. pTDefRegMap(@Self)^.&set := $00000002;
  11527. end;
  11528. function TTMR3_T3CON.getTCS : TBits_1; inline;
  11529. begin
  11530. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11531. end;
  11532. procedure TTMR3_T3CON.setTCKPS(thebits : TBits_3); inline;
  11533. begin
  11534. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11535. end;
  11536. function TTMR3_T3CON.getTCKPS : TBits_3; inline;
  11537. begin
  11538. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11539. end;
  11540. procedure TTMR3_T3CON.setTGATE; inline;
  11541. begin
  11542. pTDefRegMap(@Self)^.&set := $00000080;
  11543. end;
  11544. procedure TTMR3_T3CON.clearTGATE; inline;
  11545. begin
  11546. pTDefRegMap(@Self)^.clr := $00000080;
  11547. end;
  11548. procedure TTMR3_T3CON.setTGATE(thebits : TBits_1); inline;
  11549. begin
  11550. if thebits = 0 then
  11551. pTDefRegMap(@Self)^.clr := $00000080
  11552. else
  11553. pTDefRegMap(@Self)^.&set := $00000080;
  11554. end;
  11555. function TTMR3_T3CON.getTGATE : TBits_1; inline;
  11556. begin
  11557. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11558. end;
  11559. procedure TTMR3_T3CON.setSIDL; inline;
  11560. begin
  11561. pTDefRegMap(@Self)^.&set := $00002000;
  11562. end;
  11563. procedure TTMR3_T3CON.clearSIDL; inline;
  11564. begin
  11565. pTDefRegMap(@Self)^.clr := $00002000;
  11566. end;
  11567. procedure TTMR3_T3CON.setSIDL(thebits : TBits_1); inline;
  11568. begin
  11569. if thebits = 0 then
  11570. pTDefRegMap(@Self)^.clr := $00002000
  11571. else
  11572. pTDefRegMap(@Self)^.&set := $00002000;
  11573. end;
  11574. function TTMR3_T3CON.getSIDL : TBits_1; inline;
  11575. begin
  11576. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11577. end;
  11578. procedure TTMR3_T3CON.setON; inline;
  11579. begin
  11580. pTDefRegMap(@Self)^.&set := $00008000;
  11581. end;
  11582. procedure TTMR3_T3CON.clearON; inline;
  11583. begin
  11584. pTDefRegMap(@Self)^.clr := $00008000;
  11585. end;
  11586. procedure TTMR3_T3CON.setON(thebits : TBits_1); inline;
  11587. begin
  11588. if thebits = 0 then
  11589. pTDefRegMap(@Self)^.clr := $00008000
  11590. else
  11591. pTDefRegMap(@Self)^.&set := $00008000;
  11592. end;
  11593. function TTMR3_T3CON.getON : TBits_1; inline;
  11594. begin
  11595. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11596. end;
  11597. procedure TTMR3_T3CON.setTCKPS0; inline;
  11598. begin
  11599. pTDefRegMap(@Self)^.&set := $00000010;
  11600. end;
  11601. procedure TTMR3_T3CON.clearTCKPS0; inline;
  11602. begin
  11603. pTDefRegMap(@Self)^.clr := $00000010;
  11604. end;
  11605. procedure TTMR3_T3CON.setTCKPS0(thebits : TBits_1); inline;
  11606. begin
  11607. if thebits = 0 then
  11608. pTDefRegMap(@Self)^.clr := $00000010
  11609. else
  11610. pTDefRegMap(@Self)^.&set := $00000010;
  11611. end;
  11612. function TTMR3_T3CON.getTCKPS0 : TBits_1; inline;
  11613. begin
  11614. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11615. end;
  11616. procedure TTMR3_T3CON.setTCKPS1; inline;
  11617. begin
  11618. pTDefRegMap(@Self)^.&set := $00000020;
  11619. end;
  11620. procedure TTMR3_T3CON.clearTCKPS1; inline;
  11621. begin
  11622. pTDefRegMap(@Self)^.clr := $00000020;
  11623. end;
  11624. procedure TTMR3_T3CON.setTCKPS1(thebits : TBits_1); inline;
  11625. begin
  11626. if thebits = 0 then
  11627. pTDefRegMap(@Self)^.clr := $00000020
  11628. else
  11629. pTDefRegMap(@Self)^.&set := $00000020;
  11630. end;
  11631. function TTMR3_T3CON.getTCKPS1 : TBits_1; inline;
  11632. begin
  11633. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11634. end;
  11635. procedure TTMR3_T3CON.setTCKPS2; inline;
  11636. begin
  11637. pTDefRegMap(@Self)^.&set := $00000040;
  11638. end;
  11639. procedure TTMR3_T3CON.clearTCKPS2; inline;
  11640. begin
  11641. pTDefRegMap(@Self)^.clr := $00000040;
  11642. end;
  11643. procedure TTMR3_T3CON.setTCKPS2(thebits : TBits_1); inline;
  11644. begin
  11645. if thebits = 0 then
  11646. pTDefRegMap(@Self)^.clr := $00000040
  11647. else
  11648. pTDefRegMap(@Self)^.&set := $00000040;
  11649. end;
  11650. function TTMR3_T3CON.getTCKPS2 : TBits_1; inline;
  11651. begin
  11652. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11653. end;
  11654. procedure TTMR3_T3CON.setTSIDL; inline;
  11655. begin
  11656. pTDefRegMap(@Self)^.&set := $00002000;
  11657. end;
  11658. procedure TTMR3_T3CON.clearTSIDL; inline;
  11659. begin
  11660. pTDefRegMap(@Self)^.clr := $00002000;
  11661. end;
  11662. procedure TTMR3_T3CON.setTSIDL(thebits : TBits_1); inline;
  11663. begin
  11664. if thebits = 0 then
  11665. pTDefRegMap(@Self)^.clr := $00002000
  11666. else
  11667. pTDefRegMap(@Self)^.&set := $00002000;
  11668. end;
  11669. function TTMR3_T3CON.getTSIDL : TBits_1; inline;
  11670. begin
  11671. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11672. end;
  11673. procedure TTMR3_T3CON.setTON; inline;
  11674. begin
  11675. pTDefRegMap(@Self)^.&set := $00008000;
  11676. end;
  11677. procedure TTMR3_T3CON.clearTON; inline;
  11678. begin
  11679. pTDefRegMap(@Self)^.clr := $00008000;
  11680. end;
  11681. procedure TTMR3_T3CON.setTON(thebits : TBits_1); inline;
  11682. begin
  11683. if thebits = 0 then
  11684. pTDefRegMap(@Self)^.clr := $00008000
  11685. else
  11686. pTDefRegMap(@Self)^.&set := $00008000;
  11687. end;
  11688. function TTMR3_T3CON.getTON : TBits_1; inline;
  11689. begin
  11690. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11691. end;
  11692. procedure TTMR3_T3CON.setw(thebits : TBits_32); inline;
  11693. begin
  11694. pTDefRegMap(@Self)^.val := thebits;
  11695. end;
  11696. function TTMR3_T3CON.getw : TBits_32; inline;
  11697. begin
  11698. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11699. end;
  11700. procedure TTMR4_T4CON.setTCS; inline;
  11701. begin
  11702. pTDefRegMap(@Self)^.&set := $00000002;
  11703. end;
  11704. procedure TTMR4_T4CON.clearTCS; inline;
  11705. begin
  11706. pTDefRegMap(@Self)^.clr := $00000002;
  11707. end;
  11708. procedure TTMR4_T4CON.setTCS(thebits : TBits_1); inline;
  11709. begin
  11710. if thebits = 0 then
  11711. pTDefRegMap(@Self)^.clr := $00000002
  11712. else
  11713. pTDefRegMap(@Self)^.&set := $00000002;
  11714. end;
  11715. function TTMR4_T4CON.getTCS : TBits_1; inline;
  11716. begin
  11717. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11718. end;
  11719. procedure TTMR4_T4CON.setT32; inline;
  11720. begin
  11721. pTDefRegMap(@Self)^.&set := $00000008;
  11722. end;
  11723. procedure TTMR4_T4CON.clearT32; inline;
  11724. begin
  11725. pTDefRegMap(@Self)^.clr := $00000008;
  11726. end;
  11727. procedure TTMR4_T4CON.setT32(thebits : TBits_1); inline;
  11728. begin
  11729. if thebits = 0 then
  11730. pTDefRegMap(@Self)^.clr := $00000008
  11731. else
  11732. pTDefRegMap(@Self)^.&set := $00000008;
  11733. end;
  11734. function TTMR4_T4CON.getT32 : TBits_1; inline;
  11735. begin
  11736. getT32 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  11737. end;
  11738. procedure TTMR4_T4CON.setTCKPS(thebits : TBits_3); inline;
  11739. begin
  11740. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11741. end;
  11742. function TTMR4_T4CON.getTCKPS : TBits_3; inline;
  11743. begin
  11744. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11745. end;
  11746. procedure TTMR4_T4CON.setTGATE; inline;
  11747. begin
  11748. pTDefRegMap(@Self)^.&set := $00000080;
  11749. end;
  11750. procedure TTMR4_T4CON.clearTGATE; inline;
  11751. begin
  11752. pTDefRegMap(@Self)^.clr := $00000080;
  11753. end;
  11754. procedure TTMR4_T4CON.setTGATE(thebits : TBits_1); inline;
  11755. begin
  11756. if thebits = 0 then
  11757. pTDefRegMap(@Self)^.clr := $00000080
  11758. else
  11759. pTDefRegMap(@Self)^.&set := $00000080;
  11760. end;
  11761. function TTMR4_T4CON.getTGATE : TBits_1; inline;
  11762. begin
  11763. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11764. end;
  11765. procedure TTMR4_T4CON.setSIDL; inline;
  11766. begin
  11767. pTDefRegMap(@Self)^.&set := $00002000;
  11768. end;
  11769. procedure TTMR4_T4CON.clearSIDL; inline;
  11770. begin
  11771. pTDefRegMap(@Self)^.clr := $00002000;
  11772. end;
  11773. procedure TTMR4_T4CON.setSIDL(thebits : TBits_1); inline;
  11774. begin
  11775. if thebits = 0 then
  11776. pTDefRegMap(@Self)^.clr := $00002000
  11777. else
  11778. pTDefRegMap(@Self)^.&set := $00002000;
  11779. end;
  11780. function TTMR4_T4CON.getSIDL : TBits_1; inline;
  11781. begin
  11782. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11783. end;
  11784. procedure TTMR4_T4CON.setON; inline;
  11785. begin
  11786. pTDefRegMap(@Self)^.&set := $00008000;
  11787. end;
  11788. procedure TTMR4_T4CON.clearON; inline;
  11789. begin
  11790. pTDefRegMap(@Self)^.clr := $00008000;
  11791. end;
  11792. procedure TTMR4_T4CON.setON(thebits : TBits_1); inline;
  11793. begin
  11794. if thebits = 0 then
  11795. pTDefRegMap(@Self)^.clr := $00008000
  11796. else
  11797. pTDefRegMap(@Self)^.&set := $00008000;
  11798. end;
  11799. function TTMR4_T4CON.getON : TBits_1; inline;
  11800. begin
  11801. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11802. end;
  11803. procedure TTMR4_T4CON.setTCKPS0; inline;
  11804. begin
  11805. pTDefRegMap(@Self)^.&set := $00000010;
  11806. end;
  11807. procedure TTMR4_T4CON.clearTCKPS0; inline;
  11808. begin
  11809. pTDefRegMap(@Self)^.clr := $00000010;
  11810. end;
  11811. procedure TTMR4_T4CON.setTCKPS0(thebits : TBits_1); inline;
  11812. begin
  11813. if thebits = 0 then
  11814. pTDefRegMap(@Self)^.clr := $00000010
  11815. else
  11816. pTDefRegMap(@Self)^.&set := $00000010;
  11817. end;
  11818. function TTMR4_T4CON.getTCKPS0 : TBits_1; inline;
  11819. begin
  11820. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  11821. end;
  11822. procedure TTMR4_T4CON.setTCKPS1; inline;
  11823. begin
  11824. pTDefRegMap(@Self)^.&set := $00000020;
  11825. end;
  11826. procedure TTMR4_T4CON.clearTCKPS1; inline;
  11827. begin
  11828. pTDefRegMap(@Self)^.clr := $00000020;
  11829. end;
  11830. procedure TTMR4_T4CON.setTCKPS1(thebits : TBits_1); inline;
  11831. begin
  11832. if thebits = 0 then
  11833. pTDefRegMap(@Self)^.clr := $00000020
  11834. else
  11835. pTDefRegMap(@Self)^.&set := $00000020;
  11836. end;
  11837. function TTMR4_T4CON.getTCKPS1 : TBits_1; inline;
  11838. begin
  11839. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  11840. end;
  11841. procedure TTMR4_T4CON.setTCKPS2; inline;
  11842. begin
  11843. pTDefRegMap(@Self)^.&set := $00000040;
  11844. end;
  11845. procedure TTMR4_T4CON.clearTCKPS2; inline;
  11846. begin
  11847. pTDefRegMap(@Self)^.clr := $00000040;
  11848. end;
  11849. procedure TTMR4_T4CON.setTCKPS2(thebits : TBits_1); inline;
  11850. begin
  11851. if thebits = 0 then
  11852. pTDefRegMap(@Self)^.clr := $00000040
  11853. else
  11854. pTDefRegMap(@Self)^.&set := $00000040;
  11855. end;
  11856. function TTMR4_T4CON.getTCKPS2 : TBits_1; inline;
  11857. begin
  11858. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  11859. end;
  11860. procedure TTMR4_T4CON.setTSIDL; inline;
  11861. begin
  11862. pTDefRegMap(@Self)^.&set := $00002000;
  11863. end;
  11864. procedure TTMR4_T4CON.clearTSIDL; inline;
  11865. begin
  11866. pTDefRegMap(@Self)^.clr := $00002000;
  11867. end;
  11868. procedure TTMR4_T4CON.setTSIDL(thebits : TBits_1); inline;
  11869. begin
  11870. if thebits = 0 then
  11871. pTDefRegMap(@Self)^.clr := $00002000
  11872. else
  11873. pTDefRegMap(@Self)^.&set := $00002000;
  11874. end;
  11875. function TTMR4_T4CON.getTSIDL : TBits_1; inline;
  11876. begin
  11877. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11878. end;
  11879. procedure TTMR4_T4CON.setTON; inline;
  11880. begin
  11881. pTDefRegMap(@Self)^.&set := $00008000;
  11882. end;
  11883. procedure TTMR4_T4CON.clearTON; inline;
  11884. begin
  11885. pTDefRegMap(@Self)^.clr := $00008000;
  11886. end;
  11887. procedure TTMR4_T4CON.setTON(thebits : TBits_1); inline;
  11888. begin
  11889. if thebits = 0 then
  11890. pTDefRegMap(@Self)^.clr := $00008000
  11891. else
  11892. pTDefRegMap(@Self)^.&set := $00008000;
  11893. end;
  11894. function TTMR4_T4CON.getTON : TBits_1; inline;
  11895. begin
  11896. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11897. end;
  11898. procedure TTMR4_T4CON.setw(thebits : TBits_32); inline;
  11899. begin
  11900. pTDefRegMap(@Self)^.val := thebits;
  11901. end;
  11902. function TTMR4_T4CON.getw : TBits_32; inline;
  11903. begin
  11904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  11905. end;
  11906. procedure TTMR5_T5CON.setTCS; inline;
  11907. begin
  11908. pTDefRegMap(@Self)^.&set := $00000002;
  11909. end;
  11910. procedure TTMR5_T5CON.clearTCS; inline;
  11911. begin
  11912. pTDefRegMap(@Self)^.clr := $00000002;
  11913. end;
  11914. procedure TTMR5_T5CON.setTCS(thebits : TBits_1); inline;
  11915. begin
  11916. if thebits = 0 then
  11917. pTDefRegMap(@Self)^.clr := $00000002
  11918. else
  11919. pTDefRegMap(@Self)^.&set := $00000002;
  11920. end;
  11921. function TTMR5_T5CON.getTCS : TBits_1; inline;
  11922. begin
  11923. getTCS := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  11924. end;
  11925. procedure TTMR5_T5CON.setTCKPS(thebits : TBits_3); inline;
  11926. begin
  11927. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  11928. end;
  11929. function TTMR5_T5CON.getTCKPS : TBits_3; inline;
  11930. begin
  11931. getTCKPS := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  11932. end;
  11933. procedure TTMR5_T5CON.setTGATE; inline;
  11934. begin
  11935. pTDefRegMap(@Self)^.&set := $00000080;
  11936. end;
  11937. procedure TTMR5_T5CON.clearTGATE; inline;
  11938. begin
  11939. pTDefRegMap(@Self)^.clr := $00000080;
  11940. end;
  11941. procedure TTMR5_T5CON.setTGATE(thebits : TBits_1); inline;
  11942. begin
  11943. if thebits = 0 then
  11944. pTDefRegMap(@Self)^.clr := $00000080
  11945. else
  11946. pTDefRegMap(@Self)^.&set := $00000080;
  11947. end;
  11948. function TTMR5_T5CON.getTGATE : TBits_1; inline;
  11949. begin
  11950. getTGATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  11951. end;
  11952. procedure TTMR5_T5CON.setSIDL; inline;
  11953. begin
  11954. pTDefRegMap(@Self)^.&set := $00002000;
  11955. end;
  11956. procedure TTMR5_T5CON.clearSIDL; inline;
  11957. begin
  11958. pTDefRegMap(@Self)^.clr := $00002000;
  11959. end;
  11960. procedure TTMR5_T5CON.setSIDL(thebits : TBits_1); inline;
  11961. begin
  11962. if thebits = 0 then
  11963. pTDefRegMap(@Self)^.clr := $00002000
  11964. else
  11965. pTDefRegMap(@Self)^.&set := $00002000;
  11966. end;
  11967. function TTMR5_T5CON.getSIDL : TBits_1; inline;
  11968. begin
  11969. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  11970. end;
  11971. procedure TTMR5_T5CON.setON; inline;
  11972. begin
  11973. pTDefRegMap(@Self)^.&set := $00008000;
  11974. end;
  11975. procedure TTMR5_T5CON.clearON; inline;
  11976. begin
  11977. pTDefRegMap(@Self)^.clr := $00008000;
  11978. end;
  11979. procedure TTMR5_T5CON.setON(thebits : TBits_1); inline;
  11980. begin
  11981. if thebits = 0 then
  11982. pTDefRegMap(@Self)^.clr := $00008000
  11983. else
  11984. pTDefRegMap(@Self)^.&set := $00008000;
  11985. end;
  11986. function TTMR5_T5CON.getON : TBits_1; inline;
  11987. begin
  11988. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  11989. end;
  11990. procedure TTMR5_T5CON.setTCKPS0; inline;
  11991. begin
  11992. pTDefRegMap(@Self)^.&set := $00000010;
  11993. end;
  11994. procedure TTMR5_T5CON.clearTCKPS0; inline;
  11995. begin
  11996. pTDefRegMap(@Self)^.clr := $00000010;
  11997. end;
  11998. procedure TTMR5_T5CON.setTCKPS0(thebits : TBits_1); inline;
  11999. begin
  12000. if thebits = 0 then
  12001. pTDefRegMap(@Self)^.clr := $00000010
  12002. else
  12003. pTDefRegMap(@Self)^.&set := $00000010;
  12004. end;
  12005. function TTMR5_T5CON.getTCKPS0 : TBits_1; inline;
  12006. begin
  12007. getTCKPS0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12008. end;
  12009. procedure TTMR5_T5CON.setTCKPS1; inline;
  12010. begin
  12011. pTDefRegMap(@Self)^.&set := $00000020;
  12012. end;
  12013. procedure TTMR5_T5CON.clearTCKPS1; inline;
  12014. begin
  12015. pTDefRegMap(@Self)^.clr := $00000020;
  12016. end;
  12017. procedure TTMR5_T5CON.setTCKPS1(thebits : TBits_1); inline;
  12018. begin
  12019. if thebits = 0 then
  12020. pTDefRegMap(@Self)^.clr := $00000020
  12021. else
  12022. pTDefRegMap(@Self)^.&set := $00000020;
  12023. end;
  12024. function TTMR5_T5CON.getTCKPS1 : TBits_1; inline;
  12025. begin
  12026. getTCKPS1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12027. end;
  12028. procedure TTMR5_T5CON.setTCKPS2; inline;
  12029. begin
  12030. pTDefRegMap(@Self)^.&set := $00000040;
  12031. end;
  12032. procedure TTMR5_T5CON.clearTCKPS2; inline;
  12033. begin
  12034. pTDefRegMap(@Self)^.clr := $00000040;
  12035. end;
  12036. procedure TTMR5_T5CON.setTCKPS2(thebits : TBits_1); inline;
  12037. begin
  12038. if thebits = 0 then
  12039. pTDefRegMap(@Self)^.clr := $00000040
  12040. else
  12041. pTDefRegMap(@Self)^.&set := $00000040;
  12042. end;
  12043. function TTMR5_T5CON.getTCKPS2 : TBits_1; inline;
  12044. begin
  12045. getTCKPS2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12046. end;
  12047. procedure TTMR5_T5CON.setTSIDL; inline;
  12048. begin
  12049. pTDefRegMap(@Self)^.&set := $00002000;
  12050. end;
  12051. procedure TTMR5_T5CON.clearTSIDL; inline;
  12052. begin
  12053. pTDefRegMap(@Self)^.clr := $00002000;
  12054. end;
  12055. procedure TTMR5_T5CON.setTSIDL(thebits : TBits_1); inline;
  12056. begin
  12057. if thebits = 0 then
  12058. pTDefRegMap(@Self)^.clr := $00002000
  12059. else
  12060. pTDefRegMap(@Self)^.&set := $00002000;
  12061. end;
  12062. function TTMR5_T5CON.getTSIDL : TBits_1; inline;
  12063. begin
  12064. getTSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12065. end;
  12066. procedure TTMR5_T5CON.setTON; inline;
  12067. begin
  12068. pTDefRegMap(@Self)^.&set := $00008000;
  12069. end;
  12070. procedure TTMR5_T5CON.clearTON; inline;
  12071. begin
  12072. pTDefRegMap(@Self)^.clr := $00008000;
  12073. end;
  12074. procedure TTMR5_T5CON.setTON(thebits : TBits_1); inline;
  12075. begin
  12076. if thebits = 0 then
  12077. pTDefRegMap(@Self)^.clr := $00008000
  12078. else
  12079. pTDefRegMap(@Self)^.&set := $00008000;
  12080. end;
  12081. function TTMR5_T5CON.getTON : TBits_1; inline;
  12082. begin
  12083. getTON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12084. end;
  12085. procedure TTMR5_T5CON.setw(thebits : TBits_32); inline;
  12086. begin
  12087. pTDefRegMap(@Self)^.val := thebits;
  12088. end;
  12089. function TTMR5_T5CON.getw : TBits_32; inline;
  12090. begin
  12091. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12092. end;
  12093. procedure TICAP1_IC1CON.setICM(thebits : TBits_3); inline;
  12094. begin
  12095. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12096. end;
  12097. function TICAP1_IC1CON.getICM : TBits_3; inline;
  12098. begin
  12099. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12100. end;
  12101. procedure TICAP1_IC1CON.setICBNE; inline;
  12102. begin
  12103. pTDefRegMap(@Self)^.&set := $00000008;
  12104. end;
  12105. procedure TICAP1_IC1CON.clearICBNE; inline;
  12106. begin
  12107. pTDefRegMap(@Self)^.clr := $00000008;
  12108. end;
  12109. procedure TICAP1_IC1CON.setICBNE(thebits : TBits_1); inline;
  12110. begin
  12111. if thebits = 0 then
  12112. pTDefRegMap(@Self)^.clr := $00000008
  12113. else
  12114. pTDefRegMap(@Self)^.&set := $00000008;
  12115. end;
  12116. function TICAP1_IC1CON.getICBNE : TBits_1; inline;
  12117. begin
  12118. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12119. end;
  12120. procedure TICAP1_IC1CON.setICOV; inline;
  12121. begin
  12122. pTDefRegMap(@Self)^.&set := $00000010;
  12123. end;
  12124. procedure TICAP1_IC1CON.clearICOV; inline;
  12125. begin
  12126. pTDefRegMap(@Self)^.clr := $00000010;
  12127. end;
  12128. procedure TICAP1_IC1CON.setICOV(thebits : TBits_1); inline;
  12129. begin
  12130. if thebits = 0 then
  12131. pTDefRegMap(@Self)^.clr := $00000010
  12132. else
  12133. pTDefRegMap(@Self)^.&set := $00000010;
  12134. end;
  12135. function TICAP1_IC1CON.getICOV : TBits_1; inline;
  12136. begin
  12137. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12138. end;
  12139. procedure TICAP1_IC1CON.setICI(thebits : TBits_2); inline;
  12140. begin
  12141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12142. end;
  12143. function TICAP1_IC1CON.getICI : TBits_2; inline;
  12144. begin
  12145. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12146. end;
  12147. procedure TICAP1_IC1CON.setICTMR; inline;
  12148. begin
  12149. pTDefRegMap(@Self)^.&set := $00000080;
  12150. end;
  12151. procedure TICAP1_IC1CON.clearICTMR; inline;
  12152. begin
  12153. pTDefRegMap(@Self)^.clr := $00000080;
  12154. end;
  12155. procedure TICAP1_IC1CON.setICTMR(thebits : TBits_1); inline;
  12156. begin
  12157. if thebits = 0 then
  12158. pTDefRegMap(@Self)^.clr := $00000080
  12159. else
  12160. pTDefRegMap(@Self)^.&set := $00000080;
  12161. end;
  12162. function TICAP1_IC1CON.getICTMR : TBits_1; inline;
  12163. begin
  12164. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12165. end;
  12166. procedure TICAP1_IC1CON.setC32; inline;
  12167. begin
  12168. pTDefRegMap(@Self)^.&set := $00000100;
  12169. end;
  12170. procedure TICAP1_IC1CON.clearC32; inline;
  12171. begin
  12172. pTDefRegMap(@Self)^.clr := $00000100;
  12173. end;
  12174. procedure TICAP1_IC1CON.setC32(thebits : TBits_1); inline;
  12175. begin
  12176. if thebits = 0 then
  12177. pTDefRegMap(@Self)^.clr := $00000100
  12178. else
  12179. pTDefRegMap(@Self)^.&set := $00000100;
  12180. end;
  12181. function TICAP1_IC1CON.getC32 : TBits_1; inline;
  12182. begin
  12183. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12184. end;
  12185. procedure TICAP1_IC1CON.setFEDGE; inline;
  12186. begin
  12187. pTDefRegMap(@Self)^.&set := $00000200;
  12188. end;
  12189. procedure TICAP1_IC1CON.clearFEDGE; inline;
  12190. begin
  12191. pTDefRegMap(@Self)^.clr := $00000200;
  12192. end;
  12193. procedure TICAP1_IC1CON.setFEDGE(thebits : TBits_1); inline;
  12194. begin
  12195. if thebits = 0 then
  12196. pTDefRegMap(@Self)^.clr := $00000200
  12197. else
  12198. pTDefRegMap(@Self)^.&set := $00000200;
  12199. end;
  12200. function TICAP1_IC1CON.getFEDGE : TBits_1; inline;
  12201. begin
  12202. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12203. end;
  12204. procedure TICAP1_IC1CON.setSIDL; inline;
  12205. begin
  12206. pTDefRegMap(@Self)^.&set := $00002000;
  12207. end;
  12208. procedure TICAP1_IC1CON.clearSIDL; inline;
  12209. begin
  12210. pTDefRegMap(@Self)^.clr := $00002000;
  12211. end;
  12212. procedure TICAP1_IC1CON.setSIDL(thebits : TBits_1); inline;
  12213. begin
  12214. if thebits = 0 then
  12215. pTDefRegMap(@Self)^.clr := $00002000
  12216. else
  12217. pTDefRegMap(@Self)^.&set := $00002000;
  12218. end;
  12219. function TICAP1_IC1CON.getSIDL : TBits_1; inline;
  12220. begin
  12221. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12222. end;
  12223. procedure TICAP1_IC1CON.setON; inline;
  12224. begin
  12225. pTDefRegMap(@Self)^.&set := $00008000;
  12226. end;
  12227. procedure TICAP1_IC1CON.clearON; inline;
  12228. begin
  12229. pTDefRegMap(@Self)^.clr := $00008000;
  12230. end;
  12231. procedure TICAP1_IC1CON.setON(thebits : TBits_1); inline;
  12232. begin
  12233. if thebits = 0 then
  12234. pTDefRegMap(@Self)^.clr := $00008000
  12235. else
  12236. pTDefRegMap(@Self)^.&set := $00008000;
  12237. end;
  12238. function TICAP1_IC1CON.getON : TBits_1; inline;
  12239. begin
  12240. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12241. end;
  12242. procedure TICAP1_IC1CON.setICM0; inline;
  12243. begin
  12244. pTDefRegMap(@Self)^.&set := $00000001;
  12245. end;
  12246. procedure TICAP1_IC1CON.clearICM0; inline;
  12247. begin
  12248. pTDefRegMap(@Self)^.clr := $00000001;
  12249. end;
  12250. procedure TICAP1_IC1CON.setICM0(thebits : TBits_1); inline;
  12251. begin
  12252. if thebits = 0 then
  12253. pTDefRegMap(@Self)^.clr := $00000001
  12254. else
  12255. pTDefRegMap(@Self)^.&set := $00000001;
  12256. end;
  12257. function TICAP1_IC1CON.getICM0 : TBits_1; inline;
  12258. begin
  12259. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12260. end;
  12261. procedure TICAP1_IC1CON.setICM1; inline;
  12262. begin
  12263. pTDefRegMap(@Self)^.&set := $00000002;
  12264. end;
  12265. procedure TICAP1_IC1CON.clearICM1; inline;
  12266. begin
  12267. pTDefRegMap(@Self)^.clr := $00000002;
  12268. end;
  12269. procedure TICAP1_IC1CON.setICM1(thebits : TBits_1); inline;
  12270. begin
  12271. if thebits = 0 then
  12272. pTDefRegMap(@Self)^.clr := $00000002
  12273. else
  12274. pTDefRegMap(@Self)^.&set := $00000002;
  12275. end;
  12276. function TICAP1_IC1CON.getICM1 : TBits_1; inline;
  12277. begin
  12278. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12279. end;
  12280. procedure TICAP1_IC1CON.setICM2; inline;
  12281. begin
  12282. pTDefRegMap(@Self)^.&set := $00000004;
  12283. end;
  12284. procedure TICAP1_IC1CON.clearICM2; inline;
  12285. begin
  12286. pTDefRegMap(@Self)^.clr := $00000004;
  12287. end;
  12288. procedure TICAP1_IC1CON.setICM2(thebits : TBits_1); inline;
  12289. begin
  12290. if thebits = 0 then
  12291. pTDefRegMap(@Self)^.clr := $00000004
  12292. else
  12293. pTDefRegMap(@Self)^.&set := $00000004;
  12294. end;
  12295. function TICAP1_IC1CON.getICM2 : TBits_1; inline;
  12296. begin
  12297. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12298. end;
  12299. procedure TICAP1_IC1CON.setICI0; inline;
  12300. begin
  12301. pTDefRegMap(@Self)^.&set := $00000020;
  12302. end;
  12303. procedure TICAP1_IC1CON.clearICI0; inline;
  12304. begin
  12305. pTDefRegMap(@Self)^.clr := $00000020;
  12306. end;
  12307. procedure TICAP1_IC1CON.setICI0(thebits : TBits_1); inline;
  12308. begin
  12309. if thebits = 0 then
  12310. pTDefRegMap(@Self)^.clr := $00000020
  12311. else
  12312. pTDefRegMap(@Self)^.&set := $00000020;
  12313. end;
  12314. function TICAP1_IC1CON.getICI0 : TBits_1; inline;
  12315. begin
  12316. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12317. end;
  12318. procedure TICAP1_IC1CON.setICI1; inline;
  12319. begin
  12320. pTDefRegMap(@Self)^.&set := $00000040;
  12321. end;
  12322. procedure TICAP1_IC1CON.clearICI1; inline;
  12323. begin
  12324. pTDefRegMap(@Self)^.clr := $00000040;
  12325. end;
  12326. procedure TICAP1_IC1CON.setICI1(thebits : TBits_1); inline;
  12327. begin
  12328. if thebits = 0 then
  12329. pTDefRegMap(@Self)^.clr := $00000040
  12330. else
  12331. pTDefRegMap(@Self)^.&set := $00000040;
  12332. end;
  12333. function TICAP1_IC1CON.getICI1 : TBits_1; inline;
  12334. begin
  12335. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12336. end;
  12337. procedure TICAP1_IC1CON.setICSIDL; inline;
  12338. begin
  12339. pTDefRegMap(@Self)^.&set := $00002000;
  12340. end;
  12341. procedure TICAP1_IC1CON.clearICSIDL; inline;
  12342. begin
  12343. pTDefRegMap(@Self)^.clr := $00002000;
  12344. end;
  12345. procedure TICAP1_IC1CON.setICSIDL(thebits : TBits_1); inline;
  12346. begin
  12347. if thebits = 0 then
  12348. pTDefRegMap(@Self)^.clr := $00002000
  12349. else
  12350. pTDefRegMap(@Self)^.&set := $00002000;
  12351. end;
  12352. function TICAP1_IC1CON.getICSIDL : TBits_1; inline;
  12353. begin
  12354. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12355. end;
  12356. procedure TICAP1_IC1CON.setw(thebits : TBits_32); inline;
  12357. begin
  12358. pTDefRegMap(@Self)^.val := thebits;
  12359. end;
  12360. function TICAP1_IC1CON.getw : TBits_32; inline;
  12361. begin
  12362. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12363. end;
  12364. procedure TICAP2_IC2CON.setICM(thebits : TBits_3); inline;
  12365. begin
  12366. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12367. end;
  12368. function TICAP2_IC2CON.getICM : TBits_3; inline;
  12369. begin
  12370. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12371. end;
  12372. procedure TICAP2_IC2CON.setICBNE; inline;
  12373. begin
  12374. pTDefRegMap(@Self)^.&set := $00000008;
  12375. end;
  12376. procedure TICAP2_IC2CON.clearICBNE; inline;
  12377. begin
  12378. pTDefRegMap(@Self)^.clr := $00000008;
  12379. end;
  12380. procedure TICAP2_IC2CON.setICBNE(thebits : TBits_1); inline;
  12381. begin
  12382. if thebits = 0 then
  12383. pTDefRegMap(@Self)^.clr := $00000008
  12384. else
  12385. pTDefRegMap(@Self)^.&set := $00000008;
  12386. end;
  12387. function TICAP2_IC2CON.getICBNE : TBits_1; inline;
  12388. begin
  12389. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12390. end;
  12391. procedure TICAP2_IC2CON.setICOV; inline;
  12392. begin
  12393. pTDefRegMap(@Self)^.&set := $00000010;
  12394. end;
  12395. procedure TICAP2_IC2CON.clearICOV; inline;
  12396. begin
  12397. pTDefRegMap(@Self)^.clr := $00000010;
  12398. end;
  12399. procedure TICAP2_IC2CON.setICOV(thebits : TBits_1); inline;
  12400. begin
  12401. if thebits = 0 then
  12402. pTDefRegMap(@Self)^.clr := $00000010
  12403. else
  12404. pTDefRegMap(@Self)^.&set := $00000010;
  12405. end;
  12406. function TICAP2_IC2CON.getICOV : TBits_1; inline;
  12407. begin
  12408. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12409. end;
  12410. procedure TICAP2_IC2CON.setICI(thebits : TBits_2); inline;
  12411. begin
  12412. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12413. end;
  12414. function TICAP2_IC2CON.getICI : TBits_2; inline;
  12415. begin
  12416. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12417. end;
  12418. procedure TICAP2_IC2CON.setICTMR; inline;
  12419. begin
  12420. pTDefRegMap(@Self)^.&set := $00000080;
  12421. end;
  12422. procedure TICAP2_IC2CON.clearICTMR; inline;
  12423. begin
  12424. pTDefRegMap(@Self)^.clr := $00000080;
  12425. end;
  12426. procedure TICAP2_IC2CON.setICTMR(thebits : TBits_1); inline;
  12427. begin
  12428. if thebits = 0 then
  12429. pTDefRegMap(@Self)^.clr := $00000080
  12430. else
  12431. pTDefRegMap(@Self)^.&set := $00000080;
  12432. end;
  12433. function TICAP2_IC2CON.getICTMR : TBits_1; inline;
  12434. begin
  12435. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12436. end;
  12437. procedure TICAP2_IC2CON.setC32; inline;
  12438. begin
  12439. pTDefRegMap(@Self)^.&set := $00000100;
  12440. end;
  12441. procedure TICAP2_IC2CON.clearC32; inline;
  12442. begin
  12443. pTDefRegMap(@Self)^.clr := $00000100;
  12444. end;
  12445. procedure TICAP2_IC2CON.setC32(thebits : TBits_1); inline;
  12446. begin
  12447. if thebits = 0 then
  12448. pTDefRegMap(@Self)^.clr := $00000100
  12449. else
  12450. pTDefRegMap(@Self)^.&set := $00000100;
  12451. end;
  12452. function TICAP2_IC2CON.getC32 : TBits_1; inline;
  12453. begin
  12454. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12455. end;
  12456. procedure TICAP2_IC2CON.setFEDGE; inline;
  12457. begin
  12458. pTDefRegMap(@Self)^.&set := $00000200;
  12459. end;
  12460. procedure TICAP2_IC2CON.clearFEDGE; inline;
  12461. begin
  12462. pTDefRegMap(@Self)^.clr := $00000200;
  12463. end;
  12464. procedure TICAP2_IC2CON.setFEDGE(thebits : TBits_1); inline;
  12465. begin
  12466. if thebits = 0 then
  12467. pTDefRegMap(@Self)^.clr := $00000200
  12468. else
  12469. pTDefRegMap(@Self)^.&set := $00000200;
  12470. end;
  12471. function TICAP2_IC2CON.getFEDGE : TBits_1; inline;
  12472. begin
  12473. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12474. end;
  12475. procedure TICAP2_IC2CON.setSIDL; inline;
  12476. begin
  12477. pTDefRegMap(@Self)^.&set := $00002000;
  12478. end;
  12479. procedure TICAP2_IC2CON.clearSIDL; inline;
  12480. begin
  12481. pTDefRegMap(@Self)^.clr := $00002000;
  12482. end;
  12483. procedure TICAP2_IC2CON.setSIDL(thebits : TBits_1); inline;
  12484. begin
  12485. if thebits = 0 then
  12486. pTDefRegMap(@Self)^.clr := $00002000
  12487. else
  12488. pTDefRegMap(@Self)^.&set := $00002000;
  12489. end;
  12490. function TICAP2_IC2CON.getSIDL : TBits_1; inline;
  12491. begin
  12492. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12493. end;
  12494. procedure TICAP2_IC2CON.setON; inline;
  12495. begin
  12496. pTDefRegMap(@Self)^.&set := $00008000;
  12497. end;
  12498. procedure TICAP2_IC2CON.clearON; inline;
  12499. begin
  12500. pTDefRegMap(@Self)^.clr := $00008000;
  12501. end;
  12502. procedure TICAP2_IC2CON.setON(thebits : TBits_1); inline;
  12503. begin
  12504. if thebits = 0 then
  12505. pTDefRegMap(@Self)^.clr := $00008000
  12506. else
  12507. pTDefRegMap(@Self)^.&set := $00008000;
  12508. end;
  12509. function TICAP2_IC2CON.getON : TBits_1; inline;
  12510. begin
  12511. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12512. end;
  12513. procedure TICAP2_IC2CON.setICM0; inline;
  12514. begin
  12515. pTDefRegMap(@Self)^.&set := $00000001;
  12516. end;
  12517. procedure TICAP2_IC2CON.clearICM0; inline;
  12518. begin
  12519. pTDefRegMap(@Self)^.clr := $00000001;
  12520. end;
  12521. procedure TICAP2_IC2CON.setICM0(thebits : TBits_1); inline;
  12522. begin
  12523. if thebits = 0 then
  12524. pTDefRegMap(@Self)^.clr := $00000001
  12525. else
  12526. pTDefRegMap(@Self)^.&set := $00000001;
  12527. end;
  12528. function TICAP2_IC2CON.getICM0 : TBits_1; inline;
  12529. begin
  12530. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12531. end;
  12532. procedure TICAP2_IC2CON.setICM1; inline;
  12533. begin
  12534. pTDefRegMap(@Self)^.&set := $00000002;
  12535. end;
  12536. procedure TICAP2_IC2CON.clearICM1; inline;
  12537. begin
  12538. pTDefRegMap(@Self)^.clr := $00000002;
  12539. end;
  12540. procedure TICAP2_IC2CON.setICM1(thebits : TBits_1); inline;
  12541. begin
  12542. if thebits = 0 then
  12543. pTDefRegMap(@Self)^.clr := $00000002
  12544. else
  12545. pTDefRegMap(@Self)^.&set := $00000002;
  12546. end;
  12547. function TICAP2_IC2CON.getICM1 : TBits_1; inline;
  12548. begin
  12549. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12550. end;
  12551. procedure TICAP2_IC2CON.setICM2; inline;
  12552. begin
  12553. pTDefRegMap(@Self)^.&set := $00000004;
  12554. end;
  12555. procedure TICAP2_IC2CON.clearICM2; inline;
  12556. begin
  12557. pTDefRegMap(@Self)^.clr := $00000004;
  12558. end;
  12559. procedure TICAP2_IC2CON.setICM2(thebits : TBits_1); inline;
  12560. begin
  12561. if thebits = 0 then
  12562. pTDefRegMap(@Self)^.clr := $00000004
  12563. else
  12564. pTDefRegMap(@Self)^.&set := $00000004;
  12565. end;
  12566. function TICAP2_IC2CON.getICM2 : TBits_1; inline;
  12567. begin
  12568. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12569. end;
  12570. procedure TICAP2_IC2CON.setICI0; inline;
  12571. begin
  12572. pTDefRegMap(@Self)^.&set := $00000020;
  12573. end;
  12574. procedure TICAP2_IC2CON.clearICI0; inline;
  12575. begin
  12576. pTDefRegMap(@Self)^.clr := $00000020;
  12577. end;
  12578. procedure TICAP2_IC2CON.setICI0(thebits : TBits_1); inline;
  12579. begin
  12580. if thebits = 0 then
  12581. pTDefRegMap(@Self)^.clr := $00000020
  12582. else
  12583. pTDefRegMap(@Self)^.&set := $00000020;
  12584. end;
  12585. function TICAP2_IC2CON.getICI0 : TBits_1; inline;
  12586. begin
  12587. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12588. end;
  12589. procedure TICAP2_IC2CON.setICI1; inline;
  12590. begin
  12591. pTDefRegMap(@Self)^.&set := $00000040;
  12592. end;
  12593. procedure TICAP2_IC2CON.clearICI1; inline;
  12594. begin
  12595. pTDefRegMap(@Self)^.clr := $00000040;
  12596. end;
  12597. procedure TICAP2_IC2CON.setICI1(thebits : TBits_1); inline;
  12598. begin
  12599. if thebits = 0 then
  12600. pTDefRegMap(@Self)^.clr := $00000040
  12601. else
  12602. pTDefRegMap(@Self)^.&set := $00000040;
  12603. end;
  12604. function TICAP2_IC2CON.getICI1 : TBits_1; inline;
  12605. begin
  12606. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12607. end;
  12608. procedure TICAP2_IC2CON.setICSIDL; inline;
  12609. begin
  12610. pTDefRegMap(@Self)^.&set := $00002000;
  12611. end;
  12612. procedure TICAP2_IC2CON.clearICSIDL; inline;
  12613. begin
  12614. pTDefRegMap(@Self)^.clr := $00002000;
  12615. end;
  12616. procedure TICAP2_IC2CON.setICSIDL(thebits : TBits_1); inline;
  12617. begin
  12618. if thebits = 0 then
  12619. pTDefRegMap(@Self)^.clr := $00002000
  12620. else
  12621. pTDefRegMap(@Self)^.&set := $00002000;
  12622. end;
  12623. function TICAP2_IC2CON.getICSIDL : TBits_1; inline;
  12624. begin
  12625. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12626. end;
  12627. procedure TICAP2_IC2CON.setw(thebits : TBits_32); inline;
  12628. begin
  12629. pTDefRegMap(@Self)^.val := thebits;
  12630. end;
  12631. function TICAP2_IC2CON.getw : TBits_32; inline;
  12632. begin
  12633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12634. end;
  12635. procedure TICAP3_IC3CON.setICM(thebits : TBits_3); inline;
  12636. begin
  12637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12638. end;
  12639. function TICAP3_IC3CON.getICM : TBits_3; inline;
  12640. begin
  12641. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12642. end;
  12643. procedure TICAP3_IC3CON.setICBNE; inline;
  12644. begin
  12645. pTDefRegMap(@Self)^.&set := $00000008;
  12646. end;
  12647. procedure TICAP3_IC3CON.clearICBNE; inline;
  12648. begin
  12649. pTDefRegMap(@Self)^.clr := $00000008;
  12650. end;
  12651. procedure TICAP3_IC3CON.setICBNE(thebits : TBits_1); inline;
  12652. begin
  12653. if thebits = 0 then
  12654. pTDefRegMap(@Self)^.clr := $00000008
  12655. else
  12656. pTDefRegMap(@Self)^.&set := $00000008;
  12657. end;
  12658. function TICAP3_IC3CON.getICBNE : TBits_1; inline;
  12659. begin
  12660. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12661. end;
  12662. procedure TICAP3_IC3CON.setICOV; inline;
  12663. begin
  12664. pTDefRegMap(@Self)^.&set := $00000010;
  12665. end;
  12666. procedure TICAP3_IC3CON.clearICOV; inline;
  12667. begin
  12668. pTDefRegMap(@Self)^.clr := $00000010;
  12669. end;
  12670. procedure TICAP3_IC3CON.setICOV(thebits : TBits_1); inline;
  12671. begin
  12672. if thebits = 0 then
  12673. pTDefRegMap(@Self)^.clr := $00000010
  12674. else
  12675. pTDefRegMap(@Self)^.&set := $00000010;
  12676. end;
  12677. function TICAP3_IC3CON.getICOV : TBits_1; inline;
  12678. begin
  12679. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12680. end;
  12681. procedure TICAP3_IC3CON.setICI(thebits : TBits_2); inline;
  12682. begin
  12683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12684. end;
  12685. function TICAP3_IC3CON.getICI : TBits_2; inline;
  12686. begin
  12687. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12688. end;
  12689. procedure TICAP3_IC3CON.setICTMR; inline;
  12690. begin
  12691. pTDefRegMap(@Self)^.&set := $00000080;
  12692. end;
  12693. procedure TICAP3_IC3CON.clearICTMR; inline;
  12694. begin
  12695. pTDefRegMap(@Self)^.clr := $00000080;
  12696. end;
  12697. procedure TICAP3_IC3CON.setICTMR(thebits : TBits_1); inline;
  12698. begin
  12699. if thebits = 0 then
  12700. pTDefRegMap(@Self)^.clr := $00000080
  12701. else
  12702. pTDefRegMap(@Self)^.&set := $00000080;
  12703. end;
  12704. function TICAP3_IC3CON.getICTMR : TBits_1; inline;
  12705. begin
  12706. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12707. end;
  12708. procedure TICAP3_IC3CON.setC32; inline;
  12709. begin
  12710. pTDefRegMap(@Self)^.&set := $00000100;
  12711. end;
  12712. procedure TICAP3_IC3CON.clearC32; inline;
  12713. begin
  12714. pTDefRegMap(@Self)^.clr := $00000100;
  12715. end;
  12716. procedure TICAP3_IC3CON.setC32(thebits : TBits_1); inline;
  12717. begin
  12718. if thebits = 0 then
  12719. pTDefRegMap(@Self)^.clr := $00000100
  12720. else
  12721. pTDefRegMap(@Self)^.&set := $00000100;
  12722. end;
  12723. function TICAP3_IC3CON.getC32 : TBits_1; inline;
  12724. begin
  12725. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12726. end;
  12727. procedure TICAP3_IC3CON.setFEDGE; inline;
  12728. begin
  12729. pTDefRegMap(@Self)^.&set := $00000200;
  12730. end;
  12731. procedure TICAP3_IC3CON.clearFEDGE; inline;
  12732. begin
  12733. pTDefRegMap(@Self)^.clr := $00000200;
  12734. end;
  12735. procedure TICAP3_IC3CON.setFEDGE(thebits : TBits_1); inline;
  12736. begin
  12737. if thebits = 0 then
  12738. pTDefRegMap(@Self)^.clr := $00000200
  12739. else
  12740. pTDefRegMap(@Self)^.&set := $00000200;
  12741. end;
  12742. function TICAP3_IC3CON.getFEDGE : TBits_1; inline;
  12743. begin
  12744. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  12745. end;
  12746. procedure TICAP3_IC3CON.setSIDL; inline;
  12747. begin
  12748. pTDefRegMap(@Self)^.&set := $00002000;
  12749. end;
  12750. procedure TICAP3_IC3CON.clearSIDL; inline;
  12751. begin
  12752. pTDefRegMap(@Self)^.clr := $00002000;
  12753. end;
  12754. procedure TICAP3_IC3CON.setSIDL(thebits : TBits_1); inline;
  12755. begin
  12756. if thebits = 0 then
  12757. pTDefRegMap(@Self)^.clr := $00002000
  12758. else
  12759. pTDefRegMap(@Self)^.&set := $00002000;
  12760. end;
  12761. function TICAP3_IC3CON.getSIDL : TBits_1; inline;
  12762. begin
  12763. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12764. end;
  12765. procedure TICAP3_IC3CON.setON; inline;
  12766. begin
  12767. pTDefRegMap(@Self)^.&set := $00008000;
  12768. end;
  12769. procedure TICAP3_IC3CON.clearON; inline;
  12770. begin
  12771. pTDefRegMap(@Self)^.clr := $00008000;
  12772. end;
  12773. procedure TICAP3_IC3CON.setON(thebits : TBits_1); inline;
  12774. begin
  12775. if thebits = 0 then
  12776. pTDefRegMap(@Self)^.clr := $00008000
  12777. else
  12778. pTDefRegMap(@Self)^.&set := $00008000;
  12779. end;
  12780. function TICAP3_IC3CON.getON : TBits_1; inline;
  12781. begin
  12782. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  12783. end;
  12784. procedure TICAP3_IC3CON.setICM0; inline;
  12785. begin
  12786. pTDefRegMap(@Self)^.&set := $00000001;
  12787. end;
  12788. procedure TICAP3_IC3CON.clearICM0; inline;
  12789. begin
  12790. pTDefRegMap(@Self)^.clr := $00000001;
  12791. end;
  12792. procedure TICAP3_IC3CON.setICM0(thebits : TBits_1); inline;
  12793. begin
  12794. if thebits = 0 then
  12795. pTDefRegMap(@Self)^.clr := $00000001
  12796. else
  12797. pTDefRegMap(@Self)^.&set := $00000001;
  12798. end;
  12799. function TICAP3_IC3CON.getICM0 : TBits_1; inline;
  12800. begin
  12801. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  12802. end;
  12803. procedure TICAP3_IC3CON.setICM1; inline;
  12804. begin
  12805. pTDefRegMap(@Self)^.&set := $00000002;
  12806. end;
  12807. procedure TICAP3_IC3CON.clearICM1; inline;
  12808. begin
  12809. pTDefRegMap(@Self)^.clr := $00000002;
  12810. end;
  12811. procedure TICAP3_IC3CON.setICM1(thebits : TBits_1); inline;
  12812. begin
  12813. if thebits = 0 then
  12814. pTDefRegMap(@Self)^.clr := $00000002
  12815. else
  12816. pTDefRegMap(@Self)^.&set := $00000002;
  12817. end;
  12818. function TICAP3_IC3CON.getICM1 : TBits_1; inline;
  12819. begin
  12820. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  12821. end;
  12822. procedure TICAP3_IC3CON.setICM2; inline;
  12823. begin
  12824. pTDefRegMap(@Self)^.&set := $00000004;
  12825. end;
  12826. procedure TICAP3_IC3CON.clearICM2; inline;
  12827. begin
  12828. pTDefRegMap(@Self)^.clr := $00000004;
  12829. end;
  12830. procedure TICAP3_IC3CON.setICM2(thebits : TBits_1); inline;
  12831. begin
  12832. if thebits = 0 then
  12833. pTDefRegMap(@Self)^.clr := $00000004
  12834. else
  12835. pTDefRegMap(@Self)^.&set := $00000004;
  12836. end;
  12837. function TICAP3_IC3CON.getICM2 : TBits_1; inline;
  12838. begin
  12839. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  12840. end;
  12841. procedure TICAP3_IC3CON.setICI0; inline;
  12842. begin
  12843. pTDefRegMap(@Self)^.&set := $00000020;
  12844. end;
  12845. procedure TICAP3_IC3CON.clearICI0; inline;
  12846. begin
  12847. pTDefRegMap(@Self)^.clr := $00000020;
  12848. end;
  12849. procedure TICAP3_IC3CON.setICI0(thebits : TBits_1); inline;
  12850. begin
  12851. if thebits = 0 then
  12852. pTDefRegMap(@Self)^.clr := $00000020
  12853. else
  12854. pTDefRegMap(@Self)^.&set := $00000020;
  12855. end;
  12856. function TICAP3_IC3CON.getICI0 : TBits_1; inline;
  12857. begin
  12858. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  12859. end;
  12860. procedure TICAP3_IC3CON.setICI1; inline;
  12861. begin
  12862. pTDefRegMap(@Self)^.&set := $00000040;
  12863. end;
  12864. procedure TICAP3_IC3CON.clearICI1; inline;
  12865. begin
  12866. pTDefRegMap(@Self)^.clr := $00000040;
  12867. end;
  12868. procedure TICAP3_IC3CON.setICI1(thebits : TBits_1); inline;
  12869. begin
  12870. if thebits = 0 then
  12871. pTDefRegMap(@Self)^.clr := $00000040
  12872. else
  12873. pTDefRegMap(@Self)^.&set := $00000040;
  12874. end;
  12875. function TICAP3_IC3CON.getICI1 : TBits_1; inline;
  12876. begin
  12877. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  12878. end;
  12879. procedure TICAP3_IC3CON.setICSIDL; inline;
  12880. begin
  12881. pTDefRegMap(@Self)^.&set := $00002000;
  12882. end;
  12883. procedure TICAP3_IC3CON.clearICSIDL; inline;
  12884. begin
  12885. pTDefRegMap(@Self)^.clr := $00002000;
  12886. end;
  12887. procedure TICAP3_IC3CON.setICSIDL(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 TICAP3_IC3CON.getICSIDL : TBits_1; inline;
  12895. begin
  12896. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  12897. end;
  12898. procedure TICAP3_IC3CON.setw(thebits : TBits_32); inline;
  12899. begin
  12900. pTDefRegMap(@Self)^.val := thebits;
  12901. end;
  12902. function TICAP3_IC3CON.getw : TBits_32; inline;
  12903. begin
  12904. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  12905. end;
  12906. procedure TICAP4_IC4CON.setICM(thebits : TBits_3); inline;
  12907. begin
  12908. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  12909. end;
  12910. function TICAP4_IC4CON.getICM : TBits_3; inline;
  12911. begin
  12912. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  12913. end;
  12914. procedure TICAP4_IC4CON.setICBNE; inline;
  12915. begin
  12916. pTDefRegMap(@Self)^.&set := $00000008;
  12917. end;
  12918. procedure TICAP4_IC4CON.clearICBNE; inline;
  12919. begin
  12920. pTDefRegMap(@Self)^.clr := $00000008;
  12921. end;
  12922. procedure TICAP4_IC4CON.setICBNE(thebits : TBits_1); inline;
  12923. begin
  12924. if thebits = 0 then
  12925. pTDefRegMap(@Self)^.clr := $00000008
  12926. else
  12927. pTDefRegMap(@Self)^.&set := $00000008;
  12928. end;
  12929. function TICAP4_IC4CON.getICBNE : TBits_1; inline;
  12930. begin
  12931. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  12932. end;
  12933. procedure TICAP4_IC4CON.setICOV; inline;
  12934. begin
  12935. pTDefRegMap(@Self)^.&set := $00000010;
  12936. end;
  12937. procedure TICAP4_IC4CON.clearICOV; inline;
  12938. begin
  12939. pTDefRegMap(@Self)^.clr := $00000010;
  12940. end;
  12941. procedure TICAP4_IC4CON.setICOV(thebits : TBits_1); inline;
  12942. begin
  12943. if thebits = 0 then
  12944. pTDefRegMap(@Self)^.clr := $00000010
  12945. else
  12946. pTDefRegMap(@Self)^.&set := $00000010;
  12947. end;
  12948. function TICAP4_IC4CON.getICOV : TBits_1; inline;
  12949. begin
  12950. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  12951. end;
  12952. procedure TICAP4_IC4CON.setICI(thebits : TBits_2); inline;
  12953. begin
  12954. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  12955. end;
  12956. function TICAP4_IC4CON.getICI : TBits_2; inline;
  12957. begin
  12958. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  12959. end;
  12960. procedure TICAP4_IC4CON.setICTMR; inline;
  12961. begin
  12962. pTDefRegMap(@Self)^.&set := $00000080;
  12963. end;
  12964. procedure TICAP4_IC4CON.clearICTMR; inline;
  12965. begin
  12966. pTDefRegMap(@Self)^.clr := $00000080;
  12967. end;
  12968. procedure TICAP4_IC4CON.setICTMR(thebits : TBits_1); inline;
  12969. begin
  12970. if thebits = 0 then
  12971. pTDefRegMap(@Self)^.clr := $00000080
  12972. else
  12973. pTDefRegMap(@Self)^.&set := $00000080;
  12974. end;
  12975. function TICAP4_IC4CON.getICTMR : TBits_1; inline;
  12976. begin
  12977. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  12978. end;
  12979. procedure TICAP4_IC4CON.setC32; inline;
  12980. begin
  12981. pTDefRegMap(@Self)^.&set := $00000100;
  12982. end;
  12983. procedure TICAP4_IC4CON.clearC32; inline;
  12984. begin
  12985. pTDefRegMap(@Self)^.clr := $00000100;
  12986. end;
  12987. procedure TICAP4_IC4CON.setC32(thebits : TBits_1); inline;
  12988. begin
  12989. if thebits = 0 then
  12990. pTDefRegMap(@Self)^.clr := $00000100
  12991. else
  12992. pTDefRegMap(@Self)^.&set := $00000100;
  12993. end;
  12994. function TICAP4_IC4CON.getC32 : TBits_1; inline;
  12995. begin
  12996. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  12997. end;
  12998. procedure TICAP4_IC4CON.setFEDGE; inline;
  12999. begin
  13000. pTDefRegMap(@Self)^.&set := $00000200;
  13001. end;
  13002. procedure TICAP4_IC4CON.clearFEDGE; inline;
  13003. begin
  13004. pTDefRegMap(@Self)^.clr := $00000200;
  13005. end;
  13006. procedure TICAP4_IC4CON.setFEDGE(thebits : TBits_1); inline;
  13007. begin
  13008. if thebits = 0 then
  13009. pTDefRegMap(@Self)^.clr := $00000200
  13010. else
  13011. pTDefRegMap(@Self)^.&set := $00000200;
  13012. end;
  13013. function TICAP4_IC4CON.getFEDGE : TBits_1; inline;
  13014. begin
  13015. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13016. end;
  13017. procedure TICAP4_IC4CON.setSIDL; inline;
  13018. begin
  13019. pTDefRegMap(@Self)^.&set := $00002000;
  13020. end;
  13021. procedure TICAP4_IC4CON.clearSIDL; inline;
  13022. begin
  13023. pTDefRegMap(@Self)^.clr := $00002000;
  13024. end;
  13025. procedure TICAP4_IC4CON.setSIDL(thebits : TBits_1); inline;
  13026. begin
  13027. if thebits = 0 then
  13028. pTDefRegMap(@Self)^.clr := $00002000
  13029. else
  13030. pTDefRegMap(@Self)^.&set := $00002000;
  13031. end;
  13032. function TICAP4_IC4CON.getSIDL : TBits_1; inline;
  13033. begin
  13034. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13035. end;
  13036. procedure TICAP4_IC4CON.setON; inline;
  13037. begin
  13038. pTDefRegMap(@Self)^.&set := $00008000;
  13039. end;
  13040. procedure TICAP4_IC4CON.clearON; inline;
  13041. begin
  13042. pTDefRegMap(@Self)^.clr := $00008000;
  13043. end;
  13044. procedure TICAP4_IC4CON.setON(thebits : TBits_1); inline;
  13045. begin
  13046. if thebits = 0 then
  13047. pTDefRegMap(@Self)^.clr := $00008000
  13048. else
  13049. pTDefRegMap(@Self)^.&set := $00008000;
  13050. end;
  13051. function TICAP4_IC4CON.getON : TBits_1; inline;
  13052. begin
  13053. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13054. end;
  13055. procedure TICAP4_IC4CON.setICM0; inline;
  13056. begin
  13057. pTDefRegMap(@Self)^.&set := $00000001;
  13058. end;
  13059. procedure TICAP4_IC4CON.clearICM0; inline;
  13060. begin
  13061. pTDefRegMap(@Self)^.clr := $00000001;
  13062. end;
  13063. procedure TICAP4_IC4CON.setICM0(thebits : TBits_1); inline;
  13064. begin
  13065. if thebits = 0 then
  13066. pTDefRegMap(@Self)^.clr := $00000001
  13067. else
  13068. pTDefRegMap(@Self)^.&set := $00000001;
  13069. end;
  13070. function TICAP4_IC4CON.getICM0 : TBits_1; inline;
  13071. begin
  13072. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13073. end;
  13074. procedure TICAP4_IC4CON.setICM1; inline;
  13075. begin
  13076. pTDefRegMap(@Self)^.&set := $00000002;
  13077. end;
  13078. procedure TICAP4_IC4CON.clearICM1; inline;
  13079. begin
  13080. pTDefRegMap(@Self)^.clr := $00000002;
  13081. end;
  13082. procedure TICAP4_IC4CON.setICM1(thebits : TBits_1); inline;
  13083. begin
  13084. if thebits = 0 then
  13085. pTDefRegMap(@Self)^.clr := $00000002
  13086. else
  13087. pTDefRegMap(@Self)^.&set := $00000002;
  13088. end;
  13089. function TICAP4_IC4CON.getICM1 : TBits_1; inline;
  13090. begin
  13091. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13092. end;
  13093. procedure TICAP4_IC4CON.setICM2; inline;
  13094. begin
  13095. pTDefRegMap(@Self)^.&set := $00000004;
  13096. end;
  13097. procedure TICAP4_IC4CON.clearICM2; inline;
  13098. begin
  13099. pTDefRegMap(@Self)^.clr := $00000004;
  13100. end;
  13101. procedure TICAP4_IC4CON.setICM2(thebits : TBits_1); inline;
  13102. begin
  13103. if thebits = 0 then
  13104. pTDefRegMap(@Self)^.clr := $00000004
  13105. else
  13106. pTDefRegMap(@Self)^.&set := $00000004;
  13107. end;
  13108. function TICAP4_IC4CON.getICM2 : TBits_1; inline;
  13109. begin
  13110. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13111. end;
  13112. procedure TICAP4_IC4CON.setICI0; inline;
  13113. begin
  13114. pTDefRegMap(@Self)^.&set := $00000020;
  13115. end;
  13116. procedure TICAP4_IC4CON.clearICI0; inline;
  13117. begin
  13118. pTDefRegMap(@Self)^.clr := $00000020;
  13119. end;
  13120. procedure TICAP4_IC4CON.setICI0(thebits : TBits_1); inline;
  13121. begin
  13122. if thebits = 0 then
  13123. pTDefRegMap(@Self)^.clr := $00000020
  13124. else
  13125. pTDefRegMap(@Self)^.&set := $00000020;
  13126. end;
  13127. function TICAP4_IC4CON.getICI0 : TBits_1; inline;
  13128. begin
  13129. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13130. end;
  13131. procedure TICAP4_IC4CON.setICI1; inline;
  13132. begin
  13133. pTDefRegMap(@Self)^.&set := $00000040;
  13134. end;
  13135. procedure TICAP4_IC4CON.clearICI1; inline;
  13136. begin
  13137. pTDefRegMap(@Self)^.clr := $00000040;
  13138. end;
  13139. procedure TICAP4_IC4CON.setICI1(thebits : TBits_1); inline;
  13140. begin
  13141. if thebits = 0 then
  13142. pTDefRegMap(@Self)^.clr := $00000040
  13143. else
  13144. pTDefRegMap(@Self)^.&set := $00000040;
  13145. end;
  13146. function TICAP4_IC4CON.getICI1 : TBits_1; inline;
  13147. begin
  13148. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13149. end;
  13150. procedure TICAP4_IC4CON.setICSIDL; inline;
  13151. begin
  13152. pTDefRegMap(@Self)^.&set := $00002000;
  13153. end;
  13154. procedure TICAP4_IC4CON.clearICSIDL; inline;
  13155. begin
  13156. pTDefRegMap(@Self)^.clr := $00002000;
  13157. end;
  13158. procedure TICAP4_IC4CON.setICSIDL(thebits : TBits_1); inline;
  13159. begin
  13160. if thebits = 0 then
  13161. pTDefRegMap(@Self)^.clr := $00002000
  13162. else
  13163. pTDefRegMap(@Self)^.&set := $00002000;
  13164. end;
  13165. function TICAP4_IC4CON.getICSIDL : TBits_1; inline;
  13166. begin
  13167. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13168. end;
  13169. procedure TICAP4_IC4CON.setw(thebits : TBits_32); inline;
  13170. begin
  13171. pTDefRegMap(@Self)^.val := thebits;
  13172. end;
  13173. function TICAP4_IC4CON.getw : TBits_32; inline;
  13174. begin
  13175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13176. end;
  13177. procedure TICAP5_IC5CON.setICM(thebits : TBits_3); inline;
  13178. begin
  13179. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13180. end;
  13181. function TICAP5_IC5CON.getICM : TBits_3; inline;
  13182. begin
  13183. getICM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13184. end;
  13185. procedure TICAP5_IC5CON.setICBNE; inline;
  13186. begin
  13187. pTDefRegMap(@Self)^.&set := $00000008;
  13188. end;
  13189. procedure TICAP5_IC5CON.clearICBNE; inline;
  13190. begin
  13191. pTDefRegMap(@Self)^.clr := $00000008;
  13192. end;
  13193. procedure TICAP5_IC5CON.setICBNE(thebits : TBits_1); inline;
  13194. begin
  13195. if thebits = 0 then
  13196. pTDefRegMap(@Self)^.clr := $00000008
  13197. else
  13198. pTDefRegMap(@Self)^.&set := $00000008;
  13199. end;
  13200. function TICAP5_IC5CON.getICBNE : TBits_1; inline;
  13201. begin
  13202. getICBNE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13203. end;
  13204. procedure TICAP5_IC5CON.setICOV; inline;
  13205. begin
  13206. pTDefRegMap(@Self)^.&set := $00000010;
  13207. end;
  13208. procedure TICAP5_IC5CON.clearICOV; inline;
  13209. begin
  13210. pTDefRegMap(@Self)^.clr := $00000010;
  13211. end;
  13212. procedure TICAP5_IC5CON.setICOV(thebits : TBits_1); inline;
  13213. begin
  13214. if thebits = 0 then
  13215. pTDefRegMap(@Self)^.clr := $00000010
  13216. else
  13217. pTDefRegMap(@Self)^.&set := $00000010;
  13218. end;
  13219. function TICAP5_IC5CON.getICOV : TBits_1; inline;
  13220. begin
  13221. getICOV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13222. end;
  13223. procedure TICAP5_IC5CON.setICI(thebits : TBits_2); inline;
  13224. begin
  13225. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF9F or ( thebits shl 5 );
  13226. end;
  13227. function TICAP5_IC5CON.getICI : TBits_2; inline;
  13228. begin
  13229. getICI := (pTDefRegMap(@Self)^.val and $00000060) shr 5;
  13230. end;
  13231. procedure TICAP5_IC5CON.setICTMR; inline;
  13232. begin
  13233. pTDefRegMap(@Self)^.&set := $00000080;
  13234. end;
  13235. procedure TICAP5_IC5CON.clearICTMR; inline;
  13236. begin
  13237. pTDefRegMap(@Self)^.clr := $00000080;
  13238. end;
  13239. procedure TICAP5_IC5CON.setICTMR(thebits : TBits_1); inline;
  13240. begin
  13241. if thebits = 0 then
  13242. pTDefRegMap(@Self)^.clr := $00000080
  13243. else
  13244. pTDefRegMap(@Self)^.&set := $00000080;
  13245. end;
  13246. function TICAP5_IC5CON.getICTMR : TBits_1; inline;
  13247. begin
  13248. getICTMR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  13249. end;
  13250. procedure TICAP5_IC5CON.setC32; inline;
  13251. begin
  13252. pTDefRegMap(@Self)^.&set := $00000100;
  13253. end;
  13254. procedure TICAP5_IC5CON.clearC32; inline;
  13255. begin
  13256. pTDefRegMap(@Self)^.clr := $00000100;
  13257. end;
  13258. procedure TICAP5_IC5CON.setC32(thebits : TBits_1); inline;
  13259. begin
  13260. if thebits = 0 then
  13261. pTDefRegMap(@Self)^.clr := $00000100
  13262. else
  13263. pTDefRegMap(@Self)^.&set := $00000100;
  13264. end;
  13265. function TICAP5_IC5CON.getC32 : TBits_1; inline;
  13266. begin
  13267. getC32 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  13268. end;
  13269. procedure TICAP5_IC5CON.setFEDGE; inline;
  13270. begin
  13271. pTDefRegMap(@Self)^.&set := $00000200;
  13272. end;
  13273. procedure TICAP5_IC5CON.clearFEDGE; inline;
  13274. begin
  13275. pTDefRegMap(@Self)^.clr := $00000200;
  13276. end;
  13277. procedure TICAP5_IC5CON.setFEDGE(thebits : TBits_1); inline;
  13278. begin
  13279. if thebits = 0 then
  13280. pTDefRegMap(@Self)^.clr := $00000200
  13281. else
  13282. pTDefRegMap(@Self)^.&set := $00000200;
  13283. end;
  13284. function TICAP5_IC5CON.getFEDGE : TBits_1; inline;
  13285. begin
  13286. getFEDGE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  13287. end;
  13288. procedure TICAP5_IC5CON.setSIDL; inline;
  13289. begin
  13290. pTDefRegMap(@Self)^.&set := $00002000;
  13291. end;
  13292. procedure TICAP5_IC5CON.clearSIDL; inline;
  13293. begin
  13294. pTDefRegMap(@Self)^.clr := $00002000;
  13295. end;
  13296. procedure TICAP5_IC5CON.setSIDL(thebits : TBits_1); inline;
  13297. begin
  13298. if thebits = 0 then
  13299. pTDefRegMap(@Self)^.clr := $00002000
  13300. else
  13301. pTDefRegMap(@Self)^.&set := $00002000;
  13302. end;
  13303. function TICAP5_IC5CON.getSIDL : TBits_1; inline;
  13304. begin
  13305. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13306. end;
  13307. procedure TICAP5_IC5CON.setON; inline;
  13308. begin
  13309. pTDefRegMap(@Self)^.&set := $00008000;
  13310. end;
  13311. procedure TICAP5_IC5CON.clearON; inline;
  13312. begin
  13313. pTDefRegMap(@Self)^.clr := $00008000;
  13314. end;
  13315. procedure TICAP5_IC5CON.setON(thebits : TBits_1); inline;
  13316. begin
  13317. if thebits = 0 then
  13318. pTDefRegMap(@Self)^.clr := $00008000
  13319. else
  13320. pTDefRegMap(@Self)^.&set := $00008000;
  13321. end;
  13322. function TICAP5_IC5CON.getON : TBits_1; inline;
  13323. begin
  13324. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13325. end;
  13326. procedure TICAP5_IC5CON.setICM0; inline;
  13327. begin
  13328. pTDefRegMap(@Self)^.&set := $00000001;
  13329. end;
  13330. procedure TICAP5_IC5CON.clearICM0; inline;
  13331. begin
  13332. pTDefRegMap(@Self)^.clr := $00000001;
  13333. end;
  13334. procedure TICAP5_IC5CON.setICM0(thebits : TBits_1); inline;
  13335. begin
  13336. if thebits = 0 then
  13337. pTDefRegMap(@Self)^.clr := $00000001
  13338. else
  13339. pTDefRegMap(@Self)^.&set := $00000001;
  13340. end;
  13341. function TICAP5_IC5CON.getICM0 : TBits_1; inline;
  13342. begin
  13343. getICM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13344. end;
  13345. procedure TICAP5_IC5CON.setICM1; inline;
  13346. begin
  13347. pTDefRegMap(@Self)^.&set := $00000002;
  13348. end;
  13349. procedure TICAP5_IC5CON.clearICM1; inline;
  13350. begin
  13351. pTDefRegMap(@Self)^.clr := $00000002;
  13352. end;
  13353. procedure TICAP5_IC5CON.setICM1(thebits : TBits_1); inline;
  13354. begin
  13355. if thebits = 0 then
  13356. pTDefRegMap(@Self)^.clr := $00000002
  13357. else
  13358. pTDefRegMap(@Self)^.&set := $00000002;
  13359. end;
  13360. function TICAP5_IC5CON.getICM1 : TBits_1; inline;
  13361. begin
  13362. getICM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13363. end;
  13364. procedure TICAP5_IC5CON.setICM2; inline;
  13365. begin
  13366. pTDefRegMap(@Self)^.&set := $00000004;
  13367. end;
  13368. procedure TICAP5_IC5CON.clearICM2; inline;
  13369. begin
  13370. pTDefRegMap(@Self)^.clr := $00000004;
  13371. end;
  13372. procedure TICAP5_IC5CON.setICM2(thebits : TBits_1); inline;
  13373. begin
  13374. if thebits = 0 then
  13375. pTDefRegMap(@Self)^.clr := $00000004
  13376. else
  13377. pTDefRegMap(@Self)^.&set := $00000004;
  13378. end;
  13379. function TICAP5_IC5CON.getICM2 : TBits_1; inline;
  13380. begin
  13381. getICM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13382. end;
  13383. procedure TICAP5_IC5CON.setICI0; inline;
  13384. begin
  13385. pTDefRegMap(@Self)^.&set := $00000020;
  13386. end;
  13387. procedure TICAP5_IC5CON.clearICI0; inline;
  13388. begin
  13389. pTDefRegMap(@Self)^.clr := $00000020;
  13390. end;
  13391. procedure TICAP5_IC5CON.setICI0(thebits : TBits_1); inline;
  13392. begin
  13393. if thebits = 0 then
  13394. pTDefRegMap(@Self)^.clr := $00000020
  13395. else
  13396. pTDefRegMap(@Self)^.&set := $00000020;
  13397. end;
  13398. function TICAP5_IC5CON.getICI0 : TBits_1; inline;
  13399. begin
  13400. getICI0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13401. end;
  13402. procedure TICAP5_IC5CON.setICI1; inline;
  13403. begin
  13404. pTDefRegMap(@Self)^.&set := $00000040;
  13405. end;
  13406. procedure TICAP5_IC5CON.clearICI1; inline;
  13407. begin
  13408. pTDefRegMap(@Self)^.clr := $00000040;
  13409. end;
  13410. procedure TICAP5_IC5CON.setICI1(thebits : TBits_1); inline;
  13411. begin
  13412. if thebits = 0 then
  13413. pTDefRegMap(@Self)^.clr := $00000040
  13414. else
  13415. pTDefRegMap(@Self)^.&set := $00000040;
  13416. end;
  13417. function TICAP5_IC5CON.getICI1 : TBits_1; inline;
  13418. begin
  13419. getICI1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  13420. end;
  13421. procedure TICAP5_IC5CON.setICSIDL; inline;
  13422. begin
  13423. pTDefRegMap(@Self)^.&set := $00002000;
  13424. end;
  13425. procedure TICAP5_IC5CON.clearICSIDL; inline;
  13426. begin
  13427. pTDefRegMap(@Self)^.clr := $00002000;
  13428. end;
  13429. procedure TICAP5_IC5CON.setICSIDL(thebits : TBits_1); inline;
  13430. begin
  13431. if thebits = 0 then
  13432. pTDefRegMap(@Self)^.clr := $00002000
  13433. else
  13434. pTDefRegMap(@Self)^.&set := $00002000;
  13435. end;
  13436. function TICAP5_IC5CON.getICSIDL : TBits_1; inline;
  13437. begin
  13438. getICSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13439. end;
  13440. procedure TICAP5_IC5CON.setw(thebits : TBits_32); inline;
  13441. begin
  13442. pTDefRegMap(@Self)^.val := thebits;
  13443. end;
  13444. function TICAP5_IC5CON.getw : TBits_32; inline;
  13445. begin
  13446. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13447. end;
  13448. procedure TOCMP1_OC1CON.setOCM(thebits : TBits_3); inline;
  13449. begin
  13450. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13451. end;
  13452. function TOCMP1_OC1CON.getOCM : TBits_3; inline;
  13453. begin
  13454. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13455. end;
  13456. procedure TOCMP1_OC1CON.setOCTSEL; inline;
  13457. begin
  13458. pTDefRegMap(@Self)^.&set := $00000008;
  13459. end;
  13460. procedure TOCMP1_OC1CON.clearOCTSEL; inline;
  13461. begin
  13462. pTDefRegMap(@Self)^.clr := $00000008;
  13463. end;
  13464. procedure TOCMP1_OC1CON.setOCTSEL(thebits : TBits_1); inline;
  13465. begin
  13466. if thebits = 0 then
  13467. pTDefRegMap(@Self)^.clr := $00000008
  13468. else
  13469. pTDefRegMap(@Self)^.&set := $00000008;
  13470. end;
  13471. function TOCMP1_OC1CON.getOCTSEL : TBits_1; inline;
  13472. begin
  13473. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13474. end;
  13475. procedure TOCMP1_OC1CON.setOCFLT; inline;
  13476. begin
  13477. pTDefRegMap(@Self)^.&set := $00000010;
  13478. end;
  13479. procedure TOCMP1_OC1CON.clearOCFLT; inline;
  13480. begin
  13481. pTDefRegMap(@Self)^.clr := $00000010;
  13482. end;
  13483. procedure TOCMP1_OC1CON.setOCFLT(thebits : TBits_1); inline;
  13484. begin
  13485. if thebits = 0 then
  13486. pTDefRegMap(@Self)^.clr := $00000010
  13487. else
  13488. pTDefRegMap(@Self)^.&set := $00000010;
  13489. end;
  13490. function TOCMP1_OC1CON.getOCFLT : TBits_1; inline;
  13491. begin
  13492. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13493. end;
  13494. procedure TOCMP1_OC1CON.setOC32; inline;
  13495. begin
  13496. pTDefRegMap(@Self)^.&set := $00000020;
  13497. end;
  13498. procedure TOCMP1_OC1CON.clearOC32; inline;
  13499. begin
  13500. pTDefRegMap(@Self)^.clr := $00000020;
  13501. end;
  13502. procedure TOCMP1_OC1CON.setOC32(thebits : TBits_1); inline;
  13503. begin
  13504. if thebits = 0 then
  13505. pTDefRegMap(@Self)^.clr := $00000020
  13506. else
  13507. pTDefRegMap(@Self)^.&set := $00000020;
  13508. end;
  13509. function TOCMP1_OC1CON.getOC32 : TBits_1; inline;
  13510. begin
  13511. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13512. end;
  13513. procedure TOCMP1_OC1CON.setSIDL; inline;
  13514. begin
  13515. pTDefRegMap(@Self)^.&set := $00002000;
  13516. end;
  13517. procedure TOCMP1_OC1CON.clearSIDL; inline;
  13518. begin
  13519. pTDefRegMap(@Self)^.clr := $00002000;
  13520. end;
  13521. procedure TOCMP1_OC1CON.setSIDL(thebits : TBits_1); inline;
  13522. begin
  13523. if thebits = 0 then
  13524. pTDefRegMap(@Self)^.clr := $00002000
  13525. else
  13526. pTDefRegMap(@Self)^.&set := $00002000;
  13527. end;
  13528. function TOCMP1_OC1CON.getSIDL : TBits_1; inline;
  13529. begin
  13530. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13531. end;
  13532. procedure TOCMP1_OC1CON.setON; inline;
  13533. begin
  13534. pTDefRegMap(@Self)^.&set := $00008000;
  13535. end;
  13536. procedure TOCMP1_OC1CON.clearON; inline;
  13537. begin
  13538. pTDefRegMap(@Self)^.clr := $00008000;
  13539. end;
  13540. procedure TOCMP1_OC1CON.setON(thebits : TBits_1); inline;
  13541. begin
  13542. if thebits = 0 then
  13543. pTDefRegMap(@Self)^.clr := $00008000
  13544. else
  13545. pTDefRegMap(@Self)^.&set := $00008000;
  13546. end;
  13547. function TOCMP1_OC1CON.getON : TBits_1; inline;
  13548. begin
  13549. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13550. end;
  13551. procedure TOCMP1_OC1CON.setOCM0; inline;
  13552. begin
  13553. pTDefRegMap(@Self)^.&set := $00000001;
  13554. end;
  13555. procedure TOCMP1_OC1CON.clearOCM0; inline;
  13556. begin
  13557. pTDefRegMap(@Self)^.clr := $00000001;
  13558. end;
  13559. procedure TOCMP1_OC1CON.setOCM0(thebits : TBits_1); inline;
  13560. begin
  13561. if thebits = 0 then
  13562. pTDefRegMap(@Self)^.clr := $00000001
  13563. else
  13564. pTDefRegMap(@Self)^.&set := $00000001;
  13565. end;
  13566. function TOCMP1_OC1CON.getOCM0 : TBits_1; inline;
  13567. begin
  13568. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13569. end;
  13570. procedure TOCMP1_OC1CON.setOCM1; inline;
  13571. begin
  13572. pTDefRegMap(@Self)^.&set := $00000002;
  13573. end;
  13574. procedure TOCMP1_OC1CON.clearOCM1; inline;
  13575. begin
  13576. pTDefRegMap(@Self)^.clr := $00000002;
  13577. end;
  13578. procedure TOCMP1_OC1CON.setOCM1(thebits : TBits_1); inline;
  13579. begin
  13580. if thebits = 0 then
  13581. pTDefRegMap(@Self)^.clr := $00000002
  13582. else
  13583. pTDefRegMap(@Self)^.&set := $00000002;
  13584. end;
  13585. function TOCMP1_OC1CON.getOCM1 : TBits_1; inline;
  13586. begin
  13587. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13588. end;
  13589. procedure TOCMP1_OC1CON.setOCM2; inline;
  13590. begin
  13591. pTDefRegMap(@Self)^.&set := $00000004;
  13592. end;
  13593. procedure TOCMP1_OC1CON.clearOCM2; inline;
  13594. begin
  13595. pTDefRegMap(@Self)^.clr := $00000004;
  13596. end;
  13597. procedure TOCMP1_OC1CON.setOCM2(thebits : TBits_1); inline;
  13598. begin
  13599. if thebits = 0 then
  13600. pTDefRegMap(@Self)^.clr := $00000004
  13601. else
  13602. pTDefRegMap(@Self)^.&set := $00000004;
  13603. end;
  13604. function TOCMP1_OC1CON.getOCM2 : TBits_1; inline;
  13605. begin
  13606. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13607. end;
  13608. procedure TOCMP1_OC1CON.setOCSIDL; inline;
  13609. begin
  13610. pTDefRegMap(@Self)^.&set := $00002000;
  13611. end;
  13612. procedure TOCMP1_OC1CON.clearOCSIDL; inline;
  13613. begin
  13614. pTDefRegMap(@Self)^.clr := $00002000;
  13615. end;
  13616. procedure TOCMP1_OC1CON.setOCSIDL(thebits : TBits_1); inline;
  13617. begin
  13618. if thebits = 0 then
  13619. pTDefRegMap(@Self)^.clr := $00002000
  13620. else
  13621. pTDefRegMap(@Self)^.&set := $00002000;
  13622. end;
  13623. function TOCMP1_OC1CON.getOCSIDL : TBits_1; inline;
  13624. begin
  13625. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13626. end;
  13627. procedure TOCMP1_OC1CON.setw(thebits : TBits_32); inline;
  13628. begin
  13629. pTDefRegMap(@Self)^.val := thebits;
  13630. end;
  13631. function TOCMP1_OC1CON.getw : TBits_32; inline;
  13632. begin
  13633. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13634. end;
  13635. procedure TOCMP2_OC2CON.setOCM(thebits : TBits_3); inline;
  13636. begin
  13637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13638. end;
  13639. function TOCMP2_OC2CON.getOCM : TBits_3; inline;
  13640. begin
  13641. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13642. end;
  13643. procedure TOCMP2_OC2CON.setOCTSEL; inline;
  13644. begin
  13645. pTDefRegMap(@Self)^.&set := $00000008;
  13646. end;
  13647. procedure TOCMP2_OC2CON.clearOCTSEL; inline;
  13648. begin
  13649. pTDefRegMap(@Self)^.clr := $00000008;
  13650. end;
  13651. procedure TOCMP2_OC2CON.setOCTSEL(thebits : TBits_1); inline;
  13652. begin
  13653. if thebits = 0 then
  13654. pTDefRegMap(@Self)^.clr := $00000008
  13655. else
  13656. pTDefRegMap(@Self)^.&set := $00000008;
  13657. end;
  13658. function TOCMP2_OC2CON.getOCTSEL : TBits_1; inline;
  13659. begin
  13660. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13661. end;
  13662. procedure TOCMP2_OC2CON.setOCFLT; inline;
  13663. begin
  13664. pTDefRegMap(@Self)^.&set := $00000010;
  13665. end;
  13666. procedure TOCMP2_OC2CON.clearOCFLT; inline;
  13667. begin
  13668. pTDefRegMap(@Self)^.clr := $00000010;
  13669. end;
  13670. procedure TOCMP2_OC2CON.setOCFLT(thebits : TBits_1); inline;
  13671. begin
  13672. if thebits = 0 then
  13673. pTDefRegMap(@Self)^.clr := $00000010
  13674. else
  13675. pTDefRegMap(@Self)^.&set := $00000010;
  13676. end;
  13677. function TOCMP2_OC2CON.getOCFLT : TBits_1; inline;
  13678. begin
  13679. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13680. end;
  13681. procedure TOCMP2_OC2CON.setOC32; inline;
  13682. begin
  13683. pTDefRegMap(@Self)^.&set := $00000020;
  13684. end;
  13685. procedure TOCMP2_OC2CON.clearOC32; inline;
  13686. begin
  13687. pTDefRegMap(@Self)^.clr := $00000020;
  13688. end;
  13689. procedure TOCMP2_OC2CON.setOC32(thebits : TBits_1); inline;
  13690. begin
  13691. if thebits = 0 then
  13692. pTDefRegMap(@Self)^.clr := $00000020
  13693. else
  13694. pTDefRegMap(@Self)^.&set := $00000020;
  13695. end;
  13696. function TOCMP2_OC2CON.getOC32 : TBits_1; inline;
  13697. begin
  13698. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13699. end;
  13700. procedure TOCMP2_OC2CON.setSIDL; inline;
  13701. begin
  13702. pTDefRegMap(@Self)^.&set := $00002000;
  13703. end;
  13704. procedure TOCMP2_OC2CON.clearSIDL; inline;
  13705. begin
  13706. pTDefRegMap(@Self)^.clr := $00002000;
  13707. end;
  13708. procedure TOCMP2_OC2CON.setSIDL(thebits : TBits_1); inline;
  13709. begin
  13710. if thebits = 0 then
  13711. pTDefRegMap(@Self)^.clr := $00002000
  13712. else
  13713. pTDefRegMap(@Self)^.&set := $00002000;
  13714. end;
  13715. function TOCMP2_OC2CON.getSIDL : TBits_1; inline;
  13716. begin
  13717. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13718. end;
  13719. procedure TOCMP2_OC2CON.setON; inline;
  13720. begin
  13721. pTDefRegMap(@Self)^.&set := $00008000;
  13722. end;
  13723. procedure TOCMP2_OC2CON.clearON; inline;
  13724. begin
  13725. pTDefRegMap(@Self)^.clr := $00008000;
  13726. end;
  13727. procedure TOCMP2_OC2CON.setON(thebits : TBits_1); inline;
  13728. begin
  13729. if thebits = 0 then
  13730. pTDefRegMap(@Self)^.clr := $00008000
  13731. else
  13732. pTDefRegMap(@Self)^.&set := $00008000;
  13733. end;
  13734. function TOCMP2_OC2CON.getON : TBits_1; inline;
  13735. begin
  13736. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13737. end;
  13738. procedure TOCMP2_OC2CON.setOCM0; inline;
  13739. begin
  13740. pTDefRegMap(@Self)^.&set := $00000001;
  13741. end;
  13742. procedure TOCMP2_OC2CON.clearOCM0; inline;
  13743. begin
  13744. pTDefRegMap(@Self)^.clr := $00000001;
  13745. end;
  13746. procedure TOCMP2_OC2CON.setOCM0(thebits : TBits_1); inline;
  13747. begin
  13748. if thebits = 0 then
  13749. pTDefRegMap(@Self)^.clr := $00000001
  13750. else
  13751. pTDefRegMap(@Self)^.&set := $00000001;
  13752. end;
  13753. function TOCMP2_OC2CON.getOCM0 : TBits_1; inline;
  13754. begin
  13755. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13756. end;
  13757. procedure TOCMP2_OC2CON.setOCM1; inline;
  13758. begin
  13759. pTDefRegMap(@Self)^.&set := $00000002;
  13760. end;
  13761. procedure TOCMP2_OC2CON.clearOCM1; inline;
  13762. begin
  13763. pTDefRegMap(@Self)^.clr := $00000002;
  13764. end;
  13765. procedure TOCMP2_OC2CON.setOCM1(thebits : TBits_1); inline;
  13766. begin
  13767. if thebits = 0 then
  13768. pTDefRegMap(@Self)^.clr := $00000002
  13769. else
  13770. pTDefRegMap(@Self)^.&set := $00000002;
  13771. end;
  13772. function TOCMP2_OC2CON.getOCM1 : TBits_1; inline;
  13773. begin
  13774. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13775. end;
  13776. procedure TOCMP2_OC2CON.setOCM2; inline;
  13777. begin
  13778. pTDefRegMap(@Self)^.&set := $00000004;
  13779. end;
  13780. procedure TOCMP2_OC2CON.clearOCM2; inline;
  13781. begin
  13782. pTDefRegMap(@Self)^.clr := $00000004;
  13783. end;
  13784. procedure TOCMP2_OC2CON.setOCM2(thebits : TBits_1); inline;
  13785. begin
  13786. if thebits = 0 then
  13787. pTDefRegMap(@Self)^.clr := $00000004
  13788. else
  13789. pTDefRegMap(@Self)^.&set := $00000004;
  13790. end;
  13791. function TOCMP2_OC2CON.getOCM2 : TBits_1; inline;
  13792. begin
  13793. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13794. end;
  13795. procedure TOCMP2_OC2CON.setOCSIDL; inline;
  13796. begin
  13797. pTDefRegMap(@Self)^.&set := $00002000;
  13798. end;
  13799. procedure TOCMP2_OC2CON.clearOCSIDL; inline;
  13800. begin
  13801. pTDefRegMap(@Self)^.clr := $00002000;
  13802. end;
  13803. procedure TOCMP2_OC2CON.setOCSIDL(thebits : TBits_1); inline;
  13804. begin
  13805. if thebits = 0 then
  13806. pTDefRegMap(@Self)^.clr := $00002000
  13807. else
  13808. pTDefRegMap(@Self)^.&set := $00002000;
  13809. end;
  13810. function TOCMP2_OC2CON.getOCSIDL : TBits_1; inline;
  13811. begin
  13812. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13813. end;
  13814. procedure TOCMP2_OC2CON.setw(thebits : TBits_32); inline;
  13815. begin
  13816. pTDefRegMap(@Self)^.val := thebits;
  13817. end;
  13818. function TOCMP2_OC2CON.getw : TBits_32; inline;
  13819. begin
  13820. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  13821. end;
  13822. procedure TOCMP3_OC3CON.setOCM(thebits : TBits_3); inline;
  13823. begin
  13824. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  13825. end;
  13826. function TOCMP3_OC3CON.getOCM : TBits_3; inline;
  13827. begin
  13828. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  13829. end;
  13830. procedure TOCMP3_OC3CON.setOCTSEL; inline;
  13831. begin
  13832. pTDefRegMap(@Self)^.&set := $00000008;
  13833. end;
  13834. procedure TOCMP3_OC3CON.clearOCTSEL; inline;
  13835. begin
  13836. pTDefRegMap(@Self)^.clr := $00000008;
  13837. end;
  13838. procedure TOCMP3_OC3CON.setOCTSEL(thebits : TBits_1); inline;
  13839. begin
  13840. if thebits = 0 then
  13841. pTDefRegMap(@Self)^.clr := $00000008
  13842. else
  13843. pTDefRegMap(@Self)^.&set := $00000008;
  13844. end;
  13845. function TOCMP3_OC3CON.getOCTSEL : TBits_1; inline;
  13846. begin
  13847. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  13848. end;
  13849. procedure TOCMP3_OC3CON.setOCFLT; inline;
  13850. begin
  13851. pTDefRegMap(@Self)^.&set := $00000010;
  13852. end;
  13853. procedure TOCMP3_OC3CON.clearOCFLT; inline;
  13854. begin
  13855. pTDefRegMap(@Self)^.clr := $00000010;
  13856. end;
  13857. procedure TOCMP3_OC3CON.setOCFLT(thebits : TBits_1); inline;
  13858. begin
  13859. if thebits = 0 then
  13860. pTDefRegMap(@Self)^.clr := $00000010
  13861. else
  13862. pTDefRegMap(@Self)^.&set := $00000010;
  13863. end;
  13864. function TOCMP3_OC3CON.getOCFLT : TBits_1; inline;
  13865. begin
  13866. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  13867. end;
  13868. procedure TOCMP3_OC3CON.setOC32; inline;
  13869. begin
  13870. pTDefRegMap(@Self)^.&set := $00000020;
  13871. end;
  13872. procedure TOCMP3_OC3CON.clearOC32; inline;
  13873. begin
  13874. pTDefRegMap(@Self)^.clr := $00000020;
  13875. end;
  13876. procedure TOCMP3_OC3CON.setOC32(thebits : TBits_1); inline;
  13877. begin
  13878. if thebits = 0 then
  13879. pTDefRegMap(@Self)^.clr := $00000020
  13880. else
  13881. pTDefRegMap(@Self)^.&set := $00000020;
  13882. end;
  13883. function TOCMP3_OC3CON.getOC32 : TBits_1; inline;
  13884. begin
  13885. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  13886. end;
  13887. procedure TOCMP3_OC3CON.setSIDL; inline;
  13888. begin
  13889. pTDefRegMap(@Self)^.&set := $00002000;
  13890. end;
  13891. procedure TOCMP3_OC3CON.clearSIDL; inline;
  13892. begin
  13893. pTDefRegMap(@Self)^.clr := $00002000;
  13894. end;
  13895. procedure TOCMP3_OC3CON.setSIDL(thebits : TBits_1); inline;
  13896. begin
  13897. if thebits = 0 then
  13898. pTDefRegMap(@Self)^.clr := $00002000
  13899. else
  13900. pTDefRegMap(@Self)^.&set := $00002000;
  13901. end;
  13902. function TOCMP3_OC3CON.getSIDL : TBits_1; inline;
  13903. begin
  13904. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  13905. end;
  13906. procedure TOCMP3_OC3CON.setON; inline;
  13907. begin
  13908. pTDefRegMap(@Self)^.&set := $00008000;
  13909. end;
  13910. procedure TOCMP3_OC3CON.clearON; inline;
  13911. begin
  13912. pTDefRegMap(@Self)^.clr := $00008000;
  13913. end;
  13914. procedure TOCMP3_OC3CON.setON(thebits : TBits_1); inline;
  13915. begin
  13916. if thebits = 0 then
  13917. pTDefRegMap(@Self)^.clr := $00008000
  13918. else
  13919. pTDefRegMap(@Self)^.&set := $00008000;
  13920. end;
  13921. function TOCMP3_OC3CON.getON : TBits_1; inline;
  13922. begin
  13923. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  13924. end;
  13925. procedure TOCMP3_OC3CON.setOCM0; inline;
  13926. begin
  13927. pTDefRegMap(@Self)^.&set := $00000001;
  13928. end;
  13929. procedure TOCMP3_OC3CON.clearOCM0; inline;
  13930. begin
  13931. pTDefRegMap(@Self)^.clr := $00000001;
  13932. end;
  13933. procedure TOCMP3_OC3CON.setOCM0(thebits : TBits_1); inline;
  13934. begin
  13935. if thebits = 0 then
  13936. pTDefRegMap(@Self)^.clr := $00000001
  13937. else
  13938. pTDefRegMap(@Self)^.&set := $00000001;
  13939. end;
  13940. function TOCMP3_OC3CON.getOCM0 : TBits_1; inline;
  13941. begin
  13942. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  13943. end;
  13944. procedure TOCMP3_OC3CON.setOCM1; inline;
  13945. begin
  13946. pTDefRegMap(@Self)^.&set := $00000002;
  13947. end;
  13948. procedure TOCMP3_OC3CON.clearOCM1; inline;
  13949. begin
  13950. pTDefRegMap(@Self)^.clr := $00000002;
  13951. end;
  13952. procedure TOCMP3_OC3CON.setOCM1(thebits : TBits_1); inline;
  13953. begin
  13954. if thebits = 0 then
  13955. pTDefRegMap(@Self)^.clr := $00000002
  13956. else
  13957. pTDefRegMap(@Self)^.&set := $00000002;
  13958. end;
  13959. function TOCMP3_OC3CON.getOCM1 : TBits_1; inline;
  13960. begin
  13961. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  13962. end;
  13963. procedure TOCMP3_OC3CON.setOCM2; inline;
  13964. begin
  13965. pTDefRegMap(@Self)^.&set := $00000004;
  13966. end;
  13967. procedure TOCMP3_OC3CON.clearOCM2; inline;
  13968. begin
  13969. pTDefRegMap(@Self)^.clr := $00000004;
  13970. end;
  13971. procedure TOCMP3_OC3CON.setOCM2(thebits : TBits_1); inline;
  13972. begin
  13973. if thebits = 0 then
  13974. pTDefRegMap(@Self)^.clr := $00000004
  13975. else
  13976. pTDefRegMap(@Self)^.&set := $00000004;
  13977. end;
  13978. function TOCMP3_OC3CON.getOCM2 : TBits_1; inline;
  13979. begin
  13980. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  13981. end;
  13982. procedure TOCMP3_OC3CON.setOCSIDL; inline;
  13983. begin
  13984. pTDefRegMap(@Self)^.&set := $00002000;
  13985. end;
  13986. procedure TOCMP3_OC3CON.clearOCSIDL; inline;
  13987. begin
  13988. pTDefRegMap(@Self)^.clr := $00002000;
  13989. end;
  13990. procedure TOCMP3_OC3CON.setOCSIDL(thebits : TBits_1); inline;
  13991. begin
  13992. if thebits = 0 then
  13993. pTDefRegMap(@Self)^.clr := $00002000
  13994. else
  13995. pTDefRegMap(@Self)^.&set := $00002000;
  13996. end;
  13997. function TOCMP3_OC3CON.getOCSIDL : TBits_1; inline;
  13998. begin
  13999. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14000. end;
  14001. procedure TOCMP3_OC3CON.setw(thebits : TBits_32); inline;
  14002. begin
  14003. pTDefRegMap(@Self)^.val := thebits;
  14004. end;
  14005. function TOCMP3_OC3CON.getw : TBits_32; inline;
  14006. begin
  14007. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14008. end;
  14009. procedure TOCMP4_OC4CON.setOCM(thebits : TBits_3); inline;
  14010. begin
  14011. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14012. end;
  14013. function TOCMP4_OC4CON.getOCM : TBits_3; inline;
  14014. begin
  14015. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14016. end;
  14017. procedure TOCMP4_OC4CON.setOCTSEL; inline;
  14018. begin
  14019. pTDefRegMap(@Self)^.&set := $00000008;
  14020. end;
  14021. procedure TOCMP4_OC4CON.clearOCTSEL; inline;
  14022. begin
  14023. pTDefRegMap(@Self)^.clr := $00000008;
  14024. end;
  14025. procedure TOCMP4_OC4CON.setOCTSEL(thebits : TBits_1); inline;
  14026. begin
  14027. if thebits = 0 then
  14028. pTDefRegMap(@Self)^.clr := $00000008
  14029. else
  14030. pTDefRegMap(@Self)^.&set := $00000008;
  14031. end;
  14032. function TOCMP4_OC4CON.getOCTSEL : TBits_1; inline;
  14033. begin
  14034. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14035. end;
  14036. procedure TOCMP4_OC4CON.setOCFLT; inline;
  14037. begin
  14038. pTDefRegMap(@Self)^.&set := $00000010;
  14039. end;
  14040. procedure TOCMP4_OC4CON.clearOCFLT; inline;
  14041. begin
  14042. pTDefRegMap(@Self)^.clr := $00000010;
  14043. end;
  14044. procedure TOCMP4_OC4CON.setOCFLT(thebits : TBits_1); inline;
  14045. begin
  14046. if thebits = 0 then
  14047. pTDefRegMap(@Self)^.clr := $00000010
  14048. else
  14049. pTDefRegMap(@Self)^.&set := $00000010;
  14050. end;
  14051. function TOCMP4_OC4CON.getOCFLT : TBits_1; inline;
  14052. begin
  14053. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14054. end;
  14055. procedure TOCMP4_OC4CON.setOC32; inline;
  14056. begin
  14057. pTDefRegMap(@Self)^.&set := $00000020;
  14058. end;
  14059. procedure TOCMP4_OC4CON.clearOC32; inline;
  14060. begin
  14061. pTDefRegMap(@Self)^.clr := $00000020;
  14062. end;
  14063. procedure TOCMP4_OC4CON.setOC32(thebits : TBits_1); inline;
  14064. begin
  14065. if thebits = 0 then
  14066. pTDefRegMap(@Self)^.clr := $00000020
  14067. else
  14068. pTDefRegMap(@Self)^.&set := $00000020;
  14069. end;
  14070. function TOCMP4_OC4CON.getOC32 : TBits_1; inline;
  14071. begin
  14072. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14073. end;
  14074. procedure TOCMP4_OC4CON.setSIDL; inline;
  14075. begin
  14076. pTDefRegMap(@Self)^.&set := $00002000;
  14077. end;
  14078. procedure TOCMP4_OC4CON.clearSIDL; inline;
  14079. begin
  14080. pTDefRegMap(@Self)^.clr := $00002000;
  14081. end;
  14082. procedure TOCMP4_OC4CON.setSIDL(thebits : TBits_1); inline;
  14083. begin
  14084. if thebits = 0 then
  14085. pTDefRegMap(@Self)^.clr := $00002000
  14086. else
  14087. pTDefRegMap(@Self)^.&set := $00002000;
  14088. end;
  14089. function TOCMP4_OC4CON.getSIDL : TBits_1; inline;
  14090. begin
  14091. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14092. end;
  14093. procedure TOCMP4_OC4CON.setON; inline;
  14094. begin
  14095. pTDefRegMap(@Self)^.&set := $00008000;
  14096. end;
  14097. procedure TOCMP4_OC4CON.clearON; inline;
  14098. begin
  14099. pTDefRegMap(@Self)^.clr := $00008000;
  14100. end;
  14101. procedure TOCMP4_OC4CON.setON(thebits : TBits_1); inline;
  14102. begin
  14103. if thebits = 0 then
  14104. pTDefRegMap(@Self)^.clr := $00008000
  14105. else
  14106. pTDefRegMap(@Self)^.&set := $00008000;
  14107. end;
  14108. function TOCMP4_OC4CON.getON : TBits_1; inline;
  14109. begin
  14110. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14111. end;
  14112. procedure TOCMP4_OC4CON.setOCM0; inline;
  14113. begin
  14114. pTDefRegMap(@Self)^.&set := $00000001;
  14115. end;
  14116. procedure TOCMP4_OC4CON.clearOCM0; inline;
  14117. begin
  14118. pTDefRegMap(@Self)^.clr := $00000001;
  14119. end;
  14120. procedure TOCMP4_OC4CON.setOCM0(thebits : TBits_1); inline;
  14121. begin
  14122. if thebits = 0 then
  14123. pTDefRegMap(@Self)^.clr := $00000001
  14124. else
  14125. pTDefRegMap(@Self)^.&set := $00000001;
  14126. end;
  14127. function TOCMP4_OC4CON.getOCM0 : TBits_1; inline;
  14128. begin
  14129. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14130. end;
  14131. procedure TOCMP4_OC4CON.setOCM1; inline;
  14132. begin
  14133. pTDefRegMap(@Self)^.&set := $00000002;
  14134. end;
  14135. procedure TOCMP4_OC4CON.clearOCM1; inline;
  14136. begin
  14137. pTDefRegMap(@Self)^.clr := $00000002;
  14138. end;
  14139. procedure TOCMP4_OC4CON.setOCM1(thebits : TBits_1); inline;
  14140. begin
  14141. if thebits = 0 then
  14142. pTDefRegMap(@Self)^.clr := $00000002
  14143. else
  14144. pTDefRegMap(@Self)^.&set := $00000002;
  14145. end;
  14146. function TOCMP4_OC4CON.getOCM1 : TBits_1; inline;
  14147. begin
  14148. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14149. end;
  14150. procedure TOCMP4_OC4CON.setOCM2; inline;
  14151. begin
  14152. pTDefRegMap(@Self)^.&set := $00000004;
  14153. end;
  14154. procedure TOCMP4_OC4CON.clearOCM2; inline;
  14155. begin
  14156. pTDefRegMap(@Self)^.clr := $00000004;
  14157. end;
  14158. procedure TOCMP4_OC4CON.setOCM2(thebits : TBits_1); inline;
  14159. begin
  14160. if thebits = 0 then
  14161. pTDefRegMap(@Self)^.clr := $00000004
  14162. else
  14163. pTDefRegMap(@Self)^.&set := $00000004;
  14164. end;
  14165. function TOCMP4_OC4CON.getOCM2 : TBits_1; inline;
  14166. begin
  14167. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14168. end;
  14169. procedure TOCMP4_OC4CON.setOCSIDL; inline;
  14170. begin
  14171. pTDefRegMap(@Self)^.&set := $00002000;
  14172. end;
  14173. procedure TOCMP4_OC4CON.clearOCSIDL; inline;
  14174. begin
  14175. pTDefRegMap(@Self)^.clr := $00002000;
  14176. end;
  14177. procedure TOCMP4_OC4CON.setOCSIDL(thebits : TBits_1); inline;
  14178. begin
  14179. if thebits = 0 then
  14180. pTDefRegMap(@Self)^.clr := $00002000
  14181. else
  14182. pTDefRegMap(@Self)^.&set := $00002000;
  14183. end;
  14184. function TOCMP4_OC4CON.getOCSIDL : TBits_1; inline;
  14185. begin
  14186. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14187. end;
  14188. procedure TOCMP4_OC4CON.setw(thebits : TBits_32); inline;
  14189. begin
  14190. pTDefRegMap(@Self)^.val := thebits;
  14191. end;
  14192. function TOCMP4_OC4CON.getw : TBits_32; inline;
  14193. begin
  14194. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14195. end;
  14196. procedure TOCMP5_OC5CON.setOCM(thebits : TBits_3); inline;
  14197. begin
  14198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  14199. end;
  14200. function TOCMP5_OC5CON.getOCM : TBits_3; inline;
  14201. begin
  14202. getOCM := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  14203. end;
  14204. procedure TOCMP5_OC5CON.setOCTSEL; inline;
  14205. begin
  14206. pTDefRegMap(@Self)^.&set := $00000008;
  14207. end;
  14208. procedure TOCMP5_OC5CON.clearOCTSEL; inline;
  14209. begin
  14210. pTDefRegMap(@Self)^.clr := $00000008;
  14211. end;
  14212. procedure TOCMP5_OC5CON.setOCTSEL(thebits : TBits_1); inline;
  14213. begin
  14214. if thebits = 0 then
  14215. pTDefRegMap(@Self)^.clr := $00000008
  14216. else
  14217. pTDefRegMap(@Self)^.&set := $00000008;
  14218. end;
  14219. function TOCMP5_OC5CON.getOCTSEL : TBits_1; inline;
  14220. begin
  14221. getOCTSEL := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14222. end;
  14223. procedure TOCMP5_OC5CON.setOCFLT; inline;
  14224. begin
  14225. pTDefRegMap(@Self)^.&set := $00000010;
  14226. end;
  14227. procedure TOCMP5_OC5CON.clearOCFLT; inline;
  14228. begin
  14229. pTDefRegMap(@Self)^.clr := $00000010;
  14230. end;
  14231. procedure TOCMP5_OC5CON.setOCFLT(thebits : TBits_1); inline;
  14232. begin
  14233. if thebits = 0 then
  14234. pTDefRegMap(@Self)^.clr := $00000010
  14235. else
  14236. pTDefRegMap(@Self)^.&set := $00000010;
  14237. end;
  14238. function TOCMP5_OC5CON.getOCFLT : TBits_1; inline;
  14239. begin
  14240. getOCFLT := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14241. end;
  14242. procedure TOCMP5_OC5CON.setOC32; inline;
  14243. begin
  14244. pTDefRegMap(@Self)^.&set := $00000020;
  14245. end;
  14246. procedure TOCMP5_OC5CON.clearOC32; inline;
  14247. begin
  14248. pTDefRegMap(@Self)^.clr := $00000020;
  14249. end;
  14250. procedure TOCMP5_OC5CON.setOC32(thebits : TBits_1); inline;
  14251. begin
  14252. if thebits = 0 then
  14253. pTDefRegMap(@Self)^.clr := $00000020
  14254. else
  14255. pTDefRegMap(@Self)^.&set := $00000020;
  14256. end;
  14257. function TOCMP5_OC5CON.getOC32 : TBits_1; inline;
  14258. begin
  14259. getOC32 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14260. end;
  14261. procedure TOCMP5_OC5CON.setSIDL; inline;
  14262. begin
  14263. pTDefRegMap(@Self)^.&set := $00002000;
  14264. end;
  14265. procedure TOCMP5_OC5CON.clearSIDL; inline;
  14266. begin
  14267. pTDefRegMap(@Self)^.clr := $00002000;
  14268. end;
  14269. procedure TOCMP5_OC5CON.setSIDL(thebits : TBits_1); inline;
  14270. begin
  14271. if thebits = 0 then
  14272. pTDefRegMap(@Self)^.clr := $00002000
  14273. else
  14274. pTDefRegMap(@Self)^.&set := $00002000;
  14275. end;
  14276. function TOCMP5_OC5CON.getSIDL : TBits_1; inline;
  14277. begin
  14278. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14279. end;
  14280. procedure TOCMP5_OC5CON.setON; inline;
  14281. begin
  14282. pTDefRegMap(@Self)^.&set := $00008000;
  14283. end;
  14284. procedure TOCMP5_OC5CON.clearON; inline;
  14285. begin
  14286. pTDefRegMap(@Self)^.clr := $00008000;
  14287. end;
  14288. procedure TOCMP5_OC5CON.setON(thebits : TBits_1); inline;
  14289. begin
  14290. if thebits = 0 then
  14291. pTDefRegMap(@Self)^.clr := $00008000
  14292. else
  14293. pTDefRegMap(@Self)^.&set := $00008000;
  14294. end;
  14295. function TOCMP5_OC5CON.getON : TBits_1; inline;
  14296. begin
  14297. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14298. end;
  14299. procedure TOCMP5_OC5CON.setOCM0; inline;
  14300. begin
  14301. pTDefRegMap(@Self)^.&set := $00000001;
  14302. end;
  14303. procedure TOCMP5_OC5CON.clearOCM0; inline;
  14304. begin
  14305. pTDefRegMap(@Self)^.clr := $00000001;
  14306. end;
  14307. procedure TOCMP5_OC5CON.setOCM0(thebits : TBits_1); inline;
  14308. begin
  14309. if thebits = 0 then
  14310. pTDefRegMap(@Self)^.clr := $00000001
  14311. else
  14312. pTDefRegMap(@Self)^.&set := $00000001;
  14313. end;
  14314. function TOCMP5_OC5CON.getOCM0 : TBits_1; inline;
  14315. begin
  14316. getOCM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14317. end;
  14318. procedure TOCMP5_OC5CON.setOCM1; inline;
  14319. begin
  14320. pTDefRegMap(@Self)^.&set := $00000002;
  14321. end;
  14322. procedure TOCMP5_OC5CON.clearOCM1; inline;
  14323. begin
  14324. pTDefRegMap(@Self)^.clr := $00000002;
  14325. end;
  14326. procedure TOCMP5_OC5CON.setOCM1(thebits : TBits_1); inline;
  14327. begin
  14328. if thebits = 0 then
  14329. pTDefRegMap(@Self)^.clr := $00000002
  14330. else
  14331. pTDefRegMap(@Self)^.&set := $00000002;
  14332. end;
  14333. function TOCMP5_OC5CON.getOCM1 : TBits_1; inline;
  14334. begin
  14335. getOCM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14336. end;
  14337. procedure TOCMP5_OC5CON.setOCM2; inline;
  14338. begin
  14339. pTDefRegMap(@Self)^.&set := $00000004;
  14340. end;
  14341. procedure TOCMP5_OC5CON.clearOCM2; inline;
  14342. begin
  14343. pTDefRegMap(@Self)^.clr := $00000004;
  14344. end;
  14345. procedure TOCMP5_OC5CON.setOCM2(thebits : TBits_1); inline;
  14346. begin
  14347. if thebits = 0 then
  14348. pTDefRegMap(@Self)^.clr := $00000004
  14349. else
  14350. pTDefRegMap(@Self)^.&set := $00000004;
  14351. end;
  14352. function TOCMP5_OC5CON.getOCM2 : TBits_1; inline;
  14353. begin
  14354. getOCM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14355. end;
  14356. procedure TOCMP5_OC5CON.setOCSIDL; inline;
  14357. begin
  14358. pTDefRegMap(@Self)^.&set := $00002000;
  14359. end;
  14360. procedure TOCMP5_OC5CON.clearOCSIDL; inline;
  14361. begin
  14362. pTDefRegMap(@Self)^.clr := $00002000;
  14363. end;
  14364. procedure TOCMP5_OC5CON.setOCSIDL(thebits : TBits_1); inline;
  14365. begin
  14366. if thebits = 0 then
  14367. pTDefRegMap(@Self)^.clr := $00002000
  14368. else
  14369. pTDefRegMap(@Self)^.&set := $00002000;
  14370. end;
  14371. function TOCMP5_OC5CON.getOCSIDL : TBits_1; inline;
  14372. begin
  14373. getOCSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14374. end;
  14375. procedure TOCMP5_OC5CON.setw(thebits : TBits_32); inline;
  14376. begin
  14377. pTDefRegMap(@Self)^.val := thebits;
  14378. end;
  14379. function TOCMP5_OC5CON.getw : TBits_32; inline;
  14380. begin
  14381. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14382. end;
  14383. procedure TI2C1_I2C1ACON.setSEN; inline;
  14384. begin
  14385. pTDefRegMap(@Self)^.&set := $00000001;
  14386. end;
  14387. procedure TI2C1_I2C1ACON.clearSEN; inline;
  14388. begin
  14389. pTDefRegMap(@Self)^.clr := $00000001;
  14390. end;
  14391. procedure TI2C1_I2C1ACON.setSEN(thebits : TBits_1); inline;
  14392. begin
  14393. if thebits = 0 then
  14394. pTDefRegMap(@Self)^.clr := $00000001
  14395. else
  14396. pTDefRegMap(@Self)^.&set := $00000001;
  14397. end;
  14398. function TI2C1_I2C1ACON.getSEN : TBits_1; inline;
  14399. begin
  14400. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14401. end;
  14402. procedure TI2C1_I2C1ACON.setRSEN; inline;
  14403. begin
  14404. pTDefRegMap(@Self)^.&set := $00000002;
  14405. end;
  14406. procedure TI2C1_I2C1ACON.clearRSEN; inline;
  14407. begin
  14408. pTDefRegMap(@Self)^.clr := $00000002;
  14409. end;
  14410. procedure TI2C1_I2C1ACON.setRSEN(thebits : TBits_1); inline;
  14411. begin
  14412. if thebits = 0 then
  14413. pTDefRegMap(@Self)^.clr := $00000002
  14414. else
  14415. pTDefRegMap(@Self)^.&set := $00000002;
  14416. end;
  14417. function TI2C1_I2C1ACON.getRSEN : TBits_1; inline;
  14418. begin
  14419. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14420. end;
  14421. procedure TI2C1_I2C1ACON.setPEN; inline;
  14422. begin
  14423. pTDefRegMap(@Self)^.&set := $00000004;
  14424. end;
  14425. procedure TI2C1_I2C1ACON.clearPEN; inline;
  14426. begin
  14427. pTDefRegMap(@Self)^.clr := $00000004;
  14428. end;
  14429. procedure TI2C1_I2C1ACON.setPEN(thebits : TBits_1); inline;
  14430. begin
  14431. if thebits = 0 then
  14432. pTDefRegMap(@Self)^.clr := $00000004
  14433. else
  14434. pTDefRegMap(@Self)^.&set := $00000004;
  14435. end;
  14436. function TI2C1_I2C1ACON.getPEN : TBits_1; inline;
  14437. begin
  14438. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14439. end;
  14440. procedure TI2C1_I2C1ACON.setRCEN; inline;
  14441. begin
  14442. pTDefRegMap(@Self)^.&set := $00000008;
  14443. end;
  14444. procedure TI2C1_I2C1ACON.clearRCEN; inline;
  14445. begin
  14446. pTDefRegMap(@Self)^.clr := $00000008;
  14447. end;
  14448. procedure TI2C1_I2C1ACON.setRCEN(thebits : TBits_1); inline;
  14449. begin
  14450. if thebits = 0 then
  14451. pTDefRegMap(@Self)^.clr := $00000008
  14452. else
  14453. pTDefRegMap(@Self)^.&set := $00000008;
  14454. end;
  14455. function TI2C1_I2C1ACON.getRCEN : TBits_1; inline;
  14456. begin
  14457. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14458. end;
  14459. procedure TI2C1_I2C1ACON.setACKEN; inline;
  14460. begin
  14461. pTDefRegMap(@Self)^.&set := $00000010;
  14462. end;
  14463. procedure TI2C1_I2C1ACON.clearACKEN; inline;
  14464. begin
  14465. pTDefRegMap(@Self)^.clr := $00000010;
  14466. end;
  14467. procedure TI2C1_I2C1ACON.setACKEN(thebits : TBits_1); inline;
  14468. begin
  14469. if thebits = 0 then
  14470. pTDefRegMap(@Self)^.clr := $00000010
  14471. else
  14472. pTDefRegMap(@Self)^.&set := $00000010;
  14473. end;
  14474. function TI2C1_I2C1ACON.getACKEN : TBits_1; inline;
  14475. begin
  14476. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14477. end;
  14478. procedure TI2C1_I2C1ACON.setACKDT; inline;
  14479. begin
  14480. pTDefRegMap(@Self)^.&set := $00000020;
  14481. end;
  14482. procedure TI2C1_I2C1ACON.clearACKDT; inline;
  14483. begin
  14484. pTDefRegMap(@Self)^.clr := $00000020;
  14485. end;
  14486. procedure TI2C1_I2C1ACON.setACKDT(thebits : TBits_1); inline;
  14487. begin
  14488. if thebits = 0 then
  14489. pTDefRegMap(@Self)^.clr := $00000020
  14490. else
  14491. pTDefRegMap(@Self)^.&set := $00000020;
  14492. end;
  14493. function TI2C1_I2C1ACON.getACKDT : TBits_1; inline;
  14494. begin
  14495. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14496. end;
  14497. procedure TI2C1_I2C1ACON.setSTREN; inline;
  14498. begin
  14499. pTDefRegMap(@Self)^.&set := $00000040;
  14500. end;
  14501. procedure TI2C1_I2C1ACON.clearSTREN; inline;
  14502. begin
  14503. pTDefRegMap(@Self)^.clr := $00000040;
  14504. end;
  14505. procedure TI2C1_I2C1ACON.setSTREN(thebits : TBits_1); inline;
  14506. begin
  14507. if thebits = 0 then
  14508. pTDefRegMap(@Self)^.clr := $00000040
  14509. else
  14510. pTDefRegMap(@Self)^.&set := $00000040;
  14511. end;
  14512. function TI2C1_I2C1ACON.getSTREN : TBits_1; inline;
  14513. begin
  14514. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14515. end;
  14516. procedure TI2C1_I2C1ACON.setGCEN; inline;
  14517. begin
  14518. pTDefRegMap(@Self)^.&set := $00000080;
  14519. end;
  14520. procedure TI2C1_I2C1ACON.clearGCEN; inline;
  14521. begin
  14522. pTDefRegMap(@Self)^.clr := $00000080;
  14523. end;
  14524. procedure TI2C1_I2C1ACON.setGCEN(thebits : TBits_1); inline;
  14525. begin
  14526. if thebits = 0 then
  14527. pTDefRegMap(@Self)^.clr := $00000080
  14528. else
  14529. pTDefRegMap(@Self)^.&set := $00000080;
  14530. end;
  14531. function TI2C1_I2C1ACON.getGCEN : TBits_1; inline;
  14532. begin
  14533. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14534. end;
  14535. procedure TI2C1_I2C1ACON.setSMEN; inline;
  14536. begin
  14537. pTDefRegMap(@Self)^.&set := $00000100;
  14538. end;
  14539. procedure TI2C1_I2C1ACON.clearSMEN; inline;
  14540. begin
  14541. pTDefRegMap(@Self)^.clr := $00000100;
  14542. end;
  14543. procedure TI2C1_I2C1ACON.setSMEN(thebits : TBits_1); inline;
  14544. begin
  14545. if thebits = 0 then
  14546. pTDefRegMap(@Self)^.clr := $00000100
  14547. else
  14548. pTDefRegMap(@Self)^.&set := $00000100;
  14549. end;
  14550. function TI2C1_I2C1ACON.getSMEN : TBits_1; inline;
  14551. begin
  14552. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14553. end;
  14554. procedure TI2C1_I2C1ACON.setDISSLW; inline;
  14555. begin
  14556. pTDefRegMap(@Self)^.&set := $00000200;
  14557. end;
  14558. procedure TI2C1_I2C1ACON.clearDISSLW; inline;
  14559. begin
  14560. pTDefRegMap(@Self)^.clr := $00000200;
  14561. end;
  14562. procedure TI2C1_I2C1ACON.setDISSLW(thebits : TBits_1); inline;
  14563. begin
  14564. if thebits = 0 then
  14565. pTDefRegMap(@Self)^.clr := $00000200
  14566. else
  14567. pTDefRegMap(@Self)^.&set := $00000200;
  14568. end;
  14569. function TI2C1_I2C1ACON.getDISSLW : TBits_1; inline;
  14570. begin
  14571. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14572. end;
  14573. procedure TI2C1_I2C1ACON.setA10M; inline;
  14574. begin
  14575. pTDefRegMap(@Self)^.&set := $00000400;
  14576. end;
  14577. procedure TI2C1_I2C1ACON.clearA10M; inline;
  14578. begin
  14579. pTDefRegMap(@Self)^.clr := $00000400;
  14580. end;
  14581. procedure TI2C1_I2C1ACON.setA10M(thebits : TBits_1); inline;
  14582. begin
  14583. if thebits = 0 then
  14584. pTDefRegMap(@Self)^.clr := $00000400
  14585. else
  14586. pTDefRegMap(@Self)^.&set := $00000400;
  14587. end;
  14588. function TI2C1_I2C1ACON.getA10M : TBits_1; inline;
  14589. begin
  14590. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14591. end;
  14592. procedure TI2C1_I2C1ACON.setSTRICT; inline;
  14593. begin
  14594. pTDefRegMap(@Self)^.&set := $00000800;
  14595. end;
  14596. procedure TI2C1_I2C1ACON.clearSTRICT; inline;
  14597. begin
  14598. pTDefRegMap(@Self)^.clr := $00000800;
  14599. end;
  14600. procedure TI2C1_I2C1ACON.setSTRICT(thebits : TBits_1); inline;
  14601. begin
  14602. if thebits = 0 then
  14603. pTDefRegMap(@Self)^.clr := $00000800
  14604. else
  14605. pTDefRegMap(@Self)^.&set := $00000800;
  14606. end;
  14607. function TI2C1_I2C1ACON.getSTRICT : TBits_1; inline;
  14608. begin
  14609. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14610. end;
  14611. procedure TI2C1_I2C1ACON.setSCLREL; inline;
  14612. begin
  14613. pTDefRegMap(@Self)^.&set := $00001000;
  14614. end;
  14615. procedure TI2C1_I2C1ACON.clearSCLREL; inline;
  14616. begin
  14617. pTDefRegMap(@Self)^.clr := $00001000;
  14618. end;
  14619. procedure TI2C1_I2C1ACON.setSCLREL(thebits : TBits_1); inline;
  14620. begin
  14621. if thebits = 0 then
  14622. pTDefRegMap(@Self)^.clr := $00001000
  14623. else
  14624. pTDefRegMap(@Self)^.&set := $00001000;
  14625. end;
  14626. function TI2C1_I2C1ACON.getSCLREL : TBits_1; inline;
  14627. begin
  14628. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14629. end;
  14630. procedure TI2C1_I2C1ACON.setSIDL; inline;
  14631. begin
  14632. pTDefRegMap(@Self)^.&set := $00002000;
  14633. end;
  14634. procedure TI2C1_I2C1ACON.clearSIDL; inline;
  14635. begin
  14636. pTDefRegMap(@Self)^.clr := $00002000;
  14637. end;
  14638. procedure TI2C1_I2C1ACON.setSIDL(thebits : TBits_1); inline;
  14639. begin
  14640. if thebits = 0 then
  14641. pTDefRegMap(@Self)^.clr := $00002000
  14642. else
  14643. pTDefRegMap(@Self)^.&set := $00002000;
  14644. end;
  14645. function TI2C1_I2C1ACON.getSIDL : TBits_1; inline;
  14646. begin
  14647. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14648. end;
  14649. procedure TI2C1_I2C1ACON.setON; inline;
  14650. begin
  14651. pTDefRegMap(@Self)^.&set := $00008000;
  14652. end;
  14653. procedure TI2C1_I2C1ACON.clearON; inline;
  14654. begin
  14655. pTDefRegMap(@Self)^.clr := $00008000;
  14656. end;
  14657. procedure TI2C1_I2C1ACON.setON(thebits : TBits_1); inline;
  14658. begin
  14659. if thebits = 0 then
  14660. pTDefRegMap(@Self)^.clr := $00008000
  14661. else
  14662. pTDefRegMap(@Self)^.&set := $00008000;
  14663. end;
  14664. function TI2C1_I2C1ACON.getON : TBits_1; inline;
  14665. begin
  14666. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14667. end;
  14668. procedure TI2C1_I2C1ACON.setIPMIEN; inline;
  14669. begin
  14670. pTDefRegMap(@Self)^.&set := $00000800;
  14671. end;
  14672. procedure TI2C1_I2C1ACON.clearIPMIEN; inline;
  14673. begin
  14674. pTDefRegMap(@Self)^.clr := $00000800;
  14675. end;
  14676. procedure TI2C1_I2C1ACON.setIPMIEN(thebits : TBits_1); inline;
  14677. begin
  14678. if thebits = 0 then
  14679. pTDefRegMap(@Self)^.clr := $00000800
  14680. else
  14681. pTDefRegMap(@Self)^.&set := $00000800;
  14682. end;
  14683. function TI2C1_I2C1ACON.getIPMIEN : TBits_1; inline;
  14684. begin
  14685. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14686. end;
  14687. procedure TI2C1_I2C1ACON.setI2CSIDL; inline;
  14688. begin
  14689. pTDefRegMap(@Self)^.&set := $00002000;
  14690. end;
  14691. procedure TI2C1_I2C1ACON.clearI2CSIDL; inline;
  14692. begin
  14693. pTDefRegMap(@Self)^.clr := $00002000;
  14694. end;
  14695. procedure TI2C1_I2C1ACON.setI2CSIDL(thebits : TBits_1); inline;
  14696. begin
  14697. if thebits = 0 then
  14698. pTDefRegMap(@Self)^.clr := $00002000
  14699. else
  14700. pTDefRegMap(@Self)^.&set := $00002000;
  14701. end;
  14702. function TI2C1_I2C1ACON.getI2CSIDL : TBits_1; inline;
  14703. begin
  14704. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14705. end;
  14706. procedure TI2C1_I2C1ACON.setI2CEN; inline;
  14707. begin
  14708. pTDefRegMap(@Self)^.&set := $00008000;
  14709. end;
  14710. procedure TI2C1_I2C1ACON.clearI2CEN; inline;
  14711. begin
  14712. pTDefRegMap(@Self)^.clr := $00008000;
  14713. end;
  14714. procedure TI2C1_I2C1ACON.setI2CEN(thebits : TBits_1); inline;
  14715. begin
  14716. if thebits = 0 then
  14717. pTDefRegMap(@Self)^.clr := $00008000
  14718. else
  14719. pTDefRegMap(@Self)^.&set := $00008000;
  14720. end;
  14721. function TI2C1_I2C1ACON.getI2CEN : TBits_1; inline;
  14722. begin
  14723. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  14724. end;
  14725. procedure TI2C1_I2C1ACON.setw(thebits : TBits_32); inline;
  14726. begin
  14727. pTDefRegMap(@Self)^.val := thebits;
  14728. end;
  14729. function TI2C1_I2C1ACON.getw : TBits_32; inline;
  14730. begin
  14731. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  14732. end;
  14733. procedure TI2C1_I2C1CON.setSEN; inline;
  14734. begin
  14735. pTDefRegMap(@Self)^.&set := $00000001;
  14736. end;
  14737. procedure TI2C1_I2C1CON.clearSEN; inline;
  14738. begin
  14739. pTDefRegMap(@Self)^.clr := $00000001;
  14740. end;
  14741. procedure TI2C1_I2C1CON.setSEN(thebits : TBits_1); inline;
  14742. begin
  14743. if thebits = 0 then
  14744. pTDefRegMap(@Self)^.clr := $00000001
  14745. else
  14746. pTDefRegMap(@Self)^.&set := $00000001;
  14747. end;
  14748. function TI2C1_I2C1CON.getSEN : TBits_1; inline;
  14749. begin
  14750. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  14751. end;
  14752. procedure TI2C1_I2C1CON.setRSEN; inline;
  14753. begin
  14754. pTDefRegMap(@Self)^.&set := $00000002;
  14755. end;
  14756. procedure TI2C1_I2C1CON.clearRSEN; inline;
  14757. begin
  14758. pTDefRegMap(@Self)^.clr := $00000002;
  14759. end;
  14760. procedure TI2C1_I2C1CON.setRSEN(thebits : TBits_1); inline;
  14761. begin
  14762. if thebits = 0 then
  14763. pTDefRegMap(@Self)^.clr := $00000002
  14764. else
  14765. pTDefRegMap(@Self)^.&set := $00000002;
  14766. end;
  14767. function TI2C1_I2C1CON.getRSEN : TBits_1; inline;
  14768. begin
  14769. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  14770. end;
  14771. procedure TI2C1_I2C1CON.setPEN; inline;
  14772. begin
  14773. pTDefRegMap(@Self)^.&set := $00000004;
  14774. end;
  14775. procedure TI2C1_I2C1CON.clearPEN; inline;
  14776. begin
  14777. pTDefRegMap(@Self)^.clr := $00000004;
  14778. end;
  14779. procedure TI2C1_I2C1CON.setPEN(thebits : TBits_1); inline;
  14780. begin
  14781. if thebits = 0 then
  14782. pTDefRegMap(@Self)^.clr := $00000004
  14783. else
  14784. pTDefRegMap(@Self)^.&set := $00000004;
  14785. end;
  14786. function TI2C1_I2C1CON.getPEN : TBits_1; inline;
  14787. begin
  14788. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  14789. end;
  14790. procedure TI2C1_I2C1CON.setRCEN; inline;
  14791. begin
  14792. pTDefRegMap(@Self)^.&set := $00000008;
  14793. end;
  14794. procedure TI2C1_I2C1CON.clearRCEN; inline;
  14795. begin
  14796. pTDefRegMap(@Self)^.clr := $00000008;
  14797. end;
  14798. procedure TI2C1_I2C1CON.setRCEN(thebits : TBits_1); inline;
  14799. begin
  14800. if thebits = 0 then
  14801. pTDefRegMap(@Self)^.clr := $00000008
  14802. else
  14803. pTDefRegMap(@Self)^.&set := $00000008;
  14804. end;
  14805. function TI2C1_I2C1CON.getRCEN : TBits_1; inline;
  14806. begin
  14807. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  14808. end;
  14809. procedure TI2C1_I2C1CON.setACKEN; inline;
  14810. begin
  14811. pTDefRegMap(@Self)^.&set := $00000010;
  14812. end;
  14813. procedure TI2C1_I2C1CON.clearACKEN; inline;
  14814. begin
  14815. pTDefRegMap(@Self)^.clr := $00000010;
  14816. end;
  14817. procedure TI2C1_I2C1CON.setACKEN(thebits : TBits_1); inline;
  14818. begin
  14819. if thebits = 0 then
  14820. pTDefRegMap(@Self)^.clr := $00000010
  14821. else
  14822. pTDefRegMap(@Self)^.&set := $00000010;
  14823. end;
  14824. function TI2C1_I2C1CON.getACKEN : TBits_1; inline;
  14825. begin
  14826. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  14827. end;
  14828. procedure TI2C1_I2C1CON.setACKDT; inline;
  14829. begin
  14830. pTDefRegMap(@Self)^.&set := $00000020;
  14831. end;
  14832. procedure TI2C1_I2C1CON.clearACKDT; inline;
  14833. begin
  14834. pTDefRegMap(@Self)^.clr := $00000020;
  14835. end;
  14836. procedure TI2C1_I2C1CON.setACKDT(thebits : TBits_1); inline;
  14837. begin
  14838. if thebits = 0 then
  14839. pTDefRegMap(@Self)^.clr := $00000020
  14840. else
  14841. pTDefRegMap(@Self)^.&set := $00000020;
  14842. end;
  14843. function TI2C1_I2C1CON.getACKDT : TBits_1; inline;
  14844. begin
  14845. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  14846. end;
  14847. procedure TI2C1_I2C1CON.setSTREN; inline;
  14848. begin
  14849. pTDefRegMap(@Self)^.&set := $00000040;
  14850. end;
  14851. procedure TI2C1_I2C1CON.clearSTREN; inline;
  14852. begin
  14853. pTDefRegMap(@Self)^.clr := $00000040;
  14854. end;
  14855. procedure TI2C1_I2C1CON.setSTREN(thebits : TBits_1); inline;
  14856. begin
  14857. if thebits = 0 then
  14858. pTDefRegMap(@Self)^.clr := $00000040
  14859. else
  14860. pTDefRegMap(@Self)^.&set := $00000040;
  14861. end;
  14862. function TI2C1_I2C1CON.getSTREN : TBits_1; inline;
  14863. begin
  14864. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  14865. end;
  14866. procedure TI2C1_I2C1CON.setGCEN; inline;
  14867. begin
  14868. pTDefRegMap(@Self)^.&set := $00000080;
  14869. end;
  14870. procedure TI2C1_I2C1CON.clearGCEN; inline;
  14871. begin
  14872. pTDefRegMap(@Self)^.clr := $00000080;
  14873. end;
  14874. procedure TI2C1_I2C1CON.setGCEN(thebits : TBits_1); inline;
  14875. begin
  14876. if thebits = 0 then
  14877. pTDefRegMap(@Self)^.clr := $00000080
  14878. else
  14879. pTDefRegMap(@Self)^.&set := $00000080;
  14880. end;
  14881. function TI2C1_I2C1CON.getGCEN : TBits_1; inline;
  14882. begin
  14883. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  14884. end;
  14885. procedure TI2C1_I2C1CON.setSMEN; inline;
  14886. begin
  14887. pTDefRegMap(@Self)^.&set := $00000100;
  14888. end;
  14889. procedure TI2C1_I2C1CON.clearSMEN; inline;
  14890. begin
  14891. pTDefRegMap(@Self)^.clr := $00000100;
  14892. end;
  14893. procedure TI2C1_I2C1CON.setSMEN(thebits : TBits_1); inline;
  14894. begin
  14895. if thebits = 0 then
  14896. pTDefRegMap(@Self)^.clr := $00000100
  14897. else
  14898. pTDefRegMap(@Self)^.&set := $00000100;
  14899. end;
  14900. function TI2C1_I2C1CON.getSMEN : TBits_1; inline;
  14901. begin
  14902. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  14903. end;
  14904. procedure TI2C1_I2C1CON.setDISSLW; inline;
  14905. begin
  14906. pTDefRegMap(@Self)^.&set := $00000200;
  14907. end;
  14908. procedure TI2C1_I2C1CON.clearDISSLW; inline;
  14909. begin
  14910. pTDefRegMap(@Self)^.clr := $00000200;
  14911. end;
  14912. procedure TI2C1_I2C1CON.setDISSLW(thebits : TBits_1); inline;
  14913. begin
  14914. if thebits = 0 then
  14915. pTDefRegMap(@Self)^.clr := $00000200
  14916. else
  14917. pTDefRegMap(@Self)^.&set := $00000200;
  14918. end;
  14919. function TI2C1_I2C1CON.getDISSLW : TBits_1; inline;
  14920. begin
  14921. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  14922. end;
  14923. procedure TI2C1_I2C1CON.setA10M; inline;
  14924. begin
  14925. pTDefRegMap(@Self)^.&set := $00000400;
  14926. end;
  14927. procedure TI2C1_I2C1CON.clearA10M; inline;
  14928. begin
  14929. pTDefRegMap(@Self)^.clr := $00000400;
  14930. end;
  14931. procedure TI2C1_I2C1CON.setA10M(thebits : TBits_1); inline;
  14932. begin
  14933. if thebits = 0 then
  14934. pTDefRegMap(@Self)^.clr := $00000400
  14935. else
  14936. pTDefRegMap(@Self)^.&set := $00000400;
  14937. end;
  14938. function TI2C1_I2C1CON.getA10M : TBits_1; inline;
  14939. begin
  14940. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  14941. end;
  14942. procedure TI2C1_I2C1CON.setSTRICT; inline;
  14943. begin
  14944. pTDefRegMap(@Self)^.&set := $00000800;
  14945. end;
  14946. procedure TI2C1_I2C1CON.clearSTRICT; inline;
  14947. begin
  14948. pTDefRegMap(@Self)^.clr := $00000800;
  14949. end;
  14950. procedure TI2C1_I2C1CON.setSTRICT(thebits : TBits_1); inline;
  14951. begin
  14952. if thebits = 0 then
  14953. pTDefRegMap(@Self)^.clr := $00000800
  14954. else
  14955. pTDefRegMap(@Self)^.&set := $00000800;
  14956. end;
  14957. function TI2C1_I2C1CON.getSTRICT : TBits_1; inline;
  14958. begin
  14959. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  14960. end;
  14961. procedure TI2C1_I2C1CON.setSCLREL; inline;
  14962. begin
  14963. pTDefRegMap(@Self)^.&set := $00001000;
  14964. end;
  14965. procedure TI2C1_I2C1CON.clearSCLREL; inline;
  14966. begin
  14967. pTDefRegMap(@Self)^.clr := $00001000;
  14968. end;
  14969. procedure TI2C1_I2C1CON.setSCLREL(thebits : TBits_1); inline;
  14970. begin
  14971. if thebits = 0 then
  14972. pTDefRegMap(@Self)^.clr := $00001000
  14973. else
  14974. pTDefRegMap(@Self)^.&set := $00001000;
  14975. end;
  14976. function TI2C1_I2C1CON.getSCLREL : TBits_1; inline;
  14977. begin
  14978. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  14979. end;
  14980. procedure TI2C1_I2C1CON.setSIDL; inline;
  14981. begin
  14982. pTDefRegMap(@Self)^.&set := $00002000;
  14983. end;
  14984. procedure TI2C1_I2C1CON.clearSIDL; inline;
  14985. begin
  14986. pTDefRegMap(@Self)^.clr := $00002000;
  14987. end;
  14988. procedure TI2C1_I2C1CON.setSIDL(thebits : TBits_1); inline;
  14989. begin
  14990. if thebits = 0 then
  14991. pTDefRegMap(@Self)^.clr := $00002000
  14992. else
  14993. pTDefRegMap(@Self)^.&set := $00002000;
  14994. end;
  14995. function TI2C1_I2C1CON.getSIDL : TBits_1; inline;
  14996. begin
  14997. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  14998. end;
  14999. procedure TI2C1_I2C1CON.setON; inline;
  15000. begin
  15001. pTDefRegMap(@Self)^.&set := $00008000;
  15002. end;
  15003. procedure TI2C1_I2C1CON.clearON; inline;
  15004. begin
  15005. pTDefRegMap(@Self)^.clr := $00008000;
  15006. end;
  15007. procedure TI2C1_I2C1CON.setON(thebits : TBits_1); inline;
  15008. begin
  15009. if thebits = 0 then
  15010. pTDefRegMap(@Self)^.clr := $00008000
  15011. else
  15012. pTDefRegMap(@Self)^.&set := $00008000;
  15013. end;
  15014. function TI2C1_I2C1CON.getON : TBits_1; inline;
  15015. begin
  15016. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15017. end;
  15018. procedure TI2C1_I2C1CON.setIPMIEN; inline;
  15019. begin
  15020. pTDefRegMap(@Self)^.&set := $00000800;
  15021. end;
  15022. procedure TI2C1_I2C1CON.clearIPMIEN; inline;
  15023. begin
  15024. pTDefRegMap(@Self)^.clr := $00000800;
  15025. end;
  15026. procedure TI2C1_I2C1CON.setIPMIEN(thebits : TBits_1); inline;
  15027. begin
  15028. if thebits = 0 then
  15029. pTDefRegMap(@Self)^.clr := $00000800
  15030. else
  15031. pTDefRegMap(@Self)^.&set := $00000800;
  15032. end;
  15033. function TI2C1_I2C1CON.getIPMIEN : TBits_1; inline;
  15034. begin
  15035. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15036. end;
  15037. procedure TI2C1_I2C1CON.setI2CSIDL; inline;
  15038. begin
  15039. pTDefRegMap(@Self)^.&set := $00002000;
  15040. end;
  15041. procedure TI2C1_I2C1CON.clearI2CSIDL; inline;
  15042. begin
  15043. pTDefRegMap(@Self)^.clr := $00002000;
  15044. end;
  15045. procedure TI2C1_I2C1CON.setI2CSIDL(thebits : TBits_1); inline;
  15046. begin
  15047. if thebits = 0 then
  15048. pTDefRegMap(@Self)^.clr := $00002000
  15049. else
  15050. pTDefRegMap(@Self)^.&set := $00002000;
  15051. end;
  15052. function TI2C1_I2C1CON.getI2CSIDL : TBits_1; inline;
  15053. begin
  15054. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15055. end;
  15056. procedure TI2C1_I2C1CON.setI2CEN; inline;
  15057. begin
  15058. pTDefRegMap(@Self)^.&set := $00008000;
  15059. end;
  15060. procedure TI2C1_I2C1CON.clearI2CEN; inline;
  15061. begin
  15062. pTDefRegMap(@Self)^.clr := $00008000;
  15063. end;
  15064. procedure TI2C1_I2C1CON.setI2CEN(thebits : TBits_1); inline;
  15065. begin
  15066. if thebits = 0 then
  15067. pTDefRegMap(@Self)^.clr := $00008000
  15068. else
  15069. pTDefRegMap(@Self)^.&set := $00008000;
  15070. end;
  15071. function TI2C1_I2C1CON.getI2CEN : TBits_1; inline;
  15072. begin
  15073. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15074. end;
  15075. procedure TI2C1_I2C1CON.setw(thebits : TBits_32); inline;
  15076. begin
  15077. pTDefRegMap(@Self)^.val := thebits;
  15078. end;
  15079. function TI2C1_I2C1CON.getw : TBits_32; inline;
  15080. begin
  15081. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15082. end;
  15083. procedure TI2C1_I2C1ASTAT.setTBF; inline;
  15084. begin
  15085. pTDefRegMap(@Self)^.&set := $00000001;
  15086. end;
  15087. procedure TI2C1_I2C1ASTAT.clearTBF; inline;
  15088. begin
  15089. pTDefRegMap(@Self)^.clr := $00000001;
  15090. end;
  15091. procedure TI2C1_I2C1ASTAT.setTBF(thebits : TBits_1); inline;
  15092. begin
  15093. if thebits = 0 then
  15094. pTDefRegMap(@Self)^.clr := $00000001
  15095. else
  15096. pTDefRegMap(@Self)^.&set := $00000001;
  15097. end;
  15098. function TI2C1_I2C1ASTAT.getTBF : TBits_1; inline;
  15099. begin
  15100. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15101. end;
  15102. procedure TI2C1_I2C1ASTAT.setRBF; inline;
  15103. begin
  15104. pTDefRegMap(@Self)^.&set := $00000002;
  15105. end;
  15106. procedure TI2C1_I2C1ASTAT.clearRBF; inline;
  15107. begin
  15108. pTDefRegMap(@Self)^.clr := $00000002;
  15109. end;
  15110. procedure TI2C1_I2C1ASTAT.setRBF(thebits : TBits_1); inline;
  15111. begin
  15112. if thebits = 0 then
  15113. pTDefRegMap(@Self)^.clr := $00000002
  15114. else
  15115. pTDefRegMap(@Self)^.&set := $00000002;
  15116. end;
  15117. function TI2C1_I2C1ASTAT.getRBF : TBits_1; inline;
  15118. begin
  15119. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15120. end;
  15121. procedure TI2C1_I2C1ASTAT.setR_W; inline;
  15122. begin
  15123. pTDefRegMap(@Self)^.&set := $00000004;
  15124. end;
  15125. procedure TI2C1_I2C1ASTAT.clearR_W; inline;
  15126. begin
  15127. pTDefRegMap(@Self)^.clr := $00000004;
  15128. end;
  15129. procedure TI2C1_I2C1ASTAT.setR_W(thebits : TBits_1); inline;
  15130. begin
  15131. if thebits = 0 then
  15132. pTDefRegMap(@Self)^.clr := $00000004
  15133. else
  15134. pTDefRegMap(@Self)^.&set := $00000004;
  15135. end;
  15136. function TI2C1_I2C1ASTAT.getR_W : TBits_1; inline;
  15137. begin
  15138. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15139. end;
  15140. procedure TI2C1_I2C1ASTAT.setS; inline;
  15141. begin
  15142. pTDefRegMap(@Self)^.&set := $00000008;
  15143. end;
  15144. procedure TI2C1_I2C1ASTAT.clearS; inline;
  15145. begin
  15146. pTDefRegMap(@Self)^.clr := $00000008;
  15147. end;
  15148. procedure TI2C1_I2C1ASTAT.setS(thebits : TBits_1); inline;
  15149. begin
  15150. if thebits = 0 then
  15151. pTDefRegMap(@Self)^.clr := $00000008
  15152. else
  15153. pTDefRegMap(@Self)^.&set := $00000008;
  15154. end;
  15155. function TI2C1_I2C1ASTAT.getS : TBits_1; inline;
  15156. begin
  15157. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15158. end;
  15159. procedure TI2C1_I2C1ASTAT.setP; inline;
  15160. begin
  15161. pTDefRegMap(@Self)^.&set := $00000010;
  15162. end;
  15163. procedure TI2C1_I2C1ASTAT.clearP; inline;
  15164. begin
  15165. pTDefRegMap(@Self)^.clr := $00000010;
  15166. end;
  15167. procedure TI2C1_I2C1ASTAT.setP(thebits : TBits_1); inline;
  15168. begin
  15169. if thebits = 0 then
  15170. pTDefRegMap(@Self)^.clr := $00000010
  15171. else
  15172. pTDefRegMap(@Self)^.&set := $00000010;
  15173. end;
  15174. function TI2C1_I2C1ASTAT.getP : TBits_1; inline;
  15175. begin
  15176. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15177. end;
  15178. procedure TI2C1_I2C1ASTAT.setD_A; inline;
  15179. begin
  15180. pTDefRegMap(@Self)^.&set := $00000020;
  15181. end;
  15182. procedure TI2C1_I2C1ASTAT.clearD_A; inline;
  15183. begin
  15184. pTDefRegMap(@Self)^.clr := $00000020;
  15185. end;
  15186. procedure TI2C1_I2C1ASTAT.setD_A(thebits : TBits_1); inline;
  15187. begin
  15188. if thebits = 0 then
  15189. pTDefRegMap(@Self)^.clr := $00000020
  15190. else
  15191. pTDefRegMap(@Self)^.&set := $00000020;
  15192. end;
  15193. function TI2C1_I2C1ASTAT.getD_A : TBits_1; inline;
  15194. begin
  15195. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15196. end;
  15197. procedure TI2C1_I2C1ASTAT.setI2COV; inline;
  15198. begin
  15199. pTDefRegMap(@Self)^.&set := $00000040;
  15200. end;
  15201. procedure TI2C1_I2C1ASTAT.clearI2COV; inline;
  15202. begin
  15203. pTDefRegMap(@Self)^.clr := $00000040;
  15204. end;
  15205. procedure TI2C1_I2C1ASTAT.setI2COV(thebits : TBits_1); inline;
  15206. begin
  15207. if thebits = 0 then
  15208. pTDefRegMap(@Self)^.clr := $00000040
  15209. else
  15210. pTDefRegMap(@Self)^.&set := $00000040;
  15211. end;
  15212. function TI2C1_I2C1ASTAT.getI2COV : TBits_1; inline;
  15213. begin
  15214. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15215. end;
  15216. procedure TI2C1_I2C1ASTAT.setIWCOL; inline;
  15217. begin
  15218. pTDefRegMap(@Self)^.&set := $00000080;
  15219. end;
  15220. procedure TI2C1_I2C1ASTAT.clearIWCOL; inline;
  15221. begin
  15222. pTDefRegMap(@Self)^.clr := $00000080;
  15223. end;
  15224. procedure TI2C1_I2C1ASTAT.setIWCOL(thebits : TBits_1); inline;
  15225. begin
  15226. if thebits = 0 then
  15227. pTDefRegMap(@Self)^.clr := $00000080
  15228. else
  15229. pTDefRegMap(@Self)^.&set := $00000080;
  15230. end;
  15231. function TI2C1_I2C1ASTAT.getIWCOL : TBits_1; inline;
  15232. begin
  15233. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15234. end;
  15235. procedure TI2C1_I2C1ASTAT.setADD10; inline;
  15236. begin
  15237. pTDefRegMap(@Self)^.&set := $00000100;
  15238. end;
  15239. procedure TI2C1_I2C1ASTAT.clearADD10; inline;
  15240. begin
  15241. pTDefRegMap(@Self)^.clr := $00000100;
  15242. end;
  15243. procedure TI2C1_I2C1ASTAT.setADD10(thebits : TBits_1); inline;
  15244. begin
  15245. if thebits = 0 then
  15246. pTDefRegMap(@Self)^.clr := $00000100
  15247. else
  15248. pTDefRegMap(@Self)^.&set := $00000100;
  15249. end;
  15250. function TI2C1_I2C1ASTAT.getADD10 : TBits_1; inline;
  15251. begin
  15252. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15253. end;
  15254. procedure TI2C1_I2C1ASTAT.setGCSTAT; inline;
  15255. begin
  15256. pTDefRegMap(@Self)^.&set := $00000200;
  15257. end;
  15258. procedure TI2C1_I2C1ASTAT.clearGCSTAT; inline;
  15259. begin
  15260. pTDefRegMap(@Self)^.clr := $00000200;
  15261. end;
  15262. procedure TI2C1_I2C1ASTAT.setGCSTAT(thebits : TBits_1); inline;
  15263. begin
  15264. if thebits = 0 then
  15265. pTDefRegMap(@Self)^.clr := $00000200
  15266. else
  15267. pTDefRegMap(@Self)^.&set := $00000200;
  15268. end;
  15269. function TI2C1_I2C1ASTAT.getGCSTAT : TBits_1; inline;
  15270. begin
  15271. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15272. end;
  15273. procedure TI2C1_I2C1ASTAT.setBCL; inline;
  15274. begin
  15275. pTDefRegMap(@Self)^.&set := $00000400;
  15276. end;
  15277. procedure TI2C1_I2C1ASTAT.clearBCL; inline;
  15278. begin
  15279. pTDefRegMap(@Self)^.clr := $00000400;
  15280. end;
  15281. procedure TI2C1_I2C1ASTAT.setBCL(thebits : TBits_1); inline;
  15282. begin
  15283. if thebits = 0 then
  15284. pTDefRegMap(@Self)^.clr := $00000400
  15285. else
  15286. pTDefRegMap(@Self)^.&set := $00000400;
  15287. end;
  15288. function TI2C1_I2C1ASTAT.getBCL : TBits_1; inline;
  15289. begin
  15290. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15291. end;
  15292. procedure TI2C1_I2C1ASTAT.setTRSTAT; inline;
  15293. begin
  15294. pTDefRegMap(@Self)^.&set := $00004000;
  15295. end;
  15296. procedure TI2C1_I2C1ASTAT.clearTRSTAT; inline;
  15297. begin
  15298. pTDefRegMap(@Self)^.clr := $00004000;
  15299. end;
  15300. procedure TI2C1_I2C1ASTAT.setTRSTAT(thebits : TBits_1); inline;
  15301. begin
  15302. if thebits = 0 then
  15303. pTDefRegMap(@Self)^.clr := $00004000
  15304. else
  15305. pTDefRegMap(@Self)^.&set := $00004000;
  15306. end;
  15307. function TI2C1_I2C1ASTAT.getTRSTAT : TBits_1; inline;
  15308. begin
  15309. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15310. end;
  15311. procedure TI2C1_I2C1ASTAT.setACKSTAT; inline;
  15312. begin
  15313. pTDefRegMap(@Self)^.&set := $00008000;
  15314. end;
  15315. procedure TI2C1_I2C1ASTAT.clearACKSTAT; inline;
  15316. begin
  15317. pTDefRegMap(@Self)^.clr := $00008000;
  15318. end;
  15319. procedure TI2C1_I2C1ASTAT.setACKSTAT(thebits : TBits_1); inline;
  15320. begin
  15321. if thebits = 0 then
  15322. pTDefRegMap(@Self)^.clr := $00008000
  15323. else
  15324. pTDefRegMap(@Self)^.&set := $00008000;
  15325. end;
  15326. function TI2C1_I2C1ASTAT.getACKSTAT : TBits_1; inline;
  15327. begin
  15328. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15329. end;
  15330. procedure TI2C1_I2C1ASTAT.setI2CPOV; inline;
  15331. begin
  15332. pTDefRegMap(@Self)^.&set := $00000040;
  15333. end;
  15334. procedure TI2C1_I2C1ASTAT.clearI2CPOV; inline;
  15335. begin
  15336. pTDefRegMap(@Self)^.clr := $00000040;
  15337. end;
  15338. procedure TI2C1_I2C1ASTAT.setI2CPOV(thebits : TBits_1); inline;
  15339. begin
  15340. if thebits = 0 then
  15341. pTDefRegMap(@Self)^.clr := $00000040
  15342. else
  15343. pTDefRegMap(@Self)^.&set := $00000040;
  15344. end;
  15345. function TI2C1_I2C1ASTAT.getI2CPOV : TBits_1; inline;
  15346. begin
  15347. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15348. end;
  15349. procedure TI2C1_I2C1ASTAT.setw(thebits : TBits_32); inline;
  15350. begin
  15351. pTDefRegMap(@Self)^.val := thebits;
  15352. end;
  15353. function TI2C1_I2C1ASTAT.getw : TBits_32; inline;
  15354. begin
  15355. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15356. end;
  15357. procedure TI2C1_I2C1STAT.setTBF; inline;
  15358. begin
  15359. pTDefRegMap(@Self)^.&set := $00000001;
  15360. end;
  15361. procedure TI2C1_I2C1STAT.clearTBF; inline;
  15362. begin
  15363. pTDefRegMap(@Self)^.clr := $00000001;
  15364. end;
  15365. procedure TI2C1_I2C1STAT.setTBF(thebits : TBits_1); inline;
  15366. begin
  15367. if thebits = 0 then
  15368. pTDefRegMap(@Self)^.clr := $00000001
  15369. else
  15370. pTDefRegMap(@Self)^.&set := $00000001;
  15371. end;
  15372. function TI2C1_I2C1STAT.getTBF : TBits_1; inline;
  15373. begin
  15374. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15375. end;
  15376. procedure TI2C1_I2C1STAT.setRBF; inline;
  15377. begin
  15378. pTDefRegMap(@Self)^.&set := $00000002;
  15379. end;
  15380. procedure TI2C1_I2C1STAT.clearRBF; inline;
  15381. begin
  15382. pTDefRegMap(@Self)^.clr := $00000002;
  15383. end;
  15384. procedure TI2C1_I2C1STAT.setRBF(thebits : TBits_1); inline;
  15385. begin
  15386. if thebits = 0 then
  15387. pTDefRegMap(@Self)^.clr := $00000002
  15388. else
  15389. pTDefRegMap(@Self)^.&set := $00000002;
  15390. end;
  15391. function TI2C1_I2C1STAT.getRBF : TBits_1; inline;
  15392. begin
  15393. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15394. end;
  15395. procedure TI2C1_I2C1STAT.setR_W; inline;
  15396. begin
  15397. pTDefRegMap(@Self)^.&set := $00000004;
  15398. end;
  15399. procedure TI2C1_I2C1STAT.clearR_W; inline;
  15400. begin
  15401. pTDefRegMap(@Self)^.clr := $00000004;
  15402. end;
  15403. procedure TI2C1_I2C1STAT.setR_W(thebits : TBits_1); inline;
  15404. begin
  15405. if thebits = 0 then
  15406. pTDefRegMap(@Self)^.clr := $00000004
  15407. else
  15408. pTDefRegMap(@Self)^.&set := $00000004;
  15409. end;
  15410. function TI2C1_I2C1STAT.getR_W : TBits_1; inline;
  15411. begin
  15412. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15413. end;
  15414. procedure TI2C1_I2C1STAT.setS; inline;
  15415. begin
  15416. pTDefRegMap(@Self)^.&set := $00000008;
  15417. end;
  15418. procedure TI2C1_I2C1STAT.clearS; inline;
  15419. begin
  15420. pTDefRegMap(@Self)^.clr := $00000008;
  15421. end;
  15422. procedure TI2C1_I2C1STAT.setS(thebits : TBits_1); inline;
  15423. begin
  15424. if thebits = 0 then
  15425. pTDefRegMap(@Self)^.clr := $00000008
  15426. else
  15427. pTDefRegMap(@Self)^.&set := $00000008;
  15428. end;
  15429. function TI2C1_I2C1STAT.getS : TBits_1; inline;
  15430. begin
  15431. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15432. end;
  15433. procedure TI2C1_I2C1STAT.setP; inline;
  15434. begin
  15435. pTDefRegMap(@Self)^.&set := $00000010;
  15436. end;
  15437. procedure TI2C1_I2C1STAT.clearP; inline;
  15438. begin
  15439. pTDefRegMap(@Self)^.clr := $00000010;
  15440. end;
  15441. procedure TI2C1_I2C1STAT.setP(thebits : TBits_1); inline;
  15442. begin
  15443. if thebits = 0 then
  15444. pTDefRegMap(@Self)^.clr := $00000010
  15445. else
  15446. pTDefRegMap(@Self)^.&set := $00000010;
  15447. end;
  15448. function TI2C1_I2C1STAT.getP : TBits_1; inline;
  15449. begin
  15450. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15451. end;
  15452. procedure TI2C1_I2C1STAT.setD_A; inline;
  15453. begin
  15454. pTDefRegMap(@Self)^.&set := $00000020;
  15455. end;
  15456. procedure TI2C1_I2C1STAT.clearD_A; inline;
  15457. begin
  15458. pTDefRegMap(@Self)^.clr := $00000020;
  15459. end;
  15460. procedure TI2C1_I2C1STAT.setD_A(thebits : TBits_1); inline;
  15461. begin
  15462. if thebits = 0 then
  15463. pTDefRegMap(@Self)^.clr := $00000020
  15464. else
  15465. pTDefRegMap(@Self)^.&set := $00000020;
  15466. end;
  15467. function TI2C1_I2C1STAT.getD_A : TBits_1; inline;
  15468. begin
  15469. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15470. end;
  15471. procedure TI2C1_I2C1STAT.setI2COV; inline;
  15472. begin
  15473. pTDefRegMap(@Self)^.&set := $00000040;
  15474. end;
  15475. procedure TI2C1_I2C1STAT.clearI2COV; inline;
  15476. begin
  15477. pTDefRegMap(@Self)^.clr := $00000040;
  15478. end;
  15479. procedure TI2C1_I2C1STAT.setI2COV(thebits : TBits_1); inline;
  15480. begin
  15481. if thebits = 0 then
  15482. pTDefRegMap(@Self)^.clr := $00000040
  15483. else
  15484. pTDefRegMap(@Self)^.&set := $00000040;
  15485. end;
  15486. function TI2C1_I2C1STAT.getI2COV : TBits_1; inline;
  15487. begin
  15488. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15489. end;
  15490. procedure TI2C1_I2C1STAT.setIWCOL; inline;
  15491. begin
  15492. pTDefRegMap(@Self)^.&set := $00000080;
  15493. end;
  15494. procedure TI2C1_I2C1STAT.clearIWCOL; inline;
  15495. begin
  15496. pTDefRegMap(@Self)^.clr := $00000080;
  15497. end;
  15498. procedure TI2C1_I2C1STAT.setIWCOL(thebits : TBits_1); inline;
  15499. begin
  15500. if thebits = 0 then
  15501. pTDefRegMap(@Self)^.clr := $00000080
  15502. else
  15503. pTDefRegMap(@Self)^.&set := $00000080;
  15504. end;
  15505. function TI2C1_I2C1STAT.getIWCOL : TBits_1; inline;
  15506. begin
  15507. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15508. end;
  15509. procedure TI2C1_I2C1STAT.setADD10; inline;
  15510. begin
  15511. pTDefRegMap(@Self)^.&set := $00000100;
  15512. end;
  15513. procedure TI2C1_I2C1STAT.clearADD10; inline;
  15514. begin
  15515. pTDefRegMap(@Self)^.clr := $00000100;
  15516. end;
  15517. procedure TI2C1_I2C1STAT.setADD10(thebits : TBits_1); inline;
  15518. begin
  15519. if thebits = 0 then
  15520. pTDefRegMap(@Self)^.clr := $00000100
  15521. else
  15522. pTDefRegMap(@Self)^.&set := $00000100;
  15523. end;
  15524. function TI2C1_I2C1STAT.getADD10 : TBits_1; inline;
  15525. begin
  15526. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15527. end;
  15528. procedure TI2C1_I2C1STAT.setGCSTAT; inline;
  15529. begin
  15530. pTDefRegMap(@Self)^.&set := $00000200;
  15531. end;
  15532. procedure TI2C1_I2C1STAT.clearGCSTAT; inline;
  15533. begin
  15534. pTDefRegMap(@Self)^.clr := $00000200;
  15535. end;
  15536. procedure TI2C1_I2C1STAT.setGCSTAT(thebits : TBits_1); inline;
  15537. begin
  15538. if thebits = 0 then
  15539. pTDefRegMap(@Self)^.clr := $00000200
  15540. else
  15541. pTDefRegMap(@Self)^.&set := $00000200;
  15542. end;
  15543. function TI2C1_I2C1STAT.getGCSTAT : TBits_1; inline;
  15544. begin
  15545. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15546. end;
  15547. procedure TI2C1_I2C1STAT.setBCL; inline;
  15548. begin
  15549. pTDefRegMap(@Self)^.&set := $00000400;
  15550. end;
  15551. procedure TI2C1_I2C1STAT.clearBCL; inline;
  15552. begin
  15553. pTDefRegMap(@Self)^.clr := $00000400;
  15554. end;
  15555. procedure TI2C1_I2C1STAT.setBCL(thebits : TBits_1); inline;
  15556. begin
  15557. if thebits = 0 then
  15558. pTDefRegMap(@Self)^.clr := $00000400
  15559. else
  15560. pTDefRegMap(@Self)^.&set := $00000400;
  15561. end;
  15562. function TI2C1_I2C1STAT.getBCL : TBits_1; inline;
  15563. begin
  15564. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15565. end;
  15566. procedure TI2C1_I2C1STAT.setTRSTAT; inline;
  15567. begin
  15568. pTDefRegMap(@Self)^.&set := $00004000;
  15569. end;
  15570. procedure TI2C1_I2C1STAT.clearTRSTAT; inline;
  15571. begin
  15572. pTDefRegMap(@Self)^.clr := $00004000;
  15573. end;
  15574. procedure TI2C1_I2C1STAT.setTRSTAT(thebits : TBits_1); inline;
  15575. begin
  15576. if thebits = 0 then
  15577. pTDefRegMap(@Self)^.clr := $00004000
  15578. else
  15579. pTDefRegMap(@Self)^.&set := $00004000;
  15580. end;
  15581. function TI2C1_I2C1STAT.getTRSTAT : TBits_1; inline;
  15582. begin
  15583. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  15584. end;
  15585. procedure TI2C1_I2C1STAT.setACKSTAT; inline;
  15586. begin
  15587. pTDefRegMap(@Self)^.&set := $00008000;
  15588. end;
  15589. procedure TI2C1_I2C1STAT.clearACKSTAT; inline;
  15590. begin
  15591. pTDefRegMap(@Self)^.clr := $00008000;
  15592. end;
  15593. procedure TI2C1_I2C1STAT.setACKSTAT(thebits : TBits_1); inline;
  15594. begin
  15595. if thebits = 0 then
  15596. pTDefRegMap(@Self)^.clr := $00008000
  15597. else
  15598. pTDefRegMap(@Self)^.&set := $00008000;
  15599. end;
  15600. function TI2C1_I2C1STAT.getACKSTAT : TBits_1; inline;
  15601. begin
  15602. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15603. end;
  15604. procedure TI2C1_I2C1STAT.setI2CPOV; inline;
  15605. begin
  15606. pTDefRegMap(@Self)^.&set := $00000040;
  15607. end;
  15608. procedure TI2C1_I2C1STAT.clearI2CPOV; inline;
  15609. begin
  15610. pTDefRegMap(@Self)^.clr := $00000040;
  15611. end;
  15612. procedure TI2C1_I2C1STAT.setI2CPOV(thebits : TBits_1); inline;
  15613. begin
  15614. if thebits = 0 then
  15615. pTDefRegMap(@Self)^.clr := $00000040
  15616. else
  15617. pTDefRegMap(@Self)^.&set := $00000040;
  15618. end;
  15619. function TI2C1_I2C1STAT.getI2CPOV : TBits_1; inline;
  15620. begin
  15621. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15622. end;
  15623. procedure TI2C1_I2C1STAT.setw(thebits : TBits_32); inline;
  15624. begin
  15625. pTDefRegMap(@Self)^.val := thebits;
  15626. end;
  15627. function TI2C1_I2C1STAT.getw : TBits_32; inline;
  15628. begin
  15629. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15630. end;
  15631. procedure TI2C2_I2C2ACON.setSEN; inline;
  15632. begin
  15633. pTDefRegMap(@Self)^.&set := $00000001;
  15634. end;
  15635. procedure TI2C2_I2C2ACON.clearSEN; inline;
  15636. begin
  15637. pTDefRegMap(@Self)^.clr := $00000001;
  15638. end;
  15639. procedure TI2C2_I2C2ACON.setSEN(thebits : TBits_1); inline;
  15640. begin
  15641. if thebits = 0 then
  15642. pTDefRegMap(@Self)^.clr := $00000001
  15643. else
  15644. pTDefRegMap(@Self)^.&set := $00000001;
  15645. end;
  15646. function TI2C2_I2C2ACON.getSEN : TBits_1; inline;
  15647. begin
  15648. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15649. end;
  15650. procedure TI2C2_I2C2ACON.setRSEN; inline;
  15651. begin
  15652. pTDefRegMap(@Self)^.&set := $00000002;
  15653. end;
  15654. procedure TI2C2_I2C2ACON.clearRSEN; inline;
  15655. begin
  15656. pTDefRegMap(@Self)^.clr := $00000002;
  15657. end;
  15658. procedure TI2C2_I2C2ACON.setRSEN(thebits : TBits_1); inline;
  15659. begin
  15660. if thebits = 0 then
  15661. pTDefRegMap(@Self)^.clr := $00000002
  15662. else
  15663. pTDefRegMap(@Self)^.&set := $00000002;
  15664. end;
  15665. function TI2C2_I2C2ACON.getRSEN : TBits_1; inline;
  15666. begin
  15667. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  15668. end;
  15669. procedure TI2C2_I2C2ACON.setPEN; inline;
  15670. begin
  15671. pTDefRegMap(@Self)^.&set := $00000004;
  15672. end;
  15673. procedure TI2C2_I2C2ACON.clearPEN; inline;
  15674. begin
  15675. pTDefRegMap(@Self)^.clr := $00000004;
  15676. end;
  15677. procedure TI2C2_I2C2ACON.setPEN(thebits : TBits_1); inline;
  15678. begin
  15679. if thebits = 0 then
  15680. pTDefRegMap(@Self)^.clr := $00000004
  15681. else
  15682. pTDefRegMap(@Self)^.&set := $00000004;
  15683. end;
  15684. function TI2C2_I2C2ACON.getPEN : TBits_1; inline;
  15685. begin
  15686. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  15687. end;
  15688. procedure TI2C2_I2C2ACON.setRCEN; inline;
  15689. begin
  15690. pTDefRegMap(@Self)^.&set := $00000008;
  15691. end;
  15692. procedure TI2C2_I2C2ACON.clearRCEN; inline;
  15693. begin
  15694. pTDefRegMap(@Self)^.clr := $00000008;
  15695. end;
  15696. procedure TI2C2_I2C2ACON.setRCEN(thebits : TBits_1); inline;
  15697. begin
  15698. if thebits = 0 then
  15699. pTDefRegMap(@Self)^.clr := $00000008
  15700. else
  15701. pTDefRegMap(@Self)^.&set := $00000008;
  15702. end;
  15703. function TI2C2_I2C2ACON.getRCEN : TBits_1; inline;
  15704. begin
  15705. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  15706. end;
  15707. procedure TI2C2_I2C2ACON.setACKEN; inline;
  15708. begin
  15709. pTDefRegMap(@Self)^.&set := $00000010;
  15710. end;
  15711. procedure TI2C2_I2C2ACON.clearACKEN; inline;
  15712. begin
  15713. pTDefRegMap(@Self)^.clr := $00000010;
  15714. end;
  15715. procedure TI2C2_I2C2ACON.setACKEN(thebits : TBits_1); inline;
  15716. begin
  15717. if thebits = 0 then
  15718. pTDefRegMap(@Self)^.clr := $00000010
  15719. else
  15720. pTDefRegMap(@Self)^.&set := $00000010;
  15721. end;
  15722. function TI2C2_I2C2ACON.getACKEN : TBits_1; inline;
  15723. begin
  15724. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  15725. end;
  15726. procedure TI2C2_I2C2ACON.setACKDT; inline;
  15727. begin
  15728. pTDefRegMap(@Self)^.&set := $00000020;
  15729. end;
  15730. procedure TI2C2_I2C2ACON.clearACKDT; inline;
  15731. begin
  15732. pTDefRegMap(@Self)^.clr := $00000020;
  15733. end;
  15734. procedure TI2C2_I2C2ACON.setACKDT(thebits : TBits_1); inline;
  15735. begin
  15736. if thebits = 0 then
  15737. pTDefRegMap(@Self)^.clr := $00000020
  15738. else
  15739. pTDefRegMap(@Self)^.&set := $00000020;
  15740. end;
  15741. function TI2C2_I2C2ACON.getACKDT : TBits_1; inline;
  15742. begin
  15743. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  15744. end;
  15745. procedure TI2C2_I2C2ACON.setSTREN; inline;
  15746. begin
  15747. pTDefRegMap(@Self)^.&set := $00000040;
  15748. end;
  15749. procedure TI2C2_I2C2ACON.clearSTREN; inline;
  15750. begin
  15751. pTDefRegMap(@Self)^.clr := $00000040;
  15752. end;
  15753. procedure TI2C2_I2C2ACON.setSTREN(thebits : TBits_1); inline;
  15754. begin
  15755. if thebits = 0 then
  15756. pTDefRegMap(@Self)^.clr := $00000040
  15757. else
  15758. pTDefRegMap(@Self)^.&set := $00000040;
  15759. end;
  15760. function TI2C2_I2C2ACON.getSTREN : TBits_1; inline;
  15761. begin
  15762. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  15763. end;
  15764. procedure TI2C2_I2C2ACON.setGCEN; inline;
  15765. begin
  15766. pTDefRegMap(@Self)^.&set := $00000080;
  15767. end;
  15768. procedure TI2C2_I2C2ACON.clearGCEN; inline;
  15769. begin
  15770. pTDefRegMap(@Self)^.clr := $00000080;
  15771. end;
  15772. procedure TI2C2_I2C2ACON.setGCEN(thebits : TBits_1); inline;
  15773. begin
  15774. if thebits = 0 then
  15775. pTDefRegMap(@Self)^.clr := $00000080
  15776. else
  15777. pTDefRegMap(@Self)^.&set := $00000080;
  15778. end;
  15779. function TI2C2_I2C2ACON.getGCEN : TBits_1; inline;
  15780. begin
  15781. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  15782. end;
  15783. procedure TI2C2_I2C2ACON.setSMEN; inline;
  15784. begin
  15785. pTDefRegMap(@Self)^.&set := $00000100;
  15786. end;
  15787. procedure TI2C2_I2C2ACON.clearSMEN; inline;
  15788. begin
  15789. pTDefRegMap(@Self)^.clr := $00000100;
  15790. end;
  15791. procedure TI2C2_I2C2ACON.setSMEN(thebits : TBits_1); inline;
  15792. begin
  15793. if thebits = 0 then
  15794. pTDefRegMap(@Self)^.clr := $00000100
  15795. else
  15796. pTDefRegMap(@Self)^.&set := $00000100;
  15797. end;
  15798. function TI2C2_I2C2ACON.getSMEN : TBits_1; inline;
  15799. begin
  15800. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  15801. end;
  15802. procedure TI2C2_I2C2ACON.setDISSLW; inline;
  15803. begin
  15804. pTDefRegMap(@Self)^.&set := $00000200;
  15805. end;
  15806. procedure TI2C2_I2C2ACON.clearDISSLW; inline;
  15807. begin
  15808. pTDefRegMap(@Self)^.clr := $00000200;
  15809. end;
  15810. procedure TI2C2_I2C2ACON.setDISSLW(thebits : TBits_1); inline;
  15811. begin
  15812. if thebits = 0 then
  15813. pTDefRegMap(@Self)^.clr := $00000200
  15814. else
  15815. pTDefRegMap(@Self)^.&set := $00000200;
  15816. end;
  15817. function TI2C2_I2C2ACON.getDISSLW : TBits_1; inline;
  15818. begin
  15819. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  15820. end;
  15821. procedure TI2C2_I2C2ACON.setA10M; inline;
  15822. begin
  15823. pTDefRegMap(@Self)^.&set := $00000400;
  15824. end;
  15825. procedure TI2C2_I2C2ACON.clearA10M; inline;
  15826. begin
  15827. pTDefRegMap(@Self)^.clr := $00000400;
  15828. end;
  15829. procedure TI2C2_I2C2ACON.setA10M(thebits : TBits_1); inline;
  15830. begin
  15831. if thebits = 0 then
  15832. pTDefRegMap(@Self)^.clr := $00000400
  15833. else
  15834. pTDefRegMap(@Self)^.&set := $00000400;
  15835. end;
  15836. function TI2C2_I2C2ACON.getA10M : TBits_1; inline;
  15837. begin
  15838. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  15839. end;
  15840. procedure TI2C2_I2C2ACON.setSTRICT; inline;
  15841. begin
  15842. pTDefRegMap(@Self)^.&set := $00000800;
  15843. end;
  15844. procedure TI2C2_I2C2ACON.clearSTRICT; inline;
  15845. begin
  15846. pTDefRegMap(@Self)^.clr := $00000800;
  15847. end;
  15848. procedure TI2C2_I2C2ACON.setSTRICT(thebits : TBits_1); inline;
  15849. begin
  15850. if thebits = 0 then
  15851. pTDefRegMap(@Self)^.clr := $00000800
  15852. else
  15853. pTDefRegMap(@Self)^.&set := $00000800;
  15854. end;
  15855. function TI2C2_I2C2ACON.getSTRICT : TBits_1; inline;
  15856. begin
  15857. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15858. end;
  15859. procedure TI2C2_I2C2ACON.setSCLREL; inline;
  15860. begin
  15861. pTDefRegMap(@Self)^.&set := $00001000;
  15862. end;
  15863. procedure TI2C2_I2C2ACON.clearSCLREL; inline;
  15864. begin
  15865. pTDefRegMap(@Self)^.clr := $00001000;
  15866. end;
  15867. procedure TI2C2_I2C2ACON.setSCLREL(thebits : TBits_1); inline;
  15868. begin
  15869. if thebits = 0 then
  15870. pTDefRegMap(@Self)^.clr := $00001000
  15871. else
  15872. pTDefRegMap(@Self)^.&set := $00001000;
  15873. end;
  15874. function TI2C2_I2C2ACON.getSCLREL : TBits_1; inline;
  15875. begin
  15876. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  15877. end;
  15878. procedure TI2C2_I2C2ACON.setSIDL; inline;
  15879. begin
  15880. pTDefRegMap(@Self)^.&set := $00002000;
  15881. end;
  15882. procedure TI2C2_I2C2ACON.clearSIDL; inline;
  15883. begin
  15884. pTDefRegMap(@Self)^.clr := $00002000;
  15885. end;
  15886. procedure TI2C2_I2C2ACON.setSIDL(thebits : TBits_1); inline;
  15887. begin
  15888. if thebits = 0 then
  15889. pTDefRegMap(@Self)^.clr := $00002000
  15890. else
  15891. pTDefRegMap(@Self)^.&set := $00002000;
  15892. end;
  15893. function TI2C2_I2C2ACON.getSIDL : TBits_1; inline;
  15894. begin
  15895. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15896. end;
  15897. procedure TI2C2_I2C2ACON.setON; inline;
  15898. begin
  15899. pTDefRegMap(@Self)^.&set := $00008000;
  15900. end;
  15901. procedure TI2C2_I2C2ACON.clearON; inline;
  15902. begin
  15903. pTDefRegMap(@Self)^.clr := $00008000;
  15904. end;
  15905. procedure TI2C2_I2C2ACON.setON(thebits : TBits_1); inline;
  15906. begin
  15907. if thebits = 0 then
  15908. pTDefRegMap(@Self)^.clr := $00008000
  15909. else
  15910. pTDefRegMap(@Self)^.&set := $00008000;
  15911. end;
  15912. function TI2C2_I2C2ACON.getON : TBits_1; inline;
  15913. begin
  15914. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15915. end;
  15916. procedure TI2C2_I2C2ACON.setIPMIEN; inline;
  15917. begin
  15918. pTDefRegMap(@Self)^.&set := $00000800;
  15919. end;
  15920. procedure TI2C2_I2C2ACON.clearIPMIEN; inline;
  15921. begin
  15922. pTDefRegMap(@Self)^.clr := $00000800;
  15923. end;
  15924. procedure TI2C2_I2C2ACON.setIPMIEN(thebits : TBits_1); inline;
  15925. begin
  15926. if thebits = 0 then
  15927. pTDefRegMap(@Self)^.clr := $00000800
  15928. else
  15929. pTDefRegMap(@Self)^.&set := $00000800;
  15930. end;
  15931. function TI2C2_I2C2ACON.getIPMIEN : TBits_1; inline;
  15932. begin
  15933. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  15934. end;
  15935. procedure TI2C2_I2C2ACON.setI2CSIDL; inline;
  15936. begin
  15937. pTDefRegMap(@Self)^.&set := $00002000;
  15938. end;
  15939. procedure TI2C2_I2C2ACON.clearI2CSIDL; inline;
  15940. begin
  15941. pTDefRegMap(@Self)^.clr := $00002000;
  15942. end;
  15943. procedure TI2C2_I2C2ACON.setI2CSIDL(thebits : TBits_1); inline;
  15944. begin
  15945. if thebits = 0 then
  15946. pTDefRegMap(@Self)^.clr := $00002000
  15947. else
  15948. pTDefRegMap(@Self)^.&set := $00002000;
  15949. end;
  15950. function TI2C2_I2C2ACON.getI2CSIDL : TBits_1; inline;
  15951. begin
  15952. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  15953. end;
  15954. procedure TI2C2_I2C2ACON.setI2CEN; inline;
  15955. begin
  15956. pTDefRegMap(@Self)^.&set := $00008000;
  15957. end;
  15958. procedure TI2C2_I2C2ACON.clearI2CEN; inline;
  15959. begin
  15960. pTDefRegMap(@Self)^.clr := $00008000;
  15961. end;
  15962. procedure TI2C2_I2C2ACON.setI2CEN(thebits : TBits_1); inline;
  15963. begin
  15964. if thebits = 0 then
  15965. pTDefRegMap(@Self)^.clr := $00008000
  15966. else
  15967. pTDefRegMap(@Self)^.&set := $00008000;
  15968. end;
  15969. function TI2C2_I2C2ACON.getI2CEN : TBits_1; inline;
  15970. begin
  15971. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  15972. end;
  15973. procedure TI2C2_I2C2ACON.setw(thebits : TBits_32); inline;
  15974. begin
  15975. pTDefRegMap(@Self)^.val := thebits;
  15976. end;
  15977. function TI2C2_I2C2ACON.getw : TBits_32; inline;
  15978. begin
  15979. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  15980. end;
  15981. procedure TI2C2_I2C2CON.setSEN; inline;
  15982. begin
  15983. pTDefRegMap(@Self)^.&set := $00000001;
  15984. end;
  15985. procedure TI2C2_I2C2CON.clearSEN; inline;
  15986. begin
  15987. pTDefRegMap(@Self)^.clr := $00000001;
  15988. end;
  15989. procedure TI2C2_I2C2CON.setSEN(thebits : TBits_1); inline;
  15990. begin
  15991. if thebits = 0 then
  15992. pTDefRegMap(@Self)^.clr := $00000001
  15993. else
  15994. pTDefRegMap(@Self)^.&set := $00000001;
  15995. end;
  15996. function TI2C2_I2C2CON.getSEN : TBits_1; inline;
  15997. begin
  15998. getSEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  15999. end;
  16000. procedure TI2C2_I2C2CON.setRSEN; inline;
  16001. begin
  16002. pTDefRegMap(@Self)^.&set := $00000002;
  16003. end;
  16004. procedure TI2C2_I2C2CON.clearRSEN; inline;
  16005. begin
  16006. pTDefRegMap(@Self)^.clr := $00000002;
  16007. end;
  16008. procedure TI2C2_I2C2CON.setRSEN(thebits : TBits_1); inline;
  16009. begin
  16010. if thebits = 0 then
  16011. pTDefRegMap(@Self)^.clr := $00000002
  16012. else
  16013. pTDefRegMap(@Self)^.&set := $00000002;
  16014. end;
  16015. function TI2C2_I2C2CON.getRSEN : TBits_1; inline;
  16016. begin
  16017. getRSEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16018. end;
  16019. procedure TI2C2_I2C2CON.setPEN; inline;
  16020. begin
  16021. pTDefRegMap(@Self)^.&set := $00000004;
  16022. end;
  16023. procedure TI2C2_I2C2CON.clearPEN; inline;
  16024. begin
  16025. pTDefRegMap(@Self)^.clr := $00000004;
  16026. end;
  16027. procedure TI2C2_I2C2CON.setPEN(thebits : TBits_1); inline;
  16028. begin
  16029. if thebits = 0 then
  16030. pTDefRegMap(@Self)^.clr := $00000004
  16031. else
  16032. pTDefRegMap(@Self)^.&set := $00000004;
  16033. end;
  16034. function TI2C2_I2C2CON.getPEN : TBits_1; inline;
  16035. begin
  16036. getPEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16037. end;
  16038. procedure TI2C2_I2C2CON.setRCEN; inline;
  16039. begin
  16040. pTDefRegMap(@Self)^.&set := $00000008;
  16041. end;
  16042. procedure TI2C2_I2C2CON.clearRCEN; inline;
  16043. begin
  16044. pTDefRegMap(@Self)^.clr := $00000008;
  16045. end;
  16046. procedure TI2C2_I2C2CON.setRCEN(thebits : TBits_1); inline;
  16047. begin
  16048. if thebits = 0 then
  16049. pTDefRegMap(@Self)^.clr := $00000008
  16050. else
  16051. pTDefRegMap(@Self)^.&set := $00000008;
  16052. end;
  16053. function TI2C2_I2C2CON.getRCEN : TBits_1; inline;
  16054. begin
  16055. getRCEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16056. end;
  16057. procedure TI2C2_I2C2CON.setACKEN; inline;
  16058. begin
  16059. pTDefRegMap(@Self)^.&set := $00000010;
  16060. end;
  16061. procedure TI2C2_I2C2CON.clearACKEN; inline;
  16062. begin
  16063. pTDefRegMap(@Self)^.clr := $00000010;
  16064. end;
  16065. procedure TI2C2_I2C2CON.setACKEN(thebits : TBits_1); inline;
  16066. begin
  16067. if thebits = 0 then
  16068. pTDefRegMap(@Self)^.clr := $00000010
  16069. else
  16070. pTDefRegMap(@Self)^.&set := $00000010;
  16071. end;
  16072. function TI2C2_I2C2CON.getACKEN : TBits_1; inline;
  16073. begin
  16074. getACKEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16075. end;
  16076. procedure TI2C2_I2C2CON.setACKDT; inline;
  16077. begin
  16078. pTDefRegMap(@Self)^.&set := $00000020;
  16079. end;
  16080. procedure TI2C2_I2C2CON.clearACKDT; inline;
  16081. begin
  16082. pTDefRegMap(@Self)^.clr := $00000020;
  16083. end;
  16084. procedure TI2C2_I2C2CON.setACKDT(thebits : TBits_1); inline;
  16085. begin
  16086. if thebits = 0 then
  16087. pTDefRegMap(@Self)^.clr := $00000020
  16088. else
  16089. pTDefRegMap(@Self)^.&set := $00000020;
  16090. end;
  16091. function TI2C2_I2C2CON.getACKDT : TBits_1; inline;
  16092. begin
  16093. getACKDT := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16094. end;
  16095. procedure TI2C2_I2C2CON.setSTREN; inline;
  16096. begin
  16097. pTDefRegMap(@Self)^.&set := $00000040;
  16098. end;
  16099. procedure TI2C2_I2C2CON.clearSTREN; inline;
  16100. begin
  16101. pTDefRegMap(@Self)^.clr := $00000040;
  16102. end;
  16103. procedure TI2C2_I2C2CON.setSTREN(thebits : TBits_1); inline;
  16104. begin
  16105. if thebits = 0 then
  16106. pTDefRegMap(@Self)^.clr := $00000040
  16107. else
  16108. pTDefRegMap(@Self)^.&set := $00000040;
  16109. end;
  16110. function TI2C2_I2C2CON.getSTREN : TBits_1; inline;
  16111. begin
  16112. getSTREN := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16113. end;
  16114. procedure TI2C2_I2C2CON.setGCEN; inline;
  16115. begin
  16116. pTDefRegMap(@Self)^.&set := $00000080;
  16117. end;
  16118. procedure TI2C2_I2C2CON.clearGCEN; inline;
  16119. begin
  16120. pTDefRegMap(@Self)^.clr := $00000080;
  16121. end;
  16122. procedure TI2C2_I2C2CON.setGCEN(thebits : TBits_1); inline;
  16123. begin
  16124. if thebits = 0 then
  16125. pTDefRegMap(@Self)^.clr := $00000080
  16126. else
  16127. pTDefRegMap(@Self)^.&set := $00000080;
  16128. end;
  16129. function TI2C2_I2C2CON.getGCEN : TBits_1; inline;
  16130. begin
  16131. getGCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16132. end;
  16133. procedure TI2C2_I2C2CON.setSMEN; inline;
  16134. begin
  16135. pTDefRegMap(@Self)^.&set := $00000100;
  16136. end;
  16137. procedure TI2C2_I2C2CON.clearSMEN; inline;
  16138. begin
  16139. pTDefRegMap(@Self)^.clr := $00000100;
  16140. end;
  16141. procedure TI2C2_I2C2CON.setSMEN(thebits : TBits_1); inline;
  16142. begin
  16143. if thebits = 0 then
  16144. pTDefRegMap(@Self)^.clr := $00000100
  16145. else
  16146. pTDefRegMap(@Self)^.&set := $00000100;
  16147. end;
  16148. function TI2C2_I2C2CON.getSMEN : TBits_1; inline;
  16149. begin
  16150. getSMEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16151. end;
  16152. procedure TI2C2_I2C2CON.setDISSLW; inline;
  16153. begin
  16154. pTDefRegMap(@Self)^.&set := $00000200;
  16155. end;
  16156. procedure TI2C2_I2C2CON.clearDISSLW; inline;
  16157. begin
  16158. pTDefRegMap(@Self)^.clr := $00000200;
  16159. end;
  16160. procedure TI2C2_I2C2CON.setDISSLW(thebits : TBits_1); inline;
  16161. begin
  16162. if thebits = 0 then
  16163. pTDefRegMap(@Self)^.clr := $00000200
  16164. else
  16165. pTDefRegMap(@Self)^.&set := $00000200;
  16166. end;
  16167. function TI2C2_I2C2CON.getDISSLW : TBits_1; inline;
  16168. begin
  16169. getDISSLW := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16170. end;
  16171. procedure TI2C2_I2C2CON.setA10M; inline;
  16172. begin
  16173. pTDefRegMap(@Self)^.&set := $00000400;
  16174. end;
  16175. procedure TI2C2_I2C2CON.clearA10M; inline;
  16176. begin
  16177. pTDefRegMap(@Self)^.clr := $00000400;
  16178. end;
  16179. procedure TI2C2_I2C2CON.setA10M(thebits : TBits_1); inline;
  16180. begin
  16181. if thebits = 0 then
  16182. pTDefRegMap(@Self)^.clr := $00000400
  16183. else
  16184. pTDefRegMap(@Self)^.&set := $00000400;
  16185. end;
  16186. function TI2C2_I2C2CON.getA10M : TBits_1; inline;
  16187. begin
  16188. getA10M := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16189. end;
  16190. procedure TI2C2_I2C2CON.setSTRICT; inline;
  16191. begin
  16192. pTDefRegMap(@Self)^.&set := $00000800;
  16193. end;
  16194. procedure TI2C2_I2C2CON.clearSTRICT; inline;
  16195. begin
  16196. pTDefRegMap(@Self)^.clr := $00000800;
  16197. end;
  16198. procedure TI2C2_I2C2CON.setSTRICT(thebits : TBits_1); inline;
  16199. begin
  16200. if thebits = 0 then
  16201. pTDefRegMap(@Self)^.clr := $00000800
  16202. else
  16203. pTDefRegMap(@Self)^.&set := $00000800;
  16204. end;
  16205. function TI2C2_I2C2CON.getSTRICT : TBits_1; inline;
  16206. begin
  16207. getSTRICT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16208. end;
  16209. procedure TI2C2_I2C2CON.setSCLREL; inline;
  16210. begin
  16211. pTDefRegMap(@Self)^.&set := $00001000;
  16212. end;
  16213. procedure TI2C2_I2C2CON.clearSCLREL; inline;
  16214. begin
  16215. pTDefRegMap(@Self)^.clr := $00001000;
  16216. end;
  16217. procedure TI2C2_I2C2CON.setSCLREL(thebits : TBits_1); inline;
  16218. begin
  16219. if thebits = 0 then
  16220. pTDefRegMap(@Self)^.clr := $00001000
  16221. else
  16222. pTDefRegMap(@Self)^.&set := $00001000;
  16223. end;
  16224. function TI2C2_I2C2CON.getSCLREL : TBits_1; inline;
  16225. begin
  16226. getSCLREL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  16227. end;
  16228. procedure TI2C2_I2C2CON.setSIDL; inline;
  16229. begin
  16230. pTDefRegMap(@Self)^.&set := $00002000;
  16231. end;
  16232. procedure TI2C2_I2C2CON.clearSIDL; inline;
  16233. begin
  16234. pTDefRegMap(@Self)^.clr := $00002000;
  16235. end;
  16236. procedure TI2C2_I2C2CON.setSIDL(thebits : TBits_1); inline;
  16237. begin
  16238. if thebits = 0 then
  16239. pTDefRegMap(@Self)^.clr := $00002000
  16240. else
  16241. pTDefRegMap(@Self)^.&set := $00002000;
  16242. end;
  16243. function TI2C2_I2C2CON.getSIDL : TBits_1; inline;
  16244. begin
  16245. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16246. end;
  16247. procedure TI2C2_I2C2CON.setON; inline;
  16248. begin
  16249. pTDefRegMap(@Self)^.&set := $00008000;
  16250. end;
  16251. procedure TI2C2_I2C2CON.clearON; inline;
  16252. begin
  16253. pTDefRegMap(@Self)^.clr := $00008000;
  16254. end;
  16255. procedure TI2C2_I2C2CON.setON(thebits : TBits_1); inline;
  16256. begin
  16257. if thebits = 0 then
  16258. pTDefRegMap(@Self)^.clr := $00008000
  16259. else
  16260. pTDefRegMap(@Self)^.&set := $00008000;
  16261. end;
  16262. function TI2C2_I2C2CON.getON : TBits_1; inline;
  16263. begin
  16264. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16265. end;
  16266. procedure TI2C2_I2C2CON.setIPMIEN; inline;
  16267. begin
  16268. pTDefRegMap(@Self)^.&set := $00000800;
  16269. end;
  16270. procedure TI2C2_I2C2CON.clearIPMIEN; inline;
  16271. begin
  16272. pTDefRegMap(@Self)^.clr := $00000800;
  16273. end;
  16274. procedure TI2C2_I2C2CON.setIPMIEN(thebits : TBits_1); inline;
  16275. begin
  16276. if thebits = 0 then
  16277. pTDefRegMap(@Self)^.clr := $00000800
  16278. else
  16279. pTDefRegMap(@Self)^.&set := $00000800;
  16280. end;
  16281. function TI2C2_I2C2CON.getIPMIEN : TBits_1; inline;
  16282. begin
  16283. getIPMIEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  16284. end;
  16285. procedure TI2C2_I2C2CON.setI2CSIDL; inline;
  16286. begin
  16287. pTDefRegMap(@Self)^.&set := $00002000;
  16288. end;
  16289. procedure TI2C2_I2C2CON.clearI2CSIDL; inline;
  16290. begin
  16291. pTDefRegMap(@Self)^.clr := $00002000;
  16292. end;
  16293. procedure TI2C2_I2C2CON.setI2CSIDL(thebits : TBits_1); inline;
  16294. begin
  16295. if thebits = 0 then
  16296. pTDefRegMap(@Self)^.clr := $00002000
  16297. else
  16298. pTDefRegMap(@Self)^.&set := $00002000;
  16299. end;
  16300. function TI2C2_I2C2CON.getI2CSIDL : TBits_1; inline;
  16301. begin
  16302. getI2CSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  16303. end;
  16304. procedure TI2C2_I2C2CON.setI2CEN; inline;
  16305. begin
  16306. pTDefRegMap(@Self)^.&set := $00008000;
  16307. end;
  16308. procedure TI2C2_I2C2CON.clearI2CEN; inline;
  16309. begin
  16310. pTDefRegMap(@Self)^.clr := $00008000;
  16311. end;
  16312. procedure TI2C2_I2C2CON.setI2CEN(thebits : TBits_1); inline;
  16313. begin
  16314. if thebits = 0 then
  16315. pTDefRegMap(@Self)^.clr := $00008000
  16316. else
  16317. pTDefRegMap(@Self)^.&set := $00008000;
  16318. end;
  16319. function TI2C2_I2C2CON.getI2CEN : TBits_1; inline;
  16320. begin
  16321. getI2CEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16322. end;
  16323. procedure TI2C2_I2C2CON.setw(thebits : TBits_32); inline;
  16324. begin
  16325. pTDefRegMap(@Self)^.val := thebits;
  16326. end;
  16327. function TI2C2_I2C2CON.getw : TBits_32; inline;
  16328. begin
  16329. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16330. end;
  16331. procedure TI2C2_I2C2ASTAT.setTBF; inline;
  16332. begin
  16333. pTDefRegMap(@Self)^.&set := $00000001;
  16334. end;
  16335. procedure TI2C2_I2C2ASTAT.clearTBF; inline;
  16336. begin
  16337. pTDefRegMap(@Self)^.clr := $00000001;
  16338. end;
  16339. procedure TI2C2_I2C2ASTAT.setTBF(thebits : TBits_1); inline;
  16340. begin
  16341. if thebits = 0 then
  16342. pTDefRegMap(@Self)^.clr := $00000001
  16343. else
  16344. pTDefRegMap(@Self)^.&set := $00000001;
  16345. end;
  16346. function TI2C2_I2C2ASTAT.getTBF : TBits_1; inline;
  16347. begin
  16348. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16349. end;
  16350. procedure TI2C2_I2C2ASTAT.setRBF; inline;
  16351. begin
  16352. pTDefRegMap(@Self)^.&set := $00000002;
  16353. end;
  16354. procedure TI2C2_I2C2ASTAT.clearRBF; inline;
  16355. begin
  16356. pTDefRegMap(@Self)^.clr := $00000002;
  16357. end;
  16358. procedure TI2C2_I2C2ASTAT.setRBF(thebits : TBits_1); inline;
  16359. begin
  16360. if thebits = 0 then
  16361. pTDefRegMap(@Self)^.clr := $00000002
  16362. else
  16363. pTDefRegMap(@Self)^.&set := $00000002;
  16364. end;
  16365. function TI2C2_I2C2ASTAT.getRBF : TBits_1; inline;
  16366. begin
  16367. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16368. end;
  16369. procedure TI2C2_I2C2ASTAT.setR_W; inline;
  16370. begin
  16371. pTDefRegMap(@Self)^.&set := $00000004;
  16372. end;
  16373. procedure TI2C2_I2C2ASTAT.clearR_W; inline;
  16374. begin
  16375. pTDefRegMap(@Self)^.clr := $00000004;
  16376. end;
  16377. procedure TI2C2_I2C2ASTAT.setR_W(thebits : TBits_1); inline;
  16378. begin
  16379. if thebits = 0 then
  16380. pTDefRegMap(@Self)^.clr := $00000004
  16381. else
  16382. pTDefRegMap(@Self)^.&set := $00000004;
  16383. end;
  16384. function TI2C2_I2C2ASTAT.getR_W : TBits_1; inline;
  16385. begin
  16386. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16387. end;
  16388. procedure TI2C2_I2C2ASTAT.setS; inline;
  16389. begin
  16390. pTDefRegMap(@Self)^.&set := $00000008;
  16391. end;
  16392. procedure TI2C2_I2C2ASTAT.clearS; inline;
  16393. begin
  16394. pTDefRegMap(@Self)^.clr := $00000008;
  16395. end;
  16396. procedure TI2C2_I2C2ASTAT.setS(thebits : TBits_1); inline;
  16397. begin
  16398. if thebits = 0 then
  16399. pTDefRegMap(@Self)^.clr := $00000008
  16400. else
  16401. pTDefRegMap(@Self)^.&set := $00000008;
  16402. end;
  16403. function TI2C2_I2C2ASTAT.getS : TBits_1; inline;
  16404. begin
  16405. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16406. end;
  16407. procedure TI2C2_I2C2ASTAT.setP; inline;
  16408. begin
  16409. pTDefRegMap(@Self)^.&set := $00000010;
  16410. end;
  16411. procedure TI2C2_I2C2ASTAT.clearP; inline;
  16412. begin
  16413. pTDefRegMap(@Self)^.clr := $00000010;
  16414. end;
  16415. procedure TI2C2_I2C2ASTAT.setP(thebits : TBits_1); inline;
  16416. begin
  16417. if thebits = 0 then
  16418. pTDefRegMap(@Self)^.clr := $00000010
  16419. else
  16420. pTDefRegMap(@Self)^.&set := $00000010;
  16421. end;
  16422. function TI2C2_I2C2ASTAT.getP : TBits_1; inline;
  16423. begin
  16424. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16425. end;
  16426. procedure TI2C2_I2C2ASTAT.setD_A; inline;
  16427. begin
  16428. pTDefRegMap(@Self)^.&set := $00000020;
  16429. end;
  16430. procedure TI2C2_I2C2ASTAT.clearD_A; inline;
  16431. begin
  16432. pTDefRegMap(@Self)^.clr := $00000020;
  16433. end;
  16434. procedure TI2C2_I2C2ASTAT.setD_A(thebits : TBits_1); inline;
  16435. begin
  16436. if thebits = 0 then
  16437. pTDefRegMap(@Self)^.clr := $00000020
  16438. else
  16439. pTDefRegMap(@Self)^.&set := $00000020;
  16440. end;
  16441. function TI2C2_I2C2ASTAT.getD_A : TBits_1; inline;
  16442. begin
  16443. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16444. end;
  16445. procedure TI2C2_I2C2ASTAT.setI2COV; inline;
  16446. begin
  16447. pTDefRegMap(@Self)^.&set := $00000040;
  16448. end;
  16449. procedure TI2C2_I2C2ASTAT.clearI2COV; inline;
  16450. begin
  16451. pTDefRegMap(@Self)^.clr := $00000040;
  16452. end;
  16453. procedure TI2C2_I2C2ASTAT.setI2COV(thebits : TBits_1); inline;
  16454. begin
  16455. if thebits = 0 then
  16456. pTDefRegMap(@Self)^.clr := $00000040
  16457. else
  16458. pTDefRegMap(@Self)^.&set := $00000040;
  16459. end;
  16460. function TI2C2_I2C2ASTAT.getI2COV : TBits_1; inline;
  16461. begin
  16462. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16463. end;
  16464. procedure TI2C2_I2C2ASTAT.setIWCOL; inline;
  16465. begin
  16466. pTDefRegMap(@Self)^.&set := $00000080;
  16467. end;
  16468. procedure TI2C2_I2C2ASTAT.clearIWCOL; inline;
  16469. begin
  16470. pTDefRegMap(@Self)^.clr := $00000080;
  16471. end;
  16472. procedure TI2C2_I2C2ASTAT.setIWCOL(thebits : TBits_1); inline;
  16473. begin
  16474. if thebits = 0 then
  16475. pTDefRegMap(@Self)^.clr := $00000080
  16476. else
  16477. pTDefRegMap(@Self)^.&set := $00000080;
  16478. end;
  16479. function TI2C2_I2C2ASTAT.getIWCOL : TBits_1; inline;
  16480. begin
  16481. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16482. end;
  16483. procedure TI2C2_I2C2ASTAT.setADD10; inline;
  16484. begin
  16485. pTDefRegMap(@Self)^.&set := $00000100;
  16486. end;
  16487. procedure TI2C2_I2C2ASTAT.clearADD10; inline;
  16488. begin
  16489. pTDefRegMap(@Self)^.clr := $00000100;
  16490. end;
  16491. procedure TI2C2_I2C2ASTAT.setADD10(thebits : TBits_1); inline;
  16492. begin
  16493. if thebits = 0 then
  16494. pTDefRegMap(@Self)^.clr := $00000100
  16495. else
  16496. pTDefRegMap(@Self)^.&set := $00000100;
  16497. end;
  16498. function TI2C2_I2C2ASTAT.getADD10 : TBits_1; inline;
  16499. begin
  16500. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16501. end;
  16502. procedure TI2C2_I2C2ASTAT.setGCSTAT; inline;
  16503. begin
  16504. pTDefRegMap(@Self)^.&set := $00000200;
  16505. end;
  16506. procedure TI2C2_I2C2ASTAT.clearGCSTAT; inline;
  16507. begin
  16508. pTDefRegMap(@Self)^.clr := $00000200;
  16509. end;
  16510. procedure TI2C2_I2C2ASTAT.setGCSTAT(thebits : TBits_1); inline;
  16511. begin
  16512. if thebits = 0 then
  16513. pTDefRegMap(@Self)^.clr := $00000200
  16514. else
  16515. pTDefRegMap(@Self)^.&set := $00000200;
  16516. end;
  16517. function TI2C2_I2C2ASTAT.getGCSTAT : TBits_1; inline;
  16518. begin
  16519. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16520. end;
  16521. procedure TI2C2_I2C2ASTAT.setBCL; inline;
  16522. begin
  16523. pTDefRegMap(@Self)^.&set := $00000400;
  16524. end;
  16525. procedure TI2C2_I2C2ASTAT.clearBCL; inline;
  16526. begin
  16527. pTDefRegMap(@Self)^.clr := $00000400;
  16528. end;
  16529. procedure TI2C2_I2C2ASTAT.setBCL(thebits : TBits_1); inline;
  16530. begin
  16531. if thebits = 0 then
  16532. pTDefRegMap(@Self)^.clr := $00000400
  16533. else
  16534. pTDefRegMap(@Self)^.&set := $00000400;
  16535. end;
  16536. function TI2C2_I2C2ASTAT.getBCL : TBits_1; inline;
  16537. begin
  16538. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16539. end;
  16540. procedure TI2C2_I2C2ASTAT.setTRSTAT; inline;
  16541. begin
  16542. pTDefRegMap(@Self)^.&set := $00004000;
  16543. end;
  16544. procedure TI2C2_I2C2ASTAT.clearTRSTAT; inline;
  16545. begin
  16546. pTDefRegMap(@Self)^.clr := $00004000;
  16547. end;
  16548. procedure TI2C2_I2C2ASTAT.setTRSTAT(thebits : TBits_1); inline;
  16549. begin
  16550. if thebits = 0 then
  16551. pTDefRegMap(@Self)^.clr := $00004000
  16552. else
  16553. pTDefRegMap(@Self)^.&set := $00004000;
  16554. end;
  16555. function TI2C2_I2C2ASTAT.getTRSTAT : TBits_1; inline;
  16556. begin
  16557. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16558. end;
  16559. procedure TI2C2_I2C2ASTAT.setACKSTAT; inline;
  16560. begin
  16561. pTDefRegMap(@Self)^.&set := $00008000;
  16562. end;
  16563. procedure TI2C2_I2C2ASTAT.clearACKSTAT; inline;
  16564. begin
  16565. pTDefRegMap(@Self)^.clr := $00008000;
  16566. end;
  16567. procedure TI2C2_I2C2ASTAT.setACKSTAT(thebits : TBits_1); inline;
  16568. begin
  16569. if thebits = 0 then
  16570. pTDefRegMap(@Self)^.clr := $00008000
  16571. else
  16572. pTDefRegMap(@Self)^.&set := $00008000;
  16573. end;
  16574. function TI2C2_I2C2ASTAT.getACKSTAT : TBits_1; inline;
  16575. begin
  16576. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16577. end;
  16578. procedure TI2C2_I2C2ASTAT.setI2CPOV; inline;
  16579. begin
  16580. pTDefRegMap(@Self)^.&set := $00000040;
  16581. end;
  16582. procedure TI2C2_I2C2ASTAT.clearI2CPOV; inline;
  16583. begin
  16584. pTDefRegMap(@Self)^.clr := $00000040;
  16585. end;
  16586. procedure TI2C2_I2C2ASTAT.setI2CPOV(thebits : TBits_1); inline;
  16587. begin
  16588. if thebits = 0 then
  16589. pTDefRegMap(@Self)^.clr := $00000040
  16590. else
  16591. pTDefRegMap(@Self)^.&set := $00000040;
  16592. end;
  16593. function TI2C2_I2C2ASTAT.getI2CPOV : TBits_1; inline;
  16594. begin
  16595. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16596. end;
  16597. procedure TI2C2_I2C2ASTAT.setw(thebits : TBits_32); inline;
  16598. begin
  16599. pTDefRegMap(@Self)^.val := thebits;
  16600. end;
  16601. function TI2C2_I2C2ASTAT.getw : TBits_32; inline;
  16602. begin
  16603. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16604. end;
  16605. procedure TI2C2_I2C2STAT.setTBF; inline;
  16606. begin
  16607. pTDefRegMap(@Self)^.&set := $00000001;
  16608. end;
  16609. procedure TI2C2_I2C2STAT.clearTBF; inline;
  16610. begin
  16611. pTDefRegMap(@Self)^.clr := $00000001;
  16612. end;
  16613. procedure TI2C2_I2C2STAT.setTBF(thebits : TBits_1); inline;
  16614. begin
  16615. if thebits = 0 then
  16616. pTDefRegMap(@Self)^.clr := $00000001
  16617. else
  16618. pTDefRegMap(@Self)^.&set := $00000001;
  16619. end;
  16620. function TI2C2_I2C2STAT.getTBF : TBits_1; inline;
  16621. begin
  16622. getTBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  16623. end;
  16624. procedure TI2C2_I2C2STAT.setRBF; inline;
  16625. begin
  16626. pTDefRegMap(@Self)^.&set := $00000002;
  16627. end;
  16628. procedure TI2C2_I2C2STAT.clearRBF; inline;
  16629. begin
  16630. pTDefRegMap(@Self)^.clr := $00000002;
  16631. end;
  16632. procedure TI2C2_I2C2STAT.setRBF(thebits : TBits_1); inline;
  16633. begin
  16634. if thebits = 0 then
  16635. pTDefRegMap(@Self)^.clr := $00000002
  16636. else
  16637. pTDefRegMap(@Self)^.&set := $00000002;
  16638. end;
  16639. function TI2C2_I2C2STAT.getRBF : TBits_1; inline;
  16640. begin
  16641. getRBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  16642. end;
  16643. procedure TI2C2_I2C2STAT.setR_W; inline;
  16644. begin
  16645. pTDefRegMap(@Self)^.&set := $00000004;
  16646. end;
  16647. procedure TI2C2_I2C2STAT.clearR_W; inline;
  16648. begin
  16649. pTDefRegMap(@Self)^.clr := $00000004;
  16650. end;
  16651. procedure TI2C2_I2C2STAT.setR_W(thebits : TBits_1); inline;
  16652. begin
  16653. if thebits = 0 then
  16654. pTDefRegMap(@Self)^.clr := $00000004
  16655. else
  16656. pTDefRegMap(@Self)^.&set := $00000004;
  16657. end;
  16658. function TI2C2_I2C2STAT.getR_W : TBits_1; inline;
  16659. begin
  16660. getR_W := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  16661. end;
  16662. procedure TI2C2_I2C2STAT.setS; inline;
  16663. begin
  16664. pTDefRegMap(@Self)^.&set := $00000008;
  16665. end;
  16666. procedure TI2C2_I2C2STAT.clearS; inline;
  16667. begin
  16668. pTDefRegMap(@Self)^.clr := $00000008;
  16669. end;
  16670. procedure TI2C2_I2C2STAT.setS(thebits : TBits_1); inline;
  16671. begin
  16672. if thebits = 0 then
  16673. pTDefRegMap(@Self)^.clr := $00000008
  16674. else
  16675. pTDefRegMap(@Self)^.&set := $00000008;
  16676. end;
  16677. function TI2C2_I2C2STAT.getS : TBits_1; inline;
  16678. begin
  16679. getS := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  16680. end;
  16681. procedure TI2C2_I2C2STAT.setP; inline;
  16682. begin
  16683. pTDefRegMap(@Self)^.&set := $00000010;
  16684. end;
  16685. procedure TI2C2_I2C2STAT.clearP; inline;
  16686. begin
  16687. pTDefRegMap(@Self)^.clr := $00000010;
  16688. end;
  16689. procedure TI2C2_I2C2STAT.setP(thebits : TBits_1); inline;
  16690. begin
  16691. if thebits = 0 then
  16692. pTDefRegMap(@Self)^.clr := $00000010
  16693. else
  16694. pTDefRegMap(@Self)^.&set := $00000010;
  16695. end;
  16696. function TI2C2_I2C2STAT.getP : TBits_1; inline;
  16697. begin
  16698. getP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16699. end;
  16700. procedure TI2C2_I2C2STAT.setD_A; inline;
  16701. begin
  16702. pTDefRegMap(@Self)^.&set := $00000020;
  16703. end;
  16704. procedure TI2C2_I2C2STAT.clearD_A; inline;
  16705. begin
  16706. pTDefRegMap(@Self)^.clr := $00000020;
  16707. end;
  16708. procedure TI2C2_I2C2STAT.setD_A(thebits : TBits_1); inline;
  16709. begin
  16710. if thebits = 0 then
  16711. pTDefRegMap(@Self)^.clr := $00000020
  16712. else
  16713. pTDefRegMap(@Self)^.&set := $00000020;
  16714. end;
  16715. function TI2C2_I2C2STAT.getD_A : TBits_1; inline;
  16716. begin
  16717. getD_A := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16718. end;
  16719. procedure TI2C2_I2C2STAT.setI2COV; inline;
  16720. begin
  16721. pTDefRegMap(@Self)^.&set := $00000040;
  16722. end;
  16723. procedure TI2C2_I2C2STAT.clearI2COV; inline;
  16724. begin
  16725. pTDefRegMap(@Self)^.clr := $00000040;
  16726. end;
  16727. procedure TI2C2_I2C2STAT.setI2COV(thebits : TBits_1); inline;
  16728. begin
  16729. if thebits = 0 then
  16730. pTDefRegMap(@Self)^.clr := $00000040
  16731. else
  16732. pTDefRegMap(@Self)^.&set := $00000040;
  16733. end;
  16734. function TI2C2_I2C2STAT.getI2COV : TBits_1; inline;
  16735. begin
  16736. getI2COV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16737. end;
  16738. procedure TI2C2_I2C2STAT.setIWCOL; inline;
  16739. begin
  16740. pTDefRegMap(@Self)^.&set := $00000080;
  16741. end;
  16742. procedure TI2C2_I2C2STAT.clearIWCOL; inline;
  16743. begin
  16744. pTDefRegMap(@Self)^.clr := $00000080;
  16745. end;
  16746. procedure TI2C2_I2C2STAT.setIWCOL(thebits : TBits_1); inline;
  16747. begin
  16748. if thebits = 0 then
  16749. pTDefRegMap(@Self)^.clr := $00000080
  16750. else
  16751. pTDefRegMap(@Self)^.&set := $00000080;
  16752. end;
  16753. function TI2C2_I2C2STAT.getIWCOL : TBits_1; inline;
  16754. begin
  16755. getIWCOL := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16756. end;
  16757. procedure TI2C2_I2C2STAT.setADD10; inline;
  16758. begin
  16759. pTDefRegMap(@Self)^.&set := $00000100;
  16760. end;
  16761. procedure TI2C2_I2C2STAT.clearADD10; inline;
  16762. begin
  16763. pTDefRegMap(@Self)^.clr := $00000100;
  16764. end;
  16765. procedure TI2C2_I2C2STAT.setADD10(thebits : TBits_1); inline;
  16766. begin
  16767. if thebits = 0 then
  16768. pTDefRegMap(@Self)^.clr := $00000100
  16769. else
  16770. pTDefRegMap(@Self)^.&set := $00000100;
  16771. end;
  16772. function TI2C2_I2C2STAT.getADD10 : TBits_1; inline;
  16773. begin
  16774. getADD10 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16775. end;
  16776. procedure TI2C2_I2C2STAT.setGCSTAT; inline;
  16777. begin
  16778. pTDefRegMap(@Self)^.&set := $00000200;
  16779. end;
  16780. procedure TI2C2_I2C2STAT.clearGCSTAT; inline;
  16781. begin
  16782. pTDefRegMap(@Self)^.clr := $00000200;
  16783. end;
  16784. procedure TI2C2_I2C2STAT.setGCSTAT(thebits : TBits_1); inline;
  16785. begin
  16786. if thebits = 0 then
  16787. pTDefRegMap(@Self)^.clr := $00000200
  16788. else
  16789. pTDefRegMap(@Self)^.&set := $00000200;
  16790. end;
  16791. function TI2C2_I2C2STAT.getGCSTAT : TBits_1; inline;
  16792. begin
  16793. getGCSTAT := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  16794. end;
  16795. procedure TI2C2_I2C2STAT.setBCL; inline;
  16796. begin
  16797. pTDefRegMap(@Self)^.&set := $00000400;
  16798. end;
  16799. procedure TI2C2_I2C2STAT.clearBCL; inline;
  16800. begin
  16801. pTDefRegMap(@Self)^.clr := $00000400;
  16802. end;
  16803. procedure TI2C2_I2C2STAT.setBCL(thebits : TBits_1); inline;
  16804. begin
  16805. if thebits = 0 then
  16806. pTDefRegMap(@Self)^.clr := $00000400
  16807. else
  16808. pTDefRegMap(@Self)^.&set := $00000400;
  16809. end;
  16810. function TI2C2_I2C2STAT.getBCL : TBits_1; inline;
  16811. begin
  16812. getBCL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  16813. end;
  16814. procedure TI2C2_I2C2STAT.setTRSTAT; inline;
  16815. begin
  16816. pTDefRegMap(@Self)^.&set := $00004000;
  16817. end;
  16818. procedure TI2C2_I2C2STAT.clearTRSTAT; inline;
  16819. begin
  16820. pTDefRegMap(@Self)^.clr := $00004000;
  16821. end;
  16822. procedure TI2C2_I2C2STAT.setTRSTAT(thebits : TBits_1); inline;
  16823. begin
  16824. if thebits = 0 then
  16825. pTDefRegMap(@Self)^.clr := $00004000
  16826. else
  16827. pTDefRegMap(@Self)^.&set := $00004000;
  16828. end;
  16829. function TI2C2_I2C2STAT.getTRSTAT : TBits_1; inline;
  16830. begin
  16831. getTRSTAT := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  16832. end;
  16833. procedure TI2C2_I2C2STAT.setACKSTAT; inline;
  16834. begin
  16835. pTDefRegMap(@Self)^.&set := $00008000;
  16836. end;
  16837. procedure TI2C2_I2C2STAT.clearACKSTAT; inline;
  16838. begin
  16839. pTDefRegMap(@Self)^.clr := $00008000;
  16840. end;
  16841. procedure TI2C2_I2C2STAT.setACKSTAT(thebits : TBits_1); inline;
  16842. begin
  16843. if thebits = 0 then
  16844. pTDefRegMap(@Self)^.clr := $00008000
  16845. else
  16846. pTDefRegMap(@Self)^.&set := $00008000;
  16847. end;
  16848. function TI2C2_I2C2STAT.getACKSTAT : TBits_1; inline;
  16849. begin
  16850. getACKSTAT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  16851. end;
  16852. procedure TI2C2_I2C2STAT.setI2CPOV; inline;
  16853. begin
  16854. pTDefRegMap(@Self)^.&set := $00000040;
  16855. end;
  16856. procedure TI2C2_I2C2STAT.clearI2CPOV; inline;
  16857. begin
  16858. pTDefRegMap(@Self)^.clr := $00000040;
  16859. end;
  16860. procedure TI2C2_I2C2STAT.setI2CPOV(thebits : TBits_1); inline;
  16861. begin
  16862. if thebits = 0 then
  16863. pTDefRegMap(@Self)^.clr := $00000040
  16864. else
  16865. pTDefRegMap(@Self)^.&set := $00000040;
  16866. end;
  16867. function TI2C2_I2C2STAT.getI2CPOV : TBits_1; inline;
  16868. begin
  16869. getI2CPOV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16870. end;
  16871. procedure TI2C2_I2C2STAT.setw(thebits : TBits_32); inline;
  16872. begin
  16873. pTDefRegMap(@Self)^.val := thebits;
  16874. end;
  16875. function TI2C2_I2C2STAT.getw : TBits_32; inline;
  16876. begin
  16877. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  16878. end;
  16879. procedure TSPI1_SPI1CON.setSRXISEL(thebits : TBits_2); inline;
  16880. begin
  16881. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  16882. end;
  16883. function TSPI1_SPI1CON.getSRXISEL : TBits_2; inline;
  16884. begin
  16885. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  16886. end;
  16887. procedure TSPI1_SPI1CON.setSTXISEL(thebits : TBits_2); inline;
  16888. begin
  16889. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  16890. end;
  16891. function TSPI1_SPI1CON.getSTXISEL : TBits_2; inline;
  16892. begin
  16893. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  16894. end;
  16895. procedure TSPI1_SPI1CON.setDISSDI; inline;
  16896. begin
  16897. pTDefRegMap(@Self)^.&set := $00000010;
  16898. end;
  16899. procedure TSPI1_SPI1CON.clearDISSDI; inline;
  16900. begin
  16901. pTDefRegMap(@Self)^.clr := $00000010;
  16902. end;
  16903. procedure TSPI1_SPI1CON.setDISSDI(thebits : TBits_1); inline;
  16904. begin
  16905. if thebits = 0 then
  16906. pTDefRegMap(@Self)^.clr := $00000010
  16907. else
  16908. pTDefRegMap(@Self)^.&set := $00000010;
  16909. end;
  16910. function TSPI1_SPI1CON.getDISSDI : TBits_1; inline;
  16911. begin
  16912. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  16913. end;
  16914. procedure TSPI1_SPI1CON.setMSTEN; inline;
  16915. begin
  16916. pTDefRegMap(@Self)^.&set := $00000020;
  16917. end;
  16918. procedure TSPI1_SPI1CON.clearMSTEN; inline;
  16919. begin
  16920. pTDefRegMap(@Self)^.clr := $00000020;
  16921. end;
  16922. procedure TSPI1_SPI1CON.setMSTEN(thebits : TBits_1); inline;
  16923. begin
  16924. if thebits = 0 then
  16925. pTDefRegMap(@Self)^.clr := $00000020
  16926. else
  16927. pTDefRegMap(@Self)^.&set := $00000020;
  16928. end;
  16929. function TSPI1_SPI1CON.getMSTEN : TBits_1; inline;
  16930. begin
  16931. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  16932. end;
  16933. procedure TSPI1_SPI1CON.setCKP; inline;
  16934. begin
  16935. pTDefRegMap(@Self)^.&set := $00000040;
  16936. end;
  16937. procedure TSPI1_SPI1CON.clearCKP; inline;
  16938. begin
  16939. pTDefRegMap(@Self)^.clr := $00000040;
  16940. end;
  16941. procedure TSPI1_SPI1CON.setCKP(thebits : TBits_1); inline;
  16942. begin
  16943. if thebits = 0 then
  16944. pTDefRegMap(@Self)^.clr := $00000040
  16945. else
  16946. pTDefRegMap(@Self)^.&set := $00000040;
  16947. end;
  16948. function TSPI1_SPI1CON.getCKP : TBits_1; inline;
  16949. begin
  16950. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  16951. end;
  16952. procedure TSPI1_SPI1CON.setSSEN; inline;
  16953. begin
  16954. pTDefRegMap(@Self)^.&set := $00000080;
  16955. end;
  16956. procedure TSPI1_SPI1CON.clearSSEN; inline;
  16957. begin
  16958. pTDefRegMap(@Self)^.clr := $00000080;
  16959. end;
  16960. procedure TSPI1_SPI1CON.setSSEN(thebits : TBits_1); inline;
  16961. begin
  16962. if thebits = 0 then
  16963. pTDefRegMap(@Self)^.clr := $00000080
  16964. else
  16965. pTDefRegMap(@Self)^.&set := $00000080;
  16966. end;
  16967. function TSPI1_SPI1CON.getSSEN : TBits_1; inline;
  16968. begin
  16969. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  16970. end;
  16971. procedure TSPI1_SPI1CON.setCKE; inline;
  16972. begin
  16973. pTDefRegMap(@Self)^.&set := $00000100;
  16974. end;
  16975. procedure TSPI1_SPI1CON.clearCKE; inline;
  16976. begin
  16977. pTDefRegMap(@Self)^.clr := $00000100;
  16978. end;
  16979. procedure TSPI1_SPI1CON.setCKE(thebits : TBits_1); inline;
  16980. begin
  16981. if thebits = 0 then
  16982. pTDefRegMap(@Self)^.clr := $00000100
  16983. else
  16984. pTDefRegMap(@Self)^.&set := $00000100;
  16985. end;
  16986. function TSPI1_SPI1CON.getCKE : TBits_1; inline;
  16987. begin
  16988. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  16989. end;
  16990. procedure TSPI1_SPI1CON.setSMP; inline;
  16991. begin
  16992. pTDefRegMap(@Self)^.&set := $00000200;
  16993. end;
  16994. procedure TSPI1_SPI1CON.clearSMP; inline;
  16995. begin
  16996. pTDefRegMap(@Self)^.clr := $00000200;
  16997. end;
  16998. procedure TSPI1_SPI1CON.setSMP(thebits : TBits_1); inline;
  16999. begin
  17000. if thebits = 0 then
  17001. pTDefRegMap(@Self)^.clr := $00000200
  17002. else
  17003. pTDefRegMap(@Self)^.&set := $00000200;
  17004. end;
  17005. function TSPI1_SPI1CON.getSMP : TBits_1; inline;
  17006. begin
  17007. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17008. end;
  17009. procedure TSPI1_SPI1CON.setMODE16; inline;
  17010. begin
  17011. pTDefRegMap(@Self)^.&set := $00000400;
  17012. end;
  17013. procedure TSPI1_SPI1CON.clearMODE16; inline;
  17014. begin
  17015. pTDefRegMap(@Self)^.clr := $00000400;
  17016. end;
  17017. procedure TSPI1_SPI1CON.setMODE16(thebits : TBits_1); inline;
  17018. begin
  17019. if thebits = 0 then
  17020. pTDefRegMap(@Self)^.clr := $00000400
  17021. else
  17022. pTDefRegMap(@Self)^.&set := $00000400;
  17023. end;
  17024. function TSPI1_SPI1CON.getMODE16 : TBits_1; inline;
  17025. begin
  17026. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17027. end;
  17028. procedure TSPI1_SPI1CON.setMODE32; inline;
  17029. begin
  17030. pTDefRegMap(@Self)^.&set := $00000800;
  17031. end;
  17032. procedure TSPI1_SPI1CON.clearMODE32; inline;
  17033. begin
  17034. pTDefRegMap(@Self)^.clr := $00000800;
  17035. end;
  17036. procedure TSPI1_SPI1CON.setMODE32(thebits : TBits_1); inline;
  17037. begin
  17038. if thebits = 0 then
  17039. pTDefRegMap(@Self)^.clr := $00000800
  17040. else
  17041. pTDefRegMap(@Self)^.&set := $00000800;
  17042. end;
  17043. function TSPI1_SPI1CON.getMODE32 : TBits_1; inline;
  17044. begin
  17045. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17046. end;
  17047. procedure TSPI1_SPI1CON.setDISSDO; inline;
  17048. begin
  17049. pTDefRegMap(@Self)^.&set := $00001000;
  17050. end;
  17051. procedure TSPI1_SPI1CON.clearDISSDO; inline;
  17052. begin
  17053. pTDefRegMap(@Self)^.clr := $00001000;
  17054. end;
  17055. procedure TSPI1_SPI1CON.setDISSDO(thebits : TBits_1); inline;
  17056. begin
  17057. if thebits = 0 then
  17058. pTDefRegMap(@Self)^.clr := $00001000
  17059. else
  17060. pTDefRegMap(@Self)^.&set := $00001000;
  17061. end;
  17062. function TSPI1_SPI1CON.getDISSDO : TBits_1; inline;
  17063. begin
  17064. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17065. end;
  17066. procedure TSPI1_SPI1CON.setSIDL; inline;
  17067. begin
  17068. pTDefRegMap(@Self)^.&set := $00002000;
  17069. end;
  17070. procedure TSPI1_SPI1CON.clearSIDL; inline;
  17071. begin
  17072. pTDefRegMap(@Self)^.clr := $00002000;
  17073. end;
  17074. procedure TSPI1_SPI1CON.setSIDL(thebits : TBits_1); inline;
  17075. begin
  17076. if thebits = 0 then
  17077. pTDefRegMap(@Self)^.clr := $00002000
  17078. else
  17079. pTDefRegMap(@Self)^.&set := $00002000;
  17080. end;
  17081. function TSPI1_SPI1CON.getSIDL : TBits_1; inline;
  17082. begin
  17083. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17084. end;
  17085. procedure TSPI1_SPI1CON.setON; inline;
  17086. begin
  17087. pTDefRegMap(@Self)^.&set := $00008000;
  17088. end;
  17089. procedure TSPI1_SPI1CON.clearON; inline;
  17090. begin
  17091. pTDefRegMap(@Self)^.clr := $00008000;
  17092. end;
  17093. procedure TSPI1_SPI1CON.setON(thebits : TBits_1); inline;
  17094. begin
  17095. if thebits = 0 then
  17096. pTDefRegMap(@Self)^.clr := $00008000
  17097. else
  17098. pTDefRegMap(@Self)^.&set := $00008000;
  17099. end;
  17100. function TSPI1_SPI1CON.getON : TBits_1; inline;
  17101. begin
  17102. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17103. end;
  17104. procedure TSPI1_SPI1CON.setENHBUF; inline;
  17105. begin
  17106. pTDefRegMap(@Self)^.&set := $00010000;
  17107. end;
  17108. procedure TSPI1_SPI1CON.clearENHBUF; inline;
  17109. begin
  17110. pTDefRegMap(@Self)^.clr := $00010000;
  17111. end;
  17112. procedure TSPI1_SPI1CON.setENHBUF(thebits : TBits_1); inline;
  17113. begin
  17114. if thebits = 0 then
  17115. pTDefRegMap(@Self)^.clr := $00010000
  17116. else
  17117. pTDefRegMap(@Self)^.&set := $00010000;
  17118. end;
  17119. function TSPI1_SPI1CON.getENHBUF : TBits_1; inline;
  17120. begin
  17121. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17122. end;
  17123. procedure TSPI1_SPI1CON.setSPIFE; inline;
  17124. begin
  17125. pTDefRegMap(@Self)^.&set := $00020000;
  17126. end;
  17127. procedure TSPI1_SPI1CON.clearSPIFE; inline;
  17128. begin
  17129. pTDefRegMap(@Self)^.clr := $00020000;
  17130. end;
  17131. procedure TSPI1_SPI1CON.setSPIFE(thebits : TBits_1); inline;
  17132. begin
  17133. if thebits = 0 then
  17134. pTDefRegMap(@Self)^.clr := $00020000
  17135. else
  17136. pTDefRegMap(@Self)^.&set := $00020000;
  17137. end;
  17138. function TSPI1_SPI1CON.getSPIFE : TBits_1; inline;
  17139. begin
  17140. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17141. end;
  17142. procedure TSPI1_SPI1CON.setMCLKSEL; inline;
  17143. begin
  17144. pTDefRegMap(@Self)^.&set := $00800000;
  17145. end;
  17146. procedure TSPI1_SPI1CON.clearMCLKSEL; inline;
  17147. begin
  17148. pTDefRegMap(@Self)^.clr := $00800000;
  17149. end;
  17150. procedure TSPI1_SPI1CON.setMCLKSEL(thebits : TBits_1); inline;
  17151. begin
  17152. if thebits = 0 then
  17153. pTDefRegMap(@Self)^.clr := $00800000
  17154. else
  17155. pTDefRegMap(@Self)^.&set := $00800000;
  17156. end;
  17157. function TSPI1_SPI1CON.getMCLKSEL : TBits_1; inline;
  17158. begin
  17159. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17160. end;
  17161. procedure TSPI1_SPI1CON.setFRMCNT(thebits : TBits_3); inline;
  17162. begin
  17163. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17164. end;
  17165. function TSPI1_SPI1CON.getFRMCNT : TBits_3; inline;
  17166. begin
  17167. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17168. end;
  17169. procedure TSPI1_SPI1CON.setFRMSYPW; inline;
  17170. begin
  17171. pTDefRegMap(@Self)^.&set := $08000000;
  17172. end;
  17173. procedure TSPI1_SPI1CON.clearFRMSYPW; inline;
  17174. begin
  17175. pTDefRegMap(@Self)^.clr := $08000000;
  17176. end;
  17177. procedure TSPI1_SPI1CON.setFRMSYPW(thebits : TBits_1); inline;
  17178. begin
  17179. if thebits = 0 then
  17180. pTDefRegMap(@Self)^.clr := $08000000
  17181. else
  17182. pTDefRegMap(@Self)^.&set := $08000000;
  17183. end;
  17184. function TSPI1_SPI1CON.getFRMSYPW : TBits_1; inline;
  17185. begin
  17186. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17187. end;
  17188. procedure TSPI1_SPI1CON.setMSSEN; inline;
  17189. begin
  17190. pTDefRegMap(@Self)^.&set := $10000000;
  17191. end;
  17192. procedure TSPI1_SPI1CON.clearMSSEN; inline;
  17193. begin
  17194. pTDefRegMap(@Self)^.clr := $10000000;
  17195. end;
  17196. procedure TSPI1_SPI1CON.setMSSEN(thebits : TBits_1); inline;
  17197. begin
  17198. if thebits = 0 then
  17199. pTDefRegMap(@Self)^.clr := $10000000
  17200. else
  17201. pTDefRegMap(@Self)^.&set := $10000000;
  17202. end;
  17203. function TSPI1_SPI1CON.getMSSEN : TBits_1; inline;
  17204. begin
  17205. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  17206. end;
  17207. procedure TSPI1_SPI1CON.setFRMPOL; inline;
  17208. begin
  17209. pTDefRegMap(@Self)^.&set := $20000000;
  17210. end;
  17211. procedure TSPI1_SPI1CON.clearFRMPOL; inline;
  17212. begin
  17213. pTDefRegMap(@Self)^.clr := $20000000;
  17214. end;
  17215. procedure TSPI1_SPI1CON.setFRMPOL(thebits : TBits_1); inline;
  17216. begin
  17217. if thebits = 0 then
  17218. pTDefRegMap(@Self)^.clr := $20000000
  17219. else
  17220. pTDefRegMap(@Self)^.&set := $20000000;
  17221. end;
  17222. function TSPI1_SPI1CON.getFRMPOL : TBits_1; inline;
  17223. begin
  17224. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  17225. end;
  17226. procedure TSPI1_SPI1CON.setFRMSYNC; inline;
  17227. begin
  17228. pTDefRegMap(@Self)^.&set := $40000000;
  17229. end;
  17230. procedure TSPI1_SPI1CON.clearFRMSYNC; inline;
  17231. begin
  17232. pTDefRegMap(@Self)^.clr := $40000000;
  17233. end;
  17234. procedure TSPI1_SPI1CON.setFRMSYNC(thebits : TBits_1); inline;
  17235. begin
  17236. if thebits = 0 then
  17237. pTDefRegMap(@Self)^.clr := $40000000
  17238. else
  17239. pTDefRegMap(@Self)^.&set := $40000000;
  17240. end;
  17241. function TSPI1_SPI1CON.getFRMSYNC : TBits_1; inline;
  17242. begin
  17243. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  17244. end;
  17245. procedure TSPI1_SPI1CON.setFRMEN; inline;
  17246. begin
  17247. pTDefRegMap(@Self)^.&set := $80000000;
  17248. end;
  17249. procedure TSPI1_SPI1CON.clearFRMEN; inline;
  17250. begin
  17251. pTDefRegMap(@Self)^.clr := $80000000;
  17252. end;
  17253. procedure TSPI1_SPI1CON.setFRMEN(thebits : TBits_1); inline;
  17254. begin
  17255. if thebits = 0 then
  17256. pTDefRegMap(@Self)^.clr := $80000000
  17257. else
  17258. pTDefRegMap(@Self)^.&set := $80000000;
  17259. end;
  17260. function TSPI1_SPI1CON.getFRMEN : TBits_1; inline;
  17261. begin
  17262. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  17263. end;
  17264. procedure TSPI1_SPI1CON.setw(thebits : TBits_32); inline;
  17265. begin
  17266. pTDefRegMap(@Self)^.val := thebits;
  17267. end;
  17268. function TSPI1_SPI1CON.getw : TBits_32; inline;
  17269. begin
  17270. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17271. end;
  17272. procedure TSPI1_SPI1STAT.setSPIRBF; inline;
  17273. begin
  17274. pTDefRegMap(@Self)^.&set := $00000001;
  17275. end;
  17276. procedure TSPI1_SPI1STAT.clearSPIRBF; inline;
  17277. begin
  17278. pTDefRegMap(@Self)^.clr := $00000001;
  17279. end;
  17280. procedure TSPI1_SPI1STAT.setSPIRBF(thebits : TBits_1); inline;
  17281. begin
  17282. if thebits = 0 then
  17283. pTDefRegMap(@Self)^.clr := $00000001
  17284. else
  17285. pTDefRegMap(@Self)^.&set := $00000001;
  17286. end;
  17287. function TSPI1_SPI1STAT.getSPIRBF : TBits_1; inline;
  17288. begin
  17289. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17290. end;
  17291. procedure TSPI1_SPI1STAT.setSPITBF; inline;
  17292. begin
  17293. pTDefRegMap(@Self)^.&set := $00000002;
  17294. end;
  17295. procedure TSPI1_SPI1STAT.clearSPITBF; inline;
  17296. begin
  17297. pTDefRegMap(@Self)^.clr := $00000002;
  17298. end;
  17299. procedure TSPI1_SPI1STAT.setSPITBF(thebits : TBits_1); inline;
  17300. begin
  17301. if thebits = 0 then
  17302. pTDefRegMap(@Self)^.clr := $00000002
  17303. else
  17304. pTDefRegMap(@Self)^.&set := $00000002;
  17305. end;
  17306. function TSPI1_SPI1STAT.getSPITBF : TBits_1; inline;
  17307. begin
  17308. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17309. end;
  17310. procedure TSPI1_SPI1STAT.setSPITBE; inline;
  17311. begin
  17312. pTDefRegMap(@Self)^.&set := $00000008;
  17313. end;
  17314. procedure TSPI1_SPI1STAT.clearSPITBE; inline;
  17315. begin
  17316. pTDefRegMap(@Self)^.clr := $00000008;
  17317. end;
  17318. procedure TSPI1_SPI1STAT.setSPITBE(thebits : TBits_1); inline;
  17319. begin
  17320. if thebits = 0 then
  17321. pTDefRegMap(@Self)^.clr := $00000008
  17322. else
  17323. pTDefRegMap(@Self)^.&set := $00000008;
  17324. end;
  17325. function TSPI1_SPI1STAT.getSPITBE : TBits_1; inline;
  17326. begin
  17327. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17328. end;
  17329. procedure TSPI1_SPI1STAT.setSPIRBE; inline;
  17330. begin
  17331. pTDefRegMap(@Self)^.&set := $00000020;
  17332. end;
  17333. procedure TSPI1_SPI1STAT.clearSPIRBE; inline;
  17334. begin
  17335. pTDefRegMap(@Self)^.clr := $00000020;
  17336. end;
  17337. procedure TSPI1_SPI1STAT.setSPIRBE(thebits : TBits_1); inline;
  17338. begin
  17339. if thebits = 0 then
  17340. pTDefRegMap(@Self)^.clr := $00000020
  17341. else
  17342. pTDefRegMap(@Self)^.&set := $00000020;
  17343. end;
  17344. function TSPI1_SPI1STAT.getSPIRBE : TBits_1; inline;
  17345. begin
  17346. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17347. end;
  17348. procedure TSPI1_SPI1STAT.setSPIROV; inline;
  17349. begin
  17350. pTDefRegMap(@Self)^.&set := $00000040;
  17351. end;
  17352. procedure TSPI1_SPI1STAT.clearSPIROV; inline;
  17353. begin
  17354. pTDefRegMap(@Self)^.clr := $00000040;
  17355. end;
  17356. procedure TSPI1_SPI1STAT.setSPIROV(thebits : TBits_1); inline;
  17357. begin
  17358. if thebits = 0 then
  17359. pTDefRegMap(@Self)^.clr := $00000040
  17360. else
  17361. pTDefRegMap(@Self)^.&set := $00000040;
  17362. end;
  17363. function TSPI1_SPI1STAT.getSPIROV : TBits_1; inline;
  17364. begin
  17365. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17366. end;
  17367. procedure TSPI1_SPI1STAT.setSRMT; inline;
  17368. begin
  17369. pTDefRegMap(@Self)^.&set := $00000080;
  17370. end;
  17371. procedure TSPI1_SPI1STAT.clearSRMT; inline;
  17372. begin
  17373. pTDefRegMap(@Self)^.clr := $00000080;
  17374. end;
  17375. procedure TSPI1_SPI1STAT.setSRMT(thebits : TBits_1); inline;
  17376. begin
  17377. if thebits = 0 then
  17378. pTDefRegMap(@Self)^.clr := $00000080
  17379. else
  17380. pTDefRegMap(@Self)^.&set := $00000080;
  17381. end;
  17382. function TSPI1_SPI1STAT.getSRMT : TBits_1; inline;
  17383. begin
  17384. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17385. end;
  17386. procedure TSPI1_SPI1STAT.setSPITUR; inline;
  17387. begin
  17388. pTDefRegMap(@Self)^.&set := $00000100;
  17389. end;
  17390. procedure TSPI1_SPI1STAT.clearSPITUR; inline;
  17391. begin
  17392. pTDefRegMap(@Self)^.clr := $00000100;
  17393. end;
  17394. procedure TSPI1_SPI1STAT.setSPITUR(thebits : TBits_1); inline;
  17395. begin
  17396. if thebits = 0 then
  17397. pTDefRegMap(@Self)^.clr := $00000100
  17398. else
  17399. pTDefRegMap(@Self)^.&set := $00000100;
  17400. end;
  17401. function TSPI1_SPI1STAT.getSPITUR : TBits_1; inline;
  17402. begin
  17403. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17404. end;
  17405. procedure TSPI1_SPI1STAT.setSPIBUSY; inline;
  17406. begin
  17407. pTDefRegMap(@Self)^.&set := $00000800;
  17408. end;
  17409. procedure TSPI1_SPI1STAT.clearSPIBUSY; inline;
  17410. begin
  17411. pTDefRegMap(@Self)^.clr := $00000800;
  17412. end;
  17413. procedure TSPI1_SPI1STAT.setSPIBUSY(thebits : TBits_1); inline;
  17414. begin
  17415. if thebits = 0 then
  17416. pTDefRegMap(@Self)^.clr := $00000800
  17417. else
  17418. pTDefRegMap(@Self)^.&set := $00000800;
  17419. end;
  17420. function TSPI1_SPI1STAT.getSPIBUSY : TBits_1; inline;
  17421. begin
  17422. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17423. end;
  17424. procedure TSPI1_SPI1STAT.setFRMERR; inline;
  17425. begin
  17426. pTDefRegMap(@Self)^.&set := $00001000;
  17427. end;
  17428. procedure TSPI1_SPI1STAT.clearFRMERR; inline;
  17429. begin
  17430. pTDefRegMap(@Self)^.clr := $00001000;
  17431. end;
  17432. procedure TSPI1_SPI1STAT.setFRMERR(thebits : TBits_1); inline;
  17433. begin
  17434. if thebits = 0 then
  17435. pTDefRegMap(@Self)^.clr := $00001000
  17436. else
  17437. pTDefRegMap(@Self)^.&set := $00001000;
  17438. end;
  17439. function TSPI1_SPI1STAT.getFRMERR : TBits_1; inline;
  17440. begin
  17441. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17442. end;
  17443. procedure TSPI1_SPI1STAT.setTXBUFELM(thebits : TBits_5); inline;
  17444. begin
  17445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  17446. end;
  17447. function TSPI1_SPI1STAT.getTXBUFELM : TBits_5; inline;
  17448. begin
  17449. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  17450. end;
  17451. procedure TSPI1_SPI1STAT.setRXBUFELM(thebits : TBits_5); inline;
  17452. begin
  17453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  17454. end;
  17455. function TSPI1_SPI1STAT.getRXBUFELM : TBits_5; inline;
  17456. begin
  17457. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  17458. end;
  17459. procedure TSPI1_SPI1STAT.setw(thebits : TBits_32); inline;
  17460. begin
  17461. pTDefRegMap(@Self)^.val := thebits;
  17462. end;
  17463. function TSPI1_SPI1STAT.getw : TBits_32; inline;
  17464. begin
  17465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17466. end;
  17467. procedure TSPI1_SPI1CON2.setAUDMOD(thebits : TBits_2); inline;
  17468. begin
  17469. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17470. end;
  17471. function TSPI1_SPI1CON2.getAUDMOD : TBits_2; inline;
  17472. begin
  17473. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17474. end;
  17475. procedure TSPI1_SPI1CON2.setAUDMONO; inline;
  17476. begin
  17477. pTDefRegMap(@Self)^.&set := $00000008;
  17478. end;
  17479. procedure TSPI1_SPI1CON2.clearAUDMONO; inline;
  17480. begin
  17481. pTDefRegMap(@Self)^.clr := $00000008;
  17482. end;
  17483. procedure TSPI1_SPI1CON2.setAUDMONO(thebits : TBits_1); inline;
  17484. begin
  17485. if thebits = 0 then
  17486. pTDefRegMap(@Self)^.clr := $00000008
  17487. else
  17488. pTDefRegMap(@Self)^.&set := $00000008;
  17489. end;
  17490. function TSPI1_SPI1CON2.getAUDMONO : TBits_1; inline;
  17491. begin
  17492. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  17493. end;
  17494. procedure TSPI1_SPI1CON2.setAUDEN; inline;
  17495. begin
  17496. pTDefRegMap(@Self)^.&set := $00000080;
  17497. end;
  17498. procedure TSPI1_SPI1CON2.clearAUDEN; inline;
  17499. begin
  17500. pTDefRegMap(@Self)^.clr := $00000080;
  17501. end;
  17502. procedure TSPI1_SPI1CON2.setAUDEN(thebits : TBits_1); inline;
  17503. begin
  17504. if thebits = 0 then
  17505. pTDefRegMap(@Self)^.clr := $00000080
  17506. else
  17507. pTDefRegMap(@Self)^.&set := $00000080;
  17508. end;
  17509. function TSPI1_SPI1CON2.getAUDEN : TBits_1; inline;
  17510. begin
  17511. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17512. end;
  17513. procedure TSPI1_SPI1CON2.setIGNTUR; inline;
  17514. begin
  17515. pTDefRegMap(@Self)^.&set := $00000100;
  17516. end;
  17517. procedure TSPI1_SPI1CON2.clearIGNTUR; inline;
  17518. begin
  17519. pTDefRegMap(@Self)^.clr := $00000100;
  17520. end;
  17521. procedure TSPI1_SPI1CON2.setIGNTUR(thebits : TBits_1); inline;
  17522. begin
  17523. if thebits = 0 then
  17524. pTDefRegMap(@Self)^.clr := $00000100
  17525. else
  17526. pTDefRegMap(@Self)^.&set := $00000100;
  17527. end;
  17528. function TSPI1_SPI1CON2.getIGNTUR : TBits_1; inline;
  17529. begin
  17530. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17531. end;
  17532. procedure TSPI1_SPI1CON2.setIGNROV; inline;
  17533. begin
  17534. pTDefRegMap(@Self)^.&set := $00000200;
  17535. end;
  17536. procedure TSPI1_SPI1CON2.clearIGNROV; inline;
  17537. begin
  17538. pTDefRegMap(@Self)^.clr := $00000200;
  17539. end;
  17540. procedure TSPI1_SPI1CON2.setIGNROV(thebits : TBits_1); inline;
  17541. begin
  17542. if thebits = 0 then
  17543. pTDefRegMap(@Self)^.clr := $00000200
  17544. else
  17545. pTDefRegMap(@Self)^.&set := $00000200;
  17546. end;
  17547. function TSPI1_SPI1CON2.getIGNROV : TBits_1; inline;
  17548. begin
  17549. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17550. end;
  17551. procedure TSPI1_SPI1CON2.setSPITUREN; inline;
  17552. begin
  17553. pTDefRegMap(@Self)^.&set := $00000400;
  17554. end;
  17555. procedure TSPI1_SPI1CON2.clearSPITUREN; inline;
  17556. begin
  17557. pTDefRegMap(@Self)^.clr := $00000400;
  17558. end;
  17559. procedure TSPI1_SPI1CON2.setSPITUREN(thebits : TBits_1); inline;
  17560. begin
  17561. if thebits = 0 then
  17562. pTDefRegMap(@Self)^.clr := $00000400
  17563. else
  17564. pTDefRegMap(@Self)^.&set := $00000400;
  17565. end;
  17566. function TSPI1_SPI1CON2.getSPITUREN : TBits_1; inline;
  17567. begin
  17568. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17569. end;
  17570. procedure TSPI1_SPI1CON2.setSPIROVEN; inline;
  17571. begin
  17572. pTDefRegMap(@Self)^.&set := $00000800;
  17573. end;
  17574. procedure TSPI1_SPI1CON2.clearSPIROVEN; inline;
  17575. begin
  17576. pTDefRegMap(@Self)^.clr := $00000800;
  17577. end;
  17578. procedure TSPI1_SPI1CON2.setSPIROVEN(thebits : TBits_1); inline;
  17579. begin
  17580. if thebits = 0 then
  17581. pTDefRegMap(@Self)^.clr := $00000800
  17582. else
  17583. pTDefRegMap(@Self)^.&set := $00000800;
  17584. end;
  17585. function TSPI1_SPI1CON2.getSPIROVEN : TBits_1; inline;
  17586. begin
  17587. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17588. end;
  17589. procedure TSPI1_SPI1CON2.setFRMERREN; inline;
  17590. begin
  17591. pTDefRegMap(@Self)^.&set := $00001000;
  17592. end;
  17593. procedure TSPI1_SPI1CON2.clearFRMERREN; inline;
  17594. begin
  17595. pTDefRegMap(@Self)^.clr := $00001000;
  17596. end;
  17597. procedure TSPI1_SPI1CON2.setFRMERREN(thebits : TBits_1); inline;
  17598. begin
  17599. if thebits = 0 then
  17600. pTDefRegMap(@Self)^.clr := $00001000
  17601. else
  17602. pTDefRegMap(@Self)^.&set := $00001000;
  17603. end;
  17604. function TSPI1_SPI1CON2.getFRMERREN : TBits_1; inline;
  17605. begin
  17606. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17607. end;
  17608. procedure TSPI1_SPI1CON2.setSPISGNEXT; inline;
  17609. begin
  17610. pTDefRegMap(@Self)^.&set := $00008000;
  17611. end;
  17612. procedure TSPI1_SPI1CON2.clearSPISGNEXT; inline;
  17613. begin
  17614. pTDefRegMap(@Self)^.clr := $00008000;
  17615. end;
  17616. procedure TSPI1_SPI1CON2.setSPISGNEXT(thebits : TBits_1); inline;
  17617. begin
  17618. if thebits = 0 then
  17619. pTDefRegMap(@Self)^.clr := $00008000
  17620. else
  17621. pTDefRegMap(@Self)^.&set := $00008000;
  17622. end;
  17623. function TSPI1_SPI1CON2.getSPISGNEXT : TBits_1; inline;
  17624. begin
  17625. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17626. end;
  17627. procedure TSPI1_SPI1CON2.setAUDMOD0; inline;
  17628. begin
  17629. pTDefRegMap(@Self)^.&set := $00000001;
  17630. end;
  17631. procedure TSPI1_SPI1CON2.clearAUDMOD0; inline;
  17632. begin
  17633. pTDefRegMap(@Self)^.clr := $00000001;
  17634. end;
  17635. procedure TSPI1_SPI1CON2.setAUDMOD0(thebits : TBits_1); inline;
  17636. begin
  17637. if thebits = 0 then
  17638. pTDefRegMap(@Self)^.clr := $00000001
  17639. else
  17640. pTDefRegMap(@Self)^.&set := $00000001;
  17641. end;
  17642. function TSPI1_SPI1CON2.getAUDMOD0 : TBits_1; inline;
  17643. begin
  17644. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  17645. end;
  17646. procedure TSPI1_SPI1CON2.setAUDMOD1; inline;
  17647. begin
  17648. pTDefRegMap(@Self)^.&set := $00000002;
  17649. end;
  17650. procedure TSPI1_SPI1CON2.clearAUDMOD1; inline;
  17651. begin
  17652. pTDefRegMap(@Self)^.clr := $00000002;
  17653. end;
  17654. procedure TSPI1_SPI1CON2.setAUDMOD1(thebits : TBits_1); inline;
  17655. begin
  17656. if thebits = 0 then
  17657. pTDefRegMap(@Self)^.clr := $00000002
  17658. else
  17659. pTDefRegMap(@Self)^.&set := $00000002;
  17660. end;
  17661. function TSPI1_SPI1CON2.getAUDMOD1 : TBits_1; inline;
  17662. begin
  17663. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  17664. end;
  17665. procedure TSPI1_SPI1CON2.setw(thebits : TBits_32); inline;
  17666. begin
  17667. pTDefRegMap(@Self)^.val := thebits;
  17668. end;
  17669. function TSPI1_SPI1CON2.getw : TBits_32; inline;
  17670. begin
  17671. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  17672. end;
  17673. procedure TSPI2_SPI2CON.setSRXISEL(thebits : TBits_2); inline;
  17674. begin
  17675. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  17676. end;
  17677. function TSPI2_SPI2CON.getSRXISEL : TBits_2; inline;
  17678. begin
  17679. getSRXISEL := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  17680. end;
  17681. procedure TSPI2_SPI2CON.setSTXISEL(thebits : TBits_2); inline;
  17682. begin
  17683. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF3 or ( thebits shl 2 );
  17684. end;
  17685. function TSPI2_SPI2CON.getSTXISEL : TBits_2; inline;
  17686. begin
  17687. getSTXISEL := (pTDefRegMap(@Self)^.val and $0000000C) shr 2;
  17688. end;
  17689. procedure TSPI2_SPI2CON.setDISSDI; inline;
  17690. begin
  17691. pTDefRegMap(@Self)^.&set := $00000010;
  17692. end;
  17693. procedure TSPI2_SPI2CON.clearDISSDI; inline;
  17694. begin
  17695. pTDefRegMap(@Self)^.clr := $00000010;
  17696. end;
  17697. procedure TSPI2_SPI2CON.setDISSDI(thebits : TBits_1); inline;
  17698. begin
  17699. if thebits = 0 then
  17700. pTDefRegMap(@Self)^.clr := $00000010
  17701. else
  17702. pTDefRegMap(@Self)^.&set := $00000010;
  17703. end;
  17704. function TSPI2_SPI2CON.getDISSDI : TBits_1; inline;
  17705. begin
  17706. getDISSDI := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  17707. end;
  17708. procedure TSPI2_SPI2CON.setMSTEN; inline;
  17709. begin
  17710. pTDefRegMap(@Self)^.&set := $00000020;
  17711. end;
  17712. procedure TSPI2_SPI2CON.clearMSTEN; inline;
  17713. begin
  17714. pTDefRegMap(@Self)^.clr := $00000020;
  17715. end;
  17716. procedure TSPI2_SPI2CON.setMSTEN(thebits : TBits_1); inline;
  17717. begin
  17718. if thebits = 0 then
  17719. pTDefRegMap(@Self)^.clr := $00000020
  17720. else
  17721. pTDefRegMap(@Self)^.&set := $00000020;
  17722. end;
  17723. function TSPI2_SPI2CON.getMSTEN : TBits_1; inline;
  17724. begin
  17725. getMSTEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  17726. end;
  17727. procedure TSPI2_SPI2CON.setCKP; inline;
  17728. begin
  17729. pTDefRegMap(@Self)^.&set := $00000040;
  17730. end;
  17731. procedure TSPI2_SPI2CON.clearCKP; inline;
  17732. begin
  17733. pTDefRegMap(@Self)^.clr := $00000040;
  17734. end;
  17735. procedure TSPI2_SPI2CON.setCKP(thebits : TBits_1); inline;
  17736. begin
  17737. if thebits = 0 then
  17738. pTDefRegMap(@Self)^.clr := $00000040
  17739. else
  17740. pTDefRegMap(@Self)^.&set := $00000040;
  17741. end;
  17742. function TSPI2_SPI2CON.getCKP : TBits_1; inline;
  17743. begin
  17744. getCKP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  17745. end;
  17746. procedure TSPI2_SPI2CON.setSSEN; inline;
  17747. begin
  17748. pTDefRegMap(@Self)^.&set := $00000080;
  17749. end;
  17750. procedure TSPI2_SPI2CON.clearSSEN; inline;
  17751. begin
  17752. pTDefRegMap(@Self)^.clr := $00000080;
  17753. end;
  17754. procedure TSPI2_SPI2CON.setSSEN(thebits : TBits_1); inline;
  17755. begin
  17756. if thebits = 0 then
  17757. pTDefRegMap(@Self)^.clr := $00000080
  17758. else
  17759. pTDefRegMap(@Self)^.&set := $00000080;
  17760. end;
  17761. function TSPI2_SPI2CON.getSSEN : TBits_1; inline;
  17762. begin
  17763. getSSEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  17764. end;
  17765. procedure TSPI2_SPI2CON.setCKE; inline;
  17766. begin
  17767. pTDefRegMap(@Self)^.&set := $00000100;
  17768. end;
  17769. procedure TSPI2_SPI2CON.clearCKE; inline;
  17770. begin
  17771. pTDefRegMap(@Self)^.clr := $00000100;
  17772. end;
  17773. procedure TSPI2_SPI2CON.setCKE(thebits : TBits_1); inline;
  17774. begin
  17775. if thebits = 0 then
  17776. pTDefRegMap(@Self)^.clr := $00000100
  17777. else
  17778. pTDefRegMap(@Self)^.&set := $00000100;
  17779. end;
  17780. function TSPI2_SPI2CON.getCKE : TBits_1; inline;
  17781. begin
  17782. getCKE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  17783. end;
  17784. procedure TSPI2_SPI2CON.setSMP; inline;
  17785. begin
  17786. pTDefRegMap(@Self)^.&set := $00000200;
  17787. end;
  17788. procedure TSPI2_SPI2CON.clearSMP; inline;
  17789. begin
  17790. pTDefRegMap(@Self)^.clr := $00000200;
  17791. end;
  17792. procedure TSPI2_SPI2CON.setSMP(thebits : TBits_1); inline;
  17793. begin
  17794. if thebits = 0 then
  17795. pTDefRegMap(@Self)^.clr := $00000200
  17796. else
  17797. pTDefRegMap(@Self)^.&set := $00000200;
  17798. end;
  17799. function TSPI2_SPI2CON.getSMP : TBits_1; inline;
  17800. begin
  17801. getSMP := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  17802. end;
  17803. procedure TSPI2_SPI2CON.setMODE16; inline;
  17804. begin
  17805. pTDefRegMap(@Self)^.&set := $00000400;
  17806. end;
  17807. procedure TSPI2_SPI2CON.clearMODE16; inline;
  17808. begin
  17809. pTDefRegMap(@Self)^.clr := $00000400;
  17810. end;
  17811. procedure TSPI2_SPI2CON.setMODE16(thebits : TBits_1); inline;
  17812. begin
  17813. if thebits = 0 then
  17814. pTDefRegMap(@Self)^.clr := $00000400
  17815. else
  17816. pTDefRegMap(@Self)^.&set := $00000400;
  17817. end;
  17818. function TSPI2_SPI2CON.getMODE16 : TBits_1; inline;
  17819. begin
  17820. getMODE16 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  17821. end;
  17822. procedure TSPI2_SPI2CON.setMODE32; inline;
  17823. begin
  17824. pTDefRegMap(@Self)^.&set := $00000800;
  17825. end;
  17826. procedure TSPI2_SPI2CON.clearMODE32; inline;
  17827. begin
  17828. pTDefRegMap(@Self)^.clr := $00000800;
  17829. end;
  17830. procedure TSPI2_SPI2CON.setMODE32(thebits : TBits_1); inline;
  17831. begin
  17832. if thebits = 0 then
  17833. pTDefRegMap(@Self)^.clr := $00000800
  17834. else
  17835. pTDefRegMap(@Self)^.&set := $00000800;
  17836. end;
  17837. function TSPI2_SPI2CON.getMODE32 : TBits_1; inline;
  17838. begin
  17839. getMODE32 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  17840. end;
  17841. procedure TSPI2_SPI2CON.setDISSDO; inline;
  17842. begin
  17843. pTDefRegMap(@Self)^.&set := $00001000;
  17844. end;
  17845. procedure TSPI2_SPI2CON.clearDISSDO; inline;
  17846. begin
  17847. pTDefRegMap(@Self)^.clr := $00001000;
  17848. end;
  17849. procedure TSPI2_SPI2CON.setDISSDO(thebits : TBits_1); inline;
  17850. begin
  17851. if thebits = 0 then
  17852. pTDefRegMap(@Self)^.clr := $00001000
  17853. else
  17854. pTDefRegMap(@Self)^.&set := $00001000;
  17855. end;
  17856. function TSPI2_SPI2CON.getDISSDO : TBits_1; inline;
  17857. begin
  17858. getDISSDO := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  17859. end;
  17860. procedure TSPI2_SPI2CON.setSIDL; inline;
  17861. begin
  17862. pTDefRegMap(@Self)^.&set := $00002000;
  17863. end;
  17864. procedure TSPI2_SPI2CON.clearSIDL; inline;
  17865. begin
  17866. pTDefRegMap(@Self)^.clr := $00002000;
  17867. end;
  17868. procedure TSPI2_SPI2CON.setSIDL(thebits : TBits_1); inline;
  17869. begin
  17870. if thebits = 0 then
  17871. pTDefRegMap(@Self)^.clr := $00002000
  17872. else
  17873. pTDefRegMap(@Self)^.&set := $00002000;
  17874. end;
  17875. function TSPI2_SPI2CON.getSIDL : TBits_1; inline;
  17876. begin
  17877. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  17878. end;
  17879. procedure TSPI2_SPI2CON.setON; inline;
  17880. begin
  17881. pTDefRegMap(@Self)^.&set := $00008000;
  17882. end;
  17883. procedure TSPI2_SPI2CON.clearON; inline;
  17884. begin
  17885. pTDefRegMap(@Self)^.clr := $00008000;
  17886. end;
  17887. procedure TSPI2_SPI2CON.setON(thebits : TBits_1); inline;
  17888. begin
  17889. if thebits = 0 then
  17890. pTDefRegMap(@Self)^.clr := $00008000
  17891. else
  17892. pTDefRegMap(@Self)^.&set := $00008000;
  17893. end;
  17894. function TSPI2_SPI2CON.getON : TBits_1; inline;
  17895. begin
  17896. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  17897. end;
  17898. procedure TSPI2_SPI2CON.setENHBUF; inline;
  17899. begin
  17900. pTDefRegMap(@Self)^.&set := $00010000;
  17901. end;
  17902. procedure TSPI2_SPI2CON.clearENHBUF; inline;
  17903. begin
  17904. pTDefRegMap(@Self)^.clr := $00010000;
  17905. end;
  17906. procedure TSPI2_SPI2CON.setENHBUF(thebits : TBits_1); inline;
  17907. begin
  17908. if thebits = 0 then
  17909. pTDefRegMap(@Self)^.clr := $00010000
  17910. else
  17911. pTDefRegMap(@Self)^.&set := $00010000;
  17912. end;
  17913. function TSPI2_SPI2CON.getENHBUF : TBits_1; inline;
  17914. begin
  17915. getENHBUF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  17916. end;
  17917. procedure TSPI2_SPI2CON.setSPIFE; inline;
  17918. begin
  17919. pTDefRegMap(@Self)^.&set := $00020000;
  17920. end;
  17921. procedure TSPI2_SPI2CON.clearSPIFE; inline;
  17922. begin
  17923. pTDefRegMap(@Self)^.clr := $00020000;
  17924. end;
  17925. procedure TSPI2_SPI2CON.setSPIFE(thebits : TBits_1); inline;
  17926. begin
  17927. if thebits = 0 then
  17928. pTDefRegMap(@Self)^.clr := $00020000
  17929. else
  17930. pTDefRegMap(@Self)^.&set := $00020000;
  17931. end;
  17932. function TSPI2_SPI2CON.getSPIFE : TBits_1; inline;
  17933. begin
  17934. getSPIFE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  17935. end;
  17936. procedure TSPI2_SPI2CON.setMCLKSEL; inline;
  17937. begin
  17938. pTDefRegMap(@Self)^.&set := $00800000;
  17939. end;
  17940. procedure TSPI2_SPI2CON.clearMCLKSEL; inline;
  17941. begin
  17942. pTDefRegMap(@Self)^.clr := $00800000;
  17943. end;
  17944. procedure TSPI2_SPI2CON.setMCLKSEL(thebits : TBits_1); inline;
  17945. begin
  17946. if thebits = 0 then
  17947. pTDefRegMap(@Self)^.clr := $00800000
  17948. else
  17949. pTDefRegMap(@Self)^.&set := $00800000;
  17950. end;
  17951. function TSPI2_SPI2CON.getMCLKSEL : TBits_1; inline;
  17952. begin
  17953. getMCLKSEL := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  17954. end;
  17955. procedure TSPI2_SPI2CON.setFRMCNT(thebits : TBits_3); inline;
  17956. begin
  17957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  17958. end;
  17959. function TSPI2_SPI2CON.getFRMCNT : TBits_3; inline;
  17960. begin
  17961. getFRMCNT := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  17962. end;
  17963. procedure TSPI2_SPI2CON.setFRMSYPW; inline;
  17964. begin
  17965. pTDefRegMap(@Self)^.&set := $08000000;
  17966. end;
  17967. procedure TSPI2_SPI2CON.clearFRMSYPW; inline;
  17968. begin
  17969. pTDefRegMap(@Self)^.clr := $08000000;
  17970. end;
  17971. procedure TSPI2_SPI2CON.setFRMSYPW(thebits : TBits_1); inline;
  17972. begin
  17973. if thebits = 0 then
  17974. pTDefRegMap(@Self)^.clr := $08000000
  17975. else
  17976. pTDefRegMap(@Self)^.&set := $08000000;
  17977. end;
  17978. function TSPI2_SPI2CON.getFRMSYPW : TBits_1; inline;
  17979. begin
  17980. getFRMSYPW := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  17981. end;
  17982. procedure TSPI2_SPI2CON.setMSSEN; inline;
  17983. begin
  17984. pTDefRegMap(@Self)^.&set := $10000000;
  17985. end;
  17986. procedure TSPI2_SPI2CON.clearMSSEN; inline;
  17987. begin
  17988. pTDefRegMap(@Self)^.clr := $10000000;
  17989. end;
  17990. procedure TSPI2_SPI2CON.setMSSEN(thebits : TBits_1); inline;
  17991. begin
  17992. if thebits = 0 then
  17993. pTDefRegMap(@Self)^.clr := $10000000
  17994. else
  17995. pTDefRegMap(@Self)^.&set := $10000000;
  17996. end;
  17997. function TSPI2_SPI2CON.getMSSEN : TBits_1; inline;
  17998. begin
  17999. getMSSEN := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  18000. end;
  18001. procedure TSPI2_SPI2CON.setFRMPOL; inline;
  18002. begin
  18003. pTDefRegMap(@Self)^.&set := $20000000;
  18004. end;
  18005. procedure TSPI2_SPI2CON.clearFRMPOL; inline;
  18006. begin
  18007. pTDefRegMap(@Self)^.clr := $20000000;
  18008. end;
  18009. procedure TSPI2_SPI2CON.setFRMPOL(thebits : TBits_1); inline;
  18010. begin
  18011. if thebits = 0 then
  18012. pTDefRegMap(@Self)^.clr := $20000000
  18013. else
  18014. pTDefRegMap(@Self)^.&set := $20000000;
  18015. end;
  18016. function TSPI2_SPI2CON.getFRMPOL : TBits_1; inline;
  18017. begin
  18018. getFRMPOL := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  18019. end;
  18020. procedure TSPI2_SPI2CON.setFRMSYNC; inline;
  18021. begin
  18022. pTDefRegMap(@Self)^.&set := $40000000;
  18023. end;
  18024. procedure TSPI2_SPI2CON.clearFRMSYNC; inline;
  18025. begin
  18026. pTDefRegMap(@Self)^.clr := $40000000;
  18027. end;
  18028. procedure TSPI2_SPI2CON.setFRMSYNC(thebits : TBits_1); inline;
  18029. begin
  18030. if thebits = 0 then
  18031. pTDefRegMap(@Self)^.clr := $40000000
  18032. else
  18033. pTDefRegMap(@Self)^.&set := $40000000;
  18034. end;
  18035. function TSPI2_SPI2CON.getFRMSYNC : TBits_1; inline;
  18036. begin
  18037. getFRMSYNC := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  18038. end;
  18039. procedure TSPI2_SPI2CON.setFRMEN; inline;
  18040. begin
  18041. pTDefRegMap(@Self)^.&set := $80000000;
  18042. end;
  18043. procedure TSPI2_SPI2CON.clearFRMEN; inline;
  18044. begin
  18045. pTDefRegMap(@Self)^.clr := $80000000;
  18046. end;
  18047. procedure TSPI2_SPI2CON.setFRMEN(thebits : TBits_1); inline;
  18048. begin
  18049. if thebits = 0 then
  18050. pTDefRegMap(@Self)^.clr := $80000000
  18051. else
  18052. pTDefRegMap(@Self)^.&set := $80000000;
  18053. end;
  18054. function TSPI2_SPI2CON.getFRMEN : TBits_1; inline;
  18055. begin
  18056. getFRMEN := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  18057. end;
  18058. procedure TSPI2_SPI2CON.setw(thebits : TBits_32); inline;
  18059. begin
  18060. pTDefRegMap(@Self)^.val := thebits;
  18061. end;
  18062. function TSPI2_SPI2CON.getw : TBits_32; inline;
  18063. begin
  18064. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18065. end;
  18066. procedure TSPI2_SPI2STAT.setSPIRBF; inline;
  18067. begin
  18068. pTDefRegMap(@Self)^.&set := $00000001;
  18069. end;
  18070. procedure TSPI2_SPI2STAT.clearSPIRBF; inline;
  18071. begin
  18072. pTDefRegMap(@Self)^.clr := $00000001;
  18073. end;
  18074. procedure TSPI2_SPI2STAT.setSPIRBF(thebits : TBits_1); inline;
  18075. begin
  18076. if thebits = 0 then
  18077. pTDefRegMap(@Self)^.clr := $00000001
  18078. else
  18079. pTDefRegMap(@Self)^.&set := $00000001;
  18080. end;
  18081. function TSPI2_SPI2STAT.getSPIRBF : TBits_1; inline;
  18082. begin
  18083. getSPIRBF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18084. end;
  18085. procedure TSPI2_SPI2STAT.setSPITBF; inline;
  18086. begin
  18087. pTDefRegMap(@Self)^.&set := $00000002;
  18088. end;
  18089. procedure TSPI2_SPI2STAT.clearSPITBF; inline;
  18090. begin
  18091. pTDefRegMap(@Self)^.clr := $00000002;
  18092. end;
  18093. procedure TSPI2_SPI2STAT.setSPITBF(thebits : TBits_1); inline;
  18094. begin
  18095. if thebits = 0 then
  18096. pTDefRegMap(@Self)^.clr := $00000002
  18097. else
  18098. pTDefRegMap(@Self)^.&set := $00000002;
  18099. end;
  18100. function TSPI2_SPI2STAT.getSPITBF : TBits_1; inline;
  18101. begin
  18102. getSPITBF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18103. end;
  18104. procedure TSPI2_SPI2STAT.setSPITBE; inline;
  18105. begin
  18106. pTDefRegMap(@Self)^.&set := $00000008;
  18107. end;
  18108. procedure TSPI2_SPI2STAT.clearSPITBE; inline;
  18109. begin
  18110. pTDefRegMap(@Self)^.clr := $00000008;
  18111. end;
  18112. procedure TSPI2_SPI2STAT.setSPITBE(thebits : TBits_1); inline;
  18113. begin
  18114. if thebits = 0 then
  18115. pTDefRegMap(@Self)^.clr := $00000008
  18116. else
  18117. pTDefRegMap(@Self)^.&set := $00000008;
  18118. end;
  18119. function TSPI2_SPI2STAT.getSPITBE : TBits_1; inline;
  18120. begin
  18121. getSPITBE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18122. end;
  18123. procedure TSPI2_SPI2STAT.setSPIRBE; inline;
  18124. begin
  18125. pTDefRegMap(@Self)^.&set := $00000020;
  18126. end;
  18127. procedure TSPI2_SPI2STAT.clearSPIRBE; inline;
  18128. begin
  18129. pTDefRegMap(@Self)^.clr := $00000020;
  18130. end;
  18131. procedure TSPI2_SPI2STAT.setSPIRBE(thebits : TBits_1); inline;
  18132. begin
  18133. if thebits = 0 then
  18134. pTDefRegMap(@Self)^.clr := $00000020
  18135. else
  18136. pTDefRegMap(@Self)^.&set := $00000020;
  18137. end;
  18138. function TSPI2_SPI2STAT.getSPIRBE : TBits_1; inline;
  18139. begin
  18140. getSPIRBE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18141. end;
  18142. procedure TSPI2_SPI2STAT.setSPIROV; inline;
  18143. begin
  18144. pTDefRegMap(@Self)^.&set := $00000040;
  18145. end;
  18146. procedure TSPI2_SPI2STAT.clearSPIROV; inline;
  18147. begin
  18148. pTDefRegMap(@Self)^.clr := $00000040;
  18149. end;
  18150. procedure TSPI2_SPI2STAT.setSPIROV(thebits : TBits_1); inline;
  18151. begin
  18152. if thebits = 0 then
  18153. pTDefRegMap(@Self)^.clr := $00000040
  18154. else
  18155. pTDefRegMap(@Self)^.&set := $00000040;
  18156. end;
  18157. function TSPI2_SPI2STAT.getSPIROV : TBits_1; inline;
  18158. begin
  18159. getSPIROV := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18160. end;
  18161. procedure TSPI2_SPI2STAT.setSRMT; inline;
  18162. begin
  18163. pTDefRegMap(@Self)^.&set := $00000080;
  18164. end;
  18165. procedure TSPI2_SPI2STAT.clearSRMT; inline;
  18166. begin
  18167. pTDefRegMap(@Self)^.clr := $00000080;
  18168. end;
  18169. procedure TSPI2_SPI2STAT.setSRMT(thebits : TBits_1); inline;
  18170. begin
  18171. if thebits = 0 then
  18172. pTDefRegMap(@Self)^.clr := $00000080
  18173. else
  18174. pTDefRegMap(@Self)^.&set := $00000080;
  18175. end;
  18176. function TSPI2_SPI2STAT.getSRMT : TBits_1; inline;
  18177. begin
  18178. getSRMT := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18179. end;
  18180. procedure TSPI2_SPI2STAT.setSPITUR; inline;
  18181. begin
  18182. pTDefRegMap(@Self)^.&set := $00000100;
  18183. end;
  18184. procedure TSPI2_SPI2STAT.clearSPITUR; inline;
  18185. begin
  18186. pTDefRegMap(@Self)^.clr := $00000100;
  18187. end;
  18188. procedure TSPI2_SPI2STAT.setSPITUR(thebits : TBits_1); inline;
  18189. begin
  18190. if thebits = 0 then
  18191. pTDefRegMap(@Self)^.clr := $00000100
  18192. else
  18193. pTDefRegMap(@Self)^.&set := $00000100;
  18194. end;
  18195. function TSPI2_SPI2STAT.getSPITUR : TBits_1; inline;
  18196. begin
  18197. getSPITUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18198. end;
  18199. procedure TSPI2_SPI2STAT.setSPIBUSY; inline;
  18200. begin
  18201. pTDefRegMap(@Self)^.&set := $00000800;
  18202. end;
  18203. procedure TSPI2_SPI2STAT.clearSPIBUSY; inline;
  18204. begin
  18205. pTDefRegMap(@Self)^.clr := $00000800;
  18206. end;
  18207. procedure TSPI2_SPI2STAT.setSPIBUSY(thebits : TBits_1); inline;
  18208. begin
  18209. if thebits = 0 then
  18210. pTDefRegMap(@Self)^.clr := $00000800
  18211. else
  18212. pTDefRegMap(@Self)^.&set := $00000800;
  18213. end;
  18214. function TSPI2_SPI2STAT.getSPIBUSY : TBits_1; inline;
  18215. begin
  18216. getSPIBUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18217. end;
  18218. procedure TSPI2_SPI2STAT.setFRMERR; inline;
  18219. begin
  18220. pTDefRegMap(@Self)^.&set := $00001000;
  18221. end;
  18222. procedure TSPI2_SPI2STAT.clearFRMERR; inline;
  18223. begin
  18224. pTDefRegMap(@Self)^.clr := $00001000;
  18225. end;
  18226. procedure TSPI2_SPI2STAT.setFRMERR(thebits : TBits_1); inline;
  18227. begin
  18228. if thebits = 0 then
  18229. pTDefRegMap(@Self)^.clr := $00001000
  18230. else
  18231. pTDefRegMap(@Self)^.&set := $00001000;
  18232. end;
  18233. function TSPI2_SPI2STAT.getFRMERR : TBits_1; inline;
  18234. begin
  18235. getFRMERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18236. end;
  18237. procedure TSPI2_SPI2STAT.setTXBUFELM(thebits : TBits_5); inline;
  18238. begin
  18239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  18240. end;
  18241. function TSPI2_SPI2STAT.getTXBUFELM : TBits_5; inline;
  18242. begin
  18243. getTXBUFELM := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  18244. end;
  18245. procedure TSPI2_SPI2STAT.setRXBUFELM(thebits : TBits_5); inline;
  18246. begin
  18247. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E0FFFFFF or ( thebits shl 24 );
  18248. end;
  18249. function TSPI2_SPI2STAT.getRXBUFELM : TBits_5; inline;
  18250. begin
  18251. getRXBUFELM := (pTDefRegMap(@Self)^.val and $1F000000) shr 24;
  18252. end;
  18253. procedure TSPI2_SPI2STAT.setw(thebits : TBits_32); inline;
  18254. begin
  18255. pTDefRegMap(@Self)^.val := thebits;
  18256. end;
  18257. function TSPI2_SPI2STAT.getw : TBits_32; inline;
  18258. begin
  18259. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18260. end;
  18261. procedure TSPI2_SPI2CON2.setAUDMOD(thebits : TBits_2); inline;
  18262. begin
  18263. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  18264. end;
  18265. function TSPI2_SPI2CON2.getAUDMOD : TBits_2; inline;
  18266. begin
  18267. getAUDMOD := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  18268. end;
  18269. procedure TSPI2_SPI2CON2.setAUDMONO; inline;
  18270. begin
  18271. pTDefRegMap(@Self)^.&set := $00000008;
  18272. end;
  18273. procedure TSPI2_SPI2CON2.clearAUDMONO; inline;
  18274. begin
  18275. pTDefRegMap(@Self)^.clr := $00000008;
  18276. end;
  18277. procedure TSPI2_SPI2CON2.setAUDMONO(thebits : TBits_1); inline;
  18278. begin
  18279. if thebits = 0 then
  18280. pTDefRegMap(@Self)^.clr := $00000008
  18281. else
  18282. pTDefRegMap(@Self)^.&set := $00000008;
  18283. end;
  18284. function TSPI2_SPI2CON2.getAUDMONO : TBits_1; inline;
  18285. begin
  18286. getAUDMONO := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18287. end;
  18288. procedure TSPI2_SPI2CON2.setAUDEN; inline;
  18289. begin
  18290. pTDefRegMap(@Self)^.&set := $00000080;
  18291. end;
  18292. procedure TSPI2_SPI2CON2.clearAUDEN; inline;
  18293. begin
  18294. pTDefRegMap(@Self)^.clr := $00000080;
  18295. end;
  18296. procedure TSPI2_SPI2CON2.setAUDEN(thebits : TBits_1); inline;
  18297. begin
  18298. if thebits = 0 then
  18299. pTDefRegMap(@Self)^.clr := $00000080
  18300. else
  18301. pTDefRegMap(@Self)^.&set := $00000080;
  18302. end;
  18303. function TSPI2_SPI2CON2.getAUDEN : TBits_1; inline;
  18304. begin
  18305. getAUDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18306. end;
  18307. procedure TSPI2_SPI2CON2.setIGNTUR; inline;
  18308. begin
  18309. pTDefRegMap(@Self)^.&set := $00000100;
  18310. end;
  18311. procedure TSPI2_SPI2CON2.clearIGNTUR; inline;
  18312. begin
  18313. pTDefRegMap(@Self)^.clr := $00000100;
  18314. end;
  18315. procedure TSPI2_SPI2CON2.setIGNTUR(thebits : TBits_1); inline;
  18316. begin
  18317. if thebits = 0 then
  18318. pTDefRegMap(@Self)^.clr := $00000100
  18319. else
  18320. pTDefRegMap(@Self)^.&set := $00000100;
  18321. end;
  18322. function TSPI2_SPI2CON2.getIGNTUR : TBits_1; inline;
  18323. begin
  18324. getIGNTUR := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18325. end;
  18326. procedure TSPI2_SPI2CON2.setIGNROV; inline;
  18327. begin
  18328. pTDefRegMap(@Self)^.&set := $00000200;
  18329. end;
  18330. procedure TSPI2_SPI2CON2.clearIGNROV; inline;
  18331. begin
  18332. pTDefRegMap(@Self)^.clr := $00000200;
  18333. end;
  18334. procedure TSPI2_SPI2CON2.setIGNROV(thebits : TBits_1); inline;
  18335. begin
  18336. if thebits = 0 then
  18337. pTDefRegMap(@Self)^.clr := $00000200
  18338. else
  18339. pTDefRegMap(@Self)^.&set := $00000200;
  18340. end;
  18341. function TSPI2_SPI2CON2.getIGNROV : TBits_1; inline;
  18342. begin
  18343. getIGNROV := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18344. end;
  18345. procedure TSPI2_SPI2CON2.setSPITUREN; inline;
  18346. begin
  18347. pTDefRegMap(@Self)^.&set := $00000400;
  18348. end;
  18349. procedure TSPI2_SPI2CON2.clearSPITUREN; inline;
  18350. begin
  18351. pTDefRegMap(@Self)^.clr := $00000400;
  18352. end;
  18353. procedure TSPI2_SPI2CON2.setSPITUREN(thebits : TBits_1); inline;
  18354. begin
  18355. if thebits = 0 then
  18356. pTDefRegMap(@Self)^.clr := $00000400
  18357. else
  18358. pTDefRegMap(@Self)^.&set := $00000400;
  18359. end;
  18360. function TSPI2_SPI2CON2.getSPITUREN : TBits_1; inline;
  18361. begin
  18362. getSPITUREN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  18363. end;
  18364. procedure TSPI2_SPI2CON2.setSPIROVEN; inline;
  18365. begin
  18366. pTDefRegMap(@Self)^.&set := $00000800;
  18367. end;
  18368. procedure TSPI2_SPI2CON2.clearSPIROVEN; inline;
  18369. begin
  18370. pTDefRegMap(@Self)^.clr := $00000800;
  18371. end;
  18372. procedure TSPI2_SPI2CON2.setSPIROVEN(thebits : TBits_1); inline;
  18373. begin
  18374. if thebits = 0 then
  18375. pTDefRegMap(@Self)^.clr := $00000800
  18376. else
  18377. pTDefRegMap(@Self)^.&set := $00000800;
  18378. end;
  18379. function TSPI2_SPI2CON2.getSPIROVEN : TBits_1; inline;
  18380. begin
  18381. getSPIROVEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18382. end;
  18383. procedure TSPI2_SPI2CON2.setFRMERREN; inline;
  18384. begin
  18385. pTDefRegMap(@Self)^.&set := $00001000;
  18386. end;
  18387. procedure TSPI2_SPI2CON2.clearFRMERREN; inline;
  18388. begin
  18389. pTDefRegMap(@Self)^.clr := $00001000;
  18390. end;
  18391. procedure TSPI2_SPI2CON2.setFRMERREN(thebits : TBits_1); inline;
  18392. begin
  18393. if thebits = 0 then
  18394. pTDefRegMap(@Self)^.clr := $00001000
  18395. else
  18396. pTDefRegMap(@Self)^.&set := $00001000;
  18397. end;
  18398. function TSPI2_SPI2CON2.getFRMERREN : TBits_1; inline;
  18399. begin
  18400. getFRMERREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18401. end;
  18402. procedure TSPI2_SPI2CON2.setSPISGNEXT; inline;
  18403. begin
  18404. pTDefRegMap(@Self)^.&set := $00008000;
  18405. end;
  18406. procedure TSPI2_SPI2CON2.clearSPISGNEXT; inline;
  18407. begin
  18408. pTDefRegMap(@Self)^.clr := $00008000;
  18409. end;
  18410. procedure TSPI2_SPI2CON2.setSPISGNEXT(thebits : TBits_1); inline;
  18411. begin
  18412. if thebits = 0 then
  18413. pTDefRegMap(@Self)^.clr := $00008000
  18414. else
  18415. pTDefRegMap(@Self)^.&set := $00008000;
  18416. end;
  18417. function TSPI2_SPI2CON2.getSPISGNEXT : TBits_1; inline;
  18418. begin
  18419. getSPISGNEXT := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18420. end;
  18421. procedure TSPI2_SPI2CON2.setAUDMOD0; inline;
  18422. begin
  18423. pTDefRegMap(@Self)^.&set := $00000001;
  18424. end;
  18425. procedure TSPI2_SPI2CON2.clearAUDMOD0; inline;
  18426. begin
  18427. pTDefRegMap(@Self)^.clr := $00000001;
  18428. end;
  18429. procedure TSPI2_SPI2CON2.setAUDMOD0(thebits : TBits_1); inline;
  18430. begin
  18431. if thebits = 0 then
  18432. pTDefRegMap(@Self)^.clr := $00000001
  18433. else
  18434. pTDefRegMap(@Self)^.&set := $00000001;
  18435. end;
  18436. function TSPI2_SPI2CON2.getAUDMOD0 : TBits_1; inline;
  18437. begin
  18438. getAUDMOD0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18439. end;
  18440. procedure TSPI2_SPI2CON2.setAUDMOD1; inline;
  18441. begin
  18442. pTDefRegMap(@Self)^.&set := $00000002;
  18443. end;
  18444. procedure TSPI2_SPI2CON2.clearAUDMOD1; inline;
  18445. begin
  18446. pTDefRegMap(@Self)^.clr := $00000002;
  18447. end;
  18448. procedure TSPI2_SPI2CON2.setAUDMOD1(thebits : TBits_1); inline;
  18449. begin
  18450. if thebits = 0 then
  18451. pTDefRegMap(@Self)^.clr := $00000002
  18452. else
  18453. pTDefRegMap(@Self)^.&set := $00000002;
  18454. end;
  18455. function TSPI2_SPI2CON2.getAUDMOD1 : TBits_1; inline;
  18456. begin
  18457. getAUDMOD1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18458. end;
  18459. procedure TSPI2_SPI2CON2.setw(thebits : TBits_32); inline;
  18460. begin
  18461. pTDefRegMap(@Self)^.val := thebits;
  18462. end;
  18463. function TSPI2_SPI2CON2.getw : TBits_32; inline;
  18464. begin
  18465. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18466. end;
  18467. procedure TUART1_U1AMODE.setSTSEL; inline;
  18468. begin
  18469. pTDefRegMap(@Self)^.&set := $00000001;
  18470. end;
  18471. procedure TUART1_U1AMODE.clearSTSEL; inline;
  18472. begin
  18473. pTDefRegMap(@Self)^.clr := $00000001;
  18474. end;
  18475. procedure TUART1_U1AMODE.setSTSEL(thebits : TBits_1); inline;
  18476. begin
  18477. if thebits = 0 then
  18478. pTDefRegMap(@Self)^.clr := $00000001
  18479. else
  18480. pTDefRegMap(@Self)^.&set := $00000001;
  18481. end;
  18482. function TUART1_U1AMODE.getSTSEL : TBits_1; inline;
  18483. begin
  18484. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18485. end;
  18486. procedure TUART1_U1AMODE.setPDSEL(thebits : TBits_2); inline;
  18487. begin
  18488. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18489. end;
  18490. function TUART1_U1AMODE.getPDSEL : TBits_2; inline;
  18491. begin
  18492. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18493. end;
  18494. procedure TUART1_U1AMODE.setBRGH; inline;
  18495. begin
  18496. pTDefRegMap(@Self)^.&set := $00000008;
  18497. end;
  18498. procedure TUART1_U1AMODE.clearBRGH; inline;
  18499. begin
  18500. pTDefRegMap(@Self)^.clr := $00000008;
  18501. end;
  18502. procedure TUART1_U1AMODE.setBRGH(thebits : TBits_1); inline;
  18503. begin
  18504. if thebits = 0 then
  18505. pTDefRegMap(@Self)^.clr := $00000008
  18506. else
  18507. pTDefRegMap(@Self)^.&set := $00000008;
  18508. end;
  18509. function TUART1_U1AMODE.getBRGH : TBits_1; inline;
  18510. begin
  18511. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18512. end;
  18513. procedure TUART1_U1AMODE.setRXINV; inline;
  18514. begin
  18515. pTDefRegMap(@Self)^.&set := $00000010;
  18516. end;
  18517. procedure TUART1_U1AMODE.clearRXINV; inline;
  18518. begin
  18519. pTDefRegMap(@Self)^.clr := $00000010;
  18520. end;
  18521. procedure TUART1_U1AMODE.setRXINV(thebits : TBits_1); inline;
  18522. begin
  18523. if thebits = 0 then
  18524. pTDefRegMap(@Self)^.clr := $00000010
  18525. else
  18526. pTDefRegMap(@Self)^.&set := $00000010;
  18527. end;
  18528. function TUART1_U1AMODE.getRXINV : TBits_1; inline;
  18529. begin
  18530. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18531. end;
  18532. procedure TUART1_U1AMODE.setABAUD; inline;
  18533. begin
  18534. pTDefRegMap(@Self)^.&set := $00000020;
  18535. end;
  18536. procedure TUART1_U1AMODE.clearABAUD; inline;
  18537. begin
  18538. pTDefRegMap(@Self)^.clr := $00000020;
  18539. end;
  18540. procedure TUART1_U1AMODE.setABAUD(thebits : TBits_1); inline;
  18541. begin
  18542. if thebits = 0 then
  18543. pTDefRegMap(@Self)^.clr := $00000020
  18544. else
  18545. pTDefRegMap(@Self)^.&set := $00000020;
  18546. end;
  18547. function TUART1_U1AMODE.getABAUD : TBits_1; inline;
  18548. begin
  18549. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18550. end;
  18551. procedure TUART1_U1AMODE.setLPBACK; inline;
  18552. begin
  18553. pTDefRegMap(@Self)^.&set := $00000040;
  18554. end;
  18555. procedure TUART1_U1AMODE.clearLPBACK; inline;
  18556. begin
  18557. pTDefRegMap(@Self)^.clr := $00000040;
  18558. end;
  18559. procedure TUART1_U1AMODE.setLPBACK(thebits : TBits_1); inline;
  18560. begin
  18561. if thebits = 0 then
  18562. pTDefRegMap(@Self)^.clr := $00000040
  18563. else
  18564. pTDefRegMap(@Self)^.&set := $00000040;
  18565. end;
  18566. function TUART1_U1AMODE.getLPBACK : TBits_1; inline;
  18567. begin
  18568. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18569. end;
  18570. procedure TUART1_U1AMODE.setWAKE; inline;
  18571. begin
  18572. pTDefRegMap(@Self)^.&set := $00000080;
  18573. end;
  18574. procedure TUART1_U1AMODE.clearWAKE; inline;
  18575. begin
  18576. pTDefRegMap(@Self)^.clr := $00000080;
  18577. end;
  18578. procedure TUART1_U1AMODE.setWAKE(thebits : TBits_1); inline;
  18579. begin
  18580. if thebits = 0 then
  18581. pTDefRegMap(@Self)^.clr := $00000080
  18582. else
  18583. pTDefRegMap(@Self)^.&set := $00000080;
  18584. end;
  18585. function TUART1_U1AMODE.getWAKE : TBits_1; inline;
  18586. begin
  18587. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18588. end;
  18589. procedure TUART1_U1AMODE.setUEN(thebits : TBits_2); inline;
  18590. begin
  18591. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18592. end;
  18593. function TUART1_U1AMODE.getUEN : TBits_2; inline;
  18594. begin
  18595. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18596. end;
  18597. procedure TUART1_U1AMODE.setRTSMD; inline;
  18598. begin
  18599. pTDefRegMap(@Self)^.&set := $00000800;
  18600. end;
  18601. procedure TUART1_U1AMODE.clearRTSMD; inline;
  18602. begin
  18603. pTDefRegMap(@Self)^.clr := $00000800;
  18604. end;
  18605. procedure TUART1_U1AMODE.setRTSMD(thebits : TBits_1); inline;
  18606. begin
  18607. if thebits = 0 then
  18608. pTDefRegMap(@Self)^.clr := $00000800
  18609. else
  18610. pTDefRegMap(@Self)^.&set := $00000800;
  18611. end;
  18612. function TUART1_U1AMODE.getRTSMD : TBits_1; inline;
  18613. begin
  18614. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18615. end;
  18616. procedure TUART1_U1AMODE.setIREN; inline;
  18617. begin
  18618. pTDefRegMap(@Self)^.&set := $00001000;
  18619. end;
  18620. procedure TUART1_U1AMODE.clearIREN; inline;
  18621. begin
  18622. pTDefRegMap(@Self)^.clr := $00001000;
  18623. end;
  18624. procedure TUART1_U1AMODE.setIREN(thebits : TBits_1); inline;
  18625. begin
  18626. if thebits = 0 then
  18627. pTDefRegMap(@Self)^.clr := $00001000
  18628. else
  18629. pTDefRegMap(@Self)^.&set := $00001000;
  18630. end;
  18631. function TUART1_U1AMODE.getIREN : TBits_1; inline;
  18632. begin
  18633. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18634. end;
  18635. procedure TUART1_U1AMODE.setSIDL; inline;
  18636. begin
  18637. pTDefRegMap(@Self)^.&set := $00002000;
  18638. end;
  18639. procedure TUART1_U1AMODE.clearSIDL; inline;
  18640. begin
  18641. pTDefRegMap(@Self)^.clr := $00002000;
  18642. end;
  18643. procedure TUART1_U1AMODE.setSIDL(thebits : TBits_1); inline;
  18644. begin
  18645. if thebits = 0 then
  18646. pTDefRegMap(@Self)^.clr := $00002000
  18647. else
  18648. pTDefRegMap(@Self)^.&set := $00002000;
  18649. end;
  18650. function TUART1_U1AMODE.getSIDL : TBits_1; inline;
  18651. begin
  18652. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18653. end;
  18654. procedure TUART1_U1AMODE.setON; inline;
  18655. begin
  18656. pTDefRegMap(@Self)^.&set := $00008000;
  18657. end;
  18658. procedure TUART1_U1AMODE.clearON; inline;
  18659. begin
  18660. pTDefRegMap(@Self)^.clr := $00008000;
  18661. end;
  18662. procedure TUART1_U1AMODE.setON(thebits : TBits_1); inline;
  18663. begin
  18664. if thebits = 0 then
  18665. pTDefRegMap(@Self)^.clr := $00008000
  18666. else
  18667. pTDefRegMap(@Self)^.&set := $00008000;
  18668. end;
  18669. function TUART1_U1AMODE.getON : TBits_1; inline;
  18670. begin
  18671. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18672. end;
  18673. procedure TUART1_U1AMODE.setPDSEL0; inline;
  18674. begin
  18675. pTDefRegMap(@Self)^.&set := $00000002;
  18676. end;
  18677. procedure TUART1_U1AMODE.clearPDSEL0; inline;
  18678. begin
  18679. pTDefRegMap(@Self)^.clr := $00000002;
  18680. end;
  18681. procedure TUART1_U1AMODE.setPDSEL0(thebits : TBits_1); inline;
  18682. begin
  18683. if thebits = 0 then
  18684. pTDefRegMap(@Self)^.clr := $00000002
  18685. else
  18686. pTDefRegMap(@Self)^.&set := $00000002;
  18687. end;
  18688. function TUART1_U1AMODE.getPDSEL0 : TBits_1; inline;
  18689. begin
  18690. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  18691. end;
  18692. procedure TUART1_U1AMODE.setPDSEL1; inline;
  18693. begin
  18694. pTDefRegMap(@Self)^.&set := $00000004;
  18695. end;
  18696. procedure TUART1_U1AMODE.clearPDSEL1; inline;
  18697. begin
  18698. pTDefRegMap(@Self)^.clr := $00000004;
  18699. end;
  18700. procedure TUART1_U1AMODE.setPDSEL1(thebits : TBits_1); inline;
  18701. begin
  18702. if thebits = 0 then
  18703. pTDefRegMap(@Self)^.clr := $00000004
  18704. else
  18705. pTDefRegMap(@Self)^.&set := $00000004;
  18706. end;
  18707. function TUART1_U1AMODE.getPDSEL1 : TBits_1; inline;
  18708. begin
  18709. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  18710. end;
  18711. procedure TUART1_U1AMODE.setUEN0; inline;
  18712. begin
  18713. pTDefRegMap(@Self)^.&set := $00000100;
  18714. end;
  18715. procedure TUART1_U1AMODE.clearUEN0; inline;
  18716. begin
  18717. pTDefRegMap(@Self)^.clr := $00000100;
  18718. end;
  18719. procedure TUART1_U1AMODE.setUEN0(thebits : TBits_1); inline;
  18720. begin
  18721. if thebits = 0 then
  18722. pTDefRegMap(@Self)^.clr := $00000100
  18723. else
  18724. pTDefRegMap(@Self)^.&set := $00000100;
  18725. end;
  18726. function TUART1_U1AMODE.getUEN0 : TBits_1; inline;
  18727. begin
  18728. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  18729. end;
  18730. procedure TUART1_U1AMODE.setUEN1; inline;
  18731. begin
  18732. pTDefRegMap(@Self)^.&set := $00000200;
  18733. end;
  18734. procedure TUART1_U1AMODE.clearUEN1; inline;
  18735. begin
  18736. pTDefRegMap(@Self)^.clr := $00000200;
  18737. end;
  18738. procedure TUART1_U1AMODE.setUEN1(thebits : TBits_1); inline;
  18739. begin
  18740. if thebits = 0 then
  18741. pTDefRegMap(@Self)^.clr := $00000200
  18742. else
  18743. pTDefRegMap(@Self)^.&set := $00000200;
  18744. end;
  18745. function TUART1_U1AMODE.getUEN1 : TBits_1; inline;
  18746. begin
  18747. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  18748. end;
  18749. procedure TUART1_U1AMODE.setUSIDL; inline;
  18750. begin
  18751. pTDefRegMap(@Self)^.&set := $00002000;
  18752. end;
  18753. procedure TUART1_U1AMODE.clearUSIDL; inline;
  18754. begin
  18755. pTDefRegMap(@Self)^.clr := $00002000;
  18756. end;
  18757. procedure TUART1_U1AMODE.setUSIDL(thebits : TBits_1); inline;
  18758. begin
  18759. if thebits = 0 then
  18760. pTDefRegMap(@Self)^.clr := $00002000
  18761. else
  18762. pTDefRegMap(@Self)^.&set := $00002000;
  18763. end;
  18764. function TUART1_U1AMODE.getUSIDL : TBits_1; inline;
  18765. begin
  18766. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18767. end;
  18768. procedure TUART1_U1AMODE.setUARTEN; inline;
  18769. begin
  18770. pTDefRegMap(@Self)^.&set := $00008000;
  18771. end;
  18772. procedure TUART1_U1AMODE.clearUARTEN; inline;
  18773. begin
  18774. pTDefRegMap(@Self)^.clr := $00008000;
  18775. end;
  18776. procedure TUART1_U1AMODE.setUARTEN(thebits : TBits_1); inline;
  18777. begin
  18778. if thebits = 0 then
  18779. pTDefRegMap(@Self)^.clr := $00008000
  18780. else
  18781. pTDefRegMap(@Self)^.&set := $00008000;
  18782. end;
  18783. function TUART1_U1AMODE.getUARTEN : TBits_1; inline;
  18784. begin
  18785. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  18786. end;
  18787. procedure TUART1_U1AMODE.setw(thebits : TBits_32); inline;
  18788. begin
  18789. pTDefRegMap(@Self)^.val := thebits;
  18790. end;
  18791. function TUART1_U1AMODE.getw : TBits_32; inline;
  18792. begin
  18793. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  18794. end;
  18795. procedure TUART1_U1MODE.setSTSEL; inline;
  18796. begin
  18797. pTDefRegMap(@Self)^.&set := $00000001;
  18798. end;
  18799. procedure TUART1_U1MODE.clearSTSEL; inline;
  18800. begin
  18801. pTDefRegMap(@Self)^.clr := $00000001;
  18802. end;
  18803. procedure TUART1_U1MODE.setSTSEL(thebits : TBits_1); inline;
  18804. begin
  18805. if thebits = 0 then
  18806. pTDefRegMap(@Self)^.clr := $00000001
  18807. else
  18808. pTDefRegMap(@Self)^.&set := $00000001;
  18809. end;
  18810. function TUART1_U1MODE.getSTSEL : TBits_1; inline;
  18811. begin
  18812. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  18813. end;
  18814. procedure TUART1_U1MODE.setPDSEL(thebits : TBits_2); inline;
  18815. begin
  18816. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  18817. end;
  18818. function TUART1_U1MODE.getPDSEL : TBits_2; inline;
  18819. begin
  18820. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  18821. end;
  18822. procedure TUART1_U1MODE.setBRGH; inline;
  18823. begin
  18824. pTDefRegMap(@Self)^.&set := $00000008;
  18825. end;
  18826. procedure TUART1_U1MODE.clearBRGH; inline;
  18827. begin
  18828. pTDefRegMap(@Self)^.clr := $00000008;
  18829. end;
  18830. procedure TUART1_U1MODE.setBRGH(thebits : TBits_1); inline;
  18831. begin
  18832. if thebits = 0 then
  18833. pTDefRegMap(@Self)^.clr := $00000008
  18834. else
  18835. pTDefRegMap(@Self)^.&set := $00000008;
  18836. end;
  18837. function TUART1_U1MODE.getBRGH : TBits_1; inline;
  18838. begin
  18839. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  18840. end;
  18841. procedure TUART1_U1MODE.setRXINV; inline;
  18842. begin
  18843. pTDefRegMap(@Self)^.&set := $00000010;
  18844. end;
  18845. procedure TUART1_U1MODE.clearRXINV; inline;
  18846. begin
  18847. pTDefRegMap(@Self)^.clr := $00000010;
  18848. end;
  18849. procedure TUART1_U1MODE.setRXINV(thebits : TBits_1); inline;
  18850. begin
  18851. if thebits = 0 then
  18852. pTDefRegMap(@Self)^.clr := $00000010
  18853. else
  18854. pTDefRegMap(@Self)^.&set := $00000010;
  18855. end;
  18856. function TUART1_U1MODE.getRXINV : TBits_1; inline;
  18857. begin
  18858. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  18859. end;
  18860. procedure TUART1_U1MODE.setABAUD; inline;
  18861. begin
  18862. pTDefRegMap(@Self)^.&set := $00000020;
  18863. end;
  18864. procedure TUART1_U1MODE.clearABAUD; inline;
  18865. begin
  18866. pTDefRegMap(@Self)^.clr := $00000020;
  18867. end;
  18868. procedure TUART1_U1MODE.setABAUD(thebits : TBits_1); inline;
  18869. begin
  18870. if thebits = 0 then
  18871. pTDefRegMap(@Self)^.clr := $00000020
  18872. else
  18873. pTDefRegMap(@Self)^.&set := $00000020;
  18874. end;
  18875. function TUART1_U1MODE.getABAUD : TBits_1; inline;
  18876. begin
  18877. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  18878. end;
  18879. procedure TUART1_U1MODE.setLPBACK; inline;
  18880. begin
  18881. pTDefRegMap(@Self)^.&set := $00000040;
  18882. end;
  18883. procedure TUART1_U1MODE.clearLPBACK; inline;
  18884. begin
  18885. pTDefRegMap(@Self)^.clr := $00000040;
  18886. end;
  18887. procedure TUART1_U1MODE.setLPBACK(thebits : TBits_1); inline;
  18888. begin
  18889. if thebits = 0 then
  18890. pTDefRegMap(@Self)^.clr := $00000040
  18891. else
  18892. pTDefRegMap(@Self)^.&set := $00000040;
  18893. end;
  18894. function TUART1_U1MODE.getLPBACK : TBits_1; inline;
  18895. begin
  18896. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  18897. end;
  18898. procedure TUART1_U1MODE.setWAKE; inline;
  18899. begin
  18900. pTDefRegMap(@Self)^.&set := $00000080;
  18901. end;
  18902. procedure TUART1_U1MODE.clearWAKE; inline;
  18903. begin
  18904. pTDefRegMap(@Self)^.clr := $00000080;
  18905. end;
  18906. procedure TUART1_U1MODE.setWAKE(thebits : TBits_1); inline;
  18907. begin
  18908. if thebits = 0 then
  18909. pTDefRegMap(@Self)^.clr := $00000080
  18910. else
  18911. pTDefRegMap(@Self)^.&set := $00000080;
  18912. end;
  18913. function TUART1_U1MODE.getWAKE : TBits_1; inline;
  18914. begin
  18915. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  18916. end;
  18917. procedure TUART1_U1MODE.setUEN(thebits : TBits_2); inline;
  18918. begin
  18919. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  18920. end;
  18921. function TUART1_U1MODE.getUEN : TBits_2; inline;
  18922. begin
  18923. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  18924. end;
  18925. procedure TUART1_U1MODE.setRTSMD; inline;
  18926. begin
  18927. pTDefRegMap(@Self)^.&set := $00000800;
  18928. end;
  18929. procedure TUART1_U1MODE.clearRTSMD; inline;
  18930. begin
  18931. pTDefRegMap(@Self)^.clr := $00000800;
  18932. end;
  18933. procedure TUART1_U1MODE.setRTSMD(thebits : TBits_1); inline;
  18934. begin
  18935. if thebits = 0 then
  18936. pTDefRegMap(@Self)^.clr := $00000800
  18937. else
  18938. pTDefRegMap(@Self)^.&set := $00000800;
  18939. end;
  18940. function TUART1_U1MODE.getRTSMD : TBits_1; inline;
  18941. begin
  18942. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  18943. end;
  18944. procedure TUART1_U1MODE.setIREN; inline;
  18945. begin
  18946. pTDefRegMap(@Self)^.&set := $00001000;
  18947. end;
  18948. procedure TUART1_U1MODE.clearIREN; inline;
  18949. begin
  18950. pTDefRegMap(@Self)^.clr := $00001000;
  18951. end;
  18952. procedure TUART1_U1MODE.setIREN(thebits : TBits_1); inline;
  18953. begin
  18954. if thebits = 0 then
  18955. pTDefRegMap(@Self)^.clr := $00001000
  18956. else
  18957. pTDefRegMap(@Self)^.&set := $00001000;
  18958. end;
  18959. function TUART1_U1MODE.getIREN : TBits_1; inline;
  18960. begin
  18961. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  18962. end;
  18963. procedure TUART1_U1MODE.setSIDL; inline;
  18964. begin
  18965. pTDefRegMap(@Self)^.&set := $00002000;
  18966. end;
  18967. procedure TUART1_U1MODE.clearSIDL; inline;
  18968. begin
  18969. pTDefRegMap(@Self)^.clr := $00002000;
  18970. end;
  18971. procedure TUART1_U1MODE.setSIDL(thebits : TBits_1); inline;
  18972. begin
  18973. if thebits = 0 then
  18974. pTDefRegMap(@Self)^.clr := $00002000
  18975. else
  18976. pTDefRegMap(@Self)^.&set := $00002000;
  18977. end;
  18978. function TUART1_U1MODE.getSIDL : TBits_1; inline;
  18979. begin
  18980. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  18981. end;
  18982. procedure TUART1_U1MODE.setON; inline;
  18983. begin
  18984. pTDefRegMap(@Self)^.&set := $00008000;
  18985. end;
  18986. procedure TUART1_U1MODE.clearON; inline;
  18987. begin
  18988. pTDefRegMap(@Self)^.clr := $00008000;
  18989. end;
  18990. procedure TUART1_U1MODE.setON(thebits : TBits_1); inline;
  18991. begin
  18992. if thebits = 0 then
  18993. pTDefRegMap(@Self)^.clr := $00008000
  18994. else
  18995. pTDefRegMap(@Self)^.&set := $00008000;
  18996. end;
  18997. function TUART1_U1MODE.getON : TBits_1; inline;
  18998. begin
  18999. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19000. end;
  19001. procedure TUART1_U1MODE.setPDSEL0; inline;
  19002. begin
  19003. pTDefRegMap(@Self)^.&set := $00000002;
  19004. end;
  19005. procedure TUART1_U1MODE.clearPDSEL0; inline;
  19006. begin
  19007. pTDefRegMap(@Self)^.clr := $00000002;
  19008. end;
  19009. procedure TUART1_U1MODE.setPDSEL0(thebits : TBits_1); inline;
  19010. begin
  19011. if thebits = 0 then
  19012. pTDefRegMap(@Self)^.clr := $00000002
  19013. else
  19014. pTDefRegMap(@Self)^.&set := $00000002;
  19015. end;
  19016. function TUART1_U1MODE.getPDSEL0 : TBits_1; inline;
  19017. begin
  19018. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19019. end;
  19020. procedure TUART1_U1MODE.setPDSEL1; inline;
  19021. begin
  19022. pTDefRegMap(@Self)^.&set := $00000004;
  19023. end;
  19024. procedure TUART1_U1MODE.clearPDSEL1; inline;
  19025. begin
  19026. pTDefRegMap(@Self)^.clr := $00000004;
  19027. end;
  19028. procedure TUART1_U1MODE.setPDSEL1(thebits : TBits_1); inline;
  19029. begin
  19030. if thebits = 0 then
  19031. pTDefRegMap(@Self)^.clr := $00000004
  19032. else
  19033. pTDefRegMap(@Self)^.&set := $00000004;
  19034. end;
  19035. function TUART1_U1MODE.getPDSEL1 : TBits_1; inline;
  19036. begin
  19037. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19038. end;
  19039. procedure TUART1_U1MODE.setUEN0; inline;
  19040. begin
  19041. pTDefRegMap(@Self)^.&set := $00000100;
  19042. end;
  19043. procedure TUART1_U1MODE.clearUEN0; inline;
  19044. begin
  19045. pTDefRegMap(@Self)^.clr := $00000100;
  19046. end;
  19047. procedure TUART1_U1MODE.setUEN0(thebits : TBits_1); inline;
  19048. begin
  19049. if thebits = 0 then
  19050. pTDefRegMap(@Self)^.clr := $00000100
  19051. else
  19052. pTDefRegMap(@Self)^.&set := $00000100;
  19053. end;
  19054. function TUART1_U1MODE.getUEN0 : TBits_1; inline;
  19055. begin
  19056. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19057. end;
  19058. procedure TUART1_U1MODE.setUEN1; inline;
  19059. begin
  19060. pTDefRegMap(@Self)^.&set := $00000200;
  19061. end;
  19062. procedure TUART1_U1MODE.clearUEN1; inline;
  19063. begin
  19064. pTDefRegMap(@Self)^.clr := $00000200;
  19065. end;
  19066. procedure TUART1_U1MODE.setUEN1(thebits : TBits_1); inline;
  19067. begin
  19068. if thebits = 0 then
  19069. pTDefRegMap(@Self)^.clr := $00000200
  19070. else
  19071. pTDefRegMap(@Self)^.&set := $00000200;
  19072. end;
  19073. function TUART1_U1MODE.getUEN1 : TBits_1; inline;
  19074. begin
  19075. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19076. end;
  19077. procedure TUART1_U1MODE.setUSIDL; inline;
  19078. begin
  19079. pTDefRegMap(@Self)^.&set := $00002000;
  19080. end;
  19081. procedure TUART1_U1MODE.clearUSIDL; inline;
  19082. begin
  19083. pTDefRegMap(@Self)^.clr := $00002000;
  19084. end;
  19085. procedure TUART1_U1MODE.setUSIDL(thebits : TBits_1); inline;
  19086. begin
  19087. if thebits = 0 then
  19088. pTDefRegMap(@Self)^.clr := $00002000
  19089. else
  19090. pTDefRegMap(@Self)^.&set := $00002000;
  19091. end;
  19092. function TUART1_U1MODE.getUSIDL : TBits_1; inline;
  19093. begin
  19094. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19095. end;
  19096. procedure TUART1_U1MODE.setUARTEN; inline;
  19097. begin
  19098. pTDefRegMap(@Self)^.&set := $00008000;
  19099. end;
  19100. procedure TUART1_U1MODE.clearUARTEN; inline;
  19101. begin
  19102. pTDefRegMap(@Self)^.clr := $00008000;
  19103. end;
  19104. procedure TUART1_U1MODE.setUARTEN(thebits : TBits_1); inline;
  19105. begin
  19106. if thebits = 0 then
  19107. pTDefRegMap(@Self)^.clr := $00008000
  19108. else
  19109. pTDefRegMap(@Self)^.&set := $00008000;
  19110. end;
  19111. function TUART1_U1MODE.getUARTEN : TBits_1; inline;
  19112. begin
  19113. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19114. end;
  19115. procedure TUART1_U1MODE.setw(thebits : TBits_32); inline;
  19116. begin
  19117. pTDefRegMap(@Self)^.val := thebits;
  19118. end;
  19119. function TUART1_U1MODE.getw : TBits_32; inline;
  19120. begin
  19121. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19122. end;
  19123. procedure TUART1_U1ASTA.setURXDA; inline;
  19124. begin
  19125. pTDefRegMap(@Self)^.&set := $00000001;
  19126. end;
  19127. procedure TUART1_U1ASTA.clearURXDA; inline;
  19128. begin
  19129. pTDefRegMap(@Self)^.clr := $00000001;
  19130. end;
  19131. procedure TUART1_U1ASTA.setURXDA(thebits : TBits_1); inline;
  19132. begin
  19133. if thebits = 0 then
  19134. pTDefRegMap(@Self)^.clr := $00000001
  19135. else
  19136. pTDefRegMap(@Self)^.&set := $00000001;
  19137. end;
  19138. function TUART1_U1ASTA.getURXDA : TBits_1; inline;
  19139. begin
  19140. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19141. end;
  19142. procedure TUART1_U1ASTA.setOERR; inline;
  19143. begin
  19144. pTDefRegMap(@Self)^.&set := $00000002;
  19145. end;
  19146. procedure TUART1_U1ASTA.clearOERR; inline;
  19147. begin
  19148. pTDefRegMap(@Self)^.clr := $00000002;
  19149. end;
  19150. procedure TUART1_U1ASTA.setOERR(thebits : TBits_1); inline;
  19151. begin
  19152. if thebits = 0 then
  19153. pTDefRegMap(@Self)^.clr := $00000002
  19154. else
  19155. pTDefRegMap(@Self)^.&set := $00000002;
  19156. end;
  19157. function TUART1_U1ASTA.getOERR : TBits_1; inline;
  19158. begin
  19159. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19160. end;
  19161. procedure TUART1_U1ASTA.setFERR; inline;
  19162. begin
  19163. pTDefRegMap(@Self)^.&set := $00000004;
  19164. end;
  19165. procedure TUART1_U1ASTA.clearFERR; inline;
  19166. begin
  19167. pTDefRegMap(@Self)^.clr := $00000004;
  19168. end;
  19169. procedure TUART1_U1ASTA.setFERR(thebits : TBits_1); inline;
  19170. begin
  19171. if thebits = 0 then
  19172. pTDefRegMap(@Self)^.clr := $00000004
  19173. else
  19174. pTDefRegMap(@Self)^.&set := $00000004;
  19175. end;
  19176. function TUART1_U1ASTA.getFERR : TBits_1; inline;
  19177. begin
  19178. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19179. end;
  19180. procedure TUART1_U1ASTA.setPERR; inline;
  19181. begin
  19182. pTDefRegMap(@Self)^.&set := $00000008;
  19183. end;
  19184. procedure TUART1_U1ASTA.clearPERR; inline;
  19185. begin
  19186. pTDefRegMap(@Self)^.clr := $00000008;
  19187. end;
  19188. procedure TUART1_U1ASTA.setPERR(thebits : TBits_1); inline;
  19189. begin
  19190. if thebits = 0 then
  19191. pTDefRegMap(@Self)^.clr := $00000008
  19192. else
  19193. pTDefRegMap(@Self)^.&set := $00000008;
  19194. end;
  19195. function TUART1_U1ASTA.getPERR : TBits_1; inline;
  19196. begin
  19197. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19198. end;
  19199. procedure TUART1_U1ASTA.setRIDLE; inline;
  19200. begin
  19201. pTDefRegMap(@Self)^.&set := $00000010;
  19202. end;
  19203. procedure TUART1_U1ASTA.clearRIDLE; inline;
  19204. begin
  19205. pTDefRegMap(@Self)^.clr := $00000010;
  19206. end;
  19207. procedure TUART1_U1ASTA.setRIDLE(thebits : TBits_1); inline;
  19208. begin
  19209. if thebits = 0 then
  19210. pTDefRegMap(@Self)^.clr := $00000010
  19211. else
  19212. pTDefRegMap(@Self)^.&set := $00000010;
  19213. end;
  19214. function TUART1_U1ASTA.getRIDLE : TBits_1; inline;
  19215. begin
  19216. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19217. end;
  19218. procedure TUART1_U1ASTA.setADDEN; inline;
  19219. begin
  19220. pTDefRegMap(@Self)^.&set := $00000020;
  19221. end;
  19222. procedure TUART1_U1ASTA.clearADDEN; inline;
  19223. begin
  19224. pTDefRegMap(@Self)^.clr := $00000020;
  19225. end;
  19226. procedure TUART1_U1ASTA.setADDEN(thebits : TBits_1); inline;
  19227. begin
  19228. if thebits = 0 then
  19229. pTDefRegMap(@Self)^.clr := $00000020
  19230. else
  19231. pTDefRegMap(@Self)^.&set := $00000020;
  19232. end;
  19233. function TUART1_U1ASTA.getADDEN : TBits_1; inline;
  19234. begin
  19235. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19236. end;
  19237. procedure TUART1_U1ASTA.setURXISEL(thebits : TBits_2); inline;
  19238. begin
  19239. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19240. end;
  19241. function TUART1_U1ASTA.getURXISEL : TBits_2; inline;
  19242. begin
  19243. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19244. end;
  19245. procedure TUART1_U1ASTA.setTRMT; inline;
  19246. begin
  19247. pTDefRegMap(@Self)^.&set := $00000100;
  19248. end;
  19249. procedure TUART1_U1ASTA.clearTRMT; inline;
  19250. begin
  19251. pTDefRegMap(@Self)^.clr := $00000100;
  19252. end;
  19253. procedure TUART1_U1ASTA.setTRMT(thebits : TBits_1); inline;
  19254. begin
  19255. if thebits = 0 then
  19256. pTDefRegMap(@Self)^.clr := $00000100
  19257. else
  19258. pTDefRegMap(@Self)^.&set := $00000100;
  19259. end;
  19260. function TUART1_U1ASTA.getTRMT : TBits_1; inline;
  19261. begin
  19262. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19263. end;
  19264. procedure TUART1_U1ASTA.setUTXBF; inline;
  19265. begin
  19266. pTDefRegMap(@Self)^.&set := $00000200;
  19267. end;
  19268. procedure TUART1_U1ASTA.clearUTXBF; inline;
  19269. begin
  19270. pTDefRegMap(@Self)^.clr := $00000200;
  19271. end;
  19272. procedure TUART1_U1ASTA.setUTXBF(thebits : TBits_1); inline;
  19273. begin
  19274. if thebits = 0 then
  19275. pTDefRegMap(@Self)^.clr := $00000200
  19276. else
  19277. pTDefRegMap(@Self)^.&set := $00000200;
  19278. end;
  19279. function TUART1_U1ASTA.getUTXBF : TBits_1; inline;
  19280. begin
  19281. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19282. end;
  19283. procedure TUART1_U1ASTA.setUTXEN; inline;
  19284. begin
  19285. pTDefRegMap(@Self)^.&set := $00000400;
  19286. end;
  19287. procedure TUART1_U1ASTA.clearUTXEN; inline;
  19288. begin
  19289. pTDefRegMap(@Self)^.clr := $00000400;
  19290. end;
  19291. procedure TUART1_U1ASTA.setUTXEN(thebits : TBits_1); inline;
  19292. begin
  19293. if thebits = 0 then
  19294. pTDefRegMap(@Self)^.clr := $00000400
  19295. else
  19296. pTDefRegMap(@Self)^.&set := $00000400;
  19297. end;
  19298. function TUART1_U1ASTA.getUTXEN : TBits_1; inline;
  19299. begin
  19300. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19301. end;
  19302. procedure TUART1_U1ASTA.setUTXBRK; inline;
  19303. begin
  19304. pTDefRegMap(@Self)^.&set := $00000800;
  19305. end;
  19306. procedure TUART1_U1ASTA.clearUTXBRK; inline;
  19307. begin
  19308. pTDefRegMap(@Self)^.clr := $00000800;
  19309. end;
  19310. procedure TUART1_U1ASTA.setUTXBRK(thebits : TBits_1); inline;
  19311. begin
  19312. if thebits = 0 then
  19313. pTDefRegMap(@Self)^.clr := $00000800
  19314. else
  19315. pTDefRegMap(@Self)^.&set := $00000800;
  19316. end;
  19317. function TUART1_U1ASTA.getUTXBRK : TBits_1; inline;
  19318. begin
  19319. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19320. end;
  19321. procedure TUART1_U1ASTA.setURXEN; inline;
  19322. begin
  19323. pTDefRegMap(@Self)^.&set := $00001000;
  19324. end;
  19325. procedure TUART1_U1ASTA.clearURXEN; inline;
  19326. begin
  19327. pTDefRegMap(@Self)^.clr := $00001000;
  19328. end;
  19329. procedure TUART1_U1ASTA.setURXEN(thebits : TBits_1); inline;
  19330. begin
  19331. if thebits = 0 then
  19332. pTDefRegMap(@Self)^.clr := $00001000
  19333. else
  19334. pTDefRegMap(@Self)^.&set := $00001000;
  19335. end;
  19336. function TUART1_U1ASTA.getURXEN : TBits_1; inline;
  19337. begin
  19338. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19339. end;
  19340. procedure TUART1_U1ASTA.setUTXINV; inline;
  19341. begin
  19342. pTDefRegMap(@Self)^.&set := $00002000;
  19343. end;
  19344. procedure TUART1_U1ASTA.clearUTXINV; inline;
  19345. begin
  19346. pTDefRegMap(@Self)^.clr := $00002000;
  19347. end;
  19348. procedure TUART1_U1ASTA.setUTXINV(thebits : TBits_1); inline;
  19349. begin
  19350. if thebits = 0 then
  19351. pTDefRegMap(@Self)^.clr := $00002000
  19352. else
  19353. pTDefRegMap(@Self)^.&set := $00002000;
  19354. end;
  19355. function TUART1_U1ASTA.getUTXINV : TBits_1; inline;
  19356. begin
  19357. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19358. end;
  19359. procedure TUART1_U1ASTA.setUTXISEL(thebits : TBits_2); inline;
  19360. begin
  19361. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19362. end;
  19363. function TUART1_U1ASTA.getUTXISEL : TBits_2; inline;
  19364. begin
  19365. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19366. end;
  19367. procedure TUART1_U1ASTA.setADDR(thebits : TBits_8); inline;
  19368. begin
  19369. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19370. end;
  19371. function TUART1_U1ASTA.getADDR : TBits_8; inline;
  19372. begin
  19373. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19374. end;
  19375. procedure TUART1_U1ASTA.setADM_EN; inline;
  19376. begin
  19377. pTDefRegMap(@Self)^.&set := $01000000;
  19378. end;
  19379. procedure TUART1_U1ASTA.clearADM_EN; inline;
  19380. begin
  19381. pTDefRegMap(@Self)^.clr := $01000000;
  19382. end;
  19383. procedure TUART1_U1ASTA.setADM_EN(thebits : TBits_1); inline;
  19384. begin
  19385. if thebits = 0 then
  19386. pTDefRegMap(@Self)^.clr := $01000000
  19387. else
  19388. pTDefRegMap(@Self)^.&set := $01000000;
  19389. end;
  19390. function TUART1_U1ASTA.getADM_EN : TBits_1; inline;
  19391. begin
  19392. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19393. end;
  19394. procedure TUART1_U1ASTA.setURXISEL0; inline;
  19395. begin
  19396. pTDefRegMap(@Self)^.&set := $00000040;
  19397. end;
  19398. procedure TUART1_U1ASTA.clearURXISEL0; inline;
  19399. begin
  19400. pTDefRegMap(@Self)^.clr := $00000040;
  19401. end;
  19402. procedure TUART1_U1ASTA.setURXISEL0(thebits : TBits_1); inline;
  19403. begin
  19404. if thebits = 0 then
  19405. pTDefRegMap(@Self)^.clr := $00000040
  19406. else
  19407. pTDefRegMap(@Self)^.&set := $00000040;
  19408. end;
  19409. function TUART1_U1ASTA.getURXISEL0 : TBits_1; inline;
  19410. begin
  19411. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19412. end;
  19413. procedure TUART1_U1ASTA.setURXISEL1; inline;
  19414. begin
  19415. pTDefRegMap(@Self)^.&set := $00000080;
  19416. end;
  19417. procedure TUART1_U1ASTA.clearURXISEL1; inline;
  19418. begin
  19419. pTDefRegMap(@Self)^.clr := $00000080;
  19420. end;
  19421. procedure TUART1_U1ASTA.setURXISEL1(thebits : TBits_1); inline;
  19422. begin
  19423. if thebits = 0 then
  19424. pTDefRegMap(@Self)^.clr := $00000080
  19425. else
  19426. pTDefRegMap(@Self)^.&set := $00000080;
  19427. end;
  19428. function TUART1_U1ASTA.getURXISEL1 : TBits_1; inline;
  19429. begin
  19430. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19431. end;
  19432. procedure TUART1_U1ASTA.setUTXISEL0; inline;
  19433. begin
  19434. pTDefRegMap(@Self)^.&set := $00004000;
  19435. end;
  19436. procedure TUART1_U1ASTA.clearUTXISEL0; inline;
  19437. begin
  19438. pTDefRegMap(@Self)^.clr := $00004000;
  19439. end;
  19440. procedure TUART1_U1ASTA.setUTXISEL0(thebits : TBits_1); inline;
  19441. begin
  19442. if thebits = 0 then
  19443. pTDefRegMap(@Self)^.clr := $00004000
  19444. else
  19445. pTDefRegMap(@Self)^.&set := $00004000;
  19446. end;
  19447. function TUART1_U1ASTA.getUTXISEL0 : TBits_1; inline;
  19448. begin
  19449. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19450. end;
  19451. procedure TUART1_U1ASTA.setUTXISEL1; inline;
  19452. begin
  19453. pTDefRegMap(@Self)^.&set := $00008000;
  19454. end;
  19455. procedure TUART1_U1ASTA.clearUTXISEL1; inline;
  19456. begin
  19457. pTDefRegMap(@Self)^.clr := $00008000;
  19458. end;
  19459. procedure TUART1_U1ASTA.setUTXISEL1(thebits : TBits_1); inline;
  19460. begin
  19461. if thebits = 0 then
  19462. pTDefRegMap(@Self)^.clr := $00008000
  19463. else
  19464. pTDefRegMap(@Self)^.&set := $00008000;
  19465. end;
  19466. function TUART1_U1ASTA.getUTXISEL1 : TBits_1; inline;
  19467. begin
  19468. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19469. end;
  19470. procedure TUART1_U1ASTA.setUTXSEL(thebits : TBits_2); inline;
  19471. begin
  19472. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19473. end;
  19474. function TUART1_U1ASTA.getUTXSEL : TBits_2; inline;
  19475. begin
  19476. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19477. end;
  19478. procedure TUART1_U1ASTA.setw(thebits : TBits_32); inline;
  19479. begin
  19480. pTDefRegMap(@Self)^.val := thebits;
  19481. end;
  19482. function TUART1_U1ASTA.getw : TBits_32; inline;
  19483. begin
  19484. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19485. end;
  19486. procedure TUART1_U1STA.setURXDA; inline;
  19487. begin
  19488. pTDefRegMap(@Self)^.&set := $00000001;
  19489. end;
  19490. procedure TUART1_U1STA.clearURXDA; inline;
  19491. begin
  19492. pTDefRegMap(@Self)^.clr := $00000001;
  19493. end;
  19494. procedure TUART1_U1STA.setURXDA(thebits : TBits_1); inline;
  19495. begin
  19496. if thebits = 0 then
  19497. pTDefRegMap(@Self)^.clr := $00000001
  19498. else
  19499. pTDefRegMap(@Self)^.&set := $00000001;
  19500. end;
  19501. function TUART1_U1STA.getURXDA : TBits_1; inline;
  19502. begin
  19503. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19504. end;
  19505. procedure TUART1_U1STA.setOERR; inline;
  19506. begin
  19507. pTDefRegMap(@Self)^.&set := $00000002;
  19508. end;
  19509. procedure TUART1_U1STA.clearOERR; inline;
  19510. begin
  19511. pTDefRegMap(@Self)^.clr := $00000002;
  19512. end;
  19513. procedure TUART1_U1STA.setOERR(thebits : TBits_1); inline;
  19514. begin
  19515. if thebits = 0 then
  19516. pTDefRegMap(@Self)^.clr := $00000002
  19517. else
  19518. pTDefRegMap(@Self)^.&set := $00000002;
  19519. end;
  19520. function TUART1_U1STA.getOERR : TBits_1; inline;
  19521. begin
  19522. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  19523. end;
  19524. procedure TUART1_U1STA.setFERR; inline;
  19525. begin
  19526. pTDefRegMap(@Self)^.&set := $00000004;
  19527. end;
  19528. procedure TUART1_U1STA.clearFERR; inline;
  19529. begin
  19530. pTDefRegMap(@Self)^.clr := $00000004;
  19531. end;
  19532. procedure TUART1_U1STA.setFERR(thebits : TBits_1); inline;
  19533. begin
  19534. if thebits = 0 then
  19535. pTDefRegMap(@Self)^.clr := $00000004
  19536. else
  19537. pTDefRegMap(@Self)^.&set := $00000004;
  19538. end;
  19539. function TUART1_U1STA.getFERR : TBits_1; inline;
  19540. begin
  19541. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  19542. end;
  19543. procedure TUART1_U1STA.setPERR; inline;
  19544. begin
  19545. pTDefRegMap(@Self)^.&set := $00000008;
  19546. end;
  19547. procedure TUART1_U1STA.clearPERR; inline;
  19548. begin
  19549. pTDefRegMap(@Self)^.clr := $00000008;
  19550. end;
  19551. procedure TUART1_U1STA.setPERR(thebits : TBits_1); inline;
  19552. begin
  19553. if thebits = 0 then
  19554. pTDefRegMap(@Self)^.clr := $00000008
  19555. else
  19556. pTDefRegMap(@Self)^.&set := $00000008;
  19557. end;
  19558. function TUART1_U1STA.getPERR : TBits_1; inline;
  19559. begin
  19560. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19561. end;
  19562. procedure TUART1_U1STA.setRIDLE; inline;
  19563. begin
  19564. pTDefRegMap(@Self)^.&set := $00000010;
  19565. end;
  19566. procedure TUART1_U1STA.clearRIDLE; inline;
  19567. begin
  19568. pTDefRegMap(@Self)^.clr := $00000010;
  19569. end;
  19570. procedure TUART1_U1STA.setRIDLE(thebits : TBits_1); inline;
  19571. begin
  19572. if thebits = 0 then
  19573. pTDefRegMap(@Self)^.clr := $00000010
  19574. else
  19575. pTDefRegMap(@Self)^.&set := $00000010;
  19576. end;
  19577. function TUART1_U1STA.getRIDLE : TBits_1; inline;
  19578. begin
  19579. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19580. end;
  19581. procedure TUART1_U1STA.setADDEN; inline;
  19582. begin
  19583. pTDefRegMap(@Self)^.&set := $00000020;
  19584. end;
  19585. procedure TUART1_U1STA.clearADDEN; inline;
  19586. begin
  19587. pTDefRegMap(@Self)^.clr := $00000020;
  19588. end;
  19589. procedure TUART1_U1STA.setADDEN(thebits : TBits_1); inline;
  19590. begin
  19591. if thebits = 0 then
  19592. pTDefRegMap(@Self)^.clr := $00000020
  19593. else
  19594. pTDefRegMap(@Self)^.&set := $00000020;
  19595. end;
  19596. function TUART1_U1STA.getADDEN : TBits_1; inline;
  19597. begin
  19598. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19599. end;
  19600. procedure TUART1_U1STA.setURXISEL(thebits : TBits_2); inline;
  19601. begin
  19602. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  19603. end;
  19604. function TUART1_U1STA.getURXISEL : TBits_2; inline;
  19605. begin
  19606. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  19607. end;
  19608. procedure TUART1_U1STA.setTRMT; inline;
  19609. begin
  19610. pTDefRegMap(@Self)^.&set := $00000100;
  19611. end;
  19612. procedure TUART1_U1STA.clearTRMT; inline;
  19613. begin
  19614. pTDefRegMap(@Self)^.clr := $00000100;
  19615. end;
  19616. procedure TUART1_U1STA.setTRMT(thebits : TBits_1); inline;
  19617. begin
  19618. if thebits = 0 then
  19619. pTDefRegMap(@Self)^.clr := $00000100
  19620. else
  19621. pTDefRegMap(@Self)^.&set := $00000100;
  19622. end;
  19623. function TUART1_U1STA.getTRMT : TBits_1; inline;
  19624. begin
  19625. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  19626. end;
  19627. procedure TUART1_U1STA.setUTXBF; inline;
  19628. begin
  19629. pTDefRegMap(@Self)^.&set := $00000200;
  19630. end;
  19631. procedure TUART1_U1STA.clearUTXBF; inline;
  19632. begin
  19633. pTDefRegMap(@Self)^.clr := $00000200;
  19634. end;
  19635. procedure TUART1_U1STA.setUTXBF(thebits : TBits_1); inline;
  19636. begin
  19637. if thebits = 0 then
  19638. pTDefRegMap(@Self)^.clr := $00000200
  19639. else
  19640. pTDefRegMap(@Self)^.&set := $00000200;
  19641. end;
  19642. function TUART1_U1STA.getUTXBF : TBits_1; inline;
  19643. begin
  19644. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  19645. end;
  19646. procedure TUART1_U1STA.setUTXEN; inline;
  19647. begin
  19648. pTDefRegMap(@Self)^.&set := $00000400;
  19649. end;
  19650. procedure TUART1_U1STA.clearUTXEN; inline;
  19651. begin
  19652. pTDefRegMap(@Self)^.clr := $00000400;
  19653. end;
  19654. procedure TUART1_U1STA.setUTXEN(thebits : TBits_1); inline;
  19655. begin
  19656. if thebits = 0 then
  19657. pTDefRegMap(@Self)^.clr := $00000400
  19658. else
  19659. pTDefRegMap(@Self)^.&set := $00000400;
  19660. end;
  19661. function TUART1_U1STA.getUTXEN : TBits_1; inline;
  19662. begin
  19663. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  19664. end;
  19665. procedure TUART1_U1STA.setUTXBRK; inline;
  19666. begin
  19667. pTDefRegMap(@Self)^.&set := $00000800;
  19668. end;
  19669. procedure TUART1_U1STA.clearUTXBRK; inline;
  19670. begin
  19671. pTDefRegMap(@Self)^.clr := $00000800;
  19672. end;
  19673. procedure TUART1_U1STA.setUTXBRK(thebits : TBits_1); inline;
  19674. begin
  19675. if thebits = 0 then
  19676. pTDefRegMap(@Self)^.clr := $00000800
  19677. else
  19678. pTDefRegMap(@Self)^.&set := $00000800;
  19679. end;
  19680. function TUART1_U1STA.getUTXBRK : TBits_1; inline;
  19681. begin
  19682. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19683. end;
  19684. procedure TUART1_U1STA.setURXEN; inline;
  19685. begin
  19686. pTDefRegMap(@Self)^.&set := $00001000;
  19687. end;
  19688. procedure TUART1_U1STA.clearURXEN; inline;
  19689. begin
  19690. pTDefRegMap(@Self)^.clr := $00001000;
  19691. end;
  19692. procedure TUART1_U1STA.setURXEN(thebits : TBits_1); inline;
  19693. begin
  19694. if thebits = 0 then
  19695. pTDefRegMap(@Self)^.clr := $00001000
  19696. else
  19697. pTDefRegMap(@Self)^.&set := $00001000;
  19698. end;
  19699. function TUART1_U1STA.getURXEN : TBits_1; inline;
  19700. begin
  19701. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  19702. end;
  19703. procedure TUART1_U1STA.setUTXINV; inline;
  19704. begin
  19705. pTDefRegMap(@Self)^.&set := $00002000;
  19706. end;
  19707. procedure TUART1_U1STA.clearUTXINV; inline;
  19708. begin
  19709. pTDefRegMap(@Self)^.clr := $00002000;
  19710. end;
  19711. procedure TUART1_U1STA.setUTXINV(thebits : TBits_1); inline;
  19712. begin
  19713. if thebits = 0 then
  19714. pTDefRegMap(@Self)^.clr := $00002000
  19715. else
  19716. pTDefRegMap(@Self)^.&set := $00002000;
  19717. end;
  19718. function TUART1_U1STA.getUTXINV : TBits_1; inline;
  19719. begin
  19720. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  19721. end;
  19722. procedure TUART1_U1STA.setUTXISEL(thebits : TBits_2); inline;
  19723. begin
  19724. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19725. end;
  19726. function TUART1_U1STA.getUTXISEL : TBits_2; inline;
  19727. begin
  19728. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19729. end;
  19730. procedure TUART1_U1STA.setADDR(thebits : TBits_8); inline;
  19731. begin
  19732. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  19733. end;
  19734. function TUART1_U1STA.getADDR : TBits_8; inline;
  19735. begin
  19736. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  19737. end;
  19738. procedure TUART1_U1STA.setADM_EN; inline;
  19739. begin
  19740. pTDefRegMap(@Self)^.&set := $01000000;
  19741. end;
  19742. procedure TUART1_U1STA.clearADM_EN; inline;
  19743. begin
  19744. pTDefRegMap(@Self)^.clr := $01000000;
  19745. end;
  19746. procedure TUART1_U1STA.setADM_EN(thebits : TBits_1); inline;
  19747. begin
  19748. if thebits = 0 then
  19749. pTDefRegMap(@Self)^.clr := $01000000
  19750. else
  19751. pTDefRegMap(@Self)^.&set := $01000000;
  19752. end;
  19753. function TUART1_U1STA.getADM_EN : TBits_1; inline;
  19754. begin
  19755. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  19756. end;
  19757. procedure TUART1_U1STA.setURXISEL0; inline;
  19758. begin
  19759. pTDefRegMap(@Self)^.&set := $00000040;
  19760. end;
  19761. procedure TUART1_U1STA.clearURXISEL0; inline;
  19762. begin
  19763. pTDefRegMap(@Self)^.clr := $00000040;
  19764. end;
  19765. procedure TUART1_U1STA.setURXISEL0(thebits : TBits_1); inline;
  19766. begin
  19767. if thebits = 0 then
  19768. pTDefRegMap(@Self)^.clr := $00000040
  19769. else
  19770. pTDefRegMap(@Self)^.&set := $00000040;
  19771. end;
  19772. function TUART1_U1STA.getURXISEL0 : TBits_1; inline;
  19773. begin
  19774. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19775. end;
  19776. procedure TUART1_U1STA.setURXISEL1; inline;
  19777. begin
  19778. pTDefRegMap(@Self)^.&set := $00000080;
  19779. end;
  19780. procedure TUART1_U1STA.clearURXISEL1; inline;
  19781. begin
  19782. pTDefRegMap(@Self)^.clr := $00000080;
  19783. end;
  19784. procedure TUART1_U1STA.setURXISEL1(thebits : TBits_1); inline;
  19785. begin
  19786. if thebits = 0 then
  19787. pTDefRegMap(@Self)^.clr := $00000080
  19788. else
  19789. pTDefRegMap(@Self)^.&set := $00000080;
  19790. end;
  19791. function TUART1_U1STA.getURXISEL1 : TBits_1; inline;
  19792. begin
  19793. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19794. end;
  19795. procedure TUART1_U1STA.setUTXISEL0; inline;
  19796. begin
  19797. pTDefRegMap(@Self)^.&set := $00004000;
  19798. end;
  19799. procedure TUART1_U1STA.clearUTXISEL0; inline;
  19800. begin
  19801. pTDefRegMap(@Self)^.clr := $00004000;
  19802. end;
  19803. procedure TUART1_U1STA.setUTXISEL0(thebits : TBits_1); inline;
  19804. begin
  19805. if thebits = 0 then
  19806. pTDefRegMap(@Self)^.clr := $00004000
  19807. else
  19808. pTDefRegMap(@Self)^.&set := $00004000;
  19809. end;
  19810. function TUART1_U1STA.getUTXISEL0 : TBits_1; inline;
  19811. begin
  19812. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  19813. end;
  19814. procedure TUART1_U1STA.setUTXISEL1; inline;
  19815. begin
  19816. pTDefRegMap(@Self)^.&set := $00008000;
  19817. end;
  19818. procedure TUART1_U1STA.clearUTXISEL1; inline;
  19819. begin
  19820. pTDefRegMap(@Self)^.clr := $00008000;
  19821. end;
  19822. procedure TUART1_U1STA.setUTXISEL1(thebits : TBits_1); inline;
  19823. begin
  19824. if thebits = 0 then
  19825. pTDefRegMap(@Self)^.clr := $00008000
  19826. else
  19827. pTDefRegMap(@Self)^.&set := $00008000;
  19828. end;
  19829. function TUART1_U1STA.getUTXISEL1 : TBits_1; inline;
  19830. begin
  19831. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  19832. end;
  19833. procedure TUART1_U1STA.setUTXSEL(thebits : TBits_2); inline;
  19834. begin
  19835. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  19836. end;
  19837. function TUART1_U1STA.getUTXSEL : TBits_2; inline;
  19838. begin
  19839. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  19840. end;
  19841. procedure TUART1_U1STA.setw(thebits : TBits_32); inline;
  19842. begin
  19843. pTDefRegMap(@Self)^.val := thebits;
  19844. end;
  19845. function TUART1_U1STA.getw : TBits_32; inline;
  19846. begin
  19847. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  19848. end;
  19849. procedure TUART2_U2MODE.setSTSEL; inline;
  19850. begin
  19851. pTDefRegMap(@Self)^.&set := $00000001;
  19852. end;
  19853. procedure TUART2_U2MODE.clearSTSEL; inline;
  19854. begin
  19855. pTDefRegMap(@Self)^.clr := $00000001;
  19856. end;
  19857. procedure TUART2_U2MODE.setSTSEL(thebits : TBits_1); inline;
  19858. begin
  19859. if thebits = 0 then
  19860. pTDefRegMap(@Self)^.clr := $00000001
  19861. else
  19862. pTDefRegMap(@Self)^.&set := $00000001;
  19863. end;
  19864. function TUART2_U2MODE.getSTSEL : TBits_1; inline;
  19865. begin
  19866. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  19867. end;
  19868. procedure TUART2_U2MODE.setPDSEL(thebits : TBits_2); inline;
  19869. begin
  19870. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  19871. end;
  19872. function TUART2_U2MODE.getPDSEL : TBits_2; inline;
  19873. begin
  19874. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  19875. end;
  19876. procedure TUART2_U2MODE.setBRGH; inline;
  19877. begin
  19878. pTDefRegMap(@Self)^.&set := $00000008;
  19879. end;
  19880. procedure TUART2_U2MODE.clearBRGH; inline;
  19881. begin
  19882. pTDefRegMap(@Self)^.clr := $00000008;
  19883. end;
  19884. procedure TUART2_U2MODE.setBRGH(thebits : TBits_1); inline;
  19885. begin
  19886. if thebits = 0 then
  19887. pTDefRegMap(@Self)^.clr := $00000008
  19888. else
  19889. pTDefRegMap(@Self)^.&set := $00000008;
  19890. end;
  19891. function TUART2_U2MODE.getBRGH : TBits_1; inline;
  19892. begin
  19893. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  19894. end;
  19895. procedure TUART2_U2MODE.setRXINV; inline;
  19896. begin
  19897. pTDefRegMap(@Self)^.&set := $00000010;
  19898. end;
  19899. procedure TUART2_U2MODE.clearRXINV; inline;
  19900. begin
  19901. pTDefRegMap(@Self)^.clr := $00000010;
  19902. end;
  19903. procedure TUART2_U2MODE.setRXINV(thebits : TBits_1); inline;
  19904. begin
  19905. if thebits = 0 then
  19906. pTDefRegMap(@Self)^.clr := $00000010
  19907. else
  19908. pTDefRegMap(@Self)^.&set := $00000010;
  19909. end;
  19910. function TUART2_U2MODE.getRXINV : TBits_1; inline;
  19911. begin
  19912. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  19913. end;
  19914. procedure TUART2_U2MODE.setABAUD; inline;
  19915. begin
  19916. pTDefRegMap(@Self)^.&set := $00000020;
  19917. end;
  19918. procedure TUART2_U2MODE.clearABAUD; inline;
  19919. begin
  19920. pTDefRegMap(@Self)^.clr := $00000020;
  19921. end;
  19922. procedure TUART2_U2MODE.setABAUD(thebits : TBits_1); inline;
  19923. begin
  19924. if thebits = 0 then
  19925. pTDefRegMap(@Self)^.clr := $00000020
  19926. else
  19927. pTDefRegMap(@Self)^.&set := $00000020;
  19928. end;
  19929. function TUART2_U2MODE.getABAUD : TBits_1; inline;
  19930. begin
  19931. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  19932. end;
  19933. procedure TUART2_U2MODE.setLPBACK; inline;
  19934. begin
  19935. pTDefRegMap(@Self)^.&set := $00000040;
  19936. end;
  19937. procedure TUART2_U2MODE.clearLPBACK; inline;
  19938. begin
  19939. pTDefRegMap(@Self)^.clr := $00000040;
  19940. end;
  19941. procedure TUART2_U2MODE.setLPBACK(thebits : TBits_1); inline;
  19942. begin
  19943. if thebits = 0 then
  19944. pTDefRegMap(@Self)^.clr := $00000040
  19945. else
  19946. pTDefRegMap(@Self)^.&set := $00000040;
  19947. end;
  19948. function TUART2_U2MODE.getLPBACK : TBits_1; inline;
  19949. begin
  19950. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  19951. end;
  19952. procedure TUART2_U2MODE.setWAKE; inline;
  19953. begin
  19954. pTDefRegMap(@Self)^.&set := $00000080;
  19955. end;
  19956. procedure TUART2_U2MODE.clearWAKE; inline;
  19957. begin
  19958. pTDefRegMap(@Self)^.clr := $00000080;
  19959. end;
  19960. procedure TUART2_U2MODE.setWAKE(thebits : TBits_1); inline;
  19961. begin
  19962. if thebits = 0 then
  19963. pTDefRegMap(@Self)^.clr := $00000080
  19964. else
  19965. pTDefRegMap(@Self)^.&set := $00000080;
  19966. end;
  19967. function TUART2_U2MODE.getWAKE : TBits_1; inline;
  19968. begin
  19969. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  19970. end;
  19971. procedure TUART2_U2MODE.setUEN(thebits : TBits_2); inline;
  19972. begin
  19973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  19974. end;
  19975. function TUART2_U2MODE.getUEN : TBits_2; inline;
  19976. begin
  19977. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  19978. end;
  19979. procedure TUART2_U2MODE.setRTSMD; inline;
  19980. begin
  19981. pTDefRegMap(@Self)^.&set := $00000800;
  19982. end;
  19983. procedure TUART2_U2MODE.clearRTSMD; inline;
  19984. begin
  19985. pTDefRegMap(@Self)^.clr := $00000800;
  19986. end;
  19987. procedure TUART2_U2MODE.setRTSMD(thebits : TBits_1); inline;
  19988. begin
  19989. if thebits = 0 then
  19990. pTDefRegMap(@Self)^.clr := $00000800
  19991. else
  19992. pTDefRegMap(@Self)^.&set := $00000800;
  19993. end;
  19994. function TUART2_U2MODE.getRTSMD : TBits_1; inline;
  19995. begin
  19996. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  19997. end;
  19998. procedure TUART2_U2MODE.setIREN; inline;
  19999. begin
  20000. pTDefRegMap(@Self)^.&set := $00001000;
  20001. end;
  20002. procedure TUART2_U2MODE.clearIREN; inline;
  20003. begin
  20004. pTDefRegMap(@Self)^.clr := $00001000;
  20005. end;
  20006. procedure TUART2_U2MODE.setIREN(thebits : TBits_1); inline;
  20007. begin
  20008. if thebits = 0 then
  20009. pTDefRegMap(@Self)^.clr := $00001000
  20010. else
  20011. pTDefRegMap(@Self)^.&set := $00001000;
  20012. end;
  20013. function TUART2_U2MODE.getIREN : TBits_1; inline;
  20014. begin
  20015. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20016. end;
  20017. procedure TUART2_U2MODE.setSIDL; inline;
  20018. begin
  20019. pTDefRegMap(@Self)^.&set := $00002000;
  20020. end;
  20021. procedure TUART2_U2MODE.clearSIDL; inline;
  20022. begin
  20023. pTDefRegMap(@Self)^.clr := $00002000;
  20024. end;
  20025. procedure TUART2_U2MODE.setSIDL(thebits : TBits_1); inline;
  20026. begin
  20027. if thebits = 0 then
  20028. pTDefRegMap(@Self)^.clr := $00002000
  20029. else
  20030. pTDefRegMap(@Self)^.&set := $00002000;
  20031. end;
  20032. function TUART2_U2MODE.getSIDL : TBits_1; inline;
  20033. begin
  20034. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20035. end;
  20036. procedure TUART2_U2MODE.setON; inline;
  20037. begin
  20038. pTDefRegMap(@Self)^.&set := $00008000;
  20039. end;
  20040. procedure TUART2_U2MODE.clearON; inline;
  20041. begin
  20042. pTDefRegMap(@Self)^.clr := $00008000;
  20043. end;
  20044. procedure TUART2_U2MODE.setON(thebits : TBits_1); inline;
  20045. begin
  20046. if thebits = 0 then
  20047. pTDefRegMap(@Self)^.clr := $00008000
  20048. else
  20049. pTDefRegMap(@Self)^.&set := $00008000;
  20050. end;
  20051. function TUART2_U2MODE.getON : TBits_1; inline;
  20052. begin
  20053. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20054. end;
  20055. procedure TUART2_U2MODE.setPDSEL0; inline;
  20056. begin
  20057. pTDefRegMap(@Self)^.&set := $00000002;
  20058. end;
  20059. procedure TUART2_U2MODE.clearPDSEL0; inline;
  20060. begin
  20061. pTDefRegMap(@Self)^.clr := $00000002;
  20062. end;
  20063. procedure TUART2_U2MODE.setPDSEL0(thebits : TBits_1); inline;
  20064. begin
  20065. if thebits = 0 then
  20066. pTDefRegMap(@Self)^.clr := $00000002
  20067. else
  20068. pTDefRegMap(@Self)^.&set := $00000002;
  20069. end;
  20070. function TUART2_U2MODE.getPDSEL0 : TBits_1; inline;
  20071. begin
  20072. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20073. end;
  20074. procedure TUART2_U2MODE.setPDSEL1; inline;
  20075. begin
  20076. pTDefRegMap(@Self)^.&set := $00000004;
  20077. end;
  20078. procedure TUART2_U2MODE.clearPDSEL1; inline;
  20079. begin
  20080. pTDefRegMap(@Self)^.clr := $00000004;
  20081. end;
  20082. procedure TUART2_U2MODE.setPDSEL1(thebits : TBits_1); inline;
  20083. begin
  20084. if thebits = 0 then
  20085. pTDefRegMap(@Self)^.clr := $00000004
  20086. else
  20087. pTDefRegMap(@Self)^.&set := $00000004;
  20088. end;
  20089. function TUART2_U2MODE.getPDSEL1 : TBits_1; inline;
  20090. begin
  20091. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20092. end;
  20093. procedure TUART2_U2MODE.setUEN0; inline;
  20094. begin
  20095. pTDefRegMap(@Self)^.&set := $00000100;
  20096. end;
  20097. procedure TUART2_U2MODE.clearUEN0; inline;
  20098. begin
  20099. pTDefRegMap(@Self)^.clr := $00000100;
  20100. end;
  20101. procedure TUART2_U2MODE.setUEN0(thebits : TBits_1); inline;
  20102. begin
  20103. if thebits = 0 then
  20104. pTDefRegMap(@Self)^.clr := $00000100
  20105. else
  20106. pTDefRegMap(@Self)^.&set := $00000100;
  20107. end;
  20108. function TUART2_U2MODE.getUEN0 : TBits_1; inline;
  20109. begin
  20110. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20111. end;
  20112. procedure TUART2_U2MODE.setUEN1; inline;
  20113. begin
  20114. pTDefRegMap(@Self)^.&set := $00000200;
  20115. end;
  20116. procedure TUART2_U2MODE.clearUEN1; inline;
  20117. begin
  20118. pTDefRegMap(@Self)^.clr := $00000200;
  20119. end;
  20120. procedure TUART2_U2MODE.setUEN1(thebits : TBits_1); inline;
  20121. begin
  20122. if thebits = 0 then
  20123. pTDefRegMap(@Self)^.clr := $00000200
  20124. else
  20125. pTDefRegMap(@Self)^.&set := $00000200;
  20126. end;
  20127. function TUART2_U2MODE.getUEN1 : TBits_1; inline;
  20128. begin
  20129. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20130. end;
  20131. procedure TUART2_U2MODE.setUSIDL; inline;
  20132. begin
  20133. pTDefRegMap(@Self)^.&set := $00002000;
  20134. end;
  20135. procedure TUART2_U2MODE.clearUSIDL; inline;
  20136. begin
  20137. pTDefRegMap(@Self)^.clr := $00002000;
  20138. end;
  20139. procedure TUART2_U2MODE.setUSIDL(thebits : TBits_1); inline;
  20140. begin
  20141. if thebits = 0 then
  20142. pTDefRegMap(@Self)^.clr := $00002000
  20143. else
  20144. pTDefRegMap(@Self)^.&set := $00002000;
  20145. end;
  20146. function TUART2_U2MODE.getUSIDL : TBits_1; inline;
  20147. begin
  20148. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20149. end;
  20150. procedure TUART2_U2MODE.setUARTEN; inline;
  20151. begin
  20152. pTDefRegMap(@Self)^.&set := $00008000;
  20153. end;
  20154. procedure TUART2_U2MODE.clearUARTEN; inline;
  20155. begin
  20156. pTDefRegMap(@Self)^.clr := $00008000;
  20157. end;
  20158. procedure TUART2_U2MODE.setUARTEN(thebits : TBits_1); inline;
  20159. begin
  20160. if thebits = 0 then
  20161. pTDefRegMap(@Self)^.clr := $00008000
  20162. else
  20163. pTDefRegMap(@Self)^.&set := $00008000;
  20164. end;
  20165. function TUART2_U2MODE.getUARTEN : TBits_1; inline;
  20166. begin
  20167. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20168. end;
  20169. procedure TUART2_U2MODE.setw(thebits : TBits_32); inline;
  20170. begin
  20171. pTDefRegMap(@Self)^.val := thebits;
  20172. end;
  20173. function TUART2_U2MODE.getw : TBits_32; inline;
  20174. begin
  20175. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20176. end;
  20177. procedure TUART2_U3AMODE.setSTSEL; inline;
  20178. begin
  20179. pTDefRegMap(@Self)^.&set := $00000001;
  20180. end;
  20181. procedure TUART2_U3AMODE.clearSTSEL; inline;
  20182. begin
  20183. pTDefRegMap(@Self)^.clr := $00000001;
  20184. end;
  20185. procedure TUART2_U3AMODE.setSTSEL(thebits : TBits_1); inline;
  20186. begin
  20187. if thebits = 0 then
  20188. pTDefRegMap(@Self)^.clr := $00000001
  20189. else
  20190. pTDefRegMap(@Self)^.&set := $00000001;
  20191. end;
  20192. function TUART2_U3AMODE.getSTSEL : TBits_1; inline;
  20193. begin
  20194. getSTSEL := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20195. end;
  20196. procedure TUART2_U3AMODE.setPDSEL(thebits : TBits_2); inline;
  20197. begin
  20198. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF9 or ( thebits shl 1 );
  20199. end;
  20200. function TUART2_U3AMODE.getPDSEL : TBits_2; inline;
  20201. begin
  20202. getPDSEL := (pTDefRegMap(@Self)^.val and $00000006) shr 1;
  20203. end;
  20204. procedure TUART2_U3AMODE.setBRGH; inline;
  20205. begin
  20206. pTDefRegMap(@Self)^.&set := $00000008;
  20207. end;
  20208. procedure TUART2_U3AMODE.clearBRGH; inline;
  20209. begin
  20210. pTDefRegMap(@Self)^.clr := $00000008;
  20211. end;
  20212. procedure TUART2_U3AMODE.setBRGH(thebits : TBits_1); inline;
  20213. begin
  20214. if thebits = 0 then
  20215. pTDefRegMap(@Self)^.clr := $00000008
  20216. else
  20217. pTDefRegMap(@Self)^.&set := $00000008;
  20218. end;
  20219. function TUART2_U3AMODE.getBRGH : TBits_1; inline;
  20220. begin
  20221. getBRGH := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20222. end;
  20223. procedure TUART2_U3AMODE.setRXINV; inline;
  20224. begin
  20225. pTDefRegMap(@Self)^.&set := $00000010;
  20226. end;
  20227. procedure TUART2_U3AMODE.clearRXINV; inline;
  20228. begin
  20229. pTDefRegMap(@Self)^.clr := $00000010;
  20230. end;
  20231. procedure TUART2_U3AMODE.setRXINV(thebits : TBits_1); inline;
  20232. begin
  20233. if thebits = 0 then
  20234. pTDefRegMap(@Self)^.clr := $00000010
  20235. else
  20236. pTDefRegMap(@Self)^.&set := $00000010;
  20237. end;
  20238. function TUART2_U3AMODE.getRXINV : TBits_1; inline;
  20239. begin
  20240. getRXINV := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20241. end;
  20242. procedure TUART2_U3AMODE.setABAUD; inline;
  20243. begin
  20244. pTDefRegMap(@Self)^.&set := $00000020;
  20245. end;
  20246. procedure TUART2_U3AMODE.clearABAUD; inline;
  20247. begin
  20248. pTDefRegMap(@Self)^.clr := $00000020;
  20249. end;
  20250. procedure TUART2_U3AMODE.setABAUD(thebits : TBits_1); inline;
  20251. begin
  20252. if thebits = 0 then
  20253. pTDefRegMap(@Self)^.clr := $00000020
  20254. else
  20255. pTDefRegMap(@Self)^.&set := $00000020;
  20256. end;
  20257. function TUART2_U3AMODE.getABAUD : TBits_1; inline;
  20258. begin
  20259. getABAUD := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20260. end;
  20261. procedure TUART2_U3AMODE.setLPBACK; inline;
  20262. begin
  20263. pTDefRegMap(@Self)^.&set := $00000040;
  20264. end;
  20265. procedure TUART2_U3AMODE.clearLPBACK; inline;
  20266. begin
  20267. pTDefRegMap(@Self)^.clr := $00000040;
  20268. end;
  20269. procedure TUART2_U3AMODE.setLPBACK(thebits : TBits_1); inline;
  20270. begin
  20271. if thebits = 0 then
  20272. pTDefRegMap(@Self)^.clr := $00000040
  20273. else
  20274. pTDefRegMap(@Self)^.&set := $00000040;
  20275. end;
  20276. function TUART2_U3AMODE.getLPBACK : TBits_1; inline;
  20277. begin
  20278. getLPBACK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20279. end;
  20280. procedure TUART2_U3AMODE.setWAKE; inline;
  20281. begin
  20282. pTDefRegMap(@Self)^.&set := $00000080;
  20283. end;
  20284. procedure TUART2_U3AMODE.clearWAKE; inline;
  20285. begin
  20286. pTDefRegMap(@Self)^.clr := $00000080;
  20287. end;
  20288. procedure TUART2_U3AMODE.setWAKE(thebits : TBits_1); inline;
  20289. begin
  20290. if thebits = 0 then
  20291. pTDefRegMap(@Self)^.clr := $00000080
  20292. else
  20293. pTDefRegMap(@Self)^.&set := $00000080;
  20294. end;
  20295. function TUART2_U3AMODE.getWAKE : TBits_1; inline;
  20296. begin
  20297. getWAKE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20298. end;
  20299. procedure TUART2_U3AMODE.setUEN(thebits : TBits_2); inline;
  20300. begin
  20301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  20302. end;
  20303. function TUART2_U3AMODE.getUEN : TBits_2; inline;
  20304. begin
  20305. getUEN := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  20306. end;
  20307. procedure TUART2_U3AMODE.setRTSMD; inline;
  20308. begin
  20309. pTDefRegMap(@Self)^.&set := $00000800;
  20310. end;
  20311. procedure TUART2_U3AMODE.clearRTSMD; inline;
  20312. begin
  20313. pTDefRegMap(@Self)^.clr := $00000800;
  20314. end;
  20315. procedure TUART2_U3AMODE.setRTSMD(thebits : TBits_1); inline;
  20316. begin
  20317. if thebits = 0 then
  20318. pTDefRegMap(@Self)^.clr := $00000800
  20319. else
  20320. pTDefRegMap(@Self)^.&set := $00000800;
  20321. end;
  20322. function TUART2_U3AMODE.getRTSMD : TBits_1; inline;
  20323. begin
  20324. getRTSMD := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20325. end;
  20326. procedure TUART2_U3AMODE.setIREN; inline;
  20327. begin
  20328. pTDefRegMap(@Self)^.&set := $00001000;
  20329. end;
  20330. procedure TUART2_U3AMODE.clearIREN; inline;
  20331. begin
  20332. pTDefRegMap(@Self)^.clr := $00001000;
  20333. end;
  20334. procedure TUART2_U3AMODE.setIREN(thebits : TBits_1); inline;
  20335. begin
  20336. if thebits = 0 then
  20337. pTDefRegMap(@Self)^.clr := $00001000
  20338. else
  20339. pTDefRegMap(@Self)^.&set := $00001000;
  20340. end;
  20341. function TUART2_U3AMODE.getIREN : TBits_1; inline;
  20342. begin
  20343. getIREN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20344. end;
  20345. procedure TUART2_U3AMODE.setSIDL; inline;
  20346. begin
  20347. pTDefRegMap(@Self)^.&set := $00002000;
  20348. end;
  20349. procedure TUART2_U3AMODE.clearSIDL; inline;
  20350. begin
  20351. pTDefRegMap(@Self)^.clr := $00002000;
  20352. end;
  20353. procedure TUART2_U3AMODE.setSIDL(thebits : TBits_1); inline;
  20354. begin
  20355. if thebits = 0 then
  20356. pTDefRegMap(@Self)^.clr := $00002000
  20357. else
  20358. pTDefRegMap(@Self)^.&set := $00002000;
  20359. end;
  20360. function TUART2_U3AMODE.getSIDL : TBits_1; inline;
  20361. begin
  20362. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20363. end;
  20364. procedure TUART2_U3AMODE.setON; inline;
  20365. begin
  20366. pTDefRegMap(@Self)^.&set := $00008000;
  20367. end;
  20368. procedure TUART2_U3AMODE.clearON; inline;
  20369. begin
  20370. pTDefRegMap(@Self)^.clr := $00008000;
  20371. end;
  20372. procedure TUART2_U3AMODE.setON(thebits : TBits_1); inline;
  20373. begin
  20374. if thebits = 0 then
  20375. pTDefRegMap(@Self)^.clr := $00008000
  20376. else
  20377. pTDefRegMap(@Self)^.&set := $00008000;
  20378. end;
  20379. function TUART2_U3AMODE.getON : TBits_1; inline;
  20380. begin
  20381. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20382. end;
  20383. procedure TUART2_U3AMODE.setPDSEL0; inline;
  20384. begin
  20385. pTDefRegMap(@Self)^.&set := $00000002;
  20386. end;
  20387. procedure TUART2_U3AMODE.clearPDSEL0; inline;
  20388. begin
  20389. pTDefRegMap(@Self)^.clr := $00000002;
  20390. end;
  20391. procedure TUART2_U3AMODE.setPDSEL0(thebits : TBits_1); inline;
  20392. begin
  20393. if thebits = 0 then
  20394. pTDefRegMap(@Self)^.clr := $00000002
  20395. else
  20396. pTDefRegMap(@Self)^.&set := $00000002;
  20397. end;
  20398. function TUART2_U3AMODE.getPDSEL0 : TBits_1; inline;
  20399. begin
  20400. getPDSEL0 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20401. end;
  20402. procedure TUART2_U3AMODE.setPDSEL1; inline;
  20403. begin
  20404. pTDefRegMap(@Self)^.&set := $00000004;
  20405. end;
  20406. procedure TUART2_U3AMODE.clearPDSEL1; inline;
  20407. begin
  20408. pTDefRegMap(@Self)^.clr := $00000004;
  20409. end;
  20410. procedure TUART2_U3AMODE.setPDSEL1(thebits : TBits_1); inline;
  20411. begin
  20412. if thebits = 0 then
  20413. pTDefRegMap(@Self)^.clr := $00000004
  20414. else
  20415. pTDefRegMap(@Self)^.&set := $00000004;
  20416. end;
  20417. function TUART2_U3AMODE.getPDSEL1 : TBits_1; inline;
  20418. begin
  20419. getPDSEL1 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20420. end;
  20421. procedure TUART2_U3AMODE.setUEN0; inline;
  20422. begin
  20423. pTDefRegMap(@Self)^.&set := $00000100;
  20424. end;
  20425. procedure TUART2_U3AMODE.clearUEN0; inline;
  20426. begin
  20427. pTDefRegMap(@Self)^.clr := $00000100;
  20428. end;
  20429. procedure TUART2_U3AMODE.setUEN0(thebits : TBits_1); inline;
  20430. begin
  20431. if thebits = 0 then
  20432. pTDefRegMap(@Self)^.clr := $00000100
  20433. else
  20434. pTDefRegMap(@Self)^.&set := $00000100;
  20435. end;
  20436. function TUART2_U3AMODE.getUEN0 : TBits_1; inline;
  20437. begin
  20438. getUEN0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20439. end;
  20440. procedure TUART2_U3AMODE.setUEN1; inline;
  20441. begin
  20442. pTDefRegMap(@Self)^.&set := $00000200;
  20443. end;
  20444. procedure TUART2_U3AMODE.clearUEN1; inline;
  20445. begin
  20446. pTDefRegMap(@Self)^.clr := $00000200;
  20447. end;
  20448. procedure TUART2_U3AMODE.setUEN1(thebits : TBits_1); inline;
  20449. begin
  20450. if thebits = 0 then
  20451. pTDefRegMap(@Self)^.clr := $00000200
  20452. else
  20453. pTDefRegMap(@Self)^.&set := $00000200;
  20454. end;
  20455. function TUART2_U3AMODE.getUEN1 : TBits_1; inline;
  20456. begin
  20457. getUEN1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20458. end;
  20459. procedure TUART2_U3AMODE.setUSIDL; inline;
  20460. begin
  20461. pTDefRegMap(@Self)^.&set := $00002000;
  20462. end;
  20463. procedure TUART2_U3AMODE.clearUSIDL; inline;
  20464. begin
  20465. pTDefRegMap(@Self)^.clr := $00002000;
  20466. end;
  20467. procedure TUART2_U3AMODE.setUSIDL(thebits : TBits_1); inline;
  20468. begin
  20469. if thebits = 0 then
  20470. pTDefRegMap(@Self)^.clr := $00002000
  20471. else
  20472. pTDefRegMap(@Self)^.&set := $00002000;
  20473. end;
  20474. function TUART2_U3AMODE.getUSIDL : TBits_1; inline;
  20475. begin
  20476. getUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20477. end;
  20478. procedure TUART2_U3AMODE.setUARTEN; inline;
  20479. begin
  20480. pTDefRegMap(@Self)^.&set := $00008000;
  20481. end;
  20482. procedure TUART2_U3AMODE.clearUARTEN; inline;
  20483. begin
  20484. pTDefRegMap(@Self)^.clr := $00008000;
  20485. end;
  20486. procedure TUART2_U3AMODE.setUARTEN(thebits : TBits_1); inline;
  20487. begin
  20488. if thebits = 0 then
  20489. pTDefRegMap(@Self)^.clr := $00008000
  20490. else
  20491. pTDefRegMap(@Self)^.&set := $00008000;
  20492. end;
  20493. function TUART2_U3AMODE.getUARTEN : TBits_1; inline;
  20494. begin
  20495. getUARTEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20496. end;
  20497. procedure TUART2_U3AMODE.setw(thebits : TBits_32); inline;
  20498. begin
  20499. pTDefRegMap(@Self)^.val := thebits;
  20500. end;
  20501. function TUART2_U3AMODE.getw : TBits_32; inline;
  20502. begin
  20503. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20504. end;
  20505. procedure TUART2_U2STA.setURXDA; inline;
  20506. begin
  20507. pTDefRegMap(@Self)^.&set := $00000001;
  20508. end;
  20509. procedure TUART2_U2STA.clearURXDA; inline;
  20510. begin
  20511. pTDefRegMap(@Self)^.clr := $00000001;
  20512. end;
  20513. procedure TUART2_U2STA.setURXDA(thebits : TBits_1); inline;
  20514. begin
  20515. if thebits = 0 then
  20516. pTDefRegMap(@Self)^.clr := $00000001
  20517. else
  20518. pTDefRegMap(@Self)^.&set := $00000001;
  20519. end;
  20520. function TUART2_U2STA.getURXDA : TBits_1; inline;
  20521. begin
  20522. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20523. end;
  20524. procedure TUART2_U2STA.setOERR; inline;
  20525. begin
  20526. pTDefRegMap(@Self)^.&set := $00000002;
  20527. end;
  20528. procedure TUART2_U2STA.clearOERR; inline;
  20529. begin
  20530. pTDefRegMap(@Self)^.clr := $00000002;
  20531. end;
  20532. procedure TUART2_U2STA.setOERR(thebits : TBits_1); inline;
  20533. begin
  20534. if thebits = 0 then
  20535. pTDefRegMap(@Self)^.clr := $00000002
  20536. else
  20537. pTDefRegMap(@Self)^.&set := $00000002;
  20538. end;
  20539. function TUART2_U2STA.getOERR : TBits_1; inline;
  20540. begin
  20541. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20542. end;
  20543. procedure TUART2_U2STA.setFERR; inline;
  20544. begin
  20545. pTDefRegMap(@Self)^.&set := $00000004;
  20546. end;
  20547. procedure TUART2_U2STA.clearFERR; inline;
  20548. begin
  20549. pTDefRegMap(@Self)^.clr := $00000004;
  20550. end;
  20551. procedure TUART2_U2STA.setFERR(thebits : TBits_1); inline;
  20552. begin
  20553. if thebits = 0 then
  20554. pTDefRegMap(@Self)^.clr := $00000004
  20555. else
  20556. pTDefRegMap(@Self)^.&set := $00000004;
  20557. end;
  20558. function TUART2_U2STA.getFERR : TBits_1; inline;
  20559. begin
  20560. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20561. end;
  20562. procedure TUART2_U2STA.setPERR; inline;
  20563. begin
  20564. pTDefRegMap(@Self)^.&set := $00000008;
  20565. end;
  20566. procedure TUART2_U2STA.clearPERR; inline;
  20567. begin
  20568. pTDefRegMap(@Self)^.clr := $00000008;
  20569. end;
  20570. procedure TUART2_U2STA.setPERR(thebits : TBits_1); inline;
  20571. begin
  20572. if thebits = 0 then
  20573. pTDefRegMap(@Self)^.clr := $00000008
  20574. else
  20575. pTDefRegMap(@Self)^.&set := $00000008;
  20576. end;
  20577. function TUART2_U2STA.getPERR : TBits_1; inline;
  20578. begin
  20579. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20580. end;
  20581. procedure TUART2_U2STA.setRIDLE; inline;
  20582. begin
  20583. pTDefRegMap(@Self)^.&set := $00000010;
  20584. end;
  20585. procedure TUART2_U2STA.clearRIDLE; inline;
  20586. begin
  20587. pTDefRegMap(@Self)^.clr := $00000010;
  20588. end;
  20589. procedure TUART2_U2STA.setRIDLE(thebits : TBits_1); inline;
  20590. begin
  20591. if thebits = 0 then
  20592. pTDefRegMap(@Self)^.clr := $00000010
  20593. else
  20594. pTDefRegMap(@Self)^.&set := $00000010;
  20595. end;
  20596. function TUART2_U2STA.getRIDLE : TBits_1; inline;
  20597. begin
  20598. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20599. end;
  20600. procedure TUART2_U2STA.setADDEN; inline;
  20601. begin
  20602. pTDefRegMap(@Self)^.&set := $00000020;
  20603. end;
  20604. procedure TUART2_U2STA.clearADDEN; inline;
  20605. begin
  20606. pTDefRegMap(@Self)^.clr := $00000020;
  20607. end;
  20608. procedure TUART2_U2STA.setADDEN(thebits : TBits_1); inline;
  20609. begin
  20610. if thebits = 0 then
  20611. pTDefRegMap(@Self)^.clr := $00000020
  20612. else
  20613. pTDefRegMap(@Self)^.&set := $00000020;
  20614. end;
  20615. function TUART2_U2STA.getADDEN : TBits_1; inline;
  20616. begin
  20617. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20618. end;
  20619. procedure TUART2_U2STA.setURXISEL(thebits : TBits_2); inline;
  20620. begin
  20621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20622. end;
  20623. function TUART2_U2STA.getURXISEL : TBits_2; inline;
  20624. begin
  20625. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20626. end;
  20627. procedure TUART2_U2STA.setTRMT; inline;
  20628. begin
  20629. pTDefRegMap(@Self)^.&set := $00000100;
  20630. end;
  20631. procedure TUART2_U2STA.clearTRMT; inline;
  20632. begin
  20633. pTDefRegMap(@Self)^.clr := $00000100;
  20634. end;
  20635. procedure TUART2_U2STA.setTRMT(thebits : TBits_1); inline;
  20636. begin
  20637. if thebits = 0 then
  20638. pTDefRegMap(@Self)^.clr := $00000100
  20639. else
  20640. pTDefRegMap(@Self)^.&set := $00000100;
  20641. end;
  20642. function TUART2_U2STA.getTRMT : TBits_1; inline;
  20643. begin
  20644. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  20645. end;
  20646. procedure TUART2_U2STA.setUTXBF; inline;
  20647. begin
  20648. pTDefRegMap(@Self)^.&set := $00000200;
  20649. end;
  20650. procedure TUART2_U2STA.clearUTXBF; inline;
  20651. begin
  20652. pTDefRegMap(@Self)^.clr := $00000200;
  20653. end;
  20654. procedure TUART2_U2STA.setUTXBF(thebits : TBits_1); inline;
  20655. begin
  20656. if thebits = 0 then
  20657. pTDefRegMap(@Self)^.clr := $00000200
  20658. else
  20659. pTDefRegMap(@Self)^.&set := $00000200;
  20660. end;
  20661. function TUART2_U2STA.getUTXBF : TBits_1; inline;
  20662. begin
  20663. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  20664. end;
  20665. procedure TUART2_U2STA.setUTXEN; inline;
  20666. begin
  20667. pTDefRegMap(@Self)^.&set := $00000400;
  20668. end;
  20669. procedure TUART2_U2STA.clearUTXEN; inline;
  20670. begin
  20671. pTDefRegMap(@Self)^.clr := $00000400;
  20672. end;
  20673. procedure TUART2_U2STA.setUTXEN(thebits : TBits_1); inline;
  20674. begin
  20675. if thebits = 0 then
  20676. pTDefRegMap(@Self)^.clr := $00000400
  20677. else
  20678. pTDefRegMap(@Self)^.&set := $00000400;
  20679. end;
  20680. function TUART2_U2STA.getUTXEN : TBits_1; inline;
  20681. begin
  20682. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  20683. end;
  20684. procedure TUART2_U2STA.setUTXBRK; inline;
  20685. begin
  20686. pTDefRegMap(@Self)^.&set := $00000800;
  20687. end;
  20688. procedure TUART2_U2STA.clearUTXBRK; inline;
  20689. begin
  20690. pTDefRegMap(@Self)^.clr := $00000800;
  20691. end;
  20692. procedure TUART2_U2STA.setUTXBRK(thebits : TBits_1); inline;
  20693. begin
  20694. if thebits = 0 then
  20695. pTDefRegMap(@Self)^.clr := $00000800
  20696. else
  20697. pTDefRegMap(@Self)^.&set := $00000800;
  20698. end;
  20699. function TUART2_U2STA.getUTXBRK : TBits_1; inline;
  20700. begin
  20701. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  20702. end;
  20703. procedure TUART2_U2STA.setURXEN; inline;
  20704. begin
  20705. pTDefRegMap(@Self)^.&set := $00001000;
  20706. end;
  20707. procedure TUART2_U2STA.clearURXEN; inline;
  20708. begin
  20709. pTDefRegMap(@Self)^.clr := $00001000;
  20710. end;
  20711. procedure TUART2_U2STA.setURXEN(thebits : TBits_1); inline;
  20712. begin
  20713. if thebits = 0 then
  20714. pTDefRegMap(@Self)^.clr := $00001000
  20715. else
  20716. pTDefRegMap(@Self)^.&set := $00001000;
  20717. end;
  20718. function TUART2_U2STA.getURXEN : TBits_1; inline;
  20719. begin
  20720. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  20721. end;
  20722. procedure TUART2_U2STA.setUTXINV; inline;
  20723. begin
  20724. pTDefRegMap(@Self)^.&set := $00002000;
  20725. end;
  20726. procedure TUART2_U2STA.clearUTXINV; inline;
  20727. begin
  20728. pTDefRegMap(@Self)^.clr := $00002000;
  20729. end;
  20730. procedure TUART2_U2STA.setUTXINV(thebits : TBits_1); inline;
  20731. begin
  20732. if thebits = 0 then
  20733. pTDefRegMap(@Self)^.clr := $00002000
  20734. else
  20735. pTDefRegMap(@Self)^.&set := $00002000;
  20736. end;
  20737. function TUART2_U2STA.getUTXINV : TBits_1; inline;
  20738. begin
  20739. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  20740. end;
  20741. procedure TUART2_U2STA.setUTXISEL(thebits : TBits_2); inline;
  20742. begin
  20743. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20744. end;
  20745. function TUART2_U2STA.getUTXISEL : TBits_2; inline;
  20746. begin
  20747. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20748. end;
  20749. procedure TUART2_U2STA.setADDR(thebits : TBits_8); inline;
  20750. begin
  20751. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  20752. end;
  20753. function TUART2_U2STA.getADDR : TBits_8; inline;
  20754. begin
  20755. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  20756. end;
  20757. procedure TUART2_U2STA.setADM_EN; inline;
  20758. begin
  20759. pTDefRegMap(@Self)^.&set := $01000000;
  20760. end;
  20761. procedure TUART2_U2STA.clearADM_EN; inline;
  20762. begin
  20763. pTDefRegMap(@Self)^.clr := $01000000;
  20764. end;
  20765. procedure TUART2_U2STA.setADM_EN(thebits : TBits_1); inline;
  20766. begin
  20767. if thebits = 0 then
  20768. pTDefRegMap(@Self)^.clr := $01000000
  20769. else
  20770. pTDefRegMap(@Self)^.&set := $01000000;
  20771. end;
  20772. function TUART2_U2STA.getADM_EN : TBits_1; inline;
  20773. begin
  20774. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  20775. end;
  20776. procedure TUART2_U2STA.setURXISEL0; inline;
  20777. begin
  20778. pTDefRegMap(@Self)^.&set := $00000040;
  20779. end;
  20780. procedure TUART2_U2STA.clearURXISEL0; inline;
  20781. begin
  20782. pTDefRegMap(@Self)^.clr := $00000040;
  20783. end;
  20784. procedure TUART2_U2STA.setURXISEL0(thebits : TBits_1); inline;
  20785. begin
  20786. if thebits = 0 then
  20787. pTDefRegMap(@Self)^.clr := $00000040
  20788. else
  20789. pTDefRegMap(@Self)^.&set := $00000040;
  20790. end;
  20791. function TUART2_U2STA.getURXISEL0 : TBits_1; inline;
  20792. begin
  20793. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  20794. end;
  20795. procedure TUART2_U2STA.setURXISEL1; inline;
  20796. begin
  20797. pTDefRegMap(@Self)^.&set := $00000080;
  20798. end;
  20799. procedure TUART2_U2STA.clearURXISEL1; inline;
  20800. begin
  20801. pTDefRegMap(@Self)^.clr := $00000080;
  20802. end;
  20803. procedure TUART2_U2STA.setURXISEL1(thebits : TBits_1); inline;
  20804. begin
  20805. if thebits = 0 then
  20806. pTDefRegMap(@Self)^.clr := $00000080
  20807. else
  20808. pTDefRegMap(@Self)^.&set := $00000080;
  20809. end;
  20810. function TUART2_U2STA.getURXISEL1 : TBits_1; inline;
  20811. begin
  20812. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  20813. end;
  20814. procedure TUART2_U2STA.setUTXISEL0; inline;
  20815. begin
  20816. pTDefRegMap(@Self)^.&set := $00004000;
  20817. end;
  20818. procedure TUART2_U2STA.clearUTXISEL0; inline;
  20819. begin
  20820. pTDefRegMap(@Self)^.clr := $00004000;
  20821. end;
  20822. procedure TUART2_U2STA.setUTXISEL0(thebits : TBits_1); inline;
  20823. begin
  20824. if thebits = 0 then
  20825. pTDefRegMap(@Self)^.clr := $00004000
  20826. else
  20827. pTDefRegMap(@Self)^.&set := $00004000;
  20828. end;
  20829. function TUART2_U2STA.getUTXISEL0 : TBits_1; inline;
  20830. begin
  20831. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  20832. end;
  20833. procedure TUART2_U2STA.setUTXISEL1; inline;
  20834. begin
  20835. pTDefRegMap(@Self)^.&set := $00008000;
  20836. end;
  20837. procedure TUART2_U2STA.clearUTXISEL1; inline;
  20838. begin
  20839. pTDefRegMap(@Self)^.clr := $00008000;
  20840. end;
  20841. procedure TUART2_U2STA.setUTXISEL1(thebits : TBits_1); inline;
  20842. begin
  20843. if thebits = 0 then
  20844. pTDefRegMap(@Self)^.clr := $00008000
  20845. else
  20846. pTDefRegMap(@Self)^.&set := $00008000;
  20847. end;
  20848. function TUART2_U2STA.getUTXISEL1 : TBits_1; inline;
  20849. begin
  20850. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  20851. end;
  20852. procedure TUART2_U2STA.setUTXSEL(thebits : TBits_2); inline;
  20853. begin
  20854. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  20855. end;
  20856. function TUART2_U2STA.getUTXSEL : TBits_2; inline;
  20857. begin
  20858. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  20859. end;
  20860. procedure TUART2_U2STA.setw(thebits : TBits_32); inline;
  20861. begin
  20862. pTDefRegMap(@Self)^.val := thebits;
  20863. end;
  20864. function TUART2_U2STA.getw : TBits_32; inline;
  20865. begin
  20866. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  20867. end;
  20868. procedure TUART2_U3ASTA.setURXDA; inline;
  20869. begin
  20870. pTDefRegMap(@Self)^.&set := $00000001;
  20871. end;
  20872. procedure TUART2_U3ASTA.clearURXDA; inline;
  20873. begin
  20874. pTDefRegMap(@Self)^.clr := $00000001;
  20875. end;
  20876. procedure TUART2_U3ASTA.setURXDA(thebits : TBits_1); inline;
  20877. begin
  20878. if thebits = 0 then
  20879. pTDefRegMap(@Self)^.clr := $00000001
  20880. else
  20881. pTDefRegMap(@Self)^.&set := $00000001;
  20882. end;
  20883. function TUART2_U3ASTA.getURXDA : TBits_1; inline;
  20884. begin
  20885. getURXDA := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  20886. end;
  20887. procedure TUART2_U3ASTA.setOERR; inline;
  20888. begin
  20889. pTDefRegMap(@Self)^.&set := $00000002;
  20890. end;
  20891. procedure TUART2_U3ASTA.clearOERR; inline;
  20892. begin
  20893. pTDefRegMap(@Self)^.clr := $00000002;
  20894. end;
  20895. procedure TUART2_U3ASTA.setOERR(thebits : TBits_1); inline;
  20896. begin
  20897. if thebits = 0 then
  20898. pTDefRegMap(@Self)^.clr := $00000002
  20899. else
  20900. pTDefRegMap(@Self)^.&set := $00000002;
  20901. end;
  20902. function TUART2_U3ASTA.getOERR : TBits_1; inline;
  20903. begin
  20904. getOERR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  20905. end;
  20906. procedure TUART2_U3ASTA.setFERR; inline;
  20907. begin
  20908. pTDefRegMap(@Self)^.&set := $00000004;
  20909. end;
  20910. procedure TUART2_U3ASTA.clearFERR; inline;
  20911. begin
  20912. pTDefRegMap(@Self)^.clr := $00000004;
  20913. end;
  20914. procedure TUART2_U3ASTA.setFERR(thebits : TBits_1); inline;
  20915. begin
  20916. if thebits = 0 then
  20917. pTDefRegMap(@Self)^.clr := $00000004
  20918. else
  20919. pTDefRegMap(@Self)^.&set := $00000004;
  20920. end;
  20921. function TUART2_U3ASTA.getFERR : TBits_1; inline;
  20922. begin
  20923. getFERR := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  20924. end;
  20925. procedure TUART2_U3ASTA.setPERR; inline;
  20926. begin
  20927. pTDefRegMap(@Self)^.&set := $00000008;
  20928. end;
  20929. procedure TUART2_U3ASTA.clearPERR; inline;
  20930. begin
  20931. pTDefRegMap(@Self)^.clr := $00000008;
  20932. end;
  20933. procedure TUART2_U3ASTA.setPERR(thebits : TBits_1); inline;
  20934. begin
  20935. if thebits = 0 then
  20936. pTDefRegMap(@Self)^.clr := $00000008
  20937. else
  20938. pTDefRegMap(@Self)^.&set := $00000008;
  20939. end;
  20940. function TUART2_U3ASTA.getPERR : TBits_1; inline;
  20941. begin
  20942. getPERR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  20943. end;
  20944. procedure TUART2_U3ASTA.setRIDLE; inline;
  20945. begin
  20946. pTDefRegMap(@Self)^.&set := $00000010;
  20947. end;
  20948. procedure TUART2_U3ASTA.clearRIDLE; inline;
  20949. begin
  20950. pTDefRegMap(@Self)^.clr := $00000010;
  20951. end;
  20952. procedure TUART2_U3ASTA.setRIDLE(thebits : TBits_1); inline;
  20953. begin
  20954. if thebits = 0 then
  20955. pTDefRegMap(@Self)^.clr := $00000010
  20956. else
  20957. pTDefRegMap(@Self)^.&set := $00000010;
  20958. end;
  20959. function TUART2_U3ASTA.getRIDLE : TBits_1; inline;
  20960. begin
  20961. getRIDLE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  20962. end;
  20963. procedure TUART2_U3ASTA.setADDEN; inline;
  20964. begin
  20965. pTDefRegMap(@Self)^.&set := $00000020;
  20966. end;
  20967. procedure TUART2_U3ASTA.clearADDEN; inline;
  20968. begin
  20969. pTDefRegMap(@Self)^.clr := $00000020;
  20970. end;
  20971. procedure TUART2_U3ASTA.setADDEN(thebits : TBits_1); inline;
  20972. begin
  20973. if thebits = 0 then
  20974. pTDefRegMap(@Self)^.clr := $00000020
  20975. else
  20976. pTDefRegMap(@Self)^.&set := $00000020;
  20977. end;
  20978. function TUART2_U3ASTA.getADDEN : TBits_1; inline;
  20979. begin
  20980. getADDEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  20981. end;
  20982. procedure TUART2_U3ASTA.setURXISEL(thebits : TBits_2); inline;
  20983. begin
  20984. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  20985. end;
  20986. function TUART2_U3ASTA.getURXISEL : TBits_2; inline;
  20987. begin
  20988. getURXISEL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  20989. end;
  20990. procedure TUART2_U3ASTA.setTRMT; inline;
  20991. begin
  20992. pTDefRegMap(@Self)^.&set := $00000100;
  20993. end;
  20994. procedure TUART2_U3ASTA.clearTRMT; inline;
  20995. begin
  20996. pTDefRegMap(@Self)^.clr := $00000100;
  20997. end;
  20998. procedure TUART2_U3ASTA.setTRMT(thebits : TBits_1); inline;
  20999. begin
  21000. if thebits = 0 then
  21001. pTDefRegMap(@Self)^.clr := $00000100
  21002. else
  21003. pTDefRegMap(@Self)^.&set := $00000100;
  21004. end;
  21005. function TUART2_U3ASTA.getTRMT : TBits_1; inline;
  21006. begin
  21007. getTRMT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21008. end;
  21009. procedure TUART2_U3ASTA.setUTXBF; inline;
  21010. begin
  21011. pTDefRegMap(@Self)^.&set := $00000200;
  21012. end;
  21013. procedure TUART2_U3ASTA.clearUTXBF; inline;
  21014. begin
  21015. pTDefRegMap(@Self)^.clr := $00000200;
  21016. end;
  21017. procedure TUART2_U3ASTA.setUTXBF(thebits : TBits_1); inline;
  21018. begin
  21019. if thebits = 0 then
  21020. pTDefRegMap(@Self)^.clr := $00000200
  21021. else
  21022. pTDefRegMap(@Self)^.&set := $00000200;
  21023. end;
  21024. function TUART2_U3ASTA.getUTXBF : TBits_1; inline;
  21025. begin
  21026. getUTXBF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21027. end;
  21028. procedure TUART2_U3ASTA.setUTXEN; inline;
  21029. begin
  21030. pTDefRegMap(@Self)^.&set := $00000400;
  21031. end;
  21032. procedure TUART2_U3ASTA.clearUTXEN; inline;
  21033. begin
  21034. pTDefRegMap(@Self)^.clr := $00000400;
  21035. end;
  21036. procedure TUART2_U3ASTA.setUTXEN(thebits : TBits_1); inline;
  21037. begin
  21038. if thebits = 0 then
  21039. pTDefRegMap(@Self)^.clr := $00000400
  21040. else
  21041. pTDefRegMap(@Self)^.&set := $00000400;
  21042. end;
  21043. function TUART2_U3ASTA.getUTXEN : TBits_1; inline;
  21044. begin
  21045. getUTXEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21046. end;
  21047. procedure TUART2_U3ASTA.setUTXBRK; inline;
  21048. begin
  21049. pTDefRegMap(@Self)^.&set := $00000800;
  21050. end;
  21051. procedure TUART2_U3ASTA.clearUTXBRK; inline;
  21052. begin
  21053. pTDefRegMap(@Self)^.clr := $00000800;
  21054. end;
  21055. procedure TUART2_U3ASTA.setUTXBRK(thebits : TBits_1); inline;
  21056. begin
  21057. if thebits = 0 then
  21058. pTDefRegMap(@Self)^.clr := $00000800
  21059. else
  21060. pTDefRegMap(@Self)^.&set := $00000800;
  21061. end;
  21062. function TUART2_U3ASTA.getUTXBRK : TBits_1; inline;
  21063. begin
  21064. getUTXBRK := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21065. end;
  21066. procedure TUART2_U3ASTA.setURXEN; inline;
  21067. begin
  21068. pTDefRegMap(@Self)^.&set := $00001000;
  21069. end;
  21070. procedure TUART2_U3ASTA.clearURXEN; inline;
  21071. begin
  21072. pTDefRegMap(@Self)^.clr := $00001000;
  21073. end;
  21074. procedure TUART2_U3ASTA.setURXEN(thebits : TBits_1); inline;
  21075. begin
  21076. if thebits = 0 then
  21077. pTDefRegMap(@Self)^.clr := $00001000
  21078. else
  21079. pTDefRegMap(@Self)^.&set := $00001000;
  21080. end;
  21081. function TUART2_U3ASTA.getURXEN : TBits_1; inline;
  21082. begin
  21083. getURXEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21084. end;
  21085. procedure TUART2_U3ASTA.setUTXINV; inline;
  21086. begin
  21087. pTDefRegMap(@Self)^.&set := $00002000;
  21088. end;
  21089. procedure TUART2_U3ASTA.clearUTXINV; inline;
  21090. begin
  21091. pTDefRegMap(@Self)^.clr := $00002000;
  21092. end;
  21093. procedure TUART2_U3ASTA.setUTXINV(thebits : TBits_1); inline;
  21094. begin
  21095. if thebits = 0 then
  21096. pTDefRegMap(@Self)^.clr := $00002000
  21097. else
  21098. pTDefRegMap(@Self)^.&set := $00002000;
  21099. end;
  21100. function TUART2_U3ASTA.getUTXINV : TBits_1; inline;
  21101. begin
  21102. getUTXINV := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21103. end;
  21104. procedure TUART2_U3ASTA.setUTXISEL(thebits : TBits_2); inline;
  21105. begin
  21106. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21107. end;
  21108. function TUART2_U3ASTA.getUTXISEL : TBits_2; inline;
  21109. begin
  21110. getUTXISEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21111. end;
  21112. procedure TUART2_U3ASTA.setADDR(thebits : TBits_8); inline;
  21113. begin
  21114. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  21115. end;
  21116. function TUART2_U3ASTA.getADDR : TBits_8; inline;
  21117. begin
  21118. getADDR := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  21119. end;
  21120. procedure TUART2_U3ASTA.setADM_EN; inline;
  21121. begin
  21122. pTDefRegMap(@Self)^.&set := $01000000;
  21123. end;
  21124. procedure TUART2_U3ASTA.clearADM_EN; inline;
  21125. begin
  21126. pTDefRegMap(@Self)^.clr := $01000000;
  21127. end;
  21128. procedure TUART2_U3ASTA.setADM_EN(thebits : TBits_1); inline;
  21129. begin
  21130. if thebits = 0 then
  21131. pTDefRegMap(@Self)^.clr := $01000000
  21132. else
  21133. pTDefRegMap(@Self)^.&set := $01000000;
  21134. end;
  21135. function TUART2_U3ASTA.getADM_EN : TBits_1; inline;
  21136. begin
  21137. getADM_EN := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  21138. end;
  21139. procedure TUART2_U3ASTA.setURXISEL0; inline;
  21140. begin
  21141. pTDefRegMap(@Self)^.&set := $00000040;
  21142. end;
  21143. procedure TUART2_U3ASTA.clearURXISEL0; inline;
  21144. begin
  21145. pTDefRegMap(@Self)^.clr := $00000040;
  21146. end;
  21147. procedure TUART2_U3ASTA.setURXISEL0(thebits : TBits_1); inline;
  21148. begin
  21149. if thebits = 0 then
  21150. pTDefRegMap(@Self)^.clr := $00000040
  21151. else
  21152. pTDefRegMap(@Self)^.&set := $00000040;
  21153. end;
  21154. function TUART2_U3ASTA.getURXISEL0 : TBits_1; inline;
  21155. begin
  21156. getURXISEL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21157. end;
  21158. procedure TUART2_U3ASTA.setURXISEL1; inline;
  21159. begin
  21160. pTDefRegMap(@Self)^.&set := $00000080;
  21161. end;
  21162. procedure TUART2_U3ASTA.clearURXISEL1; inline;
  21163. begin
  21164. pTDefRegMap(@Self)^.clr := $00000080;
  21165. end;
  21166. procedure TUART2_U3ASTA.setURXISEL1(thebits : TBits_1); inline;
  21167. begin
  21168. if thebits = 0 then
  21169. pTDefRegMap(@Self)^.clr := $00000080
  21170. else
  21171. pTDefRegMap(@Self)^.&set := $00000080;
  21172. end;
  21173. function TUART2_U3ASTA.getURXISEL1 : TBits_1; inline;
  21174. begin
  21175. getURXISEL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21176. end;
  21177. procedure TUART2_U3ASTA.setUTXISEL0; inline;
  21178. begin
  21179. pTDefRegMap(@Self)^.&set := $00004000;
  21180. end;
  21181. procedure TUART2_U3ASTA.clearUTXISEL0; inline;
  21182. begin
  21183. pTDefRegMap(@Self)^.clr := $00004000;
  21184. end;
  21185. procedure TUART2_U3ASTA.setUTXISEL0(thebits : TBits_1); inline;
  21186. begin
  21187. if thebits = 0 then
  21188. pTDefRegMap(@Self)^.clr := $00004000
  21189. else
  21190. pTDefRegMap(@Self)^.&set := $00004000;
  21191. end;
  21192. function TUART2_U3ASTA.getUTXISEL0 : TBits_1; inline;
  21193. begin
  21194. getUTXISEL0 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21195. end;
  21196. procedure TUART2_U3ASTA.setUTXISEL1; inline;
  21197. begin
  21198. pTDefRegMap(@Self)^.&set := $00008000;
  21199. end;
  21200. procedure TUART2_U3ASTA.clearUTXISEL1; inline;
  21201. begin
  21202. pTDefRegMap(@Self)^.clr := $00008000;
  21203. end;
  21204. procedure TUART2_U3ASTA.setUTXISEL1(thebits : TBits_1); inline;
  21205. begin
  21206. if thebits = 0 then
  21207. pTDefRegMap(@Self)^.clr := $00008000
  21208. else
  21209. pTDefRegMap(@Self)^.&set := $00008000;
  21210. end;
  21211. function TUART2_U3ASTA.getUTXISEL1 : TBits_1; inline;
  21212. begin
  21213. getUTXISEL1 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21214. end;
  21215. procedure TUART2_U3ASTA.setUTXSEL(thebits : TBits_2); inline;
  21216. begin
  21217. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21218. end;
  21219. function TUART2_U3ASTA.getUTXSEL : TBits_2; inline;
  21220. begin
  21221. getUTXSEL := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21222. end;
  21223. procedure TUART2_U3ASTA.setw(thebits : TBits_32); inline;
  21224. begin
  21225. pTDefRegMap(@Self)^.val := thebits;
  21226. end;
  21227. function TUART2_U3ASTA.getw : TBits_32; inline;
  21228. begin
  21229. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21230. end;
  21231. procedure TPMP_PMCON.setRDSP; inline;
  21232. begin
  21233. pTDefRegMap(@Self)^.&set := $00000001;
  21234. end;
  21235. procedure TPMP_PMCON.clearRDSP; inline;
  21236. begin
  21237. pTDefRegMap(@Self)^.clr := $00000001;
  21238. end;
  21239. procedure TPMP_PMCON.setRDSP(thebits : TBits_1); inline;
  21240. begin
  21241. if thebits = 0 then
  21242. pTDefRegMap(@Self)^.clr := $00000001
  21243. else
  21244. pTDefRegMap(@Self)^.&set := $00000001;
  21245. end;
  21246. function TPMP_PMCON.getRDSP : TBits_1; inline;
  21247. begin
  21248. getRDSP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21249. end;
  21250. procedure TPMP_PMCON.setWRSP; inline;
  21251. begin
  21252. pTDefRegMap(@Self)^.&set := $00000002;
  21253. end;
  21254. procedure TPMP_PMCON.clearWRSP; inline;
  21255. begin
  21256. pTDefRegMap(@Self)^.clr := $00000002;
  21257. end;
  21258. procedure TPMP_PMCON.setWRSP(thebits : TBits_1); inline;
  21259. begin
  21260. if thebits = 0 then
  21261. pTDefRegMap(@Self)^.clr := $00000002
  21262. else
  21263. pTDefRegMap(@Self)^.&set := $00000002;
  21264. end;
  21265. function TPMP_PMCON.getWRSP : TBits_1; inline;
  21266. begin
  21267. getWRSP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21268. end;
  21269. procedure TPMP_PMCON.setCS1P; inline;
  21270. begin
  21271. pTDefRegMap(@Self)^.&set := $00000008;
  21272. end;
  21273. procedure TPMP_PMCON.clearCS1P; inline;
  21274. begin
  21275. pTDefRegMap(@Self)^.clr := $00000008;
  21276. end;
  21277. procedure TPMP_PMCON.setCS1P(thebits : TBits_1); inline;
  21278. begin
  21279. if thebits = 0 then
  21280. pTDefRegMap(@Self)^.clr := $00000008
  21281. else
  21282. pTDefRegMap(@Self)^.&set := $00000008;
  21283. end;
  21284. function TPMP_PMCON.getCS1P : TBits_1; inline;
  21285. begin
  21286. getCS1P := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21287. end;
  21288. procedure TPMP_PMCON.setALP; inline;
  21289. begin
  21290. pTDefRegMap(@Self)^.&set := $00000020;
  21291. end;
  21292. procedure TPMP_PMCON.clearALP; inline;
  21293. begin
  21294. pTDefRegMap(@Self)^.clr := $00000020;
  21295. end;
  21296. procedure TPMP_PMCON.setALP(thebits : TBits_1); inline;
  21297. begin
  21298. if thebits = 0 then
  21299. pTDefRegMap(@Self)^.clr := $00000020
  21300. else
  21301. pTDefRegMap(@Self)^.&set := $00000020;
  21302. end;
  21303. function TPMP_PMCON.getALP : TBits_1; inline;
  21304. begin
  21305. getALP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21306. end;
  21307. procedure TPMP_PMCON.setCSF(thebits : TBits_2); inline;
  21308. begin
  21309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21310. end;
  21311. function TPMP_PMCON.getCSF : TBits_2; inline;
  21312. begin
  21313. getCSF := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21314. end;
  21315. procedure TPMP_PMCON.setPTRDEN; inline;
  21316. begin
  21317. pTDefRegMap(@Self)^.&set := $00000100;
  21318. end;
  21319. procedure TPMP_PMCON.clearPTRDEN; inline;
  21320. begin
  21321. pTDefRegMap(@Self)^.clr := $00000100;
  21322. end;
  21323. procedure TPMP_PMCON.setPTRDEN(thebits : TBits_1); inline;
  21324. begin
  21325. if thebits = 0 then
  21326. pTDefRegMap(@Self)^.clr := $00000100
  21327. else
  21328. pTDefRegMap(@Self)^.&set := $00000100;
  21329. end;
  21330. function TPMP_PMCON.getPTRDEN : TBits_1; inline;
  21331. begin
  21332. getPTRDEN := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21333. end;
  21334. procedure TPMP_PMCON.setPTWREN; inline;
  21335. begin
  21336. pTDefRegMap(@Self)^.&set := $00000200;
  21337. end;
  21338. procedure TPMP_PMCON.clearPTWREN; inline;
  21339. begin
  21340. pTDefRegMap(@Self)^.clr := $00000200;
  21341. end;
  21342. procedure TPMP_PMCON.setPTWREN(thebits : TBits_1); inline;
  21343. begin
  21344. if thebits = 0 then
  21345. pTDefRegMap(@Self)^.clr := $00000200
  21346. else
  21347. pTDefRegMap(@Self)^.&set := $00000200;
  21348. end;
  21349. function TPMP_PMCON.getPTWREN : TBits_1; inline;
  21350. begin
  21351. getPTWREN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21352. end;
  21353. procedure TPMP_PMCON.setPMPTTL; inline;
  21354. begin
  21355. pTDefRegMap(@Self)^.&set := $00000400;
  21356. end;
  21357. procedure TPMP_PMCON.clearPMPTTL; inline;
  21358. begin
  21359. pTDefRegMap(@Self)^.clr := $00000400;
  21360. end;
  21361. procedure TPMP_PMCON.setPMPTTL(thebits : TBits_1); inline;
  21362. begin
  21363. if thebits = 0 then
  21364. pTDefRegMap(@Self)^.clr := $00000400
  21365. else
  21366. pTDefRegMap(@Self)^.&set := $00000400;
  21367. end;
  21368. function TPMP_PMCON.getPMPTTL : TBits_1; inline;
  21369. begin
  21370. getPMPTTL := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  21371. end;
  21372. procedure TPMP_PMCON.setADRMUX(thebits : TBits_2); inline;
  21373. begin
  21374. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21375. end;
  21376. function TPMP_PMCON.getADRMUX : TBits_2; inline;
  21377. begin
  21378. getADRMUX := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21379. end;
  21380. procedure TPMP_PMCON.setSIDL; inline;
  21381. begin
  21382. pTDefRegMap(@Self)^.&set := $00002000;
  21383. end;
  21384. procedure TPMP_PMCON.clearSIDL; inline;
  21385. begin
  21386. pTDefRegMap(@Self)^.clr := $00002000;
  21387. end;
  21388. procedure TPMP_PMCON.setSIDL(thebits : TBits_1); inline;
  21389. begin
  21390. if thebits = 0 then
  21391. pTDefRegMap(@Self)^.clr := $00002000
  21392. else
  21393. pTDefRegMap(@Self)^.&set := $00002000;
  21394. end;
  21395. function TPMP_PMCON.getSIDL : TBits_1; inline;
  21396. begin
  21397. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21398. end;
  21399. procedure TPMP_PMCON.setON; inline;
  21400. begin
  21401. pTDefRegMap(@Self)^.&set := $00008000;
  21402. end;
  21403. procedure TPMP_PMCON.clearON; inline;
  21404. begin
  21405. pTDefRegMap(@Self)^.clr := $00008000;
  21406. end;
  21407. procedure TPMP_PMCON.setON(thebits : TBits_1); inline;
  21408. begin
  21409. if thebits = 0 then
  21410. pTDefRegMap(@Self)^.clr := $00008000
  21411. else
  21412. pTDefRegMap(@Self)^.&set := $00008000;
  21413. end;
  21414. function TPMP_PMCON.getON : TBits_1; inline;
  21415. begin
  21416. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21417. end;
  21418. procedure TPMP_PMCON.setCSF0; inline;
  21419. begin
  21420. pTDefRegMap(@Self)^.&set := $00000040;
  21421. end;
  21422. procedure TPMP_PMCON.clearCSF0; inline;
  21423. begin
  21424. pTDefRegMap(@Self)^.clr := $00000040;
  21425. end;
  21426. procedure TPMP_PMCON.setCSF0(thebits : TBits_1); inline;
  21427. begin
  21428. if thebits = 0 then
  21429. pTDefRegMap(@Self)^.clr := $00000040
  21430. else
  21431. pTDefRegMap(@Self)^.&set := $00000040;
  21432. end;
  21433. function TPMP_PMCON.getCSF0 : TBits_1; inline;
  21434. begin
  21435. getCSF0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21436. end;
  21437. procedure TPMP_PMCON.setCSF1; inline;
  21438. begin
  21439. pTDefRegMap(@Self)^.&set := $00000080;
  21440. end;
  21441. procedure TPMP_PMCON.clearCSF1; inline;
  21442. begin
  21443. pTDefRegMap(@Self)^.clr := $00000080;
  21444. end;
  21445. procedure TPMP_PMCON.setCSF1(thebits : TBits_1); inline;
  21446. begin
  21447. if thebits = 0 then
  21448. pTDefRegMap(@Self)^.clr := $00000080
  21449. else
  21450. pTDefRegMap(@Self)^.&set := $00000080;
  21451. end;
  21452. function TPMP_PMCON.getCSF1 : TBits_1; inline;
  21453. begin
  21454. getCSF1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21455. end;
  21456. procedure TPMP_PMCON.setADRMUX0; inline;
  21457. begin
  21458. pTDefRegMap(@Self)^.&set := $00000800;
  21459. end;
  21460. procedure TPMP_PMCON.clearADRMUX0; inline;
  21461. begin
  21462. pTDefRegMap(@Self)^.clr := $00000800;
  21463. end;
  21464. procedure TPMP_PMCON.setADRMUX0(thebits : TBits_1); inline;
  21465. begin
  21466. if thebits = 0 then
  21467. pTDefRegMap(@Self)^.clr := $00000800
  21468. else
  21469. pTDefRegMap(@Self)^.&set := $00000800;
  21470. end;
  21471. function TPMP_PMCON.getADRMUX0 : TBits_1; inline;
  21472. begin
  21473. getADRMUX0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21474. end;
  21475. procedure TPMP_PMCON.setADRMUX1; inline;
  21476. begin
  21477. pTDefRegMap(@Self)^.&set := $00001000;
  21478. end;
  21479. procedure TPMP_PMCON.clearADRMUX1; inline;
  21480. begin
  21481. pTDefRegMap(@Self)^.clr := $00001000;
  21482. end;
  21483. procedure TPMP_PMCON.setADRMUX1(thebits : TBits_1); inline;
  21484. begin
  21485. if thebits = 0 then
  21486. pTDefRegMap(@Self)^.clr := $00001000
  21487. else
  21488. pTDefRegMap(@Self)^.&set := $00001000;
  21489. end;
  21490. function TPMP_PMCON.getADRMUX1 : TBits_1; inline;
  21491. begin
  21492. getADRMUX1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21493. end;
  21494. procedure TPMP_PMCON.setPSIDL; inline;
  21495. begin
  21496. pTDefRegMap(@Self)^.&set := $00002000;
  21497. end;
  21498. procedure TPMP_PMCON.clearPSIDL; inline;
  21499. begin
  21500. pTDefRegMap(@Self)^.clr := $00002000;
  21501. end;
  21502. procedure TPMP_PMCON.setPSIDL(thebits : TBits_1); inline;
  21503. begin
  21504. if thebits = 0 then
  21505. pTDefRegMap(@Self)^.clr := $00002000
  21506. else
  21507. pTDefRegMap(@Self)^.&set := $00002000;
  21508. end;
  21509. function TPMP_PMCON.getPSIDL : TBits_1; inline;
  21510. begin
  21511. getPSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21512. end;
  21513. procedure TPMP_PMCON.setPMPEN; inline;
  21514. begin
  21515. pTDefRegMap(@Self)^.&set := $00008000;
  21516. end;
  21517. procedure TPMP_PMCON.clearPMPEN; inline;
  21518. begin
  21519. pTDefRegMap(@Self)^.clr := $00008000;
  21520. end;
  21521. procedure TPMP_PMCON.setPMPEN(thebits : TBits_1); inline;
  21522. begin
  21523. if thebits = 0 then
  21524. pTDefRegMap(@Self)^.clr := $00008000
  21525. else
  21526. pTDefRegMap(@Self)^.&set := $00008000;
  21527. end;
  21528. function TPMP_PMCON.getPMPEN : TBits_1; inline;
  21529. begin
  21530. getPMPEN := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21531. end;
  21532. procedure TPMP_PMCON.setw(thebits : TBits_32); inline;
  21533. begin
  21534. pTDefRegMap(@Self)^.val := thebits;
  21535. end;
  21536. function TPMP_PMCON.getw : TBits_32; inline;
  21537. begin
  21538. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21539. end;
  21540. procedure TPMP_PMMODE.setWAITE(thebits : TBits_2); inline;
  21541. begin
  21542. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  21543. end;
  21544. function TPMP_PMMODE.getWAITE : TBits_2; inline;
  21545. begin
  21546. getWAITE := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  21547. end;
  21548. procedure TPMP_PMMODE.setWAITM(thebits : TBits_4); inline;
  21549. begin
  21550. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  21551. end;
  21552. function TPMP_PMMODE.getWAITM : TBits_4; inline;
  21553. begin
  21554. getWAITM := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  21555. end;
  21556. procedure TPMP_PMMODE.setWAITB(thebits : TBits_2); inline;
  21557. begin
  21558. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  21559. end;
  21560. function TPMP_PMMODE.getWAITB : TBits_2; inline;
  21561. begin
  21562. getWAITB := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  21563. end;
  21564. procedure TPMP_PMMODE.setMODE(thebits : TBits_2); inline;
  21565. begin
  21566. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  21567. end;
  21568. function TPMP_PMMODE.getMODE : TBits_2; inline;
  21569. begin
  21570. getMODE := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  21571. end;
  21572. procedure TPMP_PMMODE.setINCM(thebits : TBits_2); inline;
  21573. begin
  21574. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE7FF or ( thebits shl 11 );
  21575. end;
  21576. function TPMP_PMMODE.getINCM : TBits_2; inline;
  21577. begin
  21578. getINCM := (pTDefRegMap(@Self)^.val and $00001800) shr 11;
  21579. end;
  21580. procedure TPMP_PMMODE.setIRQM(thebits : TBits_2); inline;
  21581. begin
  21582. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF9FFF or ( thebits shl 13 );
  21583. end;
  21584. function TPMP_PMMODE.getIRQM : TBits_2; inline;
  21585. begin
  21586. getIRQM := (pTDefRegMap(@Self)^.val and $00006000) shr 13;
  21587. end;
  21588. procedure TPMP_PMMODE.setBUSY; inline;
  21589. begin
  21590. pTDefRegMap(@Self)^.&set := $00008000;
  21591. end;
  21592. procedure TPMP_PMMODE.clearBUSY; inline;
  21593. begin
  21594. pTDefRegMap(@Self)^.clr := $00008000;
  21595. end;
  21596. procedure TPMP_PMMODE.setBUSY(thebits : TBits_1); inline;
  21597. begin
  21598. if thebits = 0 then
  21599. pTDefRegMap(@Self)^.clr := $00008000
  21600. else
  21601. pTDefRegMap(@Self)^.&set := $00008000;
  21602. end;
  21603. function TPMP_PMMODE.getBUSY : TBits_1; inline;
  21604. begin
  21605. getBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  21606. end;
  21607. procedure TPMP_PMMODE.setWAITE0; inline;
  21608. begin
  21609. pTDefRegMap(@Self)^.&set := $00000001;
  21610. end;
  21611. procedure TPMP_PMMODE.clearWAITE0; inline;
  21612. begin
  21613. pTDefRegMap(@Self)^.clr := $00000001;
  21614. end;
  21615. procedure TPMP_PMMODE.setWAITE0(thebits : TBits_1); inline;
  21616. begin
  21617. if thebits = 0 then
  21618. pTDefRegMap(@Self)^.clr := $00000001
  21619. else
  21620. pTDefRegMap(@Self)^.&set := $00000001;
  21621. end;
  21622. function TPMP_PMMODE.getWAITE0 : TBits_1; inline;
  21623. begin
  21624. getWAITE0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21625. end;
  21626. procedure TPMP_PMMODE.setWAITE1; inline;
  21627. begin
  21628. pTDefRegMap(@Self)^.&set := $00000002;
  21629. end;
  21630. procedure TPMP_PMMODE.clearWAITE1; inline;
  21631. begin
  21632. pTDefRegMap(@Self)^.clr := $00000002;
  21633. end;
  21634. procedure TPMP_PMMODE.setWAITE1(thebits : TBits_1); inline;
  21635. begin
  21636. if thebits = 0 then
  21637. pTDefRegMap(@Self)^.clr := $00000002
  21638. else
  21639. pTDefRegMap(@Self)^.&set := $00000002;
  21640. end;
  21641. function TPMP_PMMODE.getWAITE1 : TBits_1; inline;
  21642. begin
  21643. getWAITE1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  21644. end;
  21645. procedure TPMP_PMMODE.setWAITM0; inline;
  21646. begin
  21647. pTDefRegMap(@Self)^.&set := $00000004;
  21648. end;
  21649. procedure TPMP_PMMODE.clearWAITM0; inline;
  21650. begin
  21651. pTDefRegMap(@Self)^.clr := $00000004;
  21652. end;
  21653. procedure TPMP_PMMODE.setWAITM0(thebits : TBits_1); inline;
  21654. begin
  21655. if thebits = 0 then
  21656. pTDefRegMap(@Self)^.clr := $00000004
  21657. else
  21658. pTDefRegMap(@Self)^.&set := $00000004;
  21659. end;
  21660. function TPMP_PMMODE.getWAITM0 : TBits_1; inline;
  21661. begin
  21662. getWAITM0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  21663. end;
  21664. procedure TPMP_PMMODE.setWAITM1; inline;
  21665. begin
  21666. pTDefRegMap(@Self)^.&set := $00000008;
  21667. end;
  21668. procedure TPMP_PMMODE.clearWAITM1; inline;
  21669. begin
  21670. pTDefRegMap(@Self)^.clr := $00000008;
  21671. end;
  21672. procedure TPMP_PMMODE.setWAITM1(thebits : TBits_1); inline;
  21673. begin
  21674. if thebits = 0 then
  21675. pTDefRegMap(@Self)^.clr := $00000008
  21676. else
  21677. pTDefRegMap(@Self)^.&set := $00000008;
  21678. end;
  21679. function TPMP_PMMODE.getWAITM1 : TBits_1; inline;
  21680. begin
  21681. getWAITM1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  21682. end;
  21683. procedure TPMP_PMMODE.setWAITM2; inline;
  21684. begin
  21685. pTDefRegMap(@Self)^.&set := $00000010;
  21686. end;
  21687. procedure TPMP_PMMODE.clearWAITM2; inline;
  21688. begin
  21689. pTDefRegMap(@Self)^.clr := $00000010;
  21690. end;
  21691. procedure TPMP_PMMODE.setWAITM2(thebits : TBits_1); inline;
  21692. begin
  21693. if thebits = 0 then
  21694. pTDefRegMap(@Self)^.clr := $00000010
  21695. else
  21696. pTDefRegMap(@Self)^.&set := $00000010;
  21697. end;
  21698. function TPMP_PMMODE.getWAITM2 : TBits_1; inline;
  21699. begin
  21700. getWAITM2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  21701. end;
  21702. procedure TPMP_PMMODE.setWAITM3; inline;
  21703. begin
  21704. pTDefRegMap(@Self)^.&set := $00000020;
  21705. end;
  21706. procedure TPMP_PMMODE.clearWAITM3; inline;
  21707. begin
  21708. pTDefRegMap(@Self)^.clr := $00000020;
  21709. end;
  21710. procedure TPMP_PMMODE.setWAITM3(thebits : TBits_1); inline;
  21711. begin
  21712. if thebits = 0 then
  21713. pTDefRegMap(@Self)^.clr := $00000020
  21714. else
  21715. pTDefRegMap(@Self)^.&set := $00000020;
  21716. end;
  21717. function TPMP_PMMODE.getWAITM3 : TBits_1; inline;
  21718. begin
  21719. getWAITM3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  21720. end;
  21721. procedure TPMP_PMMODE.setWAITB0; inline;
  21722. begin
  21723. pTDefRegMap(@Self)^.&set := $00000040;
  21724. end;
  21725. procedure TPMP_PMMODE.clearWAITB0; inline;
  21726. begin
  21727. pTDefRegMap(@Self)^.clr := $00000040;
  21728. end;
  21729. procedure TPMP_PMMODE.setWAITB0(thebits : TBits_1); inline;
  21730. begin
  21731. if thebits = 0 then
  21732. pTDefRegMap(@Self)^.clr := $00000040
  21733. else
  21734. pTDefRegMap(@Self)^.&set := $00000040;
  21735. end;
  21736. function TPMP_PMMODE.getWAITB0 : TBits_1; inline;
  21737. begin
  21738. getWAITB0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  21739. end;
  21740. procedure TPMP_PMMODE.setWAITB1; inline;
  21741. begin
  21742. pTDefRegMap(@Self)^.&set := $00000080;
  21743. end;
  21744. procedure TPMP_PMMODE.clearWAITB1; inline;
  21745. begin
  21746. pTDefRegMap(@Self)^.clr := $00000080;
  21747. end;
  21748. procedure TPMP_PMMODE.setWAITB1(thebits : TBits_1); inline;
  21749. begin
  21750. if thebits = 0 then
  21751. pTDefRegMap(@Self)^.clr := $00000080
  21752. else
  21753. pTDefRegMap(@Self)^.&set := $00000080;
  21754. end;
  21755. function TPMP_PMMODE.getWAITB1 : TBits_1; inline;
  21756. begin
  21757. getWAITB1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  21758. end;
  21759. procedure TPMP_PMMODE.setMODE0; inline;
  21760. begin
  21761. pTDefRegMap(@Self)^.&set := $00000100;
  21762. end;
  21763. procedure TPMP_PMMODE.clearMODE0; inline;
  21764. begin
  21765. pTDefRegMap(@Self)^.clr := $00000100;
  21766. end;
  21767. procedure TPMP_PMMODE.setMODE0(thebits : TBits_1); inline;
  21768. begin
  21769. if thebits = 0 then
  21770. pTDefRegMap(@Self)^.clr := $00000100
  21771. else
  21772. pTDefRegMap(@Self)^.&set := $00000100;
  21773. end;
  21774. function TPMP_PMMODE.getMODE0 : TBits_1; inline;
  21775. begin
  21776. getMODE0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  21777. end;
  21778. procedure TPMP_PMMODE.setMODE1; inline;
  21779. begin
  21780. pTDefRegMap(@Self)^.&set := $00000200;
  21781. end;
  21782. procedure TPMP_PMMODE.clearMODE1; inline;
  21783. begin
  21784. pTDefRegMap(@Self)^.clr := $00000200;
  21785. end;
  21786. procedure TPMP_PMMODE.setMODE1(thebits : TBits_1); inline;
  21787. begin
  21788. if thebits = 0 then
  21789. pTDefRegMap(@Self)^.clr := $00000200
  21790. else
  21791. pTDefRegMap(@Self)^.&set := $00000200;
  21792. end;
  21793. function TPMP_PMMODE.getMODE1 : TBits_1; inline;
  21794. begin
  21795. getMODE1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  21796. end;
  21797. procedure TPMP_PMMODE.setINCM0; inline;
  21798. begin
  21799. pTDefRegMap(@Self)^.&set := $00000800;
  21800. end;
  21801. procedure TPMP_PMMODE.clearINCM0; inline;
  21802. begin
  21803. pTDefRegMap(@Self)^.clr := $00000800;
  21804. end;
  21805. procedure TPMP_PMMODE.setINCM0(thebits : TBits_1); inline;
  21806. begin
  21807. if thebits = 0 then
  21808. pTDefRegMap(@Self)^.clr := $00000800
  21809. else
  21810. pTDefRegMap(@Self)^.&set := $00000800;
  21811. end;
  21812. function TPMP_PMMODE.getINCM0 : TBits_1; inline;
  21813. begin
  21814. getINCM0 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  21815. end;
  21816. procedure TPMP_PMMODE.setINCM1; inline;
  21817. begin
  21818. pTDefRegMap(@Self)^.&set := $00001000;
  21819. end;
  21820. procedure TPMP_PMMODE.clearINCM1; inline;
  21821. begin
  21822. pTDefRegMap(@Self)^.clr := $00001000;
  21823. end;
  21824. procedure TPMP_PMMODE.setINCM1(thebits : TBits_1); inline;
  21825. begin
  21826. if thebits = 0 then
  21827. pTDefRegMap(@Self)^.clr := $00001000
  21828. else
  21829. pTDefRegMap(@Self)^.&set := $00001000;
  21830. end;
  21831. function TPMP_PMMODE.getINCM1 : TBits_1; inline;
  21832. begin
  21833. getINCM1 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  21834. end;
  21835. procedure TPMP_PMMODE.setIRQM0; inline;
  21836. begin
  21837. pTDefRegMap(@Self)^.&set := $00002000;
  21838. end;
  21839. procedure TPMP_PMMODE.clearIRQM0; inline;
  21840. begin
  21841. pTDefRegMap(@Self)^.clr := $00002000;
  21842. end;
  21843. procedure TPMP_PMMODE.setIRQM0(thebits : TBits_1); inline;
  21844. begin
  21845. if thebits = 0 then
  21846. pTDefRegMap(@Self)^.clr := $00002000
  21847. else
  21848. pTDefRegMap(@Self)^.&set := $00002000;
  21849. end;
  21850. function TPMP_PMMODE.getIRQM0 : TBits_1; inline;
  21851. begin
  21852. getIRQM0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  21853. end;
  21854. procedure TPMP_PMMODE.setIRQM1; inline;
  21855. begin
  21856. pTDefRegMap(@Self)^.&set := $00004000;
  21857. end;
  21858. procedure TPMP_PMMODE.clearIRQM1; inline;
  21859. begin
  21860. pTDefRegMap(@Self)^.clr := $00004000;
  21861. end;
  21862. procedure TPMP_PMMODE.setIRQM1(thebits : TBits_1); inline;
  21863. begin
  21864. if thebits = 0 then
  21865. pTDefRegMap(@Self)^.clr := $00004000
  21866. else
  21867. pTDefRegMap(@Self)^.&set := $00004000;
  21868. end;
  21869. function TPMP_PMMODE.getIRQM1 : TBits_1; inline;
  21870. begin
  21871. getIRQM1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21872. end;
  21873. procedure TPMP_PMMODE.setw(thebits : TBits_32); inline;
  21874. begin
  21875. pTDefRegMap(@Self)^.val := thebits;
  21876. end;
  21877. function TPMP_PMMODE.getw : TBits_32; inline;
  21878. begin
  21879. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21880. end;
  21881. procedure TPMP_PMADDR.setADDR(thebits : TBits_14); inline;
  21882. begin
  21883. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21884. end;
  21885. function TPMP_PMADDR.getADDR : TBits_14; inline;
  21886. begin
  21887. getADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21888. end;
  21889. procedure TPMP_PMADDR.setCS(thebits : TBits_2); inline;
  21890. begin
  21891. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  21892. end;
  21893. function TPMP_PMADDR.getCS : TBits_2; inline;
  21894. begin
  21895. getCS := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  21896. end;
  21897. procedure TPMP_PMADDR.setPADDR(thebits : TBits_14); inline;
  21898. begin
  21899. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFC000 or ( thebits shl 0 );
  21900. end;
  21901. function TPMP_PMADDR.getPADDR : TBits_14; inline;
  21902. begin
  21903. getPADDR := (pTDefRegMap(@Self)^.val and $00003FFF) shr 0;
  21904. end;
  21905. procedure TPMP_PMADDR.setCS1; inline;
  21906. begin
  21907. pTDefRegMap(@Self)^.&set := $00004000;
  21908. end;
  21909. procedure TPMP_PMADDR.clearCS1; inline;
  21910. begin
  21911. pTDefRegMap(@Self)^.clr := $00004000;
  21912. end;
  21913. procedure TPMP_PMADDR.setCS1(thebits : TBits_1); inline;
  21914. begin
  21915. if thebits = 0 then
  21916. pTDefRegMap(@Self)^.clr := $00004000
  21917. else
  21918. pTDefRegMap(@Self)^.&set := $00004000;
  21919. end;
  21920. function TPMP_PMADDR.getCS1 : TBits_1; inline;
  21921. begin
  21922. getCS1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  21923. end;
  21924. procedure TPMP_PMADDR.setw(thebits : TBits_32); inline;
  21925. begin
  21926. pTDefRegMap(@Self)^.val := thebits;
  21927. end;
  21928. function TPMP_PMADDR.getw : TBits_32; inline;
  21929. begin
  21930. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21931. end;
  21932. procedure TPMP_PMDOUT.setDATAOUT(thebits : TBits_32); inline;
  21933. begin
  21934. pTDefRegMap(@Self)^.val := thebits;
  21935. end;
  21936. function TPMP_PMDOUT.getDATAOUT : TBits_32; inline;
  21937. begin
  21938. getDATAOUT := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21939. end;
  21940. procedure TPMP_PMDOUT.setw(thebits : TBits_32); inline;
  21941. begin
  21942. pTDefRegMap(@Self)^.val := thebits;
  21943. end;
  21944. function TPMP_PMDOUT.getw : TBits_32; inline;
  21945. begin
  21946. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21947. end;
  21948. procedure TPMP_PMDIN.setDATAIN(thebits : TBits_32); inline;
  21949. begin
  21950. pTDefRegMap(@Self)^.val := thebits;
  21951. end;
  21952. function TPMP_PMDIN.getDATAIN : TBits_32; inline;
  21953. begin
  21954. getDATAIN := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21955. end;
  21956. procedure TPMP_PMDIN.setw(thebits : TBits_32); inline;
  21957. begin
  21958. pTDefRegMap(@Self)^.val := thebits;
  21959. end;
  21960. function TPMP_PMDIN.getw : TBits_32; inline;
  21961. begin
  21962. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  21963. end;
  21964. procedure TPMP_PMAEN.setPTEN(thebits : TBits_16); inline;
  21965. begin
  21966. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  21967. end;
  21968. function TPMP_PMAEN.getPTEN : TBits_16; inline;
  21969. begin
  21970. getPTEN := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  21971. end;
  21972. procedure TPMP_PMAEN.setPTEN0; inline;
  21973. begin
  21974. pTDefRegMap(@Self)^.&set := $00000001;
  21975. end;
  21976. procedure TPMP_PMAEN.clearPTEN0; inline;
  21977. begin
  21978. pTDefRegMap(@Self)^.clr := $00000001;
  21979. end;
  21980. procedure TPMP_PMAEN.setPTEN0(thebits : TBits_1); inline;
  21981. begin
  21982. if thebits = 0 then
  21983. pTDefRegMap(@Self)^.clr := $00000001
  21984. else
  21985. pTDefRegMap(@Self)^.&set := $00000001;
  21986. end;
  21987. function TPMP_PMAEN.getPTEN0 : TBits_1; inline;
  21988. begin
  21989. getPTEN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  21990. end;
  21991. procedure TPMP_PMAEN.setPTEN1; inline;
  21992. begin
  21993. pTDefRegMap(@Self)^.&set := $00000002;
  21994. end;
  21995. procedure TPMP_PMAEN.clearPTEN1; inline;
  21996. begin
  21997. pTDefRegMap(@Self)^.clr := $00000002;
  21998. end;
  21999. procedure TPMP_PMAEN.setPTEN1(thebits : TBits_1); inline;
  22000. begin
  22001. if thebits = 0 then
  22002. pTDefRegMap(@Self)^.clr := $00000002
  22003. else
  22004. pTDefRegMap(@Self)^.&set := $00000002;
  22005. end;
  22006. function TPMP_PMAEN.getPTEN1 : TBits_1; inline;
  22007. begin
  22008. getPTEN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22009. end;
  22010. procedure TPMP_PMAEN.setPTEN2; inline;
  22011. begin
  22012. pTDefRegMap(@Self)^.&set := $00000004;
  22013. end;
  22014. procedure TPMP_PMAEN.clearPTEN2; inline;
  22015. begin
  22016. pTDefRegMap(@Self)^.clr := $00000004;
  22017. end;
  22018. procedure TPMP_PMAEN.setPTEN2(thebits : TBits_1); inline;
  22019. begin
  22020. if thebits = 0 then
  22021. pTDefRegMap(@Self)^.clr := $00000004
  22022. else
  22023. pTDefRegMap(@Self)^.&set := $00000004;
  22024. end;
  22025. function TPMP_PMAEN.getPTEN2 : TBits_1; inline;
  22026. begin
  22027. getPTEN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22028. end;
  22029. procedure TPMP_PMAEN.setPTEN3; inline;
  22030. begin
  22031. pTDefRegMap(@Self)^.&set := $00000008;
  22032. end;
  22033. procedure TPMP_PMAEN.clearPTEN3; inline;
  22034. begin
  22035. pTDefRegMap(@Self)^.clr := $00000008;
  22036. end;
  22037. procedure TPMP_PMAEN.setPTEN3(thebits : TBits_1); inline;
  22038. begin
  22039. if thebits = 0 then
  22040. pTDefRegMap(@Self)^.clr := $00000008
  22041. else
  22042. pTDefRegMap(@Self)^.&set := $00000008;
  22043. end;
  22044. function TPMP_PMAEN.getPTEN3 : TBits_1; inline;
  22045. begin
  22046. getPTEN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22047. end;
  22048. procedure TPMP_PMAEN.setPTEN4; inline;
  22049. begin
  22050. pTDefRegMap(@Self)^.&set := $00000010;
  22051. end;
  22052. procedure TPMP_PMAEN.clearPTEN4; inline;
  22053. begin
  22054. pTDefRegMap(@Self)^.clr := $00000010;
  22055. end;
  22056. procedure TPMP_PMAEN.setPTEN4(thebits : TBits_1); inline;
  22057. begin
  22058. if thebits = 0 then
  22059. pTDefRegMap(@Self)^.clr := $00000010
  22060. else
  22061. pTDefRegMap(@Self)^.&set := $00000010;
  22062. end;
  22063. function TPMP_PMAEN.getPTEN4 : TBits_1; inline;
  22064. begin
  22065. getPTEN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22066. end;
  22067. procedure TPMP_PMAEN.setPTEN5; inline;
  22068. begin
  22069. pTDefRegMap(@Self)^.&set := $00000020;
  22070. end;
  22071. procedure TPMP_PMAEN.clearPTEN5; inline;
  22072. begin
  22073. pTDefRegMap(@Self)^.clr := $00000020;
  22074. end;
  22075. procedure TPMP_PMAEN.setPTEN5(thebits : TBits_1); inline;
  22076. begin
  22077. if thebits = 0 then
  22078. pTDefRegMap(@Self)^.clr := $00000020
  22079. else
  22080. pTDefRegMap(@Self)^.&set := $00000020;
  22081. end;
  22082. function TPMP_PMAEN.getPTEN5 : TBits_1; inline;
  22083. begin
  22084. getPTEN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22085. end;
  22086. procedure TPMP_PMAEN.setPTEN6; inline;
  22087. begin
  22088. pTDefRegMap(@Self)^.&set := $00000040;
  22089. end;
  22090. procedure TPMP_PMAEN.clearPTEN6; inline;
  22091. begin
  22092. pTDefRegMap(@Self)^.clr := $00000040;
  22093. end;
  22094. procedure TPMP_PMAEN.setPTEN6(thebits : TBits_1); inline;
  22095. begin
  22096. if thebits = 0 then
  22097. pTDefRegMap(@Self)^.clr := $00000040
  22098. else
  22099. pTDefRegMap(@Self)^.&set := $00000040;
  22100. end;
  22101. function TPMP_PMAEN.getPTEN6 : TBits_1; inline;
  22102. begin
  22103. getPTEN6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22104. end;
  22105. procedure TPMP_PMAEN.setPTEN7; inline;
  22106. begin
  22107. pTDefRegMap(@Self)^.&set := $00000080;
  22108. end;
  22109. procedure TPMP_PMAEN.clearPTEN7; inline;
  22110. begin
  22111. pTDefRegMap(@Self)^.clr := $00000080;
  22112. end;
  22113. procedure TPMP_PMAEN.setPTEN7(thebits : TBits_1); inline;
  22114. begin
  22115. if thebits = 0 then
  22116. pTDefRegMap(@Self)^.clr := $00000080
  22117. else
  22118. pTDefRegMap(@Self)^.&set := $00000080;
  22119. end;
  22120. function TPMP_PMAEN.getPTEN7 : TBits_1; inline;
  22121. begin
  22122. getPTEN7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22123. end;
  22124. procedure TPMP_PMAEN.setPTEN8; inline;
  22125. begin
  22126. pTDefRegMap(@Self)^.&set := $00000100;
  22127. end;
  22128. procedure TPMP_PMAEN.clearPTEN8; inline;
  22129. begin
  22130. pTDefRegMap(@Self)^.clr := $00000100;
  22131. end;
  22132. procedure TPMP_PMAEN.setPTEN8(thebits : TBits_1); inline;
  22133. begin
  22134. if thebits = 0 then
  22135. pTDefRegMap(@Self)^.clr := $00000100
  22136. else
  22137. pTDefRegMap(@Self)^.&set := $00000100;
  22138. end;
  22139. function TPMP_PMAEN.getPTEN8 : TBits_1; inline;
  22140. begin
  22141. getPTEN8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22142. end;
  22143. procedure TPMP_PMAEN.setPTEN9; inline;
  22144. begin
  22145. pTDefRegMap(@Self)^.&set := $00000200;
  22146. end;
  22147. procedure TPMP_PMAEN.clearPTEN9; inline;
  22148. begin
  22149. pTDefRegMap(@Self)^.clr := $00000200;
  22150. end;
  22151. procedure TPMP_PMAEN.setPTEN9(thebits : TBits_1); inline;
  22152. begin
  22153. if thebits = 0 then
  22154. pTDefRegMap(@Self)^.clr := $00000200
  22155. else
  22156. pTDefRegMap(@Self)^.&set := $00000200;
  22157. end;
  22158. function TPMP_PMAEN.getPTEN9 : TBits_1; inline;
  22159. begin
  22160. getPTEN9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22161. end;
  22162. procedure TPMP_PMAEN.setPTEN10; inline;
  22163. begin
  22164. pTDefRegMap(@Self)^.&set := $00000400;
  22165. end;
  22166. procedure TPMP_PMAEN.clearPTEN10; inline;
  22167. begin
  22168. pTDefRegMap(@Self)^.clr := $00000400;
  22169. end;
  22170. procedure TPMP_PMAEN.setPTEN10(thebits : TBits_1); inline;
  22171. begin
  22172. if thebits = 0 then
  22173. pTDefRegMap(@Self)^.clr := $00000400
  22174. else
  22175. pTDefRegMap(@Self)^.&set := $00000400;
  22176. end;
  22177. function TPMP_PMAEN.getPTEN10 : TBits_1; inline;
  22178. begin
  22179. getPTEN10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22180. end;
  22181. procedure TPMP_PMAEN.setPTEN11; inline;
  22182. begin
  22183. pTDefRegMap(@Self)^.&set := $00000800;
  22184. end;
  22185. procedure TPMP_PMAEN.clearPTEN11; inline;
  22186. begin
  22187. pTDefRegMap(@Self)^.clr := $00000800;
  22188. end;
  22189. procedure TPMP_PMAEN.setPTEN11(thebits : TBits_1); inline;
  22190. begin
  22191. if thebits = 0 then
  22192. pTDefRegMap(@Self)^.clr := $00000800
  22193. else
  22194. pTDefRegMap(@Self)^.&set := $00000800;
  22195. end;
  22196. function TPMP_PMAEN.getPTEN11 : TBits_1; inline;
  22197. begin
  22198. getPTEN11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22199. end;
  22200. procedure TPMP_PMAEN.setPTEN12; inline;
  22201. begin
  22202. pTDefRegMap(@Self)^.&set := $00001000;
  22203. end;
  22204. procedure TPMP_PMAEN.clearPTEN12; inline;
  22205. begin
  22206. pTDefRegMap(@Self)^.clr := $00001000;
  22207. end;
  22208. procedure TPMP_PMAEN.setPTEN12(thebits : TBits_1); inline;
  22209. begin
  22210. if thebits = 0 then
  22211. pTDefRegMap(@Self)^.clr := $00001000
  22212. else
  22213. pTDefRegMap(@Self)^.&set := $00001000;
  22214. end;
  22215. function TPMP_PMAEN.getPTEN12 : TBits_1; inline;
  22216. begin
  22217. getPTEN12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22218. end;
  22219. procedure TPMP_PMAEN.setPTEN13; inline;
  22220. begin
  22221. pTDefRegMap(@Self)^.&set := $00002000;
  22222. end;
  22223. procedure TPMP_PMAEN.clearPTEN13; inline;
  22224. begin
  22225. pTDefRegMap(@Self)^.clr := $00002000;
  22226. end;
  22227. procedure TPMP_PMAEN.setPTEN13(thebits : TBits_1); inline;
  22228. begin
  22229. if thebits = 0 then
  22230. pTDefRegMap(@Self)^.clr := $00002000
  22231. else
  22232. pTDefRegMap(@Self)^.&set := $00002000;
  22233. end;
  22234. function TPMP_PMAEN.getPTEN13 : TBits_1; inline;
  22235. begin
  22236. getPTEN13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22237. end;
  22238. procedure TPMP_PMAEN.setPTEN14; inline;
  22239. begin
  22240. pTDefRegMap(@Self)^.&set := $00004000;
  22241. end;
  22242. procedure TPMP_PMAEN.clearPTEN14; inline;
  22243. begin
  22244. pTDefRegMap(@Self)^.clr := $00004000;
  22245. end;
  22246. procedure TPMP_PMAEN.setPTEN14(thebits : TBits_1); inline;
  22247. begin
  22248. if thebits = 0 then
  22249. pTDefRegMap(@Self)^.clr := $00004000
  22250. else
  22251. pTDefRegMap(@Self)^.&set := $00004000;
  22252. end;
  22253. function TPMP_PMAEN.getPTEN14 : TBits_1; inline;
  22254. begin
  22255. getPTEN14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22256. end;
  22257. procedure TPMP_PMAEN.setPTEN15; inline;
  22258. begin
  22259. pTDefRegMap(@Self)^.&set := $00008000;
  22260. end;
  22261. procedure TPMP_PMAEN.clearPTEN15; inline;
  22262. begin
  22263. pTDefRegMap(@Self)^.clr := $00008000;
  22264. end;
  22265. procedure TPMP_PMAEN.setPTEN15(thebits : TBits_1); inline;
  22266. begin
  22267. if thebits = 0 then
  22268. pTDefRegMap(@Self)^.clr := $00008000
  22269. else
  22270. pTDefRegMap(@Self)^.&set := $00008000;
  22271. end;
  22272. function TPMP_PMAEN.getPTEN15 : TBits_1; inline;
  22273. begin
  22274. getPTEN15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22275. end;
  22276. procedure TPMP_PMAEN.setw(thebits : TBits_32); inline;
  22277. begin
  22278. pTDefRegMap(@Self)^.val := thebits;
  22279. end;
  22280. function TPMP_PMAEN.getw : TBits_32; inline;
  22281. begin
  22282. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22283. end;
  22284. procedure TPMP_PMSTAT.setOB0E; inline;
  22285. begin
  22286. pTDefRegMap(@Self)^.&set := $00000001;
  22287. end;
  22288. procedure TPMP_PMSTAT.clearOB0E; inline;
  22289. begin
  22290. pTDefRegMap(@Self)^.clr := $00000001;
  22291. end;
  22292. procedure TPMP_PMSTAT.setOB0E(thebits : TBits_1); inline;
  22293. begin
  22294. if thebits = 0 then
  22295. pTDefRegMap(@Self)^.clr := $00000001
  22296. else
  22297. pTDefRegMap(@Self)^.&set := $00000001;
  22298. end;
  22299. function TPMP_PMSTAT.getOB0E : TBits_1; inline;
  22300. begin
  22301. getOB0E := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22302. end;
  22303. procedure TPMP_PMSTAT.setOB1E; inline;
  22304. begin
  22305. pTDefRegMap(@Self)^.&set := $00000002;
  22306. end;
  22307. procedure TPMP_PMSTAT.clearOB1E; inline;
  22308. begin
  22309. pTDefRegMap(@Self)^.clr := $00000002;
  22310. end;
  22311. procedure TPMP_PMSTAT.setOB1E(thebits : TBits_1); inline;
  22312. begin
  22313. if thebits = 0 then
  22314. pTDefRegMap(@Self)^.clr := $00000002
  22315. else
  22316. pTDefRegMap(@Self)^.&set := $00000002;
  22317. end;
  22318. function TPMP_PMSTAT.getOB1E : TBits_1; inline;
  22319. begin
  22320. getOB1E := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22321. end;
  22322. procedure TPMP_PMSTAT.setOB2E; inline;
  22323. begin
  22324. pTDefRegMap(@Self)^.&set := $00000004;
  22325. end;
  22326. procedure TPMP_PMSTAT.clearOB2E; inline;
  22327. begin
  22328. pTDefRegMap(@Self)^.clr := $00000004;
  22329. end;
  22330. procedure TPMP_PMSTAT.setOB2E(thebits : TBits_1); inline;
  22331. begin
  22332. if thebits = 0 then
  22333. pTDefRegMap(@Self)^.clr := $00000004
  22334. else
  22335. pTDefRegMap(@Self)^.&set := $00000004;
  22336. end;
  22337. function TPMP_PMSTAT.getOB2E : TBits_1; inline;
  22338. begin
  22339. getOB2E := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22340. end;
  22341. procedure TPMP_PMSTAT.setOB3E; inline;
  22342. begin
  22343. pTDefRegMap(@Self)^.&set := $00000008;
  22344. end;
  22345. procedure TPMP_PMSTAT.clearOB3E; inline;
  22346. begin
  22347. pTDefRegMap(@Self)^.clr := $00000008;
  22348. end;
  22349. procedure TPMP_PMSTAT.setOB3E(thebits : TBits_1); inline;
  22350. begin
  22351. if thebits = 0 then
  22352. pTDefRegMap(@Self)^.clr := $00000008
  22353. else
  22354. pTDefRegMap(@Self)^.&set := $00000008;
  22355. end;
  22356. function TPMP_PMSTAT.getOB3E : TBits_1; inline;
  22357. begin
  22358. getOB3E := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22359. end;
  22360. procedure TPMP_PMSTAT.setOBUF; inline;
  22361. begin
  22362. pTDefRegMap(@Self)^.&set := $00000040;
  22363. end;
  22364. procedure TPMP_PMSTAT.clearOBUF; inline;
  22365. begin
  22366. pTDefRegMap(@Self)^.clr := $00000040;
  22367. end;
  22368. procedure TPMP_PMSTAT.setOBUF(thebits : TBits_1); inline;
  22369. begin
  22370. if thebits = 0 then
  22371. pTDefRegMap(@Self)^.clr := $00000040
  22372. else
  22373. pTDefRegMap(@Self)^.&set := $00000040;
  22374. end;
  22375. function TPMP_PMSTAT.getOBUF : TBits_1; inline;
  22376. begin
  22377. getOBUF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22378. end;
  22379. procedure TPMP_PMSTAT.setOBE; inline;
  22380. begin
  22381. pTDefRegMap(@Self)^.&set := $00000080;
  22382. end;
  22383. procedure TPMP_PMSTAT.clearOBE; inline;
  22384. begin
  22385. pTDefRegMap(@Self)^.clr := $00000080;
  22386. end;
  22387. procedure TPMP_PMSTAT.setOBE(thebits : TBits_1); inline;
  22388. begin
  22389. if thebits = 0 then
  22390. pTDefRegMap(@Self)^.clr := $00000080
  22391. else
  22392. pTDefRegMap(@Self)^.&set := $00000080;
  22393. end;
  22394. function TPMP_PMSTAT.getOBE : TBits_1; inline;
  22395. begin
  22396. getOBE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22397. end;
  22398. procedure TPMP_PMSTAT.setIB0F; inline;
  22399. begin
  22400. pTDefRegMap(@Self)^.&set := $00000100;
  22401. end;
  22402. procedure TPMP_PMSTAT.clearIB0F; inline;
  22403. begin
  22404. pTDefRegMap(@Self)^.clr := $00000100;
  22405. end;
  22406. procedure TPMP_PMSTAT.setIB0F(thebits : TBits_1); inline;
  22407. begin
  22408. if thebits = 0 then
  22409. pTDefRegMap(@Self)^.clr := $00000100
  22410. else
  22411. pTDefRegMap(@Self)^.&set := $00000100;
  22412. end;
  22413. function TPMP_PMSTAT.getIB0F : TBits_1; inline;
  22414. begin
  22415. getIB0F := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22416. end;
  22417. procedure TPMP_PMSTAT.setIB1F; inline;
  22418. begin
  22419. pTDefRegMap(@Self)^.&set := $00000200;
  22420. end;
  22421. procedure TPMP_PMSTAT.clearIB1F; inline;
  22422. begin
  22423. pTDefRegMap(@Self)^.clr := $00000200;
  22424. end;
  22425. procedure TPMP_PMSTAT.setIB1F(thebits : TBits_1); inline;
  22426. begin
  22427. if thebits = 0 then
  22428. pTDefRegMap(@Self)^.clr := $00000200
  22429. else
  22430. pTDefRegMap(@Self)^.&set := $00000200;
  22431. end;
  22432. function TPMP_PMSTAT.getIB1F : TBits_1; inline;
  22433. begin
  22434. getIB1F := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22435. end;
  22436. procedure TPMP_PMSTAT.setIB2F; inline;
  22437. begin
  22438. pTDefRegMap(@Self)^.&set := $00000400;
  22439. end;
  22440. procedure TPMP_PMSTAT.clearIB2F; inline;
  22441. begin
  22442. pTDefRegMap(@Self)^.clr := $00000400;
  22443. end;
  22444. procedure TPMP_PMSTAT.setIB2F(thebits : TBits_1); inline;
  22445. begin
  22446. if thebits = 0 then
  22447. pTDefRegMap(@Self)^.clr := $00000400
  22448. else
  22449. pTDefRegMap(@Self)^.&set := $00000400;
  22450. end;
  22451. function TPMP_PMSTAT.getIB2F : TBits_1; inline;
  22452. begin
  22453. getIB2F := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22454. end;
  22455. procedure TPMP_PMSTAT.setIB3F; inline;
  22456. begin
  22457. pTDefRegMap(@Self)^.&set := $00000800;
  22458. end;
  22459. procedure TPMP_PMSTAT.clearIB3F; inline;
  22460. begin
  22461. pTDefRegMap(@Self)^.clr := $00000800;
  22462. end;
  22463. procedure TPMP_PMSTAT.setIB3F(thebits : TBits_1); inline;
  22464. begin
  22465. if thebits = 0 then
  22466. pTDefRegMap(@Self)^.clr := $00000800
  22467. else
  22468. pTDefRegMap(@Self)^.&set := $00000800;
  22469. end;
  22470. function TPMP_PMSTAT.getIB3F : TBits_1; inline;
  22471. begin
  22472. getIB3F := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  22473. end;
  22474. procedure TPMP_PMSTAT.setIBOV; inline;
  22475. begin
  22476. pTDefRegMap(@Self)^.&set := $00004000;
  22477. end;
  22478. procedure TPMP_PMSTAT.clearIBOV; inline;
  22479. begin
  22480. pTDefRegMap(@Self)^.clr := $00004000;
  22481. end;
  22482. procedure TPMP_PMSTAT.setIBOV(thebits : TBits_1); inline;
  22483. begin
  22484. if thebits = 0 then
  22485. pTDefRegMap(@Self)^.clr := $00004000
  22486. else
  22487. pTDefRegMap(@Self)^.&set := $00004000;
  22488. end;
  22489. function TPMP_PMSTAT.getIBOV : TBits_1; inline;
  22490. begin
  22491. getIBOV := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  22492. end;
  22493. procedure TPMP_PMSTAT.setIBF; inline;
  22494. begin
  22495. pTDefRegMap(@Self)^.&set := $00008000;
  22496. end;
  22497. procedure TPMP_PMSTAT.clearIBF; inline;
  22498. begin
  22499. pTDefRegMap(@Self)^.clr := $00008000;
  22500. end;
  22501. procedure TPMP_PMSTAT.setIBF(thebits : TBits_1); inline;
  22502. begin
  22503. if thebits = 0 then
  22504. pTDefRegMap(@Self)^.clr := $00008000
  22505. else
  22506. pTDefRegMap(@Self)^.&set := $00008000;
  22507. end;
  22508. function TPMP_PMSTAT.getIBF : TBits_1; inline;
  22509. begin
  22510. getIBF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22511. end;
  22512. procedure TPMP_PMSTAT.setw(thebits : TBits_32); inline;
  22513. begin
  22514. pTDefRegMap(@Self)^.val := thebits;
  22515. end;
  22516. function TPMP_PMSTAT.getw : TBits_32; inline;
  22517. begin
  22518. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22519. end;
  22520. procedure TADC10_AD1CON1.setDONE; inline;
  22521. begin
  22522. pTDefRegMap(@Self)^.&set := $00000001;
  22523. end;
  22524. procedure TADC10_AD1CON1.clearDONE; inline;
  22525. begin
  22526. pTDefRegMap(@Self)^.clr := $00000001;
  22527. end;
  22528. procedure TADC10_AD1CON1.setDONE(thebits : TBits_1); inline;
  22529. begin
  22530. if thebits = 0 then
  22531. pTDefRegMap(@Self)^.clr := $00000001
  22532. else
  22533. pTDefRegMap(@Self)^.&set := $00000001;
  22534. end;
  22535. function TADC10_AD1CON1.getDONE : TBits_1; inline;
  22536. begin
  22537. getDONE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22538. end;
  22539. procedure TADC10_AD1CON1.setSAMP; inline;
  22540. begin
  22541. pTDefRegMap(@Self)^.&set := $00000002;
  22542. end;
  22543. procedure TADC10_AD1CON1.clearSAMP; inline;
  22544. begin
  22545. pTDefRegMap(@Self)^.clr := $00000002;
  22546. end;
  22547. procedure TADC10_AD1CON1.setSAMP(thebits : TBits_1); inline;
  22548. begin
  22549. if thebits = 0 then
  22550. pTDefRegMap(@Self)^.clr := $00000002
  22551. else
  22552. pTDefRegMap(@Self)^.&set := $00000002;
  22553. end;
  22554. function TADC10_AD1CON1.getSAMP : TBits_1; inline;
  22555. begin
  22556. getSAMP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22557. end;
  22558. procedure TADC10_AD1CON1.setASAM; inline;
  22559. begin
  22560. pTDefRegMap(@Self)^.&set := $00000004;
  22561. end;
  22562. procedure TADC10_AD1CON1.clearASAM; inline;
  22563. begin
  22564. pTDefRegMap(@Self)^.clr := $00000004;
  22565. end;
  22566. procedure TADC10_AD1CON1.setASAM(thebits : TBits_1); inline;
  22567. begin
  22568. if thebits = 0 then
  22569. pTDefRegMap(@Self)^.clr := $00000004
  22570. else
  22571. pTDefRegMap(@Self)^.&set := $00000004;
  22572. end;
  22573. function TADC10_AD1CON1.getASAM : TBits_1; inline;
  22574. begin
  22575. getASAM := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22576. end;
  22577. procedure TADC10_AD1CON1.setCLRASAM; inline;
  22578. begin
  22579. pTDefRegMap(@Self)^.&set := $00000010;
  22580. end;
  22581. procedure TADC10_AD1CON1.clearCLRASAM; inline;
  22582. begin
  22583. pTDefRegMap(@Self)^.clr := $00000010;
  22584. end;
  22585. procedure TADC10_AD1CON1.setCLRASAM(thebits : TBits_1); inline;
  22586. begin
  22587. if thebits = 0 then
  22588. pTDefRegMap(@Self)^.clr := $00000010
  22589. else
  22590. pTDefRegMap(@Self)^.&set := $00000010;
  22591. end;
  22592. function TADC10_AD1CON1.getCLRASAM : TBits_1; inline;
  22593. begin
  22594. getCLRASAM := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22595. end;
  22596. procedure TADC10_AD1CON1.setSSRC(thebits : TBits_3); inline;
  22597. begin
  22598. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF1F or ( thebits shl 5 );
  22599. end;
  22600. function TADC10_AD1CON1.getSSRC : TBits_3; inline;
  22601. begin
  22602. getSSRC := (pTDefRegMap(@Self)^.val and $000000E0) shr 5;
  22603. end;
  22604. procedure TADC10_AD1CON1.setFORM(thebits : TBits_3); inline;
  22605. begin
  22606. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  22607. end;
  22608. function TADC10_AD1CON1.getFORM : TBits_3; inline;
  22609. begin
  22610. getFORM := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  22611. end;
  22612. procedure TADC10_AD1CON1.setSIDL; inline;
  22613. begin
  22614. pTDefRegMap(@Self)^.&set := $00002000;
  22615. end;
  22616. procedure TADC10_AD1CON1.clearSIDL; inline;
  22617. begin
  22618. pTDefRegMap(@Self)^.clr := $00002000;
  22619. end;
  22620. procedure TADC10_AD1CON1.setSIDL(thebits : TBits_1); inline;
  22621. begin
  22622. if thebits = 0 then
  22623. pTDefRegMap(@Self)^.clr := $00002000
  22624. else
  22625. pTDefRegMap(@Self)^.&set := $00002000;
  22626. end;
  22627. function TADC10_AD1CON1.getSIDL : TBits_1; inline;
  22628. begin
  22629. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22630. end;
  22631. procedure TADC10_AD1CON1.setON; inline;
  22632. begin
  22633. pTDefRegMap(@Self)^.&set := $00008000;
  22634. end;
  22635. procedure TADC10_AD1CON1.clearON; inline;
  22636. begin
  22637. pTDefRegMap(@Self)^.clr := $00008000;
  22638. end;
  22639. procedure TADC10_AD1CON1.setON(thebits : TBits_1); inline;
  22640. begin
  22641. if thebits = 0 then
  22642. pTDefRegMap(@Self)^.clr := $00008000
  22643. else
  22644. pTDefRegMap(@Self)^.&set := $00008000;
  22645. end;
  22646. function TADC10_AD1CON1.getON : TBits_1; inline;
  22647. begin
  22648. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22649. end;
  22650. procedure TADC10_AD1CON1.setSSRC0; inline;
  22651. begin
  22652. pTDefRegMap(@Self)^.&set := $00000020;
  22653. end;
  22654. procedure TADC10_AD1CON1.clearSSRC0; inline;
  22655. begin
  22656. pTDefRegMap(@Self)^.clr := $00000020;
  22657. end;
  22658. procedure TADC10_AD1CON1.setSSRC0(thebits : TBits_1); inline;
  22659. begin
  22660. if thebits = 0 then
  22661. pTDefRegMap(@Self)^.clr := $00000020
  22662. else
  22663. pTDefRegMap(@Self)^.&set := $00000020;
  22664. end;
  22665. function TADC10_AD1CON1.getSSRC0 : TBits_1; inline;
  22666. begin
  22667. getSSRC0 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22668. end;
  22669. procedure TADC10_AD1CON1.setSSRC1; inline;
  22670. begin
  22671. pTDefRegMap(@Self)^.&set := $00000040;
  22672. end;
  22673. procedure TADC10_AD1CON1.clearSSRC1; inline;
  22674. begin
  22675. pTDefRegMap(@Self)^.clr := $00000040;
  22676. end;
  22677. procedure TADC10_AD1CON1.setSSRC1(thebits : TBits_1); inline;
  22678. begin
  22679. if thebits = 0 then
  22680. pTDefRegMap(@Self)^.clr := $00000040
  22681. else
  22682. pTDefRegMap(@Self)^.&set := $00000040;
  22683. end;
  22684. function TADC10_AD1CON1.getSSRC1 : TBits_1; inline;
  22685. begin
  22686. getSSRC1 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  22687. end;
  22688. procedure TADC10_AD1CON1.setSSRC2; inline;
  22689. begin
  22690. pTDefRegMap(@Self)^.&set := $00000080;
  22691. end;
  22692. procedure TADC10_AD1CON1.clearSSRC2; inline;
  22693. begin
  22694. pTDefRegMap(@Self)^.clr := $00000080;
  22695. end;
  22696. procedure TADC10_AD1CON1.setSSRC2(thebits : TBits_1); inline;
  22697. begin
  22698. if thebits = 0 then
  22699. pTDefRegMap(@Self)^.clr := $00000080
  22700. else
  22701. pTDefRegMap(@Self)^.&set := $00000080;
  22702. end;
  22703. function TADC10_AD1CON1.getSSRC2 : TBits_1; inline;
  22704. begin
  22705. getSSRC2 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22706. end;
  22707. procedure TADC10_AD1CON1.setFORM0; inline;
  22708. begin
  22709. pTDefRegMap(@Self)^.&set := $00000100;
  22710. end;
  22711. procedure TADC10_AD1CON1.clearFORM0; inline;
  22712. begin
  22713. pTDefRegMap(@Self)^.clr := $00000100;
  22714. end;
  22715. procedure TADC10_AD1CON1.setFORM0(thebits : TBits_1); inline;
  22716. begin
  22717. if thebits = 0 then
  22718. pTDefRegMap(@Self)^.clr := $00000100
  22719. else
  22720. pTDefRegMap(@Self)^.&set := $00000100;
  22721. end;
  22722. function TADC10_AD1CON1.getFORM0 : TBits_1; inline;
  22723. begin
  22724. getFORM0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  22725. end;
  22726. procedure TADC10_AD1CON1.setFORM1; inline;
  22727. begin
  22728. pTDefRegMap(@Self)^.&set := $00000200;
  22729. end;
  22730. procedure TADC10_AD1CON1.clearFORM1; inline;
  22731. begin
  22732. pTDefRegMap(@Self)^.clr := $00000200;
  22733. end;
  22734. procedure TADC10_AD1CON1.setFORM1(thebits : TBits_1); inline;
  22735. begin
  22736. if thebits = 0 then
  22737. pTDefRegMap(@Self)^.clr := $00000200
  22738. else
  22739. pTDefRegMap(@Self)^.&set := $00000200;
  22740. end;
  22741. function TADC10_AD1CON1.getFORM1 : TBits_1; inline;
  22742. begin
  22743. getFORM1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  22744. end;
  22745. procedure TADC10_AD1CON1.setFORM2; inline;
  22746. begin
  22747. pTDefRegMap(@Self)^.&set := $00000400;
  22748. end;
  22749. procedure TADC10_AD1CON1.clearFORM2; inline;
  22750. begin
  22751. pTDefRegMap(@Self)^.clr := $00000400;
  22752. end;
  22753. procedure TADC10_AD1CON1.setFORM2(thebits : TBits_1); inline;
  22754. begin
  22755. if thebits = 0 then
  22756. pTDefRegMap(@Self)^.clr := $00000400
  22757. else
  22758. pTDefRegMap(@Self)^.&set := $00000400;
  22759. end;
  22760. function TADC10_AD1CON1.getFORM2 : TBits_1; inline;
  22761. begin
  22762. getFORM2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22763. end;
  22764. procedure TADC10_AD1CON1.setADSIDL; inline;
  22765. begin
  22766. pTDefRegMap(@Self)^.&set := $00002000;
  22767. end;
  22768. procedure TADC10_AD1CON1.clearADSIDL; inline;
  22769. begin
  22770. pTDefRegMap(@Self)^.clr := $00002000;
  22771. end;
  22772. procedure TADC10_AD1CON1.setADSIDL(thebits : TBits_1); inline;
  22773. begin
  22774. if thebits = 0 then
  22775. pTDefRegMap(@Self)^.clr := $00002000
  22776. else
  22777. pTDefRegMap(@Self)^.&set := $00002000;
  22778. end;
  22779. function TADC10_AD1CON1.getADSIDL : TBits_1; inline;
  22780. begin
  22781. getADSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  22782. end;
  22783. procedure TADC10_AD1CON1.setADON; inline;
  22784. begin
  22785. pTDefRegMap(@Self)^.&set := $00008000;
  22786. end;
  22787. procedure TADC10_AD1CON1.clearADON; inline;
  22788. begin
  22789. pTDefRegMap(@Self)^.clr := $00008000;
  22790. end;
  22791. procedure TADC10_AD1CON1.setADON(thebits : TBits_1); inline;
  22792. begin
  22793. if thebits = 0 then
  22794. pTDefRegMap(@Self)^.clr := $00008000
  22795. else
  22796. pTDefRegMap(@Self)^.&set := $00008000;
  22797. end;
  22798. function TADC10_AD1CON1.getADON : TBits_1; inline;
  22799. begin
  22800. getADON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  22801. end;
  22802. procedure TADC10_AD1CON1.setw(thebits : TBits_32); inline;
  22803. begin
  22804. pTDefRegMap(@Self)^.val := thebits;
  22805. end;
  22806. function TADC10_AD1CON1.getw : TBits_32; inline;
  22807. begin
  22808. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  22809. end;
  22810. procedure TADC10_AD1CON2.setALTS; inline;
  22811. begin
  22812. pTDefRegMap(@Self)^.&set := $00000001;
  22813. end;
  22814. procedure TADC10_AD1CON2.clearALTS; inline;
  22815. begin
  22816. pTDefRegMap(@Self)^.clr := $00000001;
  22817. end;
  22818. procedure TADC10_AD1CON2.setALTS(thebits : TBits_1); inline;
  22819. begin
  22820. if thebits = 0 then
  22821. pTDefRegMap(@Self)^.clr := $00000001
  22822. else
  22823. pTDefRegMap(@Self)^.&set := $00000001;
  22824. end;
  22825. function TADC10_AD1CON2.getALTS : TBits_1; inline;
  22826. begin
  22827. getALTS := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  22828. end;
  22829. procedure TADC10_AD1CON2.setBUFM; inline;
  22830. begin
  22831. pTDefRegMap(@Self)^.&set := $00000002;
  22832. end;
  22833. procedure TADC10_AD1CON2.clearBUFM; inline;
  22834. begin
  22835. pTDefRegMap(@Self)^.clr := $00000002;
  22836. end;
  22837. procedure TADC10_AD1CON2.setBUFM(thebits : TBits_1); inline;
  22838. begin
  22839. if thebits = 0 then
  22840. pTDefRegMap(@Self)^.clr := $00000002
  22841. else
  22842. pTDefRegMap(@Self)^.&set := $00000002;
  22843. end;
  22844. function TADC10_AD1CON2.getBUFM : TBits_1; inline;
  22845. begin
  22846. getBUFM := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  22847. end;
  22848. procedure TADC10_AD1CON2.setSMPI(thebits : TBits_4); inline;
  22849. begin
  22850. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC3 or ( thebits shl 2 );
  22851. end;
  22852. function TADC10_AD1CON2.getSMPI : TBits_4; inline;
  22853. begin
  22854. getSMPI := (pTDefRegMap(@Self)^.val and $0000003C) shr 2;
  22855. end;
  22856. procedure TADC10_AD1CON2.setBUFS; inline;
  22857. begin
  22858. pTDefRegMap(@Self)^.&set := $00000080;
  22859. end;
  22860. procedure TADC10_AD1CON2.clearBUFS; inline;
  22861. begin
  22862. pTDefRegMap(@Self)^.clr := $00000080;
  22863. end;
  22864. procedure TADC10_AD1CON2.setBUFS(thebits : TBits_1); inline;
  22865. begin
  22866. if thebits = 0 then
  22867. pTDefRegMap(@Self)^.clr := $00000080
  22868. else
  22869. pTDefRegMap(@Self)^.&set := $00000080;
  22870. end;
  22871. function TADC10_AD1CON2.getBUFS : TBits_1; inline;
  22872. begin
  22873. getBUFS := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  22874. end;
  22875. procedure TADC10_AD1CON2.setCSCNA; inline;
  22876. begin
  22877. pTDefRegMap(@Self)^.&set := $00000400;
  22878. end;
  22879. procedure TADC10_AD1CON2.clearCSCNA; inline;
  22880. begin
  22881. pTDefRegMap(@Self)^.clr := $00000400;
  22882. end;
  22883. procedure TADC10_AD1CON2.setCSCNA(thebits : TBits_1); inline;
  22884. begin
  22885. if thebits = 0 then
  22886. pTDefRegMap(@Self)^.clr := $00000400
  22887. else
  22888. pTDefRegMap(@Self)^.&set := $00000400;
  22889. end;
  22890. function TADC10_AD1CON2.getCSCNA : TBits_1; inline;
  22891. begin
  22892. getCSCNA := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  22893. end;
  22894. procedure TADC10_AD1CON2.setOFFCAL; inline;
  22895. begin
  22896. pTDefRegMap(@Self)^.&set := $00001000;
  22897. end;
  22898. procedure TADC10_AD1CON2.clearOFFCAL; inline;
  22899. begin
  22900. pTDefRegMap(@Self)^.clr := $00001000;
  22901. end;
  22902. procedure TADC10_AD1CON2.setOFFCAL(thebits : TBits_1); inline;
  22903. begin
  22904. if thebits = 0 then
  22905. pTDefRegMap(@Self)^.clr := $00001000
  22906. else
  22907. pTDefRegMap(@Self)^.&set := $00001000;
  22908. end;
  22909. function TADC10_AD1CON2.getOFFCAL : TBits_1; inline;
  22910. begin
  22911. getOFFCAL := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  22912. end;
  22913. procedure TADC10_AD1CON2.setVCFG(thebits : TBits_3); inline;
  22914. begin
  22915. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF1FFF or ( thebits shl 13 );
  22916. end;
  22917. function TADC10_AD1CON2.getVCFG : TBits_3; inline;
  22918. begin
  22919. getVCFG := (pTDefRegMap(@Self)^.val and $0000E000) shr 13;
  22920. end;
  22921. procedure TADC10_AD1CON2.setSMPI0; inline;
  22922. begin
  22923. pTDefRegMap(@Self)^.&set := $00000004;
  22924. end;
  22925. procedure TADC10_AD1CON2.clearSMPI0; inline;
  22926. begin
  22927. pTDefRegMap(@Self)^.clr := $00000004;
  22928. end;
  22929. procedure TADC10_AD1CON2.setSMPI0(thebits : TBits_1); inline;
  22930. begin
  22931. if thebits = 0 then
  22932. pTDefRegMap(@Self)^.clr := $00000004
  22933. else
  22934. pTDefRegMap(@Self)^.&set := $00000004;
  22935. end;
  22936. function TADC10_AD1CON2.getSMPI0 : TBits_1; inline;
  22937. begin
  22938. getSMPI0 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  22939. end;
  22940. procedure TADC10_AD1CON2.setSMPI1; inline;
  22941. begin
  22942. pTDefRegMap(@Self)^.&set := $00000008;
  22943. end;
  22944. procedure TADC10_AD1CON2.clearSMPI1; inline;
  22945. begin
  22946. pTDefRegMap(@Self)^.clr := $00000008;
  22947. end;
  22948. procedure TADC10_AD1CON2.setSMPI1(thebits : TBits_1); inline;
  22949. begin
  22950. if thebits = 0 then
  22951. pTDefRegMap(@Self)^.clr := $00000008
  22952. else
  22953. pTDefRegMap(@Self)^.&set := $00000008;
  22954. end;
  22955. function TADC10_AD1CON2.getSMPI1 : TBits_1; inline;
  22956. begin
  22957. getSMPI1 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  22958. end;
  22959. procedure TADC10_AD1CON2.setSMPI2; inline;
  22960. begin
  22961. pTDefRegMap(@Self)^.&set := $00000010;
  22962. end;
  22963. procedure TADC10_AD1CON2.clearSMPI2; inline;
  22964. begin
  22965. pTDefRegMap(@Self)^.clr := $00000010;
  22966. end;
  22967. procedure TADC10_AD1CON2.setSMPI2(thebits : TBits_1); inline;
  22968. begin
  22969. if thebits = 0 then
  22970. pTDefRegMap(@Self)^.clr := $00000010
  22971. else
  22972. pTDefRegMap(@Self)^.&set := $00000010;
  22973. end;
  22974. function TADC10_AD1CON2.getSMPI2 : TBits_1; inline;
  22975. begin
  22976. getSMPI2 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  22977. end;
  22978. procedure TADC10_AD1CON2.setSMPI3; inline;
  22979. begin
  22980. pTDefRegMap(@Self)^.&set := $00000020;
  22981. end;
  22982. procedure TADC10_AD1CON2.clearSMPI3; inline;
  22983. begin
  22984. pTDefRegMap(@Self)^.clr := $00000020;
  22985. end;
  22986. procedure TADC10_AD1CON2.setSMPI3(thebits : TBits_1); inline;
  22987. begin
  22988. if thebits = 0 then
  22989. pTDefRegMap(@Self)^.clr := $00000020
  22990. else
  22991. pTDefRegMap(@Self)^.&set := $00000020;
  22992. end;
  22993. function TADC10_AD1CON2.getSMPI3 : TBits_1; inline;
  22994. begin
  22995. getSMPI3 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  22996. end;
  22997. procedure TADC10_AD1CON2.setVCFG0; inline;
  22998. begin
  22999. pTDefRegMap(@Self)^.&set := $00002000;
  23000. end;
  23001. procedure TADC10_AD1CON2.clearVCFG0; inline;
  23002. begin
  23003. pTDefRegMap(@Self)^.clr := $00002000;
  23004. end;
  23005. procedure TADC10_AD1CON2.setVCFG0(thebits : TBits_1); inline;
  23006. begin
  23007. if thebits = 0 then
  23008. pTDefRegMap(@Self)^.clr := $00002000
  23009. else
  23010. pTDefRegMap(@Self)^.&set := $00002000;
  23011. end;
  23012. function TADC10_AD1CON2.getVCFG0 : TBits_1; inline;
  23013. begin
  23014. getVCFG0 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23015. end;
  23016. procedure TADC10_AD1CON2.setVCFG1; inline;
  23017. begin
  23018. pTDefRegMap(@Self)^.&set := $00004000;
  23019. end;
  23020. procedure TADC10_AD1CON2.clearVCFG1; inline;
  23021. begin
  23022. pTDefRegMap(@Self)^.clr := $00004000;
  23023. end;
  23024. procedure TADC10_AD1CON2.setVCFG1(thebits : TBits_1); inline;
  23025. begin
  23026. if thebits = 0 then
  23027. pTDefRegMap(@Self)^.clr := $00004000
  23028. else
  23029. pTDefRegMap(@Self)^.&set := $00004000;
  23030. end;
  23031. function TADC10_AD1CON2.getVCFG1 : TBits_1; inline;
  23032. begin
  23033. getVCFG1 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23034. end;
  23035. procedure TADC10_AD1CON2.setVCFG2; inline;
  23036. begin
  23037. pTDefRegMap(@Self)^.&set := $00008000;
  23038. end;
  23039. procedure TADC10_AD1CON2.clearVCFG2; inline;
  23040. begin
  23041. pTDefRegMap(@Self)^.clr := $00008000;
  23042. end;
  23043. procedure TADC10_AD1CON2.setVCFG2(thebits : TBits_1); inline;
  23044. begin
  23045. if thebits = 0 then
  23046. pTDefRegMap(@Self)^.clr := $00008000
  23047. else
  23048. pTDefRegMap(@Self)^.&set := $00008000;
  23049. end;
  23050. function TADC10_AD1CON2.getVCFG2 : TBits_1; inline;
  23051. begin
  23052. getVCFG2 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23053. end;
  23054. procedure TADC10_AD1CON2.setw(thebits : TBits_32); inline;
  23055. begin
  23056. pTDefRegMap(@Self)^.val := thebits;
  23057. end;
  23058. function TADC10_AD1CON2.getw : TBits_32; inline;
  23059. begin
  23060. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23061. end;
  23062. procedure TADC10_AD1CON3.setADCS(thebits : TBits_8); inline;
  23063. begin
  23064. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  23065. end;
  23066. function TADC10_AD1CON3.getADCS : TBits_8; inline;
  23067. begin
  23068. getADCS := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  23069. end;
  23070. procedure TADC10_AD1CON3.setSAMC(thebits : TBits_5); inline;
  23071. begin
  23072. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  23073. end;
  23074. function TADC10_AD1CON3.getSAMC : TBits_5; inline;
  23075. begin
  23076. getSAMC := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  23077. end;
  23078. procedure TADC10_AD1CON3.setADRC; inline;
  23079. begin
  23080. pTDefRegMap(@Self)^.&set := $00008000;
  23081. end;
  23082. procedure TADC10_AD1CON3.clearADRC; inline;
  23083. begin
  23084. pTDefRegMap(@Self)^.clr := $00008000;
  23085. end;
  23086. procedure TADC10_AD1CON3.setADRC(thebits : TBits_1); inline;
  23087. begin
  23088. if thebits = 0 then
  23089. pTDefRegMap(@Self)^.clr := $00008000
  23090. else
  23091. pTDefRegMap(@Self)^.&set := $00008000;
  23092. end;
  23093. function TADC10_AD1CON3.getADRC : TBits_1; inline;
  23094. begin
  23095. getADRC := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23096. end;
  23097. procedure TADC10_AD1CON3.setADCS0; inline;
  23098. begin
  23099. pTDefRegMap(@Self)^.&set := $00000001;
  23100. end;
  23101. procedure TADC10_AD1CON3.clearADCS0; inline;
  23102. begin
  23103. pTDefRegMap(@Self)^.clr := $00000001;
  23104. end;
  23105. procedure TADC10_AD1CON3.setADCS0(thebits : TBits_1); inline;
  23106. begin
  23107. if thebits = 0 then
  23108. pTDefRegMap(@Self)^.clr := $00000001
  23109. else
  23110. pTDefRegMap(@Self)^.&set := $00000001;
  23111. end;
  23112. function TADC10_AD1CON3.getADCS0 : TBits_1; inline;
  23113. begin
  23114. getADCS0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23115. end;
  23116. procedure TADC10_AD1CON3.setADCS1; inline;
  23117. begin
  23118. pTDefRegMap(@Self)^.&set := $00000002;
  23119. end;
  23120. procedure TADC10_AD1CON3.clearADCS1; inline;
  23121. begin
  23122. pTDefRegMap(@Self)^.clr := $00000002;
  23123. end;
  23124. procedure TADC10_AD1CON3.setADCS1(thebits : TBits_1); inline;
  23125. begin
  23126. if thebits = 0 then
  23127. pTDefRegMap(@Self)^.clr := $00000002
  23128. else
  23129. pTDefRegMap(@Self)^.&set := $00000002;
  23130. end;
  23131. function TADC10_AD1CON3.getADCS1 : TBits_1; inline;
  23132. begin
  23133. getADCS1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23134. end;
  23135. procedure TADC10_AD1CON3.setADCS2; inline;
  23136. begin
  23137. pTDefRegMap(@Self)^.&set := $00000004;
  23138. end;
  23139. procedure TADC10_AD1CON3.clearADCS2; inline;
  23140. begin
  23141. pTDefRegMap(@Self)^.clr := $00000004;
  23142. end;
  23143. procedure TADC10_AD1CON3.setADCS2(thebits : TBits_1); inline;
  23144. begin
  23145. if thebits = 0 then
  23146. pTDefRegMap(@Self)^.clr := $00000004
  23147. else
  23148. pTDefRegMap(@Self)^.&set := $00000004;
  23149. end;
  23150. function TADC10_AD1CON3.getADCS2 : TBits_1; inline;
  23151. begin
  23152. getADCS2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23153. end;
  23154. procedure TADC10_AD1CON3.setADCS3; inline;
  23155. begin
  23156. pTDefRegMap(@Self)^.&set := $00000008;
  23157. end;
  23158. procedure TADC10_AD1CON3.clearADCS3; inline;
  23159. begin
  23160. pTDefRegMap(@Self)^.clr := $00000008;
  23161. end;
  23162. procedure TADC10_AD1CON3.setADCS3(thebits : TBits_1); inline;
  23163. begin
  23164. if thebits = 0 then
  23165. pTDefRegMap(@Self)^.clr := $00000008
  23166. else
  23167. pTDefRegMap(@Self)^.&set := $00000008;
  23168. end;
  23169. function TADC10_AD1CON3.getADCS3 : TBits_1; inline;
  23170. begin
  23171. getADCS3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23172. end;
  23173. procedure TADC10_AD1CON3.setADCS4; inline;
  23174. begin
  23175. pTDefRegMap(@Self)^.&set := $00000010;
  23176. end;
  23177. procedure TADC10_AD1CON3.clearADCS4; inline;
  23178. begin
  23179. pTDefRegMap(@Self)^.clr := $00000010;
  23180. end;
  23181. procedure TADC10_AD1CON3.setADCS4(thebits : TBits_1); inline;
  23182. begin
  23183. if thebits = 0 then
  23184. pTDefRegMap(@Self)^.clr := $00000010
  23185. else
  23186. pTDefRegMap(@Self)^.&set := $00000010;
  23187. end;
  23188. function TADC10_AD1CON3.getADCS4 : TBits_1; inline;
  23189. begin
  23190. getADCS4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23191. end;
  23192. procedure TADC10_AD1CON3.setADCS5; inline;
  23193. begin
  23194. pTDefRegMap(@Self)^.&set := $00000020;
  23195. end;
  23196. procedure TADC10_AD1CON3.clearADCS5; inline;
  23197. begin
  23198. pTDefRegMap(@Self)^.clr := $00000020;
  23199. end;
  23200. procedure TADC10_AD1CON3.setADCS5(thebits : TBits_1); inline;
  23201. begin
  23202. if thebits = 0 then
  23203. pTDefRegMap(@Self)^.clr := $00000020
  23204. else
  23205. pTDefRegMap(@Self)^.&set := $00000020;
  23206. end;
  23207. function TADC10_AD1CON3.getADCS5 : TBits_1; inline;
  23208. begin
  23209. getADCS5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23210. end;
  23211. procedure TADC10_AD1CON3.setADCS6; inline;
  23212. begin
  23213. pTDefRegMap(@Self)^.&set := $00000040;
  23214. end;
  23215. procedure TADC10_AD1CON3.clearADCS6; inline;
  23216. begin
  23217. pTDefRegMap(@Self)^.clr := $00000040;
  23218. end;
  23219. procedure TADC10_AD1CON3.setADCS6(thebits : TBits_1); inline;
  23220. begin
  23221. if thebits = 0 then
  23222. pTDefRegMap(@Self)^.clr := $00000040
  23223. else
  23224. pTDefRegMap(@Self)^.&set := $00000040;
  23225. end;
  23226. function TADC10_AD1CON3.getADCS6 : TBits_1; inline;
  23227. begin
  23228. getADCS6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23229. end;
  23230. procedure TADC10_AD1CON3.setADCS7; inline;
  23231. begin
  23232. pTDefRegMap(@Self)^.&set := $00000080;
  23233. end;
  23234. procedure TADC10_AD1CON3.clearADCS7; inline;
  23235. begin
  23236. pTDefRegMap(@Self)^.clr := $00000080;
  23237. end;
  23238. procedure TADC10_AD1CON3.setADCS7(thebits : TBits_1); inline;
  23239. begin
  23240. if thebits = 0 then
  23241. pTDefRegMap(@Self)^.clr := $00000080
  23242. else
  23243. pTDefRegMap(@Self)^.&set := $00000080;
  23244. end;
  23245. function TADC10_AD1CON3.getADCS7 : TBits_1; inline;
  23246. begin
  23247. getADCS7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23248. end;
  23249. procedure TADC10_AD1CON3.setSAMC0; inline;
  23250. begin
  23251. pTDefRegMap(@Self)^.&set := $00000100;
  23252. end;
  23253. procedure TADC10_AD1CON3.clearSAMC0; inline;
  23254. begin
  23255. pTDefRegMap(@Self)^.clr := $00000100;
  23256. end;
  23257. procedure TADC10_AD1CON3.setSAMC0(thebits : TBits_1); inline;
  23258. begin
  23259. if thebits = 0 then
  23260. pTDefRegMap(@Self)^.clr := $00000100
  23261. else
  23262. pTDefRegMap(@Self)^.&set := $00000100;
  23263. end;
  23264. function TADC10_AD1CON3.getSAMC0 : TBits_1; inline;
  23265. begin
  23266. getSAMC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23267. end;
  23268. procedure TADC10_AD1CON3.setSAMC1; inline;
  23269. begin
  23270. pTDefRegMap(@Self)^.&set := $00000200;
  23271. end;
  23272. procedure TADC10_AD1CON3.clearSAMC1; inline;
  23273. begin
  23274. pTDefRegMap(@Self)^.clr := $00000200;
  23275. end;
  23276. procedure TADC10_AD1CON3.setSAMC1(thebits : TBits_1); inline;
  23277. begin
  23278. if thebits = 0 then
  23279. pTDefRegMap(@Self)^.clr := $00000200
  23280. else
  23281. pTDefRegMap(@Self)^.&set := $00000200;
  23282. end;
  23283. function TADC10_AD1CON3.getSAMC1 : TBits_1; inline;
  23284. begin
  23285. getSAMC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23286. end;
  23287. procedure TADC10_AD1CON3.setSAMC2; inline;
  23288. begin
  23289. pTDefRegMap(@Self)^.&set := $00000400;
  23290. end;
  23291. procedure TADC10_AD1CON3.clearSAMC2; inline;
  23292. begin
  23293. pTDefRegMap(@Self)^.clr := $00000400;
  23294. end;
  23295. procedure TADC10_AD1CON3.setSAMC2(thebits : TBits_1); inline;
  23296. begin
  23297. if thebits = 0 then
  23298. pTDefRegMap(@Self)^.clr := $00000400
  23299. else
  23300. pTDefRegMap(@Self)^.&set := $00000400;
  23301. end;
  23302. function TADC10_AD1CON3.getSAMC2 : TBits_1; inline;
  23303. begin
  23304. getSAMC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23305. end;
  23306. procedure TADC10_AD1CON3.setSAMC3; inline;
  23307. begin
  23308. pTDefRegMap(@Self)^.&set := $00000800;
  23309. end;
  23310. procedure TADC10_AD1CON3.clearSAMC3; inline;
  23311. begin
  23312. pTDefRegMap(@Self)^.clr := $00000800;
  23313. end;
  23314. procedure TADC10_AD1CON3.setSAMC3(thebits : TBits_1); inline;
  23315. begin
  23316. if thebits = 0 then
  23317. pTDefRegMap(@Self)^.clr := $00000800
  23318. else
  23319. pTDefRegMap(@Self)^.&set := $00000800;
  23320. end;
  23321. function TADC10_AD1CON3.getSAMC3 : TBits_1; inline;
  23322. begin
  23323. getSAMC3 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23324. end;
  23325. procedure TADC10_AD1CON3.setSAMC4; inline;
  23326. begin
  23327. pTDefRegMap(@Self)^.&set := $00001000;
  23328. end;
  23329. procedure TADC10_AD1CON3.clearSAMC4; inline;
  23330. begin
  23331. pTDefRegMap(@Self)^.clr := $00001000;
  23332. end;
  23333. procedure TADC10_AD1CON3.setSAMC4(thebits : TBits_1); inline;
  23334. begin
  23335. if thebits = 0 then
  23336. pTDefRegMap(@Self)^.clr := $00001000
  23337. else
  23338. pTDefRegMap(@Self)^.&set := $00001000;
  23339. end;
  23340. function TADC10_AD1CON3.getSAMC4 : TBits_1; inline;
  23341. begin
  23342. getSAMC4 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23343. end;
  23344. procedure TADC10_AD1CON3.setw(thebits : TBits_32); inline;
  23345. begin
  23346. pTDefRegMap(@Self)^.val := thebits;
  23347. end;
  23348. function TADC10_AD1CON3.getw : TBits_32; inline;
  23349. begin
  23350. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23351. end;
  23352. procedure TADC10_AD1CHS.setCH0SA(thebits : TBits_4); inline;
  23353. begin
  23354. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF0FFFF or ( thebits shl 16 );
  23355. end;
  23356. function TADC10_AD1CHS.getCH0SA : TBits_4; inline;
  23357. begin
  23358. getCH0SA := (pTDefRegMap(@Self)^.val and $000F0000) shr 16;
  23359. end;
  23360. procedure TADC10_AD1CHS.setCH0NA; inline;
  23361. begin
  23362. pTDefRegMap(@Self)^.&set := $00800000;
  23363. end;
  23364. procedure TADC10_AD1CHS.clearCH0NA; inline;
  23365. begin
  23366. pTDefRegMap(@Self)^.clr := $00800000;
  23367. end;
  23368. procedure TADC10_AD1CHS.setCH0NA(thebits : TBits_1); inline;
  23369. begin
  23370. if thebits = 0 then
  23371. pTDefRegMap(@Self)^.clr := $00800000
  23372. else
  23373. pTDefRegMap(@Self)^.&set := $00800000;
  23374. end;
  23375. function TADC10_AD1CHS.getCH0NA : TBits_1; inline;
  23376. begin
  23377. getCH0NA := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  23378. end;
  23379. procedure TADC10_AD1CHS.setCH0SB(thebits : TBits_4); inline;
  23380. begin
  23381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F0FFFFFF or ( thebits shl 24 );
  23382. end;
  23383. function TADC10_AD1CHS.getCH0SB : TBits_4; inline;
  23384. begin
  23385. getCH0SB := (pTDefRegMap(@Self)^.val and $0F000000) shr 24;
  23386. end;
  23387. procedure TADC10_AD1CHS.setCH0NB; inline;
  23388. begin
  23389. pTDefRegMap(@Self)^.&set := $80000000;
  23390. end;
  23391. procedure TADC10_AD1CHS.clearCH0NB; inline;
  23392. begin
  23393. pTDefRegMap(@Self)^.clr := $80000000;
  23394. end;
  23395. procedure TADC10_AD1CHS.setCH0NB(thebits : TBits_1); inline;
  23396. begin
  23397. if thebits = 0 then
  23398. pTDefRegMap(@Self)^.clr := $80000000
  23399. else
  23400. pTDefRegMap(@Self)^.&set := $80000000;
  23401. end;
  23402. function TADC10_AD1CHS.getCH0NB : TBits_1; inline;
  23403. begin
  23404. getCH0NB := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  23405. end;
  23406. procedure TADC10_AD1CHS.setCH0SA0; inline;
  23407. begin
  23408. pTDefRegMap(@Self)^.&set := $00010000;
  23409. end;
  23410. procedure TADC10_AD1CHS.clearCH0SA0; inline;
  23411. begin
  23412. pTDefRegMap(@Self)^.clr := $00010000;
  23413. end;
  23414. procedure TADC10_AD1CHS.setCH0SA0(thebits : TBits_1); inline;
  23415. begin
  23416. if thebits = 0 then
  23417. pTDefRegMap(@Self)^.clr := $00010000
  23418. else
  23419. pTDefRegMap(@Self)^.&set := $00010000;
  23420. end;
  23421. function TADC10_AD1CHS.getCH0SA0 : TBits_1; inline;
  23422. begin
  23423. getCH0SA0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  23424. end;
  23425. procedure TADC10_AD1CHS.setCH0SA1; inline;
  23426. begin
  23427. pTDefRegMap(@Self)^.&set := $00020000;
  23428. end;
  23429. procedure TADC10_AD1CHS.clearCH0SA1; inline;
  23430. begin
  23431. pTDefRegMap(@Self)^.clr := $00020000;
  23432. end;
  23433. procedure TADC10_AD1CHS.setCH0SA1(thebits : TBits_1); inline;
  23434. begin
  23435. if thebits = 0 then
  23436. pTDefRegMap(@Self)^.clr := $00020000
  23437. else
  23438. pTDefRegMap(@Self)^.&set := $00020000;
  23439. end;
  23440. function TADC10_AD1CHS.getCH0SA1 : TBits_1; inline;
  23441. begin
  23442. getCH0SA1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  23443. end;
  23444. procedure TADC10_AD1CHS.setCH0SA2; inline;
  23445. begin
  23446. pTDefRegMap(@Self)^.&set := $00040000;
  23447. end;
  23448. procedure TADC10_AD1CHS.clearCH0SA2; inline;
  23449. begin
  23450. pTDefRegMap(@Self)^.clr := $00040000;
  23451. end;
  23452. procedure TADC10_AD1CHS.setCH0SA2(thebits : TBits_1); inline;
  23453. begin
  23454. if thebits = 0 then
  23455. pTDefRegMap(@Self)^.clr := $00040000
  23456. else
  23457. pTDefRegMap(@Self)^.&set := $00040000;
  23458. end;
  23459. function TADC10_AD1CHS.getCH0SA2 : TBits_1; inline;
  23460. begin
  23461. getCH0SA2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  23462. end;
  23463. procedure TADC10_AD1CHS.setCH0SA3; inline;
  23464. begin
  23465. pTDefRegMap(@Self)^.&set := $00080000;
  23466. end;
  23467. procedure TADC10_AD1CHS.clearCH0SA3; inline;
  23468. begin
  23469. pTDefRegMap(@Self)^.clr := $00080000;
  23470. end;
  23471. procedure TADC10_AD1CHS.setCH0SA3(thebits : TBits_1); inline;
  23472. begin
  23473. if thebits = 0 then
  23474. pTDefRegMap(@Self)^.clr := $00080000
  23475. else
  23476. pTDefRegMap(@Self)^.&set := $00080000;
  23477. end;
  23478. function TADC10_AD1CHS.getCH0SA3 : TBits_1; inline;
  23479. begin
  23480. getCH0SA3 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  23481. end;
  23482. procedure TADC10_AD1CHS.setCH0SB0; inline;
  23483. begin
  23484. pTDefRegMap(@Self)^.&set := $01000000;
  23485. end;
  23486. procedure TADC10_AD1CHS.clearCH0SB0; inline;
  23487. begin
  23488. pTDefRegMap(@Self)^.clr := $01000000;
  23489. end;
  23490. procedure TADC10_AD1CHS.setCH0SB0(thebits : TBits_1); inline;
  23491. begin
  23492. if thebits = 0 then
  23493. pTDefRegMap(@Self)^.clr := $01000000
  23494. else
  23495. pTDefRegMap(@Self)^.&set := $01000000;
  23496. end;
  23497. function TADC10_AD1CHS.getCH0SB0 : TBits_1; inline;
  23498. begin
  23499. getCH0SB0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  23500. end;
  23501. procedure TADC10_AD1CHS.setCH0SB1; inline;
  23502. begin
  23503. pTDefRegMap(@Self)^.&set := $02000000;
  23504. end;
  23505. procedure TADC10_AD1CHS.clearCH0SB1; inline;
  23506. begin
  23507. pTDefRegMap(@Self)^.clr := $02000000;
  23508. end;
  23509. procedure TADC10_AD1CHS.setCH0SB1(thebits : TBits_1); inline;
  23510. begin
  23511. if thebits = 0 then
  23512. pTDefRegMap(@Self)^.clr := $02000000
  23513. else
  23514. pTDefRegMap(@Self)^.&set := $02000000;
  23515. end;
  23516. function TADC10_AD1CHS.getCH0SB1 : TBits_1; inline;
  23517. begin
  23518. getCH0SB1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  23519. end;
  23520. procedure TADC10_AD1CHS.setCH0SB2; inline;
  23521. begin
  23522. pTDefRegMap(@Self)^.&set := $04000000;
  23523. end;
  23524. procedure TADC10_AD1CHS.clearCH0SB2; inline;
  23525. begin
  23526. pTDefRegMap(@Self)^.clr := $04000000;
  23527. end;
  23528. procedure TADC10_AD1CHS.setCH0SB2(thebits : TBits_1); inline;
  23529. begin
  23530. if thebits = 0 then
  23531. pTDefRegMap(@Self)^.clr := $04000000
  23532. else
  23533. pTDefRegMap(@Self)^.&set := $04000000;
  23534. end;
  23535. function TADC10_AD1CHS.getCH0SB2 : TBits_1; inline;
  23536. begin
  23537. getCH0SB2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  23538. end;
  23539. procedure TADC10_AD1CHS.setCH0SB3; inline;
  23540. begin
  23541. pTDefRegMap(@Self)^.&set := $08000000;
  23542. end;
  23543. procedure TADC10_AD1CHS.clearCH0SB3; inline;
  23544. begin
  23545. pTDefRegMap(@Self)^.clr := $08000000;
  23546. end;
  23547. procedure TADC10_AD1CHS.setCH0SB3(thebits : TBits_1); inline;
  23548. begin
  23549. if thebits = 0 then
  23550. pTDefRegMap(@Self)^.clr := $08000000
  23551. else
  23552. pTDefRegMap(@Self)^.&set := $08000000;
  23553. end;
  23554. function TADC10_AD1CHS.getCH0SB3 : TBits_1; inline;
  23555. begin
  23556. getCH0SB3 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  23557. end;
  23558. procedure TADC10_AD1CHS.setw(thebits : TBits_32); inline;
  23559. begin
  23560. pTDefRegMap(@Self)^.val := thebits;
  23561. end;
  23562. function TADC10_AD1CHS.getw : TBits_32; inline;
  23563. begin
  23564. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23565. end;
  23566. procedure TADC10_AD1CSSL.setCSSL(thebits : TBits_16); inline;
  23567. begin
  23568. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  23569. end;
  23570. function TADC10_AD1CSSL.getCSSL : TBits_16; inline;
  23571. begin
  23572. getCSSL := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  23573. end;
  23574. procedure TADC10_AD1CSSL.setCSSL0; inline;
  23575. begin
  23576. pTDefRegMap(@Self)^.&set := $00000001;
  23577. end;
  23578. procedure TADC10_AD1CSSL.clearCSSL0; inline;
  23579. begin
  23580. pTDefRegMap(@Self)^.clr := $00000001;
  23581. end;
  23582. procedure TADC10_AD1CSSL.setCSSL0(thebits : TBits_1); inline;
  23583. begin
  23584. if thebits = 0 then
  23585. pTDefRegMap(@Self)^.clr := $00000001
  23586. else
  23587. pTDefRegMap(@Self)^.&set := $00000001;
  23588. end;
  23589. function TADC10_AD1CSSL.getCSSL0 : TBits_1; inline;
  23590. begin
  23591. getCSSL0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23592. end;
  23593. procedure TADC10_AD1CSSL.setCSSL1; inline;
  23594. begin
  23595. pTDefRegMap(@Self)^.&set := $00000002;
  23596. end;
  23597. procedure TADC10_AD1CSSL.clearCSSL1; inline;
  23598. begin
  23599. pTDefRegMap(@Self)^.clr := $00000002;
  23600. end;
  23601. procedure TADC10_AD1CSSL.setCSSL1(thebits : TBits_1); inline;
  23602. begin
  23603. if thebits = 0 then
  23604. pTDefRegMap(@Self)^.clr := $00000002
  23605. else
  23606. pTDefRegMap(@Self)^.&set := $00000002;
  23607. end;
  23608. function TADC10_AD1CSSL.getCSSL1 : TBits_1; inline;
  23609. begin
  23610. getCSSL1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  23611. end;
  23612. procedure TADC10_AD1CSSL.setCSSL2; inline;
  23613. begin
  23614. pTDefRegMap(@Self)^.&set := $00000004;
  23615. end;
  23616. procedure TADC10_AD1CSSL.clearCSSL2; inline;
  23617. begin
  23618. pTDefRegMap(@Self)^.clr := $00000004;
  23619. end;
  23620. procedure TADC10_AD1CSSL.setCSSL2(thebits : TBits_1); inline;
  23621. begin
  23622. if thebits = 0 then
  23623. pTDefRegMap(@Self)^.clr := $00000004
  23624. else
  23625. pTDefRegMap(@Self)^.&set := $00000004;
  23626. end;
  23627. function TADC10_AD1CSSL.getCSSL2 : TBits_1; inline;
  23628. begin
  23629. getCSSL2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  23630. end;
  23631. procedure TADC10_AD1CSSL.setCSSL3; inline;
  23632. begin
  23633. pTDefRegMap(@Self)^.&set := $00000008;
  23634. end;
  23635. procedure TADC10_AD1CSSL.clearCSSL3; inline;
  23636. begin
  23637. pTDefRegMap(@Self)^.clr := $00000008;
  23638. end;
  23639. procedure TADC10_AD1CSSL.setCSSL3(thebits : TBits_1); inline;
  23640. begin
  23641. if thebits = 0 then
  23642. pTDefRegMap(@Self)^.clr := $00000008
  23643. else
  23644. pTDefRegMap(@Self)^.&set := $00000008;
  23645. end;
  23646. function TADC10_AD1CSSL.getCSSL3 : TBits_1; inline;
  23647. begin
  23648. getCSSL3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  23649. end;
  23650. procedure TADC10_AD1CSSL.setCSSL4; inline;
  23651. begin
  23652. pTDefRegMap(@Self)^.&set := $00000010;
  23653. end;
  23654. procedure TADC10_AD1CSSL.clearCSSL4; inline;
  23655. begin
  23656. pTDefRegMap(@Self)^.clr := $00000010;
  23657. end;
  23658. procedure TADC10_AD1CSSL.setCSSL4(thebits : TBits_1); inline;
  23659. begin
  23660. if thebits = 0 then
  23661. pTDefRegMap(@Self)^.clr := $00000010
  23662. else
  23663. pTDefRegMap(@Self)^.&set := $00000010;
  23664. end;
  23665. function TADC10_AD1CSSL.getCSSL4 : TBits_1; inline;
  23666. begin
  23667. getCSSL4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23668. end;
  23669. procedure TADC10_AD1CSSL.setCSSL5; inline;
  23670. begin
  23671. pTDefRegMap(@Self)^.&set := $00000020;
  23672. end;
  23673. procedure TADC10_AD1CSSL.clearCSSL5; inline;
  23674. begin
  23675. pTDefRegMap(@Self)^.clr := $00000020;
  23676. end;
  23677. procedure TADC10_AD1CSSL.setCSSL5(thebits : TBits_1); inline;
  23678. begin
  23679. if thebits = 0 then
  23680. pTDefRegMap(@Self)^.clr := $00000020
  23681. else
  23682. pTDefRegMap(@Self)^.&set := $00000020;
  23683. end;
  23684. function TADC10_AD1CSSL.getCSSL5 : TBits_1; inline;
  23685. begin
  23686. getCSSL5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23687. end;
  23688. procedure TADC10_AD1CSSL.setCSSL6; inline;
  23689. begin
  23690. pTDefRegMap(@Self)^.&set := $00000040;
  23691. end;
  23692. procedure TADC10_AD1CSSL.clearCSSL6; inline;
  23693. begin
  23694. pTDefRegMap(@Self)^.clr := $00000040;
  23695. end;
  23696. procedure TADC10_AD1CSSL.setCSSL6(thebits : TBits_1); inline;
  23697. begin
  23698. if thebits = 0 then
  23699. pTDefRegMap(@Self)^.clr := $00000040
  23700. else
  23701. pTDefRegMap(@Self)^.&set := $00000040;
  23702. end;
  23703. function TADC10_AD1CSSL.getCSSL6 : TBits_1; inline;
  23704. begin
  23705. getCSSL6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23706. end;
  23707. procedure TADC10_AD1CSSL.setCSSL7; inline;
  23708. begin
  23709. pTDefRegMap(@Self)^.&set := $00000080;
  23710. end;
  23711. procedure TADC10_AD1CSSL.clearCSSL7; inline;
  23712. begin
  23713. pTDefRegMap(@Self)^.clr := $00000080;
  23714. end;
  23715. procedure TADC10_AD1CSSL.setCSSL7(thebits : TBits_1); inline;
  23716. begin
  23717. if thebits = 0 then
  23718. pTDefRegMap(@Self)^.clr := $00000080
  23719. else
  23720. pTDefRegMap(@Self)^.&set := $00000080;
  23721. end;
  23722. function TADC10_AD1CSSL.getCSSL7 : TBits_1; inline;
  23723. begin
  23724. getCSSL7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  23725. end;
  23726. procedure TADC10_AD1CSSL.setCSSL8; inline;
  23727. begin
  23728. pTDefRegMap(@Self)^.&set := $00000100;
  23729. end;
  23730. procedure TADC10_AD1CSSL.clearCSSL8; inline;
  23731. begin
  23732. pTDefRegMap(@Self)^.clr := $00000100;
  23733. end;
  23734. procedure TADC10_AD1CSSL.setCSSL8(thebits : TBits_1); inline;
  23735. begin
  23736. if thebits = 0 then
  23737. pTDefRegMap(@Self)^.clr := $00000100
  23738. else
  23739. pTDefRegMap(@Self)^.&set := $00000100;
  23740. end;
  23741. function TADC10_AD1CSSL.getCSSL8 : TBits_1; inline;
  23742. begin
  23743. getCSSL8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  23744. end;
  23745. procedure TADC10_AD1CSSL.setCSSL9; inline;
  23746. begin
  23747. pTDefRegMap(@Self)^.&set := $00000200;
  23748. end;
  23749. procedure TADC10_AD1CSSL.clearCSSL9; inline;
  23750. begin
  23751. pTDefRegMap(@Self)^.clr := $00000200;
  23752. end;
  23753. procedure TADC10_AD1CSSL.setCSSL9(thebits : TBits_1); inline;
  23754. begin
  23755. if thebits = 0 then
  23756. pTDefRegMap(@Self)^.clr := $00000200
  23757. else
  23758. pTDefRegMap(@Self)^.&set := $00000200;
  23759. end;
  23760. function TADC10_AD1CSSL.getCSSL9 : TBits_1; inline;
  23761. begin
  23762. getCSSL9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  23763. end;
  23764. procedure TADC10_AD1CSSL.setCSSL10; inline;
  23765. begin
  23766. pTDefRegMap(@Self)^.&set := $00000400;
  23767. end;
  23768. procedure TADC10_AD1CSSL.clearCSSL10; inline;
  23769. begin
  23770. pTDefRegMap(@Self)^.clr := $00000400;
  23771. end;
  23772. procedure TADC10_AD1CSSL.setCSSL10(thebits : TBits_1); inline;
  23773. begin
  23774. if thebits = 0 then
  23775. pTDefRegMap(@Self)^.clr := $00000400
  23776. else
  23777. pTDefRegMap(@Self)^.&set := $00000400;
  23778. end;
  23779. function TADC10_AD1CSSL.getCSSL10 : TBits_1; inline;
  23780. begin
  23781. getCSSL10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  23782. end;
  23783. procedure TADC10_AD1CSSL.setCSSL11; inline;
  23784. begin
  23785. pTDefRegMap(@Self)^.&set := $00000800;
  23786. end;
  23787. procedure TADC10_AD1CSSL.clearCSSL11; inline;
  23788. begin
  23789. pTDefRegMap(@Self)^.clr := $00000800;
  23790. end;
  23791. procedure TADC10_AD1CSSL.setCSSL11(thebits : TBits_1); inline;
  23792. begin
  23793. if thebits = 0 then
  23794. pTDefRegMap(@Self)^.clr := $00000800
  23795. else
  23796. pTDefRegMap(@Self)^.&set := $00000800;
  23797. end;
  23798. function TADC10_AD1CSSL.getCSSL11 : TBits_1; inline;
  23799. begin
  23800. getCSSL11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  23801. end;
  23802. procedure TADC10_AD1CSSL.setCSSL12; inline;
  23803. begin
  23804. pTDefRegMap(@Self)^.&set := $00001000;
  23805. end;
  23806. procedure TADC10_AD1CSSL.clearCSSL12; inline;
  23807. begin
  23808. pTDefRegMap(@Self)^.clr := $00001000;
  23809. end;
  23810. procedure TADC10_AD1CSSL.setCSSL12(thebits : TBits_1); inline;
  23811. begin
  23812. if thebits = 0 then
  23813. pTDefRegMap(@Self)^.clr := $00001000
  23814. else
  23815. pTDefRegMap(@Self)^.&set := $00001000;
  23816. end;
  23817. function TADC10_AD1CSSL.getCSSL12 : TBits_1; inline;
  23818. begin
  23819. getCSSL12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  23820. end;
  23821. procedure TADC10_AD1CSSL.setCSSL13; inline;
  23822. begin
  23823. pTDefRegMap(@Self)^.&set := $00002000;
  23824. end;
  23825. procedure TADC10_AD1CSSL.clearCSSL13; inline;
  23826. begin
  23827. pTDefRegMap(@Self)^.clr := $00002000;
  23828. end;
  23829. procedure TADC10_AD1CSSL.setCSSL13(thebits : TBits_1); inline;
  23830. begin
  23831. if thebits = 0 then
  23832. pTDefRegMap(@Self)^.clr := $00002000
  23833. else
  23834. pTDefRegMap(@Self)^.&set := $00002000;
  23835. end;
  23836. function TADC10_AD1CSSL.getCSSL13 : TBits_1; inline;
  23837. begin
  23838. getCSSL13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  23839. end;
  23840. procedure TADC10_AD1CSSL.setCSSL14; inline;
  23841. begin
  23842. pTDefRegMap(@Self)^.&set := $00004000;
  23843. end;
  23844. procedure TADC10_AD1CSSL.clearCSSL14; inline;
  23845. begin
  23846. pTDefRegMap(@Self)^.clr := $00004000;
  23847. end;
  23848. procedure TADC10_AD1CSSL.setCSSL14(thebits : TBits_1); inline;
  23849. begin
  23850. if thebits = 0 then
  23851. pTDefRegMap(@Self)^.clr := $00004000
  23852. else
  23853. pTDefRegMap(@Self)^.&set := $00004000;
  23854. end;
  23855. function TADC10_AD1CSSL.getCSSL14 : TBits_1; inline;
  23856. begin
  23857. getCSSL14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  23858. end;
  23859. procedure TADC10_AD1CSSL.setCSSL15; inline;
  23860. begin
  23861. pTDefRegMap(@Self)^.&set := $00008000;
  23862. end;
  23863. procedure TADC10_AD1CSSL.clearCSSL15; inline;
  23864. begin
  23865. pTDefRegMap(@Self)^.clr := $00008000;
  23866. end;
  23867. procedure TADC10_AD1CSSL.setCSSL15(thebits : TBits_1); inline;
  23868. begin
  23869. if thebits = 0 then
  23870. pTDefRegMap(@Self)^.clr := $00008000
  23871. else
  23872. pTDefRegMap(@Self)^.&set := $00008000;
  23873. end;
  23874. function TADC10_AD1CSSL.getCSSL15 : TBits_1; inline;
  23875. begin
  23876. getCSSL15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23877. end;
  23878. procedure TADC10_AD1CSSL.setw(thebits : TBits_32); inline;
  23879. begin
  23880. pTDefRegMap(@Self)^.val := thebits;
  23881. end;
  23882. function TADC10_AD1CSSL.getw : TBits_32; inline;
  23883. begin
  23884. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  23885. end;
  23886. procedure TCVR_CVRCON.setCVR(thebits : TBits_4); inline;
  23887. begin
  23888. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  23889. end;
  23890. function TCVR_CVRCON.getCVR : TBits_4; inline;
  23891. begin
  23892. getCVR := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  23893. end;
  23894. procedure TCVR_CVRCON.setCVRSS; inline;
  23895. begin
  23896. pTDefRegMap(@Self)^.&set := $00000010;
  23897. end;
  23898. procedure TCVR_CVRCON.clearCVRSS; inline;
  23899. begin
  23900. pTDefRegMap(@Self)^.clr := $00000010;
  23901. end;
  23902. procedure TCVR_CVRCON.setCVRSS(thebits : TBits_1); inline;
  23903. begin
  23904. if thebits = 0 then
  23905. pTDefRegMap(@Self)^.clr := $00000010
  23906. else
  23907. pTDefRegMap(@Self)^.&set := $00000010;
  23908. end;
  23909. function TCVR_CVRCON.getCVRSS : TBits_1; inline;
  23910. begin
  23911. getCVRSS := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  23912. end;
  23913. procedure TCVR_CVRCON.setCVRR; inline;
  23914. begin
  23915. pTDefRegMap(@Self)^.&set := $00000020;
  23916. end;
  23917. procedure TCVR_CVRCON.clearCVRR; inline;
  23918. begin
  23919. pTDefRegMap(@Self)^.clr := $00000020;
  23920. end;
  23921. procedure TCVR_CVRCON.setCVRR(thebits : TBits_1); inline;
  23922. begin
  23923. if thebits = 0 then
  23924. pTDefRegMap(@Self)^.clr := $00000020
  23925. else
  23926. pTDefRegMap(@Self)^.&set := $00000020;
  23927. end;
  23928. function TCVR_CVRCON.getCVRR : TBits_1; inline;
  23929. begin
  23930. getCVRR := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  23931. end;
  23932. procedure TCVR_CVRCON.setCVROE; inline;
  23933. begin
  23934. pTDefRegMap(@Self)^.&set := $00000040;
  23935. end;
  23936. procedure TCVR_CVRCON.clearCVROE; inline;
  23937. begin
  23938. pTDefRegMap(@Self)^.clr := $00000040;
  23939. end;
  23940. procedure TCVR_CVRCON.setCVROE(thebits : TBits_1); inline;
  23941. begin
  23942. if thebits = 0 then
  23943. pTDefRegMap(@Self)^.clr := $00000040
  23944. else
  23945. pTDefRegMap(@Self)^.&set := $00000040;
  23946. end;
  23947. function TCVR_CVRCON.getCVROE : TBits_1; inline;
  23948. begin
  23949. getCVROE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  23950. end;
  23951. procedure TCVR_CVRCON.setON; inline;
  23952. begin
  23953. pTDefRegMap(@Self)^.&set := $00008000;
  23954. end;
  23955. procedure TCVR_CVRCON.clearON; inline;
  23956. begin
  23957. pTDefRegMap(@Self)^.clr := $00008000;
  23958. end;
  23959. procedure TCVR_CVRCON.setON(thebits : TBits_1); inline;
  23960. begin
  23961. if thebits = 0 then
  23962. pTDefRegMap(@Self)^.clr := $00008000
  23963. else
  23964. pTDefRegMap(@Self)^.&set := $00008000;
  23965. end;
  23966. function TCVR_CVRCON.getON : TBits_1; inline;
  23967. begin
  23968. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  23969. end;
  23970. procedure TCVR_CVRCON.setCVR0; inline;
  23971. begin
  23972. pTDefRegMap(@Self)^.&set := $00000001;
  23973. end;
  23974. procedure TCVR_CVRCON.clearCVR0; inline;
  23975. begin
  23976. pTDefRegMap(@Self)^.clr := $00000001;
  23977. end;
  23978. procedure TCVR_CVRCON.setCVR0(thebits : TBits_1); inline;
  23979. begin
  23980. if thebits = 0 then
  23981. pTDefRegMap(@Self)^.clr := $00000001
  23982. else
  23983. pTDefRegMap(@Self)^.&set := $00000001;
  23984. end;
  23985. function TCVR_CVRCON.getCVR0 : TBits_1; inline;
  23986. begin
  23987. getCVR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  23988. end;
  23989. procedure TCVR_CVRCON.setCVR1; inline;
  23990. begin
  23991. pTDefRegMap(@Self)^.&set := $00000002;
  23992. end;
  23993. procedure TCVR_CVRCON.clearCVR1; inline;
  23994. begin
  23995. pTDefRegMap(@Self)^.clr := $00000002;
  23996. end;
  23997. procedure TCVR_CVRCON.setCVR1(thebits : TBits_1); inline;
  23998. begin
  23999. if thebits = 0 then
  24000. pTDefRegMap(@Self)^.clr := $00000002
  24001. else
  24002. pTDefRegMap(@Self)^.&set := $00000002;
  24003. end;
  24004. function TCVR_CVRCON.getCVR1 : TBits_1; inline;
  24005. begin
  24006. getCVR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24007. end;
  24008. procedure TCVR_CVRCON.setCVR2; inline;
  24009. begin
  24010. pTDefRegMap(@Self)^.&set := $00000004;
  24011. end;
  24012. procedure TCVR_CVRCON.clearCVR2; inline;
  24013. begin
  24014. pTDefRegMap(@Self)^.clr := $00000004;
  24015. end;
  24016. procedure TCVR_CVRCON.setCVR2(thebits : TBits_1); inline;
  24017. begin
  24018. if thebits = 0 then
  24019. pTDefRegMap(@Self)^.clr := $00000004
  24020. else
  24021. pTDefRegMap(@Self)^.&set := $00000004;
  24022. end;
  24023. function TCVR_CVRCON.getCVR2 : TBits_1; inline;
  24024. begin
  24025. getCVR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24026. end;
  24027. procedure TCVR_CVRCON.setCVR3; inline;
  24028. begin
  24029. pTDefRegMap(@Self)^.&set := $00000008;
  24030. end;
  24031. procedure TCVR_CVRCON.clearCVR3; inline;
  24032. begin
  24033. pTDefRegMap(@Self)^.clr := $00000008;
  24034. end;
  24035. procedure TCVR_CVRCON.setCVR3(thebits : TBits_1); inline;
  24036. begin
  24037. if thebits = 0 then
  24038. pTDefRegMap(@Self)^.clr := $00000008
  24039. else
  24040. pTDefRegMap(@Self)^.&set := $00000008;
  24041. end;
  24042. function TCVR_CVRCON.getCVR3 : TBits_1; inline;
  24043. begin
  24044. getCVR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  24045. end;
  24046. procedure TCVR_CVRCON.setw(thebits : TBits_32); inline;
  24047. begin
  24048. pTDefRegMap(@Self)^.val := thebits;
  24049. end;
  24050. function TCVR_CVRCON.getw : TBits_32; inline;
  24051. begin
  24052. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24053. end;
  24054. procedure TCMP_CM1CON.setCCH(thebits : TBits_2); inline;
  24055. begin
  24056. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24057. end;
  24058. function TCMP_CM1CON.getCCH : TBits_2; inline;
  24059. begin
  24060. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24061. end;
  24062. procedure TCMP_CM1CON.setCREF; inline;
  24063. begin
  24064. pTDefRegMap(@Self)^.&set := $00000010;
  24065. end;
  24066. procedure TCMP_CM1CON.clearCREF; inline;
  24067. begin
  24068. pTDefRegMap(@Self)^.clr := $00000010;
  24069. end;
  24070. procedure TCMP_CM1CON.setCREF(thebits : TBits_1); inline;
  24071. begin
  24072. if thebits = 0 then
  24073. pTDefRegMap(@Self)^.clr := $00000010
  24074. else
  24075. pTDefRegMap(@Self)^.&set := $00000010;
  24076. end;
  24077. function TCMP_CM1CON.getCREF : TBits_1; inline;
  24078. begin
  24079. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24080. end;
  24081. procedure TCMP_CM1CON.setEVPOL(thebits : TBits_2); inline;
  24082. begin
  24083. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24084. end;
  24085. function TCMP_CM1CON.getEVPOL : TBits_2; inline;
  24086. begin
  24087. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24088. end;
  24089. procedure TCMP_CM1CON.setCOUT; inline;
  24090. begin
  24091. pTDefRegMap(@Self)^.&set := $00000100;
  24092. end;
  24093. procedure TCMP_CM1CON.clearCOUT; inline;
  24094. begin
  24095. pTDefRegMap(@Self)^.clr := $00000100;
  24096. end;
  24097. procedure TCMP_CM1CON.setCOUT(thebits : TBits_1); inline;
  24098. begin
  24099. if thebits = 0 then
  24100. pTDefRegMap(@Self)^.clr := $00000100
  24101. else
  24102. pTDefRegMap(@Self)^.&set := $00000100;
  24103. end;
  24104. function TCMP_CM1CON.getCOUT : TBits_1; inline;
  24105. begin
  24106. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24107. end;
  24108. procedure TCMP_CM1CON.setCPOL; inline;
  24109. begin
  24110. pTDefRegMap(@Self)^.&set := $00002000;
  24111. end;
  24112. procedure TCMP_CM1CON.clearCPOL; inline;
  24113. begin
  24114. pTDefRegMap(@Self)^.clr := $00002000;
  24115. end;
  24116. procedure TCMP_CM1CON.setCPOL(thebits : TBits_1); inline;
  24117. begin
  24118. if thebits = 0 then
  24119. pTDefRegMap(@Self)^.clr := $00002000
  24120. else
  24121. pTDefRegMap(@Self)^.&set := $00002000;
  24122. end;
  24123. function TCMP_CM1CON.getCPOL : TBits_1; inline;
  24124. begin
  24125. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24126. end;
  24127. procedure TCMP_CM1CON.setCOE; inline;
  24128. begin
  24129. pTDefRegMap(@Self)^.&set := $00004000;
  24130. end;
  24131. procedure TCMP_CM1CON.clearCOE; inline;
  24132. begin
  24133. pTDefRegMap(@Self)^.clr := $00004000;
  24134. end;
  24135. procedure TCMP_CM1CON.setCOE(thebits : TBits_1); inline;
  24136. begin
  24137. if thebits = 0 then
  24138. pTDefRegMap(@Self)^.clr := $00004000
  24139. else
  24140. pTDefRegMap(@Self)^.&set := $00004000;
  24141. end;
  24142. function TCMP_CM1CON.getCOE : TBits_1; inline;
  24143. begin
  24144. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24145. end;
  24146. procedure TCMP_CM1CON.setON; inline;
  24147. begin
  24148. pTDefRegMap(@Self)^.&set := $00008000;
  24149. end;
  24150. procedure TCMP_CM1CON.clearON; inline;
  24151. begin
  24152. pTDefRegMap(@Self)^.clr := $00008000;
  24153. end;
  24154. procedure TCMP_CM1CON.setON(thebits : TBits_1); inline;
  24155. begin
  24156. if thebits = 0 then
  24157. pTDefRegMap(@Self)^.clr := $00008000
  24158. else
  24159. pTDefRegMap(@Self)^.&set := $00008000;
  24160. end;
  24161. function TCMP_CM1CON.getON : TBits_1; inline;
  24162. begin
  24163. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24164. end;
  24165. procedure TCMP_CM1CON.setCCH0; inline;
  24166. begin
  24167. pTDefRegMap(@Self)^.&set := $00000001;
  24168. end;
  24169. procedure TCMP_CM1CON.clearCCH0; inline;
  24170. begin
  24171. pTDefRegMap(@Self)^.clr := $00000001;
  24172. end;
  24173. procedure TCMP_CM1CON.setCCH0(thebits : TBits_1); inline;
  24174. begin
  24175. if thebits = 0 then
  24176. pTDefRegMap(@Self)^.clr := $00000001
  24177. else
  24178. pTDefRegMap(@Self)^.&set := $00000001;
  24179. end;
  24180. function TCMP_CM1CON.getCCH0 : TBits_1; inline;
  24181. begin
  24182. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24183. end;
  24184. procedure TCMP_CM1CON.setCCH1; inline;
  24185. begin
  24186. pTDefRegMap(@Self)^.&set := $00000002;
  24187. end;
  24188. procedure TCMP_CM1CON.clearCCH1; inline;
  24189. begin
  24190. pTDefRegMap(@Self)^.clr := $00000002;
  24191. end;
  24192. procedure TCMP_CM1CON.setCCH1(thebits : TBits_1); inline;
  24193. begin
  24194. if thebits = 0 then
  24195. pTDefRegMap(@Self)^.clr := $00000002
  24196. else
  24197. pTDefRegMap(@Self)^.&set := $00000002;
  24198. end;
  24199. function TCMP_CM1CON.getCCH1 : TBits_1; inline;
  24200. begin
  24201. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24202. end;
  24203. procedure TCMP_CM1CON.setEVPOL0; inline;
  24204. begin
  24205. pTDefRegMap(@Self)^.&set := $00000040;
  24206. end;
  24207. procedure TCMP_CM1CON.clearEVPOL0; inline;
  24208. begin
  24209. pTDefRegMap(@Self)^.clr := $00000040;
  24210. end;
  24211. procedure TCMP_CM1CON.setEVPOL0(thebits : TBits_1); inline;
  24212. begin
  24213. if thebits = 0 then
  24214. pTDefRegMap(@Self)^.clr := $00000040
  24215. else
  24216. pTDefRegMap(@Self)^.&set := $00000040;
  24217. end;
  24218. function TCMP_CM1CON.getEVPOL0 : TBits_1; inline;
  24219. begin
  24220. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24221. end;
  24222. procedure TCMP_CM1CON.setEVPOL1; inline;
  24223. begin
  24224. pTDefRegMap(@Self)^.&set := $00000080;
  24225. end;
  24226. procedure TCMP_CM1CON.clearEVPOL1; inline;
  24227. begin
  24228. pTDefRegMap(@Self)^.clr := $00000080;
  24229. end;
  24230. procedure TCMP_CM1CON.setEVPOL1(thebits : TBits_1); inline;
  24231. begin
  24232. if thebits = 0 then
  24233. pTDefRegMap(@Self)^.clr := $00000080
  24234. else
  24235. pTDefRegMap(@Self)^.&set := $00000080;
  24236. end;
  24237. function TCMP_CM1CON.getEVPOL1 : TBits_1; inline;
  24238. begin
  24239. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24240. end;
  24241. procedure TCMP_CM1CON.setw(thebits : TBits_32); inline;
  24242. begin
  24243. pTDefRegMap(@Self)^.val := thebits;
  24244. end;
  24245. function TCMP_CM1CON.getw : TBits_32; inline;
  24246. begin
  24247. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24248. end;
  24249. procedure TCMP_CM2CON.setCCH(thebits : TBits_2); inline;
  24250. begin
  24251. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24252. end;
  24253. function TCMP_CM2CON.getCCH : TBits_2; inline;
  24254. begin
  24255. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24256. end;
  24257. procedure TCMP_CM2CON.setCREF; inline;
  24258. begin
  24259. pTDefRegMap(@Self)^.&set := $00000010;
  24260. end;
  24261. procedure TCMP_CM2CON.clearCREF; inline;
  24262. begin
  24263. pTDefRegMap(@Self)^.clr := $00000010;
  24264. end;
  24265. procedure TCMP_CM2CON.setCREF(thebits : TBits_1); inline;
  24266. begin
  24267. if thebits = 0 then
  24268. pTDefRegMap(@Self)^.clr := $00000010
  24269. else
  24270. pTDefRegMap(@Self)^.&set := $00000010;
  24271. end;
  24272. function TCMP_CM2CON.getCREF : TBits_1; inline;
  24273. begin
  24274. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24275. end;
  24276. procedure TCMP_CM2CON.setEVPOL(thebits : TBits_2); inline;
  24277. begin
  24278. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24279. end;
  24280. function TCMP_CM2CON.getEVPOL : TBits_2; inline;
  24281. begin
  24282. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24283. end;
  24284. procedure TCMP_CM2CON.setCOUT; inline;
  24285. begin
  24286. pTDefRegMap(@Self)^.&set := $00000100;
  24287. end;
  24288. procedure TCMP_CM2CON.clearCOUT; inline;
  24289. begin
  24290. pTDefRegMap(@Self)^.clr := $00000100;
  24291. end;
  24292. procedure TCMP_CM2CON.setCOUT(thebits : TBits_1); inline;
  24293. begin
  24294. if thebits = 0 then
  24295. pTDefRegMap(@Self)^.clr := $00000100
  24296. else
  24297. pTDefRegMap(@Self)^.&set := $00000100;
  24298. end;
  24299. function TCMP_CM2CON.getCOUT : TBits_1; inline;
  24300. begin
  24301. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24302. end;
  24303. procedure TCMP_CM2CON.setCPOL; inline;
  24304. begin
  24305. pTDefRegMap(@Self)^.&set := $00002000;
  24306. end;
  24307. procedure TCMP_CM2CON.clearCPOL; inline;
  24308. begin
  24309. pTDefRegMap(@Self)^.clr := $00002000;
  24310. end;
  24311. procedure TCMP_CM2CON.setCPOL(thebits : TBits_1); inline;
  24312. begin
  24313. if thebits = 0 then
  24314. pTDefRegMap(@Self)^.clr := $00002000
  24315. else
  24316. pTDefRegMap(@Self)^.&set := $00002000;
  24317. end;
  24318. function TCMP_CM2CON.getCPOL : TBits_1; inline;
  24319. begin
  24320. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24321. end;
  24322. procedure TCMP_CM2CON.setCOE; inline;
  24323. begin
  24324. pTDefRegMap(@Self)^.&set := $00004000;
  24325. end;
  24326. procedure TCMP_CM2CON.clearCOE; inline;
  24327. begin
  24328. pTDefRegMap(@Self)^.clr := $00004000;
  24329. end;
  24330. procedure TCMP_CM2CON.setCOE(thebits : TBits_1); inline;
  24331. begin
  24332. if thebits = 0 then
  24333. pTDefRegMap(@Self)^.clr := $00004000
  24334. else
  24335. pTDefRegMap(@Self)^.&set := $00004000;
  24336. end;
  24337. function TCMP_CM2CON.getCOE : TBits_1; inline;
  24338. begin
  24339. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24340. end;
  24341. procedure TCMP_CM2CON.setON; inline;
  24342. begin
  24343. pTDefRegMap(@Self)^.&set := $00008000;
  24344. end;
  24345. procedure TCMP_CM2CON.clearON; inline;
  24346. begin
  24347. pTDefRegMap(@Self)^.clr := $00008000;
  24348. end;
  24349. procedure TCMP_CM2CON.setON(thebits : TBits_1); inline;
  24350. begin
  24351. if thebits = 0 then
  24352. pTDefRegMap(@Self)^.clr := $00008000
  24353. else
  24354. pTDefRegMap(@Self)^.&set := $00008000;
  24355. end;
  24356. function TCMP_CM2CON.getON : TBits_1; inline;
  24357. begin
  24358. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24359. end;
  24360. procedure TCMP_CM2CON.setCCH0; inline;
  24361. begin
  24362. pTDefRegMap(@Self)^.&set := $00000001;
  24363. end;
  24364. procedure TCMP_CM2CON.clearCCH0; inline;
  24365. begin
  24366. pTDefRegMap(@Self)^.clr := $00000001;
  24367. end;
  24368. procedure TCMP_CM2CON.setCCH0(thebits : TBits_1); inline;
  24369. begin
  24370. if thebits = 0 then
  24371. pTDefRegMap(@Self)^.clr := $00000001
  24372. else
  24373. pTDefRegMap(@Self)^.&set := $00000001;
  24374. end;
  24375. function TCMP_CM2CON.getCCH0 : TBits_1; inline;
  24376. begin
  24377. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24378. end;
  24379. procedure TCMP_CM2CON.setCCH1; inline;
  24380. begin
  24381. pTDefRegMap(@Self)^.&set := $00000002;
  24382. end;
  24383. procedure TCMP_CM2CON.clearCCH1; inline;
  24384. begin
  24385. pTDefRegMap(@Self)^.clr := $00000002;
  24386. end;
  24387. procedure TCMP_CM2CON.setCCH1(thebits : TBits_1); inline;
  24388. begin
  24389. if thebits = 0 then
  24390. pTDefRegMap(@Self)^.clr := $00000002
  24391. else
  24392. pTDefRegMap(@Self)^.&set := $00000002;
  24393. end;
  24394. function TCMP_CM2CON.getCCH1 : TBits_1; inline;
  24395. begin
  24396. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24397. end;
  24398. procedure TCMP_CM2CON.setEVPOL0; inline;
  24399. begin
  24400. pTDefRegMap(@Self)^.&set := $00000040;
  24401. end;
  24402. procedure TCMP_CM2CON.clearEVPOL0; inline;
  24403. begin
  24404. pTDefRegMap(@Self)^.clr := $00000040;
  24405. end;
  24406. procedure TCMP_CM2CON.setEVPOL0(thebits : TBits_1); inline;
  24407. begin
  24408. if thebits = 0 then
  24409. pTDefRegMap(@Self)^.clr := $00000040
  24410. else
  24411. pTDefRegMap(@Self)^.&set := $00000040;
  24412. end;
  24413. function TCMP_CM2CON.getEVPOL0 : TBits_1; inline;
  24414. begin
  24415. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24416. end;
  24417. procedure TCMP_CM2CON.setEVPOL1; inline;
  24418. begin
  24419. pTDefRegMap(@Self)^.&set := $00000080;
  24420. end;
  24421. procedure TCMP_CM2CON.clearEVPOL1; inline;
  24422. begin
  24423. pTDefRegMap(@Self)^.clr := $00000080;
  24424. end;
  24425. procedure TCMP_CM2CON.setEVPOL1(thebits : TBits_1); inline;
  24426. begin
  24427. if thebits = 0 then
  24428. pTDefRegMap(@Self)^.clr := $00000080
  24429. else
  24430. pTDefRegMap(@Self)^.&set := $00000080;
  24431. end;
  24432. function TCMP_CM2CON.getEVPOL1 : TBits_1; inline;
  24433. begin
  24434. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24435. end;
  24436. procedure TCMP_CM2CON.setw(thebits : TBits_32); inline;
  24437. begin
  24438. pTDefRegMap(@Self)^.val := thebits;
  24439. end;
  24440. function TCMP_CM2CON.getw : TBits_32; inline;
  24441. begin
  24442. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24443. end;
  24444. procedure TCMP_CM3CON.setCCH(thebits : TBits_2); inline;
  24445. begin
  24446. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24447. end;
  24448. function TCMP_CM3CON.getCCH : TBits_2; inline;
  24449. begin
  24450. getCCH := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24451. end;
  24452. procedure TCMP_CM3CON.setCREF; inline;
  24453. begin
  24454. pTDefRegMap(@Self)^.&set := $00000010;
  24455. end;
  24456. procedure TCMP_CM3CON.clearCREF; inline;
  24457. begin
  24458. pTDefRegMap(@Self)^.clr := $00000010;
  24459. end;
  24460. procedure TCMP_CM3CON.setCREF(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 TCMP_CM3CON.getCREF : TBits_1; inline;
  24468. begin
  24469. getCREF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  24470. end;
  24471. procedure TCMP_CM3CON.setEVPOL(thebits : TBits_2); inline;
  24472. begin
  24473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF3F or ( thebits shl 6 );
  24474. end;
  24475. function TCMP_CM3CON.getEVPOL : TBits_2; inline;
  24476. begin
  24477. getEVPOL := (pTDefRegMap(@Self)^.val and $000000C0) shr 6;
  24478. end;
  24479. procedure TCMP_CM3CON.setCOUT; inline;
  24480. begin
  24481. pTDefRegMap(@Self)^.&set := $00000100;
  24482. end;
  24483. procedure TCMP_CM3CON.clearCOUT; inline;
  24484. begin
  24485. pTDefRegMap(@Self)^.clr := $00000100;
  24486. end;
  24487. procedure TCMP_CM3CON.setCOUT(thebits : TBits_1); inline;
  24488. begin
  24489. if thebits = 0 then
  24490. pTDefRegMap(@Self)^.clr := $00000100
  24491. else
  24492. pTDefRegMap(@Self)^.&set := $00000100;
  24493. end;
  24494. function TCMP_CM3CON.getCOUT : TBits_1; inline;
  24495. begin
  24496. getCOUT := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24497. end;
  24498. procedure TCMP_CM3CON.setCPOL; inline;
  24499. begin
  24500. pTDefRegMap(@Self)^.&set := $00002000;
  24501. end;
  24502. procedure TCMP_CM3CON.clearCPOL; inline;
  24503. begin
  24504. pTDefRegMap(@Self)^.clr := $00002000;
  24505. end;
  24506. procedure TCMP_CM3CON.setCPOL(thebits : TBits_1); inline;
  24507. begin
  24508. if thebits = 0 then
  24509. pTDefRegMap(@Self)^.clr := $00002000
  24510. else
  24511. pTDefRegMap(@Self)^.&set := $00002000;
  24512. end;
  24513. function TCMP_CM3CON.getCPOL : TBits_1; inline;
  24514. begin
  24515. getCPOL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24516. end;
  24517. procedure TCMP_CM3CON.setCOE; inline;
  24518. begin
  24519. pTDefRegMap(@Self)^.&set := $00004000;
  24520. end;
  24521. procedure TCMP_CM3CON.clearCOE; inline;
  24522. begin
  24523. pTDefRegMap(@Self)^.clr := $00004000;
  24524. end;
  24525. procedure TCMP_CM3CON.setCOE(thebits : TBits_1); inline;
  24526. begin
  24527. if thebits = 0 then
  24528. pTDefRegMap(@Self)^.clr := $00004000
  24529. else
  24530. pTDefRegMap(@Self)^.&set := $00004000;
  24531. end;
  24532. function TCMP_CM3CON.getCOE : TBits_1; inline;
  24533. begin
  24534. getCOE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  24535. end;
  24536. procedure TCMP_CM3CON.setON; inline;
  24537. begin
  24538. pTDefRegMap(@Self)^.&set := $00008000;
  24539. end;
  24540. procedure TCMP_CM3CON.clearON; inline;
  24541. begin
  24542. pTDefRegMap(@Self)^.clr := $00008000;
  24543. end;
  24544. procedure TCMP_CM3CON.setON(thebits : TBits_1); inline;
  24545. begin
  24546. if thebits = 0 then
  24547. pTDefRegMap(@Self)^.clr := $00008000
  24548. else
  24549. pTDefRegMap(@Self)^.&set := $00008000;
  24550. end;
  24551. function TCMP_CM3CON.getON : TBits_1; inline;
  24552. begin
  24553. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24554. end;
  24555. procedure TCMP_CM3CON.setCCH0; inline;
  24556. begin
  24557. pTDefRegMap(@Self)^.&set := $00000001;
  24558. end;
  24559. procedure TCMP_CM3CON.clearCCH0; inline;
  24560. begin
  24561. pTDefRegMap(@Self)^.clr := $00000001;
  24562. end;
  24563. procedure TCMP_CM3CON.setCCH0(thebits : TBits_1); inline;
  24564. begin
  24565. if thebits = 0 then
  24566. pTDefRegMap(@Self)^.clr := $00000001
  24567. else
  24568. pTDefRegMap(@Self)^.&set := $00000001;
  24569. end;
  24570. function TCMP_CM3CON.getCCH0 : TBits_1; inline;
  24571. begin
  24572. getCCH0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24573. end;
  24574. procedure TCMP_CM3CON.setCCH1; inline;
  24575. begin
  24576. pTDefRegMap(@Self)^.&set := $00000002;
  24577. end;
  24578. procedure TCMP_CM3CON.clearCCH1; inline;
  24579. begin
  24580. pTDefRegMap(@Self)^.clr := $00000002;
  24581. end;
  24582. procedure TCMP_CM3CON.setCCH1(thebits : TBits_1); inline;
  24583. begin
  24584. if thebits = 0 then
  24585. pTDefRegMap(@Self)^.clr := $00000002
  24586. else
  24587. pTDefRegMap(@Self)^.&set := $00000002;
  24588. end;
  24589. function TCMP_CM3CON.getCCH1 : TBits_1; inline;
  24590. begin
  24591. getCCH1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24592. end;
  24593. procedure TCMP_CM3CON.setEVPOL0; inline;
  24594. begin
  24595. pTDefRegMap(@Self)^.&set := $00000040;
  24596. end;
  24597. procedure TCMP_CM3CON.clearEVPOL0; inline;
  24598. begin
  24599. pTDefRegMap(@Self)^.clr := $00000040;
  24600. end;
  24601. procedure TCMP_CM3CON.setEVPOL0(thebits : TBits_1); inline;
  24602. begin
  24603. if thebits = 0 then
  24604. pTDefRegMap(@Self)^.clr := $00000040
  24605. else
  24606. pTDefRegMap(@Self)^.&set := $00000040;
  24607. end;
  24608. function TCMP_CM3CON.getEVPOL0 : TBits_1; inline;
  24609. begin
  24610. getEVPOL0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  24611. end;
  24612. procedure TCMP_CM3CON.setEVPOL1; inline;
  24613. begin
  24614. pTDefRegMap(@Self)^.&set := $00000080;
  24615. end;
  24616. procedure TCMP_CM3CON.clearEVPOL1; inline;
  24617. begin
  24618. pTDefRegMap(@Self)^.clr := $00000080;
  24619. end;
  24620. procedure TCMP_CM3CON.setEVPOL1(thebits : TBits_1); inline;
  24621. begin
  24622. if thebits = 0 then
  24623. pTDefRegMap(@Self)^.clr := $00000080
  24624. else
  24625. pTDefRegMap(@Self)^.&set := $00000080;
  24626. end;
  24627. function TCMP_CM3CON.getEVPOL1 : TBits_1; inline;
  24628. begin
  24629. getEVPOL1 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  24630. end;
  24631. procedure TCMP_CM3CON.setw(thebits : TBits_32); inline;
  24632. begin
  24633. pTDefRegMap(@Self)^.val := thebits;
  24634. end;
  24635. function TCMP_CM3CON.getw : TBits_32; inline;
  24636. begin
  24637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24638. end;
  24639. procedure TCMP_CMSTAT.setC1OUT; inline;
  24640. begin
  24641. pTDefRegMap(@Self)^.&set := $00000001;
  24642. end;
  24643. procedure TCMP_CMSTAT.clearC1OUT; inline;
  24644. begin
  24645. pTDefRegMap(@Self)^.clr := $00000001;
  24646. end;
  24647. procedure TCMP_CMSTAT.setC1OUT(thebits : TBits_1); inline;
  24648. begin
  24649. if thebits = 0 then
  24650. pTDefRegMap(@Self)^.clr := $00000001
  24651. else
  24652. pTDefRegMap(@Self)^.&set := $00000001;
  24653. end;
  24654. function TCMP_CMSTAT.getC1OUT : TBits_1; inline;
  24655. begin
  24656. getC1OUT := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  24657. end;
  24658. procedure TCMP_CMSTAT.setC2OUT; inline;
  24659. begin
  24660. pTDefRegMap(@Self)^.&set := $00000002;
  24661. end;
  24662. procedure TCMP_CMSTAT.clearC2OUT; inline;
  24663. begin
  24664. pTDefRegMap(@Self)^.clr := $00000002;
  24665. end;
  24666. procedure TCMP_CMSTAT.setC2OUT(thebits : TBits_1); inline;
  24667. begin
  24668. if thebits = 0 then
  24669. pTDefRegMap(@Self)^.clr := $00000002
  24670. else
  24671. pTDefRegMap(@Self)^.&set := $00000002;
  24672. end;
  24673. function TCMP_CMSTAT.getC2OUT : TBits_1; inline;
  24674. begin
  24675. getC2OUT := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  24676. end;
  24677. procedure TCMP_CMSTAT.setC3OUT; inline;
  24678. begin
  24679. pTDefRegMap(@Self)^.&set := $00000004;
  24680. end;
  24681. procedure TCMP_CMSTAT.clearC3OUT; inline;
  24682. begin
  24683. pTDefRegMap(@Self)^.clr := $00000004;
  24684. end;
  24685. procedure TCMP_CMSTAT.setC3OUT(thebits : TBits_1); inline;
  24686. begin
  24687. if thebits = 0 then
  24688. pTDefRegMap(@Self)^.clr := $00000004
  24689. else
  24690. pTDefRegMap(@Self)^.&set := $00000004;
  24691. end;
  24692. function TCMP_CMSTAT.getC3OUT : TBits_1; inline;
  24693. begin
  24694. getC3OUT := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  24695. end;
  24696. procedure TCMP_CMSTAT.setSIDL; inline;
  24697. begin
  24698. pTDefRegMap(@Self)^.&set := $00002000;
  24699. end;
  24700. procedure TCMP_CMSTAT.clearSIDL; inline;
  24701. begin
  24702. pTDefRegMap(@Self)^.clr := $00002000;
  24703. end;
  24704. procedure TCMP_CMSTAT.setSIDL(thebits : TBits_1); inline;
  24705. begin
  24706. if thebits = 0 then
  24707. pTDefRegMap(@Self)^.clr := $00002000
  24708. else
  24709. pTDefRegMap(@Self)^.&set := $00002000;
  24710. end;
  24711. function TCMP_CMSTAT.getSIDL : TBits_1; inline;
  24712. begin
  24713. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24714. end;
  24715. procedure TCMP_CMSTAT.setw(thebits : TBits_32); inline;
  24716. begin
  24717. pTDefRegMap(@Self)^.val := thebits;
  24718. end;
  24719. function TCMP_CMSTAT.getw : TBits_32; inline;
  24720. begin
  24721. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  24722. end;
  24723. procedure TCMP_CTMUCON.setIRNG(thebits : TBits_2); inline;
  24724. begin
  24725. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  24726. end;
  24727. function TCMP_CTMUCON.getIRNG : TBits_2; inline;
  24728. begin
  24729. getIRNG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  24730. end;
  24731. procedure TCMP_CTMUCON.setITRIM(thebits : TBits_6); inline;
  24732. begin
  24733. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF03 or ( thebits shl 2 );
  24734. end;
  24735. function TCMP_CTMUCON.getITRIM : TBits_6; inline;
  24736. begin
  24737. getITRIM := (pTDefRegMap(@Self)^.val and $000000FC) shr 2;
  24738. end;
  24739. procedure TCMP_CTMUCON.setCTTRIG; inline;
  24740. begin
  24741. pTDefRegMap(@Self)^.&set := $00000100;
  24742. end;
  24743. procedure TCMP_CTMUCON.clearCTTRIG; inline;
  24744. begin
  24745. pTDefRegMap(@Self)^.clr := $00000100;
  24746. end;
  24747. procedure TCMP_CTMUCON.setCTTRIG(thebits : TBits_1); inline;
  24748. begin
  24749. if thebits = 0 then
  24750. pTDefRegMap(@Self)^.clr := $00000100
  24751. else
  24752. pTDefRegMap(@Self)^.&set := $00000100;
  24753. end;
  24754. function TCMP_CTMUCON.getCTTRIG : TBits_1; inline;
  24755. begin
  24756. getCTTRIG := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  24757. end;
  24758. procedure TCMP_CTMUCON.setIDISSEN; inline;
  24759. begin
  24760. pTDefRegMap(@Self)^.&set := $00000200;
  24761. end;
  24762. procedure TCMP_CTMUCON.clearIDISSEN; inline;
  24763. begin
  24764. pTDefRegMap(@Self)^.clr := $00000200;
  24765. end;
  24766. procedure TCMP_CTMUCON.setIDISSEN(thebits : TBits_1); inline;
  24767. begin
  24768. if thebits = 0 then
  24769. pTDefRegMap(@Self)^.clr := $00000200
  24770. else
  24771. pTDefRegMap(@Self)^.&set := $00000200;
  24772. end;
  24773. function TCMP_CTMUCON.getIDISSEN : TBits_1; inline;
  24774. begin
  24775. getIDISSEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  24776. end;
  24777. procedure TCMP_CTMUCON.setEDGSEQEN; inline;
  24778. begin
  24779. pTDefRegMap(@Self)^.&set := $00000400;
  24780. end;
  24781. procedure TCMP_CTMUCON.clearEDGSEQEN; inline;
  24782. begin
  24783. pTDefRegMap(@Self)^.clr := $00000400;
  24784. end;
  24785. procedure TCMP_CTMUCON.setEDGSEQEN(thebits : TBits_1); inline;
  24786. begin
  24787. if thebits = 0 then
  24788. pTDefRegMap(@Self)^.clr := $00000400
  24789. else
  24790. pTDefRegMap(@Self)^.&set := $00000400;
  24791. end;
  24792. function TCMP_CTMUCON.getEDGSEQEN : TBits_1; inline;
  24793. begin
  24794. getEDGSEQEN := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  24795. end;
  24796. procedure TCMP_CTMUCON.setEDGEN; inline;
  24797. begin
  24798. pTDefRegMap(@Self)^.&set := $00000800;
  24799. end;
  24800. procedure TCMP_CTMUCON.clearEDGEN; inline;
  24801. begin
  24802. pTDefRegMap(@Self)^.clr := $00000800;
  24803. end;
  24804. procedure TCMP_CTMUCON.setEDGEN(thebits : TBits_1); inline;
  24805. begin
  24806. if thebits = 0 then
  24807. pTDefRegMap(@Self)^.clr := $00000800
  24808. else
  24809. pTDefRegMap(@Self)^.&set := $00000800;
  24810. end;
  24811. function TCMP_CTMUCON.getEDGEN : TBits_1; inline;
  24812. begin
  24813. getEDGEN := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  24814. end;
  24815. procedure TCMP_CTMUCON.setTGEN; inline;
  24816. begin
  24817. pTDefRegMap(@Self)^.&set := $00001000;
  24818. end;
  24819. procedure TCMP_CTMUCON.clearTGEN; inline;
  24820. begin
  24821. pTDefRegMap(@Self)^.clr := $00001000;
  24822. end;
  24823. procedure TCMP_CTMUCON.setTGEN(thebits : TBits_1); inline;
  24824. begin
  24825. if thebits = 0 then
  24826. pTDefRegMap(@Self)^.clr := $00001000
  24827. else
  24828. pTDefRegMap(@Self)^.&set := $00001000;
  24829. end;
  24830. function TCMP_CTMUCON.getTGEN : TBits_1; inline;
  24831. begin
  24832. getTGEN := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  24833. end;
  24834. procedure TCMP_CTMUCON.setCTMUSIDL; inline;
  24835. begin
  24836. pTDefRegMap(@Self)^.&set := $00002000;
  24837. end;
  24838. procedure TCMP_CTMUCON.clearCTMUSIDL; inline;
  24839. begin
  24840. pTDefRegMap(@Self)^.clr := $00002000;
  24841. end;
  24842. procedure TCMP_CTMUCON.setCTMUSIDL(thebits : TBits_1); inline;
  24843. begin
  24844. if thebits = 0 then
  24845. pTDefRegMap(@Self)^.clr := $00002000
  24846. else
  24847. pTDefRegMap(@Self)^.&set := $00002000;
  24848. end;
  24849. function TCMP_CTMUCON.getCTMUSIDL : TBits_1; inline;
  24850. begin
  24851. getCTMUSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  24852. end;
  24853. procedure TCMP_CTMUCON.setON; inline;
  24854. begin
  24855. pTDefRegMap(@Self)^.&set := $00008000;
  24856. end;
  24857. procedure TCMP_CTMUCON.clearON; inline;
  24858. begin
  24859. pTDefRegMap(@Self)^.clr := $00008000;
  24860. end;
  24861. procedure TCMP_CTMUCON.setON(thebits : TBits_1); inline;
  24862. begin
  24863. if thebits = 0 then
  24864. pTDefRegMap(@Self)^.clr := $00008000
  24865. else
  24866. pTDefRegMap(@Self)^.&set := $00008000;
  24867. end;
  24868. function TCMP_CTMUCON.getON : TBits_1; inline;
  24869. begin
  24870. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  24871. end;
  24872. procedure TCMP_CTMUCON.setEDG2SEL(thebits : TBits_4); inline;
  24873. begin
  24874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFC3FFFF or ( thebits shl 18 );
  24875. end;
  24876. function TCMP_CTMUCON.getEDG2SEL : TBits_4; inline;
  24877. begin
  24878. getEDG2SEL := (pTDefRegMap(@Self)^.val and $003C0000) shr 18;
  24879. end;
  24880. procedure TCMP_CTMUCON.setEDG2POL; inline;
  24881. begin
  24882. pTDefRegMap(@Self)^.&set := $00400000;
  24883. end;
  24884. procedure TCMP_CTMUCON.clearEDG2POL; inline;
  24885. begin
  24886. pTDefRegMap(@Self)^.clr := $00400000;
  24887. end;
  24888. procedure TCMP_CTMUCON.setEDG2POL(thebits : TBits_1); inline;
  24889. begin
  24890. if thebits = 0 then
  24891. pTDefRegMap(@Self)^.clr := $00400000
  24892. else
  24893. pTDefRegMap(@Self)^.&set := $00400000;
  24894. end;
  24895. function TCMP_CTMUCON.getEDG2POL : TBits_1; inline;
  24896. begin
  24897. getEDG2POL := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  24898. end;
  24899. procedure TCMP_CTMUCON.setEDG2MOD; inline;
  24900. begin
  24901. pTDefRegMap(@Self)^.&set := $00800000;
  24902. end;
  24903. procedure TCMP_CTMUCON.clearEDG2MOD; inline;
  24904. begin
  24905. pTDefRegMap(@Self)^.clr := $00800000;
  24906. end;
  24907. procedure TCMP_CTMUCON.setEDG2MOD(thebits : TBits_1); inline;
  24908. begin
  24909. if thebits = 0 then
  24910. pTDefRegMap(@Self)^.clr := $00800000
  24911. else
  24912. pTDefRegMap(@Self)^.&set := $00800000;
  24913. end;
  24914. function TCMP_CTMUCON.getEDG2MOD : TBits_1; inline;
  24915. begin
  24916. getEDG2MOD := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  24917. end;
  24918. procedure TCMP_CTMUCON.setEDG1STAT; inline;
  24919. begin
  24920. pTDefRegMap(@Self)^.&set := $01000000;
  24921. end;
  24922. procedure TCMP_CTMUCON.clearEDG1STAT; inline;
  24923. begin
  24924. pTDefRegMap(@Self)^.clr := $01000000;
  24925. end;
  24926. procedure TCMP_CTMUCON.setEDG1STAT(thebits : TBits_1); inline;
  24927. begin
  24928. if thebits = 0 then
  24929. pTDefRegMap(@Self)^.clr := $01000000
  24930. else
  24931. pTDefRegMap(@Self)^.&set := $01000000;
  24932. end;
  24933. function TCMP_CTMUCON.getEDG1STAT : TBits_1; inline;
  24934. begin
  24935. getEDG1STAT := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  24936. end;
  24937. procedure TCMP_CTMUCON.setEDG2STAT; inline;
  24938. begin
  24939. pTDefRegMap(@Self)^.&set := $02000000;
  24940. end;
  24941. procedure TCMP_CTMUCON.clearEDG2STAT; inline;
  24942. begin
  24943. pTDefRegMap(@Self)^.clr := $02000000;
  24944. end;
  24945. procedure TCMP_CTMUCON.setEDG2STAT(thebits : TBits_1); inline;
  24946. begin
  24947. if thebits = 0 then
  24948. pTDefRegMap(@Self)^.clr := $02000000
  24949. else
  24950. pTDefRegMap(@Self)^.&set := $02000000;
  24951. end;
  24952. function TCMP_CTMUCON.getEDG2STAT : TBits_1; inline;
  24953. begin
  24954. getEDG2STAT := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  24955. end;
  24956. procedure TCMP_CTMUCON.setEDG1SEL(thebits : TBits_4); inline;
  24957. begin
  24958. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C3FFFFFF or ( thebits shl 26 );
  24959. end;
  24960. function TCMP_CTMUCON.getEDG1SEL : TBits_4; inline;
  24961. begin
  24962. getEDG1SEL := (pTDefRegMap(@Self)^.val and $3C000000) shr 26;
  24963. end;
  24964. procedure TCMP_CTMUCON.setEDG1POL; inline;
  24965. begin
  24966. pTDefRegMap(@Self)^.&set := $40000000;
  24967. end;
  24968. procedure TCMP_CTMUCON.clearEDG1POL; inline;
  24969. begin
  24970. pTDefRegMap(@Self)^.clr := $40000000;
  24971. end;
  24972. procedure TCMP_CTMUCON.setEDG1POL(thebits : TBits_1); inline;
  24973. begin
  24974. if thebits = 0 then
  24975. pTDefRegMap(@Self)^.clr := $40000000
  24976. else
  24977. pTDefRegMap(@Self)^.&set := $40000000;
  24978. end;
  24979. function TCMP_CTMUCON.getEDG1POL : TBits_1; inline;
  24980. begin
  24981. getEDG1POL := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  24982. end;
  24983. procedure TCMP_CTMUCON.setEDG1MOD; inline;
  24984. begin
  24985. pTDefRegMap(@Self)^.&set := $80000000;
  24986. end;
  24987. procedure TCMP_CTMUCON.clearEDG1MOD; inline;
  24988. begin
  24989. pTDefRegMap(@Self)^.clr := $80000000;
  24990. end;
  24991. procedure TCMP_CTMUCON.setEDG1MOD(thebits : TBits_1); inline;
  24992. begin
  24993. if thebits = 0 then
  24994. pTDefRegMap(@Self)^.clr := $80000000
  24995. else
  24996. pTDefRegMap(@Self)^.&set := $80000000;
  24997. end;
  24998. function TCMP_CTMUCON.getEDG1MOD : TBits_1; inline;
  24999. begin
  25000. getEDG1MOD := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  25001. end;
  25002. procedure TCMP_CTMUCON.setw(thebits : TBits_32); inline;
  25003. begin
  25004. pTDefRegMap(@Self)^.val := thebits;
  25005. end;
  25006. function TCMP_CTMUCON.getw : TBits_32; inline;
  25007. begin
  25008. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25009. end;
  25010. procedure TOSC_OSCCON.setOSWEN; inline;
  25011. begin
  25012. pTDefRegMap(@Self)^.&set := $00000001;
  25013. end;
  25014. procedure TOSC_OSCCON.clearOSWEN; inline;
  25015. begin
  25016. pTDefRegMap(@Self)^.clr := $00000001;
  25017. end;
  25018. procedure TOSC_OSCCON.setOSWEN(thebits : TBits_1); inline;
  25019. begin
  25020. if thebits = 0 then
  25021. pTDefRegMap(@Self)^.clr := $00000001
  25022. else
  25023. pTDefRegMap(@Self)^.&set := $00000001;
  25024. end;
  25025. function TOSC_OSCCON.getOSWEN : TBits_1; inline;
  25026. begin
  25027. getOSWEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25028. end;
  25029. procedure TOSC_OSCCON.setSOSCEN; inline;
  25030. begin
  25031. pTDefRegMap(@Self)^.&set := $00000002;
  25032. end;
  25033. procedure TOSC_OSCCON.clearSOSCEN; inline;
  25034. begin
  25035. pTDefRegMap(@Self)^.clr := $00000002;
  25036. end;
  25037. procedure TOSC_OSCCON.setSOSCEN(thebits : TBits_1); inline;
  25038. begin
  25039. if thebits = 0 then
  25040. pTDefRegMap(@Self)^.clr := $00000002
  25041. else
  25042. pTDefRegMap(@Self)^.&set := $00000002;
  25043. end;
  25044. function TOSC_OSCCON.getSOSCEN : TBits_1; inline;
  25045. begin
  25046. getSOSCEN := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25047. end;
  25048. procedure TOSC_OSCCON.setUFRCEN; inline;
  25049. begin
  25050. pTDefRegMap(@Self)^.&set := $00000004;
  25051. end;
  25052. procedure TOSC_OSCCON.clearUFRCEN; inline;
  25053. begin
  25054. pTDefRegMap(@Self)^.clr := $00000004;
  25055. end;
  25056. procedure TOSC_OSCCON.setUFRCEN(thebits : TBits_1); inline;
  25057. begin
  25058. if thebits = 0 then
  25059. pTDefRegMap(@Self)^.clr := $00000004
  25060. else
  25061. pTDefRegMap(@Self)^.&set := $00000004;
  25062. end;
  25063. function TOSC_OSCCON.getUFRCEN : TBits_1; inline;
  25064. begin
  25065. getUFRCEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25066. end;
  25067. procedure TOSC_OSCCON.setCF; inline;
  25068. begin
  25069. pTDefRegMap(@Self)^.&set := $00000008;
  25070. end;
  25071. procedure TOSC_OSCCON.clearCF; inline;
  25072. begin
  25073. pTDefRegMap(@Self)^.clr := $00000008;
  25074. end;
  25075. procedure TOSC_OSCCON.setCF(thebits : TBits_1); inline;
  25076. begin
  25077. if thebits = 0 then
  25078. pTDefRegMap(@Self)^.clr := $00000008
  25079. else
  25080. pTDefRegMap(@Self)^.&set := $00000008;
  25081. end;
  25082. function TOSC_OSCCON.getCF : TBits_1; inline;
  25083. begin
  25084. getCF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25085. end;
  25086. procedure TOSC_OSCCON.setSLPEN; inline;
  25087. begin
  25088. pTDefRegMap(@Self)^.&set := $00000010;
  25089. end;
  25090. procedure TOSC_OSCCON.clearSLPEN; inline;
  25091. begin
  25092. pTDefRegMap(@Self)^.clr := $00000010;
  25093. end;
  25094. procedure TOSC_OSCCON.setSLPEN(thebits : TBits_1); inline;
  25095. begin
  25096. if thebits = 0 then
  25097. pTDefRegMap(@Self)^.clr := $00000010
  25098. else
  25099. pTDefRegMap(@Self)^.&set := $00000010;
  25100. end;
  25101. function TOSC_OSCCON.getSLPEN : TBits_1; inline;
  25102. begin
  25103. getSLPEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25104. end;
  25105. procedure TOSC_OSCCON.setSLOCK; inline;
  25106. begin
  25107. pTDefRegMap(@Self)^.&set := $00000020;
  25108. end;
  25109. procedure TOSC_OSCCON.clearSLOCK; inline;
  25110. begin
  25111. pTDefRegMap(@Self)^.clr := $00000020;
  25112. end;
  25113. procedure TOSC_OSCCON.setSLOCK(thebits : TBits_1); inline;
  25114. begin
  25115. if thebits = 0 then
  25116. pTDefRegMap(@Self)^.clr := $00000020
  25117. else
  25118. pTDefRegMap(@Self)^.&set := $00000020;
  25119. end;
  25120. function TOSC_OSCCON.getSLOCK : TBits_1; inline;
  25121. begin
  25122. getSLOCK := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25123. end;
  25124. procedure TOSC_OSCCON.setULOCK; inline;
  25125. begin
  25126. pTDefRegMap(@Self)^.&set := $00000040;
  25127. end;
  25128. procedure TOSC_OSCCON.clearULOCK; inline;
  25129. begin
  25130. pTDefRegMap(@Self)^.clr := $00000040;
  25131. end;
  25132. procedure TOSC_OSCCON.setULOCK(thebits : TBits_1); inline;
  25133. begin
  25134. if thebits = 0 then
  25135. pTDefRegMap(@Self)^.clr := $00000040
  25136. else
  25137. pTDefRegMap(@Self)^.&set := $00000040;
  25138. end;
  25139. function TOSC_OSCCON.getULOCK : TBits_1; inline;
  25140. begin
  25141. getULOCK := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  25142. end;
  25143. procedure TOSC_OSCCON.setCLKLOCK; inline;
  25144. begin
  25145. pTDefRegMap(@Self)^.&set := $00000080;
  25146. end;
  25147. procedure TOSC_OSCCON.clearCLKLOCK; inline;
  25148. begin
  25149. pTDefRegMap(@Self)^.clr := $00000080;
  25150. end;
  25151. procedure TOSC_OSCCON.setCLKLOCK(thebits : TBits_1); inline;
  25152. begin
  25153. if thebits = 0 then
  25154. pTDefRegMap(@Self)^.clr := $00000080
  25155. else
  25156. pTDefRegMap(@Self)^.&set := $00000080;
  25157. end;
  25158. function TOSC_OSCCON.getCLKLOCK : TBits_1; inline;
  25159. begin
  25160. getCLKLOCK := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  25161. end;
  25162. procedure TOSC_OSCCON.setNOSC(thebits : TBits_3); inline;
  25163. begin
  25164. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  25165. end;
  25166. function TOSC_OSCCON.getNOSC : TBits_3; inline;
  25167. begin
  25168. getNOSC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  25169. end;
  25170. procedure TOSC_OSCCON.setCOSC(thebits : TBits_3); inline;
  25171. begin
  25172. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF8FFF or ( thebits shl 12 );
  25173. end;
  25174. function TOSC_OSCCON.getCOSC : TBits_3; inline;
  25175. begin
  25176. getCOSC := (pTDefRegMap(@Self)^.val and $00007000) shr 12;
  25177. end;
  25178. procedure TOSC_OSCCON.setPLLMULT(thebits : TBits_3); inline;
  25179. begin
  25180. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  25181. end;
  25182. function TOSC_OSCCON.getPLLMULT : TBits_3; inline;
  25183. begin
  25184. getPLLMULT := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  25185. end;
  25186. procedure TOSC_OSCCON.setPBDIV(thebits : TBits_2); inline;
  25187. begin
  25188. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE7FFFF or ( thebits shl 19 );
  25189. end;
  25190. function TOSC_OSCCON.getPBDIV : TBits_2; inline;
  25191. begin
  25192. getPBDIV := (pTDefRegMap(@Self)^.val and $00180000) shr 19;
  25193. end;
  25194. procedure TOSC_OSCCON.setPBDIVRDY; inline;
  25195. begin
  25196. pTDefRegMap(@Self)^.&set := $00200000;
  25197. end;
  25198. procedure TOSC_OSCCON.clearPBDIVRDY; inline;
  25199. begin
  25200. pTDefRegMap(@Self)^.clr := $00200000;
  25201. end;
  25202. procedure TOSC_OSCCON.setPBDIVRDY(thebits : TBits_1); inline;
  25203. begin
  25204. if thebits = 0 then
  25205. pTDefRegMap(@Self)^.clr := $00200000
  25206. else
  25207. pTDefRegMap(@Self)^.&set := $00200000;
  25208. end;
  25209. function TOSC_OSCCON.getPBDIVRDY : TBits_1; inline;
  25210. begin
  25211. getPBDIVRDY := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  25212. end;
  25213. procedure TOSC_OSCCON.setSOSCRDY; inline;
  25214. begin
  25215. pTDefRegMap(@Self)^.&set := $00400000;
  25216. end;
  25217. procedure TOSC_OSCCON.clearSOSCRDY; inline;
  25218. begin
  25219. pTDefRegMap(@Self)^.clr := $00400000;
  25220. end;
  25221. procedure TOSC_OSCCON.setSOSCRDY(thebits : TBits_1); inline;
  25222. begin
  25223. if thebits = 0 then
  25224. pTDefRegMap(@Self)^.clr := $00400000
  25225. else
  25226. pTDefRegMap(@Self)^.&set := $00400000;
  25227. end;
  25228. function TOSC_OSCCON.getSOSCRDY : TBits_1; inline;
  25229. begin
  25230. getSOSCRDY := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  25231. end;
  25232. procedure TOSC_OSCCON.setFRCDIV(thebits : TBits_3); inline;
  25233. begin
  25234. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $F8FFFFFF or ( thebits shl 24 );
  25235. end;
  25236. function TOSC_OSCCON.getFRCDIV : TBits_3; inline;
  25237. begin
  25238. getFRCDIV := (pTDefRegMap(@Self)^.val and $07000000) shr 24;
  25239. end;
  25240. procedure TOSC_OSCCON.setPLLODIV(thebits : TBits_3); inline;
  25241. begin
  25242. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $C7FFFFFF or ( thebits shl 27 );
  25243. end;
  25244. function TOSC_OSCCON.getPLLODIV : TBits_3; inline;
  25245. begin
  25246. getPLLODIV := (pTDefRegMap(@Self)^.val and $38000000) shr 27;
  25247. end;
  25248. procedure TOSC_OSCCON.setNOSC0; inline;
  25249. begin
  25250. pTDefRegMap(@Self)^.&set := $00000100;
  25251. end;
  25252. procedure TOSC_OSCCON.clearNOSC0; inline;
  25253. begin
  25254. pTDefRegMap(@Self)^.clr := $00000100;
  25255. end;
  25256. procedure TOSC_OSCCON.setNOSC0(thebits : TBits_1); inline;
  25257. begin
  25258. if thebits = 0 then
  25259. pTDefRegMap(@Self)^.clr := $00000100
  25260. else
  25261. pTDefRegMap(@Self)^.&set := $00000100;
  25262. end;
  25263. function TOSC_OSCCON.getNOSC0 : TBits_1; inline;
  25264. begin
  25265. getNOSC0 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25266. end;
  25267. procedure TOSC_OSCCON.setNOSC1; inline;
  25268. begin
  25269. pTDefRegMap(@Self)^.&set := $00000200;
  25270. end;
  25271. procedure TOSC_OSCCON.clearNOSC1; inline;
  25272. begin
  25273. pTDefRegMap(@Self)^.clr := $00000200;
  25274. end;
  25275. procedure TOSC_OSCCON.setNOSC1(thebits : TBits_1); inline;
  25276. begin
  25277. if thebits = 0 then
  25278. pTDefRegMap(@Self)^.clr := $00000200
  25279. else
  25280. pTDefRegMap(@Self)^.&set := $00000200;
  25281. end;
  25282. function TOSC_OSCCON.getNOSC1 : TBits_1; inline;
  25283. begin
  25284. getNOSC1 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25285. end;
  25286. procedure TOSC_OSCCON.setNOSC2; inline;
  25287. begin
  25288. pTDefRegMap(@Self)^.&set := $00000400;
  25289. end;
  25290. procedure TOSC_OSCCON.clearNOSC2; inline;
  25291. begin
  25292. pTDefRegMap(@Self)^.clr := $00000400;
  25293. end;
  25294. procedure TOSC_OSCCON.setNOSC2(thebits : TBits_1); inline;
  25295. begin
  25296. if thebits = 0 then
  25297. pTDefRegMap(@Self)^.clr := $00000400
  25298. else
  25299. pTDefRegMap(@Self)^.&set := $00000400;
  25300. end;
  25301. function TOSC_OSCCON.getNOSC2 : TBits_1; inline;
  25302. begin
  25303. getNOSC2 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  25304. end;
  25305. procedure TOSC_OSCCON.setCOSC0; inline;
  25306. begin
  25307. pTDefRegMap(@Self)^.&set := $00001000;
  25308. end;
  25309. procedure TOSC_OSCCON.clearCOSC0; inline;
  25310. begin
  25311. pTDefRegMap(@Self)^.clr := $00001000;
  25312. end;
  25313. procedure TOSC_OSCCON.setCOSC0(thebits : TBits_1); inline;
  25314. begin
  25315. if thebits = 0 then
  25316. pTDefRegMap(@Self)^.clr := $00001000
  25317. else
  25318. pTDefRegMap(@Self)^.&set := $00001000;
  25319. end;
  25320. function TOSC_OSCCON.getCOSC0 : TBits_1; inline;
  25321. begin
  25322. getCOSC0 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25323. end;
  25324. procedure TOSC_OSCCON.setCOSC1; inline;
  25325. begin
  25326. pTDefRegMap(@Self)^.&set := $00002000;
  25327. end;
  25328. procedure TOSC_OSCCON.clearCOSC1; inline;
  25329. begin
  25330. pTDefRegMap(@Self)^.clr := $00002000;
  25331. end;
  25332. procedure TOSC_OSCCON.setCOSC1(thebits : TBits_1); inline;
  25333. begin
  25334. if thebits = 0 then
  25335. pTDefRegMap(@Self)^.clr := $00002000
  25336. else
  25337. pTDefRegMap(@Self)^.&set := $00002000;
  25338. end;
  25339. function TOSC_OSCCON.getCOSC1 : TBits_1; inline;
  25340. begin
  25341. getCOSC1 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25342. end;
  25343. procedure TOSC_OSCCON.setCOSC2; inline;
  25344. begin
  25345. pTDefRegMap(@Self)^.&set := $00004000;
  25346. end;
  25347. procedure TOSC_OSCCON.clearCOSC2; inline;
  25348. begin
  25349. pTDefRegMap(@Self)^.clr := $00004000;
  25350. end;
  25351. procedure TOSC_OSCCON.setCOSC2(thebits : TBits_1); inline;
  25352. begin
  25353. if thebits = 0 then
  25354. pTDefRegMap(@Self)^.clr := $00004000
  25355. else
  25356. pTDefRegMap(@Self)^.&set := $00004000;
  25357. end;
  25358. function TOSC_OSCCON.getCOSC2 : TBits_1; inline;
  25359. begin
  25360. getCOSC2 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25361. end;
  25362. procedure TOSC_OSCCON.setPLLMULT0; inline;
  25363. begin
  25364. pTDefRegMap(@Self)^.&set := $00010000;
  25365. end;
  25366. procedure TOSC_OSCCON.clearPLLMULT0; inline;
  25367. begin
  25368. pTDefRegMap(@Self)^.clr := $00010000;
  25369. end;
  25370. procedure TOSC_OSCCON.setPLLMULT0(thebits : TBits_1); inline;
  25371. begin
  25372. if thebits = 0 then
  25373. pTDefRegMap(@Self)^.clr := $00010000
  25374. else
  25375. pTDefRegMap(@Self)^.&set := $00010000;
  25376. end;
  25377. function TOSC_OSCCON.getPLLMULT0 : TBits_1; inline;
  25378. begin
  25379. getPLLMULT0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  25380. end;
  25381. procedure TOSC_OSCCON.setPLLMULT1; inline;
  25382. begin
  25383. pTDefRegMap(@Self)^.&set := $00020000;
  25384. end;
  25385. procedure TOSC_OSCCON.clearPLLMULT1; inline;
  25386. begin
  25387. pTDefRegMap(@Self)^.clr := $00020000;
  25388. end;
  25389. procedure TOSC_OSCCON.setPLLMULT1(thebits : TBits_1); inline;
  25390. begin
  25391. if thebits = 0 then
  25392. pTDefRegMap(@Self)^.clr := $00020000
  25393. else
  25394. pTDefRegMap(@Self)^.&set := $00020000;
  25395. end;
  25396. function TOSC_OSCCON.getPLLMULT1 : TBits_1; inline;
  25397. begin
  25398. getPLLMULT1 := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  25399. end;
  25400. procedure TOSC_OSCCON.setPLLMULT2; inline;
  25401. begin
  25402. pTDefRegMap(@Self)^.&set := $00040000;
  25403. end;
  25404. procedure TOSC_OSCCON.clearPLLMULT2; inline;
  25405. begin
  25406. pTDefRegMap(@Self)^.clr := $00040000;
  25407. end;
  25408. procedure TOSC_OSCCON.setPLLMULT2(thebits : TBits_1); inline;
  25409. begin
  25410. if thebits = 0 then
  25411. pTDefRegMap(@Self)^.clr := $00040000
  25412. else
  25413. pTDefRegMap(@Self)^.&set := $00040000;
  25414. end;
  25415. function TOSC_OSCCON.getPLLMULT2 : TBits_1; inline;
  25416. begin
  25417. getPLLMULT2 := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  25418. end;
  25419. procedure TOSC_OSCCON.setPBDIV0; inline;
  25420. begin
  25421. pTDefRegMap(@Self)^.&set := $00080000;
  25422. end;
  25423. procedure TOSC_OSCCON.clearPBDIV0; inline;
  25424. begin
  25425. pTDefRegMap(@Self)^.clr := $00080000;
  25426. end;
  25427. procedure TOSC_OSCCON.setPBDIV0(thebits : TBits_1); inline;
  25428. begin
  25429. if thebits = 0 then
  25430. pTDefRegMap(@Self)^.clr := $00080000
  25431. else
  25432. pTDefRegMap(@Self)^.&set := $00080000;
  25433. end;
  25434. function TOSC_OSCCON.getPBDIV0 : TBits_1; inline;
  25435. begin
  25436. getPBDIV0 := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  25437. end;
  25438. procedure TOSC_OSCCON.setPBDIV1; inline;
  25439. begin
  25440. pTDefRegMap(@Self)^.&set := $00100000;
  25441. end;
  25442. procedure TOSC_OSCCON.clearPBDIV1; inline;
  25443. begin
  25444. pTDefRegMap(@Self)^.clr := $00100000;
  25445. end;
  25446. procedure TOSC_OSCCON.setPBDIV1(thebits : TBits_1); inline;
  25447. begin
  25448. if thebits = 0 then
  25449. pTDefRegMap(@Self)^.clr := $00100000
  25450. else
  25451. pTDefRegMap(@Self)^.&set := $00100000;
  25452. end;
  25453. function TOSC_OSCCON.getPBDIV1 : TBits_1; inline;
  25454. begin
  25455. getPBDIV1 := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  25456. end;
  25457. procedure TOSC_OSCCON.setFRCDIV0; inline;
  25458. begin
  25459. pTDefRegMap(@Self)^.&set := $01000000;
  25460. end;
  25461. procedure TOSC_OSCCON.clearFRCDIV0; inline;
  25462. begin
  25463. pTDefRegMap(@Self)^.clr := $01000000;
  25464. end;
  25465. procedure TOSC_OSCCON.setFRCDIV0(thebits : TBits_1); inline;
  25466. begin
  25467. if thebits = 0 then
  25468. pTDefRegMap(@Self)^.clr := $01000000
  25469. else
  25470. pTDefRegMap(@Self)^.&set := $01000000;
  25471. end;
  25472. function TOSC_OSCCON.getFRCDIV0 : TBits_1; inline;
  25473. begin
  25474. getFRCDIV0 := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  25475. end;
  25476. procedure TOSC_OSCCON.setFRCDIV1; inline;
  25477. begin
  25478. pTDefRegMap(@Self)^.&set := $02000000;
  25479. end;
  25480. procedure TOSC_OSCCON.clearFRCDIV1; inline;
  25481. begin
  25482. pTDefRegMap(@Self)^.clr := $02000000;
  25483. end;
  25484. procedure TOSC_OSCCON.setFRCDIV1(thebits : TBits_1); inline;
  25485. begin
  25486. if thebits = 0 then
  25487. pTDefRegMap(@Self)^.clr := $02000000
  25488. else
  25489. pTDefRegMap(@Self)^.&set := $02000000;
  25490. end;
  25491. function TOSC_OSCCON.getFRCDIV1 : TBits_1; inline;
  25492. begin
  25493. getFRCDIV1 := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  25494. end;
  25495. procedure TOSC_OSCCON.setFRCDIV2; inline;
  25496. begin
  25497. pTDefRegMap(@Self)^.&set := $04000000;
  25498. end;
  25499. procedure TOSC_OSCCON.clearFRCDIV2; inline;
  25500. begin
  25501. pTDefRegMap(@Self)^.clr := $04000000;
  25502. end;
  25503. procedure TOSC_OSCCON.setFRCDIV2(thebits : TBits_1); inline;
  25504. begin
  25505. if thebits = 0 then
  25506. pTDefRegMap(@Self)^.clr := $04000000
  25507. else
  25508. pTDefRegMap(@Self)^.&set := $04000000;
  25509. end;
  25510. function TOSC_OSCCON.getFRCDIV2 : TBits_1; inline;
  25511. begin
  25512. getFRCDIV2 := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  25513. end;
  25514. procedure TOSC_OSCCON.setPLLODIV0; inline;
  25515. begin
  25516. pTDefRegMap(@Self)^.&set := $08000000;
  25517. end;
  25518. procedure TOSC_OSCCON.clearPLLODIV0; inline;
  25519. begin
  25520. pTDefRegMap(@Self)^.clr := $08000000;
  25521. end;
  25522. procedure TOSC_OSCCON.setPLLODIV0(thebits : TBits_1); inline;
  25523. begin
  25524. if thebits = 0 then
  25525. pTDefRegMap(@Self)^.clr := $08000000
  25526. else
  25527. pTDefRegMap(@Self)^.&set := $08000000;
  25528. end;
  25529. function TOSC_OSCCON.getPLLODIV0 : TBits_1; inline;
  25530. begin
  25531. getPLLODIV0 := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  25532. end;
  25533. procedure TOSC_OSCCON.setPLLODIV1; inline;
  25534. begin
  25535. pTDefRegMap(@Self)^.&set := $10000000;
  25536. end;
  25537. procedure TOSC_OSCCON.clearPLLODIV1; inline;
  25538. begin
  25539. pTDefRegMap(@Self)^.clr := $10000000;
  25540. end;
  25541. procedure TOSC_OSCCON.setPLLODIV1(thebits : TBits_1); inline;
  25542. begin
  25543. if thebits = 0 then
  25544. pTDefRegMap(@Self)^.clr := $10000000
  25545. else
  25546. pTDefRegMap(@Self)^.&set := $10000000;
  25547. end;
  25548. function TOSC_OSCCON.getPLLODIV1 : TBits_1; inline;
  25549. begin
  25550. getPLLODIV1 := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  25551. end;
  25552. procedure TOSC_OSCCON.setPLLODIV2; inline;
  25553. begin
  25554. pTDefRegMap(@Self)^.&set := $20000000;
  25555. end;
  25556. procedure TOSC_OSCCON.clearPLLODIV2; inline;
  25557. begin
  25558. pTDefRegMap(@Self)^.clr := $20000000;
  25559. end;
  25560. procedure TOSC_OSCCON.setPLLODIV2(thebits : TBits_1); inline;
  25561. begin
  25562. if thebits = 0 then
  25563. pTDefRegMap(@Self)^.clr := $20000000
  25564. else
  25565. pTDefRegMap(@Self)^.&set := $20000000;
  25566. end;
  25567. function TOSC_OSCCON.getPLLODIV2 : TBits_1; inline;
  25568. begin
  25569. getPLLODIV2 := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  25570. end;
  25571. procedure TOSC_OSCCON.setw(thebits : TBits_32); inline;
  25572. begin
  25573. pTDefRegMap(@Self)^.val := thebits;
  25574. end;
  25575. function TOSC_OSCCON.getw : TBits_32; inline;
  25576. begin
  25577. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25578. end;
  25579. procedure TOSC_OSCTUN.setTUN(thebits : TBits_6); inline;
  25580. begin
  25581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFC0 or ( thebits shl 0 );
  25582. end;
  25583. function TOSC_OSCTUN.getTUN : TBits_6; inline;
  25584. begin
  25585. getTUN := (pTDefRegMap(@Self)^.val and $0000003F) shr 0;
  25586. end;
  25587. procedure TOSC_OSCTUN.setTUN0; inline;
  25588. begin
  25589. pTDefRegMap(@Self)^.&set := $00000001;
  25590. end;
  25591. procedure TOSC_OSCTUN.clearTUN0; inline;
  25592. begin
  25593. pTDefRegMap(@Self)^.clr := $00000001;
  25594. end;
  25595. procedure TOSC_OSCTUN.setTUN0(thebits : TBits_1); inline;
  25596. begin
  25597. if thebits = 0 then
  25598. pTDefRegMap(@Self)^.clr := $00000001
  25599. else
  25600. pTDefRegMap(@Self)^.&set := $00000001;
  25601. end;
  25602. function TOSC_OSCTUN.getTUN0 : TBits_1; inline;
  25603. begin
  25604. getTUN0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25605. end;
  25606. procedure TOSC_OSCTUN.setTUN1; inline;
  25607. begin
  25608. pTDefRegMap(@Self)^.&set := $00000002;
  25609. end;
  25610. procedure TOSC_OSCTUN.clearTUN1; inline;
  25611. begin
  25612. pTDefRegMap(@Self)^.clr := $00000002;
  25613. end;
  25614. procedure TOSC_OSCTUN.setTUN1(thebits : TBits_1); inline;
  25615. begin
  25616. if thebits = 0 then
  25617. pTDefRegMap(@Self)^.clr := $00000002
  25618. else
  25619. pTDefRegMap(@Self)^.&set := $00000002;
  25620. end;
  25621. function TOSC_OSCTUN.getTUN1 : TBits_1; inline;
  25622. begin
  25623. getTUN1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  25624. end;
  25625. procedure TOSC_OSCTUN.setTUN2; inline;
  25626. begin
  25627. pTDefRegMap(@Self)^.&set := $00000004;
  25628. end;
  25629. procedure TOSC_OSCTUN.clearTUN2; inline;
  25630. begin
  25631. pTDefRegMap(@Self)^.clr := $00000004;
  25632. end;
  25633. procedure TOSC_OSCTUN.setTUN2(thebits : TBits_1); inline;
  25634. begin
  25635. if thebits = 0 then
  25636. pTDefRegMap(@Self)^.clr := $00000004
  25637. else
  25638. pTDefRegMap(@Self)^.&set := $00000004;
  25639. end;
  25640. function TOSC_OSCTUN.getTUN2 : TBits_1; inline;
  25641. begin
  25642. getTUN2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  25643. end;
  25644. procedure TOSC_OSCTUN.setTUN3; inline;
  25645. begin
  25646. pTDefRegMap(@Self)^.&set := $00000008;
  25647. end;
  25648. procedure TOSC_OSCTUN.clearTUN3; inline;
  25649. begin
  25650. pTDefRegMap(@Self)^.clr := $00000008;
  25651. end;
  25652. procedure TOSC_OSCTUN.setTUN3(thebits : TBits_1); inline;
  25653. begin
  25654. if thebits = 0 then
  25655. pTDefRegMap(@Self)^.clr := $00000008
  25656. else
  25657. pTDefRegMap(@Self)^.&set := $00000008;
  25658. end;
  25659. function TOSC_OSCTUN.getTUN3 : TBits_1; inline;
  25660. begin
  25661. getTUN3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  25662. end;
  25663. procedure TOSC_OSCTUN.setTUN4; inline;
  25664. begin
  25665. pTDefRegMap(@Self)^.&set := $00000010;
  25666. end;
  25667. procedure TOSC_OSCTUN.clearTUN4; inline;
  25668. begin
  25669. pTDefRegMap(@Self)^.clr := $00000010;
  25670. end;
  25671. procedure TOSC_OSCTUN.setTUN4(thebits : TBits_1); inline;
  25672. begin
  25673. if thebits = 0 then
  25674. pTDefRegMap(@Self)^.clr := $00000010
  25675. else
  25676. pTDefRegMap(@Self)^.&set := $00000010;
  25677. end;
  25678. function TOSC_OSCTUN.getTUN4 : TBits_1; inline;
  25679. begin
  25680. getTUN4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  25681. end;
  25682. procedure TOSC_OSCTUN.setTUN5; inline;
  25683. begin
  25684. pTDefRegMap(@Self)^.&set := $00000020;
  25685. end;
  25686. procedure TOSC_OSCTUN.clearTUN5; inline;
  25687. begin
  25688. pTDefRegMap(@Self)^.clr := $00000020;
  25689. end;
  25690. procedure TOSC_OSCTUN.setTUN5(thebits : TBits_1); inline;
  25691. begin
  25692. if thebits = 0 then
  25693. pTDefRegMap(@Self)^.clr := $00000020
  25694. else
  25695. pTDefRegMap(@Self)^.&set := $00000020;
  25696. end;
  25697. function TOSC_OSCTUN.getTUN5 : TBits_1; inline;
  25698. begin
  25699. getTUN5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  25700. end;
  25701. procedure TOSC_OSCTUN.setw(thebits : TBits_32); inline;
  25702. begin
  25703. pTDefRegMap(@Self)^.val := thebits;
  25704. end;
  25705. function TOSC_OSCTUN.getw : TBits_32; inline;
  25706. begin
  25707. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25708. end;
  25709. procedure TOSC_REFOCON.setROSEL(thebits : TBits_4); inline;
  25710. begin
  25711. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25712. end;
  25713. function TOSC_REFOCON.getROSEL : TBits_4; inline;
  25714. begin
  25715. getROSEL := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25716. end;
  25717. procedure TOSC_REFOCON.setACTIVE; inline;
  25718. begin
  25719. pTDefRegMap(@Self)^.&set := $00000100;
  25720. end;
  25721. procedure TOSC_REFOCON.clearACTIVE; inline;
  25722. begin
  25723. pTDefRegMap(@Self)^.clr := $00000100;
  25724. end;
  25725. procedure TOSC_REFOCON.setACTIVE(thebits : TBits_1); inline;
  25726. begin
  25727. if thebits = 0 then
  25728. pTDefRegMap(@Self)^.clr := $00000100
  25729. else
  25730. pTDefRegMap(@Self)^.&set := $00000100;
  25731. end;
  25732. function TOSC_REFOCON.getACTIVE : TBits_1; inline;
  25733. begin
  25734. getACTIVE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  25735. end;
  25736. procedure TOSC_REFOCON.setDIVSWEN; inline;
  25737. begin
  25738. pTDefRegMap(@Self)^.&set := $00000200;
  25739. end;
  25740. procedure TOSC_REFOCON.clearDIVSWEN; inline;
  25741. begin
  25742. pTDefRegMap(@Self)^.clr := $00000200;
  25743. end;
  25744. procedure TOSC_REFOCON.setDIVSWEN(thebits : TBits_1); inline;
  25745. begin
  25746. if thebits = 0 then
  25747. pTDefRegMap(@Self)^.clr := $00000200
  25748. else
  25749. pTDefRegMap(@Self)^.&set := $00000200;
  25750. end;
  25751. function TOSC_REFOCON.getDIVSWEN : TBits_1; inline;
  25752. begin
  25753. getDIVSWEN := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  25754. end;
  25755. procedure TOSC_REFOCON.setRSLP; inline;
  25756. begin
  25757. pTDefRegMap(@Self)^.&set := $00000800;
  25758. end;
  25759. procedure TOSC_REFOCON.clearRSLP; inline;
  25760. begin
  25761. pTDefRegMap(@Self)^.clr := $00000800;
  25762. end;
  25763. procedure TOSC_REFOCON.setRSLP(thebits : TBits_1); inline;
  25764. begin
  25765. if thebits = 0 then
  25766. pTDefRegMap(@Self)^.clr := $00000800
  25767. else
  25768. pTDefRegMap(@Self)^.&set := $00000800;
  25769. end;
  25770. function TOSC_REFOCON.getRSLP : TBits_1; inline;
  25771. begin
  25772. getRSLP := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25773. end;
  25774. procedure TOSC_REFOCON.setOE; inline;
  25775. begin
  25776. pTDefRegMap(@Self)^.&set := $00001000;
  25777. end;
  25778. procedure TOSC_REFOCON.clearOE; inline;
  25779. begin
  25780. pTDefRegMap(@Self)^.clr := $00001000;
  25781. end;
  25782. procedure TOSC_REFOCON.setOE(thebits : TBits_1); inline;
  25783. begin
  25784. if thebits = 0 then
  25785. pTDefRegMap(@Self)^.clr := $00001000
  25786. else
  25787. pTDefRegMap(@Self)^.&set := $00001000;
  25788. end;
  25789. function TOSC_REFOCON.getOE : TBits_1; inline;
  25790. begin
  25791. getOE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25792. end;
  25793. procedure TOSC_REFOCON.setSIDL; inline;
  25794. begin
  25795. pTDefRegMap(@Self)^.&set := $00002000;
  25796. end;
  25797. procedure TOSC_REFOCON.clearSIDL; inline;
  25798. begin
  25799. pTDefRegMap(@Self)^.clr := $00002000;
  25800. end;
  25801. procedure TOSC_REFOCON.setSIDL(thebits : TBits_1); inline;
  25802. begin
  25803. if thebits = 0 then
  25804. pTDefRegMap(@Self)^.clr := $00002000
  25805. else
  25806. pTDefRegMap(@Self)^.&set := $00002000;
  25807. end;
  25808. function TOSC_REFOCON.getSIDL : TBits_1; inline;
  25809. begin
  25810. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25811. end;
  25812. procedure TOSC_REFOCON.setON; inline;
  25813. begin
  25814. pTDefRegMap(@Self)^.&set := $00008000;
  25815. end;
  25816. procedure TOSC_REFOCON.clearON; inline;
  25817. begin
  25818. pTDefRegMap(@Self)^.clr := $00008000;
  25819. end;
  25820. procedure TOSC_REFOCON.setON(thebits : TBits_1); inline;
  25821. begin
  25822. if thebits = 0 then
  25823. pTDefRegMap(@Self)^.clr := $00008000
  25824. else
  25825. pTDefRegMap(@Self)^.&set := $00008000;
  25826. end;
  25827. function TOSC_REFOCON.getON : TBits_1; inline;
  25828. begin
  25829. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25830. end;
  25831. procedure TOSC_REFOCON.setRODIV(thebits : TBits_15); inline;
  25832. begin
  25833. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $8000FFFF or ( thebits shl 16 );
  25834. end;
  25835. function TOSC_REFOCON.getRODIV : TBits_15; inline;
  25836. begin
  25837. getRODIV := (pTDefRegMap(@Self)^.val and $7FFF0000) shr 16;
  25838. end;
  25839. procedure TOSC_REFOCON.setw(thebits : TBits_32); inline;
  25840. begin
  25841. pTDefRegMap(@Self)^.val := thebits;
  25842. end;
  25843. function TOSC_REFOCON.getw : TBits_32; inline;
  25844. begin
  25845. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25846. end;
  25847. procedure TOSC_REFOTRIM.setROTRIM(thebits : TBits_9); inline;
  25848. begin
  25849. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $007FFFFF or ( thebits shl 23 );
  25850. end;
  25851. function TOSC_REFOTRIM.getROTRIM : TBits_9; inline;
  25852. begin
  25853. getROTRIM := (pTDefRegMap(@Self)^.val and $FF800000) shr 23;
  25854. end;
  25855. procedure TOSC_REFOTRIM.setw(thebits : TBits_32); inline;
  25856. begin
  25857. pTDefRegMap(@Self)^.val := thebits;
  25858. end;
  25859. function TOSC_REFOTRIM.getw : TBits_32; inline;
  25860. begin
  25861. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  25862. end;
  25863. procedure TNVM_NVMCON.setNVMOP(thebits : TBits_4); inline;
  25864. begin
  25865. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  25866. end;
  25867. function TNVM_NVMCON.getNVMOP : TBits_4; inline;
  25868. begin
  25869. getNVMOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  25870. end;
  25871. procedure TNVM_NVMCON.setLVDSTAT; inline;
  25872. begin
  25873. pTDefRegMap(@Self)^.&set := $00000800;
  25874. end;
  25875. procedure TNVM_NVMCON.clearLVDSTAT; inline;
  25876. begin
  25877. pTDefRegMap(@Self)^.clr := $00000800;
  25878. end;
  25879. procedure TNVM_NVMCON.setLVDSTAT(thebits : TBits_1); inline;
  25880. begin
  25881. if thebits = 0 then
  25882. pTDefRegMap(@Self)^.clr := $00000800
  25883. else
  25884. pTDefRegMap(@Self)^.&set := $00000800;
  25885. end;
  25886. function TNVM_NVMCON.getLVDSTAT : TBits_1; inline;
  25887. begin
  25888. getLVDSTAT := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  25889. end;
  25890. procedure TNVM_NVMCON.setLVDERR; inline;
  25891. begin
  25892. pTDefRegMap(@Self)^.&set := $00001000;
  25893. end;
  25894. procedure TNVM_NVMCON.clearLVDERR; inline;
  25895. begin
  25896. pTDefRegMap(@Self)^.clr := $00001000;
  25897. end;
  25898. procedure TNVM_NVMCON.setLVDERR(thebits : TBits_1); inline;
  25899. begin
  25900. if thebits = 0 then
  25901. pTDefRegMap(@Self)^.clr := $00001000
  25902. else
  25903. pTDefRegMap(@Self)^.&set := $00001000;
  25904. end;
  25905. function TNVM_NVMCON.getLVDERR : TBits_1; inline;
  25906. begin
  25907. getLVDERR := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  25908. end;
  25909. procedure TNVM_NVMCON.setWRERR; inline;
  25910. begin
  25911. pTDefRegMap(@Self)^.&set := $00002000;
  25912. end;
  25913. procedure TNVM_NVMCON.clearWRERR; inline;
  25914. begin
  25915. pTDefRegMap(@Self)^.clr := $00002000;
  25916. end;
  25917. procedure TNVM_NVMCON.setWRERR(thebits : TBits_1); inline;
  25918. begin
  25919. if thebits = 0 then
  25920. pTDefRegMap(@Self)^.clr := $00002000
  25921. else
  25922. pTDefRegMap(@Self)^.&set := $00002000;
  25923. end;
  25924. function TNVM_NVMCON.getWRERR : TBits_1; inline;
  25925. begin
  25926. getWRERR := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  25927. end;
  25928. procedure TNVM_NVMCON.setWREN; inline;
  25929. begin
  25930. pTDefRegMap(@Self)^.&set := $00004000;
  25931. end;
  25932. procedure TNVM_NVMCON.clearWREN; inline;
  25933. begin
  25934. pTDefRegMap(@Self)^.clr := $00004000;
  25935. end;
  25936. procedure TNVM_NVMCON.setWREN(thebits : TBits_1); inline;
  25937. begin
  25938. if thebits = 0 then
  25939. pTDefRegMap(@Self)^.clr := $00004000
  25940. else
  25941. pTDefRegMap(@Self)^.&set := $00004000;
  25942. end;
  25943. function TNVM_NVMCON.getWREN : TBits_1; inline;
  25944. begin
  25945. getWREN := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  25946. end;
  25947. procedure TNVM_NVMCON.setWR; inline;
  25948. begin
  25949. pTDefRegMap(@Self)^.&set := $00008000;
  25950. end;
  25951. procedure TNVM_NVMCON.clearWR; inline;
  25952. begin
  25953. pTDefRegMap(@Self)^.clr := $00008000;
  25954. end;
  25955. procedure TNVM_NVMCON.setWR(thebits : TBits_1); inline;
  25956. begin
  25957. if thebits = 0 then
  25958. pTDefRegMap(@Self)^.clr := $00008000
  25959. else
  25960. pTDefRegMap(@Self)^.&set := $00008000;
  25961. end;
  25962. function TNVM_NVMCON.getWR : TBits_1; inline;
  25963. begin
  25964. getWR := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  25965. end;
  25966. procedure TNVM_NVMCON.setNVMOP0; inline;
  25967. begin
  25968. pTDefRegMap(@Self)^.&set := $00000001;
  25969. end;
  25970. procedure TNVM_NVMCON.clearNVMOP0; inline;
  25971. begin
  25972. pTDefRegMap(@Self)^.clr := $00000001;
  25973. end;
  25974. procedure TNVM_NVMCON.setNVMOP0(thebits : TBits_1); inline;
  25975. begin
  25976. if thebits = 0 then
  25977. pTDefRegMap(@Self)^.clr := $00000001
  25978. else
  25979. pTDefRegMap(@Self)^.&set := $00000001;
  25980. end;
  25981. function TNVM_NVMCON.getNVMOP0 : TBits_1; inline;
  25982. begin
  25983. getNVMOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  25984. end;
  25985. procedure TNVM_NVMCON.setNVMOP1; inline;
  25986. begin
  25987. pTDefRegMap(@Self)^.&set := $00000002;
  25988. end;
  25989. procedure TNVM_NVMCON.clearNVMOP1; inline;
  25990. begin
  25991. pTDefRegMap(@Self)^.clr := $00000002;
  25992. end;
  25993. procedure TNVM_NVMCON.setNVMOP1(thebits : TBits_1); inline;
  25994. begin
  25995. if thebits = 0 then
  25996. pTDefRegMap(@Self)^.clr := $00000002
  25997. else
  25998. pTDefRegMap(@Self)^.&set := $00000002;
  25999. end;
  26000. function TNVM_NVMCON.getNVMOP1 : TBits_1; inline;
  26001. begin
  26002. getNVMOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26003. end;
  26004. procedure TNVM_NVMCON.setNVMOP2; inline;
  26005. begin
  26006. pTDefRegMap(@Self)^.&set := $00000004;
  26007. end;
  26008. procedure TNVM_NVMCON.clearNVMOP2; inline;
  26009. begin
  26010. pTDefRegMap(@Self)^.clr := $00000004;
  26011. end;
  26012. procedure TNVM_NVMCON.setNVMOP2(thebits : TBits_1); inline;
  26013. begin
  26014. if thebits = 0 then
  26015. pTDefRegMap(@Self)^.clr := $00000004
  26016. else
  26017. pTDefRegMap(@Self)^.&set := $00000004;
  26018. end;
  26019. function TNVM_NVMCON.getNVMOP2 : TBits_1; inline;
  26020. begin
  26021. getNVMOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26022. end;
  26023. procedure TNVM_NVMCON.setNVMOP3; inline;
  26024. begin
  26025. pTDefRegMap(@Self)^.&set := $00000008;
  26026. end;
  26027. procedure TNVM_NVMCON.clearNVMOP3; inline;
  26028. begin
  26029. pTDefRegMap(@Self)^.clr := $00000008;
  26030. end;
  26031. procedure TNVM_NVMCON.setNVMOP3(thebits : TBits_1); inline;
  26032. begin
  26033. if thebits = 0 then
  26034. pTDefRegMap(@Self)^.clr := $00000008
  26035. else
  26036. pTDefRegMap(@Self)^.&set := $00000008;
  26037. end;
  26038. function TNVM_NVMCON.getNVMOP3 : TBits_1; inline;
  26039. begin
  26040. getNVMOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26041. end;
  26042. procedure TNVM_NVMCON.setPROGOP(thebits : TBits_4); inline;
  26043. begin
  26044. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  26045. end;
  26046. function TNVM_NVMCON.getPROGOP : TBits_4; inline;
  26047. begin
  26048. getPROGOP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  26049. end;
  26050. procedure TNVM_NVMCON.setPROGOP0; inline;
  26051. begin
  26052. pTDefRegMap(@Self)^.&set := $00000001;
  26053. end;
  26054. procedure TNVM_NVMCON.clearPROGOP0; inline;
  26055. begin
  26056. pTDefRegMap(@Self)^.clr := $00000001;
  26057. end;
  26058. procedure TNVM_NVMCON.setPROGOP0(thebits : TBits_1); inline;
  26059. begin
  26060. if thebits = 0 then
  26061. pTDefRegMap(@Self)^.clr := $00000001
  26062. else
  26063. pTDefRegMap(@Self)^.&set := $00000001;
  26064. end;
  26065. function TNVM_NVMCON.getPROGOP0 : TBits_1; inline;
  26066. begin
  26067. getPROGOP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26068. end;
  26069. procedure TNVM_NVMCON.setPROGOP1; inline;
  26070. begin
  26071. pTDefRegMap(@Self)^.&set := $00000002;
  26072. end;
  26073. procedure TNVM_NVMCON.clearPROGOP1; inline;
  26074. begin
  26075. pTDefRegMap(@Self)^.clr := $00000002;
  26076. end;
  26077. procedure TNVM_NVMCON.setPROGOP1(thebits : TBits_1); inline;
  26078. begin
  26079. if thebits = 0 then
  26080. pTDefRegMap(@Self)^.clr := $00000002
  26081. else
  26082. pTDefRegMap(@Self)^.&set := $00000002;
  26083. end;
  26084. function TNVM_NVMCON.getPROGOP1 : TBits_1; inline;
  26085. begin
  26086. getPROGOP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26087. end;
  26088. procedure TNVM_NVMCON.setPROGOP2; inline;
  26089. begin
  26090. pTDefRegMap(@Self)^.&set := $00000004;
  26091. end;
  26092. procedure TNVM_NVMCON.clearPROGOP2; inline;
  26093. begin
  26094. pTDefRegMap(@Self)^.clr := $00000004;
  26095. end;
  26096. procedure TNVM_NVMCON.setPROGOP2(thebits : TBits_1); inline;
  26097. begin
  26098. if thebits = 0 then
  26099. pTDefRegMap(@Self)^.clr := $00000004
  26100. else
  26101. pTDefRegMap(@Self)^.&set := $00000004;
  26102. end;
  26103. function TNVM_NVMCON.getPROGOP2 : TBits_1; inline;
  26104. begin
  26105. getPROGOP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26106. end;
  26107. procedure TNVM_NVMCON.setPROGOP3; inline;
  26108. begin
  26109. pTDefRegMap(@Self)^.&set := $00000008;
  26110. end;
  26111. procedure TNVM_NVMCON.clearPROGOP3; inline;
  26112. begin
  26113. pTDefRegMap(@Self)^.clr := $00000008;
  26114. end;
  26115. procedure TNVM_NVMCON.setPROGOP3(thebits : TBits_1); inline;
  26116. begin
  26117. if thebits = 0 then
  26118. pTDefRegMap(@Self)^.clr := $00000008
  26119. else
  26120. pTDefRegMap(@Self)^.&set := $00000008;
  26121. end;
  26122. function TNVM_NVMCON.getPROGOP3 : TBits_1; inline;
  26123. begin
  26124. getPROGOP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26125. end;
  26126. procedure TNVM_NVMCON.setw(thebits : TBits_32); inline;
  26127. begin
  26128. pTDefRegMap(@Self)^.val := thebits;
  26129. end;
  26130. function TNVM_NVMCON.getw : TBits_32; inline;
  26131. begin
  26132. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26133. end;
  26134. procedure TRCON_RCON.setPOR; inline;
  26135. begin
  26136. pTDefRegMap(@Self)^.&set := $00000001;
  26137. end;
  26138. procedure TRCON_RCON.clearPOR; inline;
  26139. begin
  26140. pTDefRegMap(@Self)^.clr := $00000001;
  26141. end;
  26142. procedure TRCON_RCON.setPOR(thebits : TBits_1); inline;
  26143. begin
  26144. if thebits = 0 then
  26145. pTDefRegMap(@Self)^.clr := $00000001
  26146. else
  26147. pTDefRegMap(@Self)^.&set := $00000001;
  26148. end;
  26149. function TRCON_RCON.getPOR : TBits_1; inline;
  26150. begin
  26151. getPOR := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26152. end;
  26153. procedure TRCON_RCON.setBOR; inline;
  26154. begin
  26155. pTDefRegMap(@Self)^.&set := $00000002;
  26156. end;
  26157. procedure TRCON_RCON.clearBOR; inline;
  26158. begin
  26159. pTDefRegMap(@Self)^.clr := $00000002;
  26160. end;
  26161. procedure TRCON_RCON.setBOR(thebits : TBits_1); inline;
  26162. begin
  26163. if thebits = 0 then
  26164. pTDefRegMap(@Self)^.clr := $00000002
  26165. else
  26166. pTDefRegMap(@Self)^.&set := $00000002;
  26167. end;
  26168. function TRCON_RCON.getBOR : TBits_1; inline;
  26169. begin
  26170. getBOR := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26171. end;
  26172. procedure TRCON_RCON.setIDLE; inline;
  26173. begin
  26174. pTDefRegMap(@Self)^.&set := $00000004;
  26175. end;
  26176. procedure TRCON_RCON.clearIDLE; inline;
  26177. begin
  26178. pTDefRegMap(@Self)^.clr := $00000004;
  26179. end;
  26180. procedure TRCON_RCON.setIDLE(thebits : TBits_1); inline;
  26181. begin
  26182. if thebits = 0 then
  26183. pTDefRegMap(@Self)^.clr := $00000004
  26184. else
  26185. pTDefRegMap(@Self)^.&set := $00000004;
  26186. end;
  26187. function TRCON_RCON.getIDLE : TBits_1; inline;
  26188. begin
  26189. getIDLE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26190. end;
  26191. procedure TRCON_RCON.setSLEEP; inline;
  26192. begin
  26193. pTDefRegMap(@Self)^.&set := $00000008;
  26194. end;
  26195. procedure TRCON_RCON.clearSLEEP; inline;
  26196. begin
  26197. pTDefRegMap(@Self)^.clr := $00000008;
  26198. end;
  26199. procedure TRCON_RCON.setSLEEP(thebits : TBits_1); inline;
  26200. begin
  26201. if thebits = 0 then
  26202. pTDefRegMap(@Self)^.clr := $00000008
  26203. else
  26204. pTDefRegMap(@Self)^.&set := $00000008;
  26205. end;
  26206. function TRCON_RCON.getSLEEP : TBits_1; inline;
  26207. begin
  26208. getSLEEP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26209. end;
  26210. procedure TRCON_RCON.setWDTO; inline;
  26211. begin
  26212. pTDefRegMap(@Self)^.&set := $00000010;
  26213. end;
  26214. procedure TRCON_RCON.clearWDTO; inline;
  26215. begin
  26216. pTDefRegMap(@Self)^.clr := $00000010;
  26217. end;
  26218. procedure TRCON_RCON.setWDTO(thebits : TBits_1); inline;
  26219. begin
  26220. if thebits = 0 then
  26221. pTDefRegMap(@Self)^.clr := $00000010
  26222. else
  26223. pTDefRegMap(@Self)^.&set := $00000010;
  26224. end;
  26225. function TRCON_RCON.getWDTO : TBits_1; inline;
  26226. begin
  26227. getWDTO := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26228. end;
  26229. procedure TRCON_RCON.setSWR; inline;
  26230. begin
  26231. pTDefRegMap(@Self)^.&set := $00000040;
  26232. end;
  26233. procedure TRCON_RCON.clearSWR; inline;
  26234. begin
  26235. pTDefRegMap(@Self)^.clr := $00000040;
  26236. end;
  26237. procedure TRCON_RCON.setSWR(thebits : TBits_1); inline;
  26238. begin
  26239. if thebits = 0 then
  26240. pTDefRegMap(@Self)^.clr := $00000040
  26241. else
  26242. pTDefRegMap(@Self)^.&set := $00000040;
  26243. end;
  26244. function TRCON_RCON.getSWR : TBits_1; inline;
  26245. begin
  26246. getSWR := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26247. end;
  26248. procedure TRCON_RCON.setEXTR; inline;
  26249. begin
  26250. pTDefRegMap(@Self)^.&set := $00000080;
  26251. end;
  26252. procedure TRCON_RCON.clearEXTR; inline;
  26253. begin
  26254. pTDefRegMap(@Self)^.clr := $00000080;
  26255. end;
  26256. procedure TRCON_RCON.setEXTR(thebits : TBits_1); inline;
  26257. begin
  26258. if thebits = 0 then
  26259. pTDefRegMap(@Self)^.clr := $00000080
  26260. else
  26261. pTDefRegMap(@Self)^.&set := $00000080;
  26262. end;
  26263. function TRCON_RCON.getEXTR : TBits_1; inline;
  26264. begin
  26265. getEXTR := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26266. end;
  26267. procedure TRCON_RCON.setVREGS; inline;
  26268. begin
  26269. pTDefRegMap(@Self)^.&set := $00000100;
  26270. end;
  26271. procedure TRCON_RCON.clearVREGS; inline;
  26272. begin
  26273. pTDefRegMap(@Self)^.clr := $00000100;
  26274. end;
  26275. procedure TRCON_RCON.setVREGS(thebits : TBits_1); inline;
  26276. begin
  26277. if thebits = 0 then
  26278. pTDefRegMap(@Self)^.clr := $00000100
  26279. else
  26280. pTDefRegMap(@Self)^.&set := $00000100;
  26281. end;
  26282. function TRCON_RCON.getVREGS : TBits_1; inline;
  26283. begin
  26284. getVREGS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26285. end;
  26286. procedure TRCON_RCON.setCMR; inline;
  26287. begin
  26288. pTDefRegMap(@Self)^.&set := $00000200;
  26289. end;
  26290. procedure TRCON_RCON.clearCMR; inline;
  26291. begin
  26292. pTDefRegMap(@Self)^.clr := $00000200;
  26293. end;
  26294. procedure TRCON_RCON.setCMR(thebits : TBits_1); inline;
  26295. begin
  26296. if thebits = 0 then
  26297. pTDefRegMap(@Self)^.clr := $00000200
  26298. else
  26299. pTDefRegMap(@Self)^.&set := $00000200;
  26300. end;
  26301. function TRCON_RCON.getCMR : TBits_1; inline;
  26302. begin
  26303. getCMR := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26304. end;
  26305. procedure TRCON_RCON.setw(thebits : TBits_32); inline;
  26306. begin
  26307. pTDefRegMap(@Self)^.val := thebits;
  26308. end;
  26309. function TRCON_RCON.getw : TBits_32; inline;
  26310. begin
  26311. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26312. end;
  26313. procedure TRCON_RSWRST.setSWRST; inline;
  26314. begin
  26315. pTDefRegMap(@Self)^.&set := $00000001;
  26316. end;
  26317. procedure TRCON_RSWRST.clearSWRST; inline;
  26318. begin
  26319. pTDefRegMap(@Self)^.clr := $00000001;
  26320. end;
  26321. procedure TRCON_RSWRST.setSWRST(thebits : TBits_1); inline;
  26322. begin
  26323. if thebits = 0 then
  26324. pTDefRegMap(@Self)^.clr := $00000001
  26325. else
  26326. pTDefRegMap(@Self)^.&set := $00000001;
  26327. end;
  26328. function TRCON_RSWRST.getSWRST : TBits_1; inline;
  26329. begin
  26330. getSWRST := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26331. end;
  26332. procedure TRCON_RSWRST.setw(thebits : TBits_32); inline;
  26333. begin
  26334. pTDefRegMap(@Self)^.val := thebits;
  26335. end;
  26336. function TRCON_RSWRST.getw : TBits_32; inline;
  26337. begin
  26338. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26339. end;
  26340. procedure TINT_INTCON.setINT0EP; inline;
  26341. begin
  26342. pTDefRegMap(@Self)^.&set := $00000001;
  26343. end;
  26344. procedure TINT_INTCON.clearINT0EP; inline;
  26345. begin
  26346. pTDefRegMap(@Self)^.clr := $00000001;
  26347. end;
  26348. procedure TINT_INTCON.setINT0EP(thebits : TBits_1); inline;
  26349. begin
  26350. if thebits = 0 then
  26351. pTDefRegMap(@Self)^.clr := $00000001
  26352. else
  26353. pTDefRegMap(@Self)^.&set := $00000001;
  26354. end;
  26355. function TINT_INTCON.getINT0EP : TBits_1; inline;
  26356. begin
  26357. getINT0EP := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26358. end;
  26359. procedure TINT_INTCON.setINT1EP; inline;
  26360. begin
  26361. pTDefRegMap(@Self)^.&set := $00000002;
  26362. end;
  26363. procedure TINT_INTCON.clearINT1EP; inline;
  26364. begin
  26365. pTDefRegMap(@Self)^.clr := $00000002;
  26366. end;
  26367. procedure TINT_INTCON.setINT1EP(thebits : TBits_1); inline;
  26368. begin
  26369. if thebits = 0 then
  26370. pTDefRegMap(@Self)^.clr := $00000002
  26371. else
  26372. pTDefRegMap(@Self)^.&set := $00000002;
  26373. end;
  26374. function TINT_INTCON.getINT1EP : TBits_1; inline;
  26375. begin
  26376. getINT1EP := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26377. end;
  26378. procedure TINT_INTCON.setINT2EP; inline;
  26379. begin
  26380. pTDefRegMap(@Self)^.&set := $00000004;
  26381. end;
  26382. procedure TINT_INTCON.clearINT2EP; inline;
  26383. begin
  26384. pTDefRegMap(@Self)^.clr := $00000004;
  26385. end;
  26386. procedure TINT_INTCON.setINT2EP(thebits : TBits_1); inline;
  26387. begin
  26388. if thebits = 0 then
  26389. pTDefRegMap(@Self)^.clr := $00000004
  26390. else
  26391. pTDefRegMap(@Self)^.&set := $00000004;
  26392. end;
  26393. function TINT_INTCON.getINT2EP : TBits_1; inline;
  26394. begin
  26395. getINT2EP := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26396. end;
  26397. procedure TINT_INTCON.setINT3EP; inline;
  26398. begin
  26399. pTDefRegMap(@Self)^.&set := $00000008;
  26400. end;
  26401. procedure TINT_INTCON.clearINT3EP; inline;
  26402. begin
  26403. pTDefRegMap(@Self)^.clr := $00000008;
  26404. end;
  26405. procedure TINT_INTCON.setINT3EP(thebits : TBits_1); inline;
  26406. begin
  26407. if thebits = 0 then
  26408. pTDefRegMap(@Self)^.clr := $00000008
  26409. else
  26410. pTDefRegMap(@Self)^.&set := $00000008;
  26411. end;
  26412. function TINT_INTCON.getINT3EP : TBits_1; inline;
  26413. begin
  26414. getINT3EP := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26415. end;
  26416. procedure TINT_INTCON.setINT4EP; inline;
  26417. begin
  26418. pTDefRegMap(@Self)^.&set := $00000010;
  26419. end;
  26420. procedure TINT_INTCON.clearINT4EP; inline;
  26421. begin
  26422. pTDefRegMap(@Self)^.clr := $00000010;
  26423. end;
  26424. procedure TINT_INTCON.setINT4EP(thebits : TBits_1); inline;
  26425. begin
  26426. if thebits = 0 then
  26427. pTDefRegMap(@Self)^.clr := $00000010
  26428. else
  26429. pTDefRegMap(@Self)^.&set := $00000010;
  26430. end;
  26431. function TINT_INTCON.getINT4EP : TBits_1; inline;
  26432. begin
  26433. getINT4EP := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26434. end;
  26435. procedure TINT_INTCON.setTPC(thebits : TBits_3); inline;
  26436. begin
  26437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFF8FF or ( thebits shl 8 );
  26438. end;
  26439. function TINT_INTCON.getTPC : TBits_3; inline;
  26440. begin
  26441. getTPC := (pTDefRegMap(@Self)^.val and $00000700) shr 8;
  26442. end;
  26443. procedure TINT_INTCON.setMVEC; inline;
  26444. begin
  26445. pTDefRegMap(@Self)^.&set := $00001000;
  26446. end;
  26447. procedure TINT_INTCON.clearMVEC; inline;
  26448. begin
  26449. pTDefRegMap(@Self)^.clr := $00001000;
  26450. end;
  26451. procedure TINT_INTCON.setMVEC(thebits : TBits_1); inline;
  26452. begin
  26453. if thebits = 0 then
  26454. pTDefRegMap(@Self)^.clr := $00001000
  26455. else
  26456. pTDefRegMap(@Self)^.&set := $00001000;
  26457. end;
  26458. function TINT_INTCON.getMVEC : TBits_1; inline;
  26459. begin
  26460. getMVEC := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26461. end;
  26462. procedure TINT_INTCON.setSS0; inline;
  26463. begin
  26464. pTDefRegMap(@Self)^.&set := $00010000;
  26465. end;
  26466. procedure TINT_INTCON.clearSS0; inline;
  26467. begin
  26468. pTDefRegMap(@Self)^.clr := $00010000;
  26469. end;
  26470. procedure TINT_INTCON.setSS0(thebits : TBits_1); inline;
  26471. begin
  26472. if thebits = 0 then
  26473. pTDefRegMap(@Self)^.clr := $00010000
  26474. else
  26475. pTDefRegMap(@Self)^.&set := $00010000;
  26476. end;
  26477. function TINT_INTCON.getSS0 : TBits_1; inline;
  26478. begin
  26479. getSS0 := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26480. end;
  26481. procedure TINT_INTCON.setw(thebits : TBits_32); inline;
  26482. begin
  26483. pTDefRegMap(@Self)^.val := thebits;
  26484. end;
  26485. function TINT_INTCON.getw : TBits_32; inline;
  26486. begin
  26487. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  26488. end;
  26489. procedure TINT_IFS0.setCTIF; inline;
  26490. begin
  26491. pTDefRegMap(@Self)^.&set := $00000001;
  26492. end;
  26493. procedure TINT_IFS0.clearCTIF; inline;
  26494. begin
  26495. pTDefRegMap(@Self)^.clr := $00000001;
  26496. end;
  26497. procedure TINT_IFS0.setCTIF(thebits : TBits_1); inline;
  26498. begin
  26499. if thebits = 0 then
  26500. pTDefRegMap(@Self)^.clr := $00000001
  26501. else
  26502. pTDefRegMap(@Self)^.&set := $00000001;
  26503. end;
  26504. function TINT_IFS0.getCTIF : TBits_1; inline;
  26505. begin
  26506. getCTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  26507. end;
  26508. procedure TINT_IFS0.setCS0IF; inline;
  26509. begin
  26510. pTDefRegMap(@Self)^.&set := $00000002;
  26511. end;
  26512. procedure TINT_IFS0.clearCS0IF; inline;
  26513. begin
  26514. pTDefRegMap(@Self)^.clr := $00000002;
  26515. end;
  26516. procedure TINT_IFS0.setCS0IF(thebits : TBits_1); inline;
  26517. begin
  26518. if thebits = 0 then
  26519. pTDefRegMap(@Self)^.clr := $00000002
  26520. else
  26521. pTDefRegMap(@Self)^.&set := $00000002;
  26522. end;
  26523. function TINT_IFS0.getCS0IF : TBits_1; inline;
  26524. begin
  26525. getCS0IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  26526. end;
  26527. procedure TINT_IFS0.setCS1IF; inline;
  26528. begin
  26529. pTDefRegMap(@Self)^.&set := $00000004;
  26530. end;
  26531. procedure TINT_IFS0.clearCS1IF; inline;
  26532. begin
  26533. pTDefRegMap(@Self)^.clr := $00000004;
  26534. end;
  26535. procedure TINT_IFS0.setCS1IF(thebits : TBits_1); inline;
  26536. begin
  26537. if thebits = 0 then
  26538. pTDefRegMap(@Self)^.clr := $00000004
  26539. else
  26540. pTDefRegMap(@Self)^.&set := $00000004;
  26541. end;
  26542. function TINT_IFS0.getCS1IF : TBits_1; inline;
  26543. begin
  26544. getCS1IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  26545. end;
  26546. procedure TINT_IFS0.setINT0IF; inline;
  26547. begin
  26548. pTDefRegMap(@Self)^.&set := $00000008;
  26549. end;
  26550. procedure TINT_IFS0.clearINT0IF; inline;
  26551. begin
  26552. pTDefRegMap(@Self)^.clr := $00000008;
  26553. end;
  26554. procedure TINT_IFS0.setINT0IF(thebits : TBits_1); inline;
  26555. begin
  26556. if thebits = 0 then
  26557. pTDefRegMap(@Self)^.clr := $00000008
  26558. else
  26559. pTDefRegMap(@Self)^.&set := $00000008;
  26560. end;
  26561. function TINT_IFS0.getINT0IF : TBits_1; inline;
  26562. begin
  26563. getINT0IF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  26564. end;
  26565. procedure TINT_IFS0.setT1IF; inline;
  26566. begin
  26567. pTDefRegMap(@Self)^.&set := $00000010;
  26568. end;
  26569. procedure TINT_IFS0.clearT1IF; inline;
  26570. begin
  26571. pTDefRegMap(@Self)^.clr := $00000010;
  26572. end;
  26573. procedure TINT_IFS0.setT1IF(thebits : TBits_1); inline;
  26574. begin
  26575. if thebits = 0 then
  26576. pTDefRegMap(@Self)^.clr := $00000010
  26577. else
  26578. pTDefRegMap(@Self)^.&set := $00000010;
  26579. end;
  26580. function TINT_IFS0.getT1IF : TBits_1; inline;
  26581. begin
  26582. getT1IF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  26583. end;
  26584. procedure TINT_IFS0.setIC1EIF; inline;
  26585. begin
  26586. pTDefRegMap(@Self)^.&set := $00000020;
  26587. end;
  26588. procedure TINT_IFS0.clearIC1EIF; inline;
  26589. begin
  26590. pTDefRegMap(@Self)^.clr := $00000020;
  26591. end;
  26592. procedure TINT_IFS0.setIC1EIF(thebits : TBits_1); inline;
  26593. begin
  26594. if thebits = 0 then
  26595. pTDefRegMap(@Self)^.clr := $00000020
  26596. else
  26597. pTDefRegMap(@Self)^.&set := $00000020;
  26598. end;
  26599. function TINT_IFS0.getIC1EIF : TBits_1; inline;
  26600. begin
  26601. getIC1EIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  26602. end;
  26603. procedure TINT_IFS0.setIC1IF; inline;
  26604. begin
  26605. pTDefRegMap(@Self)^.&set := $00000040;
  26606. end;
  26607. procedure TINT_IFS0.clearIC1IF; inline;
  26608. begin
  26609. pTDefRegMap(@Self)^.clr := $00000040;
  26610. end;
  26611. procedure TINT_IFS0.setIC1IF(thebits : TBits_1); inline;
  26612. begin
  26613. if thebits = 0 then
  26614. pTDefRegMap(@Self)^.clr := $00000040
  26615. else
  26616. pTDefRegMap(@Self)^.&set := $00000040;
  26617. end;
  26618. function TINT_IFS0.getIC1IF : TBits_1; inline;
  26619. begin
  26620. getIC1IF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  26621. end;
  26622. procedure TINT_IFS0.setOC1IF; inline;
  26623. begin
  26624. pTDefRegMap(@Self)^.&set := $00000080;
  26625. end;
  26626. procedure TINT_IFS0.clearOC1IF; inline;
  26627. begin
  26628. pTDefRegMap(@Self)^.clr := $00000080;
  26629. end;
  26630. procedure TINT_IFS0.setOC1IF(thebits : TBits_1); inline;
  26631. begin
  26632. if thebits = 0 then
  26633. pTDefRegMap(@Self)^.clr := $00000080
  26634. else
  26635. pTDefRegMap(@Self)^.&set := $00000080;
  26636. end;
  26637. function TINT_IFS0.getOC1IF : TBits_1; inline;
  26638. begin
  26639. getOC1IF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  26640. end;
  26641. procedure TINT_IFS0.setINT1IF; inline;
  26642. begin
  26643. pTDefRegMap(@Self)^.&set := $00000100;
  26644. end;
  26645. procedure TINT_IFS0.clearINT1IF; inline;
  26646. begin
  26647. pTDefRegMap(@Self)^.clr := $00000100;
  26648. end;
  26649. procedure TINT_IFS0.setINT1IF(thebits : TBits_1); inline;
  26650. begin
  26651. if thebits = 0 then
  26652. pTDefRegMap(@Self)^.clr := $00000100
  26653. else
  26654. pTDefRegMap(@Self)^.&set := $00000100;
  26655. end;
  26656. function TINT_IFS0.getINT1IF : TBits_1; inline;
  26657. begin
  26658. getINT1IF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  26659. end;
  26660. procedure TINT_IFS0.setT2IF; inline;
  26661. begin
  26662. pTDefRegMap(@Self)^.&set := $00000200;
  26663. end;
  26664. procedure TINT_IFS0.clearT2IF; inline;
  26665. begin
  26666. pTDefRegMap(@Self)^.clr := $00000200;
  26667. end;
  26668. procedure TINT_IFS0.setT2IF(thebits : TBits_1); inline;
  26669. begin
  26670. if thebits = 0 then
  26671. pTDefRegMap(@Self)^.clr := $00000200
  26672. else
  26673. pTDefRegMap(@Self)^.&set := $00000200;
  26674. end;
  26675. function TINT_IFS0.getT2IF : TBits_1; inline;
  26676. begin
  26677. getT2IF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  26678. end;
  26679. procedure TINT_IFS0.setIC2EIF; inline;
  26680. begin
  26681. pTDefRegMap(@Self)^.&set := $00000400;
  26682. end;
  26683. procedure TINT_IFS0.clearIC2EIF; inline;
  26684. begin
  26685. pTDefRegMap(@Self)^.clr := $00000400;
  26686. end;
  26687. procedure TINT_IFS0.setIC2EIF(thebits : TBits_1); inline;
  26688. begin
  26689. if thebits = 0 then
  26690. pTDefRegMap(@Self)^.clr := $00000400
  26691. else
  26692. pTDefRegMap(@Self)^.&set := $00000400;
  26693. end;
  26694. function TINT_IFS0.getIC2EIF : TBits_1; inline;
  26695. begin
  26696. getIC2EIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  26697. end;
  26698. procedure TINT_IFS0.setIC2IF; inline;
  26699. begin
  26700. pTDefRegMap(@Self)^.&set := $00000800;
  26701. end;
  26702. procedure TINT_IFS0.clearIC2IF; inline;
  26703. begin
  26704. pTDefRegMap(@Self)^.clr := $00000800;
  26705. end;
  26706. procedure TINT_IFS0.setIC2IF(thebits : TBits_1); inline;
  26707. begin
  26708. if thebits = 0 then
  26709. pTDefRegMap(@Self)^.clr := $00000800
  26710. else
  26711. pTDefRegMap(@Self)^.&set := $00000800;
  26712. end;
  26713. function TINT_IFS0.getIC2IF : TBits_1; inline;
  26714. begin
  26715. getIC2IF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  26716. end;
  26717. procedure TINT_IFS0.setOC2IF; inline;
  26718. begin
  26719. pTDefRegMap(@Self)^.&set := $00001000;
  26720. end;
  26721. procedure TINT_IFS0.clearOC2IF; inline;
  26722. begin
  26723. pTDefRegMap(@Self)^.clr := $00001000;
  26724. end;
  26725. procedure TINT_IFS0.setOC2IF(thebits : TBits_1); inline;
  26726. begin
  26727. if thebits = 0 then
  26728. pTDefRegMap(@Self)^.clr := $00001000
  26729. else
  26730. pTDefRegMap(@Self)^.&set := $00001000;
  26731. end;
  26732. function TINT_IFS0.getOC2IF : TBits_1; inline;
  26733. begin
  26734. getOC2IF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  26735. end;
  26736. procedure TINT_IFS0.setINT2IF; inline;
  26737. begin
  26738. pTDefRegMap(@Self)^.&set := $00002000;
  26739. end;
  26740. procedure TINT_IFS0.clearINT2IF; inline;
  26741. begin
  26742. pTDefRegMap(@Self)^.clr := $00002000;
  26743. end;
  26744. procedure TINT_IFS0.setINT2IF(thebits : TBits_1); inline;
  26745. begin
  26746. if thebits = 0 then
  26747. pTDefRegMap(@Self)^.clr := $00002000
  26748. else
  26749. pTDefRegMap(@Self)^.&set := $00002000;
  26750. end;
  26751. function TINT_IFS0.getINT2IF : TBits_1; inline;
  26752. begin
  26753. getINT2IF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  26754. end;
  26755. procedure TINT_IFS0.setT3IF; inline;
  26756. begin
  26757. pTDefRegMap(@Self)^.&set := $00004000;
  26758. end;
  26759. procedure TINT_IFS0.clearT3IF; inline;
  26760. begin
  26761. pTDefRegMap(@Self)^.clr := $00004000;
  26762. end;
  26763. procedure TINT_IFS0.setT3IF(thebits : TBits_1); inline;
  26764. begin
  26765. if thebits = 0 then
  26766. pTDefRegMap(@Self)^.clr := $00004000
  26767. else
  26768. pTDefRegMap(@Self)^.&set := $00004000;
  26769. end;
  26770. function TINT_IFS0.getT3IF : TBits_1; inline;
  26771. begin
  26772. getT3IF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  26773. end;
  26774. procedure TINT_IFS0.setIC3EIF; inline;
  26775. begin
  26776. pTDefRegMap(@Self)^.&set := $00008000;
  26777. end;
  26778. procedure TINT_IFS0.clearIC3EIF; inline;
  26779. begin
  26780. pTDefRegMap(@Self)^.clr := $00008000;
  26781. end;
  26782. procedure TINT_IFS0.setIC3EIF(thebits : TBits_1); inline;
  26783. begin
  26784. if thebits = 0 then
  26785. pTDefRegMap(@Self)^.clr := $00008000
  26786. else
  26787. pTDefRegMap(@Self)^.&set := $00008000;
  26788. end;
  26789. function TINT_IFS0.getIC3EIF : TBits_1; inline;
  26790. begin
  26791. getIC3EIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  26792. end;
  26793. procedure TINT_IFS0.setIC3IF; inline;
  26794. begin
  26795. pTDefRegMap(@Self)^.&set := $00010000;
  26796. end;
  26797. procedure TINT_IFS0.clearIC3IF; inline;
  26798. begin
  26799. pTDefRegMap(@Self)^.clr := $00010000;
  26800. end;
  26801. procedure TINT_IFS0.setIC3IF(thebits : TBits_1); inline;
  26802. begin
  26803. if thebits = 0 then
  26804. pTDefRegMap(@Self)^.clr := $00010000
  26805. else
  26806. pTDefRegMap(@Self)^.&set := $00010000;
  26807. end;
  26808. function TINT_IFS0.getIC3IF : TBits_1; inline;
  26809. begin
  26810. getIC3IF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  26811. end;
  26812. procedure TINT_IFS0.setOC3IF; inline;
  26813. begin
  26814. pTDefRegMap(@Self)^.&set := $00020000;
  26815. end;
  26816. procedure TINT_IFS0.clearOC3IF; inline;
  26817. begin
  26818. pTDefRegMap(@Self)^.clr := $00020000;
  26819. end;
  26820. procedure TINT_IFS0.setOC3IF(thebits : TBits_1); inline;
  26821. begin
  26822. if thebits = 0 then
  26823. pTDefRegMap(@Self)^.clr := $00020000
  26824. else
  26825. pTDefRegMap(@Self)^.&set := $00020000;
  26826. end;
  26827. function TINT_IFS0.getOC3IF : TBits_1; inline;
  26828. begin
  26829. getOC3IF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  26830. end;
  26831. procedure TINT_IFS0.setINT3IF; inline;
  26832. begin
  26833. pTDefRegMap(@Self)^.&set := $00040000;
  26834. end;
  26835. procedure TINT_IFS0.clearINT3IF; inline;
  26836. begin
  26837. pTDefRegMap(@Self)^.clr := $00040000;
  26838. end;
  26839. procedure TINT_IFS0.setINT3IF(thebits : TBits_1); inline;
  26840. begin
  26841. if thebits = 0 then
  26842. pTDefRegMap(@Self)^.clr := $00040000
  26843. else
  26844. pTDefRegMap(@Self)^.&set := $00040000;
  26845. end;
  26846. function TINT_IFS0.getINT3IF : TBits_1; inline;
  26847. begin
  26848. getINT3IF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  26849. end;
  26850. procedure TINT_IFS0.setT4IF; inline;
  26851. begin
  26852. pTDefRegMap(@Self)^.&set := $00080000;
  26853. end;
  26854. procedure TINT_IFS0.clearT4IF; inline;
  26855. begin
  26856. pTDefRegMap(@Self)^.clr := $00080000;
  26857. end;
  26858. procedure TINT_IFS0.setT4IF(thebits : TBits_1); inline;
  26859. begin
  26860. if thebits = 0 then
  26861. pTDefRegMap(@Self)^.clr := $00080000
  26862. else
  26863. pTDefRegMap(@Self)^.&set := $00080000;
  26864. end;
  26865. function TINT_IFS0.getT4IF : TBits_1; inline;
  26866. begin
  26867. getT4IF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  26868. end;
  26869. procedure TINT_IFS0.setIC4EIF; inline;
  26870. begin
  26871. pTDefRegMap(@Self)^.&set := $00100000;
  26872. end;
  26873. procedure TINT_IFS0.clearIC4EIF; inline;
  26874. begin
  26875. pTDefRegMap(@Self)^.clr := $00100000;
  26876. end;
  26877. procedure TINT_IFS0.setIC4EIF(thebits : TBits_1); inline;
  26878. begin
  26879. if thebits = 0 then
  26880. pTDefRegMap(@Self)^.clr := $00100000
  26881. else
  26882. pTDefRegMap(@Self)^.&set := $00100000;
  26883. end;
  26884. function TINT_IFS0.getIC4EIF : TBits_1; inline;
  26885. begin
  26886. getIC4EIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  26887. end;
  26888. procedure TINT_IFS0.setIC4IF; inline;
  26889. begin
  26890. pTDefRegMap(@Self)^.&set := $00200000;
  26891. end;
  26892. procedure TINT_IFS0.clearIC4IF; inline;
  26893. begin
  26894. pTDefRegMap(@Self)^.clr := $00200000;
  26895. end;
  26896. procedure TINT_IFS0.setIC4IF(thebits : TBits_1); inline;
  26897. begin
  26898. if thebits = 0 then
  26899. pTDefRegMap(@Self)^.clr := $00200000
  26900. else
  26901. pTDefRegMap(@Self)^.&set := $00200000;
  26902. end;
  26903. function TINT_IFS0.getIC4IF : TBits_1; inline;
  26904. begin
  26905. getIC4IF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  26906. end;
  26907. procedure TINT_IFS0.setOC4IF; inline;
  26908. begin
  26909. pTDefRegMap(@Self)^.&set := $00400000;
  26910. end;
  26911. procedure TINT_IFS0.clearOC4IF; inline;
  26912. begin
  26913. pTDefRegMap(@Self)^.clr := $00400000;
  26914. end;
  26915. procedure TINT_IFS0.setOC4IF(thebits : TBits_1); inline;
  26916. begin
  26917. if thebits = 0 then
  26918. pTDefRegMap(@Self)^.clr := $00400000
  26919. else
  26920. pTDefRegMap(@Self)^.&set := $00400000;
  26921. end;
  26922. function TINT_IFS0.getOC4IF : TBits_1; inline;
  26923. begin
  26924. getOC4IF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  26925. end;
  26926. procedure TINT_IFS0.setINT4IF; inline;
  26927. begin
  26928. pTDefRegMap(@Self)^.&set := $00800000;
  26929. end;
  26930. procedure TINT_IFS0.clearINT4IF; inline;
  26931. begin
  26932. pTDefRegMap(@Self)^.clr := $00800000;
  26933. end;
  26934. procedure TINT_IFS0.setINT4IF(thebits : TBits_1); inline;
  26935. begin
  26936. if thebits = 0 then
  26937. pTDefRegMap(@Self)^.clr := $00800000
  26938. else
  26939. pTDefRegMap(@Self)^.&set := $00800000;
  26940. end;
  26941. function TINT_IFS0.getINT4IF : TBits_1; inline;
  26942. begin
  26943. getINT4IF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  26944. end;
  26945. procedure TINT_IFS0.setT5IF; inline;
  26946. begin
  26947. pTDefRegMap(@Self)^.&set := $01000000;
  26948. end;
  26949. procedure TINT_IFS0.clearT5IF; inline;
  26950. begin
  26951. pTDefRegMap(@Self)^.clr := $01000000;
  26952. end;
  26953. procedure TINT_IFS0.setT5IF(thebits : TBits_1); inline;
  26954. begin
  26955. if thebits = 0 then
  26956. pTDefRegMap(@Self)^.clr := $01000000
  26957. else
  26958. pTDefRegMap(@Self)^.&set := $01000000;
  26959. end;
  26960. function TINT_IFS0.getT5IF : TBits_1; inline;
  26961. begin
  26962. getT5IF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  26963. end;
  26964. procedure TINT_IFS0.setIC5EIF; inline;
  26965. begin
  26966. pTDefRegMap(@Self)^.&set := $02000000;
  26967. end;
  26968. procedure TINT_IFS0.clearIC5EIF; inline;
  26969. begin
  26970. pTDefRegMap(@Self)^.clr := $02000000;
  26971. end;
  26972. procedure TINT_IFS0.setIC5EIF(thebits : TBits_1); inline;
  26973. begin
  26974. if thebits = 0 then
  26975. pTDefRegMap(@Self)^.clr := $02000000
  26976. else
  26977. pTDefRegMap(@Self)^.&set := $02000000;
  26978. end;
  26979. function TINT_IFS0.getIC5EIF : TBits_1; inline;
  26980. begin
  26981. getIC5EIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  26982. end;
  26983. procedure TINT_IFS0.setIC5IF; inline;
  26984. begin
  26985. pTDefRegMap(@Self)^.&set := $04000000;
  26986. end;
  26987. procedure TINT_IFS0.clearIC5IF; inline;
  26988. begin
  26989. pTDefRegMap(@Self)^.clr := $04000000;
  26990. end;
  26991. procedure TINT_IFS0.setIC5IF(thebits : TBits_1); inline;
  26992. begin
  26993. if thebits = 0 then
  26994. pTDefRegMap(@Self)^.clr := $04000000
  26995. else
  26996. pTDefRegMap(@Self)^.&set := $04000000;
  26997. end;
  26998. function TINT_IFS0.getIC5IF : TBits_1; inline;
  26999. begin
  27000. getIC5IF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27001. end;
  27002. procedure TINT_IFS0.setOC5IF; inline;
  27003. begin
  27004. pTDefRegMap(@Self)^.&set := $08000000;
  27005. end;
  27006. procedure TINT_IFS0.clearOC5IF; inline;
  27007. begin
  27008. pTDefRegMap(@Self)^.clr := $08000000;
  27009. end;
  27010. procedure TINT_IFS0.setOC5IF(thebits : TBits_1); inline;
  27011. begin
  27012. if thebits = 0 then
  27013. pTDefRegMap(@Self)^.clr := $08000000
  27014. else
  27015. pTDefRegMap(@Self)^.&set := $08000000;
  27016. end;
  27017. function TINT_IFS0.getOC5IF : TBits_1; inline;
  27018. begin
  27019. getOC5IF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27020. end;
  27021. procedure TINT_IFS0.setAD1IF; inline;
  27022. begin
  27023. pTDefRegMap(@Self)^.&set := $10000000;
  27024. end;
  27025. procedure TINT_IFS0.clearAD1IF; inline;
  27026. begin
  27027. pTDefRegMap(@Self)^.clr := $10000000;
  27028. end;
  27029. procedure TINT_IFS0.setAD1IF(thebits : TBits_1); inline;
  27030. begin
  27031. if thebits = 0 then
  27032. pTDefRegMap(@Self)^.clr := $10000000
  27033. else
  27034. pTDefRegMap(@Self)^.&set := $10000000;
  27035. end;
  27036. function TINT_IFS0.getAD1IF : TBits_1; inline;
  27037. begin
  27038. getAD1IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27039. end;
  27040. procedure TINT_IFS0.setFSCMIF; inline;
  27041. begin
  27042. pTDefRegMap(@Self)^.&set := $20000000;
  27043. end;
  27044. procedure TINT_IFS0.clearFSCMIF; inline;
  27045. begin
  27046. pTDefRegMap(@Self)^.clr := $20000000;
  27047. end;
  27048. procedure TINT_IFS0.setFSCMIF(thebits : TBits_1); inline;
  27049. begin
  27050. if thebits = 0 then
  27051. pTDefRegMap(@Self)^.clr := $20000000
  27052. else
  27053. pTDefRegMap(@Self)^.&set := $20000000;
  27054. end;
  27055. function TINT_IFS0.getFSCMIF : TBits_1; inline;
  27056. begin
  27057. getFSCMIF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27058. end;
  27059. procedure TINT_IFS0.setRTCCIF; inline;
  27060. begin
  27061. pTDefRegMap(@Self)^.&set := $40000000;
  27062. end;
  27063. procedure TINT_IFS0.clearRTCCIF; inline;
  27064. begin
  27065. pTDefRegMap(@Self)^.clr := $40000000;
  27066. end;
  27067. procedure TINT_IFS0.setRTCCIF(thebits : TBits_1); inline;
  27068. begin
  27069. if thebits = 0 then
  27070. pTDefRegMap(@Self)^.clr := $40000000
  27071. else
  27072. pTDefRegMap(@Self)^.&set := $40000000;
  27073. end;
  27074. function TINT_IFS0.getRTCCIF : TBits_1; inline;
  27075. begin
  27076. getRTCCIF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27077. end;
  27078. procedure TINT_IFS0.setFCEIF; inline;
  27079. begin
  27080. pTDefRegMap(@Self)^.&set := $80000000;
  27081. end;
  27082. procedure TINT_IFS0.clearFCEIF; inline;
  27083. begin
  27084. pTDefRegMap(@Self)^.clr := $80000000;
  27085. end;
  27086. procedure TINT_IFS0.setFCEIF(thebits : TBits_1); inline;
  27087. begin
  27088. if thebits = 0 then
  27089. pTDefRegMap(@Self)^.clr := $80000000
  27090. else
  27091. pTDefRegMap(@Self)^.&set := $80000000;
  27092. end;
  27093. function TINT_IFS0.getFCEIF : TBits_1; inline;
  27094. begin
  27095. getFCEIF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27096. end;
  27097. procedure TINT_IFS0.setw(thebits : TBits_32); inline;
  27098. begin
  27099. pTDefRegMap(@Self)^.val := thebits;
  27100. end;
  27101. function TINT_IFS0.getw : TBits_32; inline;
  27102. begin
  27103. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27104. end;
  27105. procedure TINT_IFS1.setCMP1IF; inline;
  27106. begin
  27107. pTDefRegMap(@Self)^.&set := $00000001;
  27108. end;
  27109. procedure TINT_IFS1.clearCMP1IF; inline;
  27110. begin
  27111. pTDefRegMap(@Self)^.clr := $00000001;
  27112. end;
  27113. procedure TINT_IFS1.setCMP1IF(thebits : TBits_1); inline;
  27114. begin
  27115. if thebits = 0 then
  27116. pTDefRegMap(@Self)^.clr := $00000001
  27117. else
  27118. pTDefRegMap(@Self)^.&set := $00000001;
  27119. end;
  27120. function TINT_IFS1.getCMP1IF : TBits_1; inline;
  27121. begin
  27122. getCMP1IF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27123. end;
  27124. procedure TINT_IFS1.setCMP2IF; inline;
  27125. begin
  27126. pTDefRegMap(@Self)^.&set := $00000002;
  27127. end;
  27128. procedure TINT_IFS1.clearCMP2IF; inline;
  27129. begin
  27130. pTDefRegMap(@Self)^.clr := $00000002;
  27131. end;
  27132. procedure TINT_IFS1.setCMP2IF(thebits : TBits_1); inline;
  27133. begin
  27134. if thebits = 0 then
  27135. pTDefRegMap(@Self)^.clr := $00000002
  27136. else
  27137. pTDefRegMap(@Self)^.&set := $00000002;
  27138. end;
  27139. function TINT_IFS1.getCMP2IF : TBits_1; inline;
  27140. begin
  27141. getCMP2IF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27142. end;
  27143. procedure TINT_IFS1.setCMP3IF; inline;
  27144. begin
  27145. pTDefRegMap(@Self)^.&set := $00000004;
  27146. end;
  27147. procedure TINT_IFS1.clearCMP3IF; inline;
  27148. begin
  27149. pTDefRegMap(@Self)^.clr := $00000004;
  27150. end;
  27151. procedure TINT_IFS1.setCMP3IF(thebits : TBits_1); inline;
  27152. begin
  27153. if thebits = 0 then
  27154. pTDefRegMap(@Self)^.clr := $00000004
  27155. else
  27156. pTDefRegMap(@Self)^.&set := $00000004;
  27157. end;
  27158. function TINT_IFS1.getCMP3IF : TBits_1; inline;
  27159. begin
  27160. getCMP3IF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27161. end;
  27162. procedure TINT_IFS1.setSPI1EIF; inline;
  27163. begin
  27164. pTDefRegMap(@Self)^.&set := $00000010;
  27165. end;
  27166. procedure TINT_IFS1.clearSPI1EIF; inline;
  27167. begin
  27168. pTDefRegMap(@Self)^.clr := $00000010;
  27169. end;
  27170. procedure TINT_IFS1.setSPI1EIF(thebits : TBits_1); inline;
  27171. begin
  27172. if thebits = 0 then
  27173. pTDefRegMap(@Self)^.clr := $00000010
  27174. else
  27175. pTDefRegMap(@Self)^.&set := $00000010;
  27176. end;
  27177. function TINT_IFS1.getSPI1EIF : TBits_1; inline;
  27178. begin
  27179. getSPI1EIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27180. end;
  27181. procedure TINT_IFS1.setSPI1RXIF; inline;
  27182. begin
  27183. pTDefRegMap(@Self)^.&set := $00000020;
  27184. end;
  27185. procedure TINT_IFS1.clearSPI1RXIF; inline;
  27186. begin
  27187. pTDefRegMap(@Self)^.clr := $00000020;
  27188. end;
  27189. procedure TINT_IFS1.setSPI1RXIF(thebits : TBits_1); inline;
  27190. begin
  27191. if thebits = 0 then
  27192. pTDefRegMap(@Self)^.clr := $00000020
  27193. else
  27194. pTDefRegMap(@Self)^.&set := $00000020;
  27195. end;
  27196. function TINT_IFS1.getSPI1RXIF : TBits_1; inline;
  27197. begin
  27198. getSPI1RXIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27199. end;
  27200. procedure TINT_IFS1.setSPI1TXIF; inline;
  27201. begin
  27202. pTDefRegMap(@Self)^.&set := $00000040;
  27203. end;
  27204. procedure TINT_IFS1.clearSPI1TXIF; inline;
  27205. begin
  27206. pTDefRegMap(@Self)^.clr := $00000040;
  27207. end;
  27208. procedure TINT_IFS1.setSPI1TXIF(thebits : TBits_1); inline;
  27209. begin
  27210. if thebits = 0 then
  27211. pTDefRegMap(@Self)^.clr := $00000040
  27212. else
  27213. pTDefRegMap(@Self)^.&set := $00000040;
  27214. end;
  27215. function TINT_IFS1.getSPI1TXIF : TBits_1; inline;
  27216. begin
  27217. getSPI1TXIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27218. end;
  27219. procedure TINT_IFS1.setU1EIF; inline;
  27220. begin
  27221. pTDefRegMap(@Self)^.&set := $00000080;
  27222. end;
  27223. procedure TINT_IFS1.clearU1EIF; inline;
  27224. begin
  27225. pTDefRegMap(@Self)^.clr := $00000080;
  27226. end;
  27227. procedure TINT_IFS1.setU1EIF(thebits : TBits_1); inline;
  27228. begin
  27229. if thebits = 0 then
  27230. pTDefRegMap(@Self)^.clr := $00000080
  27231. else
  27232. pTDefRegMap(@Self)^.&set := $00000080;
  27233. end;
  27234. function TINT_IFS1.getU1EIF : TBits_1; inline;
  27235. begin
  27236. getU1EIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27237. end;
  27238. procedure TINT_IFS1.setU1RXIF; inline;
  27239. begin
  27240. pTDefRegMap(@Self)^.&set := $00000100;
  27241. end;
  27242. procedure TINT_IFS1.clearU1RXIF; inline;
  27243. begin
  27244. pTDefRegMap(@Self)^.clr := $00000100;
  27245. end;
  27246. procedure TINT_IFS1.setU1RXIF(thebits : TBits_1); inline;
  27247. begin
  27248. if thebits = 0 then
  27249. pTDefRegMap(@Self)^.clr := $00000100
  27250. else
  27251. pTDefRegMap(@Self)^.&set := $00000100;
  27252. end;
  27253. function TINT_IFS1.getU1RXIF : TBits_1; inline;
  27254. begin
  27255. getU1RXIF := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27256. end;
  27257. procedure TINT_IFS1.setU1TXIF; inline;
  27258. begin
  27259. pTDefRegMap(@Self)^.&set := $00000200;
  27260. end;
  27261. procedure TINT_IFS1.clearU1TXIF; inline;
  27262. begin
  27263. pTDefRegMap(@Self)^.clr := $00000200;
  27264. end;
  27265. procedure TINT_IFS1.setU1TXIF(thebits : TBits_1); inline;
  27266. begin
  27267. if thebits = 0 then
  27268. pTDefRegMap(@Self)^.clr := $00000200
  27269. else
  27270. pTDefRegMap(@Self)^.&set := $00000200;
  27271. end;
  27272. function TINT_IFS1.getU1TXIF : TBits_1; inline;
  27273. begin
  27274. getU1TXIF := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27275. end;
  27276. procedure TINT_IFS1.setI2C1BIF; inline;
  27277. begin
  27278. pTDefRegMap(@Self)^.&set := $00000400;
  27279. end;
  27280. procedure TINT_IFS1.clearI2C1BIF; inline;
  27281. begin
  27282. pTDefRegMap(@Self)^.clr := $00000400;
  27283. end;
  27284. procedure TINT_IFS1.setI2C1BIF(thebits : TBits_1); inline;
  27285. begin
  27286. if thebits = 0 then
  27287. pTDefRegMap(@Self)^.clr := $00000400
  27288. else
  27289. pTDefRegMap(@Self)^.&set := $00000400;
  27290. end;
  27291. function TINT_IFS1.getI2C1BIF : TBits_1; inline;
  27292. begin
  27293. getI2C1BIF := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27294. end;
  27295. procedure TINT_IFS1.setI2C1SIF; inline;
  27296. begin
  27297. pTDefRegMap(@Self)^.&set := $00000800;
  27298. end;
  27299. procedure TINT_IFS1.clearI2C1SIF; inline;
  27300. begin
  27301. pTDefRegMap(@Self)^.clr := $00000800;
  27302. end;
  27303. procedure TINT_IFS1.setI2C1SIF(thebits : TBits_1); inline;
  27304. begin
  27305. if thebits = 0 then
  27306. pTDefRegMap(@Self)^.clr := $00000800
  27307. else
  27308. pTDefRegMap(@Self)^.&set := $00000800;
  27309. end;
  27310. function TINT_IFS1.getI2C1SIF : TBits_1; inline;
  27311. begin
  27312. getI2C1SIF := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27313. end;
  27314. procedure TINT_IFS1.setI2C1MIF; inline;
  27315. begin
  27316. pTDefRegMap(@Self)^.&set := $00001000;
  27317. end;
  27318. procedure TINT_IFS1.clearI2C1MIF; inline;
  27319. begin
  27320. pTDefRegMap(@Self)^.clr := $00001000;
  27321. end;
  27322. procedure TINT_IFS1.setI2C1MIF(thebits : TBits_1); inline;
  27323. begin
  27324. if thebits = 0 then
  27325. pTDefRegMap(@Self)^.clr := $00001000
  27326. else
  27327. pTDefRegMap(@Self)^.&set := $00001000;
  27328. end;
  27329. function TINT_IFS1.getI2C1MIF : TBits_1; inline;
  27330. begin
  27331. getI2C1MIF := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27332. end;
  27333. procedure TINT_IFS1.setCNAIF; inline;
  27334. begin
  27335. pTDefRegMap(@Self)^.&set := $00002000;
  27336. end;
  27337. procedure TINT_IFS1.clearCNAIF; inline;
  27338. begin
  27339. pTDefRegMap(@Self)^.clr := $00002000;
  27340. end;
  27341. procedure TINT_IFS1.setCNAIF(thebits : TBits_1); inline;
  27342. begin
  27343. if thebits = 0 then
  27344. pTDefRegMap(@Self)^.clr := $00002000
  27345. else
  27346. pTDefRegMap(@Self)^.&set := $00002000;
  27347. end;
  27348. function TINT_IFS1.getCNAIF : TBits_1; inline;
  27349. begin
  27350. getCNAIF := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27351. end;
  27352. procedure TINT_IFS1.setCNBIF; inline;
  27353. begin
  27354. pTDefRegMap(@Self)^.&set := $00004000;
  27355. end;
  27356. procedure TINT_IFS1.clearCNBIF; inline;
  27357. begin
  27358. pTDefRegMap(@Self)^.clr := $00004000;
  27359. end;
  27360. procedure TINT_IFS1.setCNBIF(thebits : TBits_1); inline;
  27361. begin
  27362. if thebits = 0 then
  27363. pTDefRegMap(@Self)^.clr := $00004000
  27364. else
  27365. pTDefRegMap(@Self)^.&set := $00004000;
  27366. end;
  27367. function TINT_IFS1.getCNBIF : TBits_1; inline;
  27368. begin
  27369. getCNBIF := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27370. end;
  27371. procedure TINT_IFS1.setCNCIF; inline;
  27372. begin
  27373. pTDefRegMap(@Self)^.&set := $00008000;
  27374. end;
  27375. procedure TINT_IFS1.clearCNCIF; inline;
  27376. begin
  27377. pTDefRegMap(@Self)^.clr := $00008000;
  27378. end;
  27379. procedure TINT_IFS1.setCNCIF(thebits : TBits_1); inline;
  27380. begin
  27381. if thebits = 0 then
  27382. pTDefRegMap(@Self)^.clr := $00008000
  27383. else
  27384. pTDefRegMap(@Self)^.&set := $00008000;
  27385. end;
  27386. function TINT_IFS1.getCNCIF : TBits_1; inline;
  27387. begin
  27388. getCNCIF := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  27389. end;
  27390. procedure TINT_IFS1.setPMPIF; inline;
  27391. begin
  27392. pTDefRegMap(@Self)^.&set := $00010000;
  27393. end;
  27394. procedure TINT_IFS1.clearPMPIF; inline;
  27395. begin
  27396. pTDefRegMap(@Self)^.clr := $00010000;
  27397. end;
  27398. procedure TINT_IFS1.setPMPIF(thebits : TBits_1); inline;
  27399. begin
  27400. if thebits = 0 then
  27401. pTDefRegMap(@Self)^.clr := $00010000
  27402. else
  27403. pTDefRegMap(@Self)^.&set := $00010000;
  27404. end;
  27405. function TINT_IFS1.getPMPIF : TBits_1; inline;
  27406. begin
  27407. getPMPIF := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  27408. end;
  27409. procedure TINT_IFS1.setPMPEIF; inline;
  27410. begin
  27411. pTDefRegMap(@Self)^.&set := $00020000;
  27412. end;
  27413. procedure TINT_IFS1.clearPMPEIF; inline;
  27414. begin
  27415. pTDefRegMap(@Self)^.clr := $00020000;
  27416. end;
  27417. procedure TINT_IFS1.setPMPEIF(thebits : TBits_1); inline;
  27418. begin
  27419. if thebits = 0 then
  27420. pTDefRegMap(@Self)^.clr := $00020000
  27421. else
  27422. pTDefRegMap(@Self)^.&set := $00020000;
  27423. end;
  27424. function TINT_IFS1.getPMPEIF : TBits_1; inline;
  27425. begin
  27426. getPMPEIF := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  27427. end;
  27428. procedure TINT_IFS1.setSPI2EIF; inline;
  27429. begin
  27430. pTDefRegMap(@Self)^.&set := $00040000;
  27431. end;
  27432. procedure TINT_IFS1.clearSPI2EIF; inline;
  27433. begin
  27434. pTDefRegMap(@Self)^.clr := $00040000;
  27435. end;
  27436. procedure TINT_IFS1.setSPI2EIF(thebits : TBits_1); inline;
  27437. begin
  27438. if thebits = 0 then
  27439. pTDefRegMap(@Self)^.clr := $00040000
  27440. else
  27441. pTDefRegMap(@Self)^.&set := $00040000;
  27442. end;
  27443. function TINT_IFS1.getSPI2EIF : TBits_1; inline;
  27444. begin
  27445. getSPI2EIF := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  27446. end;
  27447. procedure TINT_IFS1.setSPI2RXIF; inline;
  27448. begin
  27449. pTDefRegMap(@Self)^.&set := $00080000;
  27450. end;
  27451. procedure TINT_IFS1.clearSPI2RXIF; inline;
  27452. begin
  27453. pTDefRegMap(@Self)^.clr := $00080000;
  27454. end;
  27455. procedure TINT_IFS1.setSPI2RXIF(thebits : TBits_1); inline;
  27456. begin
  27457. if thebits = 0 then
  27458. pTDefRegMap(@Self)^.clr := $00080000
  27459. else
  27460. pTDefRegMap(@Self)^.&set := $00080000;
  27461. end;
  27462. function TINT_IFS1.getSPI2RXIF : TBits_1; inline;
  27463. begin
  27464. getSPI2RXIF := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  27465. end;
  27466. procedure TINT_IFS1.setSPI2TXIF; inline;
  27467. begin
  27468. pTDefRegMap(@Self)^.&set := $00100000;
  27469. end;
  27470. procedure TINT_IFS1.clearSPI2TXIF; inline;
  27471. begin
  27472. pTDefRegMap(@Self)^.clr := $00100000;
  27473. end;
  27474. procedure TINT_IFS1.setSPI2TXIF(thebits : TBits_1); inline;
  27475. begin
  27476. if thebits = 0 then
  27477. pTDefRegMap(@Self)^.clr := $00100000
  27478. else
  27479. pTDefRegMap(@Self)^.&set := $00100000;
  27480. end;
  27481. function TINT_IFS1.getSPI2TXIF : TBits_1; inline;
  27482. begin
  27483. getSPI2TXIF := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  27484. end;
  27485. procedure TINT_IFS1.setU2EIF; inline;
  27486. begin
  27487. pTDefRegMap(@Self)^.&set := $00200000;
  27488. end;
  27489. procedure TINT_IFS1.clearU2EIF; inline;
  27490. begin
  27491. pTDefRegMap(@Self)^.clr := $00200000;
  27492. end;
  27493. procedure TINT_IFS1.setU2EIF(thebits : TBits_1); inline;
  27494. begin
  27495. if thebits = 0 then
  27496. pTDefRegMap(@Self)^.clr := $00200000
  27497. else
  27498. pTDefRegMap(@Self)^.&set := $00200000;
  27499. end;
  27500. function TINT_IFS1.getU2EIF : TBits_1; inline;
  27501. begin
  27502. getU2EIF := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  27503. end;
  27504. procedure TINT_IFS1.setU2RXIF; inline;
  27505. begin
  27506. pTDefRegMap(@Self)^.&set := $00400000;
  27507. end;
  27508. procedure TINT_IFS1.clearU2RXIF; inline;
  27509. begin
  27510. pTDefRegMap(@Self)^.clr := $00400000;
  27511. end;
  27512. procedure TINT_IFS1.setU2RXIF(thebits : TBits_1); inline;
  27513. begin
  27514. if thebits = 0 then
  27515. pTDefRegMap(@Self)^.clr := $00400000
  27516. else
  27517. pTDefRegMap(@Self)^.&set := $00400000;
  27518. end;
  27519. function TINT_IFS1.getU2RXIF : TBits_1; inline;
  27520. begin
  27521. getU2RXIF := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  27522. end;
  27523. procedure TINT_IFS1.setU2TXIF; inline;
  27524. begin
  27525. pTDefRegMap(@Self)^.&set := $00800000;
  27526. end;
  27527. procedure TINT_IFS1.clearU2TXIF; inline;
  27528. begin
  27529. pTDefRegMap(@Self)^.clr := $00800000;
  27530. end;
  27531. procedure TINT_IFS1.setU2TXIF(thebits : TBits_1); inline;
  27532. begin
  27533. if thebits = 0 then
  27534. pTDefRegMap(@Self)^.clr := $00800000
  27535. else
  27536. pTDefRegMap(@Self)^.&set := $00800000;
  27537. end;
  27538. function TINT_IFS1.getU2TXIF : TBits_1; inline;
  27539. begin
  27540. getU2TXIF := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  27541. end;
  27542. procedure TINT_IFS1.setI2C2BIF; inline;
  27543. begin
  27544. pTDefRegMap(@Self)^.&set := $01000000;
  27545. end;
  27546. procedure TINT_IFS1.clearI2C2BIF; inline;
  27547. begin
  27548. pTDefRegMap(@Self)^.clr := $01000000;
  27549. end;
  27550. procedure TINT_IFS1.setI2C2BIF(thebits : TBits_1); inline;
  27551. begin
  27552. if thebits = 0 then
  27553. pTDefRegMap(@Self)^.clr := $01000000
  27554. else
  27555. pTDefRegMap(@Self)^.&set := $01000000;
  27556. end;
  27557. function TINT_IFS1.getI2C2BIF : TBits_1; inline;
  27558. begin
  27559. getI2C2BIF := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  27560. end;
  27561. procedure TINT_IFS1.setI2C2SIF; inline;
  27562. begin
  27563. pTDefRegMap(@Self)^.&set := $02000000;
  27564. end;
  27565. procedure TINT_IFS1.clearI2C2SIF; inline;
  27566. begin
  27567. pTDefRegMap(@Self)^.clr := $02000000;
  27568. end;
  27569. procedure TINT_IFS1.setI2C2SIF(thebits : TBits_1); inline;
  27570. begin
  27571. if thebits = 0 then
  27572. pTDefRegMap(@Self)^.clr := $02000000
  27573. else
  27574. pTDefRegMap(@Self)^.&set := $02000000;
  27575. end;
  27576. function TINT_IFS1.getI2C2SIF : TBits_1; inline;
  27577. begin
  27578. getI2C2SIF := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  27579. end;
  27580. procedure TINT_IFS1.setI2C2MIF; inline;
  27581. begin
  27582. pTDefRegMap(@Self)^.&set := $04000000;
  27583. end;
  27584. procedure TINT_IFS1.clearI2C2MIF; inline;
  27585. begin
  27586. pTDefRegMap(@Self)^.clr := $04000000;
  27587. end;
  27588. procedure TINT_IFS1.setI2C2MIF(thebits : TBits_1); inline;
  27589. begin
  27590. if thebits = 0 then
  27591. pTDefRegMap(@Self)^.clr := $04000000
  27592. else
  27593. pTDefRegMap(@Self)^.&set := $04000000;
  27594. end;
  27595. function TINT_IFS1.getI2C2MIF : TBits_1; inline;
  27596. begin
  27597. getI2C2MIF := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  27598. end;
  27599. procedure TINT_IFS1.setCTMUIF; inline;
  27600. begin
  27601. pTDefRegMap(@Self)^.&set := $08000000;
  27602. end;
  27603. procedure TINT_IFS1.clearCTMUIF; inline;
  27604. begin
  27605. pTDefRegMap(@Self)^.clr := $08000000;
  27606. end;
  27607. procedure TINT_IFS1.setCTMUIF(thebits : TBits_1); inline;
  27608. begin
  27609. if thebits = 0 then
  27610. pTDefRegMap(@Self)^.clr := $08000000
  27611. else
  27612. pTDefRegMap(@Self)^.&set := $08000000;
  27613. end;
  27614. function TINT_IFS1.getCTMUIF : TBits_1; inline;
  27615. begin
  27616. getCTMUIF := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  27617. end;
  27618. procedure TINT_IFS1.setDMA0IF; inline;
  27619. begin
  27620. pTDefRegMap(@Self)^.&set := $10000000;
  27621. end;
  27622. procedure TINT_IFS1.clearDMA0IF; inline;
  27623. begin
  27624. pTDefRegMap(@Self)^.clr := $10000000;
  27625. end;
  27626. procedure TINT_IFS1.setDMA0IF(thebits : TBits_1); inline;
  27627. begin
  27628. if thebits = 0 then
  27629. pTDefRegMap(@Self)^.clr := $10000000
  27630. else
  27631. pTDefRegMap(@Self)^.&set := $10000000;
  27632. end;
  27633. function TINT_IFS1.getDMA0IF : TBits_1; inline;
  27634. begin
  27635. getDMA0IF := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  27636. end;
  27637. procedure TINT_IFS1.setDMA1IF; inline;
  27638. begin
  27639. pTDefRegMap(@Self)^.&set := $20000000;
  27640. end;
  27641. procedure TINT_IFS1.clearDMA1IF; inline;
  27642. begin
  27643. pTDefRegMap(@Self)^.clr := $20000000;
  27644. end;
  27645. procedure TINT_IFS1.setDMA1IF(thebits : TBits_1); inline;
  27646. begin
  27647. if thebits = 0 then
  27648. pTDefRegMap(@Self)^.clr := $20000000
  27649. else
  27650. pTDefRegMap(@Self)^.&set := $20000000;
  27651. end;
  27652. function TINT_IFS1.getDMA1IF : TBits_1; inline;
  27653. begin
  27654. getDMA1IF := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  27655. end;
  27656. procedure TINT_IFS1.setDMA2IF; inline;
  27657. begin
  27658. pTDefRegMap(@Self)^.&set := $40000000;
  27659. end;
  27660. procedure TINT_IFS1.clearDMA2IF; inline;
  27661. begin
  27662. pTDefRegMap(@Self)^.clr := $40000000;
  27663. end;
  27664. procedure TINT_IFS1.setDMA2IF(thebits : TBits_1); inline;
  27665. begin
  27666. if thebits = 0 then
  27667. pTDefRegMap(@Self)^.clr := $40000000
  27668. else
  27669. pTDefRegMap(@Self)^.&set := $40000000;
  27670. end;
  27671. function TINT_IFS1.getDMA2IF : TBits_1; inline;
  27672. begin
  27673. getDMA2IF := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  27674. end;
  27675. procedure TINT_IFS1.setDMA3IF; inline;
  27676. begin
  27677. pTDefRegMap(@Self)^.&set := $80000000;
  27678. end;
  27679. procedure TINT_IFS1.clearDMA3IF; inline;
  27680. begin
  27681. pTDefRegMap(@Self)^.clr := $80000000;
  27682. end;
  27683. procedure TINT_IFS1.setDMA3IF(thebits : TBits_1); inline;
  27684. begin
  27685. if thebits = 0 then
  27686. pTDefRegMap(@Self)^.clr := $80000000
  27687. else
  27688. pTDefRegMap(@Self)^.&set := $80000000;
  27689. end;
  27690. function TINT_IFS1.getDMA3IF : TBits_1; inline;
  27691. begin
  27692. getDMA3IF := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  27693. end;
  27694. procedure TINT_IFS1.setw(thebits : TBits_32); inline;
  27695. begin
  27696. pTDefRegMap(@Self)^.val := thebits;
  27697. end;
  27698. function TINT_IFS1.getw : TBits_32; inline;
  27699. begin
  27700. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  27701. end;
  27702. procedure TINT_IEC0.setCTIE; inline;
  27703. begin
  27704. pTDefRegMap(@Self)^.&set := $00000001;
  27705. end;
  27706. procedure TINT_IEC0.clearCTIE; inline;
  27707. begin
  27708. pTDefRegMap(@Self)^.clr := $00000001;
  27709. end;
  27710. procedure TINT_IEC0.setCTIE(thebits : TBits_1); inline;
  27711. begin
  27712. if thebits = 0 then
  27713. pTDefRegMap(@Self)^.clr := $00000001
  27714. else
  27715. pTDefRegMap(@Self)^.&set := $00000001;
  27716. end;
  27717. function TINT_IEC0.getCTIE : TBits_1; inline;
  27718. begin
  27719. getCTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  27720. end;
  27721. procedure TINT_IEC0.setCS0IE; inline;
  27722. begin
  27723. pTDefRegMap(@Self)^.&set := $00000002;
  27724. end;
  27725. procedure TINT_IEC0.clearCS0IE; inline;
  27726. begin
  27727. pTDefRegMap(@Self)^.clr := $00000002;
  27728. end;
  27729. procedure TINT_IEC0.setCS0IE(thebits : TBits_1); inline;
  27730. begin
  27731. if thebits = 0 then
  27732. pTDefRegMap(@Self)^.clr := $00000002
  27733. else
  27734. pTDefRegMap(@Self)^.&set := $00000002;
  27735. end;
  27736. function TINT_IEC0.getCS0IE : TBits_1; inline;
  27737. begin
  27738. getCS0IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  27739. end;
  27740. procedure TINT_IEC0.setCS1IE; inline;
  27741. begin
  27742. pTDefRegMap(@Self)^.&set := $00000004;
  27743. end;
  27744. procedure TINT_IEC0.clearCS1IE; inline;
  27745. begin
  27746. pTDefRegMap(@Self)^.clr := $00000004;
  27747. end;
  27748. procedure TINT_IEC0.setCS1IE(thebits : TBits_1); inline;
  27749. begin
  27750. if thebits = 0 then
  27751. pTDefRegMap(@Self)^.clr := $00000004
  27752. else
  27753. pTDefRegMap(@Self)^.&set := $00000004;
  27754. end;
  27755. function TINT_IEC0.getCS1IE : TBits_1; inline;
  27756. begin
  27757. getCS1IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  27758. end;
  27759. procedure TINT_IEC0.setINT0IE; inline;
  27760. begin
  27761. pTDefRegMap(@Self)^.&set := $00000008;
  27762. end;
  27763. procedure TINT_IEC0.clearINT0IE; inline;
  27764. begin
  27765. pTDefRegMap(@Self)^.clr := $00000008;
  27766. end;
  27767. procedure TINT_IEC0.setINT0IE(thebits : TBits_1); inline;
  27768. begin
  27769. if thebits = 0 then
  27770. pTDefRegMap(@Self)^.clr := $00000008
  27771. else
  27772. pTDefRegMap(@Self)^.&set := $00000008;
  27773. end;
  27774. function TINT_IEC0.getINT0IE : TBits_1; inline;
  27775. begin
  27776. getINT0IE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  27777. end;
  27778. procedure TINT_IEC0.setT1IE; inline;
  27779. begin
  27780. pTDefRegMap(@Self)^.&set := $00000010;
  27781. end;
  27782. procedure TINT_IEC0.clearT1IE; inline;
  27783. begin
  27784. pTDefRegMap(@Self)^.clr := $00000010;
  27785. end;
  27786. procedure TINT_IEC0.setT1IE(thebits : TBits_1); inline;
  27787. begin
  27788. if thebits = 0 then
  27789. pTDefRegMap(@Self)^.clr := $00000010
  27790. else
  27791. pTDefRegMap(@Self)^.&set := $00000010;
  27792. end;
  27793. function TINT_IEC0.getT1IE : TBits_1; inline;
  27794. begin
  27795. getT1IE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  27796. end;
  27797. procedure TINT_IEC0.setIC1EIE; inline;
  27798. begin
  27799. pTDefRegMap(@Self)^.&set := $00000020;
  27800. end;
  27801. procedure TINT_IEC0.clearIC1EIE; inline;
  27802. begin
  27803. pTDefRegMap(@Self)^.clr := $00000020;
  27804. end;
  27805. procedure TINT_IEC0.setIC1EIE(thebits : TBits_1); inline;
  27806. begin
  27807. if thebits = 0 then
  27808. pTDefRegMap(@Self)^.clr := $00000020
  27809. else
  27810. pTDefRegMap(@Self)^.&set := $00000020;
  27811. end;
  27812. function TINT_IEC0.getIC1EIE : TBits_1; inline;
  27813. begin
  27814. getIC1EIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  27815. end;
  27816. procedure TINT_IEC0.setIC1IE; inline;
  27817. begin
  27818. pTDefRegMap(@Self)^.&set := $00000040;
  27819. end;
  27820. procedure TINT_IEC0.clearIC1IE; inline;
  27821. begin
  27822. pTDefRegMap(@Self)^.clr := $00000040;
  27823. end;
  27824. procedure TINT_IEC0.setIC1IE(thebits : TBits_1); inline;
  27825. begin
  27826. if thebits = 0 then
  27827. pTDefRegMap(@Self)^.clr := $00000040
  27828. else
  27829. pTDefRegMap(@Self)^.&set := $00000040;
  27830. end;
  27831. function TINT_IEC0.getIC1IE : TBits_1; inline;
  27832. begin
  27833. getIC1IE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  27834. end;
  27835. procedure TINT_IEC0.setOC1IE; inline;
  27836. begin
  27837. pTDefRegMap(@Self)^.&set := $00000080;
  27838. end;
  27839. procedure TINT_IEC0.clearOC1IE; inline;
  27840. begin
  27841. pTDefRegMap(@Self)^.clr := $00000080;
  27842. end;
  27843. procedure TINT_IEC0.setOC1IE(thebits : TBits_1); inline;
  27844. begin
  27845. if thebits = 0 then
  27846. pTDefRegMap(@Self)^.clr := $00000080
  27847. else
  27848. pTDefRegMap(@Self)^.&set := $00000080;
  27849. end;
  27850. function TINT_IEC0.getOC1IE : TBits_1; inline;
  27851. begin
  27852. getOC1IE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  27853. end;
  27854. procedure TINT_IEC0.setINT1IE; inline;
  27855. begin
  27856. pTDefRegMap(@Self)^.&set := $00000100;
  27857. end;
  27858. procedure TINT_IEC0.clearINT1IE; inline;
  27859. begin
  27860. pTDefRegMap(@Self)^.clr := $00000100;
  27861. end;
  27862. procedure TINT_IEC0.setINT1IE(thebits : TBits_1); inline;
  27863. begin
  27864. if thebits = 0 then
  27865. pTDefRegMap(@Self)^.clr := $00000100
  27866. else
  27867. pTDefRegMap(@Self)^.&set := $00000100;
  27868. end;
  27869. function TINT_IEC0.getINT1IE : TBits_1; inline;
  27870. begin
  27871. getINT1IE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  27872. end;
  27873. procedure TINT_IEC0.setT2IE; inline;
  27874. begin
  27875. pTDefRegMap(@Self)^.&set := $00000200;
  27876. end;
  27877. procedure TINT_IEC0.clearT2IE; inline;
  27878. begin
  27879. pTDefRegMap(@Self)^.clr := $00000200;
  27880. end;
  27881. procedure TINT_IEC0.setT2IE(thebits : TBits_1); inline;
  27882. begin
  27883. if thebits = 0 then
  27884. pTDefRegMap(@Self)^.clr := $00000200
  27885. else
  27886. pTDefRegMap(@Self)^.&set := $00000200;
  27887. end;
  27888. function TINT_IEC0.getT2IE : TBits_1; inline;
  27889. begin
  27890. getT2IE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  27891. end;
  27892. procedure TINT_IEC0.setIC2EIE; inline;
  27893. begin
  27894. pTDefRegMap(@Self)^.&set := $00000400;
  27895. end;
  27896. procedure TINT_IEC0.clearIC2EIE; inline;
  27897. begin
  27898. pTDefRegMap(@Self)^.clr := $00000400;
  27899. end;
  27900. procedure TINT_IEC0.setIC2EIE(thebits : TBits_1); inline;
  27901. begin
  27902. if thebits = 0 then
  27903. pTDefRegMap(@Self)^.clr := $00000400
  27904. else
  27905. pTDefRegMap(@Self)^.&set := $00000400;
  27906. end;
  27907. function TINT_IEC0.getIC2EIE : TBits_1; inline;
  27908. begin
  27909. getIC2EIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  27910. end;
  27911. procedure TINT_IEC0.setIC2IE; inline;
  27912. begin
  27913. pTDefRegMap(@Self)^.&set := $00000800;
  27914. end;
  27915. procedure TINT_IEC0.clearIC2IE; inline;
  27916. begin
  27917. pTDefRegMap(@Self)^.clr := $00000800;
  27918. end;
  27919. procedure TINT_IEC0.setIC2IE(thebits : TBits_1); inline;
  27920. begin
  27921. if thebits = 0 then
  27922. pTDefRegMap(@Self)^.clr := $00000800
  27923. else
  27924. pTDefRegMap(@Self)^.&set := $00000800;
  27925. end;
  27926. function TINT_IEC0.getIC2IE : TBits_1; inline;
  27927. begin
  27928. getIC2IE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  27929. end;
  27930. procedure TINT_IEC0.setOC2IE; inline;
  27931. begin
  27932. pTDefRegMap(@Self)^.&set := $00001000;
  27933. end;
  27934. procedure TINT_IEC0.clearOC2IE; inline;
  27935. begin
  27936. pTDefRegMap(@Self)^.clr := $00001000;
  27937. end;
  27938. procedure TINT_IEC0.setOC2IE(thebits : TBits_1); inline;
  27939. begin
  27940. if thebits = 0 then
  27941. pTDefRegMap(@Self)^.clr := $00001000
  27942. else
  27943. pTDefRegMap(@Self)^.&set := $00001000;
  27944. end;
  27945. function TINT_IEC0.getOC2IE : TBits_1; inline;
  27946. begin
  27947. getOC2IE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  27948. end;
  27949. procedure TINT_IEC0.setINT2IE; inline;
  27950. begin
  27951. pTDefRegMap(@Self)^.&set := $00002000;
  27952. end;
  27953. procedure TINT_IEC0.clearINT2IE; inline;
  27954. begin
  27955. pTDefRegMap(@Self)^.clr := $00002000;
  27956. end;
  27957. procedure TINT_IEC0.setINT2IE(thebits : TBits_1); inline;
  27958. begin
  27959. if thebits = 0 then
  27960. pTDefRegMap(@Self)^.clr := $00002000
  27961. else
  27962. pTDefRegMap(@Self)^.&set := $00002000;
  27963. end;
  27964. function TINT_IEC0.getINT2IE : TBits_1; inline;
  27965. begin
  27966. getINT2IE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  27967. end;
  27968. procedure TINT_IEC0.setT3IE; inline;
  27969. begin
  27970. pTDefRegMap(@Self)^.&set := $00004000;
  27971. end;
  27972. procedure TINT_IEC0.clearT3IE; inline;
  27973. begin
  27974. pTDefRegMap(@Self)^.clr := $00004000;
  27975. end;
  27976. procedure TINT_IEC0.setT3IE(thebits : TBits_1); inline;
  27977. begin
  27978. if thebits = 0 then
  27979. pTDefRegMap(@Self)^.clr := $00004000
  27980. else
  27981. pTDefRegMap(@Self)^.&set := $00004000;
  27982. end;
  27983. function TINT_IEC0.getT3IE : TBits_1; inline;
  27984. begin
  27985. getT3IE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  27986. end;
  27987. procedure TINT_IEC0.setIC3EIE; inline;
  27988. begin
  27989. pTDefRegMap(@Self)^.&set := $00008000;
  27990. end;
  27991. procedure TINT_IEC0.clearIC3EIE; inline;
  27992. begin
  27993. pTDefRegMap(@Self)^.clr := $00008000;
  27994. end;
  27995. procedure TINT_IEC0.setIC3EIE(thebits : TBits_1); inline;
  27996. begin
  27997. if thebits = 0 then
  27998. pTDefRegMap(@Self)^.clr := $00008000
  27999. else
  28000. pTDefRegMap(@Self)^.&set := $00008000;
  28001. end;
  28002. function TINT_IEC0.getIC3EIE : TBits_1; inline;
  28003. begin
  28004. getIC3EIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28005. end;
  28006. procedure TINT_IEC0.setIC3IE; inline;
  28007. begin
  28008. pTDefRegMap(@Self)^.&set := $00010000;
  28009. end;
  28010. procedure TINT_IEC0.clearIC3IE; inline;
  28011. begin
  28012. pTDefRegMap(@Self)^.clr := $00010000;
  28013. end;
  28014. procedure TINT_IEC0.setIC3IE(thebits : TBits_1); inline;
  28015. begin
  28016. if thebits = 0 then
  28017. pTDefRegMap(@Self)^.clr := $00010000
  28018. else
  28019. pTDefRegMap(@Self)^.&set := $00010000;
  28020. end;
  28021. function TINT_IEC0.getIC3IE : TBits_1; inline;
  28022. begin
  28023. getIC3IE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28024. end;
  28025. procedure TINT_IEC0.setOC3IE; inline;
  28026. begin
  28027. pTDefRegMap(@Self)^.&set := $00020000;
  28028. end;
  28029. procedure TINT_IEC0.clearOC3IE; inline;
  28030. begin
  28031. pTDefRegMap(@Self)^.clr := $00020000;
  28032. end;
  28033. procedure TINT_IEC0.setOC3IE(thebits : TBits_1); inline;
  28034. begin
  28035. if thebits = 0 then
  28036. pTDefRegMap(@Self)^.clr := $00020000
  28037. else
  28038. pTDefRegMap(@Self)^.&set := $00020000;
  28039. end;
  28040. function TINT_IEC0.getOC3IE : TBits_1; inline;
  28041. begin
  28042. getOC3IE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28043. end;
  28044. procedure TINT_IEC0.setINT3IE; inline;
  28045. begin
  28046. pTDefRegMap(@Self)^.&set := $00040000;
  28047. end;
  28048. procedure TINT_IEC0.clearINT3IE; inline;
  28049. begin
  28050. pTDefRegMap(@Self)^.clr := $00040000;
  28051. end;
  28052. procedure TINT_IEC0.setINT3IE(thebits : TBits_1); inline;
  28053. begin
  28054. if thebits = 0 then
  28055. pTDefRegMap(@Self)^.clr := $00040000
  28056. else
  28057. pTDefRegMap(@Self)^.&set := $00040000;
  28058. end;
  28059. function TINT_IEC0.getINT3IE : TBits_1; inline;
  28060. begin
  28061. getINT3IE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28062. end;
  28063. procedure TINT_IEC0.setT4IE; inline;
  28064. begin
  28065. pTDefRegMap(@Self)^.&set := $00080000;
  28066. end;
  28067. procedure TINT_IEC0.clearT4IE; inline;
  28068. begin
  28069. pTDefRegMap(@Self)^.clr := $00080000;
  28070. end;
  28071. procedure TINT_IEC0.setT4IE(thebits : TBits_1); inline;
  28072. begin
  28073. if thebits = 0 then
  28074. pTDefRegMap(@Self)^.clr := $00080000
  28075. else
  28076. pTDefRegMap(@Self)^.&set := $00080000;
  28077. end;
  28078. function TINT_IEC0.getT4IE : TBits_1; inline;
  28079. begin
  28080. getT4IE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28081. end;
  28082. procedure TINT_IEC0.setIC4EIE; inline;
  28083. begin
  28084. pTDefRegMap(@Self)^.&set := $00100000;
  28085. end;
  28086. procedure TINT_IEC0.clearIC4EIE; inline;
  28087. begin
  28088. pTDefRegMap(@Self)^.clr := $00100000;
  28089. end;
  28090. procedure TINT_IEC0.setIC4EIE(thebits : TBits_1); inline;
  28091. begin
  28092. if thebits = 0 then
  28093. pTDefRegMap(@Self)^.clr := $00100000
  28094. else
  28095. pTDefRegMap(@Self)^.&set := $00100000;
  28096. end;
  28097. function TINT_IEC0.getIC4EIE : TBits_1; inline;
  28098. begin
  28099. getIC4EIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28100. end;
  28101. procedure TINT_IEC0.setIC4IE; inline;
  28102. begin
  28103. pTDefRegMap(@Self)^.&set := $00200000;
  28104. end;
  28105. procedure TINT_IEC0.clearIC4IE; inline;
  28106. begin
  28107. pTDefRegMap(@Self)^.clr := $00200000;
  28108. end;
  28109. procedure TINT_IEC0.setIC4IE(thebits : TBits_1); inline;
  28110. begin
  28111. if thebits = 0 then
  28112. pTDefRegMap(@Self)^.clr := $00200000
  28113. else
  28114. pTDefRegMap(@Self)^.&set := $00200000;
  28115. end;
  28116. function TINT_IEC0.getIC4IE : TBits_1; inline;
  28117. begin
  28118. getIC4IE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28119. end;
  28120. procedure TINT_IEC0.setOC4IE; inline;
  28121. begin
  28122. pTDefRegMap(@Self)^.&set := $00400000;
  28123. end;
  28124. procedure TINT_IEC0.clearOC4IE; inline;
  28125. begin
  28126. pTDefRegMap(@Self)^.clr := $00400000;
  28127. end;
  28128. procedure TINT_IEC0.setOC4IE(thebits : TBits_1); inline;
  28129. begin
  28130. if thebits = 0 then
  28131. pTDefRegMap(@Self)^.clr := $00400000
  28132. else
  28133. pTDefRegMap(@Self)^.&set := $00400000;
  28134. end;
  28135. function TINT_IEC0.getOC4IE : TBits_1; inline;
  28136. begin
  28137. getOC4IE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28138. end;
  28139. procedure TINT_IEC0.setINT4IE; inline;
  28140. begin
  28141. pTDefRegMap(@Self)^.&set := $00800000;
  28142. end;
  28143. procedure TINT_IEC0.clearINT4IE; inline;
  28144. begin
  28145. pTDefRegMap(@Self)^.clr := $00800000;
  28146. end;
  28147. procedure TINT_IEC0.setINT4IE(thebits : TBits_1); inline;
  28148. begin
  28149. if thebits = 0 then
  28150. pTDefRegMap(@Self)^.clr := $00800000
  28151. else
  28152. pTDefRegMap(@Self)^.&set := $00800000;
  28153. end;
  28154. function TINT_IEC0.getINT4IE : TBits_1; inline;
  28155. begin
  28156. getINT4IE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28157. end;
  28158. procedure TINT_IEC0.setT5IE; inline;
  28159. begin
  28160. pTDefRegMap(@Self)^.&set := $01000000;
  28161. end;
  28162. procedure TINT_IEC0.clearT5IE; inline;
  28163. begin
  28164. pTDefRegMap(@Self)^.clr := $01000000;
  28165. end;
  28166. procedure TINT_IEC0.setT5IE(thebits : TBits_1); inline;
  28167. begin
  28168. if thebits = 0 then
  28169. pTDefRegMap(@Self)^.clr := $01000000
  28170. else
  28171. pTDefRegMap(@Self)^.&set := $01000000;
  28172. end;
  28173. function TINT_IEC0.getT5IE : TBits_1; inline;
  28174. begin
  28175. getT5IE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28176. end;
  28177. procedure TINT_IEC0.setIC5EIE; inline;
  28178. begin
  28179. pTDefRegMap(@Self)^.&set := $02000000;
  28180. end;
  28181. procedure TINT_IEC0.clearIC5EIE; inline;
  28182. begin
  28183. pTDefRegMap(@Self)^.clr := $02000000;
  28184. end;
  28185. procedure TINT_IEC0.setIC5EIE(thebits : TBits_1); inline;
  28186. begin
  28187. if thebits = 0 then
  28188. pTDefRegMap(@Self)^.clr := $02000000
  28189. else
  28190. pTDefRegMap(@Self)^.&set := $02000000;
  28191. end;
  28192. function TINT_IEC0.getIC5EIE : TBits_1; inline;
  28193. begin
  28194. getIC5EIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28195. end;
  28196. procedure TINT_IEC0.setIC5IE; inline;
  28197. begin
  28198. pTDefRegMap(@Self)^.&set := $04000000;
  28199. end;
  28200. procedure TINT_IEC0.clearIC5IE; inline;
  28201. begin
  28202. pTDefRegMap(@Self)^.clr := $04000000;
  28203. end;
  28204. procedure TINT_IEC0.setIC5IE(thebits : TBits_1); inline;
  28205. begin
  28206. if thebits = 0 then
  28207. pTDefRegMap(@Self)^.clr := $04000000
  28208. else
  28209. pTDefRegMap(@Self)^.&set := $04000000;
  28210. end;
  28211. function TINT_IEC0.getIC5IE : TBits_1; inline;
  28212. begin
  28213. getIC5IE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28214. end;
  28215. procedure TINT_IEC0.setOC5IE; inline;
  28216. begin
  28217. pTDefRegMap(@Self)^.&set := $08000000;
  28218. end;
  28219. procedure TINT_IEC0.clearOC5IE; inline;
  28220. begin
  28221. pTDefRegMap(@Self)^.clr := $08000000;
  28222. end;
  28223. procedure TINT_IEC0.setOC5IE(thebits : TBits_1); inline;
  28224. begin
  28225. if thebits = 0 then
  28226. pTDefRegMap(@Self)^.clr := $08000000
  28227. else
  28228. pTDefRegMap(@Self)^.&set := $08000000;
  28229. end;
  28230. function TINT_IEC0.getOC5IE : TBits_1; inline;
  28231. begin
  28232. getOC5IE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28233. end;
  28234. procedure TINT_IEC0.setAD1IE; inline;
  28235. begin
  28236. pTDefRegMap(@Self)^.&set := $10000000;
  28237. end;
  28238. procedure TINT_IEC0.clearAD1IE; inline;
  28239. begin
  28240. pTDefRegMap(@Self)^.clr := $10000000;
  28241. end;
  28242. procedure TINT_IEC0.setAD1IE(thebits : TBits_1); inline;
  28243. begin
  28244. if thebits = 0 then
  28245. pTDefRegMap(@Self)^.clr := $10000000
  28246. else
  28247. pTDefRegMap(@Self)^.&set := $10000000;
  28248. end;
  28249. function TINT_IEC0.getAD1IE : TBits_1; inline;
  28250. begin
  28251. getAD1IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28252. end;
  28253. procedure TINT_IEC0.setFSCMIE; inline;
  28254. begin
  28255. pTDefRegMap(@Self)^.&set := $20000000;
  28256. end;
  28257. procedure TINT_IEC0.clearFSCMIE; inline;
  28258. begin
  28259. pTDefRegMap(@Self)^.clr := $20000000;
  28260. end;
  28261. procedure TINT_IEC0.setFSCMIE(thebits : TBits_1); inline;
  28262. begin
  28263. if thebits = 0 then
  28264. pTDefRegMap(@Self)^.clr := $20000000
  28265. else
  28266. pTDefRegMap(@Self)^.&set := $20000000;
  28267. end;
  28268. function TINT_IEC0.getFSCMIE : TBits_1; inline;
  28269. begin
  28270. getFSCMIE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28271. end;
  28272. procedure TINT_IEC0.setRTCCIE; inline;
  28273. begin
  28274. pTDefRegMap(@Self)^.&set := $40000000;
  28275. end;
  28276. procedure TINT_IEC0.clearRTCCIE; inline;
  28277. begin
  28278. pTDefRegMap(@Self)^.clr := $40000000;
  28279. end;
  28280. procedure TINT_IEC0.setRTCCIE(thebits : TBits_1); inline;
  28281. begin
  28282. if thebits = 0 then
  28283. pTDefRegMap(@Self)^.clr := $40000000
  28284. else
  28285. pTDefRegMap(@Self)^.&set := $40000000;
  28286. end;
  28287. function TINT_IEC0.getRTCCIE : TBits_1; inline;
  28288. begin
  28289. getRTCCIE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28290. end;
  28291. procedure TINT_IEC0.setFCEIE; inline;
  28292. begin
  28293. pTDefRegMap(@Self)^.&set := $80000000;
  28294. end;
  28295. procedure TINT_IEC0.clearFCEIE; inline;
  28296. begin
  28297. pTDefRegMap(@Self)^.clr := $80000000;
  28298. end;
  28299. procedure TINT_IEC0.setFCEIE(thebits : TBits_1); inline;
  28300. begin
  28301. if thebits = 0 then
  28302. pTDefRegMap(@Self)^.clr := $80000000
  28303. else
  28304. pTDefRegMap(@Self)^.&set := $80000000;
  28305. end;
  28306. function TINT_IEC0.getFCEIE : TBits_1; inline;
  28307. begin
  28308. getFCEIE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28309. end;
  28310. procedure TINT_IEC0.setw(thebits : TBits_32); inline;
  28311. begin
  28312. pTDefRegMap(@Self)^.val := thebits;
  28313. end;
  28314. function TINT_IEC0.getw : TBits_32; inline;
  28315. begin
  28316. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28317. end;
  28318. procedure TINT_IEC1.setCMP1IE; inline;
  28319. begin
  28320. pTDefRegMap(@Self)^.&set := $00000001;
  28321. end;
  28322. procedure TINT_IEC1.clearCMP1IE; inline;
  28323. begin
  28324. pTDefRegMap(@Self)^.clr := $00000001;
  28325. end;
  28326. procedure TINT_IEC1.setCMP1IE(thebits : TBits_1); inline;
  28327. begin
  28328. if thebits = 0 then
  28329. pTDefRegMap(@Self)^.clr := $00000001
  28330. else
  28331. pTDefRegMap(@Self)^.&set := $00000001;
  28332. end;
  28333. function TINT_IEC1.getCMP1IE : TBits_1; inline;
  28334. begin
  28335. getCMP1IE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  28336. end;
  28337. procedure TINT_IEC1.setCMP2IE; inline;
  28338. begin
  28339. pTDefRegMap(@Self)^.&set := $00000002;
  28340. end;
  28341. procedure TINT_IEC1.clearCMP2IE; inline;
  28342. begin
  28343. pTDefRegMap(@Self)^.clr := $00000002;
  28344. end;
  28345. procedure TINT_IEC1.setCMP2IE(thebits : TBits_1); inline;
  28346. begin
  28347. if thebits = 0 then
  28348. pTDefRegMap(@Self)^.clr := $00000002
  28349. else
  28350. pTDefRegMap(@Self)^.&set := $00000002;
  28351. end;
  28352. function TINT_IEC1.getCMP2IE : TBits_1; inline;
  28353. begin
  28354. getCMP2IE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  28355. end;
  28356. procedure TINT_IEC1.setCMP3IE; inline;
  28357. begin
  28358. pTDefRegMap(@Self)^.&set := $00000004;
  28359. end;
  28360. procedure TINT_IEC1.clearCMP3IE; inline;
  28361. begin
  28362. pTDefRegMap(@Self)^.clr := $00000004;
  28363. end;
  28364. procedure TINT_IEC1.setCMP3IE(thebits : TBits_1); inline;
  28365. begin
  28366. if thebits = 0 then
  28367. pTDefRegMap(@Self)^.clr := $00000004
  28368. else
  28369. pTDefRegMap(@Self)^.&set := $00000004;
  28370. end;
  28371. function TINT_IEC1.getCMP3IE : TBits_1; inline;
  28372. begin
  28373. getCMP3IE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  28374. end;
  28375. procedure TINT_IEC1.setSPI1EIE; inline;
  28376. begin
  28377. pTDefRegMap(@Self)^.&set := $00000010;
  28378. end;
  28379. procedure TINT_IEC1.clearSPI1EIE; inline;
  28380. begin
  28381. pTDefRegMap(@Self)^.clr := $00000010;
  28382. end;
  28383. procedure TINT_IEC1.setSPI1EIE(thebits : TBits_1); inline;
  28384. begin
  28385. if thebits = 0 then
  28386. pTDefRegMap(@Self)^.clr := $00000010
  28387. else
  28388. pTDefRegMap(@Self)^.&set := $00000010;
  28389. end;
  28390. function TINT_IEC1.getSPI1EIE : TBits_1; inline;
  28391. begin
  28392. getSPI1EIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  28393. end;
  28394. procedure TINT_IEC1.setSPI1RXIE; inline;
  28395. begin
  28396. pTDefRegMap(@Self)^.&set := $00000020;
  28397. end;
  28398. procedure TINT_IEC1.clearSPI1RXIE; inline;
  28399. begin
  28400. pTDefRegMap(@Self)^.clr := $00000020;
  28401. end;
  28402. procedure TINT_IEC1.setSPI1RXIE(thebits : TBits_1); inline;
  28403. begin
  28404. if thebits = 0 then
  28405. pTDefRegMap(@Self)^.clr := $00000020
  28406. else
  28407. pTDefRegMap(@Self)^.&set := $00000020;
  28408. end;
  28409. function TINT_IEC1.getSPI1RXIE : TBits_1; inline;
  28410. begin
  28411. getSPI1RXIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  28412. end;
  28413. procedure TINT_IEC1.setSPI1TXIE; inline;
  28414. begin
  28415. pTDefRegMap(@Self)^.&set := $00000040;
  28416. end;
  28417. procedure TINT_IEC1.clearSPI1TXIE; inline;
  28418. begin
  28419. pTDefRegMap(@Self)^.clr := $00000040;
  28420. end;
  28421. procedure TINT_IEC1.setSPI1TXIE(thebits : TBits_1); inline;
  28422. begin
  28423. if thebits = 0 then
  28424. pTDefRegMap(@Self)^.clr := $00000040
  28425. else
  28426. pTDefRegMap(@Self)^.&set := $00000040;
  28427. end;
  28428. function TINT_IEC1.getSPI1TXIE : TBits_1; inline;
  28429. begin
  28430. getSPI1TXIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  28431. end;
  28432. procedure TINT_IEC1.setU1EIE; inline;
  28433. begin
  28434. pTDefRegMap(@Self)^.&set := $00000080;
  28435. end;
  28436. procedure TINT_IEC1.clearU1EIE; inline;
  28437. begin
  28438. pTDefRegMap(@Self)^.clr := $00000080;
  28439. end;
  28440. procedure TINT_IEC1.setU1EIE(thebits : TBits_1); inline;
  28441. begin
  28442. if thebits = 0 then
  28443. pTDefRegMap(@Self)^.clr := $00000080
  28444. else
  28445. pTDefRegMap(@Self)^.&set := $00000080;
  28446. end;
  28447. function TINT_IEC1.getU1EIE : TBits_1; inline;
  28448. begin
  28449. getU1EIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  28450. end;
  28451. procedure TINT_IEC1.setU1RXIE; inline;
  28452. begin
  28453. pTDefRegMap(@Self)^.&set := $00000100;
  28454. end;
  28455. procedure TINT_IEC1.clearU1RXIE; inline;
  28456. begin
  28457. pTDefRegMap(@Self)^.clr := $00000100;
  28458. end;
  28459. procedure TINT_IEC1.setU1RXIE(thebits : TBits_1); inline;
  28460. begin
  28461. if thebits = 0 then
  28462. pTDefRegMap(@Self)^.clr := $00000100
  28463. else
  28464. pTDefRegMap(@Self)^.&set := $00000100;
  28465. end;
  28466. function TINT_IEC1.getU1RXIE : TBits_1; inline;
  28467. begin
  28468. getU1RXIE := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  28469. end;
  28470. procedure TINT_IEC1.setU1TXIE; inline;
  28471. begin
  28472. pTDefRegMap(@Self)^.&set := $00000200;
  28473. end;
  28474. procedure TINT_IEC1.clearU1TXIE; inline;
  28475. begin
  28476. pTDefRegMap(@Self)^.clr := $00000200;
  28477. end;
  28478. procedure TINT_IEC1.setU1TXIE(thebits : TBits_1); inline;
  28479. begin
  28480. if thebits = 0 then
  28481. pTDefRegMap(@Self)^.clr := $00000200
  28482. else
  28483. pTDefRegMap(@Self)^.&set := $00000200;
  28484. end;
  28485. function TINT_IEC1.getU1TXIE : TBits_1; inline;
  28486. begin
  28487. getU1TXIE := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  28488. end;
  28489. procedure TINT_IEC1.setI2C1BIE; inline;
  28490. begin
  28491. pTDefRegMap(@Self)^.&set := $00000400;
  28492. end;
  28493. procedure TINT_IEC1.clearI2C1BIE; inline;
  28494. begin
  28495. pTDefRegMap(@Self)^.clr := $00000400;
  28496. end;
  28497. procedure TINT_IEC1.setI2C1BIE(thebits : TBits_1); inline;
  28498. begin
  28499. if thebits = 0 then
  28500. pTDefRegMap(@Self)^.clr := $00000400
  28501. else
  28502. pTDefRegMap(@Self)^.&set := $00000400;
  28503. end;
  28504. function TINT_IEC1.getI2C1BIE : TBits_1; inline;
  28505. begin
  28506. getI2C1BIE := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  28507. end;
  28508. procedure TINT_IEC1.setI2C1SIE; inline;
  28509. begin
  28510. pTDefRegMap(@Self)^.&set := $00000800;
  28511. end;
  28512. procedure TINT_IEC1.clearI2C1SIE; inline;
  28513. begin
  28514. pTDefRegMap(@Self)^.clr := $00000800;
  28515. end;
  28516. procedure TINT_IEC1.setI2C1SIE(thebits : TBits_1); inline;
  28517. begin
  28518. if thebits = 0 then
  28519. pTDefRegMap(@Self)^.clr := $00000800
  28520. else
  28521. pTDefRegMap(@Self)^.&set := $00000800;
  28522. end;
  28523. function TINT_IEC1.getI2C1SIE : TBits_1; inline;
  28524. begin
  28525. getI2C1SIE := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  28526. end;
  28527. procedure TINT_IEC1.setI2C1MIE; inline;
  28528. begin
  28529. pTDefRegMap(@Self)^.&set := $00001000;
  28530. end;
  28531. procedure TINT_IEC1.clearI2C1MIE; inline;
  28532. begin
  28533. pTDefRegMap(@Self)^.clr := $00001000;
  28534. end;
  28535. procedure TINT_IEC1.setI2C1MIE(thebits : TBits_1); inline;
  28536. begin
  28537. if thebits = 0 then
  28538. pTDefRegMap(@Self)^.clr := $00001000
  28539. else
  28540. pTDefRegMap(@Self)^.&set := $00001000;
  28541. end;
  28542. function TINT_IEC1.getI2C1MIE : TBits_1; inline;
  28543. begin
  28544. getI2C1MIE := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  28545. end;
  28546. procedure TINT_IEC1.setCNAIE; inline;
  28547. begin
  28548. pTDefRegMap(@Self)^.&set := $00002000;
  28549. end;
  28550. procedure TINT_IEC1.clearCNAIE; inline;
  28551. begin
  28552. pTDefRegMap(@Self)^.clr := $00002000;
  28553. end;
  28554. procedure TINT_IEC1.setCNAIE(thebits : TBits_1); inline;
  28555. begin
  28556. if thebits = 0 then
  28557. pTDefRegMap(@Self)^.clr := $00002000
  28558. else
  28559. pTDefRegMap(@Self)^.&set := $00002000;
  28560. end;
  28561. function TINT_IEC1.getCNAIE : TBits_1; inline;
  28562. begin
  28563. getCNAIE := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  28564. end;
  28565. procedure TINT_IEC1.setCNBIE; inline;
  28566. begin
  28567. pTDefRegMap(@Self)^.&set := $00004000;
  28568. end;
  28569. procedure TINT_IEC1.clearCNBIE; inline;
  28570. begin
  28571. pTDefRegMap(@Self)^.clr := $00004000;
  28572. end;
  28573. procedure TINT_IEC1.setCNBIE(thebits : TBits_1); inline;
  28574. begin
  28575. if thebits = 0 then
  28576. pTDefRegMap(@Self)^.clr := $00004000
  28577. else
  28578. pTDefRegMap(@Self)^.&set := $00004000;
  28579. end;
  28580. function TINT_IEC1.getCNBIE : TBits_1; inline;
  28581. begin
  28582. getCNBIE := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  28583. end;
  28584. procedure TINT_IEC1.setCNCIE; inline;
  28585. begin
  28586. pTDefRegMap(@Self)^.&set := $00008000;
  28587. end;
  28588. procedure TINT_IEC1.clearCNCIE; inline;
  28589. begin
  28590. pTDefRegMap(@Self)^.clr := $00008000;
  28591. end;
  28592. procedure TINT_IEC1.setCNCIE(thebits : TBits_1); inline;
  28593. begin
  28594. if thebits = 0 then
  28595. pTDefRegMap(@Self)^.clr := $00008000
  28596. else
  28597. pTDefRegMap(@Self)^.&set := $00008000;
  28598. end;
  28599. function TINT_IEC1.getCNCIE : TBits_1; inline;
  28600. begin
  28601. getCNCIE := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  28602. end;
  28603. procedure TINT_IEC1.setPMPIE; inline;
  28604. begin
  28605. pTDefRegMap(@Self)^.&set := $00010000;
  28606. end;
  28607. procedure TINT_IEC1.clearPMPIE; inline;
  28608. begin
  28609. pTDefRegMap(@Self)^.clr := $00010000;
  28610. end;
  28611. procedure TINT_IEC1.setPMPIE(thebits : TBits_1); inline;
  28612. begin
  28613. if thebits = 0 then
  28614. pTDefRegMap(@Self)^.clr := $00010000
  28615. else
  28616. pTDefRegMap(@Self)^.&set := $00010000;
  28617. end;
  28618. function TINT_IEC1.getPMPIE : TBits_1; inline;
  28619. begin
  28620. getPMPIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  28621. end;
  28622. procedure TINT_IEC1.setPMPEIE; inline;
  28623. begin
  28624. pTDefRegMap(@Self)^.&set := $00020000;
  28625. end;
  28626. procedure TINT_IEC1.clearPMPEIE; inline;
  28627. begin
  28628. pTDefRegMap(@Self)^.clr := $00020000;
  28629. end;
  28630. procedure TINT_IEC1.setPMPEIE(thebits : TBits_1); inline;
  28631. begin
  28632. if thebits = 0 then
  28633. pTDefRegMap(@Self)^.clr := $00020000
  28634. else
  28635. pTDefRegMap(@Self)^.&set := $00020000;
  28636. end;
  28637. function TINT_IEC1.getPMPEIE : TBits_1; inline;
  28638. begin
  28639. getPMPEIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  28640. end;
  28641. procedure TINT_IEC1.setSPI2EIE; inline;
  28642. begin
  28643. pTDefRegMap(@Self)^.&set := $00040000;
  28644. end;
  28645. procedure TINT_IEC1.clearSPI2EIE; inline;
  28646. begin
  28647. pTDefRegMap(@Self)^.clr := $00040000;
  28648. end;
  28649. procedure TINT_IEC1.setSPI2EIE(thebits : TBits_1); inline;
  28650. begin
  28651. if thebits = 0 then
  28652. pTDefRegMap(@Self)^.clr := $00040000
  28653. else
  28654. pTDefRegMap(@Self)^.&set := $00040000;
  28655. end;
  28656. function TINT_IEC1.getSPI2EIE : TBits_1; inline;
  28657. begin
  28658. getSPI2EIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  28659. end;
  28660. procedure TINT_IEC1.setSPI2RXIE; inline;
  28661. begin
  28662. pTDefRegMap(@Self)^.&set := $00080000;
  28663. end;
  28664. procedure TINT_IEC1.clearSPI2RXIE; inline;
  28665. begin
  28666. pTDefRegMap(@Self)^.clr := $00080000;
  28667. end;
  28668. procedure TINT_IEC1.setSPI2RXIE(thebits : TBits_1); inline;
  28669. begin
  28670. if thebits = 0 then
  28671. pTDefRegMap(@Self)^.clr := $00080000
  28672. else
  28673. pTDefRegMap(@Self)^.&set := $00080000;
  28674. end;
  28675. function TINT_IEC1.getSPI2RXIE : TBits_1; inline;
  28676. begin
  28677. getSPI2RXIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  28678. end;
  28679. procedure TINT_IEC1.setSPI2TXIE; inline;
  28680. begin
  28681. pTDefRegMap(@Self)^.&set := $00100000;
  28682. end;
  28683. procedure TINT_IEC1.clearSPI2TXIE; inline;
  28684. begin
  28685. pTDefRegMap(@Self)^.clr := $00100000;
  28686. end;
  28687. procedure TINT_IEC1.setSPI2TXIE(thebits : TBits_1); inline;
  28688. begin
  28689. if thebits = 0 then
  28690. pTDefRegMap(@Self)^.clr := $00100000
  28691. else
  28692. pTDefRegMap(@Self)^.&set := $00100000;
  28693. end;
  28694. function TINT_IEC1.getSPI2TXIE : TBits_1; inline;
  28695. begin
  28696. getSPI2TXIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  28697. end;
  28698. procedure TINT_IEC1.setU2EIE; inline;
  28699. begin
  28700. pTDefRegMap(@Self)^.&set := $00200000;
  28701. end;
  28702. procedure TINT_IEC1.clearU2EIE; inline;
  28703. begin
  28704. pTDefRegMap(@Self)^.clr := $00200000;
  28705. end;
  28706. procedure TINT_IEC1.setU2EIE(thebits : TBits_1); inline;
  28707. begin
  28708. if thebits = 0 then
  28709. pTDefRegMap(@Self)^.clr := $00200000
  28710. else
  28711. pTDefRegMap(@Self)^.&set := $00200000;
  28712. end;
  28713. function TINT_IEC1.getU2EIE : TBits_1; inline;
  28714. begin
  28715. getU2EIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  28716. end;
  28717. procedure TINT_IEC1.setU2RXIE; inline;
  28718. begin
  28719. pTDefRegMap(@Self)^.&set := $00400000;
  28720. end;
  28721. procedure TINT_IEC1.clearU2RXIE; inline;
  28722. begin
  28723. pTDefRegMap(@Self)^.clr := $00400000;
  28724. end;
  28725. procedure TINT_IEC1.setU2RXIE(thebits : TBits_1); inline;
  28726. begin
  28727. if thebits = 0 then
  28728. pTDefRegMap(@Self)^.clr := $00400000
  28729. else
  28730. pTDefRegMap(@Self)^.&set := $00400000;
  28731. end;
  28732. function TINT_IEC1.getU2RXIE : TBits_1; inline;
  28733. begin
  28734. getU2RXIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  28735. end;
  28736. procedure TINT_IEC1.setU2TXIE; inline;
  28737. begin
  28738. pTDefRegMap(@Self)^.&set := $00800000;
  28739. end;
  28740. procedure TINT_IEC1.clearU2TXIE; inline;
  28741. begin
  28742. pTDefRegMap(@Self)^.clr := $00800000;
  28743. end;
  28744. procedure TINT_IEC1.setU2TXIE(thebits : TBits_1); inline;
  28745. begin
  28746. if thebits = 0 then
  28747. pTDefRegMap(@Self)^.clr := $00800000
  28748. else
  28749. pTDefRegMap(@Self)^.&set := $00800000;
  28750. end;
  28751. function TINT_IEC1.getU2TXIE : TBits_1; inline;
  28752. begin
  28753. getU2TXIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  28754. end;
  28755. procedure TINT_IEC1.setI2C2BIE; inline;
  28756. begin
  28757. pTDefRegMap(@Self)^.&set := $01000000;
  28758. end;
  28759. procedure TINT_IEC1.clearI2C2BIE; inline;
  28760. begin
  28761. pTDefRegMap(@Self)^.clr := $01000000;
  28762. end;
  28763. procedure TINT_IEC1.setI2C2BIE(thebits : TBits_1); inline;
  28764. begin
  28765. if thebits = 0 then
  28766. pTDefRegMap(@Self)^.clr := $01000000
  28767. else
  28768. pTDefRegMap(@Self)^.&set := $01000000;
  28769. end;
  28770. function TINT_IEC1.getI2C2BIE : TBits_1; inline;
  28771. begin
  28772. getI2C2BIE := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  28773. end;
  28774. procedure TINT_IEC1.setI2C2SIE; inline;
  28775. begin
  28776. pTDefRegMap(@Self)^.&set := $02000000;
  28777. end;
  28778. procedure TINT_IEC1.clearI2C2SIE; inline;
  28779. begin
  28780. pTDefRegMap(@Self)^.clr := $02000000;
  28781. end;
  28782. procedure TINT_IEC1.setI2C2SIE(thebits : TBits_1); inline;
  28783. begin
  28784. if thebits = 0 then
  28785. pTDefRegMap(@Self)^.clr := $02000000
  28786. else
  28787. pTDefRegMap(@Self)^.&set := $02000000;
  28788. end;
  28789. function TINT_IEC1.getI2C2SIE : TBits_1; inline;
  28790. begin
  28791. getI2C2SIE := (pTDefRegMap(@Self)^.val and $02000000) shr 25;
  28792. end;
  28793. procedure TINT_IEC1.setI2C2MIE; inline;
  28794. begin
  28795. pTDefRegMap(@Self)^.&set := $04000000;
  28796. end;
  28797. procedure TINT_IEC1.clearI2C2MIE; inline;
  28798. begin
  28799. pTDefRegMap(@Self)^.clr := $04000000;
  28800. end;
  28801. procedure TINT_IEC1.setI2C2MIE(thebits : TBits_1); inline;
  28802. begin
  28803. if thebits = 0 then
  28804. pTDefRegMap(@Self)^.clr := $04000000
  28805. else
  28806. pTDefRegMap(@Self)^.&set := $04000000;
  28807. end;
  28808. function TINT_IEC1.getI2C2MIE : TBits_1; inline;
  28809. begin
  28810. getI2C2MIE := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  28811. end;
  28812. procedure TINT_IEC1.setCTMUIE; inline;
  28813. begin
  28814. pTDefRegMap(@Self)^.&set := $08000000;
  28815. end;
  28816. procedure TINT_IEC1.clearCTMUIE; inline;
  28817. begin
  28818. pTDefRegMap(@Self)^.clr := $08000000;
  28819. end;
  28820. procedure TINT_IEC1.setCTMUIE(thebits : TBits_1); inline;
  28821. begin
  28822. if thebits = 0 then
  28823. pTDefRegMap(@Self)^.clr := $08000000
  28824. else
  28825. pTDefRegMap(@Self)^.&set := $08000000;
  28826. end;
  28827. function TINT_IEC1.getCTMUIE : TBits_1; inline;
  28828. begin
  28829. getCTMUIE := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  28830. end;
  28831. procedure TINT_IEC1.setDMA0IE; inline;
  28832. begin
  28833. pTDefRegMap(@Self)^.&set := $10000000;
  28834. end;
  28835. procedure TINT_IEC1.clearDMA0IE; inline;
  28836. begin
  28837. pTDefRegMap(@Self)^.clr := $10000000;
  28838. end;
  28839. procedure TINT_IEC1.setDMA0IE(thebits : TBits_1); inline;
  28840. begin
  28841. if thebits = 0 then
  28842. pTDefRegMap(@Self)^.clr := $10000000
  28843. else
  28844. pTDefRegMap(@Self)^.&set := $10000000;
  28845. end;
  28846. function TINT_IEC1.getDMA0IE : TBits_1; inline;
  28847. begin
  28848. getDMA0IE := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  28849. end;
  28850. procedure TINT_IEC1.setDMA1IE; inline;
  28851. begin
  28852. pTDefRegMap(@Self)^.&set := $20000000;
  28853. end;
  28854. procedure TINT_IEC1.clearDMA1IE; inline;
  28855. begin
  28856. pTDefRegMap(@Self)^.clr := $20000000;
  28857. end;
  28858. procedure TINT_IEC1.setDMA1IE(thebits : TBits_1); inline;
  28859. begin
  28860. if thebits = 0 then
  28861. pTDefRegMap(@Self)^.clr := $20000000
  28862. else
  28863. pTDefRegMap(@Self)^.&set := $20000000;
  28864. end;
  28865. function TINT_IEC1.getDMA1IE : TBits_1; inline;
  28866. begin
  28867. getDMA1IE := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  28868. end;
  28869. procedure TINT_IEC1.setDMA2IE; inline;
  28870. begin
  28871. pTDefRegMap(@Self)^.&set := $40000000;
  28872. end;
  28873. procedure TINT_IEC1.clearDMA2IE; inline;
  28874. begin
  28875. pTDefRegMap(@Self)^.clr := $40000000;
  28876. end;
  28877. procedure TINT_IEC1.setDMA2IE(thebits : TBits_1); inline;
  28878. begin
  28879. if thebits = 0 then
  28880. pTDefRegMap(@Self)^.clr := $40000000
  28881. else
  28882. pTDefRegMap(@Self)^.&set := $40000000;
  28883. end;
  28884. function TINT_IEC1.getDMA2IE : TBits_1; inline;
  28885. begin
  28886. getDMA2IE := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  28887. end;
  28888. procedure TINT_IEC1.setDMA3IE; inline;
  28889. begin
  28890. pTDefRegMap(@Self)^.&set := $80000000;
  28891. end;
  28892. procedure TINT_IEC1.clearDMA3IE; inline;
  28893. begin
  28894. pTDefRegMap(@Self)^.clr := $80000000;
  28895. end;
  28896. procedure TINT_IEC1.setDMA3IE(thebits : TBits_1); inline;
  28897. begin
  28898. if thebits = 0 then
  28899. pTDefRegMap(@Self)^.clr := $80000000
  28900. else
  28901. pTDefRegMap(@Self)^.&set := $80000000;
  28902. end;
  28903. function TINT_IEC1.getDMA3IE : TBits_1; inline;
  28904. begin
  28905. getDMA3IE := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  28906. end;
  28907. procedure TINT_IEC1.setw(thebits : TBits_32); inline;
  28908. begin
  28909. pTDefRegMap(@Self)^.val := thebits;
  28910. end;
  28911. function TINT_IEC1.getw : TBits_32; inline;
  28912. begin
  28913. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28914. end;
  28915. procedure TINT_IPC0.setCTIS(thebits : TBits_2); inline;
  28916. begin
  28917. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28918. end;
  28919. function TINT_IPC0.getCTIS : TBits_2; inline;
  28920. begin
  28921. getCTIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28922. end;
  28923. procedure TINT_IPC0.setCTIP(thebits : TBits_3); inline;
  28924. begin
  28925. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28926. end;
  28927. function TINT_IPC0.getCTIP : TBits_3; inline;
  28928. begin
  28929. getCTIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  28930. end;
  28931. procedure TINT_IPC0.setCS0IS(thebits : TBits_2); inline;
  28932. begin
  28933. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  28934. end;
  28935. function TINT_IPC0.getCS0IS : TBits_2; inline;
  28936. begin
  28937. getCS0IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  28938. end;
  28939. procedure TINT_IPC0.setCS0IP(thebits : TBits_3); inline;
  28940. begin
  28941. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  28942. end;
  28943. function TINT_IPC0.getCS0IP : TBits_3; inline;
  28944. begin
  28945. getCS0IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  28946. end;
  28947. procedure TINT_IPC0.setCS1IS(thebits : TBits_2); inline;
  28948. begin
  28949. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  28950. end;
  28951. function TINT_IPC0.getCS1IS : TBits_2; inline;
  28952. begin
  28953. getCS1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  28954. end;
  28955. procedure TINT_IPC0.setCS1IP(thebits : TBits_3); inline;
  28956. begin
  28957. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  28958. end;
  28959. function TINT_IPC0.getCS1IP : TBits_3; inline;
  28960. begin
  28961. getCS1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  28962. end;
  28963. procedure TINT_IPC0.setINT0IS(thebits : TBits_2); inline;
  28964. begin
  28965. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  28966. end;
  28967. function TINT_IPC0.getINT0IS : TBits_2; inline;
  28968. begin
  28969. getINT0IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  28970. end;
  28971. procedure TINT_IPC0.setINT0IP(thebits : TBits_3); inline;
  28972. begin
  28973. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  28974. end;
  28975. function TINT_IPC0.getINT0IP : TBits_3; inline;
  28976. begin
  28977. getINT0IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  28978. end;
  28979. procedure TINT_IPC0.setw(thebits : TBits_32); inline;
  28980. begin
  28981. pTDefRegMap(@Self)^.val := thebits;
  28982. end;
  28983. function TINT_IPC0.getw : TBits_32; inline;
  28984. begin
  28985. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  28986. end;
  28987. procedure TINT_IPC1.setT1IS(thebits : TBits_2); inline;
  28988. begin
  28989. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  28990. end;
  28991. function TINT_IPC1.getT1IS : TBits_2; inline;
  28992. begin
  28993. getT1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  28994. end;
  28995. procedure TINT_IPC1.setT1IP(thebits : TBits_3); inline;
  28996. begin
  28997. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  28998. end;
  28999. function TINT_IPC1.getT1IP : TBits_3; inline;
  29000. begin
  29001. getT1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29002. end;
  29003. procedure TINT_IPC1.setIC1IS(thebits : TBits_2); inline;
  29004. begin
  29005. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29006. end;
  29007. function TINT_IPC1.getIC1IS : TBits_2; inline;
  29008. begin
  29009. getIC1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29010. end;
  29011. procedure TINT_IPC1.setIC1IP(thebits : TBits_3); inline;
  29012. begin
  29013. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29014. end;
  29015. function TINT_IPC1.getIC1IP : TBits_3; inline;
  29016. begin
  29017. getIC1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29018. end;
  29019. procedure TINT_IPC1.setOC1IS(thebits : TBits_2); inline;
  29020. begin
  29021. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29022. end;
  29023. function TINT_IPC1.getOC1IS : TBits_2; inline;
  29024. begin
  29025. getOC1IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29026. end;
  29027. procedure TINT_IPC1.setOC1IP(thebits : TBits_3); inline;
  29028. begin
  29029. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29030. end;
  29031. function TINT_IPC1.getOC1IP : TBits_3; inline;
  29032. begin
  29033. getOC1IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29034. end;
  29035. procedure TINT_IPC1.setINT1IS(thebits : TBits_2); inline;
  29036. begin
  29037. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29038. end;
  29039. function TINT_IPC1.getINT1IS : TBits_2; inline;
  29040. begin
  29041. getINT1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29042. end;
  29043. procedure TINT_IPC1.setINT1IP(thebits : TBits_3); inline;
  29044. begin
  29045. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29046. end;
  29047. function TINT_IPC1.getINT1IP : TBits_3; inline;
  29048. begin
  29049. getINT1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29050. end;
  29051. procedure TINT_IPC1.setw(thebits : TBits_32); inline;
  29052. begin
  29053. pTDefRegMap(@Self)^.val := thebits;
  29054. end;
  29055. function TINT_IPC1.getw : TBits_32; inline;
  29056. begin
  29057. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29058. end;
  29059. procedure TINT_IPC2.setT2IS(thebits : TBits_2); inline;
  29060. begin
  29061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29062. end;
  29063. function TINT_IPC2.getT2IS : TBits_2; inline;
  29064. begin
  29065. getT2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29066. end;
  29067. procedure TINT_IPC2.setT2IP(thebits : TBits_3); inline;
  29068. begin
  29069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29070. end;
  29071. function TINT_IPC2.getT2IP : TBits_3; inline;
  29072. begin
  29073. getT2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29074. end;
  29075. procedure TINT_IPC2.setIC2IS(thebits : TBits_2); inline;
  29076. begin
  29077. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29078. end;
  29079. function TINT_IPC2.getIC2IS : TBits_2; inline;
  29080. begin
  29081. getIC2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29082. end;
  29083. procedure TINT_IPC2.setIC2IP(thebits : TBits_3); inline;
  29084. begin
  29085. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29086. end;
  29087. function TINT_IPC2.getIC2IP : TBits_3; inline;
  29088. begin
  29089. getIC2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29090. end;
  29091. procedure TINT_IPC2.setOC2IS(thebits : TBits_2); inline;
  29092. begin
  29093. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29094. end;
  29095. function TINT_IPC2.getOC2IS : TBits_2; inline;
  29096. begin
  29097. getOC2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29098. end;
  29099. procedure TINT_IPC2.setOC2IP(thebits : TBits_3); inline;
  29100. begin
  29101. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29102. end;
  29103. function TINT_IPC2.getOC2IP : TBits_3; inline;
  29104. begin
  29105. getOC2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29106. end;
  29107. procedure TINT_IPC2.setINT2IS(thebits : TBits_2); inline;
  29108. begin
  29109. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29110. end;
  29111. function TINT_IPC2.getINT2IS : TBits_2; inline;
  29112. begin
  29113. getINT2IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29114. end;
  29115. procedure TINT_IPC2.setINT2IP(thebits : TBits_3); inline;
  29116. begin
  29117. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29118. end;
  29119. function TINT_IPC2.getINT2IP : TBits_3; inline;
  29120. begin
  29121. getINT2IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29122. end;
  29123. procedure TINT_IPC2.setw(thebits : TBits_32); inline;
  29124. begin
  29125. pTDefRegMap(@Self)^.val := thebits;
  29126. end;
  29127. function TINT_IPC2.getw : TBits_32; inline;
  29128. begin
  29129. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29130. end;
  29131. procedure TINT_IPC3.setT3IS(thebits : TBits_2); inline;
  29132. begin
  29133. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29134. end;
  29135. function TINT_IPC3.getT3IS : TBits_2; inline;
  29136. begin
  29137. getT3IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29138. end;
  29139. procedure TINT_IPC3.setT3IP(thebits : TBits_3); inline;
  29140. begin
  29141. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29142. end;
  29143. function TINT_IPC3.getT3IP : TBits_3; inline;
  29144. begin
  29145. getT3IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29146. end;
  29147. procedure TINT_IPC3.setIC3IS(thebits : TBits_2); inline;
  29148. begin
  29149. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29150. end;
  29151. function TINT_IPC3.getIC3IS : TBits_2; inline;
  29152. begin
  29153. getIC3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29154. end;
  29155. procedure TINT_IPC3.setIC3IP(thebits : TBits_3); inline;
  29156. begin
  29157. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29158. end;
  29159. function TINT_IPC3.getIC3IP : TBits_3; inline;
  29160. begin
  29161. getIC3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29162. end;
  29163. procedure TINT_IPC3.setOC3IS(thebits : TBits_2); inline;
  29164. begin
  29165. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29166. end;
  29167. function TINT_IPC3.getOC3IS : TBits_2; inline;
  29168. begin
  29169. getOC3IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29170. end;
  29171. procedure TINT_IPC3.setOC3IP(thebits : TBits_3); inline;
  29172. begin
  29173. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29174. end;
  29175. function TINT_IPC3.getOC3IP : TBits_3; inline;
  29176. begin
  29177. getOC3IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29178. end;
  29179. procedure TINT_IPC3.setINT3IS(thebits : TBits_2); inline;
  29180. begin
  29181. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29182. end;
  29183. function TINT_IPC3.getINT3IS : TBits_2; inline;
  29184. begin
  29185. getINT3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29186. end;
  29187. procedure TINT_IPC3.setINT3IP(thebits : TBits_3); inline;
  29188. begin
  29189. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29190. end;
  29191. function TINT_IPC3.getINT3IP : TBits_3; inline;
  29192. begin
  29193. getINT3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29194. end;
  29195. procedure TINT_IPC3.setw(thebits : TBits_32); inline;
  29196. begin
  29197. pTDefRegMap(@Self)^.val := thebits;
  29198. end;
  29199. function TINT_IPC3.getw : TBits_32; inline;
  29200. begin
  29201. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29202. end;
  29203. procedure TINT_IPC4.setT4IS(thebits : TBits_2); inline;
  29204. begin
  29205. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29206. end;
  29207. function TINT_IPC4.getT4IS : TBits_2; inline;
  29208. begin
  29209. getT4IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29210. end;
  29211. procedure TINT_IPC4.setT4IP(thebits : TBits_3); inline;
  29212. begin
  29213. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29214. end;
  29215. function TINT_IPC4.getT4IP : TBits_3; inline;
  29216. begin
  29217. getT4IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29218. end;
  29219. procedure TINT_IPC4.setIC4IS(thebits : TBits_2); inline;
  29220. begin
  29221. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29222. end;
  29223. function TINT_IPC4.getIC4IS : TBits_2; inline;
  29224. begin
  29225. getIC4IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29226. end;
  29227. procedure TINT_IPC4.setIC4IP(thebits : TBits_3); inline;
  29228. begin
  29229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29230. end;
  29231. function TINT_IPC4.getIC4IP : TBits_3; inline;
  29232. begin
  29233. getIC4IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29234. end;
  29235. procedure TINT_IPC4.setOC4IS(thebits : TBits_2); inline;
  29236. begin
  29237. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29238. end;
  29239. function TINT_IPC4.getOC4IS : TBits_2; inline;
  29240. begin
  29241. getOC4IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29242. end;
  29243. procedure TINT_IPC4.setOC4IP(thebits : TBits_3); inline;
  29244. begin
  29245. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29246. end;
  29247. function TINT_IPC4.getOC4IP : TBits_3; inline;
  29248. begin
  29249. getOC4IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29250. end;
  29251. procedure TINT_IPC4.setINT4IS(thebits : TBits_2); inline;
  29252. begin
  29253. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29254. end;
  29255. function TINT_IPC4.getINT4IS : TBits_2; inline;
  29256. begin
  29257. getINT4IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29258. end;
  29259. procedure TINT_IPC4.setINT4IP(thebits : TBits_3); inline;
  29260. begin
  29261. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29262. end;
  29263. function TINT_IPC4.getINT4IP : TBits_3; inline;
  29264. begin
  29265. getINT4IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29266. end;
  29267. procedure TINT_IPC4.setw(thebits : TBits_32); inline;
  29268. begin
  29269. pTDefRegMap(@Self)^.val := thebits;
  29270. end;
  29271. function TINT_IPC4.getw : TBits_32; inline;
  29272. begin
  29273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29274. end;
  29275. procedure TINT_IPC5.setT5IS(thebits : TBits_2); inline;
  29276. begin
  29277. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29278. end;
  29279. function TINT_IPC5.getT5IS : TBits_2; inline;
  29280. begin
  29281. getT5IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29282. end;
  29283. procedure TINT_IPC5.setT5IP(thebits : TBits_3); inline;
  29284. begin
  29285. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29286. end;
  29287. function TINT_IPC5.getT5IP : TBits_3; inline;
  29288. begin
  29289. getT5IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29290. end;
  29291. procedure TINT_IPC5.setIC5IS(thebits : TBits_2); inline;
  29292. begin
  29293. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29294. end;
  29295. function TINT_IPC5.getIC5IS : TBits_2; inline;
  29296. begin
  29297. getIC5IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29298. end;
  29299. procedure TINT_IPC5.setIC5IP(thebits : TBits_3); inline;
  29300. begin
  29301. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29302. end;
  29303. function TINT_IPC5.getIC5IP : TBits_3; inline;
  29304. begin
  29305. getIC5IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29306. end;
  29307. procedure TINT_IPC5.setOC5IS(thebits : TBits_2); inline;
  29308. begin
  29309. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29310. end;
  29311. function TINT_IPC5.getOC5IS : TBits_2; inline;
  29312. begin
  29313. getOC5IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29314. end;
  29315. procedure TINT_IPC5.setOC5IP(thebits : TBits_3); inline;
  29316. begin
  29317. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29318. end;
  29319. function TINT_IPC5.getOC5IP : TBits_3; inline;
  29320. begin
  29321. getOC5IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29322. end;
  29323. procedure TINT_IPC5.setAD1IS(thebits : TBits_2); inline;
  29324. begin
  29325. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29326. end;
  29327. function TINT_IPC5.getAD1IS : TBits_2; inline;
  29328. begin
  29329. getAD1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29330. end;
  29331. procedure TINT_IPC5.setAD1IP(thebits : TBits_3); inline;
  29332. begin
  29333. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29334. end;
  29335. function TINT_IPC5.getAD1IP : TBits_3; inline;
  29336. begin
  29337. getAD1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29338. end;
  29339. procedure TINT_IPC5.setw(thebits : TBits_32); inline;
  29340. begin
  29341. pTDefRegMap(@Self)^.val := thebits;
  29342. end;
  29343. function TINT_IPC5.getw : TBits_32; inline;
  29344. begin
  29345. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29346. end;
  29347. procedure TINT_IPC6.setFSCMIS(thebits : TBits_2); inline;
  29348. begin
  29349. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29350. end;
  29351. function TINT_IPC6.getFSCMIS : TBits_2; inline;
  29352. begin
  29353. getFSCMIS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29354. end;
  29355. procedure TINT_IPC6.setFSCMIP(thebits : TBits_3); inline;
  29356. begin
  29357. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29358. end;
  29359. function TINT_IPC6.getFSCMIP : TBits_3; inline;
  29360. begin
  29361. getFSCMIP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29362. end;
  29363. procedure TINT_IPC6.setRTCCIS(thebits : TBits_2); inline;
  29364. begin
  29365. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29366. end;
  29367. function TINT_IPC6.getRTCCIS : TBits_2; inline;
  29368. begin
  29369. getRTCCIS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29370. end;
  29371. procedure TINT_IPC6.setRTCCIP(thebits : TBits_3); inline;
  29372. begin
  29373. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29374. end;
  29375. function TINT_IPC6.getRTCCIP : TBits_3; inline;
  29376. begin
  29377. getRTCCIP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29378. end;
  29379. procedure TINT_IPC6.setFCEIS(thebits : TBits_2); inline;
  29380. begin
  29381. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29382. end;
  29383. function TINT_IPC6.getFCEIS : TBits_2; inline;
  29384. begin
  29385. getFCEIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29386. end;
  29387. procedure TINT_IPC6.setFCEIP(thebits : TBits_3); inline;
  29388. begin
  29389. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29390. end;
  29391. function TINT_IPC6.getFCEIP : TBits_3; inline;
  29392. begin
  29393. getFCEIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29394. end;
  29395. procedure TINT_IPC6.setCMP1IS(thebits : TBits_2); inline;
  29396. begin
  29397. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29398. end;
  29399. function TINT_IPC6.getCMP1IS : TBits_2; inline;
  29400. begin
  29401. getCMP1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29402. end;
  29403. procedure TINT_IPC6.setCMP1IP(thebits : TBits_3); inline;
  29404. begin
  29405. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29406. end;
  29407. function TINT_IPC6.getCMP1IP : TBits_3; inline;
  29408. begin
  29409. getCMP1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29410. end;
  29411. procedure TINT_IPC6.setw(thebits : TBits_32); inline;
  29412. begin
  29413. pTDefRegMap(@Self)^.val := thebits;
  29414. end;
  29415. function TINT_IPC6.getw : TBits_32; inline;
  29416. begin
  29417. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29418. end;
  29419. procedure TINT_IPC7.setCMP2IS(thebits : TBits_2); inline;
  29420. begin
  29421. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29422. end;
  29423. function TINT_IPC7.getCMP2IS : TBits_2; inline;
  29424. begin
  29425. getCMP2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29426. end;
  29427. procedure TINT_IPC7.setCMP2IP(thebits : TBits_3); inline;
  29428. begin
  29429. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29430. end;
  29431. function TINT_IPC7.getCMP2IP : TBits_3; inline;
  29432. begin
  29433. getCMP2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29434. end;
  29435. procedure TINT_IPC7.setCMP3IS(thebits : TBits_2); inline;
  29436. begin
  29437. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29438. end;
  29439. function TINT_IPC7.getCMP3IS : TBits_2; inline;
  29440. begin
  29441. getCMP3IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29442. end;
  29443. procedure TINT_IPC7.setCMP3IP(thebits : TBits_3); inline;
  29444. begin
  29445. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29446. end;
  29447. function TINT_IPC7.getCMP3IP : TBits_3; inline;
  29448. begin
  29449. getCMP3IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29450. end;
  29451. procedure TINT_IPC7.setSPI1IS(thebits : TBits_2); inline;
  29452. begin
  29453. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29454. end;
  29455. function TINT_IPC7.getSPI1IS : TBits_2; inline;
  29456. begin
  29457. getSPI1IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29458. end;
  29459. procedure TINT_IPC7.setSPI1IP(thebits : TBits_3); inline;
  29460. begin
  29461. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29462. end;
  29463. function TINT_IPC7.getSPI1IP : TBits_3; inline;
  29464. begin
  29465. getSPI1IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29466. end;
  29467. procedure TINT_IPC7.setw(thebits : TBits_32); inline;
  29468. begin
  29469. pTDefRegMap(@Self)^.val := thebits;
  29470. end;
  29471. function TINT_IPC7.getw : TBits_32; inline;
  29472. begin
  29473. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29474. end;
  29475. procedure TINT_IPC8.setU1IS(thebits : TBits_2); inline;
  29476. begin
  29477. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29478. end;
  29479. function TINT_IPC8.getU1IS : TBits_2; inline;
  29480. begin
  29481. getU1IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29482. end;
  29483. procedure TINT_IPC8.setU1IP(thebits : TBits_3); inline;
  29484. begin
  29485. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29486. end;
  29487. function TINT_IPC8.getU1IP : TBits_3; inline;
  29488. begin
  29489. getU1IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29490. end;
  29491. procedure TINT_IPC8.setI2C1IS(thebits : TBits_2); inline;
  29492. begin
  29493. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29494. end;
  29495. function TINT_IPC8.getI2C1IS : TBits_2; inline;
  29496. begin
  29497. getI2C1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29498. end;
  29499. procedure TINT_IPC8.setI2C1IP(thebits : TBits_3); inline;
  29500. begin
  29501. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29502. end;
  29503. function TINT_IPC8.getI2C1IP : TBits_3; inline;
  29504. begin
  29505. getI2C1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29506. end;
  29507. procedure TINT_IPC8.setCNIS(thebits : TBits_2); inline;
  29508. begin
  29509. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29510. end;
  29511. function TINT_IPC8.getCNIS : TBits_2; inline;
  29512. begin
  29513. getCNIS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29514. end;
  29515. procedure TINT_IPC8.setCNIP(thebits : TBits_3); inline;
  29516. begin
  29517. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29518. end;
  29519. function TINT_IPC8.getCNIP : TBits_3; inline;
  29520. begin
  29521. getCNIP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29522. end;
  29523. procedure TINT_IPC8.setPMPIS(thebits : TBits_2); inline;
  29524. begin
  29525. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29526. end;
  29527. function TINT_IPC8.getPMPIS : TBits_2; inline;
  29528. begin
  29529. getPMPIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29530. end;
  29531. procedure TINT_IPC8.setPMPIP(thebits : TBits_3); inline;
  29532. begin
  29533. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29534. end;
  29535. function TINT_IPC8.getPMPIP : TBits_3; inline;
  29536. begin
  29537. getPMPIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29538. end;
  29539. procedure TINT_IPC8.setw(thebits : TBits_32); inline;
  29540. begin
  29541. pTDefRegMap(@Self)^.val := thebits;
  29542. end;
  29543. function TINT_IPC8.getw : TBits_32; inline;
  29544. begin
  29545. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29546. end;
  29547. procedure TINT_IPC9.setSPI2IS(thebits : TBits_2); inline;
  29548. begin
  29549. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29550. end;
  29551. function TINT_IPC9.getSPI2IS : TBits_2; inline;
  29552. begin
  29553. getSPI2IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29554. end;
  29555. procedure TINT_IPC9.setSPI2IP(thebits : TBits_3); inline;
  29556. begin
  29557. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29558. end;
  29559. function TINT_IPC9.getSPI2IP : TBits_3; inline;
  29560. begin
  29561. getSPI2IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29562. end;
  29563. procedure TINT_IPC9.setU2IS(thebits : TBits_2); inline;
  29564. begin
  29565. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29566. end;
  29567. function TINT_IPC9.getU2IS : TBits_2; inline;
  29568. begin
  29569. getU2IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29570. end;
  29571. procedure TINT_IPC9.setU2IP(thebits : TBits_3); inline;
  29572. begin
  29573. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29574. end;
  29575. function TINT_IPC9.getU2IP : TBits_3; inline;
  29576. begin
  29577. getU2IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29578. end;
  29579. procedure TINT_IPC9.setI2C2IS(thebits : TBits_2); inline;
  29580. begin
  29581. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29582. end;
  29583. function TINT_IPC9.getI2C2IS : TBits_2; inline;
  29584. begin
  29585. getI2C2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29586. end;
  29587. procedure TINT_IPC9.setI2C2IP(thebits : TBits_3); inline;
  29588. begin
  29589. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29590. end;
  29591. function TINT_IPC9.getI2C2IP : TBits_3; inline;
  29592. begin
  29593. getI2C2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29594. end;
  29595. procedure TINT_IPC9.setCTMUIS(thebits : TBits_2); inline;
  29596. begin
  29597. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29598. end;
  29599. function TINT_IPC9.getCTMUIS : TBits_2; inline;
  29600. begin
  29601. getCTMUIS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29602. end;
  29603. procedure TINT_IPC9.setCTMUIP(thebits : TBits_3); inline;
  29604. begin
  29605. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29606. end;
  29607. function TINT_IPC9.getCTMUIP : TBits_3; inline;
  29608. begin
  29609. getCTMUIP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29610. end;
  29611. procedure TINT_IPC9.setw(thebits : TBits_32); inline;
  29612. begin
  29613. pTDefRegMap(@Self)^.val := thebits;
  29614. end;
  29615. function TINT_IPC9.getw : TBits_32; inline;
  29616. begin
  29617. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29618. end;
  29619. procedure TINT_IPC10.setDMA0IS(thebits : TBits_2); inline;
  29620. begin
  29621. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  29622. end;
  29623. function TINT_IPC10.getDMA0IS : TBits_2; inline;
  29624. begin
  29625. getDMA0IS := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  29626. end;
  29627. procedure TINT_IPC10.setDMA0IP(thebits : TBits_3); inline;
  29628. begin
  29629. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE3 or ( thebits shl 2 );
  29630. end;
  29631. function TINT_IPC10.getDMA0IP : TBits_3; inline;
  29632. begin
  29633. getDMA0IP := (pTDefRegMap(@Self)^.val and $0000001C) shr 2;
  29634. end;
  29635. procedure TINT_IPC10.setDMA1IS(thebits : TBits_2); inline;
  29636. begin
  29637. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  29638. end;
  29639. function TINT_IPC10.getDMA1IS : TBits_2; inline;
  29640. begin
  29641. getDMA1IS := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  29642. end;
  29643. procedure TINT_IPC10.setDMA1IP(thebits : TBits_3); inline;
  29644. begin
  29645. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE3FF or ( thebits shl 10 );
  29646. end;
  29647. function TINT_IPC10.getDMA1IP : TBits_3; inline;
  29648. begin
  29649. getDMA1IP := (pTDefRegMap(@Self)^.val and $00001C00) shr 10;
  29650. end;
  29651. procedure TINT_IPC10.setDMA2IS(thebits : TBits_2); inline;
  29652. begin
  29653. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFCFFFF or ( thebits shl 16 );
  29654. end;
  29655. function TINT_IPC10.getDMA2IS : TBits_2; inline;
  29656. begin
  29657. getDMA2IS := (pTDefRegMap(@Self)^.val and $00030000) shr 16;
  29658. end;
  29659. procedure TINT_IPC10.setDMA2IP(thebits : TBits_3); inline;
  29660. begin
  29661. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE3FFFF or ( thebits shl 18 );
  29662. end;
  29663. function TINT_IPC10.getDMA2IP : TBits_3; inline;
  29664. begin
  29665. getDMA2IP := (pTDefRegMap(@Self)^.val and $001C0000) shr 18;
  29666. end;
  29667. procedure TINT_IPC10.setDMA3IS(thebits : TBits_2); inline;
  29668. begin
  29669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  29670. end;
  29671. function TINT_IPC10.getDMA3IS : TBits_2; inline;
  29672. begin
  29673. getDMA3IS := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  29674. end;
  29675. procedure TINT_IPC10.setDMA3IP(thebits : TBits_3); inline;
  29676. begin
  29677. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $E3FFFFFF or ( thebits shl 26 );
  29678. end;
  29679. function TINT_IPC10.getDMA3IP : TBits_3; inline;
  29680. begin
  29681. getDMA3IP := (pTDefRegMap(@Self)^.val and $1C000000) shr 26;
  29682. end;
  29683. procedure TINT_IPC10.setw(thebits : TBits_32); inline;
  29684. begin
  29685. pTDefRegMap(@Self)^.val := thebits;
  29686. end;
  29687. function TINT_IPC10.getw : TBits_32; inline;
  29688. begin
  29689. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29690. end;
  29691. procedure TBMX_BMXCON.setBMXARB(thebits : TBits_3); inline;
  29692. begin
  29693. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29694. end;
  29695. function TBMX_BMXCON.getBMXARB : TBits_3; inline;
  29696. begin
  29697. getBMXARB := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29698. end;
  29699. procedure TBMX_BMXCON.setBMXWSDRM; inline;
  29700. begin
  29701. pTDefRegMap(@Self)^.&set := $00000040;
  29702. end;
  29703. procedure TBMX_BMXCON.clearBMXWSDRM; inline;
  29704. begin
  29705. pTDefRegMap(@Self)^.clr := $00000040;
  29706. end;
  29707. procedure TBMX_BMXCON.setBMXWSDRM(thebits : TBits_1); inline;
  29708. begin
  29709. if thebits = 0 then
  29710. pTDefRegMap(@Self)^.clr := $00000040
  29711. else
  29712. pTDefRegMap(@Self)^.&set := $00000040;
  29713. end;
  29714. function TBMX_BMXCON.getBMXWSDRM : TBits_1; inline;
  29715. begin
  29716. getBMXWSDRM := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29717. end;
  29718. procedure TBMX_BMXCON.setBMXERRIS; inline;
  29719. begin
  29720. pTDefRegMap(@Self)^.&set := $00010000;
  29721. end;
  29722. procedure TBMX_BMXCON.clearBMXERRIS; inline;
  29723. begin
  29724. pTDefRegMap(@Self)^.clr := $00010000;
  29725. end;
  29726. procedure TBMX_BMXCON.setBMXERRIS(thebits : TBits_1); inline;
  29727. begin
  29728. if thebits = 0 then
  29729. pTDefRegMap(@Self)^.clr := $00010000
  29730. else
  29731. pTDefRegMap(@Self)^.&set := $00010000;
  29732. end;
  29733. function TBMX_BMXCON.getBMXERRIS : TBits_1; inline;
  29734. begin
  29735. getBMXERRIS := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  29736. end;
  29737. procedure TBMX_BMXCON.setBMXERRDS; inline;
  29738. begin
  29739. pTDefRegMap(@Self)^.&set := $00020000;
  29740. end;
  29741. procedure TBMX_BMXCON.clearBMXERRDS; inline;
  29742. begin
  29743. pTDefRegMap(@Self)^.clr := $00020000;
  29744. end;
  29745. procedure TBMX_BMXCON.setBMXERRDS(thebits : TBits_1); inline;
  29746. begin
  29747. if thebits = 0 then
  29748. pTDefRegMap(@Self)^.clr := $00020000
  29749. else
  29750. pTDefRegMap(@Self)^.&set := $00020000;
  29751. end;
  29752. function TBMX_BMXCON.getBMXERRDS : TBits_1; inline;
  29753. begin
  29754. getBMXERRDS := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  29755. end;
  29756. procedure TBMX_BMXCON.setBMXERRDMA; inline;
  29757. begin
  29758. pTDefRegMap(@Self)^.&set := $00040000;
  29759. end;
  29760. procedure TBMX_BMXCON.clearBMXERRDMA; inline;
  29761. begin
  29762. pTDefRegMap(@Self)^.clr := $00040000;
  29763. end;
  29764. procedure TBMX_BMXCON.setBMXERRDMA(thebits : TBits_1); inline;
  29765. begin
  29766. if thebits = 0 then
  29767. pTDefRegMap(@Self)^.clr := $00040000
  29768. else
  29769. pTDefRegMap(@Self)^.&set := $00040000;
  29770. end;
  29771. function TBMX_BMXCON.getBMXERRDMA : TBits_1; inline;
  29772. begin
  29773. getBMXERRDMA := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  29774. end;
  29775. procedure TBMX_BMXCON.setBMXERRICD; inline;
  29776. begin
  29777. pTDefRegMap(@Self)^.&set := $00080000;
  29778. end;
  29779. procedure TBMX_BMXCON.clearBMXERRICD; inline;
  29780. begin
  29781. pTDefRegMap(@Self)^.clr := $00080000;
  29782. end;
  29783. procedure TBMX_BMXCON.setBMXERRICD(thebits : TBits_1); inline;
  29784. begin
  29785. if thebits = 0 then
  29786. pTDefRegMap(@Self)^.clr := $00080000
  29787. else
  29788. pTDefRegMap(@Self)^.&set := $00080000;
  29789. end;
  29790. function TBMX_BMXCON.getBMXERRICD : TBits_1; inline;
  29791. begin
  29792. getBMXERRICD := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  29793. end;
  29794. procedure TBMX_BMXCON.setBMXERRIXI; inline;
  29795. begin
  29796. pTDefRegMap(@Self)^.&set := $00100000;
  29797. end;
  29798. procedure TBMX_BMXCON.clearBMXERRIXI; inline;
  29799. begin
  29800. pTDefRegMap(@Self)^.clr := $00100000;
  29801. end;
  29802. procedure TBMX_BMXCON.setBMXERRIXI(thebits : TBits_1); inline;
  29803. begin
  29804. if thebits = 0 then
  29805. pTDefRegMap(@Self)^.clr := $00100000
  29806. else
  29807. pTDefRegMap(@Self)^.&set := $00100000;
  29808. end;
  29809. function TBMX_BMXCON.getBMXERRIXI : TBits_1; inline;
  29810. begin
  29811. getBMXERRIXI := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  29812. end;
  29813. procedure TBMX_BMXCON.setBMXCHEDMA; inline;
  29814. begin
  29815. pTDefRegMap(@Self)^.&set := $04000000;
  29816. end;
  29817. procedure TBMX_BMXCON.clearBMXCHEDMA; inline;
  29818. begin
  29819. pTDefRegMap(@Self)^.clr := $04000000;
  29820. end;
  29821. procedure TBMX_BMXCON.setBMXCHEDMA(thebits : TBits_1); inline;
  29822. begin
  29823. if thebits = 0 then
  29824. pTDefRegMap(@Self)^.clr := $04000000
  29825. else
  29826. pTDefRegMap(@Self)^.&set := $04000000;
  29827. end;
  29828. function TBMX_BMXCON.getBMXCHEDMA : TBits_1; inline;
  29829. begin
  29830. getBMXCHEDMA := (pTDefRegMap(@Self)^.val and $04000000) shr 26;
  29831. end;
  29832. procedure TBMX_BMXCON.setw(thebits : TBits_32); inline;
  29833. begin
  29834. pTDefRegMap(@Self)^.val := thebits;
  29835. end;
  29836. function TBMX_BMXCON.getw : TBits_32; inline;
  29837. begin
  29838. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29839. end;
  29840. procedure TDMAC_DMACON.setDMABUSY; inline;
  29841. begin
  29842. pTDefRegMap(@Self)^.&set := $00000800;
  29843. end;
  29844. procedure TDMAC_DMACON.clearDMABUSY; inline;
  29845. begin
  29846. pTDefRegMap(@Self)^.clr := $00000800;
  29847. end;
  29848. procedure TDMAC_DMACON.setDMABUSY(thebits : TBits_1); inline;
  29849. begin
  29850. if thebits = 0 then
  29851. pTDefRegMap(@Self)^.clr := $00000800
  29852. else
  29853. pTDefRegMap(@Self)^.&set := $00000800;
  29854. end;
  29855. function TDMAC_DMACON.getDMABUSY : TBits_1; inline;
  29856. begin
  29857. getDMABUSY := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  29858. end;
  29859. procedure TDMAC_DMACON.setSUSPEND; inline;
  29860. begin
  29861. pTDefRegMap(@Self)^.&set := $00001000;
  29862. end;
  29863. procedure TDMAC_DMACON.clearSUSPEND; inline;
  29864. begin
  29865. pTDefRegMap(@Self)^.clr := $00001000;
  29866. end;
  29867. procedure TDMAC_DMACON.setSUSPEND(thebits : TBits_1); inline;
  29868. begin
  29869. if thebits = 0 then
  29870. pTDefRegMap(@Self)^.clr := $00001000
  29871. else
  29872. pTDefRegMap(@Self)^.&set := $00001000;
  29873. end;
  29874. function TDMAC_DMACON.getSUSPEND : TBits_1; inline;
  29875. begin
  29876. getSUSPEND := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  29877. end;
  29878. procedure TDMAC_DMACON.setON; inline;
  29879. begin
  29880. pTDefRegMap(@Self)^.&set := $00008000;
  29881. end;
  29882. procedure TDMAC_DMACON.clearON; inline;
  29883. begin
  29884. pTDefRegMap(@Self)^.clr := $00008000;
  29885. end;
  29886. procedure TDMAC_DMACON.setON(thebits : TBits_1); inline;
  29887. begin
  29888. if thebits = 0 then
  29889. pTDefRegMap(@Self)^.clr := $00008000
  29890. else
  29891. pTDefRegMap(@Self)^.&set := $00008000;
  29892. end;
  29893. function TDMAC_DMACON.getON : TBits_1; inline;
  29894. begin
  29895. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  29896. end;
  29897. procedure TDMAC_DMACON.setw(thebits : TBits_32); inline;
  29898. begin
  29899. pTDefRegMap(@Self)^.val := thebits;
  29900. end;
  29901. function TDMAC_DMACON.getw : TBits_32; inline;
  29902. begin
  29903. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29904. end;
  29905. procedure TDMAC_DMASTAT.setDMACH(thebits : TBits_3); inline;
  29906. begin
  29907. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29908. end;
  29909. function TDMAC_DMASTAT.getDMACH : TBits_3; inline;
  29910. begin
  29911. getDMACH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29912. end;
  29913. procedure TDMAC_DMASTAT.setRDWR; inline;
  29914. begin
  29915. pTDefRegMap(@Self)^.&set := $00000008;
  29916. end;
  29917. procedure TDMAC_DMASTAT.clearRDWR; inline;
  29918. begin
  29919. pTDefRegMap(@Self)^.clr := $00000008;
  29920. end;
  29921. procedure TDMAC_DMASTAT.setRDWR(thebits : TBits_1); inline;
  29922. begin
  29923. if thebits = 0 then
  29924. pTDefRegMap(@Self)^.clr := $00000008
  29925. else
  29926. pTDefRegMap(@Self)^.&set := $00000008;
  29927. end;
  29928. function TDMAC_DMASTAT.getRDWR : TBits_1; inline;
  29929. begin
  29930. getRDWR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  29931. end;
  29932. procedure TDMAC_DMASTAT.setw(thebits : TBits_32); inline;
  29933. begin
  29934. pTDefRegMap(@Self)^.val := thebits;
  29935. end;
  29936. function TDMAC_DMASTAT.getw : TBits_32; inline;
  29937. begin
  29938. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  29939. end;
  29940. procedure TDMAC_DCRCCON.setCRCCH(thebits : TBits_3); inline;
  29941. begin
  29942. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  29943. end;
  29944. function TDMAC_DCRCCON.getCRCCH : TBits_3; inline;
  29945. begin
  29946. getCRCCH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  29947. end;
  29948. procedure TDMAC_DCRCCON.setCRCTYP; inline;
  29949. begin
  29950. pTDefRegMap(@Self)^.&set := $00000020;
  29951. end;
  29952. procedure TDMAC_DCRCCON.clearCRCTYP; inline;
  29953. begin
  29954. pTDefRegMap(@Self)^.clr := $00000020;
  29955. end;
  29956. procedure TDMAC_DCRCCON.setCRCTYP(thebits : TBits_1); inline;
  29957. begin
  29958. if thebits = 0 then
  29959. pTDefRegMap(@Self)^.clr := $00000020
  29960. else
  29961. pTDefRegMap(@Self)^.&set := $00000020;
  29962. end;
  29963. function TDMAC_DCRCCON.getCRCTYP : TBits_1; inline;
  29964. begin
  29965. getCRCTYP := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  29966. end;
  29967. procedure TDMAC_DCRCCON.setCRCAPP; inline;
  29968. begin
  29969. pTDefRegMap(@Self)^.&set := $00000040;
  29970. end;
  29971. procedure TDMAC_DCRCCON.clearCRCAPP; inline;
  29972. begin
  29973. pTDefRegMap(@Self)^.clr := $00000040;
  29974. end;
  29975. procedure TDMAC_DCRCCON.setCRCAPP(thebits : TBits_1); inline;
  29976. begin
  29977. if thebits = 0 then
  29978. pTDefRegMap(@Self)^.clr := $00000040
  29979. else
  29980. pTDefRegMap(@Self)^.&set := $00000040;
  29981. end;
  29982. function TDMAC_DCRCCON.getCRCAPP : TBits_1; inline;
  29983. begin
  29984. getCRCAPP := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  29985. end;
  29986. procedure TDMAC_DCRCCON.setCRCEN; inline;
  29987. begin
  29988. pTDefRegMap(@Self)^.&set := $00000080;
  29989. end;
  29990. procedure TDMAC_DCRCCON.clearCRCEN; inline;
  29991. begin
  29992. pTDefRegMap(@Self)^.clr := $00000080;
  29993. end;
  29994. procedure TDMAC_DCRCCON.setCRCEN(thebits : TBits_1); inline;
  29995. begin
  29996. if thebits = 0 then
  29997. pTDefRegMap(@Self)^.clr := $00000080
  29998. else
  29999. pTDefRegMap(@Self)^.&set := $00000080;
  30000. end;
  30001. function TDMAC_DCRCCON.getCRCEN : TBits_1; inline;
  30002. begin
  30003. getCRCEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30004. end;
  30005. procedure TDMAC_DCRCCON.setPLEN(thebits : TBits_5); inline;
  30006. begin
  30007. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFE0FF or ( thebits shl 8 );
  30008. end;
  30009. function TDMAC_DCRCCON.getPLEN : TBits_5; inline;
  30010. begin
  30011. getPLEN := (pTDefRegMap(@Self)^.val and $00001F00) shr 8;
  30012. end;
  30013. procedure TDMAC_DCRCCON.setBITO; inline;
  30014. begin
  30015. pTDefRegMap(@Self)^.&set := $01000000;
  30016. end;
  30017. procedure TDMAC_DCRCCON.clearBITO; inline;
  30018. begin
  30019. pTDefRegMap(@Self)^.clr := $01000000;
  30020. end;
  30021. procedure TDMAC_DCRCCON.setBITO(thebits : TBits_1); inline;
  30022. begin
  30023. if thebits = 0 then
  30024. pTDefRegMap(@Self)^.clr := $01000000
  30025. else
  30026. pTDefRegMap(@Self)^.&set := $01000000;
  30027. end;
  30028. function TDMAC_DCRCCON.getBITO : TBits_1; inline;
  30029. begin
  30030. getBITO := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  30031. end;
  30032. procedure TDMAC_DCRCCON.setWBO; inline;
  30033. begin
  30034. pTDefRegMap(@Self)^.&set := $08000000;
  30035. end;
  30036. procedure TDMAC_DCRCCON.clearWBO; inline;
  30037. begin
  30038. pTDefRegMap(@Self)^.clr := $08000000;
  30039. end;
  30040. procedure TDMAC_DCRCCON.setWBO(thebits : TBits_1); inline;
  30041. begin
  30042. if thebits = 0 then
  30043. pTDefRegMap(@Self)^.clr := $08000000
  30044. else
  30045. pTDefRegMap(@Self)^.&set := $08000000;
  30046. end;
  30047. function TDMAC_DCRCCON.getWBO : TBits_1; inline;
  30048. begin
  30049. getWBO := (pTDefRegMap(@Self)^.val and $08000000) shr 27;
  30050. end;
  30051. procedure TDMAC_DCRCCON.setBYTO(thebits : TBits_2); inline;
  30052. begin
  30053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $CFFFFFFF or ( thebits shl 28 );
  30054. end;
  30055. function TDMAC_DCRCCON.getBYTO : TBits_2; inline;
  30056. begin
  30057. getBYTO := (pTDefRegMap(@Self)^.val and $30000000) shr 28;
  30058. end;
  30059. procedure TDMAC_DCRCCON.setw(thebits : TBits_32); inline;
  30060. begin
  30061. pTDefRegMap(@Self)^.val := thebits;
  30062. end;
  30063. function TDMAC_DCRCCON.getw : TBits_32; inline;
  30064. begin
  30065. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30066. end;
  30067. procedure TDMAC0_DCH0CON.setCHPRI(thebits : TBits_2); inline;
  30068. begin
  30069. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30070. end;
  30071. function TDMAC0_DCH0CON.getCHPRI : TBits_2; inline;
  30072. begin
  30073. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30074. end;
  30075. procedure TDMAC0_DCH0CON.setCHEDET; inline;
  30076. begin
  30077. pTDefRegMap(@Self)^.&set := $00000004;
  30078. end;
  30079. procedure TDMAC0_DCH0CON.clearCHEDET; inline;
  30080. begin
  30081. pTDefRegMap(@Self)^.clr := $00000004;
  30082. end;
  30083. procedure TDMAC0_DCH0CON.setCHEDET(thebits : TBits_1); inline;
  30084. begin
  30085. if thebits = 0 then
  30086. pTDefRegMap(@Self)^.clr := $00000004
  30087. else
  30088. pTDefRegMap(@Self)^.&set := $00000004;
  30089. end;
  30090. function TDMAC0_DCH0CON.getCHEDET : TBits_1; inline;
  30091. begin
  30092. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30093. end;
  30094. procedure TDMAC0_DCH0CON.setCHAEN; inline;
  30095. begin
  30096. pTDefRegMap(@Self)^.&set := $00000010;
  30097. end;
  30098. procedure TDMAC0_DCH0CON.clearCHAEN; inline;
  30099. begin
  30100. pTDefRegMap(@Self)^.clr := $00000010;
  30101. end;
  30102. procedure TDMAC0_DCH0CON.setCHAEN(thebits : TBits_1); inline;
  30103. begin
  30104. if thebits = 0 then
  30105. pTDefRegMap(@Self)^.clr := $00000010
  30106. else
  30107. pTDefRegMap(@Self)^.&set := $00000010;
  30108. end;
  30109. function TDMAC0_DCH0CON.getCHAEN : TBits_1; inline;
  30110. begin
  30111. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30112. end;
  30113. procedure TDMAC0_DCH0CON.setCHCHN; inline;
  30114. begin
  30115. pTDefRegMap(@Self)^.&set := $00000020;
  30116. end;
  30117. procedure TDMAC0_DCH0CON.clearCHCHN; inline;
  30118. begin
  30119. pTDefRegMap(@Self)^.clr := $00000020;
  30120. end;
  30121. procedure TDMAC0_DCH0CON.setCHCHN(thebits : TBits_1); inline;
  30122. begin
  30123. if thebits = 0 then
  30124. pTDefRegMap(@Self)^.clr := $00000020
  30125. else
  30126. pTDefRegMap(@Self)^.&set := $00000020;
  30127. end;
  30128. function TDMAC0_DCH0CON.getCHCHN : TBits_1; inline;
  30129. begin
  30130. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30131. end;
  30132. procedure TDMAC0_DCH0CON.setCHAED; inline;
  30133. begin
  30134. pTDefRegMap(@Self)^.&set := $00000040;
  30135. end;
  30136. procedure TDMAC0_DCH0CON.clearCHAED; inline;
  30137. begin
  30138. pTDefRegMap(@Self)^.clr := $00000040;
  30139. end;
  30140. procedure TDMAC0_DCH0CON.setCHAED(thebits : TBits_1); inline;
  30141. begin
  30142. if thebits = 0 then
  30143. pTDefRegMap(@Self)^.clr := $00000040
  30144. else
  30145. pTDefRegMap(@Self)^.&set := $00000040;
  30146. end;
  30147. function TDMAC0_DCH0CON.getCHAED : TBits_1; inline;
  30148. begin
  30149. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30150. end;
  30151. procedure TDMAC0_DCH0CON.setCHEN; inline;
  30152. begin
  30153. pTDefRegMap(@Self)^.&set := $00000080;
  30154. end;
  30155. procedure TDMAC0_DCH0CON.clearCHEN; inline;
  30156. begin
  30157. pTDefRegMap(@Self)^.clr := $00000080;
  30158. end;
  30159. procedure TDMAC0_DCH0CON.setCHEN(thebits : TBits_1); inline;
  30160. begin
  30161. if thebits = 0 then
  30162. pTDefRegMap(@Self)^.clr := $00000080
  30163. else
  30164. pTDefRegMap(@Self)^.&set := $00000080;
  30165. end;
  30166. function TDMAC0_DCH0CON.getCHEN : TBits_1; inline;
  30167. begin
  30168. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30169. end;
  30170. procedure TDMAC0_DCH0CON.setCHCHNS; inline;
  30171. begin
  30172. pTDefRegMap(@Self)^.&set := $00000100;
  30173. end;
  30174. procedure TDMAC0_DCH0CON.clearCHCHNS; inline;
  30175. begin
  30176. pTDefRegMap(@Self)^.clr := $00000100;
  30177. end;
  30178. procedure TDMAC0_DCH0CON.setCHCHNS(thebits : TBits_1); inline;
  30179. begin
  30180. if thebits = 0 then
  30181. pTDefRegMap(@Self)^.clr := $00000100
  30182. else
  30183. pTDefRegMap(@Self)^.&set := $00000100;
  30184. end;
  30185. function TDMAC0_DCH0CON.getCHCHNS : TBits_1; inline;
  30186. begin
  30187. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30188. end;
  30189. procedure TDMAC0_DCH0CON.setCHBUSY; inline;
  30190. begin
  30191. pTDefRegMap(@Self)^.&set := $00008000;
  30192. end;
  30193. procedure TDMAC0_DCH0CON.clearCHBUSY; inline;
  30194. begin
  30195. pTDefRegMap(@Self)^.clr := $00008000;
  30196. end;
  30197. procedure TDMAC0_DCH0CON.setCHBUSY(thebits : TBits_1); inline;
  30198. begin
  30199. if thebits = 0 then
  30200. pTDefRegMap(@Self)^.clr := $00008000
  30201. else
  30202. pTDefRegMap(@Self)^.&set := $00008000;
  30203. end;
  30204. function TDMAC0_DCH0CON.getCHBUSY : TBits_1; inline;
  30205. begin
  30206. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30207. end;
  30208. procedure TDMAC0_DCH0CON.setw(thebits : TBits_32); inline;
  30209. begin
  30210. pTDefRegMap(@Self)^.val := thebits;
  30211. end;
  30212. function TDMAC0_DCH0CON.getw : TBits_32; inline;
  30213. begin
  30214. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30215. end;
  30216. procedure TDMAC0_DCH0ECON.setAIRQEN; inline;
  30217. begin
  30218. pTDefRegMap(@Self)^.&set := $00000008;
  30219. end;
  30220. procedure TDMAC0_DCH0ECON.clearAIRQEN; inline;
  30221. begin
  30222. pTDefRegMap(@Self)^.clr := $00000008;
  30223. end;
  30224. procedure TDMAC0_DCH0ECON.setAIRQEN(thebits : TBits_1); inline;
  30225. begin
  30226. if thebits = 0 then
  30227. pTDefRegMap(@Self)^.clr := $00000008
  30228. else
  30229. pTDefRegMap(@Self)^.&set := $00000008;
  30230. end;
  30231. function TDMAC0_DCH0ECON.getAIRQEN : TBits_1; inline;
  30232. begin
  30233. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30234. end;
  30235. procedure TDMAC0_DCH0ECON.setSIRQEN; inline;
  30236. begin
  30237. pTDefRegMap(@Self)^.&set := $00000010;
  30238. end;
  30239. procedure TDMAC0_DCH0ECON.clearSIRQEN; inline;
  30240. begin
  30241. pTDefRegMap(@Self)^.clr := $00000010;
  30242. end;
  30243. procedure TDMAC0_DCH0ECON.setSIRQEN(thebits : TBits_1); inline;
  30244. begin
  30245. if thebits = 0 then
  30246. pTDefRegMap(@Self)^.clr := $00000010
  30247. else
  30248. pTDefRegMap(@Self)^.&set := $00000010;
  30249. end;
  30250. function TDMAC0_DCH0ECON.getSIRQEN : TBits_1; inline;
  30251. begin
  30252. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30253. end;
  30254. procedure TDMAC0_DCH0ECON.setPATEN; inline;
  30255. begin
  30256. pTDefRegMap(@Self)^.&set := $00000020;
  30257. end;
  30258. procedure TDMAC0_DCH0ECON.clearPATEN; inline;
  30259. begin
  30260. pTDefRegMap(@Self)^.clr := $00000020;
  30261. end;
  30262. procedure TDMAC0_DCH0ECON.setPATEN(thebits : TBits_1); inline;
  30263. begin
  30264. if thebits = 0 then
  30265. pTDefRegMap(@Self)^.clr := $00000020
  30266. else
  30267. pTDefRegMap(@Self)^.&set := $00000020;
  30268. end;
  30269. function TDMAC0_DCH0ECON.getPATEN : TBits_1; inline;
  30270. begin
  30271. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30272. end;
  30273. procedure TDMAC0_DCH0ECON.setCABORT; inline;
  30274. begin
  30275. pTDefRegMap(@Self)^.&set := $00000040;
  30276. end;
  30277. procedure TDMAC0_DCH0ECON.clearCABORT; inline;
  30278. begin
  30279. pTDefRegMap(@Self)^.clr := $00000040;
  30280. end;
  30281. procedure TDMAC0_DCH0ECON.setCABORT(thebits : TBits_1); inline;
  30282. begin
  30283. if thebits = 0 then
  30284. pTDefRegMap(@Self)^.clr := $00000040
  30285. else
  30286. pTDefRegMap(@Self)^.&set := $00000040;
  30287. end;
  30288. function TDMAC0_DCH0ECON.getCABORT : TBits_1; inline;
  30289. begin
  30290. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30291. end;
  30292. procedure TDMAC0_DCH0ECON.setCFORCE; inline;
  30293. begin
  30294. pTDefRegMap(@Self)^.&set := $00000080;
  30295. end;
  30296. procedure TDMAC0_DCH0ECON.clearCFORCE; inline;
  30297. begin
  30298. pTDefRegMap(@Self)^.clr := $00000080;
  30299. end;
  30300. procedure TDMAC0_DCH0ECON.setCFORCE(thebits : TBits_1); inline;
  30301. begin
  30302. if thebits = 0 then
  30303. pTDefRegMap(@Self)^.clr := $00000080
  30304. else
  30305. pTDefRegMap(@Self)^.&set := $00000080;
  30306. end;
  30307. function TDMAC0_DCH0ECON.getCFORCE : TBits_1; inline;
  30308. begin
  30309. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30310. end;
  30311. procedure TDMAC0_DCH0ECON.setCHSIRQ(thebits : TBits_8); inline;
  30312. begin
  30313. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30314. end;
  30315. function TDMAC0_DCH0ECON.getCHSIRQ : TBits_8; inline;
  30316. begin
  30317. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30318. end;
  30319. procedure TDMAC0_DCH0ECON.setCHAIRQ(thebits : TBits_8); inline;
  30320. begin
  30321. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30322. end;
  30323. function TDMAC0_DCH0ECON.getCHAIRQ : TBits_8; inline;
  30324. begin
  30325. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30326. end;
  30327. procedure TDMAC0_DCH0ECON.setw(thebits : TBits_32); inline;
  30328. begin
  30329. pTDefRegMap(@Self)^.val := thebits;
  30330. end;
  30331. function TDMAC0_DCH0ECON.getw : TBits_32; inline;
  30332. begin
  30333. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30334. end;
  30335. procedure TDMAC0_DCH0INT.setCHERIF; inline;
  30336. begin
  30337. pTDefRegMap(@Self)^.&set := $00000001;
  30338. end;
  30339. procedure TDMAC0_DCH0INT.clearCHERIF; inline;
  30340. begin
  30341. pTDefRegMap(@Self)^.clr := $00000001;
  30342. end;
  30343. procedure TDMAC0_DCH0INT.setCHERIF(thebits : TBits_1); inline;
  30344. begin
  30345. if thebits = 0 then
  30346. pTDefRegMap(@Self)^.clr := $00000001
  30347. else
  30348. pTDefRegMap(@Self)^.&set := $00000001;
  30349. end;
  30350. function TDMAC0_DCH0INT.getCHERIF : TBits_1; inline;
  30351. begin
  30352. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30353. end;
  30354. procedure TDMAC0_DCH0INT.setCHTAIF; inline;
  30355. begin
  30356. pTDefRegMap(@Self)^.&set := $00000002;
  30357. end;
  30358. procedure TDMAC0_DCH0INT.clearCHTAIF; inline;
  30359. begin
  30360. pTDefRegMap(@Self)^.clr := $00000002;
  30361. end;
  30362. procedure TDMAC0_DCH0INT.setCHTAIF(thebits : TBits_1); inline;
  30363. begin
  30364. if thebits = 0 then
  30365. pTDefRegMap(@Self)^.clr := $00000002
  30366. else
  30367. pTDefRegMap(@Self)^.&set := $00000002;
  30368. end;
  30369. function TDMAC0_DCH0INT.getCHTAIF : TBits_1; inline;
  30370. begin
  30371. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30372. end;
  30373. procedure TDMAC0_DCH0INT.setCHCCIF; inline;
  30374. begin
  30375. pTDefRegMap(@Self)^.&set := $00000004;
  30376. end;
  30377. procedure TDMAC0_DCH0INT.clearCHCCIF; inline;
  30378. begin
  30379. pTDefRegMap(@Self)^.clr := $00000004;
  30380. end;
  30381. procedure TDMAC0_DCH0INT.setCHCCIF(thebits : TBits_1); inline;
  30382. begin
  30383. if thebits = 0 then
  30384. pTDefRegMap(@Self)^.clr := $00000004
  30385. else
  30386. pTDefRegMap(@Self)^.&set := $00000004;
  30387. end;
  30388. function TDMAC0_DCH0INT.getCHCCIF : TBits_1; inline;
  30389. begin
  30390. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30391. end;
  30392. procedure TDMAC0_DCH0INT.setCHBCIF; inline;
  30393. begin
  30394. pTDefRegMap(@Self)^.&set := $00000008;
  30395. end;
  30396. procedure TDMAC0_DCH0INT.clearCHBCIF; inline;
  30397. begin
  30398. pTDefRegMap(@Self)^.clr := $00000008;
  30399. end;
  30400. procedure TDMAC0_DCH0INT.setCHBCIF(thebits : TBits_1); inline;
  30401. begin
  30402. if thebits = 0 then
  30403. pTDefRegMap(@Self)^.clr := $00000008
  30404. else
  30405. pTDefRegMap(@Self)^.&set := $00000008;
  30406. end;
  30407. function TDMAC0_DCH0INT.getCHBCIF : TBits_1; inline;
  30408. begin
  30409. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30410. end;
  30411. procedure TDMAC0_DCH0INT.setCHDHIF; inline;
  30412. begin
  30413. pTDefRegMap(@Self)^.&set := $00000010;
  30414. end;
  30415. procedure TDMAC0_DCH0INT.clearCHDHIF; inline;
  30416. begin
  30417. pTDefRegMap(@Self)^.clr := $00000010;
  30418. end;
  30419. procedure TDMAC0_DCH0INT.setCHDHIF(thebits : TBits_1); inline;
  30420. begin
  30421. if thebits = 0 then
  30422. pTDefRegMap(@Self)^.clr := $00000010
  30423. else
  30424. pTDefRegMap(@Self)^.&set := $00000010;
  30425. end;
  30426. function TDMAC0_DCH0INT.getCHDHIF : TBits_1; inline;
  30427. begin
  30428. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30429. end;
  30430. procedure TDMAC0_DCH0INT.setCHDDIF; inline;
  30431. begin
  30432. pTDefRegMap(@Self)^.&set := $00000020;
  30433. end;
  30434. procedure TDMAC0_DCH0INT.clearCHDDIF; inline;
  30435. begin
  30436. pTDefRegMap(@Self)^.clr := $00000020;
  30437. end;
  30438. procedure TDMAC0_DCH0INT.setCHDDIF(thebits : TBits_1); inline;
  30439. begin
  30440. if thebits = 0 then
  30441. pTDefRegMap(@Self)^.clr := $00000020
  30442. else
  30443. pTDefRegMap(@Self)^.&set := $00000020;
  30444. end;
  30445. function TDMAC0_DCH0INT.getCHDDIF : TBits_1; inline;
  30446. begin
  30447. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30448. end;
  30449. procedure TDMAC0_DCH0INT.setCHSHIF; inline;
  30450. begin
  30451. pTDefRegMap(@Self)^.&set := $00000040;
  30452. end;
  30453. procedure TDMAC0_DCH0INT.clearCHSHIF; inline;
  30454. begin
  30455. pTDefRegMap(@Self)^.clr := $00000040;
  30456. end;
  30457. procedure TDMAC0_DCH0INT.setCHSHIF(thebits : TBits_1); inline;
  30458. begin
  30459. if thebits = 0 then
  30460. pTDefRegMap(@Self)^.clr := $00000040
  30461. else
  30462. pTDefRegMap(@Self)^.&set := $00000040;
  30463. end;
  30464. function TDMAC0_DCH0INT.getCHSHIF : TBits_1; inline;
  30465. begin
  30466. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30467. end;
  30468. procedure TDMAC0_DCH0INT.setCHSDIF; inline;
  30469. begin
  30470. pTDefRegMap(@Self)^.&set := $00000080;
  30471. end;
  30472. procedure TDMAC0_DCH0INT.clearCHSDIF; inline;
  30473. begin
  30474. pTDefRegMap(@Self)^.clr := $00000080;
  30475. end;
  30476. procedure TDMAC0_DCH0INT.setCHSDIF(thebits : TBits_1); inline;
  30477. begin
  30478. if thebits = 0 then
  30479. pTDefRegMap(@Self)^.clr := $00000080
  30480. else
  30481. pTDefRegMap(@Self)^.&set := $00000080;
  30482. end;
  30483. function TDMAC0_DCH0INT.getCHSDIF : TBits_1; inline;
  30484. begin
  30485. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30486. end;
  30487. procedure TDMAC0_DCH0INT.setCHERIE; inline;
  30488. begin
  30489. pTDefRegMap(@Self)^.&set := $00010000;
  30490. end;
  30491. procedure TDMAC0_DCH0INT.clearCHERIE; inline;
  30492. begin
  30493. pTDefRegMap(@Self)^.clr := $00010000;
  30494. end;
  30495. procedure TDMAC0_DCH0INT.setCHERIE(thebits : TBits_1); inline;
  30496. begin
  30497. if thebits = 0 then
  30498. pTDefRegMap(@Self)^.clr := $00010000
  30499. else
  30500. pTDefRegMap(@Self)^.&set := $00010000;
  30501. end;
  30502. function TDMAC0_DCH0INT.getCHERIE : TBits_1; inline;
  30503. begin
  30504. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  30505. end;
  30506. procedure TDMAC0_DCH0INT.setCHTAIE; inline;
  30507. begin
  30508. pTDefRegMap(@Self)^.&set := $00020000;
  30509. end;
  30510. procedure TDMAC0_DCH0INT.clearCHTAIE; inline;
  30511. begin
  30512. pTDefRegMap(@Self)^.clr := $00020000;
  30513. end;
  30514. procedure TDMAC0_DCH0INT.setCHTAIE(thebits : TBits_1); inline;
  30515. begin
  30516. if thebits = 0 then
  30517. pTDefRegMap(@Self)^.clr := $00020000
  30518. else
  30519. pTDefRegMap(@Self)^.&set := $00020000;
  30520. end;
  30521. function TDMAC0_DCH0INT.getCHTAIE : TBits_1; inline;
  30522. begin
  30523. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  30524. end;
  30525. procedure TDMAC0_DCH0INT.setCHCCIE; inline;
  30526. begin
  30527. pTDefRegMap(@Self)^.&set := $00040000;
  30528. end;
  30529. procedure TDMAC0_DCH0INT.clearCHCCIE; inline;
  30530. begin
  30531. pTDefRegMap(@Self)^.clr := $00040000;
  30532. end;
  30533. procedure TDMAC0_DCH0INT.setCHCCIE(thebits : TBits_1); inline;
  30534. begin
  30535. if thebits = 0 then
  30536. pTDefRegMap(@Self)^.clr := $00040000
  30537. else
  30538. pTDefRegMap(@Self)^.&set := $00040000;
  30539. end;
  30540. function TDMAC0_DCH0INT.getCHCCIE : TBits_1; inline;
  30541. begin
  30542. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  30543. end;
  30544. procedure TDMAC0_DCH0INT.setCHBCIE; inline;
  30545. begin
  30546. pTDefRegMap(@Self)^.&set := $00080000;
  30547. end;
  30548. procedure TDMAC0_DCH0INT.clearCHBCIE; inline;
  30549. begin
  30550. pTDefRegMap(@Self)^.clr := $00080000;
  30551. end;
  30552. procedure TDMAC0_DCH0INT.setCHBCIE(thebits : TBits_1); inline;
  30553. begin
  30554. if thebits = 0 then
  30555. pTDefRegMap(@Self)^.clr := $00080000
  30556. else
  30557. pTDefRegMap(@Self)^.&set := $00080000;
  30558. end;
  30559. function TDMAC0_DCH0INT.getCHBCIE : TBits_1; inline;
  30560. begin
  30561. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  30562. end;
  30563. procedure TDMAC0_DCH0INT.setCHDHIE; inline;
  30564. begin
  30565. pTDefRegMap(@Self)^.&set := $00100000;
  30566. end;
  30567. procedure TDMAC0_DCH0INT.clearCHDHIE; inline;
  30568. begin
  30569. pTDefRegMap(@Self)^.clr := $00100000;
  30570. end;
  30571. procedure TDMAC0_DCH0INT.setCHDHIE(thebits : TBits_1); inline;
  30572. begin
  30573. if thebits = 0 then
  30574. pTDefRegMap(@Self)^.clr := $00100000
  30575. else
  30576. pTDefRegMap(@Self)^.&set := $00100000;
  30577. end;
  30578. function TDMAC0_DCH0INT.getCHDHIE : TBits_1; inline;
  30579. begin
  30580. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  30581. end;
  30582. procedure TDMAC0_DCH0INT.setCHDDIE; inline;
  30583. begin
  30584. pTDefRegMap(@Self)^.&set := $00200000;
  30585. end;
  30586. procedure TDMAC0_DCH0INT.clearCHDDIE; inline;
  30587. begin
  30588. pTDefRegMap(@Self)^.clr := $00200000;
  30589. end;
  30590. procedure TDMAC0_DCH0INT.setCHDDIE(thebits : TBits_1); inline;
  30591. begin
  30592. if thebits = 0 then
  30593. pTDefRegMap(@Self)^.clr := $00200000
  30594. else
  30595. pTDefRegMap(@Self)^.&set := $00200000;
  30596. end;
  30597. function TDMAC0_DCH0INT.getCHDDIE : TBits_1; inline;
  30598. begin
  30599. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  30600. end;
  30601. procedure TDMAC0_DCH0INT.setCHSHIE; inline;
  30602. begin
  30603. pTDefRegMap(@Self)^.&set := $00400000;
  30604. end;
  30605. procedure TDMAC0_DCH0INT.clearCHSHIE; inline;
  30606. begin
  30607. pTDefRegMap(@Self)^.clr := $00400000;
  30608. end;
  30609. procedure TDMAC0_DCH0INT.setCHSHIE(thebits : TBits_1); inline;
  30610. begin
  30611. if thebits = 0 then
  30612. pTDefRegMap(@Self)^.clr := $00400000
  30613. else
  30614. pTDefRegMap(@Self)^.&set := $00400000;
  30615. end;
  30616. function TDMAC0_DCH0INT.getCHSHIE : TBits_1; inline;
  30617. begin
  30618. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  30619. end;
  30620. procedure TDMAC0_DCH0INT.setCHSDIE; inline;
  30621. begin
  30622. pTDefRegMap(@Self)^.&set := $00800000;
  30623. end;
  30624. procedure TDMAC0_DCH0INT.clearCHSDIE; inline;
  30625. begin
  30626. pTDefRegMap(@Self)^.clr := $00800000;
  30627. end;
  30628. procedure TDMAC0_DCH0INT.setCHSDIE(thebits : TBits_1); inline;
  30629. begin
  30630. if thebits = 0 then
  30631. pTDefRegMap(@Self)^.clr := $00800000
  30632. else
  30633. pTDefRegMap(@Self)^.&set := $00800000;
  30634. end;
  30635. function TDMAC0_DCH0INT.getCHSDIE : TBits_1; inline;
  30636. begin
  30637. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  30638. end;
  30639. procedure TDMAC0_DCH0INT.setw(thebits : TBits_32); inline;
  30640. begin
  30641. pTDefRegMap(@Self)^.val := thebits;
  30642. end;
  30643. function TDMAC0_DCH0INT.getw : TBits_32; inline;
  30644. begin
  30645. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30646. end;
  30647. procedure TDMAC1_DCH1CON.setCHPRI(thebits : TBits_2); inline;
  30648. begin
  30649. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  30650. end;
  30651. function TDMAC1_DCH1CON.getCHPRI : TBits_2; inline;
  30652. begin
  30653. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  30654. end;
  30655. procedure TDMAC1_DCH1CON.setCHEDET; inline;
  30656. begin
  30657. pTDefRegMap(@Self)^.&set := $00000004;
  30658. end;
  30659. procedure TDMAC1_DCH1CON.clearCHEDET; inline;
  30660. begin
  30661. pTDefRegMap(@Self)^.clr := $00000004;
  30662. end;
  30663. procedure TDMAC1_DCH1CON.setCHEDET(thebits : TBits_1); inline;
  30664. begin
  30665. if thebits = 0 then
  30666. pTDefRegMap(@Self)^.clr := $00000004
  30667. else
  30668. pTDefRegMap(@Self)^.&set := $00000004;
  30669. end;
  30670. function TDMAC1_DCH1CON.getCHEDET : TBits_1; inline;
  30671. begin
  30672. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30673. end;
  30674. procedure TDMAC1_DCH1CON.setCHAEN; inline;
  30675. begin
  30676. pTDefRegMap(@Self)^.&set := $00000010;
  30677. end;
  30678. procedure TDMAC1_DCH1CON.clearCHAEN; inline;
  30679. begin
  30680. pTDefRegMap(@Self)^.clr := $00000010;
  30681. end;
  30682. procedure TDMAC1_DCH1CON.setCHAEN(thebits : TBits_1); inline;
  30683. begin
  30684. if thebits = 0 then
  30685. pTDefRegMap(@Self)^.clr := $00000010
  30686. else
  30687. pTDefRegMap(@Self)^.&set := $00000010;
  30688. end;
  30689. function TDMAC1_DCH1CON.getCHAEN : TBits_1; inline;
  30690. begin
  30691. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30692. end;
  30693. procedure TDMAC1_DCH1CON.setCHCHN; inline;
  30694. begin
  30695. pTDefRegMap(@Self)^.&set := $00000020;
  30696. end;
  30697. procedure TDMAC1_DCH1CON.clearCHCHN; inline;
  30698. begin
  30699. pTDefRegMap(@Self)^.clr := $00000020;
  30700. end;
  30701. procedure TDMAC1_DCH1CON.setCHCHN(thebits : TBits_1); inline;
  30702. begin
  30703. if thebits = 0 then
  30704. pTDefRegMap(@Self)^.clr := $00000020
  30705. else
  30706. pTDefRegMap(@Self)^.&set := $00000020;
  30707. end;
  30708. function TDMAC1_DCH1CON.getCHCHN : TBits_1; inline;
  30709. begin
  30710. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30711. end;
  30712. procedure TDMAC1_DCH1CON.setCHAED; inline;
  30713. begin
  30714. pTDefRegMap(@Self)^.&set := $00000040;
  30715. end;
  30716. procedure TDMAC1_DCH1CON.clearCHAED; inline;
  30717. begin
  30718. pTDefRegMap(@Self)^.clr := $00000040;
  30719. end;
  30720. procedure TDMAC1_DCH1CON.setCHAED(thebits : TBits_1); inline;
  30721. begin
  30722. if thebits = 0 then
  30723. pTDefRegMap(@Self)^.clr := $00000040
  30724. else
  30725. pTDefRegMap(@Self)^.&set := $00000040;
  30726. end;
  30727. function TDMAC1_DCH1CON.getCHAED : TBits_1; inline;
  30728. begin
  30729. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30730. end;
  30731. procedure TDMAC1_DCH1CON.setCHEN; inline;
  30732. begin
  30733. pTDefRegMap(@Self)^.&set := $00000080;
  30734. end;
  30735. procedure TDMAC1_DCH1CON.clearCHEN; inline;
  30736. begin
  30737. pTDefRegMap(@Self)^.clr := $00000080;
  30738. end;
  30739. procedure TDMAC1_DCH1CON.setCHEN(thebits : TBits_1); inline;
  30740. begin
  30741. if thebits = 0 then
  30742. pTDefRegMap(@Self)^.clr := $00000080
  30743. else
  30744. pTDefRegMap(@Self)^.&set := $00000080;
  30745. end;
  30746. function TDMAC1_DCH1CON.getCHEN : TBits_1; inline;
  30747. begin
  30748. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30749. end;
  30750. procedure TDMAC1_DCH1CON.setCHCHNS; inline;
  30751. begin
  30752. pTDefRegMap(@Self)^.&set := $00000100;
  30753. end;
  30754. procedure TDMAC1_DCH1CON.clearCHCHNS; inline;
  30755. begin
  30756. pTDefRegMap(@Self)^.clr := $00000100;
  30757. end;
  30758. procedure TDMAC1_DCH1CON.setCHCHNS(thebits : TBits_1); inline;
  30759. begin
  30760. if thebits = 0 then
  30761. pTDefRegMap(@Self)^.clr := $00000100
  30762. else
  30763. pTDefRegMap(@Self)^.&set := $00000100;
  30764. end;
  30765. function TDMAC1_DCH1CON.getCHCHNS : TBits_1; inline;
  30766. begin
  30767. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  30768. end;
  30769. procedure TDMAC1_DCH1CON.setCHBUSY; inline;
  30770. begin
  30771. pTDefRegMap(@Self)^.&set := $00008000;
  30772. end;
  30773. procedure TDMAC1_DCH1CON.clearCHBUSY; inline;
  30774. begin
  30775. pTDefRegMap(@Self)^.clr := $00008000;
  30776. end;
  30777. procedure TDMAC1_DCH1CON.setCHBUSY(thebits : TBits_1); inline;
  30778. begin
  30779. if thebits = 0 then
  30780. pTDefRegMap(@Self)^.clr := $00008000
  30781. else
  30782. pTDefRegMap(@Self)^.&set := $00008000;
  30783. end;
  30784. function TDMAC1_DCH1CON.getCHBUSY : TBits_1; inline;
  30785. begin
  30786. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  30787. end;
  30788. procedure TDMAC1_DCH1CON.setw(thebits : TBits_32); inline;
  30789. begin
  30790. pTDefRegMap(@Self)^.val := thebits;
  30791. end;
  30792. function TDMAC1_DCH1CON.getw : TBits_32; inline;
  30793. begin
  30794. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30795. end;
  30796. procedure TDMAC1_DCH1ECON.setAIRQEN; inline;
  30797. begin
  30798. pTDefRegMap(@Self)^.&set := $00000008;
  30799. end;
  30800. procedure TDMAC1_DCH1ECON.clearAIRQEN; inline;
  30801. begin
  30802. pTDefRegMap(@Self)^.clr := $00000008;
  30803. end;
  30804. procedure TDMAC1_DCH1ECON.setAIRQEN(thebits : TBits_1); inline;
  30805. begin
  30806. if thebits = 0 then
  30807. pTDefRegMap(@Self)^.clr := $00000008
  30808. else
  30809. pTDefRegMap(@Self)^.&set := $00000008;
  30810. end;
  30811. function TDMAC1_DCH1ECON.getAIRQEN : TBits_1; inline;
  30812. begin
  30813. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30814. end;
  30815. procedure TDMAC1_DCH1ECON.setSIRQEN; inline;
  30816. begin
  30817. pTDefRegMap(@Self)^.&set := $00000010;
  30818. end;
  30819. procedure TDMAC1_DCH1ECON.clearSIRQEN; inline;
  30820. begin
  30821. pTDefRegMap(@Self)^.clr := $00000010;
  30822. end;
  30823. procedure TDMAC1_DCH1ECON.setSIRQEN(thebits : TBits_1); inline;
  30824. begin
  30825. if thebits = 0 then
  30826. pTDefRegMap(@Self)^.clr := $00000010
  30827. else
  30828. pTDefRegMap(@Self)^.&set := $00000010;
  30829. end;
  30830. function TDMAC1_DCH1ECON.getSIRQEN : TBits_1; inline;
  30831. begin
  30832. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  30833. end;
  30834. procedure TDMAC1_DCH1ECON.setPATEN; inline;
  30835. begin
  30836. pTDefRegMap(@Self)^.&set := $00000020;
  30837. end;
  30838. procedure TDMAC1_DCH1ECON.clearPATEN; inline;
  30839. begin
  30840. pTDefRegMap(@Self)^.clr := $00000020;
  30841. end;
  30842. procedure TDMAC1_DCH1ECON.setPATEN(thebits : TBits_1); inline;
  30843. begin
  30844. if thebits = 0 then
  30845. pTDefRegMap(@Self)^.clr := $00000020
  30846. else
  30847. pTDefRegMap(@Self)^.&set := $00000020;
  30848. end;
  30849. function TDMAC1_DCH1ECON.getPATEN : TBits_1; inline;
  30850. begin
  30851. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  30852. end;
  30853. procedure TDMAC1_DCH1ECON.setCABORT; inline;
  30854. begin
  30855. pTDefRegMap(@Self)^.&set := $00000040;
  30856. end;
  30857. procedure TDMAC1_DCH1ECON.clearCABORT; inline;
  30858. begin
  30859. pTDefRegMap(@Self)^.clr := $00000040;
  30860. end;
  30861. procedure TDMAC1_DCH1ECON.setCABORT(thebits : TBits_1); inline;
  30862. begin
  30863. if thebits = 0 then
  30864. pTDefRegMap(@Self)^.clr := $00000040
  30865. else
  30866. pTDefRegMap(@Self)^.&set := $00000040;
  30867. end;
  30868. function TDMAC1_DCH1ECON.getCABORT : TBits_1; inline;
  30869. begin
  30870. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  30871. end;
  30872. procedure TDMAC1_DCH1ECON.setCFORCE; inline;
  30873. begin
  30874. pTDefRegMap(@Self)^.&set := $00000080;
  30875. end;
  30876. procedure TDMAC1_DCH1ECON.clearCFORCE; inline;
  30877. begin
  30878. pTDefRegMap(@Self)^.clr := $00000080;
  30879. end;
  30880. procedure TDMAC1_DCH1ECON.setCFORCE(thebits : TBits_1); inline;
  30881. begin
  30882. if thebits = 0 then
  30883. pTDefRegMap(@Self)^.clr := $00000080
  30884. else
  30885. pTDefRegMap(@Self)^.&set := $00000080;
  30886. end;
  30887. function TDMAC1_DCH1ECON.getCFORCE : TBits_1; inline;
  30888. begin
  30889. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  30890. end;
  30891. procedure TDMAC1_DCH1ECON.setCHSIRQ(thebits : TBits_8); inline;
  30892. begin
  30893. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  30894. end;
  30895. function TDMAC1_DCH1ECON.getCHSIRQ : TBits_8; inline;
  30896. begin
  30897. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  30898. end;
  30899. procedure TDMAC1_DCH1ECON.setCHAIRQ(thebits : TBits_8); inline;
  30900. begin
  30901. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  30902. end;
  30903. function TDMAC1_DCH1ECON.getCHAIRQ : TBits_8; inline;
  30904. begin
  30905. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  30906. end;
  30907. procedure TDMAC1_DCH1ECON.setw(thebits : TBits_32); inline;
  30908. begin
  30909. pTDefRegMap(@Self)^.val := thebits;
  30910. end;
  30911. function TDMAC1_DCH1ECON.getw : TBits_32; inline;
  30912. begin
  30913. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  30914. end;
  30915. procedure TDMAC1_DCH1INT.setCHERIF; inline;
  30916. begin
  30917. pTDefRegMap(@Self)^.&set := $00000001;
  30918. end;
  30919. procedure TDMAC1_DCH1INT.clearCHERIF; inline;
  30920. begin
  30921. pTDefRegMap(@Self)^.clr := $00000001;
  30922. end;
  30923. procedure TDMAC1_DCH1INT.setCHERIF(thebits : TBits_1); inline;
  30924. begin
  30925. if thebits = 0 then
  30926. pTDefRegMap(@Self)^.clr := $00000001
  30927. else
  30928. pTDefRegMap(@Self)^.&set := $00000001;
  30929. end;
  30930. function TDMAC1_DCH1INT.getCHERIF : TBits_1; inline;
  30931. begin
  30932. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  30933. end;
  30934. procedure TDMAC1_DCH1INT.setCHTAIF; inline;
  30935. begin
  30936. pTDefRegMap(@Self)^.&set := $00000002;
  30937. end;
  30938. procedure TDMAC1_DCH1INT.clearCHTAIF; inline;
  30939. begin
  30940. pTDefRegMap(@Self)^.clr := $00000002;
  30941. end;
  30942. procedure TDMAC1_DCH1INT.setCHTAIF(thebits : TBits_1); inline;
  30943. begin
  30944. if thebits = 0 then
  30945. pTDefRegMap(@Self)^.clr := $00000002
  30946. else
  30947. pTDefRegMap(@Self)^.&set := $00000002;
  30948. end;
  30949. function TDMAC1_DCH1INT.getCHTAIF : TBits_1; inline;
  30950. begin
  30951. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  30952. end;
  30953. procedure TDMAC1_DCH1INT.setCHCCIF; inline;
  30954. begin
  30955. pTDefRegMap(@Self)^.&set := $00000004;
  30956. end;
  30957. procedure TDMAC1_DCH1INT.clearCHCCIF; inline;
  30958. begin
  30959. pTDefRegMap(@Self)^.clr := $00000004;
  30960. end;
  30961. procedure TDMAC1_DCH1INT.setCHCCIF(thebits : TBits_1); inline;
  30962. begin
  30963. if thebits = 0 then
  30964. pTDefRegMap(@Self)^.clr := $00000004
  30965. else
  30966. pTDefRegMap(@Self)^.&set := $00000004;
  30967. end;
  30968. function TDMAC1_DCH1INT.getCHCCIF : TBits_1; inline;
  30969. begin
  30970. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  30971. end;
  30972. procedure TDMAC1_DCH1INT.setCHBCIF; inline;
  30973. begin
  30974. pTDefRegMap(@Self)^.&set := $00000008;
  30975. end;
  30976. procedure TDMAC1_DCH1INT.clearCHBCIF; inline;
  30977. begin
  30978. pTDefRegMap(@Self)^.clr := $00000008;
  30979. end;
  30980. procedure TDMAC1_DCH1INT.setCHBCIF(thebits : TBits_1); inline;
  30981. begin
  30982. if thebits = 0 then
  30983. pTDefRegMap(@Self)^.clr := $00000008
  30984. else
  30985. pTDefRegMap(@Self)^.&set := $00000008;
  30986. end;
  30987. function TDMAC1_DCH1INT.getCHBCIF : TBits_1; inline;
  30988. begin
  30989. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  30990. end;
  30991. procedure TDMAC1_DCH1INT.setCHDHIF; inline;
  30992. begin
  30993. pTDefRegMap(@Self)^.&set := $00000010;
  30994. end;
  30995. procedure TDMAC1_DCH1INT.clearCHDHIF; inline;
  30996. begin
  30997. pTDefRegMap(@Self)^.clr := $00000010;
  30998. end;
  30999. procedure TDMAC1_DCH1INT.setCHDHIF(thebits : TBits_1); inline;
  31000. begin
  31001. if thebits = 0 then
  31002. pTDefRegMap(@Self)^.clr := $00000010
  31003. else
  31004. pTDefRegMap(@Self)^.&set := $00000010;
  31005. end;
  31006. function TDMAC1_DCH1INT.getCHDHIF : TBits_1; inline;
  31007. begin
  31008. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31009. end;
  31010. procedure TDMAC1_DCH1INT.setCHDDIF; inline;
  31011. begin
  31012. pTDefRegMap(@Self)^.&set := $00000020;
  31013. end;
  31014. procedure TDMAC1_DCH1INT.clearCHDDIF; inline;
  31015. begin
  31016. pTDefRegMap(@Self)^.clr := $00000020;
  31017. end;
  31018. procedure TDMAC1_DCH1INT.setCHDDIF(thebits : TBits_1); inline;
  31019. begin
  31020. if thebits = 0 then
  31021. pTDefRegMap(@Self)^.clr := $00000020
  31022. else
  31023. pTDefRegMap(@Self)^.&set := $00000020;
  31024. end;
  31025. function TDMAC1_DCH1INT.getCHDDIF : TBits_1; inline;
  31026. begin
  31027. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31028. end;
  31029. procedure TDMAC1_DCH1INT.setCHSHIF; inline;
  31030. begin
  31031. pTDefRegMap(@Self)^.&set := $00000040;
  31032. end;
  31033. procedure TDMAC1_DCH1INT.clearCHSHIF; inline;
  31034. begin
  31035. pTDefRegMap(@Self)^.clr := $00000040;
  31036. end;
  31037. procedure TDMAC1_DCH1INT.setCHSHIF(thebits : TBits_1); inline;
  31038. begin
  31039. if thebits = 0 then
  31040. pTDefRegMap(@Self)^.clr := $00000040
  31041. else
  31042. pTDefRegMap(@Self)^.&set := $00000040;
  31043. end;
  31044. function TDMAC1_DCH1INT.getCHSHIF : TBits_1; inline;
  31045. begin
  31046. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31047. end;
  31048. procedure TDMAC1_DCH1INT.setCHSDIF; inline;
  31049. begin
  31050. pTDefRegMap(@Self)^.&set := $00000080;
  31051. end;
  31052. procedure TDMAC1_DCH1INT.clearCHSDIF; inline;
  31053. begin
  31054. pTDefRegMap(@Self)^.clr := $00000080;
  31055. end;
  31056. procedure TDMAC1_DCH1INT.setCHSDIF(thebits : TBits_1); inline;
  31057. begin
  31058. if thebits = 0 then
  31059. pTDefRegMap(@Self)^.clr := $00000080
  31060. else
  31061. pTDefRegMap(@Self)^.&set := $00000080;
  31062. end;
  31063. function TDMAC1_DCH1INT.getCHSDIF : TBits_1; inline;
  31064. begin
  31065. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31066. end;
  31067. procedure TDMAC1_DCH1INT.setCHERIE; inline;
  31068. begin
  31069. pTDefRegMap(@Self)^.&set := $00010000;
  31070. end;
  31071. procedure TDMAC1_DCH1INT.clearCHERIE; inline;
  31072. begin
  31073. pTDefRegMap(@Self)^.clr := $00010000;
  31074. end;
  31075. procedure TDMAC1_DCH1INT.setCHERIE(thebits : TBits_1); inline;
  31076. begin
  31077. if thebits = 0 then
  31078. pTDefRegMap(@Self)^.clr := $00010000
  31079. else
  31080. pTDefRegMap(@Self)^.&set := $00010000;
  31081. end;
  31082. function TDMAC1_DCH1INT.getCHERIE : TBits_1; inline;
  31083. begin
  31084. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31085. end;
  31086. procedure TDMAC1_DCH1INT.setCHTAIE; inline;
  31087. begin
  31088. pTDefRegMap(@Self)^.&set := $00020000;
  31089. end;
  31090. procedure TDMAC1_DCH1INT.clearCHTAIE; inline;
  31091. begin
  31092. pTDefRegMap(@Self)^.clr := $00020000;
  31093. end;
  31094. procedure TDMAC1_DCH1INT.setCHTAIE(thebits : TBits_1); inline;
  31095. begin
  31096. if thebits = 0 then
  31097. pTDefRegMap(@Self)^.clr := $00020000
  31098. else
  31099. pTDefRegMap(@Self)^.&set := $00020000;
  31100. end;
  31101. function TDMAC1_DCH1INT.getCHTAIE : TBits_1; inline;
  31102. begin
  31103. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31104. end;
  31105. procedure TDMAC1_DCH1INT.setCHCCIE; inline;
  31106. begin
  31107. pTDefRegMap(@Self)^.&set := $00040000;
  31108. end;
  31109. procedure TDMAC1_DCH1INT.clearCHCCIE; inline;
  31110. begin
  31111. pTDefRegMap(@Self)^.clr := $00040000;
  31112. end;
  31113. procedure TDMAC1_DCH1INT.setCHCCIE(thebits : TBits_1); inline;
  31114. begin
  31115. if thebits = 0 then
  31116. pTDefRegMap(@Self)^.clr := $00040000
  31117. else
  31118. pTDefRegMap(@Self)^.&set := $00040000;
  31119. end;
  31120. function TDMAC1_DCH1INT.getCHCCIE : TBits_1; inline;
  31121. begin
  31122. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31123. end;
  31124. procedure TDMAC1_DCH1INT.setCHBCIE; inline;
  31125. begin
  31126. pTDefRegMap(@Self)^.&set := $00080000;
  31127. end;
  31128. procedure TDMAC1_DCH1INT.clearCHBCIE; inline;
  31129. begin
  31130. pTDefRegMap(@Self)^.clr := $00080000;
  31131. end;
  31132. procedure TDMAC1_DCH1INT.setCHBCIE(thebits : TBits_1); inline;
  31133. begin
  31134. if thebits = 0 then
  31135. pTDefRegMap(@Self)^.clr := $00080000
  31136. else
  31137. pTDefRegMap(@Self)^.&set := $00080000;
  31138. end;
  31139. function TDMAC1_DCH1INT.getCHBCIE : TBits_1; inline;
  31140. begin
  31141. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31142. end;
  31143. procedure TDMAC1_DCH1INT.setCHDHIE; inline;
  31144. begin
  31145. pTDefRegMap(@Self)^.&set := $00100000;
  31146. end;
  31147. procedure TDMAC1_DCH1INT.clearCHDHIE; inline;
  31148. begin
  31149. pTDefRegMap(@Self)^.clr := $00100000;
  31150. end;
  31151. procedure TDMAC1_DCH1INT.setCHDHIE(thebits : TBits_1); inline;
  31152. begin
  31153. if thebits = 0 then
  31154. pTDefRegMap(@Self)^.clr := $00100000
  31155. else
  31156. pTDefRegMap(@Self)^.&set := $00100000;
  31157. end;
  31158. function TDMAC1_DCH1INT.getCHDHIE : TBits_1; inline;
  31159. begin
  31160. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31161. end;
  31162. procedure TDMAC1_DCH1INT.setCHDDIE; inline;
  31163. begin
  31164. pTDefRegMap(@Self)^.&set := $00200000;
  31165. end;
  31166. procedure TDMAC1_DCH1INT.clearCHDDIE; inline;
  31167. begin
  31168. pTDefRegMap(@Self)^.clr := $00200000;
  31169. end;
  31170. procedure TDMAC1_DCH1INT.setCHDDIE(thebits : TBits_1); inline;
  31171. begin
  31172. if thebits = 0 then
  31173. pTDefRegMap(@Self)^.clr := $00200000
  31174. else
  31175. pTDefRegMap(@Self)^.&set := $00200000;
  31176. end;
  31177. function TDMAC1_DCH1INT.getCHDDIE : TBits_1; inline;
  31178. begin
  31179. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31180. end;
  31181. procedure TDMAC1_DCH1INT.setCHSHIE; inline;
  31182. begin
  31183. pTDefRegMap(@Self)^.&set := $00400000;
  31184. end;
  31185. procedure TDMAC1_DCH1INT.clearCHSHIE; inline;
  31186. begin
  31187. pTDefRegMap(@Self)^.clr := $00400000;
  31188. end;
  31189. procedure TDMAC1_DCH1INT.setCHSHIE(thebits : TBits_1); inline;
  31190. begin
  31191. if thebits = 0 then
  31192. pTDefRegMap(@Self)^.clr := $00400000
  31193. else
  31194. pTDefRegMap(@Self)^.&set := $00400000;
  31195. end;
  31196. function TDMAC1_DCH1INT.getCHSHIE : TBits_1; inline;
  31197. begin
  31198. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31199. end;
  31200. procedure TDMAC1_DCH1INT.setCHSDIE; inline;
  31201. begin
  31202. pTDefRegMap(@Self)^.&set := $00800000;
  31203. end;
  31204. procedure TDMAC1_DCH1INT.clearCHSDIE; inline;
  31205. begin
  31206. pTDefRegMap(@Self)^.clr := $00800000;
  31207. end;
  31208. procedure TDMAC1_DCH1INT.setCHSDIE(thebits : TBits_1); inline;
  31209. begin
  31210. if thebits = 0 then
  31211. pTDefRegMap(@Self)^.clr := $00800000
  31212. else
  31213. pTDefRegMap(@Self)^.&set := $00800000;
  31214. end;
  31215. function TDMAC1_DCH1INT.getCHSDIE : TBits_1; inline;
  31216. begin
  31217. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31218. end;
  31219. procedure TDMAC1_DCH1INT.setw(thebits : TBits_32); inline;
  31220. begin
  31221. pTDefRegMap(@Self)^.val := thebits;
  31222. end;
  31223. function TDMAC1_DCH1INT.getw : TBits_32; inline;
  31224. begin
  31225. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31226. end;
  31227. procedure TDMAC2_DCH2CON.setCHPRI(thebits : TBits_2); inline;
  31228. begin
  31229. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31230. end;
  31231. function TDMAC2_DCH2CON.getCHPRI : TBits_2; inline;
  31232. begin
  31233. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31234. end;
  31235. procedure TDMAC2_DCH2CON.setCHEDET; inline;
  31236. begin
  31237. pTDefRegMap(@Self)^.&set := $00000004;
  31238. end;
  31239. procedure TDMAC2_DCH2CON.clearCHEDET; inline;
  31240. begin
  31241. pTDefRegMap(@Self)^.clr := $00000004;
  31242. end;
  31243. procedure TDMAC2_DCH2CON.setCHEDET(thebits : TBits_1); inline;
  31244. begin
  31245. if thebits = 0 then
  31246. pTDefRegMap(@Self)^.clr := $00000004
  31247. else
  31248. pTDefRegMap(@Self)^.&set := $00000004;
  31249. end;
  31250. function TDMAC2_DCH2CON.getCHEDET : TBits_1; inline;
  31251. begin
  31252. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31253. end;
  31254. procedure TDMAC2_DCH2CON.setCHAEN; inline;
  31255. begin
  31256. pTDefRegMap(@Self)^.&set := $00000010;
  31257. end;
  31258. procedure TDMAC2_DCH2CON.clearCHAEN; inline;
  31259. begin
  31260. pTDefRegMap(@Self)^.clr := $00000010;
  31261. end;
  31262. procedure TDMAC2_DCH2CON.setCHAEN(thebits : TBits_1); inline;
  31263. begin
  31264. if thebits = 0 then
  31265. pTDefRegMap(@Self)^.clr := $00000010
  31266. else
  31267. pTDefRegMap(@Self)^.&set := $00000010;
  31268. end;
  31269. function TDMAC2_DCH2CON.getCHAEN : TBits_1; inline;
  31270. begin
  31271. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31272. end;
  31273. procedure TDMAC2_DCH2CON.setCHCHN; inline;
  31274. begin
  31275. pTDefRegMap(@Self)^.&set := $00000020;
  31276. end;
  31277. procedure TDMAC2_DCH2CON.clearCHCHN; inline;
  31278. begin
  31279. pTDefRegMap(@Self)^.clr := $00000020;
  31280. end;
  31281. procedure TDMAC2_DCH2CON.setCHCHN(thebits : TBits_1); inline;
  31282. begin
  31283. if thebits = 0 then
  31284. pTDefRegMap(@Self)^.clr := $00000020
  31285. else
  31286. pTDefRegMap(@Self)^.&set := $00000020;
  31287. end;
  31288. function TDMAC2_DCH2CON.getCHCHN : TBits_1; inline;
  31289. begin
  31290. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31291. end;
  31292. procedure TDMAC2_DCH2CON.setCHAED; inline;
  31293. begin
  31294. pTDefRegMap(@Self)^.&set := $00000040;
  31295. end;
  31296. procedure TDMAC2_DCH2CON.clearCHAED; inline;
  31297. begin
  31298. pTDefRegMap(@Self)^.clr := $00000040;
  31299. end;
  31300. procedure TDMAC2_DCH2CON.setCHAED(thebits : TBits_1); inline;
  31301. begin
  31302. if thebits = 0 then
  31303. pTDefRegMap(@Self)^.clr := $00000040
  31304. else
  31305. pTDefRegMap(@Self)^.&set := $00000040;
  31306. end;
  31307. function TDMAC2_DCH2CON.getCHAED : TBits_1; inline;
  31308. begin
  31309. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31310. end;
  31311. procedure TDMAC2_DCH2CON.setCHEN; inline;
  31312. begin
  31313. pTDefRegMap(@Self)^.&set := $00000080;
  31314. end;
  31315. procedure TDMAC2_DCH2CON.clearCHEN; inline;
  31316. begin
  31317. pTDefRegMap(@Self)^.clr := $00000080;
  31318. end;
  31319. procedure TDMAC2_DCH2CON.setCHEN(thebits : TBits_1); inline;
  31320. begin
  31321. if thebits = 0 then
  31322. pTDefRegMap(@Self)^.clr := $00000080
  31323. else
  31324. pTDefRegMap(@Self)^.&set := $00000080;
  31325. end;
  31326. function TDMAC2_DCH2CON.getCHEN : TBits_1; inline;
  31327. begin
  31328. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31329. end;
  31330. procedure TDMAC2_DCH2CON.setCHCHNS; inline;
  31331. begin
  31332. pTDefRegMap(@Self)^.&set := $00000100;
  31333. end;
  31334. procedure TDMAC2_DCH2CON.clearCHCHNS; inline;
  31335. begin
  31336. pTDefRegMap(@Self)^.clr := $00000100;
  31337. end;
  31338. procedure TDMAC2_DCH2CON.setCHCHNS(thebits : TBits_1); inline;
  31339. begin
  31340. if thebits = 0 then
  31341. pTDefRegMap(@Self)^.clr := $00000100
  31342. else
  31343. pTDefRegMap(@Self)^.&set := $00000100;
  31344. end;
  31345. function TDMAC2_DCH2CON.getCHCHNS : TBits_1; inline;
  31346. begin
  31347. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31348. end;
  31349. procedure TDMAC2_DCH2CON.setCHBUSY; inline;
  31350. begin
  31351. pTDefRegMap(@Self)^.&set := $00008000;
  31352. end;
  31353. procedure TDMAC2_DCH2CON.clearCHBUSY; inline;
  31354. begin
  31355. pTDefRegMap(@Self)^.clr := $00008000;
  31356. end;
  31357. procedure TDMAC2_DCH2CON.setCHBUSY(thebits : TBits_1); inline;
  31358. begin
  31359. if thebits = 0 then
  31360. pTDefRegMap(@Self)^.clr := $00008000
  31361. else
  31362. pTDefRegMap(@Self)^.&set := $00008000;
  31363. end;
  31364. function TDMAC2_DCH2CON.getCHBUSY : TBits_1; inline;
  31365. begin
  31366. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31367. end;
  31368. procedure TDMAC2_DCH2CON.setw(thebits : TBits_32); inline;
  31369. begin
  31370. pTDefRegMap(@Self)^.val := thebits;
  31371. end;
  31372. function TDMAC2_DCH2CON.getw : TBits_32; inline;
  31373. begin
  31374. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31375. end;
  31376. procedure TDMAC2_DCH2ECON.setAIRQEN; inline;
  31377. begin
  31378. pTDefRegMap(@Self)^.&set := $00000008;
  31379. end;
  31380. procedure TDMAC2_DCH2ECON.clearAIRQEN; inline;
  31381. begin
  31382. pTDefRegMap(@Self)^.clr := $00000008;
  31383. end;
  31384. procedure TDMAC2_DCH2ECON.setAIRQEN(thebits : TBits_1); inline;
  31385. begin
  31386. if thebits = 0 then
  31387. pTDefRegMap(@Self)^.clr := $00000008
  31388. else
  31389. pTDefRegMap(@Self)^.&set := $00000008;
  31390. end;
  31391. function TDMAC2_DCH2ECON.getAIRQEN : TBits_1; inline;
  31392. begin
  31393. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31394. end;
  31395. procedure TDMAC2_DCH2ECON.setSIRQEN; inline;
  31396. begin
  31397. pTDefRegMap(@Self)^.&set := $00000010;
  31398. end;
  31399. procedure TDMAC2_DCH2ECON.clearSIRQEN; inline;
  31400. begin
  31401. pTDefRegMap(@Self)^.clr := $00000010;
  31402. end;
  31403. procedure TDMAC2_DCH2ECON.setSIRQEN(thebits : TBits_1); inline;
  31404. begin
  31405. if thebits = 0 then
  31406. pTDefRegMap(@Self)^.clr := $00000010
  31407. else
  31408. pTDefRegMap(@Self)^.&set := $00000010;
  31409. end;
  31410. function TDMAC2_DCH2ECON.getSIRQEN : TBits_1; inline;
  31411. begin
  31412. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31413. end;
  31414. procedure TDMAC2_DCH2ECON.setPATEN; inline;
  31415. begin
  31416. pTDefRegMap(@Self)^.&set := $00000020;
  31417. end;
  31418. procedure TDMAC2_DCH2ECON.clearPATEN; inline;
  31419. begin
  31420. pTDefRegMap(@Self)^.clr := $00000020;
  31421. end;
  31422. procedure TDMAC2_DCH2ECON.setPATEN(thebits : TBits_1); inline;
  31423. begin
  31424. if thebits = 0 then
  31425. pTDefRegMap(@Self)^.clr := $00000020
  31426. else
  31427. pTDefRegMap(@Self)^.&set := $00000020;
  31428. end;
  31429. function TDMAC2_DCH2ECON.getPATEN : TBits_1; inline;
  31430. begin
  31431. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31432. end;
  31433. procedure TDMAC2_DCH2ECON.setCABORT; inline;
  31434. begin
  31435. pTDefRegMap(@Self)^.&set := $00000040;
  31436. end;
  31437. procedure TDMAC2_DCH2ECON.clearCABORT; inline;
  31438. begin
  31439. pTDefRegMap(@Self)^.clr := $00000040;
  31440. end;
  31441. procedure TDMAC2_DCH2ECON.setCABORT(thebits : TBits_1); inline;
  31442. begin
  31443. if thebits = 0 then
  31444. pTDefRegMap(@Self)^.clr := $00000040
  31445. else
  31446. pTDefRegMap(@Self)^.&set := $00000040;
  31447. end;
  31448. function TDMAC2_DCH2ECON.getCABORT : TBits_1; inline;
  31449. begin
  31450. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31451. end;
  31452. procedure TDMAC2_DCH2ECON.setCFORCE; inline;
  31453. begin
  31454. pTDefRegMap(@Self)^.&set := $00000080;
  31455. end;
  31456. procedure TDMAC2_DCH2ECON.clearCFORCE; inline;
  31457. begin
  31458. pTDefRegMap(@Self)^.clr := $00000080;
  31459. end;
  31460. procedure TDMAC2_DCH2ECON.setCFORCE(thebits : TBits_1); inline;
  31461. begin
  31462. if thebits = 0 then
  31463. pTDefRegMap(@Self)^.clr := $00000080
  31464. else
  31465. pTDefRegMap(@Self)^.&set := $00000080;
  31466. end;
  31467. function TDMAC2_DCH2ECON.getCFORCE : TBits_1; inline;
  31468. begin
  31469. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31470. end;
  31471. procedure TDMAC2_DCH2ECON.setCHSIRQ(thebits : TBits_8); inline;
  31472. begin
  31473. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  31474. end;
  31475. function TDMAC2_DCH2ECON.getCHSIRQ : TBits_8; inline;
  31476. begin
  31477. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  31478. end;
  31479. procedure TDMAC2_DCH2ECON.setCHAIRQ(thebits : TBits_8); inline;
  31480. begin
  31481. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  31482. end;
  31483. function TDMAC2_DCH2ECON.getCHAIRQ : TBits_8; inline;
  31484. begin
  31485. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  31486. end;
  31487. procedure TDMAC2_DCH2ECON.setw(thebits : TBits_32); inline;
  31488. begin
  31489. pTDefRegMap(@Self)^.val := thebits;
  31490. end;
  31491. function TDMAC2_DCH2ECON.getw : TBits_32; inline;
  31492. begin
  31493. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31494. end;
  31495. procedure TDMAC2_DCH2INT.setCHERIF; inline;
  31496. begin
  31497. pTDefRegMap(@Self)^.&set := $00000001;
  31498. end;
  31499. procedure TDMAC2_DCH2INT.clearCHERIF; inline;
  31500. begin
  31501. pTDefRegMap(@Self)^.clr := $00000001;
  31502. end;
  31503. procedure TDMAC2_DCH2INT.setCHERIF(thebits : TBits_1); inline;
  31504. begin
  31505. if thebits = 0 then
  31506. pTDefRegMap(@Self)^.clr := $00000001
  31507. else
  31508. pTDefRegMap(@Self)^.&set := $00000001;
  31509. end;
  31510. function TDMAC2_DCH2INT.getCHERIF : TBits_1; inline;
  31511. begin
  31512. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  31513. end;
  31514. procedure TDMAC2_DCH2INT.setCHTAIF; inline;
  31515. begin
  31516. pTDefRegMap(@Self)^.&set := $00000002;
  31517. end;
  31518. procedure TDMAC2_DCH2INT.clearCHTAIF; inline;
  31519. begin
  31520. pTDefRegMap(@Self)^.clr := $00000002;
  31521. end;
  31522. procedure TDMAC2_DCH2INT.setCHTAIF(thebits : TBits_1); inline;
  31523. begin
  31524. if thebits = 0 then
  31525. pTDefRegMap(@Self)^.clr := $00000002
  31526. else
  31527. pTDefRegMap(@Self)^.&set := $00000002;
  31528. end;
  31529. function TDMAC2_DCH2INT.getCHTAIF : TBits_1; inline;
  31530. begin
  31531. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  31532. end;
  31533. procedure TDMAC2_DCH2INT.setCHCCIF; inline;
  31534. begin
  31535. pTDefRegMap(@Self)^.&set := $00000004;
  31536. end;
  31537. procedure TDMAC2_DCH2INT.clearCHCCIF; inline;
  31538. begin
  31539. pTDefRegMap(@Self)^.clr := $00000004;
  31540. end;
  31541. procedure TDMAC2_DCH2INT.setCHCCIF(thebits : TBits_1); inline;
  31542. begin
  31543. if thebits = 0 then
  31544. pTDefRegMap(@Self)^.clr := $00000004
  31545. else
  31546. pTDefRegMap(@Self)^.&set := $00000004;
  31547. end;
  31548. function TDMAC2_DCH2INT.getCHCCIF : TBits_1; inline;
  31549. begin
  31550. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31551. end;
  31552. procedure TDMAC2_DCH2INT.setCHBCIF; inline;
  31553. begin
  31554. pTDefRegMap(@Self)^.&set := $00000008;
  31555. end;
  31556. procedure TDMAC2_DCH2INT.clearCHBCIF; inline;
  31557. begin
  31558. pTDefRegMap(@Self)^.clr := $00000008;
  31559. end;
  31560. procedure TDMAC2_DCH2INT.setCHBCIF(thebits : TBits_1); inline;
  31561. begin
  31562. if thebits = 0 then
  31563. pTDefRegMap(@Self)^.clr := $00000008
  31564. else
  31565. pTDefRegMap(@Self)^.&set := $00000008;
  31566. end;
  31567. function TDMAC2_DCH2INT.getCHBCIF : TBits_1; inline;
  31568. begin
  31569. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31570. end;
  31571. procedure TDMAC2_DCH2INT.setCHDHIF; inline;
  31572. begin
  31573. pTDefRegMap(@Self)^.&set := $00000010;
  31574. end;
  31575. procedure TDMAC2_DCH2INT.clearCHDHIF; inline;
  31576. begin
  31577. pTDefRegMap(@Self)^.clr := $00000010;
  31578. end;
  31579. procedure TDMAC2_DCH2INT.setCHDHIF(thebits : TBits_1); inline;
  31580. begin
  31581. if thebits = 0 then
  31582. pTDefRegMap(@Self)^.clr := $00000010
  31583. else
  31584. pTDefRegMap(@Self)^.&set := $00000010;
  31585. end;
  31586. function TDMAC2_DCH2INT.getCHDHIF : TBits_1; inline;
  31587. begin
  31588. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31589. end;
  31590. procedure TDMAC2_DCH2INT.setCHDDIF; inline;
  31591. begin
  31592. pTDefRegMap(@Self)^.&set := $00000020;
  31593. end;
  31594. procedure TDMAC2_DCH2INT.clearCHDDIF; inline;
  31595. begin
  31596. pTDefRegMap(@Self)^.clr := $00000020;
  31597. end;
  31598. procedure TDMAC2_DCH2INT.setCHDDIF(thebits : TBits_1); inline;
  31599. begin
  31600. if thebits = 0 then
  31601. pTDefRegMap(@Self)^.clr := $00000020
  31602. else
  31603. pTDefRegMap(@Self)^.&set := $00000020;
  31604. end;
  31605. function TDMAC2_DCH2INT.getCHDDIF : TBits_1; inline;
  31606. begin
  31607. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31608. end;
  31609. procedure TDMAC2_DCH2INT.setCHSHIF; inline;
  31610. begin
  31611. pTDefRegMap(@Self)^.&set := $00000040;
  31612. end;
  31613. procedure TDMAC2_DCH2INT.clearCHSHIF; inline;
  31614. begin
  31615. pTDefRegMap(@Self)^.clr := $00000040;
  31616. end;
  31617. procedure TDMAC2_DCH2INT.setCHSHIF(thebits : TBits_1); inline;
  31618. begin
  31619. if thebits = 0 then
  31620. pTDefRegMap(@Self)^.clr := $00000040
  31621. else
  31622. pTDefRegMap(@Self)^.&set := $00000040;
  31623. end;
  31624. function TDMAC2_DCH2INT.getCHSHIF : TBits_1; inline;
  31625. begin
  31626. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31627. end;
  31628. procedure TDMAC2_DCH2INT.setCHSDIF; inline;
  31629. begin
  31630. pTDefRegMap(@Self)^.&set := $00000080;
  31631. end;
  31632. procedure TDMAC2_DCH2INT.clearCHSDIF; inline;
  31633. begin
  31634. pTDefRegMap(@Self)^.clr := $00000080;
  31635. end;
  31636. procedure TDMAC2_DCH2INT.setCHSDIF(thebits : TBits_1); inline;
  31637. begin
  31638. if thebits = 0 then
  31639. pTDefRegMap(@Self)^.clr := $00000080
  31640. else
  31641. pTDefRegMap(@Self)^.&set := $00000080;
  31642. end;
  31643. function TDMAC2_DCH2INT.getCHSDIF : TBits_1; inline;
  31644. begin
  31645. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31646. end;
  31647. procedure TDMAC2_DCH2INT.setCHERIE; inline;
  31648. begin
  31649. pTDefRegMap(@Self)^.&set := $00010000;
  31650. end;
  31651. procedure TDMAC2_DCH2INT.clearCHERIE; inline;
  31652. begin
  31653. pTDefRegMap(@Self)^.clr := $00010000;
  31654. end;
  31655. procedure TDMAC2_DCH2INT.setCHERIE(thebits : TBits_1); inline;
  31656. begin
  31657. if thebits = 0 then
  31658. pTDefRegMap(@Self)^.clr := $00010000
  31659. else
  31660. pTDefRegMap(@Self)^.&set := $00010000;
  31661. end;
  31662. function TDMAC2_DCH2INT.getCHERIE : TBits_1; inline;
  31663. begin
  31664. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  31665. end;
  31666. procedure TDMAC2_DCH2INT.setCHTAIE; inline;
  31667. begin
  31668. pTDefRegMap(@Self)^.&set := $00020000;
  31669. end;
  31670. procedure TDMAC2_DCH2INT.clearCHTAIE; inline;
  31671. begin
  31672. pTDefRegMap(@Self)^.clr := $00020000;
  31673. end;
  31674. procedure TDMAC2_DCH2INT.setCHTAIE(thebits : TBits_1); inline;
  31675. begin
  31676. if thebits = 0 then
  31677. pTDefRegMap(@Self)^.clr := $00020000
  31678. else
  31679. pTDefRegMap(@Self)^.&set := $00020000;
  31680. end;
  31681. function TDMAC2_DCH2INT.getCHTAIE : TBits_1; inline;
  31682. begin
  31683. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  31684. end;
  31685. procedure TDMAC2_DCH2INT.setCHCCIE; inline;
  31686. begin
  31687. pTDefRegMap(@Self)^.&set := $00040000;
  31688. end;
  31689. procedure TDMAC2_DCH2INT.clearCHCCIE; inline;
  31690. begin
  31691. pTDefRegMap(@Self)^.clr := $00040000;
  31692. end;
  31693. procedure TDMAC2_DCH2INT.setCHCCIE(thebits : TBits_1); inline;
  31694. begin
  31695. if thebits = 0 then
  31696. pTDefRegMap(@Self)^.clr := $00040000
  31697. else
  31698. pTDefRegMap(@Self)^.&set := $00040000;
  31699. end;
  31700. function TDMAC2_DCH2INT.getCHCCIE : TBits_1; inline;
  31701. begin
  31702. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  31703. end;
  31704. procedure TDMAC2_DCH2INT.setCHBCIE; inline;
  31705. begin
  31706. pTDefRegMap(@Self)^.&set := $00080000;
  31707. end;
  31708. procedure TDMAC2_DCH2INT.clearCHBCIE; inline;
  31709. begin
  31710. pTDefRegMap(@Self)^.clr := $00080000;
  31711. end;
  31712. procedure TDMAC2_DCH2INT.setCHBCIE(thebits : TBits_1); inline;
  31713. begin
  31714. if thebits = 0 then
  31715. pTDefRegMap(@Self)^.clr := $00080000
  31716. else
  31717. pTDefRegMap(@Self)^.&set := $00080000;
  31718. end;
  31719. function TDMAC2_DCH2INT.getCHBCIE : TBits_1; inline;
  31720. begin
  31721. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  31722. end;
  31723. procedure TDMAC2_DCH2INT.setCHDHIE; inline;
  31724. begin
  31725. pTDefRegMap(@Self)^.&set := $00100000;
  31726. end;
  31727. procedure TDMAC2_DCH2INT.clearCHDHIE; inline;
  31728. begin
  31729. pTDefRegMap(@Self)^.clr := $00100000;
  31730. end;
  31731. procedure TDMAC2_DCH2INT.setCHDHIE(thebits : TBits_1); inline;
  31732. begin
  31733. if thebits = 0 then
  31734. pTDefRegMap(@Self)^.clr := $00100000
  31735. else
  31736. pTDefRegMap(@Self)^.&set := $00100000;
  31737. end;
  31738. function TDMAC2_DCH2INT.getCHDHIE : TBits_1; inline;
  31739. begin
  31740. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  31741. end;
  31742. procedure TDMAC2_DCH2INT.setCHDDIE; inline;
  31743. begin
  31744. pTDefRegMap(@Self)^.&set := $00200000;
  31745. end;
  31746. procedure TDMAC2_DCH2INT.clearCHDDIE; inline;
  31747. begin
  31748. pTDefRegMap(@Self)^.clr := $00200000;
  31749. end;
  31750. procedure TDMAC2_DCH2INT.setCHDDIE(thebits : TBits_1); inline;
  31751. begin
  31752. if thebits = 0 then
  31753. pTDefRegMap(@Self)^.clr := $00200000
  31754. else
  31755. pTDefRegMap(@Self)^.&set := $00200000;
  31756. end;
  31757. function TDMAC2_DCH2INT.getCHDDIE : TBits_1; inline;
  31758. begin
  31759. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  31760. end;
  31761. procedure TDMAC2_DCH2INT.setCHSHIE; inline;
  31762. begin
  31763. pTDefRegMap(@Self)^.&set := $00400000;
  31764. end;
  31765. procedure TDMAC2_DCH2INT.clearCHSHIE; inline;
  31766. begin
  31767. pTDefRegMap(@Self)^.clr := $00400000;
  31768. end;
  31769. procedure TDMAC2_DCH2INT.setCHSHIE(thebits : TBits_1); inline;
  31770. begin
  31771. if thebits = 0 then
  31772. pTDefRegMap(@Self)^.clr := $00400000
  31773. else
  31774. pTDefRegMap(@Self)^.&set := $00400000;
  31775. end;
  31776. function TDMAC2_DCH2INT.getCHSHIE : TBits_1; inline;
  31777. begin
  31778. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  31779. end;
  31780. procedure TDMAC2_DCH2INT.setCHSDIE; inline;
  31781. begin
  31782. pTDefRegMap(@Self)^.&set := $00800000;
  31783. end;
  31784. procedure TDMAC2_DCH2INT.clearCHSDIE; inline;
  31785. begin
  31786. pTDefRegMap(@Self)^.clr := $00800000;
  31787. end;
  31788. procedure TDMAC2_DCH2INT.setCHSDIE(thebits : TBits_1); inline;
  31789. begin
  31790. if thebits = 0 then
  31791. pTDefRegMap(@Self)^.clr := $00800000
  31792. else
  31793. pTDefRegMap(@Self)^.&set := $00800000;
  31794. end;
  31795. function TDMAC2_DCH2INT.getCHSDIE : TBits_1; inline;
  31796. begin
  31797. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  31798. end;
  31799. procedure TDMAC2_DCH2INT.setw(thebits : TBits_32); inline;
  31800. begin
  31801. pTDefRegMap(@Self)^.val := thebits;
  31802. end;
  31803. function TDMAC2_DCH2INT.getw : TBits_32; inline;
  31804. begin
  31805. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31806. end;
  31807. procedure TDMAC3_DCH3CON.setCHPRI(thebits : TBits_2); inline;
  31808. begin
  31809. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  31810. end;
  31811. function TDMAC3_DCH3CON.getCHPRI : TBits_2; inline;
  31812. begin
  31813. getCHPRI := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  31814. end;
  31815. procedure TDMAC3_DCH3CON.setCHEDET; inline;
  31816. begin
  31817. pTDefRegMap(@Self)^.&set := $00000004;
  31818. end;
  31819. procedure TDMAC3_DCH3CON.clearCHEDET; inline;
  31820. begin
  31821. pTDefRegMap(@Self)^.clr := $00000004;
  31822. end;
  31823. procedure TDMAC3_DCH3CON.setCHEDET(thebits : TBits_1); inline;
  31824. begin
  31825. if thebits = 0 then
  31826. pTDefRegMap(@Self)^.clr := $00000004
  31827. else
  31828. pTDefRegMap(@Self)^.&set := $00000004;
  31829. end;
  31830. function TDMAC3_DCH3CON.getCHEDET : TBits_1; inline;
  31831. begin
  31832. getCHEDET := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  31833. end;
  31834. procedure TDMAC3_DCH3CON.setCHAEN; inline;
  31835. begin
  31836. pTDefRegMap(@Self)^.&set := $00000010;
  31837. end;
  31838. procedure TDMAC3_DCH3CON.clearCHAEN; inline;
  31839. begin
  31840. pTDefRegMap(@Self)^.clr := $00000010;
  31841. end;
  31842. procedure TDMAC3_DCH3CON.setCHAEN(thebits : TBits_1); inline;
  31843. begin
  31844. if thebits = 0 then
  31845. pTDefRegMap(@Self)^.clr := $00000010
  31846. else
  31847. pTDefRegMap(@Self)^.&set := $00000010;
  31848. end;
  31849. function TDMAC3_DCH3CON.getCHAEN : TBits_1; inline;
  31850. begin
  31851. getCHAEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31852. end;
  31853. procedure TDMAC3_DCH3CON.setCHCHN; inline;
  31854. begin
  31855. pTDefRegMap(@Self)^.&set := $00000020;
  31856. end;
  31857. procedure TDMAC3_DCH3CON.clearCHCHN; inline;
  31858. begin
  31859. pTDefRegMap(@Self)^.clr := $00000020;
  31860. end;
  31861. procedure TDMAC3_DCH3CON.setCHCHN(thebits : TBits_1); inline;
  31862. begin
  31863. if thebits = 0 then
  31864. pTDefRegMap(@Self)^.clr := $00000020
  31865. else
  31866. pTDefRegMap(@Self)^.&set := $00000020;
  31867. end;
  31868. function TDMAC3_DCH3CON.getCHCHN : TBits_1; inline;
  31869. begin
  31870. getCHCHN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  31871. end;
  31872. procedure TDMAC3_DCH3CON.setCHAED; inline;
  31873. begin
  31874. pTDefRegMap(@Self)^.&set := $00000040;
  31875. end;
  31876. procedure TDMAC3_DCH3CON.clearCHAED; inline;
  31877. begin
  31878. pTDefRegMap(@Self)^.clr := $00000040;
  31879. end;
  31880. procedure TDMAC3_DCH3CON.setCHAED(thebits : TBits_1); inline;
  31881. begin
  31882. if thebits = 0 then
  31883. pTDefRegMap(@Self)^.clr := $00000040
  31884. else
  31885. pTDefRegMap(@Self)^.&set := $00000040;
  31886. end;
  31887. function TDMAC3_DCH3CON.getCHAED : TBits_1; inline;
  31888. begin
  31889. getCHAED := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  31890. end;
  31891. procedure TDMAC3_DCH3CON.setCHEN; inline;
  31892. begin
  31893. pTDefRegMap(@Self)^.&set := $00000080;
  31894. end;
  31895. procedure TDMAC3_DCH3CON.clearCHEN; inline;
  31896. begin
  31897. pTDefRegMap(@Self)^.clr := $00000080;
  31898. end;
  31899. procedure TDMAC3_DCH3CON.setCHEN(thebits : TBits_1); inline;
  31900. begin
  31901. if thebits = 0 then
  31902. pTDefRegMap(@Self)^.clr := $00000080
  31903. else
  31904. pTDefRegMap(@Self)^.&set := $00000080;
  31905. end;
  31906. function TDMAC3_DCH3CON.getCHEN : TBits_1; inline;
  31907. begin
  31908. getCHEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  31909. end;
  31910. procedure TDMAC3_DCH3CON.setCHCHNS; inline;
  31911. begin
  31912. pTDefRegMap(@Self)^.&set := $00000100;
  31913. end;
  31914. procedure TDMAC3_DCH3CON.clearCHCHNS; inline;
  31915. begin
  31916. pTDefRegMap(@Self)^.clr := $00000100;
  31917. end;
  31918. procedure TDMAC3_DCH3CON.setCHCHNS(thebits : TBits_1); inline;
  31919. begin
  31920. if thebits = 0 then
  31921. pTDefRegMap(@Self)^.clr := $00000100
  31922. else
  31923. pTDefRegMap(@Self)^.&set := $00000100;
  31924. end;
  31925. function TDMAC3_DCH3CON.getCHCHNS : TBits_1; inline;
  31926. begin
  31927. getCHCHNS := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  31928. end;
  31929. procedure TDMAC3_DCH3CON.setCHBUSY; inline;
  31930. begin
  31931. pTDefRegMap(@Self)^.&set := $00008000;
  31932. end;
  31933. procedure TDMAC3_DCH3CON.clearCHBUSY; inline;
  31934. begin
  31935. pTDefRegMap(@Self)^.clr := $00008000;
  31936. end;
  31937. procedure TDMAC3_DCH3CON.setCHBUSY(thebits : TBits_1); inline;
  31938. begin
  31939. if thebits = 0 then
  31940. pTDefRegMap(@Self)^.clr := $00008000
  31941. else
  31942. pTDefRegMap(@Self)^.&set := $00008000;
  31943. end;
  31944. function TDMAC3_DCH3CON.getCHBUSY : TBits_1; inline;
  31945. begin
  31946. getCHBUSY := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  31947. end;
  31948. procedure TDMAC3_DCH3CON.setw(thebits : TBits_32); inline;
  31949. begin
  31950. pTDefRegMap(@Self)^.val := thebits;
  31951. end;
  31952. function TDMAC3_DCH3CON.getw : TBits_32; inline;
  31953. begin
  31954. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  31955. end;
  31956. procedure TDMAC3_DCH3ECON.setAIRQEN; inline;
  31957. begin
  31958. pTDefRegMap(@Self)^.&set := $00000008;
  31959. end;
  31960. procedure TDMAC3_DCH3ECON.clearAIRQEN; inline;
  31961. begin
  31962. pTDefRegMap(@Self)^.clr := $00000008;
  31963. end;
  31964. procedure TDMAC3_DCH3ECON.setAIRQEN(thebits : TBits_1); inline;
  31965. begin
  31966. if thebits = 0 then
  31967. pTDefRegMap(@Self)^.clr := $00000008
  31968. else
  31969. pTDefRegMap(@Self)^.&set := $00000008;
  31970. end;
  31971. function TDMAC3_DCH3ECON.getAIRQEN : TBits_1; inline;
  31972. begin
  31973. getAIRQEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  31974. end;
  31975. procedure TDMAC3_DCH3ECON.setSIRQEN; inline;
  31976. begin
  31977. pTDefRegMap(@Self)^.&set := $00000010;
  31978. end;
  31979. procedure TDMAC3_DCH3ECON.clearSIRQEN; inline;
  31980. begin
  31981. pTDefRegMap(@Self)^.clr := $00000010;
  31982. end;
  31983. procedure TDMAC3_DCH3ECON.setSIRQEN(thebits : TBits_1); inline;
  31984. begin
  31985. if thebits = 0 then
  31986. pTDefRegMap(@Self)^.clr := $00000010
  31987. else
  31988. pTDefRegMap(@Self)^.&set := $00000010;
  31989. end;
  31990. function TDMAC3_DCH3ECON.getSIRQEN : TBits_1; inline;
  31991. begin
  31992. getSIRQEN := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  31993. end;
  31994. procedure TDMAC3_DCH3ECON.setPATEN; inline;
  31995. begin
  31996. pTDefRegMap(@Self)^.&set := $00000020;
  31997. end;
  31998. procedure TDMAC3_DCH3ECON.clearPATEN; inline;
  31999. begin
  32000. pTDefRegMap(@Self)^.clr := $00000020;
  32001. end;
  32002. procedure TDMAC3_DCH3ECON.setPATEN(thebits : TBits_1); inline;
  32003. begin
  32004. if thebits = 0 then
  32005. pTDefRegMap(@Self)^.clr := $00000020
  32006. else
  32007. pTDefRegMap(@Self)^.&set := $00000020;
  32008. end;
  32009. function TDMAC3_DCH3ECON.getPATEN : TBits_1; inline;
  32010. begin
  32011. getPATEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32012. end;
  32013. procedure TDMAC3_DCH3ECON.setCABORT; inline;
  32014. begin
  32015. pTDefRegMap(@Self)^.&set := $00000040;
  32016. end;
  32017. procedure TDMAC3_DCH3ECON.clearCABORT; inline;
  32018. begin
  32019. pTDefRegMap(@Self)^.clr := $00000040;
  32020. end;
  32021. procedure TDMAC3_DCH3ECON.setCABORT(thebits : TBits_1); inline;
  32022. begin
  32023. if thebits = 0 then
  32024. pTDefRegMap(@Self)^.clr := $00000040
  32025. else
  32026. pTDefRegMap(@Self)^.&set := $00000040;
  32027. end;
  32028. function TDMAC3_DCH3ECON.getCABORT : TBits_1; inline;
  32029. begin
  32030. getCABORT := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32031. end;
  32032. procedure TDMAC3_DCH3ECON.setCFORCE; inline;
  32033. begin
  32034. pTDefRegMap(@Self)^.&set := $00000080;
  32035. end;
  32036. procedure TDMAC3_DCH3ECON.clearCFORCE; inline;
  32037. begin
  32038. pTDefRegMap(@Self)^.clr := $00000080;
  32039. end;
  32040. procedure TDMAC3_DCH3ECON.setCFORCE(thebits : TBits_1); inline;
  32041. begin
  32042. if thebits = 0 then
  32043. pTDefRegMap(@Self)^.clr := $00000080
  32044. else
  32045. pTDefRegMap(@Self)^.&set := $00000080;
  32046. end;
  32047. function TDMAC3_DCH3ECON.getCFORCE : TBits_1; inline;
  32048. begin
  32049. getCFORCE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32050. end;
  32051. procedure TDMAC3_DCH3ECON.setCHSIRQ(thebits : TBits_8); inline;
  32052. begin
  32053. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF00FF or ( thebits shl 8 );
  32054. end;
  32055. function TDMAC3_DCH3ECON.getCHSIRQ : TBits_8; inline;
  32056. begin
  32057. getCHSIRQ := (pTDefRegMap(@Self)^.val and $0000FF00) shr 8;
  32058. end;
  32059. procedure TDMAC3_DCH3ECON.setCHAIRQ(thebits : TBits_8); inline;
  32060. begin
  32061. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FF00FFFF or ( thebits shl 16 );
  32062. end;
  32063. function TDMAC3_DCH3ECON.getCHAIRQ : TBits_8; inline;
  32064. begin
  32065. getCHAIRQ := (pTDefRegMap(@Self)^.val and $00FF0000) shr 16;
  32066. end;
  32067. procedure TDMAC3_DCH3ECON.setw(thebits : TBits_32); inline;
  32068. begin
  32069. pTDefRegMap(@Self)^.val := thebits;
  32070. end;
  32071. function TDMAC3_DCH3ECON.getw : TBits_32; inline;
  32072. begin
  32073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32074. end;
  32075. procedure TDMAC3_DCH3INT.setCHERIF; inline;
  32076. begin
  32077. pTDefRegMap(@Self)^.&set := $00000001;
  32078. end;
  32079. procedure TDMAC3_DCH3INT.clearCHERIF; inline;
  32080. begin
  32081. pTDefRegMap(@Self)^.clr := $00000001;
  32082. end;
  32083. procedure TDMAC3_DCH3INT.setCHERIF(thebits : TBits_1); inline;
  32084. begin
  32085. if thebits = 0 then
  32086. pTDefRegMap(@Self)^.clr := $00000001
  32087. else
  32088. pTDefRegMap(@Self)^.&set := $00000001;
  32089. end;
  32090. function TDMAC3_DCH3INT.getCHERIF : TBits_1; inline;
  32091. begin
  32092. getCHERIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32093. end;
  32094. procedure TDMAC3_DCH3INT.setCHTAIF; inline;
  32095. begin
  32096. pTDefRegMap(@Self)^.&set := $00000002;
  32097. end;
  32098. procedure TDMAC3_DCH3INT.clearCHTAIF; inline;
  32099. begin
  32100. pTDefRegMap(@Self)^.clr := $00000002;
  32101. end;
  32102. procedure TDMAC3_DCH3INT.setCHTAIF(thebits : TBits_1); inline;
  32103. begin
  32104. if thebits = 0 then
  32105. pTDefRegMap(@Self)^.clr := $00000002
  32106. else
  32107. pTDefRegMap(@Self)^.&set := $00000002;
  32108. end;
  32109. function TDMAC3_DCH3INT.getCHTAIF : TBits_1; inline;
  32110. begin
  32111. getCHTAIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32112. end;
  32113. procedure TDMAC3_DCH3INT.setCHCCIF; inline;
  32114. begin
  32115. pTDefRegMap(@Self)^.&set := $00000004;
  32116. end;
  32117. procedure TDMAC3_DCH3INT.clearCHCCIF; inline;
  32118. begin
  32119. pTDefRegMap(@Self)^.clr := $00000004;
  32120. end;
  32121. procedure TDMAC3_DCH3INT.setCHCCIF(thebits : TBits_1); inline;
  32122. begin
  32123. if thebits = 0 then
  32124. pTDefRegMap(@Self)^.clr := $00000004
  32125. else
  32126. pTDefRegMap(@Self)^.&set := $00000004;
  32127. end;
  32128. function TDMAC3_DCH3INT.getCHCCIF : TBits_1; inline;
  32129. begin
  32130. getCHCCIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32131. end;
  32132. procedure TDMAC3_DCH3INT.setCHBCIF; inline;
  32133. begin
  32134. pTDefRegMap(@Self)^.&set := $00000008;
  32135. end;
  32136. procedure TDMAC3_DCH3INT.clearCHBCIF; inline;
  32137. begin
  32138. pTDefRegMap(@Self)^.clr := $00000008;
  32139. end;
  32140. procedure TDMAC3_DCH3INT.setCHBCIF(thebits : TBits_1); inline;
  32141. begin
  32142. if thebits = 0 then
  32143. pTDefRegMap(@Self)^.clr := $00000008
  32144. else
  32145. pTDefRegMap(@Self)^.&set := $00000008;
  32146. end;
  32147. function TDMAC3_DCH3INT.getCHBCIF : TBits_1; inline;
  32148. begin
  32149. getCHBCIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32150. end;
  32151. procedure TDMAC3_DCH3INT.setCHDHIF; inline;
  32152. begin
  32153. pTDefRegMap(@Self)^.&set := $00000010;
  32154. end;
  32155. procedure TDMAC3_DCH3INT.clearCHDHIF; inline;
  32156. begin
  32157. pTDefRegMap(@Self)^.clr := $00000010;
  32158. end;
  32159. procedure TDMAC3_DCH3INT.setCHDHIF(thebits : TBits_1); inline;
  32160. begin
  32161. if thebits = 0 then
  32162. pTDefRegMap(@Self)^.clr := $00000010
  32163. else
  32164. pTDefRegMap(@Self)^.&set := $00000010;
  32165. end;
  32166. function TDMAC3_DCH3INT.getCHDHIF : TBits_1; inline;
  32167. begin
  32168. getCHDHIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32169. end;
  32170. procedure TDMAC3_DCH3INT.setCHDDIF; inline;
  32171. begin
  32172. pTDefRegMap(@Self)^.&set := $00000020;
  32173. end;
  32174. procedure TDMAC3_DCH3INT.clearCHDDIF; inline;
  32175. begin
  32176. pTDefRegMap(@Self)^.clr := $00000020;
  32177. end;
  32178. procedure TDMAC3_DCH3INT.setCHDDIF(thebits : TBits_1); inline;
  32179. begin
  32180. if thebits = 0 then
  32181. pTDefRegMap(@Self)^.clr := $00000020
  32182. else
  32183. pTDefRegMap(@Self)^.&set := $00000020;
  32184. end;
  32185. function TDMAC3_DCH3INT.getCHDDIF : TBits_1; inline;
  32186. begin
  32187. getCHDDIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32188. end;
  32189. procedure TDMAC3_DCH3INT.setCHSHIF; inline;
  32190. begin
  32191. pTDefRegMap(@Self)^.&set := $00000040;
  32192. end;
  32193. procedure TDMAC3_DCH3INT.clearCHSHIF; inline;
  32194. begin
  32195. pTDefRegMap(@Self)^.clr := $00000040;
  32196. end;
  32197. procedure TDMAC3_DCH3INT.setCHSHIF(thebits : TBits_1); inline;
  32198. begin
  32199. if thebits = 0 then
  32200. pTDefRegMap(@Self)^.clr := $00000040
  32201. else
  32202. pTDefRegMap(@Self)^.&set := $00000040;
  32203. end;
  32204. function TDMAC3_DCH3INT.getCHSHIF : TBits_1; inline;
  32205. begin
  32206. getCHSHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32207. end;
  32208. procedure TDMAC3_DCH3INT.setCHSDIF; inline;
  32209. begin
  32210. pTDefRegMap(@Self)^.&set := $00000080;
  32211. end;
  32212. procedure TDMAC3_DCH3INT.clearCHSDIF; inline;
  32213. begin
  32214. pTDefRegMap(@Self)^.clr := $00000080;
  32215. end;
  32216. procedure TDMAC3_DCH3INT.setCHSDIF(thebits : TBits_1); inline;
  32217. begin
  32218. if thebits = 0 then
  32219. pTDefRegMap(@Self)^.clr := $00000080
  32220. else
  32221. pTDefRegMap(@Self)^.&set := $00000080;
  32222. end;
  32223. function TDMAC3_DCH3INT.getCHSDIF : TBits_1; inline;
  32224. begin
  32225. getCHSDIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32226. end;
  32227. procedure TDMAC3_DCH3INT.setCHERIE; inline;
  32228. begin
  32229. pTDefRegMap(@Self)^.&set := $00010000;
  32230. end;
  32231. procedure TDMAC3_DCH3INT.clearCHERIE; inline;
  32232. begin
  32233. pTDefRegMap(@Self)^.clr := $00010000;
  32234. end;
  32235. procedure TDMAC3_DCH3INT.setCHERIE(thebits : TBits_1); inline;
  32236. begin
  32237. if thebits = 0 then
  32238. pTDefRegMap(@Self)^.clr := $00010000
  32239. else
  32240. pTDefRegMap(@Self)^.&set := $00010000;
  32241. end;
  32242. function TDMAC3_DCH3INT.getCHERIE : TBits_1; inline;
  32243. begin
  32244. getCHERIE := (pTDefRegMap(@Self)^.val and $00010000) shr 16;
  32245. end;
  32246. procedure TDMAC3_DCH3INT.setCHTAIE; inline;
  32247. begin
  32248. pTDefRegMap(@Self)^.&set := $00020000;
  32249. end;
  32250. procedure TDMAC3_DCH3INT.clearCHTAIE; inline;
  32251. begin
  32252. pTDefRegMap(@Self)^.clr := $00020000;
  32253. end;
  32254. procedure TDMAC3_DCH3INT.setCHTAIE(thebits : TBits_1); inline;
  32255. begin
  32256. if thebits = 0 then
  32257. pTDefRegMap(@Self)^.clr := $00020000
  32258. else
  32259. pTDefRegMap(@Self)^.&set := $00020000;
  32260. end;
  32261. function TDMAC3_DCH3INT.getCHTAIE : TBits_1; inline;
  32262. begin
  32263. getCHTAIE := (pTDefRegMap(@Self)^.val and $00020000) shr 17;
  32264. end;
  32265. procedure TDMAC3_DCH3INT.setCHCCIE; inline;
  32266. begin
  32267. pTDefRegMap(@Self)^.&set := $00040000;
  32268. end;
  32269. procedure TDMAC3_DCH3INT.clearCHCCIE; inline;
  32270. begin
  32271. pTDefRegMap(@Self)^.clr := $00040000;
  32272. end;
  32273. procedure TDMAC3_DCH3INT.setCHCCIE(thebits : TBits_1); inline;
  32274. begin
  32275. if thebits = 0 then
  32276. pTDefRegMap(@Self)^.clr := $00040000
  32277. else
  32278. pTDefRegMap(@Self)^.&set := $00040000;
  32279. end;
  32280. function TDMAC3_DCH3INT.getCHCCIE : TBits_1; inline;
  32281. begin
  32282. getCHCCIE := (pTDefRegMap(@Self)^.val and $00040000) shr 18;
  32283. end;
  32284. procedure TDMAC3_DCH3INT.setCHBCIE; inline;
  32285. begin
  32286. pTDefRegMap(@Self)^.&set := $00080000;
  32287. end;
  32288. procedure TDMAC3_DCH3INT.clearCHBCIE; inline;
  32289. begin
  32290. pTDefRegMap(@Self)^.clr := $00080000;
  32291. end;
  32292. procedure TDMAC3_DCH3INT.setCHBCIE(thebits : TBits_1); inline;
  32293. begin
  32294. if thebits = 0 then
  32295. pTDefRegMap(@Self)^.clr := $00080000
  32296. else
  32297. pTDefRegMap(@Self)^.&set := $00080000;
  32298. end;
  32299. function TDMAC3_DCH3INT.getCHBCIE : TBits_1; inline;
  32300. begin
  32301. getCHBCIE := (pTDefRegMap(@Self)^.val and $00080000) shr 19;
  32302. end;
  32303. procedure TDMAC3_DCH3INT.setCHDHIE; inline;
  32304. begin
  32305. pTDefRegMap(@Self)^.&set := $00100000;
  32306. end;
  32307. procedure TDMAC3_DCH3INT.clearCHDHIE; inline;
  32308. begin
  32309. pTDefRegMap(@Self)^.clr := $00100000;
  32310. end;
  32311. procedure TDMAC3_DCH3INT.setCHDHIE(thebits : TBits_1); inline;
  32312. begin
  32313. if thebits = 0 then
  32314. pTDefRegMap(@Self)^.clr := $00100000
  32315. else
  32316. pTDefRegMap(@Self)^.&set := $00100000;
  32317. end;
  32318. function TDMAC3_DCH3INT.getCHDHIE : TBits_1; inline;
  32319. begin
  32320. getCHDHIE := (pTDefRegMap(@Self)^.val and $00100000) shr 20;
  32321. end;
  32322. procedure TDMAC3_DCH3INT.setCHDDIE; inline;
  32323. begin
  32324. pTDefRegMap(@Self)^.&set := $00200000;
  32325. end;
  32326. procedure TDMAC3_DCH3INT.clearCHDDIE; inline;
  32327. begin
  32328. pTDefRegMap(@Self)^.clr := $00200000;
  32329. end;
  32330. procedure TDMAC3_DCH3INT.setCHDDIE(thebits : TBits_1); inline;
  32331. begin
  32332. if thebits = 0 then
  32333. pTDefRegMap(@Self)^.clr := $00200000
  32334. else
  32335. pTDefRegMap(@Self)^.&set := $00200000;
  32336. end;
  32337. function TDMAC3_DCH3INT.getCHDDIE : TBits_1; inline;
  32338. begin
  32339. getCHDDIE := (pTDefRegMap(@Self)^.val and $00200000) shr 21;
  32340. end;
  32341. procedure TDMAC3_DCH3INT.setCHSHIE; inline;
  32342. begin
  32343. pTDefRegMap(@Self)^.&set := $00400000;
  32344. end;
  32345. procedure TDMAC3_DCH3INT.clearCHSHIE; inline;
  32346. begin
  32347. pTDefRegMap(@Self)^.clr := $00400000;
  32348. end;
  32349. procedure TDMAC3_DCH3INT.setCHSHIE(thebits : TBits_1); inline;
  32350. begin
  32351. if thebits = 0 then
  32352. pTDefRegMap(@Self)^.clr := $00400000
  32353. else
  32354. pTDefRegMap(@Self)^.&set := $00400000;
  32355. end;
  32356. function TDMAC3_DCH3INT.getCHSHIE : TBits_1; inline;
  32357. begin
  32358. getCHSHIE := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  32359. end;
  32360. procedure TDMAC3_DCH3INT.setCHSDIE; inline;
  32361. begin
  32362. pTDefRegMap(@Self)^.&set := $00800000;
  32363. end;
  32364. procedure TDMAC3_DCH3INT.clearCHSDIE; inline;
  32365. begin
  32366. pTDefRegMap(@Self)^.clr := $00800000;
  32367. end;
  32368. procedure TDMAC3_DCH3INT.setCHSDIE(thebits : TBits_1); inline;
  32369. begin
  32370. if thebits = 0 then
  32371. pTDefRegMap(@Self)^.clr := $00800000
  32372. else
  32373. pTDefRegMap(@Self)^.&set := $00800000;
  32374. end;
  32375. function TDMAC3_DCH3INT.getCHSDIE : TBits_1; inline;
  32376. begin
  32377. getCHSDIE := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  32378. end;
  32379. procedure TDMAC3_DCH3INT.setw(thebits : TBits_32); inline;
  32380. begin
  32381. pTDefRegMap(@Self)^.val := thebits;
  32382. end;
  32383. function TDMAC3_DCH3INT.getw : TBits_32; inline;
  32384. begin
  32385. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  32386. end;
  32387. procedure TDMAC3_U1IR.setURSTIF_DETACHIF; inline;
  32388. begin
  32389. pTDefRegMap(@Self)^.&set := $00000001;
  32390. end;
  32391. procedure TDMAC3_U1IR.clearURSTIF_DETACHIF; inline;
  32392. begin
  32393. pTDefRegMap(@Self)^.clr := $00000001;
  32394. end;
  32395. procedure TDMAC3_U1IR.setURSTIF_DETACHIF(thebits : TBits_1); inline;
  32396. begin
  32397. if thebits = 0 then
  32398. pTDefRegMap(@Self)^.clr := $00000001
  32399. else
  32400. pTDefRegMap(@Self)^.&set := $00000001;
  32401. end;
  32402. function TDMAC3_U1IR.getURSTIF_DETACHIF : TBits_1; inline;
  32403. begin
  32404. getURSTIF_DETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32405. end;
  32406. procedure TDMAC3_U1IR.setUERRIF; inline;
  32407. begin
  32408. pTDefRegMap(@Self)^.&set := $00000002;
  32409. end;
  32410. procedure TDMAC3_U1IR.clearUERRIF; inline;
  32411. begin
  32412. pTDefRegMap(@Self)^.clr := $00000002;
  32413. end;
  32414. procedure TDMAC3_U1IR.setUERRIF(thebits : TBits_1); inline;
  32415. begin
  32416. if thebits = 0 then
  32417. pTDefRegMap(@Self)^.clr := $00000002
  32418. else
  32419. pTDefRegMap(@Self)^.&set := $00000002;
  32420. end;
  32421. function TDMAC3_U1IR.getUERRIF : TBits_1; inline;
  32422. begin
  32423. getUERRIF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32424. end;
  32425. procedure TDMAC3_U1IR.setSOFIF; inline;
  32426. begin
  32427. pTDefRegMap(@Self)^.&set := $00000004;
  32428. end;
  32429. procedure TDMAC3_U1IR.clearSOFIF; inline;
  32430. begin
  32431. pTDefRegMap(@Self)^.clr := $00000004;
  32432. end;
  32433. procedure TDMAC3_U1IR.setSOFIF(thebits : TBits_1); inline;
  32434. begin
  32435. if thebits = 0 then
  32436. pTDefRegMap(@Self)^.clr := $00000004
  32437. else
  32438. pTDefRegMap(@Self)^.&set := $00000004;
  32439. end;
  32440. function TDMAC3_U1IR.getSOFIF : TBits_1; inline;
  32441. begin
  32442. getSOFIF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32443. end;
  32444. procedure TDMAC3_U1IR.setTRNIF; inline;
  32445. begin
  32446. pTDefRegMap(@Self)^.&set := $00000008;
  32447. end;
  32448. procedure TDMAC3_U1IR.clearTRNIF; inline;
  32449. begin
  32450. pTDefRegMap(@Self)^.clr := $00000008;
  32451. end;
  32452. procedure TDMAC3_U1IR.setTRNIF(thebits : TBits_1); inline;
  32453. begin
  32454. if thebits = 0 then
  32455. pTDefRegMap(@Self)^.clr := $00000008
  32456. else
  32457. pTDefRegMap(@Self)^.&set := $00000008;
  32458. end;
  32459. function TDMAC3_U1IR.getTRNIF : TBits_1; inline;
  32460. begin
  32461. getTRNIF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32462. end;
  32463. procedure TDMAC3_U1IR.setIDLEIF; inline;
  32464. begin
  32465. pTDefRegMap(@Self)^.&set := $00000010;
  32466. end;
  32467. procedure TDMAC3_U1IR.clearIDLEIF; inline;
  32468. begin
  32469. pTDefRegMap(@Self)^.clr := $00000010;
  32470. end;
  32471. procedure TDMAC3_U1IR.setIDLEIF(thebits : TBits_1); inline;
  32472. begin
  32473. if thebits = 0 then
  32474. pTDefRegMap(@Self)^.clr := $00000010
  32475. else
  32476. pTDefRegMap(@Self)^.&set := $00000010;
  32477. end;
  32478. function TDMAC3_U1IR.getIDLEIF : TBits_1; inline;
  32479. begin
  32480. getIDLEIF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32481. end;
  32482. procedure TDMAC3_U1IR.setRESUMEIF; inline;
  32483. begin
  32484. pTDefRegMap(@Self)^.&set := $00000020;
  32485. end;
  32486. procedure TDMAC3_U1IR.clearRESUMEIF; inline;
  32487. begin
  32488. pTDefRegMap(@Self)^.clr := $00000020;
  32489. end;
  32490. procedure TDMAC3_U1IR.setRESUMEIF(thebits : TBits_1); inline;
  32491. begin
  32492. if thebits = 0 then
  32493. pTDefRegMap(@Self)^.clr := $00000020
  32494. else
  32495. pTDefRegMap(@Self)^.&set := $00000020;
  32496. end;
  32497. function TDMAC3_U1IR.getRESUMEIF : TBits_1; inline;
  32498. begin
  32499. getRESUMEIF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32500. end;
  32501. procedure TDMAC3_U1IR.setATTACHIF; inline;
  32502. begin
  32503. pTDefRegMap(@Self)^.&set := $00000040;
  32504. end;
  32505. procedure TDMAC3_U1IR.clearATTACHIF; inline;
  32506. begin
  32507. pTDefRegMap(@Self)^.clr := $00000040;
  32508. end;
  32509. procedure TDMAC3_U1IR.setATTACHIF(thebits : TBits_1); inline;
  32510. begin
  32511. if thebits = 0 then
  32512. pTDefRegMap(@Self)^.clr := $00000040
  32513. else
  32514. pTDefRegMap(@Self)^.&set := $00000040;
  32515. end;
  32516. function TDMAC3_U1IR.getATTACHIF : TBits_1; inline;
  32517. begin
  32518. getATTACHIF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32519. end;
  32520. procedure TDMAC3_U1IR.setSTALLIF; inline;
  32521. begin
  32522. pTDefRegMap(@Self)^.&set := $00000080;
  32523. end;
  32524. procedure TDMAC3_U1IR.clearSTALLIF; inline;
  32525. begin
  32526. pTDefRegMap(@Self)^.clr := $00000080;
  32527. end;
  32528. procedure TDMAC3_U1IR.setSTALLIF(thebits : TBits_1); inline;
  32529. begin
  32530. if thebits = 0 then
  32531. pTDefRegMap(@Self)^.clr := $00000080
  32532. else
  32533. pTDefRegMap(@Self)^.&set := $00000080;
  32534. end;
  32535. function TDMAC3_U1IR.getSTALLIF : TBits_1; inline;
  32536. begin
  32537. getSTALLIF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32538. end;
  32539. procedure TDMAC3_U1IR.setDETACHIF; inline;
  32540. begin
  32541. pTDefRegMap(@Self)^.&set := $00000001;
  32542. end;
  32543. procedure TDMAC3_U1IR.clearDETACHIF; inline;
  32544. begin
  32545. pTDefRegMap(@Self)^.clr := $00000001;
  32546. end;
  32547. procedure TDMAC3_U1IR.setDETACHIF(thebits : TBits_1); inline;
  32548. begin
  32549. if thebits = 0 then
  32550. pTDefRegMap(@Self)^.clr := $00000001
  32551. else
  32552. pTDefRegMap(@Self)^.&set := $00000001;
  32553. end;
  32554. function TDMAC3_U1IR.getDETACHIF : TBits_1; inline;
  32555. begin
  32556. getDETACHIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32557. end;
  32558. procedure TDMAC3_U1IR.setURSTIF; inline;
  32559. begin
  32560. pTDefRegMap(@Self)^.&set := $00000001;
  32561. end;
  32562. procedure TDMAC3_U1IR.clearURSTIF; inline;
  32563. begin
  32564. pTDefRegMap(@Self)^.clr := $00000001;
  32565. end;
  32566. procedure TDMAC3_U1IR.setURSTIF(thebits : TBits_1); inline;
  32567. begin
  32568. if thebits = 0 then
  32569. pTDefRegMap(@Self)^.clr := $00000001
  32570. else
  32571. pTDefRegMap(@Self)^.&set := $00000001;
  32572. end;
  32573. function TDMAC3_U1IR.getURSTIF : TBits_1; inline;
  32574. begin
  32575. getURSTIF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32576. end;
  32577. procedure TDMAC3_U1IE.setURSTIE_DETACHIE; inline;
  32578. begin
  32579. pTDefRegMap(@Self)^.&set := $00000001;
  32580. end;
  32581. procedure TDMAC3_U1IE.clearURSTIE_DETACHIE; inline;
  32582. begin
  32583. pTDefRegMap(@Self)^.clr := $00000001;
  32584. end;
  32585. procedure TDMAC3_U1IE.setURSTIE_DETACHIE(thebits : TBits_1); inline;
  32586. begin
  32587. if thebits = 0 then
  32588. pTDefRegMap(@Self)^.clr := $00000001
  32589. else
  32590. pTDefRegMap(@Self)^.&set := $00000001;
  32591. end;
  32592. function TDMAC3_U1IE.getURSTIE_DETACHIE : TBits_1; inline;
  32593. begin
  32594. getURSTIE_DETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32595. end;
  32596. procedure TDMAC3_U1IE.setUERRIE; inline;
  32597. begin
  32598. pTDefRegMap(@Self)^.&set := $00000002;
  32599. end;
  32600. procedure TDMAC3_U1IE.clearUERRIE; inline;
  32601. begin
  32602. pTDefRegMap(@Self)^.clr := $00000002;
  32603. end;
  32604. procedure TDMAC3_U1IE.setUERRIE(thebits : TBits_1); inline;
  32605. begin
  32606. if thebits = 0 then
  32607. pTDefRegMap(@Self)^.clr := $00000002
  32608. else
  32609. pTDefRegMap(@Self)^.&set := $00000002;
  32610. end;
  32611. function TDMAC3_U1IE.getUERRIE : TBits_1; inline;
  32612. begin
  32613. getUERRIE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32614. end;
  32615. procedure TDMAC3_U1IE.setSOFIE; inline;
  32616. begin
  32617. pTDefRegMap(@Self)^.&set := $00000004;
  32618. end;
  32619. procedure TDMAC3_U1IE.clearSOFIE; inline;
  32620. begin
  32621. pTDefRegMap(@Self)^.clr := $00000004;
  32622. end;
  32623. procedure TDMAC3_U1IE.setSOFIE(thebits : TBits_1); inline;
  32624. begin
  32625. if thebits = 0 then
  32626. pTDefRegMap(@Self)^.clr := $00000004
  32627. else
  32628. pTDefRegMap(@Self)^.&set := $00000004;
  32629. end;
  32630. function TDMAC3_U1IE.getSOFIE : TBits_1; inline;
  32631. begin
  32632. getSOFIE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32633. end;
  32634. procedure TDMAC3_U1IE.setTRNIE; inline;
  32635. begin
  32636. pTDefRegMap(@Self)^.&set := $00000008;
  32637. end;
  32638. procedure TDMAC3_U1IE.clearTRNIE; inline;
  32639. begin
  32640. pTDefRegMap(@Self)^.clr := $00000008;
  32641. end;
  32642. procedure TDMAC3_U1IE.setTRNIE(thebits : TBits_1); inline;
  32643. begin
  32644. if thebits = 0 then
  32645. pTDefRegMap(@Self)^.clr := $00000008
  32646. else
  32647. pTDefRegMap(@Self)^.&set := $00000008;
  32648. end;
  32649. function TDMAC3_U1IE.getTRNIE : TBits_1; inline;
  32650. begin
  32651. getTRNIE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32652. end;
  32653. procedure TDMAC3_U1IE.setIDLEIE; inline;
  32654. begin
  32655. pTDefRegMap(@Self)^.&set := $00000010;
  32656. end;
  32657. procedure TDMAC3_U1IE.clearIDLEIE; inline;
  32658. begin
  32659. pTDefRegMap(@Self)^.clr := $00000010;
  32660. end;
  32661. procedure TDMAC3_U1IE.setIDLEIE(thebits : TBits_1); inline;
  32662. begin
  32663. if thebits = 0 then
  32664. pTDefRegMap(@Self)^.clr := $00000010
  32665. else
  32666. pTDefRegMap(@Self)^.&set := $00000010;
  32667. end;
  32668. function TDMAC3_U1IE.getIDLEIE : TBits_1; inline;
  32669. begin
  32670. getIDLEIE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32671. end;
  32672. procedure TDMAC3_U1IE.setRESUMEIE; inline;
  32673. begin
  32674. pTDefRegMap(@Self)^.&set := $00000020;
  32675. end;
  32676. procedure TDMAC3_U1IE.clearRESUMEIE; inline;
  32677. begin
  32678. pTDefRegMap(@Self)^.clr := $00000020;
  32679. end;
  32680. procedure TDMAC3_U1IE.setRESUMEIE(thebits : TBits_1); inline;
  32681. begin
  32682. if thebits = 0 then
  32683. pTDefRegMap(@Self)^.clr := $00000020
  32684. else
  32685. pTDefRegMap(@Self)^.&set := $00000020;
  32686. end;
  32687. function TDMAC3_U1IE.getRESUMEIE : TBits_1; inline;
  32688. begin
  32689. getRESUMEIE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32690. end;
  32691. procedure TDMAC3_U1IE.setATTACHIE; inline;
  32692. begin
  32693. pTDefRegMap(@Self)^.&set := $00000040;
  32694. end;
  32695. procedure TDMAC3_U1IE.clearATTACHIE; inline;
  32696. begin
  32697. pTDefRegMap(@Self)^.clr := $00000040;
  32698. end;
  32699. procedure TDMAC3_U1IE.setATTACHIE(thebits : TBits_1); inline;
  32700. begin
  32701. if thebits = 0 then
  32702. pTDefRegMap(@Self)^.clr := $00000040
  32703. else
  32704. pTDefRegMap(@Self)^.&set := $00000040;
  32705. end;
  32706. function TDMAC3_U1IE.getATTACHIE : TBits_1; inline;
  32707. begin
  32708. getATTACHIE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32709. end;
  32710. procedure TDMAC3_U1IE.setSTALLIE; inline;
  32711. begin
  32712. pTDefRegMap(@Self)^.&set := $00000080;
  32713. end;
  32714. procedure TDMAC3_U1IE.clearSTALLIE; inline;
  32715. begin
  32716. pTDefRegMap(@Self)^.clr := $00000080;
  32717. end;
  32718. procedure TDMAC3_U1IE.setSTALLIE(thebits : TBits_1); inline;
  32719. begin
  32720. if thebits = 0 then
  32721. pTDefRegMap(@Self)^.clr := $00000080
  32722. else
  32723. pTDefRegMap(@Self)^.&set := $00000080;
  32724. end;
  32725. function TDMAC3_U1IE.getSTALLIE : TBits_1; inline;
  32726. begin
  32727. getSTALLIE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32728. end;
  32729. procedure TDMAC3_U1IE.setDETACHIE; inline;
  32730. begin
  32731. pTDefRegMap(@Self)^.&set := $00000001;
  32732. end;
  32733. procedure TDMAC3_U1IE.clearDETACHIE; inline;
  32734. begin
  32735. pTDefRegMap(@Self)^.clr := $00000001;
  32736. end;
  32737. procedure TDMAC3_U1IE.setDETACHIE(thebits : TBits_1); inline;
  32738. begin
  32739. if thebits = 0 then
  32740. pTDefRegMap(@Self)^.clr := $00000001
  32741. else
  32742. pTDefRegMap(@Self)^.&set := $00000001;
  32743. end;
  32744. function TDMAC3_U1IE.getDETACHIE : TBits_1; inline;
  32745. begin
  32746. getDETACHIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32747. end;
  32748. procedure TDMAC3_U1IE.setURSTIE; inline;
  32749. begin
  32750. pTDefRegMap(@Self)^.&set := $00000001;
  32751. end;
  32752. procedure TDMAC3_U1IE.clearURSTIE; inline;
  32753. begin
  32754. pTDefRegMap(@Self)^.clr := $00000001;
  32755. end;
  32756. procedure TDMAC3_U1IE.setURSTIE(thebits : TBits_1); inline;
  32757. begin
  32758. if thebits = 0 then
  32759. pTDefRegMap(@Self)^.clr := $00000001
  32760. else
  32761. pTDefRegMap(@Self)^.&set := $00000001;
  32762. end;
  32763. function TDMAC3_U1IE.getURSTIE : TBits_1; inline;
  32764. begin
  32765. getURSTIE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32766. end;
  32767. procedure TDMAC3_U1EIR.setPIDEF; inline;
  32768. begin
  32769. pTDefRegMap(@Self)^.&set := $00000001;
  32770. end;
  32771. procedure TDMAC3_U1EIR.clearPIDEF; inline;
  32772. begin
  32773. pTDefRegMap(@Self)^.clr := $00000001;
  32774. end;
  32775. procedure TDMAC3_U1EIR.setPIDEF(thebits : TBits_1); inline;
  32776. begin
  32777. if thebits = 0 then
  32778. pTDefRegMap(@Self)^.clr := $00000001
  32779. else
  32780. pTDefRegMap(@Self)^.&set := $00000001;
  32781. end;
  32782. function TDMAC3_U1EIR.getPIDEF : TBits_1; inline;
  32783. begin
  32784. getPIDEF := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32785. end;
  32786. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF; inline;
  32787. begin
  32788. pTDefRegMap(@Self)^.&set := $00000002;
  32789. end;
  32790. procedure TDMAC3_U1EIR.clearCRC5EF_EOFEF; inline;
  32791. begin
  32792. pTDefRegMap(@Self)^.clr := $00000002;
  32793. end;
  32794. procedure TDMAC3_U1EIR.setCRC5EF_EOFEF(thebits : TBits_1); inline;
  32795. begin
  32796. if thebits = 0 then
  32797. pTDefRegMap(@Self)^.clr := $00000002
  32798. else
  32799. pTDefRegMap(@Self)^.&set := $00000002;
  32800. end;
  32801. function TDMAC3_U1EIR.getCRC5EF_EOFEF : TBits_1; inline;
  32802. begin
  32803. getCRC5EF_EOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32804. end;
  32805. procedure TDMAC3_U1EIR.setCRC16EF; inline;
  32806. begin
  32807. pTDefRegMap(@Self)^.&set := $00000004;
  32808. end;
  32809. procedure TDMAC3_U1EIR.clearCRC16EF; inline;
  32810. begin
  32811. pTDefRegMap(@Self)^.clr := $00000004;
  32812. end;
  32813. procedure TDMAC3_U1EIR.setCRC16EF(thebits : TBits_1); inline;
  32814. begin
  32815. if thebits = 0 then
  32816. pTDefRegMap(@Self)^.clr := $00000004
  32817. else
  32818. pTDefRegMap(@Self)^.&set := $00000004;
  32819. end;
  32820. function TDMAC3_U1EIR.getCRC16EF : TBits_1; inline;
  32821. begin
  32822. getCRC16EF := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  32823. end;
  32824. procedure TDMAC3_U1EIR.setDFN8EF; inline;
  32825. begin
  32826. pTDefRegMap(@Self)^.&set := $00000008;
  32827. end;
  32828. procedure TDMAC3_U1EIR.clearDFN8EF; inline;
  32829. begin
  32830. pTDefRegMap(@Self)^.clr := $00000008;
  32831. end;
  32832. procedure TDMAC3_U1EIR.setDFN8EF(thebits : TBits_1); inline;
  32833. begin
  32834. if thebits = 0 then
  32835. pTDefRegMap(@Self)^.clr := $00000008
  32836. else
  32837. pTDefRegMap(@Self)^.&set := $00000008;
  32838. end;
  32839. function TDMAC3_U1EIR.getDFN8EF : TBits_1; inline;
  32840. begin
  32841. getDFN8EF := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  32842. end;
  32843. procedure TDMAC3_U1EIR.setBTOEF; inline;
  32844. begin
  32845. pTDefRegMap(@Self)^.&set := $00000010;
  32846. end;
  32847. procedure TDMAC3_U1EIR.clearBTOEF; inline;
  32848. begin
  32849. pTDefRegMap(@Self)^.clr := $00000010;
  32850. end;
  32851. procedure TDMAC3_U1EIR.setBTOEF(thebits : TBits_1); inline;
  32852. begin
  32853. if thebits = 0 then
  32854. pTDefRegMap(@Self)^.clr := $00000010
  32855. else
  32856. pTDefRegMap(@Self)^.&set := $00000010;
  32857. end;
  32858. function TDMAC3_U1EIR.getBTOEF : TBits_1; inline;
  32859. begin
  32860. getBTOEF := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  32861. end;
  32862. procedure TDMAC3_U1EIR.setDMAEF; inline;
  32863. begin
  32864. pTDefRegMap(@Self)^.&set := $00000020;
  32865. end;
  32866. procedure TDMAC3_U1EIR.clearDMAEF; inline;
  32867. begin
  32868. pTDefRegMap(@Self)^.clr := $00000020;
  32869. end;
  32870. procedure TDMAC3_U1EIR.setDMAEF(thebits : TBits_1); inline;
  32871. begin
  32872. if thebits = 0 then
  32873. pTDefRegMap(@Self)^.clr := $00000020
  32874. else
  32875. pTDefRegMap(@Self)^.&set := $00000020;
  32876. end;
  32877. function TDMAC3_U1EIR.getDMAEF : TBits_1; inline;
  32878. begin
  32879. getDMAEF := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  32880. end;
  32881. procedure TDMAC3_U1EIR.setBMXEF; inline;
  32882. begin
  32883. pTDefRegMap(@Self)^.&set := $00000040;
  32884. end;
  32885. procedure TDMAC3_U1EIR.clearBMXEF; inline;
  32886. begin
  32887. pTDefRegMap(@Self)^.clr := $00000040;
  32888. end;
  32889. procedure TDMAC3_U1EIR.setBMXEF(thebits : TBits_1); inline;
  32890. begin
  32891. if thebits = 0 then
  32892. pTDefRegMap(@Self)^.clr := $00000040
  32893. else
  32894. pTDefRegMap(@Self)^.&set := $00000040;
  32895. end;
  32896. function TDMAC3_U1EIR.getBMXEF : TBits_1; inline;
  32897. begin
  32898. getBMXEF := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  32899. end;
  32900. procedure TDMAC3_U1EIR.setBTSEF; inline;
  32901. begin
  32902. pTDefRegMap(@Self)^.&set := $00000080;
  32903. end;
  32904. procedure TDMAC3_U1EIR.clearBTSEF; inline;
  32905. begin
  32906. pTDefRegMap(@Self)^.clr := $00000080;
  32907. end;
  32908. procedure TDMAC3_U1EIR.setBTSEF(thebits : TBits_1); inline;
  32909. begin
  32910. if thebits = 0 then
  32911. pTDefRegMap(@Self)^.clr := $00000080
  32912. else
  32913. pTDefRegMap(@Self)^.&set := $00000080;
  32914. end;
  32915. function TDMAC3_U1EIR.getBTSEF : TBits_1; inline;
  32916. begin
  32917. getBTSEF := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  32918. end;
  32919. procedure TDMAC3_U1EIR.setCRC5EF; inline;
  32920. begin
  32921. pTDefRegMap(@Self)^.&set := $00000002;
  32922. end;
  32923. procedure TDMAC3_U1EIR.clearCRC5EF; inline;
  32924. begin
  32925. pTDefRegMap(@Self)^.clr := $00000002;
  32926. end;
  32927. procedure TDMAC3_U1EIR.setCRC5EF(thebits : TBits_1); inline;
  32928. begin
  32929. if thebits = 0 then
  32930. pTDefRegMap(@Self)^.clr := $00000002
  32931. else
  32932. pTDefRegMap(@Self)^.&set := $00000002;
  32933. end;
  32934. function TDMAC3_U1EIR.getCRC5EF : TBits_1; inline;
  32935. begin
  32936. getCRC5EF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32937. end;
  32938. procedure TDMAC3_U1EIR.setEOFEF; inline;
  32939. begin
  32940. pTDefRegMap(@Self)^.&set := $00000002;
  32941. end;
  32942. procedure TDMAC3_U1EIR.clearEOFEF; inline;
  32943. begin
  32944. pTDefRegMap(@Self)^.clr := $00000002;
  32945. end;
  32946. procedure TDMAC3_U1EIR.setEOFEF(thebits : TBits_1); inline;
  32947. begin
  32948. if thebits = 0 then
  32949. pTDefRegMap(@Self)^.clr := $00000002
  32950. else
  32951. pTDefRegMap(@Self)^.&set := $00000002;
  32952. end;
  32953. function TDMAC3_U1EIR.getEOFEF : TBits_1; inline;
  32954. begin
  32955. getEOFEF := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32956. end;
  32957. procedure TDMAC3_U1EIE.setPIDEE; inline;
  32958. begin
  32959. pTDefRegMap(@Self)^.&set := $00000001;
  32960. end;
  32961. procedure TDMAC3_U1EIE.clearPIDEE; inline;
  32962. begin
  32963. pTDefRegMap(@Self)^.clr := $00000001;
  32964. end;
  32965. procedure TDMAC3_U1EIE.setPIDEE(thebits : TBits_1); inline;
  32966. begin
  32967. if thebits = 0 then
  32968. pTDefRegMap(@Self)^.clr := $00000001
  32969. else
  32970. pTDefRegMap(@Self)^.&set := $00000001;
  32971. end;
  32972. function TDMAC3_U1EIE.getPIDEE : TBits_1; inline;
  32973. begin
  32974. getPIDEE := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  32975. end;
  32976. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE; inline;
  32977. begin
  32978. pTDefRegMap(@Self)^.&set := $00000002;
  32979. end;
  32980. procedure TDMAC3_U1EIE.clearCRC5EE_EOFEE; inline;
  32981. begin
  32982. pTDefRegMap(@Self)^.clr := $00000002;
  32983. end;
  32984. procedure TDMAC3_U1EIE.setCRC5EE_EOFEE(thebits : TBits_1); inline;
  32985. begin
  32986. if thebits = 0 then
  32987. pTDefRegMap(@Self)^.clr := $00000002
  32988. else
  32989. pTDefRegMap(@Self)^.&set := $00000002;
  32990. end;
  32991. function TDMAC3_U1EIE.getCRC5EE_EOFEE : TBits_1; inline;
  32992. begin
  32993. getCRC5EE_EOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  32994. end;
  32995. procedure TDMAC3_U1EIE.setCRC16EE; inline;
  32996. begin
  32997. pTDefRegMap(@Self)^.&set := $00000004;
  32998. end;
  32999. procedure TDMAC3_U1EIE.clearCRC16EE; inline;
  33000. begin
  33001. pTDefRegMap(@Self)^.clr := $00000004;
  33002. end;
  33003. procedure TDMAC3_U1EIE.setCRC16EE(thebits : TBits_1); inline;
  33004. begin
  33005. if thebits = 0 then
  33006. pTDefRegMap(@Self)^.clr := $00000004
  33007. else
  33008. pTDefRegMap(@Self)^.&set := $00000004;
  33009. end;
  33010. function TDMAC3_U1EIE.getCRC16EE : TBits_1; inline;
  33011. begin
  33012. getCRC16EE := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33013. end;
  33014. procedure TDMAC3_U1EIE.setDFN8EE; inline;
  33015. begin
  33016. pTDefRegMap(@Self)^.&set := $00000008;
  33017. end;
  33018. procedure TDMAC3_U1EIE.clearDFN8EE; inline;
  33019. begin
  33020. pTDefRegMap(@Self)^.clr := $00000008;
  33021. end;
  33022. procedure TDMAC3_U1EIE.setDFN8EE(thebits : TBits_1); inline;
  33023. begin
  33024. if thebits = 0 then
  33025. pTDefRegMap(@Self)^.clr := $00000008
  33026. else
  33027. pTDefRegMap(@Self)^.&set := $00000008;
  33028. end;
  33029. function TDMAC3_U1EIE.getDFN8EE : TBits_1; inline;
  33030. begin
  33031. getDFN8EE := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33032. end;
  33033. procedure TDMAC3_U1EIE.setBTOEE; inline;
  33034. begin
  33035. pTDefRegMap(@Self)^.&set := $00000010;
  33036. end;
  33037. procedure TDMAC3_U1EIE.clearBTOEE; inline;
  33038. begin
  33039. pTDefRegMap(@Self)^.clr := $00000010;
  33040. end;
  33041. procedure TDMAC3_U1EIE.setBTOEE(thebits : TBits_1); inline;
  33042. begin
  33043. if thebits = 0 then
  33044. pTDefRegMap(@Self)^.clr := $00000010
  33045. else
  33046. pTDefRegMap(@Self)^.&set := $00000010;
  33047. end;
  33048. function TDMAC3_U1EIE.getBTOEE : TBits_1; inline;
  33049. begin
  33050. getBTOEE := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33051. end;
  33052. procedure TDMAC3_U1EIE.setDMAEE; inline;
  33053. begin
  33054. pTDefRegMap(@Self)^.&set := $00000020;
  33055. end;
  33056. procedure TDMAC3_U1EIE.clearDMAEE; inline;
  33057. begin
  33058. pTDefRegMap(@Self)^.clr := $00000020;
  33059. end;
  33060. procedure TDMAC3_U1EIE.setDMAEE(thebits : TBits_1); inline;
  33061. begin
  33062. if thebits = 0 then
  33063. pTDefRegMap(@Self)^.clr := $00000020
  33064. else
  33065. pTDefRegMap(@Self)^.&set := $00000020;
  33066. end;
  33067. function TDMAC3_U1EIE.getDMAEE : TBits_1; inline;
  33068. begin
  33069. getDMAEE := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33070. end;
  33071. procedure TDMAC3_U1EIE.setBMXEE; inline;
  33072. begin
  33073. pTDefRegMap(@Self)^.&set := $00000040;
  33074. end;
  33075. procedure TDMAC3_U1EIE.clearBMXEE; inline;
  33076. begin
  33077. pTDefRegMap(@Self)^.clr := $00000040;
  33078. end;
  33079. procedure TDMAC3_U1EIE.setBMXEE(thebits : TBits_1); inline;
  33080. begin
  33081. if thebits = 0 then
  33082. pTDefRegMap(@Self)^.clr := $00000040
  33083. else
  33084. pTDefRegMap(@Self)^.&set := $00000040;
  33085. end;
  33086. function TDMAC3_U1EIE.getBMXEE : TBits_1; inline;
  33087. begin
  33088. getBMXEE := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33089. end;
  33090. procedure TDMAC3_U1EIE.setBTSEE; inline;
  33091. begin
  33092. pTDefRegMap(@Self)^.&set := $00000080;
  33093. end;
  33094. procedure TDMAC3_U1EIE.clearBTSEE; inline;
  33095. begin
  33096. pTDefRegMap(@Self)^.clr := $00000080;
  33097. end;
  33098. procedure TDMAC3_U1EIE.setBTSEE(thebits : TBits_1); inline;
  33099. begin
  33100. if thebits = 0 then
  33101. pTDefRegMap(@Self)^.clr := $00000080
  33102. else
  33103. pTDefRegMap(@Self)^.&set := $00000080;
  33104. end;
  33105. function TDMAC3_U1EIE.getBTSEE : TBits_1; inline;
  33106. begin
  33107. getBTSEE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33108. end;
  33109. procedure TDMAC3_U1EIE.setCRC5EE; inline;
  33110. begin
  33111. pTDefRegMap(@Self)^.&set := $00000002;
  33112. end;
  33113. procedure TDMAC3_U1EIE.clearCRC5EE; inline;
  33114. begin
  33115. pTDefRegMap(@Self)^.clr := $00000002;
  33116. end;
  33117. procedure TDMAC3_U1EIE.setCRC5EE(thebits : TBits_1); inline;
  33118. begin
  33119. if thebits = 0 then
  33120. pTDefRegMap(@Self)^.clr := $00000002
  33121. else
  33122. pTDefRegMap(@Self)^.&set := $00000002;
  33123. end;
  33124. function TDMAC3_U1EIE.getCRC5EE : TBits_1; inline;
  33125. begin
  33126. getCRC5EE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33127. end;
  33128. procedure TDMAC3_U1EIE.setEOFEE; inline;
  33129. begin
  33130. pTDefRegMap(@Self)^.&set := $00000002;
  33131. end;
  33132. procedure TDMAC3_U1EIE.clearEOFEE; inline;
  33133. begin
  33134. pTDefRegMap(@Self)^.clr := $00000002;
  33135. end;
  33136. procedure TDMAC3_U1EIE.setEOFEE(thebits : TBits_1); inline;
  33137. begin
  33138. if thebits = 0 then
  33139. pTDefRegMap(@Self)^.clr := $00000002
  33140. else
  33141. pTDefRegMap(@Self)^.&set := $00000002;
  33142. end;
  33143. function TDMAC3_U1EIE.getEOFEE : TBits_1; inline;
  33144. begin
  33145. getEOFEE := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33146. end;
  33147. procedure TDMAC3_U1STAT.setPPBI; inline;
  33148. begin
  33149. pTDefRegMap(@Self)^.&set := $00000004;
  33150. end;
  33151. procedure TDMAC3_U1STAT.clearPPBI; inline;
  33152. begin
  33153. pTDefRegMap(@Self)^.clr := $00000004;
  33154. end;
  33155. procedure TDMAC3_U1STAT.setPPBI(thebits : TBits_1); inline;
  33156. begin
  33157. if thebits = 0 then
  33158. pTDefRegMap(@Self)^.clr := $00000004
  33159. else
  33160. pTDefRegMap(@Self)^.&set := $00000004;
  33161. end;
  33162. function TDMAC3_U1STAT.getPPBI : TBits_1; inline;
  33163. begin
  33164. getPPBI := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33165. end;
  33166. procedure TDMAC3_U1STAT.setDIR; inline;
  33167. begin
  33168. pTDefRegMap(@Self)^.&set := $00000008;
  33169. end;
  33170. procedure TDMAC3_U1STAT.clearDIR; inline;
  33171. begin
  33172. pTDefRegMap(@Self)^.clr := $00000008;
  33173. end;
  33174. procedure TDMAC3_U1STAT.setDIR(thebits : TBits_1); inline;
  33175. begin
  33176. if thebits = 0 then
  33177. pTDefRegMap(@Self)^.clr := $00000008
  33178. else
  33179. pTDefRegMap(@Self)^.&set := $00000008;
  33180. end;
  33181. function TDMAC3_U1STAT.getDIR : TBits_1; inline;
  33182. begin
  33183. getDIR := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33184. end;
  33185. procedure TDMAC3_U1STAT.setENDPT(thebits : TBits_4); inline;
  33186. begin
  33187. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33188. end;
  33189. function TDMAC3_U1STAT.getENDPT : TBits_4; inline;
  33190. begin
  33191. getENDPT := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33192. end;
  33193. procedure TDMAC3_U1STAT.setENDPT0; inline;
  33194. begin
  33195. pTDefRegMap(@Self)^.&set := $00000010;
  33196. end;
  33197. procedure TDMAC3_U1STAT.clearENDPT0; inline;
  33198. begin
  33199. pTDefRegMap(@Self)^.clr := $00000010;
  33200. end;
  33201. procedure TDMAC3_U1STAT.setENDPT0(thebits : TBits_1); inline;
  33202. begin
  33203. if thebits = 0 then
  33204. pTDefRegMap(@Self)^.clr := $00000010
  33205. else
  33206. pTDefRegMap(@Self)^.&set := $00000010;
  33207. end;
  33208. function TDMAC3_U1STAT.getENDPT0 : TBits_1; inline;
  33209. begin
  33210. getENDPT0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33211. end;
  33212. procedure TDMAC3_U1STAT.setENDPT1; inline;
  33213. begin
  33214. pTDefRegMap(@Self)^.&set := $00000020;
  33215. end;
  33216. procedure TDMAC3_U1STAT.clearENDPT1; inline;
  33217. begin
  33218. pTDefRegMap(@Self)^.clr := $00000020;
  33219. end;
  33220. procedure TDMAC3_U1STAT.setENDPT1(thebits : TBits_1); inline;
  33221. begin
  33222. if thebits = 0 then
  33223. pTDefRegMap(@Self)^.clr := $00000020
  33224. else
  33225. pTDefRegMap(@Self)^.&set := $00000020;
  33226. end;
  33227. function TDMAC3_U1STAT.getENDPT1 : TBits_1; inline;
  33228. begin
  33229. getENDPT1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33230. end;
  33231. procedure TDMAC3_U1STAT.setENDPT2; inline;
  33232. begin
  33233. pTDefRegMap(@Self)^.&set := $00000040;
  33234. end;
  33235. procedure TDMAC3_U1STAT.clearENDPT2; inline;
  33236. begin
  33237. pTDefRegMap(@Self)^.clr := $00000040;
  33238. end;
  33239. procedure TDMAC3_U1STAT.setENDPT2(thebits : TBits_1); inline;
  33240. begin
  33241. if thebits = 0 then
  33242. pTDefRegMap(@Self)^.clr := $00000040
  33243. else
  33244. pTDefRegMap(@Self)^.&set := $00000040;
  33245. end;
  33246. function TDMAC3_U1STAT.getENDPT2 : TBits_1; inline;
  33247. begin
  33248. getENDPT2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33249. end;
  33250. procedure TDMAC3_U1STAT.setENDPT3; inline;
  33251. begin
  33252. pTDefRegMap(@Self)^.&set := $00000080;
  33253. end;
  33254. procedure TDMAC3_U1STAT.clearENDPT3; inline;
  33255. begin
  33256. pTDefRegMap(@Self)^.clr := $00000080;
  33257. end;
  33258. procedure TDMAC3_U1STAT.setENDPT3(thebits : TBits_1); inline;
  33259. begin
  33260. if thebits = 0 then
  33261. pTDefRegMap(@Self)^.clr := $00000080
  33262. else
  33263. pTDefRegMap(@Self)^.&set := $00000080;
  33264. end;
  33265. function TDMAC3_U1STAT.getENDPT3 : TBits_1; inline;
  33266. begin
  33267. getENDPT3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33268. end;
  33269. procedure TDMAC3_U1CON.setUSBEN_SOFEN; inline;
  33270. begin
  33271. pTDefRegMap(@Self)^.&set := $00000001;
  33272. end;
  33273. procedure TDMAC3_U1CON.clearUSBEN_SOFEN; inline;
  33274. begin
  33275. pTDefRegMap(@Self)^.clr := $00000001;
  33276. end;
  33277. procedure TDMAC3_U1CON.setUSBEN_SOFEN(thebits : TBits_1); inline;
  33278. begin
  33279. if thebits = 0 then
  33280. pTDefRegMap(@Self)^.clr := $00000001
  33281. else
  33282. pTDefRegMap(@Self)^.&set := $00000001;
  33283. end;
  33284. function TDMAC3_U1CON.getUSBEN_SOFEN : TBits_1; inline;
  33285. begin
  33286. getUSBEN_SOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33287. end;
  33288. procedure TDMAC3_U1CON.setPPBRST; inline;
  33289. begin
  33290. pTDefRegMap(@Self)^.&set := $00000002;
  33291. end;
  33292. procedure TDMAC3_U1CON.clearPPBRST; inline;
  33293. begin
  33294. pTDefRegMap(@Self)^.clr := $00000002;
  33295. end;
  33296. procedure TDMAC3_U1CON.setPPBRST(thebits : TBits_1); inline;
  33297. begin
  33298. if thebits = 0 then
  33299. pTDefRegMap(@Self)^.clr := $00000002
  33300. else
  33301. pTDefRegMap(@Self)^.&set := $00000002;
  33302. end;
  33303. function TDMAC3_U1CON.getPPBRST : TBits_1; inline;
  33304. begin
  33305. getPPBRST := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33306. end;
  33307. procedure TDMAC3_U1CON.setRESUME; inline;
  33308. begin
  33309. pTDefRegMap(@Self)^.&set := $00000004;
  33310. end;
  33311. procedure TDMAC3_U1CON.clearRESUME; inline;
  33312. begin
  33313. pTDefRegMap(@Self)^.clr := $00000004;
  33314. end;
  33315. procedure TDMAC3_U1CON.setRESUME(thebits : TBits_1); inline;
  33316. begin
  33317. if thebits = 0 then
  33318. pTDefRegMap(@Self)^.clr := $00000004
  33319. else
  33320. pTDefRegMap(@Self)^.&set := $00000004;
  33321. end;
  33322. function TDMAC3_U1CON.getRESUME : TBits_1; inline;
  33323. begin
  33324. getRESUME := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33325. end;
  33326. procedure TDMAC3_U1CON.setHOSTEN; inline;
  33327. begin
  33328. pTDefRegMap(@Self)^.&set := $00000008;
  33329. end;
  33330. procedure TDMAC3_U1CON.clearHOSTEN; inline;
  33331. begin
  33332. pTDefRegMap(@Self)^.clr := $00000008;
  33333. end;
  33334. procedure TDMAC3_U1CON.setHOSTEN(thebits : TBits_1); inline;
  33335. begin
  33336. if thebits = 0 then
  33337. pTDefRegMap(@Self)^.clr := $00000008
  33338. else
  33339. pTDefRegMap(@Self)^.&set := $00000008;
  33340. end;
  33341. function TDMAC3_U1CON.getHOSTEN : TBits_1; inline;
  33342. begin
  33343. getHOSTEN := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33344. end;
  33345. procedure TDMAC3_U1CON.setUSBRST; inline;
  33346. begin
  33347. pTDefRegMap(@Self)^.&set := $00000010;
  33348. end;
  33349. procedure TDMAC3_U1CON.clearUSBRST; inline;
  33350. begin
  33351. pTDefRegMap(@Self)^.clr := $00000010;
  33352. end;
  33353. procedure TDMAC3_U1CON.setUSBRST(thebits : TBits_1); inline;
  33354. begin
  33355. if thebits = 0 then
  33356. pTDefRegMap(@Self)^.clr := $00000010
  33357. else
  33358. pTDefRegMap(@Self)^.&set := $00000010;
  33359. end;
  33360. function TDMAC3_U1CON.getUSBRST : TBits_1; inline;
  33361. begin
  33362. getUSBRST := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33363. end;
  33364. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY; inline;
  33365. begin
  33366. pTDefRegMap(@Self)^.&set := $00000020;
  33367. end;
  33368. procedure TDMAC3_U1CON.clearPKTDIS_TOKBUSY; inline;
  33369. begin
  33370. pTDefRegMap(@Self)^.clr := $00000020;
  33371. end;
  33372. procedure TDMAC3_U1CON.setPKTDIS_TOKBUSY(thebits : TBits_1); inline;
  33373. begin
  33374. if thebits = 0 then
  33375. pTDefRegMap(@Self)^.clr := $00000020
  33376. else
  33377. pTDefRegMap(@Self)^.&set := $00000020;
  33378. end;
  33379. function TDMAC3_U1CON.getPKTDIS_TOKBUSY : TBits_1; inline;
  33380. begin
  33381. getPKTDIS_TOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33382. end;
  33383. procedure TDMAC3_U1CON.setSE0; inline;
  33384. begin
  33385. pTDefRegMap(@Self)^.&set := $00000040;
  33386. end;
  33387. procedure TDMAC3_U1CON.clearSE0; inline;
  33388. begin
  33389. pTDefRegMap(@Self)^.clr := $00000040;
  33390. end;
  33391. procedure TDMAC3_U1CON.setSE0(thebits : TBits_1); inline;
  33392. begin
  33393. if thebits = 0 then
  33394. pTDefRegMap(@Self)^.clr := $00000040
  33395. else
  33396. pTDefRegMap(@Self)^.&set := $00000040;
  33397. end;
  33398. function TDMAC3_U1CON.getSE0 : TBits_1; inline;
  33399. begin
  33400. getSE0 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33401. end;
  33402. procedure TDMAC3_U1CON.setJSTATE; inline;
  33403. begin
  33404. pTDefRegMap(@Self)^.&set := $00000080;
  33405. end;
  33406. procedure TDMAC3_U1CON.clearJSTATE; inline;
  33407. begin
  33408. pTDefRegMap(@Self)^.clr := $00000080;
  33409. end;
  33410. procedure TDMAC3_U1CON.setJSTATE(thebits : TBits_1); inline;
  33411. begin
  33412. if thebits = 0 then
  33413. pTDefRegMap(@Self)^.clr := $00000080
  33414. else
  33415. pTDefRegMap(@Self)^.&set := $00000080;
  33416. end;
  33417. function TDMAC3_U1CON.getJSTATE : TBits_1; inline;
  33418. begin
  33419. getJSTATE := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33420. end;
  33421. procedure TDMAC3_U1CON.setUSBEN; inline;
  33422. begin
  33423. pTDefRegMap(@Self)^.&set := $00000001;
  33424. end;
  33425. procedure TDMAC3_U1CON.clearUSBEN; inline;
  33426. begin
  33427. pTDefRegMap(@Self)^.clr := $00000001;
  33428. end;
  33429. procedure TDMAC3_U1CON.setUSBEN(thebits : TBits_1); inline;
  33430. begin
  33431. if thebits = 0 then
  33432. pTDefRegMap(@Self)^.clr := $00000001
  33433. else
  33434. pTDefRegMap(@Self)^.&set := $00000001;
  33435. end;
  33436. function TDMAC3_U1CON.getUSBEN : TBits_1; inline;
  33437. begin
  33438. getUSBEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33439. end;
  33440. procedure TDMAC3_U1CON.setSOFEN; inline;
  33441. begin
  33442. pTDefRegMap(@Self)^.&set := $00000001;
  33443. end;
  33444. procedure TDMAC3_U1CON.clearSOFEN; inline;
  33445. begin
  33446. pTDefRegMap(@Self)^.clr := $00000001;
  33447. end;
  33448. procedure TDMAC3_U1CON.setSOFEN(thebits : TBits_1); inline;
  33449. begin
  33450. if thebits = 0 then
  33451. pTDefRegMap(@Self)^.clr := $00000001
  33452. else
  33453. pTDefRegMap(@Self)^.&set := $00000001;
  33454. end;
  33455. function TDMAC3_U1CON.getSOFEN : TBits_1; inline;
  33456. begin
  33457. getSOFEN := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33458. end;
  33459. procedure TDMAC3_U1CON.setPKTDIS; inline;
  33460. begin
  33461. pTDefRegMap(@Self)^.&set := $00000020;
  33462. end;
  33463. procedure TDMAC3_U1CON.clearPKTDIS; inline;
  33464. begin
  33465. pTDefRegMap(@Self)^.clr := $00000020;
  33466. end;
  33467. procedure TDMAC3_U1CON.setPKTDIS(thebits : TBits_1); inline;
  33468. begin
  33469. if thebits = 0 then
  33470. pTDefRegMap(@Self)^.clr := $00000020
  33471. else
  33472. pTDefRegMap(@Self)^.&set := $00000020;
  33473. end;
  33474. function TDMAC3_U1CON.getPKTDIS : TBits_1; inline;
  33475. begin
  33476. getPKTDIS := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33477. end;
  33478. procedure TDMAC3_U1CON.setTOKBUSY; inline;
  33479. begin
  33480. pTDefRegMap(@Self)^.&set := $00000020;
  33481. end;
  33482. procedure TDMAC3_U1CON.clearTOKBUSY; inline;
  33483. begin
  33484. pTDefRegMap(@Self)^.clr := $00000020;
  33485. end;
  33486. procedure TDMAC3_U1CON.setTOKBUSY(thebits : TBits_1); inline;
  33487. begin
  33488. if thebits = 0 then
  33489. pTDefRegMap(@Self)^.clr := $00000020
  33490. else
  33491. pTDefRegMap(@Self)^.&set := $00000020;
  33492. end;
  33493. function TDMAC3_U1CON.getTOKBUSY : TBits_1; inline;
  33494. begin
  33495. getTOKBUSY := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33496. end;
  33497. procedure TDMAC3_U1ADDR.setDEVADDR(thebits : TBits_7); inline;
  33498. begin
  33499. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF80 or ( thebits shl 0 );
  33500. end;
  33501. function TDMAC3_U1ADDR.getDEVADDR : TBits_7; inline;
  33502. begin
  33503. getDEVADDR := (pTDefRegMap(@Self)^.val and $0000007F) shr 0;
  33504. end;
  33505. procedure TDMAC3_U1ADDR.setLSPDEN; inline;
  33506. begin
  33507. pTDefRegMap(@Self)^.&set := $00000080;
  33508. end;
  33509. procedure TDMAC3_U1ADDR.clearLSPDEN; inline;
  33510. begin
  33511. pTDefRegMap(@Self)^.clr := $00000080;
  33512. end;
  33513. procedure TDMAC3_U1ADDR.setLSPDEN(thebits : TBits_1); inline;
  33514. begin
  33515. if thebits = 0 then
  33516. pTDefRegMap(@Self)^.clr := $00000080
  33517. else
  33518. pTDefRegMap(@Self)^.&set := $00000080;
  33519. end;
  33520. function TDMAC3_U1ADDR.getLSPDEN : TBits_1; inline;
  33521. begin
  33522. getLSPDEN := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33523. end;
  33524. procedure TDMAC3_U1ADDR.setDEVADDR0; inline;
  33525. begin
  33526. pTDefRegMap(@Self)^.&set := $00000001;
  33527. end;
  33528. procedure TDMAC3_U1ADDR.clearDEVADDR0; inline;
  33529. begin
  33530. pTDefRegMap(@Self)^.clr := $00000001;
  33531. end;
  33532. procedure TDMAC3_U1ADDR.setDEVADDR0(thebits : TBits_1); inline;
  33533. begin
  33534. if thebits = 0 then
  33535. pTDefRegMap(@Self)^.clr := $00000001
  33536. else
  33537. pTDefRegMap(@Self)^.&set := $00000001;
  33538. end;
  33539. function TDMAC3_U1ADDR.getDEVADDR0 : TBits_1; inline;
  33540. begin
  33541. getDEVADDR0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33542. end;
  33543. procedure TDMAC3_U1ADDR.setDEVADDR1; inline;
  33544. begin
  33545. pTDefRegMap(@Self)^.&set := $00000002;
  33546. end;
  33547. procedure TDMAC3_U1ADDR.clearDEVADDR1; inline;
  33548. begin
  33549. pTDefRegMap(@Self)^.clr := $00000002;
  33550. end;
  33551. procedure TDMAC3_U1ADDR.setDEVADDR1(thebits : TBits_1); inline;
  33552. begin
  33553. if thebits = 0 then
  33554. pTDefRegMap(@Self)^.clr := $00000002
  33555. else
  33556. pTDefRegMap(@Self)^.&set := $00000002;
  33557. end;
  33558. function TDMAC3_U1ADDR.getDEVADDR1 : TBits_1; inline;
  33559. begin
  33560. getDEVADDR1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33561. end;
  33562. procedure TDMAC3_U1ADDR.setDEVADDR2; inline;
  33563. begin
  33564. pTDefRegMap(@Self)^.&set := $00000004;
  33565. end;
  33566. procedure TDMAC3_U1ADDR.clearDEVADDR2; inline;
  33567. begin
  33568. pTDefRegMap(@Self)^.clr := $00000004;
  33569. end;
  33570. procedure TDMAC3_U1ADDR.setDEVADDR2(thebits : TBits_1); inline;
  33571. begin
  33572. if thebits = 0 then
  33573. pTDefRegMap(@Self)^.clr := $00000004
  33574. else
  33575. pTDefRegMap(@Self)^.&set := $00000004;
  33576. end;
  33577. function TDMAC3_U1ADDR.getDEVADDR2 : TBits_1; inline;
  33578. begin
  33579. getDEVADDR2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33580. end;
  33581. procedure TDMAC3_U1ADDR.setDEVADDR3; inline;
  33582. begin
  33583. pTDefRegMap(@Self)^.&set := $00000008;
  33584. end;
  33585. procedure TDMAC3_U1ADDR.clearDEVADDR3; inline;
  33586. begin
  33587. pTDefRegMap(@Self)^.clr := $00000008;
  33588. end;
  33589. procedure TDMAC3_U1ADDR.setDEVADDR3(thebits : TBits_1); inline;
  33590. begin
  33591. if thebits = 0 then
  33592. pTDefRegMap(@Self)^.clr := $00000008
  33593. else
  33594. pTDefRegMap(@Self)^.&set := $00000008;
  33595. end;
  33596. function TDMAC3_U1ADDR.getDEVADDR3 : TBits_1; inline;
  33597. begin
  33598. getDEVADDR3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33599. end;
  33600. procedure TDMAC3_U1ADDR.setDEVADDR4; inline;
  33601. begin
  33602. pTDefRegMap(@Self)^.&set := $00000010;
  33603. end;
  33604. procedure TDMAC3_U1ADDR.clearDEVADDR4; inline;
  33605. begin
  33606. pTDefRegMap(@Self)^.clr := $00000010;
  33607. end;
  33608. procedure TDMAC3_U1ADDR.setDEVADDR4(thebits : TBits_1); inline;
  33609. begin
  33610. if thebits = 0 then
  33611. pTDefRegMap(@Self)^.clr := $00000010
  33612. else
  33613. pTDefRegMap(@Self)^.&set := $00000010;
  33614. end;
  33615. function TDMAC3_U1ADDR.getDEVADDR4 : TBits_1; inline;
  33616. begin
  33617. getDEVADDR4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33618. end;
  33619. procedure TDMAC3_U1ADDR.setDEVADDR5; inline;
  33620. begin
  33621. pTDefRegMap(@Self)^.&set := $00000020;
  33622. end;
  33623. procedure TDMAC3_U1ADDR.clearDEVADDR5; inline;
  33624. begin
  33625. pTDefRegMap(@Self)^.clr := $00000020;
  33626. end;
  33627. procedure TDMAC3_U1ADDR.setDEVADDR5(thebits : TBits_1); inline;
  33628. begin
  33629. if thebits = 0 then
  33630. pTDefRegMap(@Self)^.clr := $00000020
  33631. else
  33632. pTDefRegMap(@Self)^.&set := $00000020;
  33633. end;
  33634. function TDMAC3_U1ADDR.getDEVADDR5 : TBits_1; inline;
  33635. begin
  33636. getDEVADDR5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33637. end;
  33638. procedure TDMAC3_U1ADDR.setDEVADDR6; inline;
  33639. begin
  33640. pTDefRegMap(@Self)^.&set := $00000040;
  33641. end;
  33642. procedure TDMAC3_U1ADDR.clearDEVADDR6; inline;
  33643. begin
  33644. pTDefRegMap(@Self)^.clr := $00000040;
  33645. end;
  33646. procedure TDMAC3_U1ADDR.setDEVADDR6(thebits : TBits_1); inline;
  33647. begin
  33648. if thebits = 0 then
  33649. pTDefRegMap(@Self)^.clr := $00000040
  33650. else
  33651. pTDefRegMap(@Self)^.&set := $00000040;
  33652. end;
  33653. function TDMAC3_U1ADDR.getDEVADDR6 : TBits_1; inline;
  33654. begin
  33655. getDEVADDR6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33656. end;
  33657. procedure TDMAC3_U1FRML.setFRML(thebits : TBits_8); inline;
  33658. begin
  33659. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF00 or ( thebits shl 0 );
  33660. end;
  33661. function TDMAC3_U1FRML.getFRML : TBits_8; inline;
  33662. begin
  33663. getFRML := (pTDefRegMap(@Self)^.val and $000000FF) shr 0;
  33664. end;
  33665. procedure TDMAC3_U1FRML.setFRM0; inline;
  33666. begin
  33667. pTDefRegMap(@Self)^.&set := $00000001;
  33668. end;
  33669. procedure TDMAC3_U1FRML.clearFRM0; inline;
  33670. begin
  33671. pTDefRegMap(@Self)^.clr := $00000001;
  33672. end;
  33673. procedure TDMAC3_U1FRML.setFRM0(thebits : TBits_1); inline;
  33674. begin
  33675. if thebits = 0 then
  33676. pTDefRegMap(@Self)^.clr := $00000001
  33677. else
  33678. pTDefRegMap(@Self)^.&set := $00000001;
  33679. end;
  33680. function TDMAC3_U1FRML.getFRM0 : TBits_1; inline;
  33681. begin
  33682. getFRM0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33683. end;
  33684. procedure TDMAC3_U1FRML.setFRM1; inline;
  33685. begin
  33686. pTDefRegMap(@Self)^.&set := $00000002;
  33687. end;
  33688. procedure TDMAC3_U1FRML.clearFRM1; inline;
  33689. begin
  33690. pTDefRegMap(@Self)^.clr := $00000002;
  33691. end;
  33692. procedure TDMAC3_U1FRML.setFRM1(thebits : TBits_1); inline;
  33693. begin
  33694. if thebits = 0 then
  33695. pTDefRegMap(@Self)^.clr := $00000002
  33696. else
  33697. pTDefRegMap(@Self)^.&set := $00000002;
  33698. end;
  33699. function TDMAC3_U1FRML.getFRM1 : TBits_1; inline;
  33700. begin
  33701. getFRM1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33702. end;
  33703. procedure TDMAC3_U1FRML.setFRM2; inline;
  33704. begin
  33705. pTDefRegMap(@Self)^.&set := $00000004;
  33706. end;
  33707. procedure TDMAC3_U1FRML.clearFRM2; inline;
  33708. begin
  33709. pTDefRegMap(@Self)^.clr := $00000004;
  33710. end;
  33711. procedure TDMAC3_U1FRML.setFRM2(thebits : TBits_1); inline;
  33712. begin
  33713. if thebits = 0 then
  33714. pTDefRegMap(@Self)^.clr := $00000004
  33715. else
  33716. pTDefRegMap(@Self)^.&set := $00000004;
  33717. end;
  33718. function TDMAC3_U1FRML.getFRM2 : TBits_1; inline;
  33719. begin
  33720. getFRM2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33721. end;
  33722. procedure TDMAC3_U1FRML.setFRM3; inline;
  33723. begin
  33724. pTDefRegMap(@Self)^.&set := $00000008;
  33725. end;
  33726. procedure TDMAC3_U1FRML.clearFRM3; inline;
  33727. begin
  33728. pTDefRegMap(@Self)^.clr := $00000008;
  33729. end;
  33730. procedure TDMAC3_U1FRML.setFRM3(thebits : TBits_1); inline;
  33731. begin
  33732. if thebits = 0 then
  33733. pTDefRegMap(@Self)^.clr := $00000008
  33734. else
  33735. pTDefRegMap(@Self)^.&set := $00000008;
  33736. end;
  33737. function TDMAC3_U1FRML.getFRM3 : TBits_1; inline;
  33738. begin
  33739. getFRM3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33740. end;
  33741. procedure TDMAC3_U1FRML.setFRM4; inline;
  33742. begin
  33743. pTDefRegMap(@Self)^.&set := $00000010;
  33744. end;
  33745. procedure TDMAC3_U1FRML.clearFRM4; inline;
  33746. begin
  33747. pTDefRegMap(@Self)^.clr := $00000010;
  33748. end;
  33749. procedure TDMAC3_U1FRML.setFRM4(thebits : TBits_1); inline;
  33750. begin
  33751. if thebits = 0 then
  33752. pTDefRegMap(@Self)^.clr := $00000010
  33753. else
  33754. pTDefRegMap(@Self)^.&set := $00000010;
  33755. end;
  33756. function TDMAC3_U1FRML.getFRM4 : TBits_1; inline;
  33757. begin
  33758. getFRM4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33759. end;
  33760. procedure TDMAC3_U1FRML.setFRM5; inline;
  33761. begin
  33762. pTDefRegMap(@Self)^.&set := $00000020;
  33763. end;
  33764. procedure TDMAC3_U1FRML.clearFRM5; inline;
  33765. begin
  33766. pTDefRegMap(@Self)^.clr := $00000020;
  33767. end;
  33768. procedure TDMAC3_U1FRML.setFRM5(thebits : TBits_1); inline;
  33769. begin
  33770. if thebits = 0 then
  33771. pTDefRegMap(@Self)^.clr := $00000020
  33772. else
  33773. pTDefRegMap(@Self)^.&set := $00000020;
  33774. end;
  33775. function TDMAC3_U1FRML.getFRM5 : TBits_1; inline;
  33776. begin
  33777. getFRM5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  33778. end;
  33779. procedure TDMAC3_U1FRML.setFRM6; inline;
  33780. begin
  33781. pTDefRegMap(@Self)^.&set := $00000040;
  33782. end;
  33783. procedure TDMAC3_U1FRML.clearFRM6; inline;
  33784. begin
  33785. pTDefRegMap(@Self)^.clr := $00000040;
  33786. end;
  33787. procedure TDMAC3_U1FRML.setFRM6(thebits : TBits_1); inline;
  33788. begin
  33789. if thebits = 0 then
  33790. pTDefRegMap(@Self)^.clr := $00000040
  33791. else
  33792. pTDefRegMap(@Self)^.&set := $00000040;
  33793. end;
  33794. function TDMAC3_U1FRML.getFRM6 : TBits_1; inline;
  33795. begin
  33796. getFRM6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  33797. end;
  33798. procedure TDMAC3_U1FRML.setFRM7; inline;
  33799. begin
  33800. pTDefRegMap(@Self)^.&set := $00000080;
  33801. end;
  33802. procedure TDMAC3_U1FRML.clearFRM7; inline;
  33803. begin
  33804. pTDefRegMap(@Self)^.clr := $00000080;
  33805. end;
  33806. procedure TDMAC3_U1FRML.setFRM7(thebits : TBits_1); inline;
  33807. begin
  33808. if thebits = 0 then
  33809. pTDefRegMap(@Self)^.clr := $00000080
  33810. else
  33811. pTDefRegMap(@Self)^.&set := $00000080;
  33812. end;
  33813. function TDMAC3_U1FRML.getFRM7 : TBits_1; inline;
  33814. begin
  33815. getFRM7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  33816. end;
  33817. procedure TDMAC3_U1FRMH.setFRMH(thebits : TBits_3); inline;
  33818. begin
  33819. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  33820. end;
  33821. function TDMAC3_U1FRMH.getFRMH : TBits_3; inline;
  33822. begin
  33823. getFRMH := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  33824. end;
  33825. procedure TDMAC3_U1FRMH.setFRM8; inline;
  33826. begin
  33827. pTDefRegMap(@Self)^.&set := $00000001;
  33828. end;
  33829. procedure TDMAC3_U1FRMH.clearFRM8; inline;
  33830. begin
  33831. pTDefRegMap(@Self)^.clr := $00000001;
  33832. end;
  33833. procedure TDMAC3_U1FRMH.setFRM8(thebits : TBits_1); inline;
  33834. begin
  33835. if thebits = 0 then
  33836. pTDefRegMap(@Self)^.clr := $00000001
  33837. else
  33838. pTDefRegMap(@Self)^.&set := $00000001;
  33839. end;
  33840. function TDMAC3_U1FRMH.getFRM8 : TBits_1; inline;
  33841. begin
  33842. getFRM8 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33843. end;
  33844. procedure TDMAC3_U1FRMH.setFRM9; inline;
  33845. begin
  33846. pTDefRegMap(@Self)^.&set := $00000002;
  33847. end;
  33848. procedure TDMAC3_U1FRMH.clearFRM9; inline;
  33849. begin
  33850. pTDefRegMap(@Self)^.clr := $00000002;
  33851. end;
  33852. procedure TDMAC3_U1FRMH.setFRM9(thebits : TBits_1); inline;
  33853. begin
  33854. if thebits = 0 then
  33855. pTDefRegMap(@Self)^.clr := $00000002
  33856. else
  33857. pTDefRegMap(@Self)^.&set := $00000002;
  33858. end;
  33859. function TDMAC3_U1FRMH.getFRM9 : TBits_1; inline;
  33860. begin
  33861. getFRM9 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33862. end;
  33863. procedure TDMAC3_U1FRMH.setFRM10; inline;
  33864. begin
  33865. pTDefRegMap(@Self)^.&set := $00000004;
  33866. end;
  33867. procedure TDMAC3_U1FRMH.clearFRM10; inline;
  33868. begin
  33869. pTDefRegMap(@Self)^.clr := $00000004;
  33870. end;
  33871. procedure TDMAC3_U1FRMH.setFRM10(thebits : TBits_1); inline;
  33872. begin
  33873. if thebits = 0 then
  33874. pTDefRegMap(@Self)^.clr := $00000004
  33875. else
  33876. pTDefRegMap(@Self)^.&set := $00000004;
  33877. end;
  33878. function TDMAC3_U1FRMH.getFRM10 : TBits_1; inline;
  33879. begin
  33880. getFRM10 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33881. end;
  33882. procedure TDMAC3_U1TOK.setEP(thebits : TBits_4); inline;
  33883. begin
  33884. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF0 or ( thebits shl 0 );
  33885. end;
  33886. function TDMAC3_U1TOK.getEP : TBits_4; inline;
  33887. begin
  33888. getEP := (pTDefRegMap(@Self)^.val and $0000000F) shr 0;
  33889. end;
  33890. procedure TDMAC3_U1TOK.setPID(thebits : TBits_4); inline;
  33891. begin
  33892. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF0F or ( thebits shl 4 );
  33893. end;
  33894. function TDMAC3_U1TOK.getPID : TBits_4; inline;
  33895. begin
  33896. getPID := (pTDefRegMap(@Self)^.val and $000000F0) shr 4;
  33897. end;
  33898. procedure TDMAC3_U1TOK.setEP0; inline;
  33899. begin
  33900. pTDefRegMap(@Self)^.&set := $00000001;
  33901. end;
  33902. procedure TDMAC3_U1TOK.clearEP0; inline;
  33903. begin
  33904. pTDefRegMap(@Self)^.clr := $00000001;
  33905. end;
  33906. procedure TDMAC3_U1TOK.setEP0(thebits : TBits_1); inline;
  33907. begin
  33908. if thebits = 0 then
  33909. pTDefRegMap(@Self)^.clr := $00000001
  33910. else
  33911. pTDefRegMap(@Self)^.&set := $00000001;
  33912. end;
  33913. function TDMAC3_U1TOK.getEP0 : TBits_1; inline;
  33914. begin
  33915. getEP0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  33916. end;
  33917. procedure TDMAC3_U1TOK.setEP1; inline;
  33918. begin
  33919. pTDefRegMap(@Self)^.&set := $00000002;
  33920. end;
  33921. procedure TDMAC3_U1TOK.clearEP1; inline;
  33922. begin
  33923. pTDefRegMap(@Self)^.clr := $00000002;
  33924. end;
  33925. procedure TDMAC3_U1TOK.setEP1(thebits : TBits_1); inline;
  33926. begin
  33927. if thebits = 0 then
  33928. pTDefRegMap(@Self)^.clr := $00000002
  33929. else
  33930. pTDefRegMap(@Self)^.&set := $00000002;
  33931. end;
  33932. function TDMAC3_U1TOK.getEP1 : TBits_1; inline;
  33933. begin
  33934. getEP1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  33935. end;
  33936. procedure TDMAC3_U1TOK.setEP2; inline;
  33937. begin
  33938. pTDefRegMap(@Self)^.&set := $00000004;
  33939. end;
  33940. procedure TDMAC3_U1TOK.clearEP2; inline;
  33941. begin
  33942. pTDefRegMap(@Self)^.clr := $00000004;
  33943. end;
  33944. procedure TDMAC3_U1TOK.setEP2(thebits : TBits_1); inline;
  33945. begin
  33946. if thebits = 0 then
  33947. pTDefRegMap(@Self)^.clr := $00000004
  33948. else
  33949. pTDefRegMap(@Self)^.&set := $00000004;
  33950. end;
  33951. function TDMAC3_U1TOK.getEP2 : TBits_1; inline;
  33952. begin
  33953. getEP2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  33954. end;
  33955. procedure TDMAC3_U1TOK.setEP3; inline;
  33956. begin
  33957. pTDefRegMap(@Self)^.&set := $00000008;
  33958. end;
  33959. procedure TDMAC3_U1TOK.clearEP3; inline;
  33960. begin
  33961. pTDefRegMap(@Self)^.clr := $00000008;
  33962. end;
  33963. procedure TDMAC3_U1TOK.setEP3(thebits : TBits_1); inline;
  33964. begin
  33965. if thebits = 0 then
  33966. pTDefRegMap(@Self)^.clr := $00000008
  33967. else
  33968. pTDefRegMap(@Self)^.&set := $00000008;
  33969. end;
  33970. function TDMAC3_U1TOK.getEP3 : TBits_1; inline;
  33971. begin
  33972. getEP3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  33973. end;
  33974. procedure TDMAC3_U1TOK.setPID0; inline;
  33975. begin
  33976. pTDefRegMap(@Self)^.&set := $00000010;
  33977. end;
  33978. procedure TDMAC3_U1TOK.clearPID0; inline;
  33979. begin
  33980. pTDefRegMap(@Self)^.clr := $00000010;
  33981. end;
  33982. procedure TDMAC3_U1TOK.setPID0(thebits : TBits_1); inline;
  33983. begin
  33984. if thebits = 0 then
  33985. pTDefRegMap(@Self)^.clr := $00000010
  33986. else
  33987. pTDefRegMap(@Self)^.&set := $00000010;
  33988. end;
  33989. function TDMAC3_U1TOK.getPID0 : TBits_1; inline;
  33990. begin
  33991. getPID0 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  33992. end;
  33993. procedure TDMAC3_U1TOK.setPID1; inline;
  33994. begin
  33995. pTDefRegMap(@Self)^.&set := $00000020;
  33996. end;
  33997. procedure TDMAC3_U1TOK.clearPID1; inline;
  33998. begin
  33999. pTDefRegMap(@Self)^.clr := $00000020;
  34000. end;
  34001. procedure TDMAC3_U1TOK.setPID1(thebits : TBits_1); inline;
  34002. begin
  34003. if thebits = 0 then
  34004. pTDefRegMap(@Self)^.clr := $00000020
  34005. else
  34006. pTDefRegMap(@Self)^.&set := $00000020;
  34007. end;
  34008. function TDMAC3_U1TOK.getPID1 : TBits_1; inline;
  34009. begin
  34010. getPID1 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  34011. end;
  34012. procedure TDMAC3_U1TOK.setPID2; inline;
  34013. begin
  34014. pTDefRegMap(@Self)^.&set := $00000040;
  34015. end;
  34016. procedure TDMAC3_U1TOK.clearPID2; inline;
  34017. begin
  34018. pTDefRegMap(@Self)^.clr := $00000040;
  34019. end;
  34020. procedure TDMAC3_U1TOK.setPID2(thebits : TBits_1); inline;
  34021. begin
  34022. if thebits = 0 then
  34023. pTDefRegMap(@Self)^.clr := $00000040
  34024. else
  34025. pTDefRegMap(@Self)^.&set := $00000040;
  34026. end;
  34027. function TDMAC3_U1TOK.getPID2 : TBits_1; inline;
  34028. begin
  34029. getPID2 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  34030. end;
  34031. procedure TDMAC3_U1TOK.setPID3; inline;
  34032. begin
  34033. pTDefRegMap(@Self)^.&set := $00000080;
  34034. end;
  34035. procedure TDMAC3_U1TOK.clearPID3; inline;
  34036. begin
  34037. pTDefRegMap(@Self)^.clr := $00000080;
  34038. end;
  34039. procedure TDMAC3_U1TOK.setPID3(thebits : TBits_1); inline;
  34040. begin
  34041. if thebits = 0 then
  34042. pTDefRegMap(@Self)^.clr := $00000080
  34043. else
  34044. pTDefRegMap(@Self)^.&set := $00000080;
  34045. end;
  34046. function TDMAC3_U1TOK.getPID3 : TBits_1; inline;
  34047. begin
  34048. getPID3 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34049. end;
  34050. procedure TPORTA_ANSELA.setANSA0; inline;
  34051. begin
  34052. pTDefRegMap(@Self)^.&set := $00000001;
  34053. end;
  34054. procedure TPORTA_ANSELA.clearANSA0; inline;
  34055. begin
  34056. pTDefRegMap(@Self)^.clr := $00000001;
  34057. end;
  34058. procedure TPORTA_ANSELA.setANSA0(thebits : TBits_1); inline;
  34059. begin
  34060. if thebits = 0 then
  34061. pTDefRegMap(@Self)^.clr := $00000001
  34062. else
  34063. pTDefRegMap(@Self)^.&set := $00000001;
  34064. end;
  34065. function TPORTA_ANSELA.getANSA0 : TBits_1; inline;
  34066. begin
  34067. getANSA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34068. end;
  34069. procedure TPORTA_ANSELA.setANSA1; inline;
  34070. begin
  34071. pTDefRegMap(@Self)^.&set := $00000002;
  34072. end;
  34073. procedure TPORTA_ANSELA.clearANSA1; inline;
  34074. begin
  34075. pTDefRegMap(@Self)^.clr := $00000002;
  34076. end;
  34077. procedure TPORTA_ANSELA.setANSA1(thebits : TBits_1); inline;
  34078. begin
  34079. if thebits = 0 then
  34080. pTDefRegMap(@Self)^.clr := $00000002
  34081. else
  34082. pTDefRegMap(@Self)^.&set := $00000002;
  34083. end;
  34084. function TPORTA_ANSELA.getANSA1 : TBits_1; inline;
  34085. begin
  34086. getANSA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34087. end;
  34088. procedure TPORTA_ANSELA.setw(thebits : TBits_32); inline;
  34089. begin
  34090. pTDefRegMap(@Self)^.val := thebits;
  34091. end;
  34092. function TPORTA_ANSELA.getw : TBits_32; inline;
  34093. begin
  34094. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34095. end;
  34096. procedure TPORTA_TRISA.setTRISA0; inline;
  34097. begin
  34098. pTDefRegMap(@Self)^.&set := $00000001;
  34099. end;
  34100. procedure TPORTA_TRISA.clearTRISA0; inline;
  34101. begin
  34102. pTDefRegMap(@Self)^.clr := $00000001;
  34103. end;
  34104. procedure TPORTA_TRISA.setTRISA0(thebits : TBits_1); inline;
  34105. begin
  34106. if thebits = 0 then
  34107. pTDefRegMap(@Self)^.clr := $00000001
  34108. else
  34109. pTDefRegMap(@Self)^.&set := $00000001;
  34110. end;
  34111. function TPORTA_TRISA.getTRISA0 : TBits_1; inline;
  34112. begin
  34113. getTRISA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34114. end;
  34115. procedure TPORTA_TRISA.setTRISA1; inline;
  34116. begin
  34117. pTDefRegMap(@Self)^.&set := $00000002;
  34118. end;
  34119. procedure TPORTA_TRISA.clearTRISA1; inline;
  34120. begin
  34121. pTDefRegMap(@Self)^.clr := $00000002;
  34122. end;
  34123. procedure TPORTA_TRISA.setTRISA1(thebits : TBits_1); inline;
  34124. begin
  34125. if thebits = 0 then
  34126. pTDefRegMap(@Self)^.clr := $00000002
  34127. else
  34128. pTDefRegMap(@Self)^.&set := $00000002;
  34129. end;
  34130. function TPORTA_TRISA.getTRISA1 : TBits_1; inline;
  34131. begin
  34132. getTRISA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34133. end;
  34134. procedure TPORTA_TRISA.setTRISA2; inline;
  34135. begin
  34136. pTDefRegMap(@Self)^.&set := $00000004;
  34137. end;
  34138. procedure TPORTA_TRISA.clearTRISA2; inline;
  34139. begin
  34140. pTDefRegMap(@Self)^.clr := $00000004;
  34141. end;
  34142. procedure TPORTA_TRISA.setTRISA2(thebits : TBits_1); inline;
  34143. begin
  34144. if thebits = 0 then
  34145. pTDefRegMap(@Self)^.clr := $00000004
  34146. else
  34147. pTDefRegMap(@Self)^.&set := $00000004;
  34148. end;
  34149. function TPORTA_TRISA.getTRISA2 : TBits_1; inline;
  34150. begin
  34151. getTRISA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34152. end;
  34153. procedure TPORTA_TRISA.setTRISA3; inline;
  34154. begin
  34155. pTDefRegMap(@Self)^.&set := $00000008;
  34156. end;
  34157. procedure TPORTA_TRISA.clearTRISA3; inline;
  34158. begin
  34159. pTDefRegMap(@Self)^.clr := $00000008;
  34160. end;
  34161. procedure TPORTA_TRISA.setTRISA3(thebits : TBits_1); inline;
  34162. begin
  34163. if thebits = 0 then
  34164. pTDefRegMap(@Self)^.clr := $00000008
  34165. else
  34166. pTDefRegMap(@Self)^.&set := $00000008;
  34167. end;
  34168. function TPORTA_TRISA.getTRISA3 : TBits_1; inline;
  34169. begin
  34170. getTRISA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34171. end;
  34172. procedure TPORTA_TRISA.setTRISA4; inline;
  34173. begin
  34174. pTDefRegMap(@Self)^.&set := $00000010;
  34175. end;
  34176. procedure TPORTA_TRISA.clearTRISA4; inline;
  34177. begin
  34178. pTDefRegMap(@Self)^.clr := $00000010;
  34179. end;
  34180. procedure TPORTA_TRISA.setTRISA4(thebits : TBits_1); inline;
  34181. begin
  34182. if thebits = 0 then
  34183. pTDefRegMap(@Self)^.clr := $00000010
  34184. else
  34185. pTDefRegMap(@Self)^.&set := $00000010;
  34186. end;
  34187. function TPORTA_TRISA.getTRISA4 : TBits_1; inline;
  34188. begin
  34189. getTRISA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34190. end;
  34191. procedure TPORTA_TRISA.setTRISA7; inline;
  34192. begin
  34193. pTDefRegMap(@Self)^.&set := $00000080;
  34194. end;
  34195. procedure TPORTA_TRISA.clearTRISA7; inline;
  34196. begin
  34197. pTDefRegMap(@Self)^.clr := $00000080;
  34198. end;
  34199. procedure TPORTA_TRISA.setTRISA7(thebits : TBits_1); inline;
  34200. begin
  34201. if thebits = 0 then
  34202. pTDefRegMap(@Self)^.clr := $00000080
  34203. else
  34204. pTDefRegMap(@Self)^.&set := $00000080;
  34205. end;
  34206. function TPORTA_TRISA.getTRISA7 : TBits_1; inline;
  34207. begin
  34208. getTRISA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34209. end;
  34210. procedure TPORTA_TRISA.setTRISA8; inline;
  34211. begin
  34212. pTDefRegMap(@Self)^.&set := $00000100;
  34213. end;
  34214. procedure TPORTA_TRISA.clearTRISA8; inline;
  34215. begin
  34216. pTDefRegMap(@Self)^.clr := $00000100;
  34217. end;
  34218. procedure TPORTA_TRISA.setTRISA8(thebits : TBits_1); inline;
  34219. begin
  34220. if thebits = 0 then
  34221. pTDefRegMap(@Self)^.clr := $00000100
  34222. else
  34223. pTDefRegMap(@Self)^.&set := $00000100;
  34224. end;
  34225. function TPORTA_TRISA.getTRISA8 : TBits_1; inline;
  34226. begin
  34227. getTRISA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34228. end;
  34229. procedure TPORTA_TRISA.setTRISA9; inline;
  34230. begin
  34231. pTDefRegMap(@Self)^.&set := $00000200;
  34232. end;
  34233. procedure TPORTA_TRISA.clearTRISA9; inline;
  34234. begin
  34235. pTDefRegMap(@Self)^.clr := $00000200;
  34236. end;
  34237. procedure TPORTA_TRISA.setTRISA9(thebits : TBits_1); inline;
  34238. begin
  34239. if thebits = 0 then
  34240. pTDefRegMap(@Self)^.clr := $00000200
  34241. else
  34242. pTDefRegMap(@Self)^.&set := $00000200;
  34243. end;
  34244. function TPORTA_TRISA.getTRISA9 : TBits_1; inline;
  34245. begin
  34246. getTRISA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34247. end;
  34248. procedure TPORTA_TRISA.setTRISA10; inline;
  34249. begin
  34250. pTDefRegMap(@Self)^.&set := $00000400;
  34251. end;
  34252. procedure TPORTA_TRISA.clearTRISA10; inline;
  34253. begin
  34254. pTDefRegMap(@Self)^.clr := $00000400;
  34255. end;
  34256. procedure TPORTA_TRISA.setTRISA10(thebits : TBits_1); inline;
  34257. begin
  34258. if thebits = 0 then
  34259. pTDefRegMap(@Self)^.clr := $00000400
  34260. else
  34261. pTDefRegMap(@Self)^.&set := $00000400;
  34262. end;
  34263. function TPORTA_TRISA.getTRISA10 : TBits_1; inline;
  34264. begin
  34265. getTRISA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34266. end;
  34267. procedure TPORTA_TRISA.setw(thebits : TBits_32); inline;
  34268. begin
  34269. pTDefRegMap(@Self)^.val := thebits;
  34270. end;
  34271. function TPORTA_TRISA.getw : TBits_32; inline;
  34272. begin
  34273. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34274. end;
  34275. procedure TPORTA_PORTA.setRA0; inline;
  34276. begin
  34277. pTDefRegMap(@Self)^.&set := $00000001;
  34278. end;
  34279. procedure TPORTA_PORTA.clearRA0; inline;
  34280. begin
  34281. pTDefRegMap(@Self)^.clr := $00000001;
  34282. end;
  34283. procedure TPORTA_PORTA.setRA0(thebits : TBits_1); inline;
  34284. begin
  34285. if thebits = 0 then
  34286. pTDefRegMap(@Self)^.clr := $00000001
  34287. else
  34288. pTDefRegMap(@Self)^.&set := $00000001;
  34289. end;
  34290. function TPORTA_PORTA.getRA0 : TBits_1; inline;
  34291. begin
  34292. getRA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34293. end;
  34294. procedure TPORTA_PORTA.setRA1; inline;
  34295. begin
  34296. pTDefRegMap(@Self)^.&set := $00000002;
  34297. end;
  34298. procedure TPORTA_PORTA.clearRA1; inline;
  34299. begin
  34300. pTDefRegMap(@Self)^.clr := $00000002;
  34301. end;
  34302. procedure TPORTA_PORTA.setRA1(thebits : TBits_1); inline;
  34303. begin
  34304. if thebits = 0 then
  34305. pTDefRegMap(@Self)^.clr := $00000002
  34306. else
  34307. pTDefRegMap(@Self)^.&set := $00000002;
  34308. end;
  34309. function TPORTA_PORTA.getRA1 : TBits_1; inline;
  34310. begin
  34311. getRA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34312. end;
  34313. procedure TPORTA_PORTA.setRA2; inline;
  34314. begin
  34315. pTDefRegMap(@Self)^.&set := $00000004;
  34316. end;
  34317. procedure TPORTA_PORTA.clearRA2; inline;
  34318. begin
  34319. pTDefRegMap(@Self)^.clr := $00000004;
  34320. end;
  34321. procedure TPORTA_PORTA.setRA2(thebits : TBits_1); inline;
  34322. begin
  34323. if thebits = 0 then
  34324. pTDefRegMap(@Self)^.clr := $00000004
  34325. else
  34326. pTDefRegMap(@Self)^.&set := $00000004;
  34327. end;
  34328. function TPORTA_PORTA.getRA2 : TBits_1; inline;
  34329. begin
  34330. getRA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34331. end;
  34332. procedure TPORTA_PORTA.setRA3; inline;
  34333. begin
  34334. pTDefRegMap(@Self)^.&set := $00000008;
  34335. end;
  34336. procedure TPORTA_PORTA.clearRA3; inline;
  34337. begin
  34338. pTDefRegMap(@Self)^.clr := $00000008;
  34339. end;
  34340. procedure TPORTA_PORTA.setRA3(thebits : TBits_1); inline;
  34341. begin
  34342. if thebits = 0 then
  34343. pTDefRegMap(@Self)^.clr := $00000008
  34344. else
  34345. pTDefRegMap(@Self)^.&set := $00000008;
  34346. end;
  34347. function TPORTA_PORTA.getRA3 : TBits_1; inline;
  34348. begin
  34349. getRA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34350. end;
  34351. procedure TPORTA_PORTA.setRA4; inline;
  34352. begin
  34353. pTDefRegMap(@Self)^.&set := $00000010;
  34354. end;
  34355. procedure TPORTA_PORTA.clearRA4; inline;
  34356. begin
  34357. pTDefRegMap(@Self)^.clr := $00000010;
  34358. end;
  34359. procedure TPORTA_PORTA.setRA4(thebits : TBits_1); inline;
  34360. begin
  34361. if thebits = 0 then
  34362. pTDefRegMap(@Self)^.clr := $00000010
  34363. else
  34364. pTDefRegMap(@Self)^.&set := $00000010;
  34365. end;
  34366. function TPORTA_PORTA.getRA4 : TBits_1; inline;
  34367. begin
  34368. getRA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34369. end;
  34370. procedure TPORTA_PORTA.setRA7; inline;
  34371. begin
  34372. pTDefRegMap(@Self)^.&set := $00000080;
  34373. end;
  34374. procedure TPORTA_PORTA.clearRA7; inline;
  34375. begin
  34376. pTDefRegMap(@Self)^.clr := $00000080;
  34377. end;
  34378. procedure TPORTA_PORTA.setRA7(thebits : TBits_1); inline;
  34379. begin
  34380. if thebits = 0 then
  34381. pTDefRegMap(@Self)^.clr := $00000080
  34382. else
  34383. pTDefRegMap(@Self)^.&set := $00000080;
  34384. end;
  34385. function TPORTA_PORTA.getRA7 : TBits_1; inline;
  34386. begin
  34387. getRA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34388. end;
  34389. procedure TPORTA_PORTA.setRA8; inline;
  34390. begin
  34391. pTDefRegMap(@Self)^.&set := $00000100;
  34392. end;
  34393. procedure TPORTA_PORTA.clearRA8; inline;
  34394. begin
  34395. pTDefRegMap(@Self)^.clr := $00000100;
  34396. end;
  34397. procedure TPORTA_PORTA.setRA8(thebits : TBits_1); inline;
  34398. begin
  34399. if thebits = 0 then
  34400. pTDefRegMap(@Self)^.clr := $00000100
  34401. else
  34402. pTDefRegMap(@Self)^.&set := $00000100;
  34403. end;
  34404. function TPORTA_PORTA.getRA8 : TBits_1; inline;
  34405. begin
  34406. getRA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34407. end;
  34408. procedure TPORTA_PORTA.setRA9; inline;
  34409. begin
  34410. pTDefRegMap(@Self)^.&set := $00000200;
  34411. end;
  34412. procedure TPORTA_PORTA.clearRA9; inline;
  34413. begin
  34414. pTDefRegMap(@Self)^.clr := $00000200;
  34415. end;
  34416. procedure TPORTA_PORTA.setRA9(thebits : TBits_1); inline;
  34417. begin
  34418. if thebits = 0 then
  34419. pTDefRegMap(@Self)^.clr := $00000200
  34420. else
  34421. pTDefRegMap(@Self)^.&set := $00000200;
  34422. end;
  34423. function TPORTA_PORTA.getRA9 : TBits_1; inline;
  34424. begin
  34425. getRA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34426. end;
  34427. procedure TPORTA_PORTA.setRA10; inline;
  34428. begin
  34429. pTDefRegMap(@Self)^.&set := $00000400;
  34430. end;
  34431. procedure TPORTA_PORTA.clearRA10; inline;
  34432. begin
  34433. pTDefRegMap(@Self)^.clr := $00000400;
  34434. end;
  34435. procedure TPORTA_PORTA.setRA10(thebits : TBits_1); inline;
  34436. begin
  34437. if thebits = 0 then
  34438. pTDefRegMap(@Self)^.clr := $00000400
  34439. else
  34440. pTDefRegMap(@Self)^.&set := $00000400;
  34441. end;
  34442. function TPORTA_PORTA.getRA10 : TBits_1; inline;
  34443. begin
  34444. getRA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34445. end;
  34446. procedure TPORTA_PORTA.setw(thebits : TBits_32); inline;
  34447. begin
  34448. pTDefRegMap(@Self)^.val := thebits;
  34449. end;
  34450. function TPORTA_PORTA.getw : TBits_32; inline;
  34451. begin
  34452. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34453. end;
  34454. procedure TPORTA_LATA.setLATA0; inline;
  34455. begin
  34456. pTDefRegMap(@Self)^.&set := $00000001;
  34457. end;
  34458. procedure TPORTA_LATA.clearLATA0; inline;
  34459. begin
  34460. pTDefRegMap(@Self)^.clr := $00000001;
  34461. end;
  34462. procedure TPORTA_LATA.setLATA0(thebits : TBits_1); inline;
  34463. begin
  34464. if thebits = 0 then
  34465. pTDefRegMap(@Self)^.clr := $00000001
  34466. else
  34467. pTDefRegMap(@Self)^.&set := $00000001;
  34468. end;
  34469. function TPORTA_LATA.getLATA0 : TBits_1; inline;
  34470. begin
  34471. getLATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34472. end;
  34473. procedure TPORTA_LATA.setLATA1; inline;
  34474. begin
  34475. pTDefRegMap(@Self)^.&set := $00000002;
  34476. end;
  34477. procedure TPORTA_LATA.clearLATA1; inline;
  34478. begin
  34479. pTDefRegMap(@Self)^.clr := $00000002;
  34480. end;
  34481. procedure TPORTA_LATA.setLATA1(thebits : TBits_1); inline;
  34482. begin
  34483. if thebits = 0 then
  34484. pTDefRegMap(@Self)^.clr := $00000002
  34485. else
  34486. pTDefRegMap(@Self)^.&set := $00000002;
  34487. end;
  34488. function TPORTA_LATA.getLATA1 : TBits_1; inline;
  34489. begin
  34490. getLATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34491. end;
  34492. procedure TPORTA_LATA.setLATA2; inline;
  34493. begin
  34494. pTDefRegMap(@Self)^.&set := $00000004;
  34495. end;
  34496. procedure TPORTA_LATA.clearLATA2; inline;
  34497. begin
  34498. pTDefRegMap(@Self)^.clr := $00000004;
  34499. end;
  34500. procedure TPORTA_LATA.setLATA2(thebits : TBits_1); inline;
  34501. begin
  34502. if thebits = 0 then
  34503. pTDefRegMap(@Self)^.clr := $00000004
  34504. else
  34505. pTDefRegMap(@Self)^.&set := $00000004;
  34506. end;
  34507. function TPORTA_LATA.getLATA2 : TBits_1; inline;
  34508. begin
  34509. getLATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34510. end;
  34511. procedure TPORTA_LATA.setLATA3; inline;
  34512. begin
  34513. pTDefRegMap(@Self)^.&set := $00000008;
  34514. end;
  34515. procedure TPORTA_LATA.clearLATA3; inline;
  34516. begin
  34517. pTDefRegMap(@Self)^.clr := $00000008;
  34518. end;
  34519. procedure TPORTA_LATA.setLATA3(thebits : TBits_1); inline;
  34520. begin
  34521. if thebits = 0 then
  34522. pTDefRegMap(@Self)^.clr := $00000008
  34523. else
  34524. pTDefRegMap(@Self)^.&set := $00000008;
  34525. end;
  34526. function TPORTA_LATA.getLATA3 : TBits_1; inline;
  34527. begin
  34528. getLATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34529. end;
  34530. procedure TPORTA_LATA.setLATA4; inline;
  34531. begin
  34532. pTDefRegMap(@Self)^.&set := $00000010;
  34533. end;
  34534. procedure TPORTA_LATA.clearLATA4; inline;
  34535. begin
  34536. pTDefRegMap(@Self)^.clr := $00000010;
  34537. end;
  34538. procedure TPORTA_LATA.setLATA4(thebits : TBits_1); inline;
  34539. begin
  34540. if thebits = 0 then
  34541. pTDefRegMap(@Self)^.clr := $00000010
  34542. else
  34543. pTDefRegMap(@Self)^.&set := $00000010;
  34544. end;
  34545. function TPORTA_LATA.getLATA4 : TBits_1; inline;
  34546. begin
  34547. getLATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34548. end;
  34549. procedure TPORTA_LATA.setLATA7; inline;
  34550. begin
  34551. pTDefRegMap(@Self)^.&set := $00000080;
  34552. end;
  34553. procedure TPORTA_LATA.clearLATA7; inline;
  34554. begin
  34555. pTDefRegMap(@Self)^.clr := $00000080;
  34556. end;
  34557. procedure TPORTA_LATA.setLATA7(thebits : TBits_1); inline;
  34558. begin
  34559. if thebits = 0 then
  34560. pTDefRegMap(@Self)^.clr := $00000080
  34561. else
  34562. pTDefRegMap(@Self)^.&set := $00000080;
  34563. end;
  34564. function TPORTA_LATA.getLATA7 : TBits_1; inline;
  34565. begin
  34566. getLATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34567. end;
  34568. procedure TPORTA_LATA.setLATA8; inline;
  34569. begin
  34570. pTDefRegMap(@Self)^.&set := $00000100;
  34571. end;
  34572. procedure TPORTA_LATA.clearLATA8; inline;
  34573. begin
  34574. pTDefRegMap(@Self)^.clr := $00000100;
  34575. end;
  34576. procedure TPORTA_LATA.setLATA8(thebits : TBits_1); inline;
  34577. begin
  34578. if thebits = 0 then
  34579. pTDefRegMap(@Self)^.clr := $00000100
  34580. else
  34581. pTDefRegMap(@Self)^.&set := $00000100;
  34582. end;
  34583. function TPORTA_LATA.getLATA8 : TBits_1; inline;
  34584. begin
  34585. getLATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34586. end;
  34587. procedure TPORTA_LATA.setLATA9; inline;
  34588. begin
  34589. pTDefRegMap(@Self)^.&set := $00000200;
  34590. end;
  34591. procedure TPORTA_LATA.clearLATA9; inline;
  34592. begin
  34593. pTDefRegMap(@Self)^.clr := $00000200;
  34594. end;
  34595. procedure TPORTA_LATA.setLATA9(thebits : TBits_1); inline;
  34596. begin
  34597. if thebits = 0 then
  34598. pTDefRegMap(@Self)^.clr := $00000200
  34599. else
  34600. pTDefRegMap(@Self)^.&set := $00000200;
  34601. end;
  34602. function TPORTA_LATA.getLATA9 : TBits_1; inline;
  34603. begin
  34604. getLATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34605. end;
  34606. procedure TPORTA_LATA.setLATA10; inline;
  34607. begin
  34608. pTDefRegMap(@Self)^.&set := $00000400;
  34609. end;
  34610. procedure TPORTA_LATA.clearLATA10; inline;
  34611. begin
  34612. pTDefRegMap(@Self)^.clr := $00000400;
  34613. end;
  34614. procedure TPORTA_LATA.setLATA10(thebits : TBits_1); inline;
  34615. begin
  34616. if thebits = 0 then
  34617. pTDefRegMap(@Self)^.clr := $00000400
  34618. else
  34619. pTDefRegMap(@Self)^.&set := $00000400;
  34620. end;
  34621. function TPORTA_LATA.getLATA10 : TBits_1; inline;
  34622. begin
  34623. getLATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34624. end;
  34625. procedure TPORTA_LATA.setw(thebits : TBits_32); inline;
  34626. begin
  34627. pTDefRegMap(@Self)^.val := thebits;
  34628. end;
  34629. function TPORTA_LATA.getw : TBits_32; inline;
  34630. begin
  34631. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34632. end;
  34633. procedure TPORTA_ODCA.setODCA7; inline;
  34634. begin
  34635. pTDefRegMap(@Self)^.&set := $00000080;
  34636. end;
  34637. procedure TPORTA_ODCA.clearODCA7; inline;
  34638. begin
  34639. pTDefRegMap(@Self)^.clr := $00000080;
  34640. end;
  34641. procedure TPORTA_ODCA.setODCA7(thebits : TBits_1); inline;
  34642. begin
  34643. if thebits = 0 then
  34644. pTDefRegMap(@Self)^.clr := $00000080
  34645. else
  34646. pTDefRegMap(@Self)^.&set := $00000080;
  34647. end;
  34648. function TPORTA_ODCA.getODCA7 : TBits_1; inline;
  34649. begin
  34650. getODCA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34651. end;
  34652. procedure TPORTA_ODCA.setODCA8; inline;
  34653. begin
  34654. pTDefRegMap(@Self)^.&set := $00000100;
  34655. end;
  34656. procedure TPORTA_ODCA.clearODCA8; inline;
  34657. begin
  34658. pTDefRegMap(@Self)^.clr := $00000100;
  34659. end;
  34660. procedure TPORTA_ODCA.setODCA8(thebits : TBits_1); inline;
  34661. begin
  34662. if thebits = 0 then
  34663. pTDefRegMap(@Self)^.clr := $00000100
  34664. else
  34665. pTDefRegMap(@Self)^.&set := $00000100;
  34666. end;
  34667. function TPORTA_ODCA.getODCA8 : TBits_1; inline;
  34668. begin
  34669. getODCA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34670. end;
  34671. procedure TPORTA_ODCA.setODCA9; inline;
  34672. begin
  34673. pTDefRegMap(@Self)^.&set := $00000200;
  34674. end;
  34675. procedure TPORTA_ODCA.clearODCA9; inline;
  34676. begin
  34677. pTDefRegMap(@Self)^.clr := $00000200;
  34678. end;
  34679. procedure TPORTA_ODCA.setODCA9(thebits : TBits_1); inline;
  34680. begin
  34681. if thebits = 0 then
  34682. pTDefRegMap(@Self)^.clr := $00000200
  34683. else
  34684. pTDefRegMap(@Self)^.&set := $00000200;
  34685. end;
  34686. function TPORTA_ODCA.getODCA9 : TBits_1; inline;
  34687. begin
  34688. getODCA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34689. end;
  34690. procedure TPORTA_ODCA.setODCA10; inline;
  34691. begin
  34692. pTDefRegMap(@Self)^.&set := $00000400;
  34693. end;
  34694. procedure TPORTA_ODCA.clearODCA10; inline;
  34695. begin
  34696. pTDefRegMap(@Self)^.clr := $00000400;
  34697. end;
  34698. procedure TPORTA_ODCA.setODCA10(thebits : TBits_1); inline;
  34699. begin
  34700. if thebits = 0 then
  34701. pTDefRegMap(@Self)^.clr := $00000400
  34702. else
  34703. pTDefRegMap(@Self)^.&set := $00000400;
  34704. end;
  34705. function TPORTA_ODCA.getODCA10 : TBits_1; inline;
  34706. begin
  34707. getODCA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34708. end;
  34709. procedure TPORTA_ODCA.setw(thebits : TBits_32); inline;
  34710. begin
  34711. pTDefRegMap(@Self)^.val := thebits;
  34712. end;
  34713. function TPORTA_ODCA.getw : TBits_32; inline;
  34714. begin
  34715. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34716. end;
  34717. procedure TPORTA_CNPUA.setCNPUA0; inline;
  34718. begin
  34719. pTDefRegMap(@Self)^.&set := $00000001;
  34720. end;
  34721. procedure TPORTA_CNPUA.clearCNPUA0; inline;
  34722. begin
  34723. pTDefRegMap(@Self)^.clr := $00000001;
  34724. end;
  34725. procedure TPORTA_CNPUA.setCNPUA0(thebits : TBits_1); inline;
  34726. begin
  34727. if thebits = 0 then
  34728. pTDefRegMap(@Self)^.clr := $00000001
  34729. else
  34730. pTDefRegMap(@Self)^.&set := $00000001;
  34731. end;
  34732. function TPORTA_CNPUA.getCNPUA0 : TBits_1; inline;
  34733. begin
  34734. getCNPUA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34735. end;
  34736. procedure TPORTA_CNPUA.setCNPUA1; inline;
  34737. begin
  34738. pTDefRegMap(@Self)^.&set := $00000002;
  34739. end;
  34740. procedure TPORTA_CNPUA.clearCNPUA1; inline;
  34741. begin
  34742. pTDefRegMap(@Self)^.clr := $00000002;
  34743. end;
  34744. procedure TPORTA_CNPUA.setCNPUA1(thebits : TBits_1); inline;
  34745. begin
  34746. if thebits = 0 then
  34747. pTDefRegMap(@Self)^.clr := $00000002
  34748. else
  34749. pTDefRegMap(@Self)^.&set := $00000002;
  34750. end;
  34751. function TPORTA_CNPUA.getCNPUA1 : TBits_1; inline;
  34752. begin
  34753. getCNPUA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34754. end;
  34755. procedure TPORTA_CNPUA.setCNPUA2; inline;
  34756. begin
  34757. pTDefRegMap(@Self)^.&set := $00000004;
  34758. end;
  34759. procedure TPORTA_CNPUA.clearCNPUA2; inline;
  34760. begin
  34761. pTDefRegMap(@Self)^.clr := $00000004;
  34762. end;
  34763. procedure TPORTA_CNPUA.setCNPUA2(thebits : TBits_1); inline;
  34764. begin
  34765. if thebits = 0 then
  34766. pTDefRegMap(@Self)^.clr := $00000004
  34767. else
  34768. pTDefRegMap(@Self)^.&set := $00000004;
  34769. end;
  34770. function TPORTA_CNPUA.getCNPUA2 : TBits_1; inline;
  34771. begin
  34772. getCNPUA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34773. end;
  34774. procedure TPORTA_CNPUA.setCNPUA3; inline;
  34775. begin
  34776. pTDefRegMap(@Self)^.&set := $00000008;
  34777. end;
  34778. procedure TPORTA_CNPUA.clearCNPUA3; inline;
  34779. begin
  34780. pTDefRegMap(@Self)^.clr := $00000008;
  34781. end;
  34782. procedure TPORTA_CNPUA.setCNPUA3(thebits : TBits_1); inline;
  34783. begin
  34784. if thebits = 0 then
  34785. pTDefRegMap(@Self)^.clr := $00000008
  34786. else
  34787. pTDefRegMap(@Self)^.&set := $00000008;
  34788. end;
  34789. function TPORTA_CNPUA.getCNPUA3 : TBits_1; inline;
  34790. begin
  34791. getCNPUA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34792. end;
  34793. procedure TPORTA_CNPUA.setCNPUA4; inline;
  34794. begin
  34795. pTDefRegMap(@Self)^.&set := $00000010;
  34796. end;
  34797. procedure TPORTA_CNPUA.clearCNPUA4; inline;
  34798. begin
  34799. pTDefRegMap(@Self)^.clr := $00000010;
  34800. end;
  34801. procedure TPORTA_CNPUA.setCNPUA4(thebits : TBits_1); inline;
  34802. begin
  34803. if thebits = 0 then
  34804. pTDefRegMap(@Self)^.clr := $00000010
  34805. else
  34806. pTDefRegMap(@Self)^.&set := $00000010;
  34807. end;
  34808. function TPORTA_CNPUA.getCNPUA4 : TBits_1; inline;
  34809. begin
  34810. getCNPUA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34811. end;
  34812. procedure TPORTA_CNPUA.setCNPUA7; inline;
  34813. begin
  34814. pTDefRegMap(@Self)^.&set := $00000080;
  34815. end;
  34816. procedure TPORTA_CNPUA.clearCNPUA7; inline;
  34817. begin
  34818. pTDefRegMap(@Self)^.clr := $00000080;
  34819. end;
  34820. procedure TPORTA_CNPUA.setCNPUA7(thebits : TBits_1); inline;
  34821. begin
  34822. if thebits = 0 then
  34823. pTDefRegMap(@Self)^.clr := $00000080
  34824. else
  34825. pTDefRegMap(@Self)^.&set := $00000080;
  34826. end;
  34827. function TPORTA_CNPUA.getCNPUA7 : TBits_1; inline;
  34828. begin
  34829. getCNPUA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  34830. end;
  34831. procedure TPORTA_CNPUA.setCNPUA8; inline;
  34832. begin
  34833. pTDefRegMap(@Self)^.&set := $00000100;
  34834. end;
  34835. procedure TPORTA_CNPUA.clearCNPUA8; inline;
  34836. begin
  34837. pTDefRegMap(@Self)^.clr := $00000100;
  34838. end;
  34839. procedure TPORTA_CNPUA.setCNPUA8(thebits : TBits_1); inline;
  34840. begin
  34841. if thebits = 0 then
  34842. pTDefRegMap(@Self)^.clr := $00000100
  34843. else
  34844. pTDefRegMap(@Self)^.&set := $00000100;
  34845. end;
  34846. function TPORTA_CNPUA.getCNPUA8 : TBits_1; inline;
  34847. begin
  34848. getCNPUA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  34849. end;
  34850. procedure TPORTA_CNPUA.setCNPUA9; inline;
  34851. begin
  34852. pTDefRegMap(@Self)^.&set := $00000200;
  34853. end;
  34854. procedure TPORTA_CNPUA.clearCNPUA9; inline;
  34855. begin
  34856. pTDefRegMap(@Self)^.clr := $00000200;
  34857. end;
  34858. procedure TPORTA_CNPUA.setCNPUA9(thebits : TBits_1); inline;
  34859. begin
  34860. if thebits = 0 then
  34861. pTDefRegMap(@Self)^.clr := $00000200
  34862. else
  34863. pTDefRegMap(@Self)^.&set := $00000200;
  34864. end;
  34865. function TPORTA_CNPUA.getCNPUA9 : TBits_1; inline;
  34866. begin
  34867. getCNPUA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  34868. end;
  34869. procedure TPORTA_CNPUA.setCNPUA10; inline;
  34870. begin
  34871. pTDefRegMap(@Self)^.&set := $00000400;
  34872. end;
  34873. procedure TPORTA_CNPUA.clearCNPUA10; inline;
  34874. begin
  34875. pTDefRegMap(@Self)^.clr := $00000400;
  34876. end;
  34877. procedure TPORTA_CNPUA.setCNPUA10(thebits : TBits_1); inline;
  34878. begin
  34879. if thebits = 0 then
  34880. pTDefRegMap(@Self)^.clr := $00000400
  34881. else
  34882. pTDefRegMap(@Self)^.&set := $00000400;
  34883. end;
  34884. function TPORTA_CNPUA.getCNPUA10 : TBits_1; inline;
  34885. begin
  34886. getCNPUA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  34887. end;
  34888. procedure TPORTA_CNPUA.setw(thebits : TBits_32); inline;
  34889. begin
  34890. pTDefRegMap(@Self)^.val := thebits;
  34891. end;
  34892. function TPORTA_CNPUA.getw : TBits_32; inline;
  34893. begin
  34894. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  34895. end;
  34896. procedure TPORTA_CNPDA.setCNPDA0; inline;
  34897. begin
  34898. pTDefRegMap(@Self)^.&set := $00000001;
  34899. end;
  34900. procedure TPORTA_CNPDA.clearCNPDA0; inline;
  34901. begin
  34902. pTDefRegMap(@Self)^.clr := $00000001;
  34903. end;
  34904. procedure TPORTA_CNPDA.setCNPDA0(thebits : TBits_1); inline;
  34905. begin
  34906. if thebits = 0 then
  34907. pTDefRegMap(@Self)^.clr := $00000001
  34908. else
  34909. pTDefRegMap(@Self)^.&set := $00000001;
  34910. end;
  34911. function TPORTA_CNPDA.getCNPDA0 : TBits_1; inline;
  34912. begin
  34913. getCNPDA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  34914. end;
  34915. procedure TPORTA_CNPDA.setCNPDA1; inline;
  34916. begin
  34917. pTDefRegMap(@Self)^.&set := $00000002;
  34918. end;
  34919. procedure TPORTA_CNPDA.clearCNPDA1; inline;
  34920. begin
  34921. pTDefRegMap(@Self)^.clr := $00000002;
  34922. end;
  34923. procedure TPORTA_CNPDA.setCNPDA1(thebits : TBits_1); inline;
  34924. begin
  34925. if thebits = 0 then
  34926. pTDefRegMap(@Self)^.clr := $00000002
  34927. else
  34928. pTDefRegMap(@Self)^.&set := $00000002;
  34929. end;
  34930. function TPORTA_CNPDA.getCNPDA1 : TBits_1; inline;
  34931. begin
  34932. getCNPDA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  34933. end;
  34934. procedure TPORTA_CNPDA.setCNPDA2; inline;
  34935. begin
  34936. pTDefRegMap(@Self)^.&set := $00000004;
  34937. end;
  34938. procedure TPORTA_CNPDA.clearCNPDA2; inline;
  34939. begin
  34940. pTDefRegMap(@Self)^.clr := $00000004;
  34941. end;
  34942. procedure TPORTA_CNPDA.setCNPDA2(thebits : TBits_1); inline;
  34943. begin
  34944. if thebits = 0 then
  34945. pTDefRegMap(@Self)^.clr := $00000004
  34946. else
  34947. pTDefRegMap(@Self)^.&set := $00000004;
  34948. end;
  34949. function TPORTA_CNPDA.getCNPDA2 : TBits_1; inline;
  34950. begin
  34951. getCNPDA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  34952. end;
  34953. procedure TPORTA_CNPDA.setCNPDA3; inline;
  34954. begin
  34955. pTDefRegMap(@Self)^.&set := $00000008;
  34956. end;
  34957. procedure TPORTA_CNPDA.clearCNPDA3; inline;
  34958. begin
  34959. pTDefRegMap(@Self)^.clr := $00000008;
  34960. end;
  34961. procedure TPORTA_CNPDA.setCNPDA3(thebits : TBits_1); inline;
  34962. begin
  34963. if thebits = 0 then
  34964. pTDefRegMap(@Self)^.clr := $00000008
  34965. else
  34966. pTDefRegMap(@Self)^.&set := $00000008;
  34967. end;
  34968. function TPORTA_CNPDA.getCNPDA3 : TBits_1; inline;
  34969. begin
  34970. getCNPDA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  34971. end;
  34972. procedure TPORTA_CNPDA.setCNPDA4; inline;
  34973. begin
  34974. pTDefRegMap(@Self)^.&set := $00000010;
  34975. end;
  34976. procedure TPORTA_CNPDA.clearCNPDA4; inline;
  34977. begin
  34978. pTDefRegMap(@Self)^.clr := $00000010;
  34979. end;
  34980. procedure TPORTA_CNPDA.setCNPDA4(thebits : TBits_1); inline;
  34981. begin
  34982. if thebits = 0 then
  34983. pTDefRegMap(@Self)^.clr := $00000010
  34984. else
  34985. pTDefRegMap(@Self)^.&set := $00000010;
  34986. end;
  34987. function TPORTA_CNPDA.getCNPDA4 : TBits_1; inline;
  34988. begin
  34989. getCNPDA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  34990. end;
  34991. procedure TPORTA_CNPDA.setCNPDA7; inline;
  34992. begin
  34993. pTDefRegMap(@Self)^.&set := $00000080;
  34994. end;
  34995. procedure TPORTA_CNPDA.clearCNPDA7; inline;
  34996. begin
  34997. pTDefRegMap(@Self)^.clr := $00000080;
  34998. end;
  34999. procedure TPORTA_CNPDA.setCNPDA7(thebits : TBits_1); inline;
  35000. begin
  35001. if thebits = 0 then
  35002. pTDefRegMap(@Self)^.clr := $00000080
  35003. else
  35004. pTDefRegMap(@Self)^.&set := $00000080;
  35005. end;
  35006. function TPORTA_CNPDA.getCNPDA7 : TBits_1; inline;
  35007. begin
  35008. getCNPDA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35009. end;
  35010. procedure TPORTA_CNPDA.setCNPDA8; inline;
  35011. begin
  35012. pTDefRegMap(@Self)^.&set := $00000100;
  35013. end;
  35014. procedure TPORTA_CNPDA.clearCNPDA8; inline;
  35015. begin
  35016. pTDefRegMap(@Self)^.clr := $00000100;
  35017. end;
  35018. procedure TPORTA_CNPDA.setCNPDA8(thebits : TBits_1); inline;
  35019. begin
  35020. if thebits = 0 then
  35021. pTDefRegMap(@Self)^.clr := $00000100
  35022. else
  35023. pTDefRegMap(@Self)^.&set := $00000100;
  35024. end;
  35025. function TPORTA_CNPDA.getCNPDA8 : TBits_1; inline;
  35026. begin
  35027. getCNPDA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35028. end;
  35029. procedure TPORTA_CNPDA.setCNPDA9; inline;
  35030. begin
  35031. pTDefRegMap(@Self)^.&set := $00000200;
  35032. end;
  35033. procedure TPORTA_CNPDA.clearCNPDA9; inline;
  35034. begin
  35035. pTDefRegMap(@Self)^.clr := $00000200;
  35036. end;
  35037. procedure TPORTA_CNPDA.setCNPDA9(thebits : TBits_1); inline;
  35038. begin
  35039. if thebits = 0 then
  35040. pTDefRegMap(@Self)^.clr := $00000200
  35041. else
  35042. pTDefRegMap(@Self)^.&set := $00000200;
  35043. end;
  35044. function TPORTA_CNPDA.getCNPDA9 : TBits_1; inline;
  35045. begin
  35046. getCNPDA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35047. end;
  35048. procedure TPORTA_CNPDA.setCNPDA10; inline;
  35049. begin
  35050. pTDefRegMap(@Self)^.&set := $00000400;
  35051. end;
  35052. procedure TPORTA_CNPDA.clearCNPDA10; inline;
  35053. begin
  35054. pTDefRegMap(@Self)^.clr := $00000400;
  35055. end;
  35056. procedure TPORTA_CNPDA.setCNPDA10(thebits : TBits_1); inline;
  35057. begin
  35058. if thebits = 0 then
  35059. pTDefRegMap(@Self)^.clr := $00000400
  35060. else
  35061. pTDefRegMap(@Self)^.&set := $00000400;
  35062. end;
  35063. function TPORTA_CNPDA.getCNPDA10 : TBits_1; inline;
  35064. begin
  35065. getCNPDA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35066. end;
  35067. procedure TPORTA_CNPDA.setw(thebits : TBits_32); inline;
  35068. begin
  35069. pTDefRegMap(@Self)^.val := thebits;
  35070. end;
  35071. function TPORTA_CNPDA.getw : TBits_32; inline;
  35072. begin
  35073. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35074. end;
  35075. procedure TPORTA_CNCONA.setSIDL; inline;
  35076. begin
  35077. pTDefRegMap(@Self)^.&set := $00002000;
  35078. end;
  35079. procedure TPORTA_CNCONA.clearSIDL; inline;
  35080. begin
  35081. pTDefRegMap(@Self)^.clr := $00002000;
  35082. end;
  35083. procedure TPORTA_CNCONA.setSIDL(thebits : TBits_1); inline;
  35084. begin
  35085. if thebits = 0 then
  35086. pTDefRegMap(@Self)^.clr := $00002000
  35087. else
  35088. pTDefRegMap(@Self)^.&set := $00002000;
  35089. end;
  35090. function TPORTA_CNCONA.getSIDL : TBits_1; inline;
  35091. begin
  35092. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35093. end;
  35094. procedure TPORTA_CNCONA.setON; inline;
  35095. begin
  35096. pTDefRegMap(@Self)^.&set := $00008000;
  35097. end;
  35098. procedure TPORTA_CNCONA.clearON; inline;
  35099. begin
  35100. pTDefRegMap(@Self)^.clr := $00008000;
  35101. end;
  35102. procedure TPORTA_CNCONA.setON(thebits : TBits_1); inline;
  35103. begin
  35104. if thebits = 0 then
  35105. pTDefRegMap(@Self)^.clr := $00008000
  35106. else
  35107. pTDefRegMap(@Self)^.&set := $00008000;
  35108. end;
  35109. function TPORTA_CNCONA.getON : TBits_1; inline;
  35110. begin
  35111. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35112. end;
  35113. procedure TPORTA_CNCONA.setw(thebits : TBits_32); inline;
  35114. begin
  35115. pTDefRegMap(@Self)^.val := thebits;
  35116. end;
  35117. function TPORTA_CNCONA.getw : TBits_32; inline;
  35118. begin
  35119. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35120. end;
  35121. procedure TPORTA_CNENA.setCNIEA0; inline;
  35122. begin
  35123. pTDefRegMap(@Self)^.&set := $00000001;
  35124. end;
  35125. procedure TPORTA_CNENA.clearCNIEA0; inline;
  35126. begin
  35127. pTDefRegMap(@Self)^.clr := $00000001;
  35128. end;
  35129. procedure TPORTA_CNENA.setCNIEA0(thebits : TBits_1); inline;
  35130. begin
  35131. if thebits = 0 then
  35132. pTDefRegMap(@Self)^.clr := $00000001
  35133. else
  35134. pTDefRegMap(@Self)^.&set := $00000001;
  35135. end;
  35136. function TPORTA_CNENA.getCNIEA0 : TBits_1; inline;
  35137. begin
  35138. getCNIEA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35139. end;
  35140. procedure TPORTA_CNENA.setCNIEA1; inline;
  35141. begin
  35142. pTDefRegMap(@Self)^.&set := $00000002;
  35143. end;
  35144. procedure TPORTA_CNENA.clearCNIEA1; inline;
  35145. begin
  35146. pTDefRegMap(@Self)^.clr := $00000002;
  35147. end;
  35148. procedure TPORTA_CNENA.setCNIEA1(thebits : TBits_1); inline;
  35149. begin
  35150. if thebits = 0 then
  35151. pTDefRegMap(@Self)^.clr := $00000002
  35152. else
  35153. pTDefRegMap(@Self)^.&set := $00000002;
  35154. end;
  35155. function TPORTA_CNENA.getCNIEA1 : TBits_1; inline;
  35156. begin
  35157. getCNIEA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35158. end;
  35159. procedure TPORTA_CNENA.setCNIEA2; inline;
  35160. begin
  35161. pTDefRegMap(@Self)^.&set := $00000004;
  35162. end;
  35163. procedure TPORTA_CNENA.clearCNIEA2; inline;
  35164. begin
  35165. pTDefRegMap(@Self)^.clr := $00000004;
  35166. end;
  35167. procedure TPORTA_CNENA.setCNIEA2(thebits : TBits_1); inline;
  35168. begin
  35169. if thebits = 0 then
  35170. pTDefRegMap(@Self)^.clr := $00000004
  35171. else
  35172. pTDefRegMap(@Self)^.&set := $00000004;
  35173. end;
  35174. function TPORTA_CNENA.getCNIEA2 : TBits_1; inline;
  35175. begin
  35176. getCNIEA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35177. end;
  35178. procedure TPORTA_CNENA.setCNIEA3; inline;
  35179. begin
  35180. pTDefRegMap(@Self)^.&set := $00000008;
  35181. end;
  35182. procedure TPORTA_CNENA.clearCNIEA3; inline;
  35183. begin
  35184. pTDefRegMap(@Self)^.clr := $00000008;
  35185. end;
  35186. procedure TPORTA_CNENA.setCNIEA3(thebits : TBits_1); inline;
  35187. begin
  35188. if thebits = 0 then
  35189. pTDefRegMap(@Self)^.clr := $00000008
  35190. else
  35191. pTDefRegMap(@Self)^.&set := $00000008;
  35192. end;
  35193. function TPORTA_CNENA.getCNIEA3 : TBits_1; inline;
  35194. begin
  35195. getCNIEA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35196. end;
  35197. procedure TPORTA_CNENA.setCNIEA4; inline;
  35198. begin
  35199. pTDefRegMap(@Self)^.&set := $00000010;
  35200. end;
  35201. procedure TPORTA_CNENA.clearCNIEA4; inline;
  35202. begin
  35203. pTDefRegMap(@Self)^.clr := $00000010;
  35204. end;
  35205. procedure TPORTA_CNENA.setCNIEA4(thebits : TBits_1); inline;
  35206. begin
  35207. if thebits = 0 then
  35208. pTDefRegMap(@Self)^.clr := $00000010
  35209. else
  35210. pTDefRegMap(@Self)^.&set := $00000010;
  35211. end;
  35212. function TPORTA_CNENA.getCNIEA4 : TBits_1; inline;
  35213. begin
  35214. getCNIEA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35215. end;
  35216. procedure TPORTA_CNENA.setCNIEA7; inline;
  35217. begin
  35218. pTDefRegMap(@Self)^.&set := $00000080;
  35219. end;
  35220. procedure TPORTA_CNENA.clearCNIEA7; inline;
  35221. begin
  35222. pTDefRegMap(@Self)^.clr := $00000080;
  35223. end;
  35224. procedure TPORTA_CNENA.setCNIEA7(thebits : TBits_1); inline;
  35225. begin
  35226. if thebits = 0 then
  35227. pTDefRegMap(@Self)^.clr := $00000080
  35228. else
  35229. pTDefRegMap(@Self)^.&set := $00000080;
  35230. end;
  35231. function TPORTA_CNENA.getCNIEA7 : TBits_1; inline;
  35232. begin
  35233. getCNIEA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35234. end;
  35235. procedure TPORTA_CNENA.setCNIEA8; inline;
  35236. begin
  35237. pTDefRegMap(@Self)^.&set := $00000100;
  35238. end;
  35239. procedure TPORTA_CNENA.clearCNIEA8; inline;
  35240. begin
  35241. pTDefRegMap(@Self)^.clr := $00000100;
  35242. end;
  35243. procedure TPORTA_CNENA.setCNIEA8(thebits : TBits_1); inline;
  35244. begin
  35245. if thebits = 0 then
  35246. pTDefRegMap(@Self)^.clr := $00000100
  35247. else
  35248. pTDefRegMap(@Self)^.&set := $00000100;
  35249. end;
  35250. function TPORTA_CNENA.getCNIEA8 : TBits_1; inline;
  35251. begin
  35252. getCNIEA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35253. end;
  35254. procedure TPORTA_CNENA.setCNIEA9; inline;
  35255. begin
  35256. pTDefRegMap(@Self)^.&set := $00000200;
  35257. end;
  35258. procedure TPORTA_CNENA.clearCNIEA9; inline;
  35259. begin
  35260. pTDefRegMap(@Self)^.clr := $00000200;
  35261. end;
  35262. procedure TPORTA_CNENA.setCNIEA9(thebits : TBits_1); inline;
  35263. begin
  35264. if thebits = 0 then
  35265. pTDefRegMap(@Self)^.clr := $00000200
  35266. else
  35267. pTDefRegMap(@Self)^.&set := $00000200;
  35268. end;
  35269. function TPORTA_CNENA.getCNIEA9 : TBits_1; inline;
  35270. begin
  35271. getCNIEA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35272. end;
  35273. procedure TPORTA_CNENA.setCNIEA10; inline;
  35274. begin
  35275. pTDefRegMap(@Self)^.&set := $00000400;
  35276. end;
  35277. procedure TPORTA_CNENA.clearCNIEA10; inline;
  35278. begin
  35279. pTDefRegMap(@Self)^.clr := $00000400;
  35280. end;
  35281. procedure TPORTA_CNENA.setCNIEA10(thebits : TBits_1); inline;
  35282. begin
  35283. if thebits = 0 then
  35284. pTDefRegMap(@Self)^.clr := $00000400
  35285. else
  35286. pTDefRegMap(@Self)^.&set := $00000400;
  35287. end;
  35288. function TPORTA_CNENA.getCNIEA10 : TBits_1; inline;
  35289. begin
  35290. getCNIEA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35291. end;
  35292. procedure TPORTA_CNENA.setw(thebits : TBits_32); inline;
  35293. begin
  35294. pTDefRegMap(@Self)^.val := thebits;
  35295. end;
  35296. function TPORTA_CNENA.getw : TBits_32; inline;
  35297. begin
  35298. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35299. end;
  35300. procedure TPORTA_CNSTATA.setCNSTATA0; inline;
  35301. begin
  35302. pTDefRegMap(@Self)^.&set := $00000001;
  35303. end;
  35304. procedure TPORTA_CNSTATA.clearCNSTATA0; inline;
  35305. begin
  35306. pTDefRegMap(@Self)^.clr := $00000001;
  35307. end;
  35308. procedure TPORTA_CNSTATA.setCNSTATA0(thebits : TBits_1); inline;
  35309. begin
  35310. if thebits = 0 then
  35311. pTDefRegMap(@Self)^.clr := $00000001
  35312. else
  35313. pTDefRegMap(@Self)^.&set := $00000001;
  35314. end;
  35315. function TPORTA_CNSTATA.getCNSTATA0 : TBits_1; inline;
  35316. begin
  35317. getCNSTATA0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35318. end;
  35319. procedure TPORTA_CNSTATA.setCNSTATA1; inline;
  35320. begin
  35321. pTDefRegMap(@Self)^.&set := $00000002;
  35322. end;
  35323. procedure TPORTA_CNSTATA.clearCNSTATA1; inline;
  35324. begin
  35325. pTDefRegMap(@Self)^.clr := $00000002;
  35326. end;
  35327. procedure TPORTA_CNSTATA.setCNSTATA1(thebits : TBits_1); inline;
  35328. begin
  35329. if thebits = 0 then
  35330. pTDefRegMap(@Self)^.clr := $00000002
  35331. else
  35332. pTDefRegMap(@Self)^.&set := $00000002;
  35333. end;
  35334. function TPORTA_CNSTATA.getCNSTATA1 : TBits_1; inline;
  35335. begin
  35336. getCNSTATA1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35337. end;
  35338. procedure TPORTA_CNSTATA.setCNSTATA2; inline;
  35339. begin
  35340. pTDefRegMap(@Self)^.&set := $00000004;
  35341. end;
  35342. procedure TPORTA_CNSTATA.clearCNSTATA2; inline;
  35343. begin
  35344. pTDefRegMap(@Self)^.clr := $00000004;
  35345. end;
  35346. procedure TPORTA_CNSTATA.setCNSTATA2(thebits : TBits_1); inline;
  35347. begin
  35348. if thebits = 0 then
  35349. pTDefRegMap(@Self)^.clr := $00000004
  35350. else
  35351. pTDefRegMap(@Self)^.&set := $00000004;
  35352. end;
  35353. function TPORTA_CNSTATA.getCNSTATA2 : TBits_1; inline;
  35354. begin
  35355. getCNSTATA2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35356. end;
  35357. procedure TPORTA_CNSTATA.setCNSTATA3; inline;
  35358. begin
  35359. pTDefRegMap(@Self)^.&set := $00000008;
  35360. end;
  35361. procedure TPORTA_CNSTATA.clearCNSTATA3; inline;
  35362. begin
  35363. pTDefRegMap(@Self)^.clr := $00000008;
  35364. end;
  35365. procedure TPORTA_CNSTATA.setCNSTATA3(thebits : TBits_1); inline;
  35366. begin
  35367. if thebits = 0 then
  35368. pTDefRegMap(@Self)^.clr := $00000008
  35369. else
  35370. pTDefRegMap(@Self)^.&set := $00000008;
  35371. end;
  35372. function TPORTA_CNSTATA.getCNSTATA3 : TBits_1; inline;
  35373. begin
  35374. getCNSTATA3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35375. end;
  35376. procedure TPORTA_CNSTATA.setCNSTATA4; inline;
  35377. begin
  35378. pTDefRegMap(@Self)^.&set := $00000010;
  35379. end;
  35380. procedure TPORTA_CNSTATA.clearCNSTATA4; inline;
  35381. begin
  35382. pTDefRegMap(@Self)^.clr := $00000010;
  35383. end;
  35384. procedure TPORTA_CNSTATA.setCNSTATA4(thebits : TBits_1); inline;
  35385. begin
  35386. if thebits = 0 then
  35387. pTDefRegMap(@Self)^.clr := $00000010
  35388. else
  35389. pTDefRegMap(@Self)^.&set := $00000010;
  35390. end;
  35391. function TPORTA_CNSTATA.getCNSTATA4 : TBits_1; inline;
  35392. begin
  35393. getCNSTATA4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35394. end;
  35395. procedure TPORTA_CNSTATA.setCNSTATA7; inline;
  35396. begin
  35397. pTDefRegMap(@Self)^.&set := $00000080;
  35398. end;
  35399. procedure TPORTA_CNSTATA.clearCNSTATA7; inline;
  35400. begin
  35401. pTDefRegMap(@Self)^.clr := $00000080;
  35402. end;
  35403. procedure TPORTA_CNSTATA.setCNSTATA7(thebits : TBits_1); inline;
  35404. begin
  35405. if thebits = 0 then
  35406. pTDefRegMap(@Self)^.clr := $00000080
  35407. else
  35408. pTDefRegMap(@Self)^.&set := $00000080;
  35409. end;
  35410. function TPORTA_CNSTATA.getCNSTATA7 : TBits_1; inline;
  35411. begin
  35412. getCNSTATA7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35413. end;
  35414. procedure TPORTA_CNSTATA.setCNSTATA8; inline;
  35415. begin
  35416. pTDefRegMap(@Self)^.&set := $00000100;
  35417. end;
  35418. procedure TPORTA_CNSTATA.clearCNSTATA8; inline;
  35419. begin
  35420. pTDefRegMap(@Self)^.clr := $00000100;
  35421. end;
  35422. procedure TPORTA_CNSTATA.setCNSTATA8(thebits : TBits_1); inline;
  35423. begin
  35424. if thebits = 0 then
  35425. pTDefRegMap(@Self)^.clr := $00000100
  35426. else
  35427. pTDefRegMap(@Self)^.&set := $00000100;
  35428. end;
  35429. function TPORTA_CNSTATA.getCNSTATA8 : TBits_1; inline;
  35430. begin
  35431. getCNSTATA8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35432. end;
  35433. procedure TPORTA_CNSTATA.setCNSTATA9; inline;
  35434. begin
  35435. pTDefRegMap(@Self)^.&set := $00000200;
  35436. end;
  35437. procedure TPORTA_CNSTATA.clearCNSTATA9; inline;
  35438. begin
  35439. pTDefRegMap(@Self)^.clr := $00000200;
  35440. end;
  35441. procedure TPORTA_CNSTATA.setCNSTATA9(thebits : TBits_1); inline;
  35442. begin
  35443. if thebits = 0 then
  35444. pTDefRegMap(@Self)^.clr := $00000200
  35445. else
  35446. pTDefRegMap(@Self)^.&set := $00000200;
  35447. end;
  35448. function TPORTA_CNSTATA.getCNSTATA9 : TBits_1; inline;
  35449. begin
  35450. getCNSTATA9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35451. end;
  35452. procedure TPORTA_CNSTATA.setCNSTATA10; inline;
  35453. begin
  35454. pTDefRegMap(@Self)^.&set := $00000400;
  35455. end;
  35456. procedure TPORTA_CNSTATA.clearCNSTATA10; inline;
  35457. begin
  35458. pTDefRegMap(@Self)^.clr := $00000400;
  35459. end;
  35460. procedure TPORTA_CNSTATA.setCNSTATA10(thebits : TBits_1); inline;
  35461. begin
  35462. if thebits = 0 then
  35463. pTDefRegMap(@Self)^.clr := $00000400
  35464. else
  35465. pTDefRegMap(@Self)^.&set := $00000400;
  35466. end;
  35467. function TPORTA_CNSTATA.getCNSTATA10 : TBits_1; inline;
  35468. begin
  35469. getCNSTATA10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35470. end;
  35471. procedure TPORTA_CNSTATA.setw(thebits : TBits_32); inline;
  35472. begin
  35473. pTDefRegMap(@Self)^.val := thebits;
  35474. end;
  35475. function TPORTA_CNSTATA.getw : TBits_32; inline;
  35476. begin
  35477. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35478. end;
  35479. procedure TPORTB_ANSELB.setANSB0; inline;
  35480. begin
  35481. pTDefRegMap(@Self)^.&set := $00000001;
  35482. end;
  35483. procedure TPORTB_ANSELB.clearANSB0; inline;
  35484. begin
  35485. pTDefRegMap(@Self)^.clr := $00000001;
  35486. end;
  35487. procedure TPORTB_ANSELB.setANSB0(thebits : TBits_1); inline;
  35488. begin
  35489. if thebits = 0 then
  35490. pTDefRegMap(@Self)^.clr := $00000001
  35491. else
  35492. pTDefRegMap(@Self)^.&set := $00000001;
  35493. end;
  35494. function TPORTB_ANSELB.getANSB0 : TBits_1; inline;
  35495. begin
  35496. getANSB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35497. end;
  35498. procedure TPORTB_ANSELB.setANSB1; inline;
  35499. begin
  35500. pTDefRegMap(@Self)^.&set := $00000002;
  35501. end;
  35502. procedure TPORTB_ANSELB.clearANSB1; inline;
  35503. begin
  35504. pTDefRegMap(@Self)^.clr := $00000002;
  35505. end;
  35506. procedure TPORTB_ANSELB.setANSB1(thebits : TBits_1); inline;
  35507. begin
  35508. if thebits = 0 then
  35509. pTDefRegMap(@Self)^.clr := $00000002
  35510. else
  35511. pTDefRegMap(@Self)^.&set := $00000002;
  35512. end;
  35513. function TPORTB_ANSELB.getANSB1 : TBits_1; inline;
  35514. begin
  35515. getANSB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35516. end;
  35517. procedure TPORTB_ANSELB.setANSB2; inline;
  35518. begin
  35519. pTDefRegMap(@Self)^.&set := $00000004;
  35520. end;
  35521. procedure TPORTB_ANSELB.clearANSB2; inline;
  35522. begin
  35523. pTDefRegMap(@Self)^.clr := $00000004;
  35524. end;
  35525. procedure TPORTB_ANSELB.setANSB2(thebits : TBits_1); inline;
  35526. begin
  35527. if thebits = 0 then
  35528. pTDefRegMap(@Self)^.clr := $00000004
  35529. else
  35530. pTDefRegMap(@Self)^.&set := $00000004;
  35531. end;
  35532. function TPORTB_ANSELB.getANSB2 : TBits_1; inline;
  35533. begin
  35534. getANSB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35535. end;
  35536. procedure TPORTB_ANSELB.setANSB3; inline;
  35537. begin
  35538. pTDefRegMap(@Self)^.&set := $00000008;
  35539. end;
  35540. procedure TPORTB_ANSELB.clearANSB3; inline;
  35541. begin
  35542. pTDefRegMap(@Self)^.clr := $00000008;
  35543. end;
  35544. procedure TPORTB_ANSELB.setANSB3(thebits : TBits_1); inline;
  35545. begin
  35546. if thebits = 0 then
  35547. pTDefRegMap(@Self)^.clr := $00000008
  35548. else
  35549. pTDefRegMap(@Self)^.&set := $00000008;
  35550. end;
  35551. function TPORTB_ANSELB.getANSB3 : TBits_1; inline;
  35552. begin
  35553. getANSB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35554. end;
  35555. procedure TPORTB_ANSELB.setANSB12; inline;
  35556. begin
  35557. pTDefRegMap(@Self)^.&set := $00001000;
  35558. end;
  35559. procedure TPORTB_ANSELB.clearANSB12; inline;
  35560. begin
  35561. pTDefRegMap(@Self)^.clr := $00001000;
  35562. end;
  35563. procedure TPORTB_ANSELB.setANSB12(thebits : TBits_1); inline;
  35564. begin
  35565. if thebits = 0 then
  35566. pTDefRegMap(@Self)^.clr := $00001000
  35567. else
  35568. pTDefRegMap(@Self)^.&set := $00001000;
  35569. end;
  35570. function TPORTB_ANSELB.getANSB12 : TBits_1; inline;
  35571. begin
  35572. getANSB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35573. end;
  35574. procedure TPORTB_ANSELB.setANSB13; inline;
  35575. begin
  35576. pTDefRegMap(@Self)^.&set := $00002000;
  35577. end;
  35578. procedure TPORTB_ANSELB.clearANSB13; inline;
  35579. begin
  35580. pTDefRegMap(@Self)^.clr := $00002000;
  35581. end;
  35582. procedure TPORTB_ANSELB.setANSB13(thebits : TBits_1); inline;
  35583. begin
  35584. if thebits = 0 then
  35585. pTDefRegMap(@Self)^.clr := $00002000
  35586. else
  35587. pTDefRegMap(@Self)^.&set := $00002000;
  35588. end;
  35589. function TPORTB_ANSELB.getANSB13 : TBits_1; inline;
  35590. begin
  35591. getANSB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35592. end;
  35593. procedure TPORTB_ANSELB.setANSB14; inline;
  35594. begin
  35595. pTDefRegMap(@Self)^.&set := $00004000;
  35596. end;
  35597. procedure TPORTB_ANSELB.clearANSB14; inline;
  35598. begin
  35599. pTDefRegMap(@Self)^.clr := $00004000;
  35600. end;
  35601. procedure TPORTB_ANSELB.setANSB14(thebits : TBits_1); inline;
  35602. begin
  35603. if thebits = 0 then
  35604. pTDefRegMap(@Self)^.clr := $00004000
  35605. else
  35606. pTDefRegMap(@Self)^.&set := $00004000;
  35607. end;
  35608. function TPORTB_ANSELB.getANSB14 : TBits_1; inline;
  35609. begin
  35610. getANSB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35611. end;
  35612. procedure TPORTB_ANSELB.setANSB15; inline;
  35613. begin
  35614. pTDefRegMap(@Self)^.&set := $00008000;
  35615. end;
  35616. procedure TPORTB_ANSELB.clearANSB15; inline;
  35617. begin
  35618. pTDefRegMap(@Self)^.clr := $00008000;
  35619. end;
  35620. procedure TPORTB_ANSELB.setANSB15(thebits : TBits_1); inline;
  35621. begin
  35622. if thebits = 0 then
  35623. pTDefRegMap(@Self)^.clr := $00008000
  35624. else
  35625. pTDefRegMap(@Self)^.&set := $00008000;
  35626. end;
  35627. function TPORTB_ANSELB.getANSB15 : TBits_1; inline;
  35628. begin
  35629. getANSB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35630. end;
  35631. procedure TPORTB_ANSELB.setw(thebits : TBits_32); inline;
  35632. begin
  35633. pTDefRegMap(@Self)^.val := thebits;
  35634. end;
  35635. function TPORTB_ANSELB.getw : TBits_32; inline;
  35636. begin
  35637. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35638. end;
  35639. procedure TPORTB_TRISB.setTRISB0; inline;
  35640. begin
  35641. pTDefRegMap(@Self)^.&set := $00000001;
  35642. end;
  35643. procedure TPORTB_TRISB.clearTRISB0; inline;
  35644. begin
  35645. pTDefRegMap(@Self)^.clr := $00000001;
  35646. end;
  35647. procedure TPORTB_TRISB.setTRISB0(thebits : TBits_1); inline;
  35648. begin
  35649. if thebits = 0 then
  35650. pTDefRegMap(@Self)^.clr := $00000001
  35651. else
  35652. pTDefRegMap(@Self)^.&set := $00000001;
  35653. end;
  35654. function TPORTB_TRISB.getTRISB0 : TBits_1; inline;
  35655. begin
  35656. getTRISB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35657. end;
  35658. procedure TPORTB_TRISB.setTRISB1; inline;
  35659. begin
  35660. pTDefRegMap(@Self)^.&set := $00000002;
  35661. end;
  35662. procedure TPORTB_TRISB.clearTRISB1; inline;
  35663. begin
  35664. pTDefRegMap(@Self)^.clr := $00000002;
  35665. end;
  35666. procedure TPORTB_TRISB.setTRISB1(thebits : TBits_1); inline;
  35667. begin
  35668. if thebits = 0 then
  35669. pTDefRegMap(@Self)^.clr := $00000002
  35670. else
  35671. pTDefRegMap(@Self)^.&set := $00000002;
  35672. end;
  35673. function TPORTB_TRISB.getTRISB1 : TBits_1; inline;
  35674. begin
  35675. getTRISB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35676. end;
  35677. procedure TPORTB_TRISB.setTRISB2; inline;
  35678. begin
  35679. pTDefRegMap(@Self)^.&set := $00000004;
  35680. end;
  35681. procedure TPORTB_TRISB.clearTRISB2; inline;
  35682. begin
  35683. pTDefRegMap(@Self)^.clr := $00000004;
  35684. end;
  35685. procedure TPORTB_TRISB.setTRISB2(thebits : TBits_1); inline;
  35686. begin
  35687. if thebits = 0 then
  35688. pTDefRegMap(@Self)^.clr := $00000004
  35689. else
  35690. pTDefRegMap(@Self)^.&set := $00000004;
  35691. end;
  35692. function TPORTB_TRISB.getTRISB2 : TBits_1; inline;
  35693. begin
  35694. getTRISB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  35695. end;
  35696. procedure TPORTB_TRISB.setTRISB3; inline;
  35697. begin
  35698. pTDefRegMap(@Self)^.&set := $00000008;
  35699. end;
  35700. procedure TPORTB_TRISB.clearTRISB3; inline;
  35701. begin
  35702. pTDefRegMap(@Self)^.clr := $00000008;
  35703. end;
  35704. procedure TPORTB_TRISB.setTRISB3(thebits : TBits_1); inline;
  35705. begin
  35706. if thebits = 0 then
  35707. pTDefRegMap(@Self)^.clr := $00000008
  35708. else
  35709. pTDefRegMap(@Self)^.&set := $00000008;
  35710. end;
  35711. function TPORTB_TRISB.getTRISB3 : TBits_1; inline;
  35712. begin
  35713. getTRISB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  35714. end;
  35715. procedure TPORTB_TRISB.setTRISB4; inline;
  35716. begin
  35717. pTDefRegMap(@Self)^.&set := $00000010;
  35718. end;
  35719. procedure TPORTB_TRISB.clearTRISB4; inline;
  35720. begin
  35721. pTDefRegMap(@Self)^.clr := $00000010;
  35722. end;
  35723. procedure TPORTB_TRISB.setTRISB4(thebits : TBits_1); inline;
  35724. begin
  35725. if thebits = 0 then
  35726. pTDefRegMap(@Self)^.clr := $00000010
  35727. else
  35728. pTDefRegMap(@Self)^.&set := $00000010;
  35729. end;
  35730. function TPORTB_TRISB.getTRISB4 : TBits_1; inline;
  35731. begin
  35732. getTRISB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  35733. end;
  35734. procedure TPORTB_TRISB.setTRISB5; inline;
  35735. begin
  35736. pTDefRegMap(@Self)^.&set := $00000020;
  35737. end;
  35738. procedure TPORTB_TRISB.clearTRISB5; inline;
  35739. begin
  35740. pTDefRegMap(@Self)^.clr := $00000020;
  35741. end;
  35742. procedure TPORTB_TRISB.setTRISB5(thebits : TBits_1); inline;
  35743. begin
  35744. if thebits = 0 then
  35745. pTDefRegMap(@Self)^.clr := $00000020
  35746. else
  35747. pTDefRegMap(@Self)^.&set := $00000020;
  35748. end;
  35749. function TPORTB_TRISB.getTRISB5 : TBits_1; inline;
  35750. begin
  35751. getTRISB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  35752. end;
  35753. procedure TPORTB_TRISB.setTRISB6; inline;
  35754. begin
  35755. pTDefRegMap(@Self)^.&set := $00000040;
  35756. end;
  35757. procedure TPORTB_TRISB.clearTRISB6; inline;
  35758. begin
  35759. pTDefRegMap(@Self)^.clr := $00000040;
  35760. end;
  35761. procedure TPORTB_TRISB.setTRISB6(thebits : TBits_1); inline;
  35762. begin
  35763. if thebits = 0 then
  35764. pTDefRegMap(@Self)^.clr := $00000040
  35765. else
  35766. pTDefRegMap(@Self)^.&set := $00000040;
  35767. end;
  35768. function TPORTB_TRISB.getTRISB6 : TBits_1; inline;
  35769. begin
  35770. getTRISB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  35771. end;
  35772. procedure TPORTB_TRISB.setTRISB7; inline;
  35773. begin
  35774. pTDefRegMap(@Self)^.&set := $00000080;
  35775. end;
  35776. procedure TPORTB_TRISB.clearTRISB7; inline;
  35777. begin
  35778. pTDefRegMap(@Self)^.clr := $00000080;
  35779. end;
  35780. procedure TPORTB_TRISB.setTRISB7(thebits : TBits_1); inline;
  35781. begin
  35782. if thebits = 0 then
  35783. pTDefRegMap(@Self)^.clr := $00000080
  35784. else
  35785. pTDefRegMap(@Self)^.&set := $00000080;
  35786. end;
  35787. function TPORTB_TRISB.getTRISB7 : TBits_1; inline;
  35788. begin
  35789. getTRISB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  35790. end;
  35791. procedure TPORTB_TRISB.setTRISB8; inline;
  35792. begin
  35793. pTDefRegMap(@Self)^.&set := $00000100;
  35794. end;
  35795. procedure TPORTB_TRISB.clearTRISB8; inline;
  35796. begin
  35797. pTDefRegMap(@Self)^.clr := $00000100;
  35798. end;
  35799. procedure TPORTB_TRISB.setTRISB8(thebits : TBits_1); inline;
  35800. begin
  35801. if thebits = 0 then
  35802. pTDefRegMap(@Self)^.clr := $00000100
  35803. else
  35804. pTDefRegMap(@Self)^.&set := $00000100;
  35805. end;
  35806. function TPORTB_TRISB.getTRISB8 : TBits_1; inline;
  35807. begin
  35808. getTRISB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  35809. end;
  35810. procedure TPORTB_TRISB.setTRISB9; inline;
  35811. begin
  35812. pTDefRegMap(@Self)^.&set := $00000200;
  35813. end;
  35814. procedure TPORTB_TRISB.clearTRISB9; inline;
  35815. begin
  35816. pTDefRegMap(@Self)^.clr := $00000200;
  35817. end;
  35818. procedure TPORTB_TRISB.setTRISB9(thebits : TBits_1); inline;
  35819. begin
  35820. if thebits = 0 then
  35821. pTDefRegMap(@Self)^.clr := $00000200
  35822. else
  35823. pTDefRegMap(@Self)^.&set := $00000200;
  35824. end;
  35825. function TPORTB_TRISB.getTRISB9 : TBits_1; inline;
  35826. begin
  35827. getTRISB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  35828. end;
  35829. procedure TPORTB_TRISB.setTRISB10; inline;
  35830. begin
  35831. pTDefRegMap(@Self)^.&set := $00000400;
  35832. end;
  35833. procedure TPORTB_TRISB.clearTRISB10; inline;
  35834. begin
  35835. pTDefRegMap(@Self)^.clr := $00000400;
  35836. end;
  35837. procedure TPORTB_TRISB.setTRISB10(thebits : TBits_1); inline;
  35838. begin
  35839. if thebits = 0 then
  35840. pTDefRegMap(@Self)^.clr := $00000400
  35841. else
  35842. pTDefRegMap(@Self)^.&set := $00000400;
  35843. end;
  35844. function TPORTB_TRISB.getTRISB10 : TBits_1; inline;
  35845. begin
  35846. getTRISB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  35847. end;
  35848. procedure TPORTB_TRISB.setTRISB11; inline;
  35849. begin
  35850. pTDefRegMap(@Self)^.&set := $00000800;
  35851. end;
  35852. procedure TPORTB_TRISB.clearTRISB11; inline;
  35853. begin
  35854. pTDefRegMap(@Self)^.clr := $00000800;
  35855. end;
  35856. procedure TPORTB_TRISB.setTRISB11(thebits : TBits_1); inline;
  35857. begin
  35858. if thebits = 0 then
  35859. pTDefRegMap(@Self)^.clr := $00000800
  35860. else
  35861. pTDefRegMap(@Self)^.&set := $00000800;
  35862. end;
  35863. function TPORTB_TRISB.getTRISB11 : TBits_1; inline;
  35864. begin
  35865. getTRISB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  35866. end;
  35867. procedure TPORTB_TRISB.setTRISB12; inline;
  35868. begin
  35869. pTDefRegMap(@Self)^.&set := $00001000;
  35870. end;
  35871. procedure TPORTB_TRISB.clearTRISB12; inline;
  35872. begin
  35873. pTDefRegMap(@Self)^.clr := $00001000;
  35874. end;
  35875. procedure TPORTB_TRISB.setTRISB12(thebits : TBits_1); inline;
  35876. begin
  35877. if thebits = 0 then
  35878. pTDefRegMap(@Self)^.clr := $00001000
  35879. else
  35880. pTDefRegMap(@Self)^.&set := $00001000;
  35881. end;
  35882. function TPORTB_TRISB.getTRISB12 : TBits_1; inline;
  35883. begin
  35884. getTRISB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  35885. end;
  35886. procedure TPORTB_TRISB.setTRISB13; inline;
  35887. begin
  35888. pTDefRegMap(@Self)^.&set := $00002000;
  35889. end;
  35890. procedure TPORTB_TRISB.clearTRISB13; inline;
  35891. begin
  35892. pTDefRegMap(@Self)^.clr := $00002000;
  35893. end;
  35894. procedure TPORTB_TRISB.setTRISB13(thebits : TBits_1); inline;
  35895. begin
  35896. if thebits = 0 then
  35897. pTDefRegMap(@Self)^.clr := $00002000
  35898. else
  35899. pTDefRegMap(@Self)^.&set := $00002000;
  35900. end;
  35901. function TPORTB_TRISB.getTRISB13 : TBits_1; inline;
  35902. begin
  35903. getTRISB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  35904. end;
  35905. procedure TPORTB_TRISB.setTRISB14; inline;
  35906. begin
  35907. pTDefRegMap(@Self)^.&set := $00004000;
  35908. end;
  35909. procedure TPORTB_TRISB.clearTRISB14; inline;
  35910. begin
  35911. pTDefRegMap(@Self)^.clr := $00004000;
  35912. end;
  35913. procedure TPORTB_TRISB.setTRISB14(thebits : TBits_1); inline;
  35914. begin
  35915. if thebits = 0 then
  35916. pTDefRegMap(@Self)^.clr := $00004000
  35917. else
  35918. pTDefRegMap(@Self)^.&set := $00004000;
  35919. end;
  35920. function TPORTB_TRISB.getTRISB14 : TBits_1; inline;
  35921. begin
  35922. getTRISB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  35923. end;
  35924. procedure TPORTB_TRISB.setTRISB15; inline;
  35925. begin
  35926. pTDefRegMap(@Self)^.&set := $00008000;
  35927. end;
  35928. procedure TPORTB_TRISB.clearTRISB15; inline;
  35929. begin
  35930. pTDefRegMap(@Self)^.clr := $00008000;
  35931. end;
  35932. procedure TPORTB_TRISB.setTRISB15(thebits : TBits_1); inline;
  35933. begin
  35934. if thebits = 0 then
  35935. pTDefRegMap(@Self)^.clr := $00008000
  35936. else
  35937. pTDefRegMap(@Self)^.&set := $00008000;
  35938. end;
  35939. function TPORTB_TRISB.getTRISB15 : TBits_1; inline;
  35940. begin
  35941. getTRISB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  35942. end;
  35943. procedure TPORTB_TRISB.setw(thebits : TBits_32); inline;
  35944. begin
  35945. pTDefRegMap(@Self)^.val := thebits;
  35946. end;
  35947. function TPORTB_TRISB.getw : TBits_32; inline;
  35948. begin
  35949. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  35950. end;
  35951. procedure TPORTB_PORTB.setRB0; inline;
  35952. begin
  35953. pTDefRegMap(@Self)^.&set := $00000001;
  35954. end;
  35955. procedure TPORTB_PORTB.clearRB0; inline;
  35956. begin
  35957. pTDefRegMap(@Self)^.clr := $00000001;
  35958. end;
  35959. procedure TPORTB_PORTB.setRB0(thebits : TBits_1); inline;
  35960. begin
  35961. if thebits = 0 then
  35962. pTDefRegMap(@Self)^.clr := $00000001
  35963. else
  35964. pTDefRegMap(@Self)^.&set := $00000001;
  35965. end;
  35966. function TPORTB_PORTB.getRB0 : TBits_1; inline;
  35967. begin
  35968. getRB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  35969. end;
  35970. procedure TPORTB_PORTB.setRB1; inline;
  35971. begin
  35972. pTDefRegMap(@Self)^.&set := $00000002;
  35973. end;
  35974. procedure TPORTB_PORTB.clearRB1; inline;
  35975. begin
  35976. pTDefRegMap(@Self)^.clr := $00000002;
  35977. end;
  35978. procedure TPORTB_PORTB.setRB1(thebits : TBits_1); inline;
  35979. begin
  35980. if thebits = 0 then
  35981. pTDefRegMap(@Self)^.clr := $00000002
  35982. else
  35983. pTDefRegMap(@Self)^.&set := $00000002;
  35984. end;
  35985. function TPORTB_PORTB.getRB1 : TBits_1; inline;
  35986. begin
  35987. getRB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  35988. end;
  35989. procedure TPORTB_PORTB.setRB2; inline;
  35990. begin
  35991. pTDefRegMap(@Self)^.&set := $00000004;
  35992. end;
  35993. procedure TPORTB_PORTB.clearRB2; inline;
  35994. begin
  35995. pTDefRegMap(@Self)^.clr := $00000004;
  35996. end;
  35997. procedure TPORTB_PORTB.setRB2(thebits : TBits_1); inline;
  35998. begin
  35999. if thebits = 0 then
  36000. pTDefRegMap(@Self)^.clr := $00000004
  36001. else
  36002. pTDefRegMap(@Self)^.&set := $00000004;
  36003. end;
  36004. function TPORTB_PORTB.getRB2 : TBits_1; inline;
  36005. begin
  36006. getRB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36007. end;
  36008. procedure TPORTB_PORTB.setRB3; inline;
  36009. begin
  36010. pTDefRegMap(@Self)^.&set := $00000008;
  36011. end;
  36012. procedure TPORTB_PORTB.clearRB3; inline;
  36013. begin
  36014. pTDefRegMap(@Self)^.clr := $00000008;
  36015. end;
  36016. procedure TPORTB_PORTB.setRB3(thebits : TBits_1); inline;
  36017. begin
  36018. if thebits = 0 then
  36019. pTDefRegMap(@Self)^.clr := $00000008
  36020. else
  36021. pTDefRegMap(@Self)^.&set := $00000008;
  36022. end;
  36023. function TPORTB_PORTB.getRB3 : TBits_1; inline;
  36024. begin
  36025. getRB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36026. end;
  36027. procedure TPORTB_PORTB.setRB4; inline;
  36028. begin
  36029. pTDefRegMap(@Self)^.&set := $00000010;
  36030. end;
  36031. procedure TPORTB_PORTB.clearRB4; inline;
  36032. begin
  36033. pTDefRegMap(@Self)^.clr := $00000010;
  36034. end;
  36035. procedure TPORTB_PORTB.setRB4(thebits : TBits_1); inline;
  36036. begin
  36037. if thebits = 0 then
  36038. pTDefRegMap(@Self)^.clr := $00000010
  36039. else
  36040. pTDefRegMap(@Self)^.&set := $00000010;
  36041. end;
  36042. function TPORTB_PORTB.getRB4 : TBits_1; inline;
  36043. begin
  36044. getRB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36045. end;
  36046. procedure TPORTB_PORTB.setRB5; inline;
  36047. begin
  36048. pTDefRegMap(@Self)^.&set := $00000020;
  36049. end;
  36050. procedure TPORTB_PORTB.clearRB5; inline;
  36051. begin
  36052. pTDefRegMap(@Self)^.clr := $00000020;
  36053. end;
  36054. procedure TPORTB_PORTB.setRB5(thebits : TBits_1); inline;
  36055. begin
  36056. if thebits = 0 then
  36057. pTDefRegMap(@Self)^.clr := $00000020
  36058. else
  36059. pTDefRegMap(@Self)^.&set := $00000020;
  36060. end;
  36061. function TPORTB_PORTB.getRB5 : TBits_1; inline;
  36062. begin
  36063. getRB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36064. end;
  36065. procedure TPORTB_PORTB.setRB6; inline;
  36066. begin
  36067. pTDefRegMap(@Self)^.&set := $00000040;
  36068. end;
  36069. procedure TPORTB_PORTB.clearRB6; inline;
  36070. begin
  36071. pTDefRegMap(@Self)^.clr := $00000040;
  36072. end;
  36073. procedure TPORTB_PORTB.setRB6(thebits : TBits_1); inline;
  36074. begin
  36075. if thebits = 0 then
  36076. pTDefRegMap(@Self)^.clr := $00000040
  36077. else
  36078. pTDefRegMap(@Self)^.&set := $00000040;
  36079. end;
  36080. function TPORTB_PORTB.getRB6 : TBits_1; inline;
  36081. begin
  36082. getRB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36083. end;
  36084. procedure TPORTB_PORTB.setRB7; inline;
  36085. begin
  36086. pTDefRegMap(@Self)^.&set := $00000080;
  36087. end;
  36088. procedure TPORTB_PORTB.clearRB7; inline;
  36089. begin
  36090. pTDefRegMap(@Self)^.clr := $00000080;
  36091. end;
  36092. procedure TPORTB_PORTB.setRB7(thebits : TBits_1); inline;
  36093. begin
  36094. if thebits = 0 then
  36095. pTDefRegMap(@Self)^.clr := $00000080
  36096. else
  36097. pTDefRegMap(@Self)^.&set := $00000080;
  36098. end;
  36099. function TPORTB_PORTB.getRB7 : TBits_1; inline;
  36100. begin
  36101. getRB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36102. end;
  36103. procedure TPORTB_PORTB.setRB8; inline;
  36104. begin
  36105. pTDefRegMap(@Self)^.&set := $00000100;
  36106. end;
  36107. procedure TPORTB_PORTB.clearRB8; inline;
  36108. begin
  36109. pTDefRegMap(@Self)^.clr := $00000100;
  36110. end;
  36111. procedure TPORTB_PORTB.setRB8(thebits : TBits_1); inline;
  36112. begin
  36113. if thebits = 0 then
  36114. pTDefRegMap(@Self)^.clr := $00000100
  36115. else
  36116. pTDefRegMap(@Self)^.&set := $00000100;
  36117. end;
  36118. function TPORTB_PORTB.getRB8 : TBits_1; inline;
  36119. begin
  36120. getRB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36121. end;
  36122. procedure TPORTB_PORTB.setRB9; inline;
  36123. begin
  36124. pTDefRegMap(@Self)^.&set := $00000200;
  36125. end;
  36126. procedure TPORTB_PORTB.clearRB9; inline;
  36127. begin
  36128. pTDefRegMap(@Self)^.clr := $00000200;
  36129. end;
  36130. procedure TPORTB_PORTB.setRB9(thebits : TBits_1); inline;
  36131. begin
  36132. if thebits = 0 then
  36133. pTDefRegMap(@Self)^.clr := $00000200
  36134. else
  36135. pTDefRegMap(@Self)^.&set := $00000200;
  36136. end;
  36137. function TPORTB_PORTB.getRB9 : TBits_1; inline;
  36138. begin
  36139. getRB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36140. end;
  36141. procedure TPORTB_PORTB.setRB10; inline;
  36142. begin
  36143. pTDefRegMap(@Self)^.&set := $00000400;
  36144. end;
  36145. procedure TPORTB_PORTB.clearRB10; inline;
  36146. begin
  36147. pTDefRegMap(@Self)^.clr := $00000400;
  36148. end;
  36149. procedure TPORTB_PORTB.setRB10(thebits : TBits_1); inline;
  36150. begin
  36151. if thebits = 0 then
  36152. pTDefRegMap(@Self)^.clr := $00000400
  36153. else
  36154. pTDefRegMap(@Self)^.&set := $00000400;
  36155. end;
  36156. function TPORTB_PORTB.getRB10 : TBits_1; inline;
  36157. begin
  36158. getRB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36159. end;
  36160. procedure TPORTB_PORTB.setRB11; inline;
  36161. begin
  36162. pTDefRegMap(@Self)^.&set := $00000800;
  36163. end;
  36164. procedure TPORTB_PORTB.clearRB11; inline;
  36165. begin
  36166. pTDefRegMap(@Self)^.clr := $00000800;
  36167. end;
  36168. procedure TPORTB_PORTB.setRB11(thebits : TBits_1); inline;
  36169. begin
  36170. if thebits = 0 then
  36171. pTDefRegMap(@Self)^.clr := $00000800
  36172. else
  36173. pTDefRegMap(@Self)^.&set := $00000800;
  36174. end;
  36175. function TPORTB_PORTB.getRB11 : TBits_1; inline;
  36176. begin
  36177. getRB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36178. end;
  36179. procedure TPORTB_PORTB.setRB12; inline;
  36180. begin
  36181. pTDefRegMap(@Self)^.&set := $00001000;
  36182. end;
  36183. procedure TPORTB_PORTB.clearRB12; inline;
  36184. begin
  36185. pTDefRegMap(@Self)^.clr := $00001000;
  36186. end;
  36187. procedure TPORTB_PORTB.setRB12(thebits : TBits_1); inline;
  36188. begin
  36189. if thebits = 0 then
  36190. pTDefRegMap(@Self)^.clr := $00001000
  36191. else
  36192. pTDefRegMap(@Self)^.&set := $00001000;
  36193. end;
  36194. function TPORTB_PORTB.getRB12 : TBits_1; inline;
  36195. begin
  36196. getRB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36197. end;
  36198. procedure TPORTB_PORTB.setRB13; inline;
  36199. begin
  36200. pTDefRegMap(@Self)^.&set := $00002000;
  36201. end;
  36202. procedure TPORTB_PORTB.clearRB13; inline;
  36203. begin
  36204. pTDefRegMap(@Self)^.clr := $00002000;
  36205. end;
  36206. procedure TPORTB_PORTB.setRB13(thebits : TBits_1); inline;
  36207. begin
  36208. if thebits = 0 then
  36209. pTDefRegMap(@Self)^.clr := $00002000
  36210. else
  36211. pTDefRegMap(@Self)^.&set := $00002000;
  36212. end;
  36213. function TPORTB_PORTB.getRB13 : TBits_1; inline;
  36214. begin
  36215. getRB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36216. end;
  36217. procedure TPORTB_PORTB.setRB14; inline;
  36218. begin
  36219. pTDefRegMap(@Self)^.&set := $00004000;
  36220. end;
  36221. procedure TPORTB_PORTB.clearRB14; inline;
  36222. begin
  36223. pTDefRegMap(@Self)^.clr := $00004000;
  36224. end;
  36225. procedure TPORTB_PORTB.setRB14(thebits : TBits_1); inline;
  36226. begin
  36227. if thebits = 0 then
  36228. pTDefRegMap(@Self)^.clr := $00004000
  36229. else
  36230. pTDefRegMap(@Self)^.&set := $00004000;
  36231. end;
  36232. function TPORTB_PORTB.getRB14 : TBits_1; inline;
  36233. begin
  36234. getRB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36235. end;
  36236. procedure TPORTB_PORTB.setRB15; inline;
  36237. begin
  36238. pTDefRegMap(@Self)^.&set := $00008000;
  36239. end;
  36240. procedure TPORTB_PORTB.clearRB15; inline;
  36241. begin
  36242. pTDefRegMap(@Self)^.clr := $00008000;
  36243. end;
  36244. procedure TPORTB_PORTB.setRB15(thebits : TBits_1); inline;
  36245. begin
  36246. if thebits = 0 then
  36247. pTDefRegMap(@Self)^.clr := $00008000
  36248. else
  36249. pTDefRegMap(@Self)^.&set := $00008000;
  36250. end;
  36251. function TPORTB_PORTB.getRB15 : TBits_1; inline;
  36252. begin
  36253. getRB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36254. end;
  36255. procedure TPORTB_PORTB.setw(thebits : TBits_32); inline;
  36256. begin
  36257. pTDefRegMap(@Self)^.val := thebits;
  36258. end;
  36259. function TPORTB_PORTB.getw : TBits_32; inline;
  36260. begin
  36261. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36262. end;
  36263. procedure TPORTB_LATB.setLATB0; inline;
  36264. begin
  36265. pTDefRegMap(@Self)^.&set := $00000001;
  36266. end;
  36267. procedure TPORTB_LATB.clearLATB0; inline;
  36268. begin
  36269. pTDefRegMap(@Self)^.clr := $00000001;
  36270. end;
  36271. procedure TPORTB_LATB.setLATB0(thebits : TBits_1); inline;
  36272. begin
  36273. if thebits = 0 then
  36274. pTDefRegMap(@Self)^.clr := $00000001
  36275. else
  36276. pTDefRegMap(@Self)^.&set := $00000001;
  36277. end;
  36278. function TPORTB_LATB.getLATB0 : TBits_1; inline;
  36279. begin
  36280. getLATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36281. end;
  36282. procedure TPORTB_LATB.setLATB1; inline;
  36283. begin
  36284. pTDefRegMap(@Self)^.&set := $00000002;
  36285. end;
  36286. procedure TPORTB_LATB.clearLATB1; inline;
  36287. begin
  36288. pTDefRegMap(@Self)^.clr := $00000002;
  36289. end;
  36290. procedure TPORTB_LATB.setLATB1(thebits : TBits_1); inline;
  36291. begin
  36292. if thebits = 0 then
  36293. pTDefRegMap(@Self)^.clr := $00000002
  36294. else
  36295. pTDefRegMap(@Self)^.&set := $00000002;
  36296. end;
  36297. function TPORTB_LATB.getLATB1 : TBits_1; inline;
  36298. begin
  36299. getLATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36300. end;
  36301. procedure TPORTB_LATB.setLATB2; inline;
  36302. begin
  36303. pTDefRegMap(@Self)^.&set := $00000004;
  36304. end;
  36305. procedure TPORTB_LATB.clearLATB2; inline;
  36306. begin
  36307. pTDefRegMap(@Self)^.clr := $00000004;
  36308. end;
  36309. procedure TPORTB_LATB.setLATB2(thebits : TBits_1); inline;
  36310. begin
  36311. if thebits = 0 then
  36312. pTDefRegMap(@Self)^.clr := $00000004
  36313. else
  36314. pTDefRegMap(@Self)^.&set := $00000004;
  36315. end;
  36316. function TPORTB_LATB.getLATB2 : TBits_1; inline;
  36317. begin
  36318. getLATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36319. end;
  36320. procedure TPORTB_LATB.setLATB3; inline;
  36321. begin
  36322. pTDefRegMap(@Self)^.&set := $00000008;
  36323. end;
  36324. procedure TPORTB_LATB.clearLATB3; inline;
  36325. begin
  36326. pTDefRegMap(@Self)^.clr := $00000008;
  36327. end;
  36328. procedure TPORTB_LATB.setLATB3(thebits : TBits_1); inline;
  36329. begin
  36330. if thebits = 0 then
  36331. pTDefRegMap(@Self)^.clr := $00000008
  36332. else
  36333. pTDefRegMap(@Self)^.&set := $00000008;
  36334. end;
  36335. function TPORTB_LATB.getLATB3 : TBits_1; inline;
  36336. begin
  36337. getLATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36338. end;
  36339. procedure TPORTB_LATB.setLATB4; inline;
  36340. begin
  36341. pTDefRegMap(@Self)^.&set := $00000010;
  36342. end;
  36343. procedure TPORTB_LATB.clearLATB4; inline;
  36344. begin
  36345. pTDefRegMap(@Self)^.clr := $00000010;
  36346. end;
  36347. procedure TPORTB_LATB.setLATB4(thebits : TBits_1); inline;
  36348. begin
  36349. if thebits = 0 then
  36350. pTDefRegMap(@Self)^.clr := $00000010
  36351. else
  36352. pTDefRegMap(@Self)^.&set := $00000010;
  36353. end;
  36354. function TPORTB_LATB.getLATB4 : TBits_1; inline;
  36355. begin
  36356. getLATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36357. end;
  36358. procedure TPORTB_LATB.setLATB5; inline;
  36359. begin
  36360. pTDefRegMap(@Self)^.&set := $00000020;
  36361. end;
  36362. procedure TPORTB_LATB.clearLATB5; inline;
  36363. begin
  36364. pTDefRegMap(@Self)^.clr := $00000020;
  36365. end;
  36366. procedure TPORTB_LATB.setLATB5(thebits : TBits_1); inline;
  36367. begin
  36368. if thebits = 0 then
  36369. pTDefRegMap(@Self)^.clr := $00000020
  36370. else
  36371. pTDefRegMap(@Self)^.&set := $00000020;
  36372. end;
  36373. function TPORTB_LATB.getLATB5 : TBits_1; inline;
  36374. begin
  36375. getLATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36376. end;
  36377. procedure TPORTB_LATB.setLATB6; inline;
  36378. begin
  36379. pTDefRegMap(@Self)^.&set := $00000040;
  36380. end;
  36381. procedure TPORTB_LATB.clearLATB6; inline;
  36382. begin
  36383. pTDefRegMap(@Self)^.clr := $00000040;
  36384. end;
  36385. procedure TPORTB_LATB.setLATB6(thebits : TBits_1); inline;
  36386. begin
  36387. if thebits = 0 then
  36388. pTDefRegMap(@Self)^.clr := $00000040
  36389. else
  36390. pTDefRegMap(@Self)^.&set := $00000040;
  36391. end;
  36392. function TPORTB_LATB.getLATB6 : TBits_1; inline;
  36393. begin
  36394. getLATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36395. end;
  36396. procedure TPORTB_LATB.setLATB7; inline;
  36397. begin
  36398. pTDefRegMap(@Self)^.&set := $00000080;
  36399. end;
  36400. procedure TPORTB_LATB.clearLATB7; inline;
  36401. begin
  36402. pTDefRegMap(@Self)^.clr := $00000080;
  36403. end;
  36404. procedure TPORTB_LATB.setLATB7(thebits : TBits_1); inline;
  36405. begin
  36406. if thebits = 0 then
  36407. pTDefRegMap(@Self)^.clr := $00000080
  36408. else
  36409. pTDefRegMap(@Self)^.&set := $00000080;
  36410. end;
  36411. function TPORTB_LATB.getLATB7 : TBits_1; inline;
  36412. begin
  36413. getLATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36414. end;
  36415. procedure TPORTB_LATB.setLATB8; inline;
  36416. begin
  36417. pTDefRegMap(@Self)^.&set := $00000100;
  36418. end;
  36419. procedure TPORTB_LATB.clearLATB8; inline;
  36420. begin
  36421. pTDefRegMap(@Self)^.clr := $00000100;
  36422. end;
  36423. procedure TPORTB_LATB.setLATB8(thebits : TBits_1); inline;
  36424. begin
  36425. if thebits = 0 then
  36426. pTDefRegMap(@Self)^.clr := $00000100
  36427. else
  36428. pTDefRegMap(@Self)^.&set := $00000100;
  36429. end;
  36430. function TPORTB_LATB.getLATB8 : TBits_1; inline;
  36431. begin
  36432. getLATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36433. end;
  36434. procedure TPORTB_LATB.setLATB9; inline;
  36435. begin
  36436. pTDefRegMap(@Self)^.&set := $00000200;
  36437. end;
  36438. procedure TPORTB_LATB.clearLATB9; inline;
  36439. begin
  36440. pTDefRegMap(@Self)^.clr := $00000200;
  36441. end;
  36442. procedure TPORTB_LATB.setLATB9(thebits : TBits_1); inline;
  36443. begin
  36444. if thebits = 0 then
  36445. pTDefRegMap(@Self)^.clr := $00000200
  36446. else
  36447. pTDefRegMap(@Self)^.&set := $00000200;
  36448. end;
  36449. function TPORTB_LATB.getLATB9 : TBits_1; inline;
  36450. begin
  36451. getLATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36452. end;
  36453. procedure TPORTB_LATB.setLATB10; inline;
  36454. begin
  36455. pTDefRegMap(@Self)^.&set := $00000400;
  36456. end;
  36457. procedure TPORTB_LATB.clearLATB10; inline;
  36458. begin
  36459. pTDefRegMap(@Self)^.clr := $00000400;
  36460. end;
  36461. procedure TPORTB_LATB.setLATB10(thebits : TBits_1); inline;
  36462. begin
  36463. if thebits = 0 then
  36464. pTDefRegMap(@Self)^.clr := $00000400
  36465. else
  36466. pTDefRegMap(@Self)^.&set := $00000400;
  36467. end;
  36468. function TPORTB_LATB.getLATB10 : TBits_1; inline;
  36469. begin
  36470. getLATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36471. end;
  36472. procedure TPORTB_LATB.setLATB11; inline;
  36473. begin
  36474. pTDefRegMap(@Self)^.&set := $00000800;
  36475. end;
  36476. procedure TPORTB_LATB.clearLATB11; inline;
  36477. begin
  36478. pTDefRegMap(@Self)^.clr := $00000800;
  36479. end;
  36480. procedure TPORTB_LATB.setLATB11(thebits : TBits_1); inline;
  36481. begin
  36482. if thebits = 0 then
  36483. pTDefRegMap(@Self)^.clr := $00000800
  36484. else
  36485. pTDefRegMap(@Self)^.&set := $00000800;
  36486. end;
  36487. function TPORTB_LATB.getLATB11 : TBits_1; inline;
  36488. begin
  36489. getLATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36490. end;
  36491. procedure TPORTB_LATB.setLATB12; inline;
  36492. begin
  36493. pTDefRegMap(@Self)^.&set := $00001000;
  36494. end;
  36495. procedure TPORTB_LATB.clearLATB12; inline;
  36496. begin
  36497. pTDefRegMap(@Self)^.clr := $00001000;
  36498. end;
  36499. procedure TPORTB_LATB.setLATB12(thebits : TBits_1); inline;
  36500. begin
  36501. if thebits = 0 then
  36502. pTDefRegMap(@Self)^.clr := $00001000
  36503. else
  36504. pTDefRegMap(@Self)^.&set := $00001000;
  36505. end;
  36506. function TPORTB_LATB.getLATB12 : TBits_1; inline;
  36507. begin
  36508. getLATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36509. end;
  36510. procedure TPORTB_LATB.setLATB13; inline;
  36511. begin
  36512. pTDefRegMap(@Self)^.&set := $00002000;
  36513. end;
  36514. procedure TPORTB_LATB.clearLATB13; inline;
  36515. begin
  36516. pTDefRegMap(@Self)^.clr := $00002000;
  36517. end;
  36518. procedure TPORTB_LATB.setLATB13(thebits : TBits_1); inline;
  36519. begin
  36520. if thebits = 0 then
  36521. pTDefRegMap(@Self)^.clr := $00002000
  36522. else
  36523. pTDefRegMap(@Self)^.&set := $00002000;
  36524. end;
  36525. function TPORTB_LATB.getLATB13 : TBits_1; inline;
  36526. begin
  36527. getLATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  36528. end;
  36529. procedure TPORTB_LATB.setLATB14; inline;
  36530. begin
  36531. pTDefRegMap(@Self)^.&set := $00004000;
  36532. end;
  36533. procedure TPORTB_LATB.clearLATB14; inline;
  36534. begin
  36535. pTDefRegMap(@Self)^.clr := $00004000;
  36536. end;
  36537. procedure TPORTB_LATB.setLATB14(thebits : TBits_1); inline;
  36538. begin
  36539. if thebits = 0 then
  36540. pTDefRegMap(@Self)^.clr := $00004000
  36541. else
  36542. pTDefRegMap(@Self)^.&set := $00004000;
  36543. end;
  36544. function TPORTB_LATB.getLATB14 : TBits_1; inline;
  36545. begin
  36546. getLATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  36547. end;
  36548. procedure TPORTB_LATB.setLATB15; inline;
  36549. begin
  36550. pTDefRegMap(@Self)^.&set := $00008000;
  36551. end;
  36552. procedure TPORTB_LATB.clearLATB15; inline;
  36553. begin
  36554. pTDefRegMap(@Self)^.clr := $00008000;
  36555. end;
  36556. procedure TPORTB_LATB.setLATB15(thebits : TBits_1); inline;
  36557. begin
  36558. if thebits = 0 then
  36559. pTDefRegMap(@Self)^.clr := $00008000
  36560. else
  36561. pTDefRegMap(@Self)^.&set := $00008000;
  36562. end;
  36563. function TPORTB_LATB.getLATB15 : TBits_1; inline;
  36564. begin
  36565. getLATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  36566. end;
  36567. procedure TPORTB_LATB.setw(thebits : TBits_32); inline;
  36568. begin
  36569. pTDefRegMap(@Self)^.val := thebits;
  36570. end;
  36571. function TPORTB_LATB.getw : TBits_32; inline;
  36572. begin
  36573. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36574. end;
  36575. procedure TPORTB_ODCB.setODCB4; inline;
  36576. begin
  36577. pTDefRegMap(@Self)^.&set := $00000010;
  36578. end;
  36579. procedure TPORTB_ODCB.clearODCB4; inline;
  36580. begin
  36581. pTDefRegMap(@Self)^.clr := $00000010;
  36582. end;
  36583. procedure TPORTB_ODCB.setODCB4(thebits : TBits_1); inline;
  36584. begin
  36585. if thebits = 0 then
  36586. pTDefRegMap(@Self)^.clr := $00000010
  36587. else
  36588. pTDefRegMap(@Self)^.&set := $00000010;
  36589. end;
  36590. function TPORTB_ODCB.getODCB4 : TBits_1; inline;
  36591. begin
  36592. getODCB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36593. end;
  36594. procedure TPORTB_ODCB.setODCB5; inline;
  36595. begin
  36596. pTDefRegMap(@Self)^.&set := $00000020;
  36597. end;
  36598. procedure TPORTB_ODCB.clearODCB5; inline;
  36599. begin
  36600. pTDefRegMap(@Self)^.clr := $00000020;
  36601. end;
  36602. procedure TPORTB_ODCB.setODCB5(thebits : TBits_1); inline;
  36603. begin
  36604. if thebits = 0 then
  36605. pTDefRegMap(@Self)^.clr := $00000020
  36606. else
  36607. pTDefRegMap(@Self)^.&set := $00000020;
  36608. end;
  36609. function TPORTB_ODCB.getODCB5 : TBits_1; inline;
  36610. begin
  36611. getODCB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36612. end;
  36613. procedure TPORTB_ODCB.setODCB6; inline;
  36614. begin
  36615. pTDefRegMap(@Self)^.&set := $00000040;
  36616. end;
  36617. procedure TPORTB_ODCB.clearODCB6; inline;
  36618. begin
  36619. pTDefRegMap(@Self)^.clr := $00000040;
  36620. end;
  36621. procedure TPORTB_ODCB.setODCB6(thebits : TBits_1); inline;
  36622. begin
  36623. if thebits = 0 then
  36624. pTDefRegMap(@Self)^.clr := $00000040
  36625. else
  36626. pTDefRegMap(@Self)^.&set := $00000040;
  36627. end;
  36628. function TPORTB_ODCB.getODCB6 : TBits_1; inline;
  36629. begin
  36630. getODCB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36631. end;
  36632. procedure TPORTB_ODCB.setODCB7; inline;
  36633. begin
  36634. pTDefRegMap(@Self)^.&set := $00000080;
  36635. end;
  36636. procedure TPORTB_ODCB.clearODCB7; inline;
  36637. begin
  36638. pTDefRegMap(@Self)^.clr := $00000080;
  36639. end;
  36640. procedure TPORTB_ODCB.setODCB7(thebits : TBits_1); inline;
  36641. begin
  36642. if thebits = 0 then
  36643. pTDefRegMap(@Self)^.clr := $00000080
  36644. else
  36645. pTDefRegMap(@Self)^.&set := $00000080;
  36646. end;
  36647. function TPORTB_ODCB.getODCB7 : TBits_1; inline;
  36648. begin
  36649. getODCB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36650. end;
  36651. procedure TPORTB_ODCB.setODCB8; inline;
  36652. begin
  36653. pTDefRegMap(@Self)^.&set := $00000100;
  36654. end;
  36655. procedure TPORTB_ODCB.clearODCB8; inline;
  36656. begin
  36657. pTDefRegMap(@Self)^.clr := $00000100;
  36658. end;
  36659. procedure TPORTB_ODCB.setODCB8(thebits : TBits_1); inline;
  36660. begin
  36661. if thebits = 0 then
  36662. pTDefRegMap(@Self)^.clr := $00000100
  36663. else
  36664. pTDefRegMap(@Self)^.&set := $00000100;
  36665. end;
  36666. function TPORTB_ODCB.getODCB8 : TBits_1; inline;
  36667. begin
  36668. getODCB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36669. end;
  36670. procedure TPORTB_ODCB.setODCB9; inline;
  36671. begin
  36672. pTDefRegMap(@Self)^.&set := $00000200;
  36673. end;
  36674. procedure TPORTB_ODCB.clearODCB9; inline;
  36675. begin
  36676. pTDefRegMap(@Self)^.clr := $00000200;
  36677. end;
  36678. procedure TPORTB_ODCB.setODCB9(thebits : TBits_1); inline;
  36679. begin
  36680. if thebits = 0 then
  36681. pTDefRegMap(@Self)^.clr := $00000200
  36682. else
  36683. pTDefRegMap(@Self)^.&set := $00000200;
  36684. end;
  36685. function TPORTB_ODCB.getODCB9 : TBits_1; inline;
  36686. begin
  36687. getODCB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36688. end;
  36689. procedure TPORTB_ODCB.setODCB10; inline;
  36690. begin
  36691. pTDefRegMap(@Self)^.&set := $00000400;
  36692. end;
  36693. procedure TPORTB_ODCB.clearODCB10; inline;
  36694. begin
  36695. pTDefRegMap(@Self)^.clr := $00000400;
  36696. end;
  36697. procedure TPORTB_ODCB.setODCB10(thebits : TBits_1); inline;
  36698. begin
  36699. if thebits = 0 then
  36700. pTDefRegMap(@Self)^.clr := $00000400
  36701. else
  36702. pTDefRegMap(@Self)^.&set := $00000400;
  36703. end;
  36704. function TPORTB_ODCB.getODCB10 : TBits_1; inline;
  36705. begin
  36706. getODCB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36707. end;
  36708. procedure TPORTB_ODCB.setODCB11; inline;
  36709. begin
  36710. pTDefRegMap(@Self)^.&set := $00000800;
  36711. end;
  36712. procedure TPORTB_ODCB.clearODCB11; inline;
  36713. begin
  36714. pTDefRegMap(@Self)^.clr := $00000800;
  36715. end;
  36716. procedure TPORTB_ODCB.setODCB11(thebits : TBits_1); inline;
  36717. begin
  36718. if thebits = 0 then
  36719. pTDefRegMap(@Self)^.clr := $00000800
  36720. else
  36721. pTDefRegMap(@Self)^.&set := $00000800;
  36722. end;
  36723. function TPORTB_ODCB.getODCB11 : TBits_1; inline;
  36724. begin
  36725. getODCB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36726. end;
  36727. procedure TPORTB_ODCB.setw(thebits : TBits_32); inline;
  36728. begin
  36729. pTDefRegMap(@Self)^.val := thebits;
  36730. end;
  36731. function TPORTB_ODCB.getw : TBits_32; inline;
  36732. begin
  36733. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  36734. end;
  36735. procedure TPORTB_CNPUB.setCNPUB0; inline;
  36736. begin
  36737. pTDefRegMap(@Self)^.&set := $00000001;
  36738. end;
  36739. procedure TPORTB_CNPUB.clearCNPUB0; inline;
  36740. begin
  36741. pTDefRegMap(@Self)^.clr := $00000001;
  36742. end;
  36743. procedure TPORTB_CNPUB.setCNPUB0(thebits : TBits_1); inline;
  36744. begin
  36745. if thebits = 0 then
  36746. pTDefRegMap(@Self)^.clr := $00000001
  36747. else
  36748. pTDefRegMap(@Self)^.&set := $00000001;
  36749. end;
  36750. function TPORTB_CNPUB.getCNPUB0 : TBits_1; inline;
  36751. begin
  36752. getCNPUB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  36753. end;
  36754. procedure TPORTB_CNPUB.setCNPUB1; inline;
  36755. begin
  36756. pTDefRegMap(@Self)^.&set := $00000002;
  36757. end;
  36758. procedure TPORTB_CNPUB.clearCNPUB1; inline;
  36759. begin
  36760. pTDefRegMap(@Self)^.clr := $00000002;
  36761. end;
  36762. procedure TPORTB_CNPUB.setCNPUB1(thebits : TBits_1); inline;
  36763. begin
  36764. if thebits = 0 then
  36765. pTDefRegMap(@Self)^.clr := $00000002
  36766. else
  36767. pTDefRegMap(@Self)^.&set := $00000002;
  36768. end;
  36769. function TPORTB_CNPUB.getCNPUB1 : TBits_1; inline;
  36770. begin
  36771. getCNPUB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  36772. end;
  36773. procedure TPORTB_CNPUB.setCNPUB2; inline;
  36774. begin
  36775. pTDefRegMap(@Self)^.&set := $00000004;
  36776. end;
  36777. procedure TPORTB_CNPUB.clearCNPUB2; inline;
  36778. begin
  36779. pTDefRegMap(@Self)^.clr := $00000004;
  36780. end;
  36781. procedure TPORTB_CNPUB.setCNPUB2(thebits : TBits_1); inline;
  36782. begin
  36783. if thebits = 0 then
  36784. pTDefRegMap(@Self)^.clr := $00000004
  36785. else
  36786. pTDefRegMap(@Self)^.&set := $00000004;
  36787. end;
  36788. function TPORTB_CNPUB.getCNPUB2 : TBits_1; inline;
  36789. begin
  36790. getCNPUB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  36791. end;
  36792. procedure TPORTB_CNPUB.setCNPUB3; inline;
  36793. begin
  36794. pTDefRegMap(@Self)^.&set := $00000008;
  36795. end;
  36796. procedure TPORTB_CNPUB.clearCNPUB3; inline;
  36797. begin
  36798. pTDefRegMap(@Self)^.clr := $00000008;
  36799. end;
  36800. procedure TPORTB_CNPUB.setCNPUB3(thebits : TBits_1); inline;
  36801. begin
  36802. if thebits = 0 then
  36803. pTDefRegMap(@Self)^.clr := $00000008
  36804. else
  36805. pTDefRegMap(@Self)^.&set := $00000008;
  36806. end;
  36807. function TPORTB_CNPUB.getCNPUB3 : TBits_1; inline;
  36808. begin
  36809. getCNPUB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  36810. end;
  36811. procedure TPORTB_CNPUB.setCNPUB4; inline;
  36812. begin
  36813. pTDefRegMap(@Self)^.&set := $00000010;
  36814. end;
  36815. procedure TPORTB_CNPUB.clearCNPUB4; inline;
  36816. begin
  36817. pTDefRegMap(@Self)^.clr := $00000010;
  36818. end;
  36819. procedure TPORTB_CNPUB.setCNPUB4(thebits : TBits_1); inline;
  36820. begin
  36821. if thebits = 0 then
  36822. pTDefRegMap(@Self)^.clr := $00000010
  36823. else
  36824. pTDefRegMap(@Self)^.&set := $00000010;
  36825. end;
  36826. function TPORTB_CNPUB.getCNPUB4 : TBits_1; inline;
  36827. begin
  36828. getCNPUB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  36829. end;
  36830. procedure TPORTB_CNPUB.setCNPUB5; inline;
  36831. begin
  36832. pTDefRegMap(@Self)^.&set := $00000020;
  36833. end;
  36834. procedure TPORTB_CNPUB.clearCNPUB5; inline;
  36835. begin
  36836. pTDefRegMap(@Self)^.clr := $00000020;
  36837. end;
  36838. procedure TPORTB_CNPUB.setCNPUB5(thebits : TBits_1); inline;
  36839. begin
  36840. if thebits = 0 then
  36841. pTDefRegMap(@Self)^.clr := $00000020
  36842. else
  36843. pTDefRegMap(@Self)^.&set := $00000020;
  36844. end;
  36845. function TPORTB_CNPUB.getCNPUB5 : TBits_1; inline;
  36846. begin
  36847. getCNPUB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  36848. end;
  36849. procedure TPORTB_CNPUB.setCNPUB6; inline;
  36850. begin
  36851. pTDefRegMap(@Self)^.&set := $00000040;
  36852. end;
  36853. procedure TPORTB_CNPUB.clearCNPUB6; inline;
  36854. begin
  36855. pTDefRegMap(@Self)^.clr := $00000040;
  36856. end;
  36857. procedure TPORTB_CNPUB.setCNPUB6(thebits : TBits_1); inline;
  36858. begin
  36859. if thebits = 0 then
  36860. pTDefRegMap(@Self)^.clr := $00000040
  36861. else
  36862. pTDefRegMap(@Self)^.&set := $00000040;
  36863. end;
  36864. function TPORTB_CNPUB.getCNPUB6 : TBits_1; inline;
  36865. begin
  36866. getCNPUB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  36867. end;
  36868. procedure TPORTB_CNPUB.setCNPUB7; inline;
  36869. begin
  36870. pTDefRegMap(@Self)^.&set := $00000080;
  36871. end;
  36872. procedure TPORTB_CNPUB.clearCNPUB7; inline;
  36873. begin
  36874. pTDefRegMap(@Self)^.clr := $00000080;
  36875. end;
  36876. procedure TPORTB_CNPUB.setCNPUB7(thebits : TBits_1); inline;
  36877. begin
  36878. if thebits = 0 then
  36879. pTDefRegMap(@Self)^.clr := $00000080
  36880. else
  36881. pTDefRegMap(@Self)^.&set := $00000080;
  36882. end;
  36883. function TPORTB_CNPUB.getCNPUB7 : TBits_1; inline;
  36884. begin
  36885. getCNPUB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  36886. end;
  36887. procedure TPORTB_CNPUB.setCNPUB8; inline;
  36888. begin
  36889. pTDefRegMap(@Self)^.&set := $00000100;
  36890. end;
  36891. procedure TPORTB_CNPUB.clearCNPUB8; inline;
  36892. begin
  36893. pTDefRegMap(@Self)^.clr := $00000100;
  36894. end;
  36895. procedure TPORTB_CNPUB.setCNPUB8(thebits : TBits_1); inline;
  36896. begin
  36897. if thebits = 0 then
  36898. pTDefRegMap(@Self)^.clr := $00000100
  36899. else
  36900. pTDefRegMap(@Self)^.&set := $00000100;
  36901. end;
  36902. function TPORTB_CNPUB.getCNPUB8 : TBits_1; inline;
  36903. begin
  36904. getCNPUB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  36905. end;
  36906. procedure TPORTB_CNPUB.setCNPUB9; inline;
  36907. begin
  36908. pTDefRegMap(@Self)^.&set := $00000200;
  36909. end;
  36910. procedure TPORTB_CNPUB.clearCNPUB9; inline;
  36911. begin
  36912. pTDefRegMap(@Self)^.clr := $00000200;
  36913. end;
  36914. procedure TPORTB_CNPUB.setCNPUB9(thebits : TBits_1); inline;
  36915. begin
  36916. if thebits = 0 then
  36917. pTDefRegMap(@Self)^.clr := $00000200
  36918. else
  36919. pTDefRegMap(@Self)^.&set := $00000200;
  36920. end;
  36921. function TPORTB_CNPUB.getCNPUB9 : TBits_1; inline;
  36922. begin
  36923. getCNPUB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  36924. end;
  36925. procedure TPORTB_CNPUB.setCNPUB10; inline;
  36926. begin
  36927. pTDefRegMap(@Self)^.&set := $00000400;
  36928. end;
  36929. procedure TPORTB_CNPUB.clearCNPUB10; inline;
  36930. begin
  36931. pTDefRegMap(@Self)^.clr := $00000400;
  36932. end;
  36933. procedure TPORTB_CNPUB.setCNPUB10(thebits : TBits_1); inline;
  36934. begin
  36935. if thebits = 0 then
  36936. pTDefRegMap(@Self)^.clr := $00000400
  36937. else
  36938. pTDefRegMap(@Self)^.&set := $00000400;
  36939. end;
  36940. function TPORTB_CNPUB.getCNPUB10 : TBits_1; inline;
  36941. begin
  36942. getCNPUB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  36943. end;
  36944. procedure TPORTB_CNPUB.setCNPUB11; inline;
  36945. begin
  36946. pTDefRegMap(@Self)^.&set := $00000800;
  36947. end;
  36948. procedure TPORTB_CNPUB.clearCNPUB11; inline;
  36949. begin
  36950. pTDefRegMap(@Self)^.clr := $00000800;
  36951. end;
  36952. procedure TPORTB_CNPUB.setCNPUB11(thebits : TBits_1); inline;
  36953. begin
  36954. if thebits = 0 then
  36955. pTDefRegMap(@Self)^.clr := $00000800
  36956. else
  36957. pTDefRegMap(@Self)^.&set := $00000800;
  36958. end;
  36959. function TPORTB_CNPUB.getCNPUB11 : TBits_1; inline;
  36960. begin
  36961. getCNPUB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  36962. end;
  36963. procedure TPORTB_CNPUB.setCNPUB12; inline;
  36964. begin
  36965. pTDefRegMap(@Self)^.&set := $00001000;
  36966. end;
  36967. procedure TPORTB_CNPUB.clearCNPUB12; inline;
  36968. begin
  36969. pTDefRegMap(@Self)^.clr := $00001000;
  36970. end;
  36971. procedure TPORTB_CNPUB.setCNPUB12(thebits : TBits_1); inline;
  36972. begin
  36973. if thebits = 0 then
  36974. pTDefRegMap(@Self)^.clr := $00001000
  36975. else
  36976. pTDefRegMap(@Self)^.&set := $00001000;
  36977. end;
  36978. function TPORTB_CNPUB.getCNPUB12 : TBits_1; inline;
  36979. begin
  36980. getCNPUB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  36981. end;
  36982. procedure TPORTB_CNPUB.setCNPUB13; inline;
  36983. begin
  36984. pTDefRegMap(@Self)^.&set := $00002000;
  36985. end;
  36986. procedure TPORTB_CNPUB.clearCNPUB13; inline;
  36987. begin
  36988. pTDefRegMap(@Self)^.clr := $00002000;
  36989. end;
  36990. procedure TPORTB_CNPUB.setCNPUB13(thebits : TBits_1); inline;
  36991. begin
  36992. if thebits = 0 then
  36993. pTDefRegMap(@Self)^.clr := $00002000
  36994. else
  36995. pTDefRegMap(@Self)^.&set := $00002000;
  36996. end;
  36997. function TPORTB_CNPUB.getCNPUB13 : TBits_1; inline;
  36998. begin
  36999. getCNPUB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37000. end;
  37001. procedure TPORTB_CNPUB.setCNPUB14; inline;
  37002. begin
  37003. pTDefRegMap(@Self)^.&set := $00004000;
  37004. end;
  37005. procedure TPORTB_CNPUB.clearCNPUB14; inline;
  37006. begin
  37007. pTDefRegMap(@Self)^.clr := $00004000;
  37008. end;
  37009. procedure TPORTB_CNPUB.setCNPUB14(thebits : TBits_1); inline;
  37010. begin
  37011. if thebits = 0 then
  37012. pTDefRegMap(@Self)^.clr := $00004000
  37013. else
  37014. pTDefRegMap(@Self)^.&set := $00004000;
  37015. end;
  37016. function TPORTB_CNPUB.getCNPUB14 : TBits_1; inline;
  37017. begin
  37018. getCNPUB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37019. end;
  37020. procedure TPORTB_CNPUB.setCNPUB15; inline;
  37021. begin
  37022. pTDefRegMap(@Self)^.&set := $00008000;
  37023. end;
  37024. procedure TPORTB_CNPUB.clearCNPUB15; inline;
  37025. begin
  37026. pTDefRegMap(@Self)^.clr := $00008000;
  37027. end;
  37028. procedure TPORTB_CNPUB.setCNPUB15(thebits : TBits_1); inline;
  37029. begin
  37030. if thebits = 0 then
  37031. pTDefRegMap(@Self)^.clr := $00008000
  37032. else
  37033. pTDefRegMap(@Self)^.&set := $00008000;
  37034. end;
  37035. function TPORTB_CNPUB.getCNPUB15 : TBits_1; inline;
  37036. begin
  37037. getCNPUB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37038. end;
  37039. procedure TPORTB_CNPUB.setw(thebits : TBits_32); inline;
  37040. begin
  37041. pTDefRegMap(@Self)^.val := thebits;
  37042. end;
  37043. function TPORTB_CNPUB.getw : TBits_32; inline;
  37044. begin
  37045. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37046. end;
  37047. procedure TPORTB_CNPDB.setCNPDB0; inline;
  37048. begin
  37049. pTDefRegMap(@Self)^.&set := $00000001;
  37050. end;
  37051. procedure TPORTB_CNPDB.clearCNPDB0; inline;
  37052. begin
  37053. pTDefRegMap(@Self)^.clr := $00000001;
  37054. end;
  37055. procedure TPORTB_CNPDB.setCNPDB0(thebits : TBits_1); inline;
  37056. begin
  37057. if thebits = 0 then
  37058. pTDefRegMap(@Self)^.clr := $00000001
  37059. else
  37060. pTDefRegMap(@Self)^.&set := $00000001;
  37061. end;
  37062. function TPORTB_CNPDB.getCNPDB0 : TBits_1; inline;
  37063. begin
  37064. getCNPDB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37065. end;
  37066. procedure TPORTB_CNPDB.setCNPDB1; inline;
  37067. begin
  37068. pTDefRegMap(@Self)^.&set := $00000002;
  37069. end;
  37070. procedure TPORTB_CNPDB.clearCNPDB1; inline;
  37071. begin
  37072. pTDefRegMap(@Self)^.clr := $00000002;
  37073. end;
  37074. procedure TPORTB_CNPDB.setCNPDB1(thebits : TBits_1); inline;
  37075. begin
  37076. if thebits = 0 then
  37077. pTDefRegMap(@Self)^.clr := $00000002
  37078. else
  37079. pTDefRegMap(@Self)^.&set := $00000002;
  37080. end;
  37081. function TPORTB_CNPDB.getCNPDB1 : TBits_1; inline;
  37082. begin
  37083. getCNPDB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37084. end;
  37085. procedure TPORTB_CNPDB.setCNPDB2; inline;
  37086. begin
  37087. pTDefRegMap(@Self)^.&set := $00000004;
  37088. end;
  37089. procedure TPORTB_CNPDB.clearCNPDB2; inline;
  37090. begin
  37091. pTDefRegMap(@Self)^.clr := $00000004;
  37092. end;
  37093. procedure TPORTB_CNPDB.setCNPDB2(thebits : TBits_1); inline;
  37094. begin
  37095. if thebits = 0 then
  37096. pTDefRegMap(@Self)^.clr := $00000004
  37097. else
  37098. pTDefRegMap(@Self)^.&set := $00000004;
  37099. end;
  37100. function TPORTB_CNPDB.getCNPDB2 : TBits_1; inline;
  37101. begin
  37102. getCNPDB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37103. end;
  37104. procedure TPORTB_CNPDB.setCNPDB3; inline;
  37105. begin
  37106. pTDefRegMap(@Self)^.&set := $00000008;
  37107. end;
  37108. procedure TPORTB_CNPDB.clearCNPDB3; inline;
  37109. begin
  37110. pTDefRegMap(@Self)^.clr := $00000008;
  37111. end;
  37112. procedure TPORTB_CNPDB.setCNPDB3(thebits : TBits_1); inline;
  37113. begin
  37114. if thebits = 0 then
  37115. pTDefRegMap(@Self)^.clr := $00000008
  37116. else
  37117. pTDefRegMap(@Self)^.&set := $00000008;
  37118. end;
  37119. function TPORTB_CNPDB.getCNPDB3 : TBits_1; inline;
  37120. begin
  37121. getCNPDB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37122. end;
  37123. procedure TPORTB_CNPDB.setCNPDB4; inline;
  37124. begin
  37125. pTDefRegMap(@Self)^.&set := $00000010;
  37126. end;
  37127. procedure TPORTB_CNPDB.clearCNPDB4; inline;
  37128. begin
  37129. pTDefRegMap(@Self)^.clr := $00000010;
  37130. end;
  37131. procedure TPORTB_CNPDB.setCNPDB4(thebits : TBits_1); inline;
  37132. begin
  37133. if thebits = 0 then
  37134. pTDefRegMap(@Self)^.clr := $00000010
  37135. else
  37136. pTDefRegMap(@Self)^.&set := $00000010;
  37137. end;
  37138. function TPORTB_CNPDB.getCNPDB4 : TBits_1; inline;
  37139. begin
  37140. getCNPDB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37141. end;
  37142. procedure TPORTB_CNPDB.setCNPDB5; inline;
  37143. begin
  37144. pTDefRegMap(@Self)^.&set := $00000020;
  37145. end;
  37146. procedure TPORTB_CNPDB.clearCNPDB5; inline;
  37147. begin
  37148. pTDefRegMap(@Self)^.clr := $00000020;
  37149. end;
  37150. procedure TPORTB_CNPDB.setCNPDB5(thebits : TBits_1); inline;
  37151. begin
  37152. if thebits = 0 then
  37153. pTDefRegMap(@Self)^.clr := $00000020
  37154. else
  37155. pTDefRegMap(@Self)^.&set := $00000020;
  37156. end;
  37157. function TPORTB_CNPDB.getCNPDB5 : TBits_1; inline;
  37158. begin
  37159. getCNPDB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37160. end;
  37161. procedure TPORTB_CNPDB.setCNPDB6; inline;
  37162. begin
  37163. pTDefRegMap(@Self)^.&set := $00000040;
  37164. end;
  37165. procedure TPORTB_CNPDB.clearCNPDB6; inline;
  37166. begin
  37167. pTDefRegMap(@Self)^.clr := $00000040;
  37168. end;
  37169. procedure TPORTB_CNPDB.setCNPDB6(thebits : TBits_1); inline;
  37170. begin
  37171. if thebits = 0 then
  37172. pTDefRegMap(@Self)^.clr := $00000040
  37173. else
  37174. pTDefRegMap(@Self)^.&set := $00000040;
  37175. end;
  37176. function TPORTB_CNPDB.getCNPDB6 : TBits_1; inline;
  37177. begin
  37178. getCNPDB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37179. end;
  37180. procedure TPORTB_CNPDB.setCNPDB7; inline;
  37181. begin
  37182. pTDefRegMap(@Self)^.&set := $00000080;
  37183. end;
  37184. procedure TPORTB_CNPDB.clearCNPDB7; inline;
  37185. begin
  37186. pTDefRegMap(@Self)^.clr := $00000080;
  37187. end;
  37188. procedure TPORTB_CNPDB.setCNPDB7(thebits : TBits_1); inline;
  37189. begin
  37190. if thebits = 0 then
  37191. pTDefRegMap(@Self)^.clr := $00000080
  37192. else
  37193. pTDefRegMap(@Self)^.&set := $00000080;
  37194. end;
  37195. function TPORTB_CNPDB.getCNPDB7 : TBits_1; inline;
  37196. begin
  37197. getCNPDB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37198. end;
  37199. procedure TPORTB_CNPDB.setCNPDB8; inline;
  37200. begin
  37201. pTDefRegMap(@Self)^.&set := $00000100;
  37202. end;
  37203. procedure TPORTB_CNPDB.clearCNPDB8; inline;
  37204. begin
  37205. pTDefRegMap(@Self)^.clr := $00000100;
  37206. end;
  37207. procedure TPORTB_CNPDB.setCNPDB8(thebits : TBits_1); inline;
  37208. begin
  37209. if thebits = 0 then
  37210. pTDefRegMap(@Self)^.clr := $00000100
  37211. else
  37212. pTDefRegMap(@Self)^.&set := $00000100;
  37213. end;
  37214. function TPORTB_CNPDB.getCNPDB8 : TBits_1; inline;
  37215. begin
  37216. getCNPDB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37217. end;
  37218. procedure TPORTB_CNPDB.setCNPDB9; inline;
  37219. begin
  37220. pTDefRegMap(@Self)^.&set := $00000200;
  37221. end;
  37222. procedure TPORTB_CNPDB.clearCNPDB9; inline;
  37223. begin
  37224. pTDefRegMap(@Self)^.clr := $00000200;
  37225. end;
  37226. procedure TPORTB_CNPDB.setCNPDB9(thebits : TBits_1); inline;
  37227. begin
  37228. if thebits = 0 then
  37229. pTDefRegMap(@Self)^.clr := $00000200
  37230. else
  37231. pTDefRegMap(@Self)^.&set := $00000200;
  37232. end;
  37233. function TPORTB_CNPDB.getCNPDB9 : TBits_1; inline;
  37234. begin
  37235. getCNPDB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37236. end;
  37237. procedure TPORTB_CNPDB.setCNPDB10; inline;
  37238. begin
  37239. pTDefRegMap(@Self)^.&set := $00000400;
  37240. end;
  37241. procedure TPORTB_CNPDB.clearCNPDB10; inline;
  37242. begin
  37243. pTDefRegMap(@Self)^.clr := $00000400;
  37244. end;
  37245. procedure TPORTB_CNPDB.setCNPDB10(thebits : TBits_1); inline;
  37246. begin
  37247. if thebits = 0 then
  37248. pTDefRegMap(@Self)^.clr := $00000400
  37249. else
  37250. pTDefRegMap(@Self)^.&set := $00000400;
  37251. end;
  37252. function TPORTB_CNPDB.getCNPDB10 : TBits_1; inline;
  37253. begin
  37254. getCNPDB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37255. end;
  37256. procedure TPORTB_CNPDB.setCNPDB11; inline;
  37257. begin
  37258. pTDefRegMap(@Self)^.&set := $00000800;
  37259. end;
  37260. procedure TPORTB_CNPDB.clearCNPDB11; inline;
  37261. begin
  37262. pTDefRegMap(@Self)^.clr := $00000800;
  37263. end;
  37264. procedure TPORTB_CNPDB.setCNPDB11(thebits : TBits_1); inline;
  37265. begin
  37266. if thebits = 0 then
  37267. pTDefRegMap(@Self)^.clr := $00000800
  37268. else
  37269. pTDefRegMap(@Self)^.&set := $00000800;
  37270. end;
  37271. function TPORTB_CNPDB.getCNPDB11 : TBits_1; inline;
  37272. begin
  37273. getCNPDB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37274. end;
  37275. procedure TPORTB_CNPDB.setCNPDB12; inline;
  37276. begin
  37277. pTDefRegMap(@Self)^.&set := $00001000;
  37278. end;
  37279. procedure TPORTB_CNPDB.clearCNPDB12; inline;
  37280. begin
  37281. pTDefRegMap(@Self)^.clr := $00001000;
  37282. end;
  37283. procedure TPORTB_CNPDB.setCNPDB12(thebits : TBits_1); inline;
  37284. begin
  37285. if thebits = 0 then
  37286. pTDefRegMap(@Self)^.clr := $00001000
  37287. else
  37288. pTDefRegMap(@Self)^.&set := $00001000;
  37289. end;
  37290. function TPORTB_CNPDB.getCNPDB12 : TBits_1; inline;
  37291. begin
  37292. getCNPDB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37293. end;
  37294. procedure TPORTB_CNPDB.setCNPDB13; inline;
  37295. begin
  37296. pTDefRegMap(@Self)^.&set := $00002000;
  37297. end;
  37298. procedure TPORTB_CNPDB.clearCNPDB13; inline;
  37299. begin
  37300. pTDefRegMap(@Self)^.clr := $00002000;
  37301. end;
  37302. procedure TPORTB_CNPDB.setCNPDB13(thebits : TBits_1); inline;
  37303. begin
  37304. if thebits = 0 then
  37305. pTDefRegMap(@Self)^.clr := $00002000
  37306. else
  37307. pTDefRegMap(@Self)^.&set := $00002000;
  37308. end;
  37309. function TPORTB_CNPDB.getCNPDB13 : TBits_1; inline;
  37310. begin
  37311. getCNPDB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37312. end;
  37313. procedure TPORTB_CNPDB.setCNPDB14; inline;
  37314. begin
  37315. pTDefRegMap(@Self)^.&set := $00004000;
  37316. end;
  37317. procedure TPORTB_CNPDB.clearCNPDB14; inline;
  37318. begin
  37319. pTDefRegMap(@Self)^.clr := $00004000;
  37320. end;
  37321. procedure TPORTB_CNPDB.setCNPDB14(thebits : TBits_1); inline;
  37322. begin
  37323. if thebits = 0 then
  37324. pTDefRegMap(@Self)^.clr := $00004000
  37325. else
  37326. pTDefRegMap(@Self)^.&set := $00004000;
  37327. end;
  37328. function TPORTB_CNPDB.getCNPDB14 : TBits_1; inline;
  37329. begin
  37330. getCNPDB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37331. end;
  37332. procedure TPORTB_CNPDB.setCNPDB15; inline;
  37333. begin
  37334. pTDefRegMap(@Self)^.&set := $00008000;
  37335. end;
  37336. procedure TPORTB_CNPDB.clearCNPDB15; inline;
  37337. begin
  37338. pTDefRegMap(@Self)^.clr := $00008000;
  37339. end;
  37340. procedure TPORTB_CNPDB.setCNPDB15(thebits : TBits_1); inline;
  37341. begin
  37342. if thebits = 0 then
  37343. pTDefRegMap(@Self)^.clr := $00008000
  37344. else
  37345. pTDefRegMap(@Self)^.&set := $00008000;
  37346. end;
  37347. function TPORTB_CNPDB.getCNPDB15 : TBits_1; inline;
  37348. begin
  37349. getCNPDB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37350. end;
  37351. procedure TPORTB_CNPDB.setw(thebits : TBits_32); inline;
  37352. begin
  37353. pTDefRegMap(@Self)^.val := thebits;
  37354. end;
  37355. function TPORTB_CNPDB.getw : TBits_32; inline;
  37356. begin
  37357. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37358. end;
  37359. procedure TPORTB_CNCONB.setSIDL; inline;
  37360. begin
  37361. pTDefRegMap(@Self)^.&set := $00002000;
  37362. end;
  37363. procedure TPORTB_CNCONB.clearSIDL; inline;
  37364. begin
  37365. pTDefRegMap(@Self)^.clr := $00002000;
  37366. end;
  37367. procedure TPORTB_CNCONB.setSIDL(thebits : TBits_1); inline;
  37368. begin
  37369. if thebits = 0 then
  37370. pTDefRegMap(@Self)^.clr := $00002000
  37371. else
  37372. pTDefRegMap(@Self)^.&set := $00002000;
  37373. end;
  37374. function TPORTB_CNCONB.getSIDL : TBits_1; inline;
  37375. begin
  37376. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37377. end;
  37378. procedure TPORTB_CNCONB.setON; inline;
  37379. begin
  37380. pTDefRegMap(@Self)^.&set := $00008000;
  37381. end;
  37382. procedure TPORTB_CNCONB.clearON; inline;
  37383. begin
  37384. pTDefRegMap(@Self)^.clr := $00008000;
  37385. end;
  37386. procedure TPORTB_CNCONB.setON(thebits : TBits_1); inline;
  37387. begin
  37388. if thebits = 0 then
  37389. pTDefRegMap(@Self)^.clr := $00008000
  37390. else
  37391. pTDefRegMap(@Self)^.&set := $00008000;
  37392. end;
  37393. function TPORTB_CNCONB.getON : TBits_1; inline;
  37394. begin
  37395. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37396. end;
  37397. procedure TPORTB_CNCONB.setw(thebits : TBits_32); inline;
  37398. begin
  37399. pTDefRegMap(@Self)^.val := thebits;
  37400. end;
  37401. function TPORTB_CNCONB.getw : TBits_32; inline;
  37402. begin
  37403. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37404. end;
  37405. procedure TPORTB_CNENB.setCNIEB0; inline;
  37406. begin
  37407. pTDefRegMap(@Self)^.&set := $00000001;
  37408. end;
  37409. procedure TPORTB_CNENB.clearCNIEB0; inline;
  37410. begin
  37411. pTDefRegMap(@Self)^.clr := $00000001;
  37412. end;
  37413. procedure TPORTB_CNENB.setCNIEB0(thebits : TBits_1); inline;
  37414. begin
  37415. if thebits = 0 then
  37416. pTDefRegMap(@Self)^.clr := $00000001
  37417. else
  37418. pTDefRegMap(@Self)^.&set := $00000001;
  37419. end;
  37420. function TPORTB_CNENB.getCNIEB0 : TBits_1; inline;
  37421. begin
  37422. getCNIEB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37423. end;
  37424. procedure TPORTB_CNENB.setCNIEB1; inline;
  37425. begin
  37426. pTDefRegMap(@Self)^.&set := $00000002;
  37427. end;
  37428. procedure TPORTB_CNENB.clearCNIEB1; inline;
  37429. begin
  37430. pTDefRegMap(@Self)^.clr := $00000002;
  37431. end;
  37432. procedure TPORTB_CNENB.setCNIEB1(thebits : TBits_1); inline;
  37433. begin
  37434. if thebits = 0 then
  37435. pTDefRegMap(@Self)^.clr := $00000002
  37436. else
  37437. pTDefRegMap(@Self)^.&set := $00000002;
  37438. end;
  37439. function TPORTB_CNENB.getCNIEB1 : TBits_1; inline;
  37440. begin
  37441. getCNIEB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37442. end;
  37443. procedure TPORTB_CNENB.setCNIEB2; inline;
  37444. begin
  37445. pTDefRegMap(@Self)^.&set := $00000004;
  37446. end;
  37447. procedure TPORTB_CNENB.clearCNIEB2; inline;
  37448. begin
  37449. pTDefRegMap(@Self)^.clr := $00000004;
  37450. end;
  37451. procedure TPORTB_CNENB.setCNIEB2(thebits : TBits_1); inline;
  37452. begin
  37453. if thebits = 0 then
  37454. pTDefRegMap(@Self)^.clr := $00000004
  37455. else
  37456. pTDefRegMap(@Self)^.&set := $00000004;
  37457. end;
  37458. function TPORTB_CNENB.getCNIEB2 : TBits_1; inline;
  37459. begin
  37460. getCNIEB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37461. end;
  37462. procedure TPORTB_CNENB.setCNIEB3; inline;
  37463. begin
  37464. pTDefRegMap(@Self)^.&set := $00000008;
  37465. end;
  37466. procedure TPORTB_CNENB.clearCNIEB3; inline;
  37467. begin
  37468. pTDefRegMap(@Self)^.clr := $00000008;
  37469. end;
  37470. procedure TPORTB_CNENB.setCNIEB3(thebits : TBits_1); inline;
  37471. begin
  37472. if thebits = 0 then
  37473. pTDefRegMap(@Self)^.clr := $00000008
  37474. else
  37475. pTDefRegMap(@Self)^.&set := $00000008;
  37476. end;
  37477. function TPORTB_CNENB.getCNIEB3 : TBits_1; inline;
  37478. begin
  37479. getCNIEB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37480. end;
  37481. procedure TPORTB_CNENB.setCNIEB4; inline;
  37482. begin
  37483. pTDefRegMap(@Self)^.&set := $00000010;
  37484. end;
  37485. procedure TPORTB_CNENB.clearCNIEB4; inline;
  37486. begin
  37487. pTDefRegMap(@Self)^.clr := $00000010;
  37488. end;
  37489. procedure TPORTB_CNENB.setCNIEB4(thebits : TBits_1); inline;
  37490. begin
  37491. if thebits = 0 then
  37492. pTDefRegMap(@Self)^.clr := $00000010
  37493. else
  37494. pTDefRegMap(@Self)^.&set := $00000010;
  37495. end;
  37496. function TPORTB_CNENB.getCNIEB4 : TBits_1; inline;
  37497. begin
  37498. getCNIEB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37499. end;
  37500. procedure TPORTB_CNENB.setCNIEB5; inline;
  37501. begin
  37502. pTDefRegMap(@Self)^.&set := $00000020;
  37503. end;
  37504. procedure TPORTB_CNENB.clearCNIEB5; inline;
  37505. begin
  37506. pTDefRegMap(@Self)^.clr := $00000020;
  37507. end;
  37508. procedure TPORTB_CNENB.setCNIEB5(thebits : TBits_1); inline;
  37509. begin
  37510. if thebits = 0 then
  37511. pTDefRegMap(@Self)^.clr := $00000020
  37512. else
  37513. pTDefRegMap(@Self)^.&set := $00000020;
  37514. end;
  37515. function TPORTB_CNENB.getCNIEB5 : TBits_1; inline;
  37516. begin
  37517. getCNIEB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37518. end;
  37519. procedure TPORTB_CNENB.setCNIEB6; inline;
  37520. begin
  37521. pTDefRegMap(@Self)^.&set := $00000040;
  37522. end;
  37523. procedure TPORTB_CNENB.clearCNIEB6; inline;
  37524. begin
  37525. pTDefRegMap(@Self)^.clr := $00000040;
  37526. end;
  37527. procedure TPORTB_CNENB.setCNIEB6(thebits : TBits_1); inline;
  37528. begin
  37529. if thebits = 0 then
  37530. pTDefRegMap(@Self)^.clr := $00000040
  37531. else
  37532. pTDefRegMap(@Self)^.&set := $00000040;
  37533. end;
  37534. function TPORTB_CNENB.getCNIEB6 : TBits_1; inline;
  37535. begin
  37536. getCNIEB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37537. end;
  37538. procedure TPORTB_CNENB.setCNIEB7; inline;
  37539. begin
  37540. pTDefRegMap(@Self)^.&set := $00000080;
  37541. end;
  37542. procedure TPORTB_CNENB.clearCNIEB7; inline;
  37543. begin
  37544. pTDefRegMap(@Self)^.clr := $00000080;
  37545. end;
  37546. procedure TPORTB_CNENB.setCNIEB7(thebits : TBits_1); inline;
  37547. begin
  37548. if thebits = 0 then
  37549. pTDefRegMap(@Self)^.clr := $00000080
  37550. else
  37551. pTDefRegMap(@Self)^.&set := $00000080;
  37552. end;
  37553. function TPORTB_CNENB.getCNIEB7 : TBits_1; inline;
  37554. begin
  37555. getCNIEB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37556. end;
  37557. procedure TPORTB_CNENB.setCNIEB8; inline;
  37558. begin
  37559. pTDefRegMap(@Self)^.&set := $00000100;
  37560. end;
  37561. procedure TPORTB_CNENB.clearCNIEB8; inline;
  37562. begin
  37563. pTDefRegMap(@Self)^.clr := $00000100;
  37564. end;
  37565. procedure TPORTB_CNENB.setCNIEB8(thebits : TBits_1); inline;
  37566. begin
  37567. if thebits = 0 then
  37568. pTDefRegMap(@Self)^.clr := $00000100
  37569. else
  37570. pTDefRegMap(@Self)^.&set := $00000100;
  37571. end;
  37572. function TPORTB_CNENB.getCNIEB8 : TBits_1; inline;
  37573. begin
  37574. getCNIEB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37575. end;
  37576. procedure TPORTB_CNENB.setCNIEB9; inline;
  37577. begin
  37578. pTDefRegMap(@Self)^.&set := $00000200;
  37579. end;
  37580. procedure TPORTB_CNENB.clearCNIEB9; inline;
  37581. begin
  37582. pTDefRegMap(@Self)^.clr := $00000200;
  37583. end;
  37584. procedure TPORTB_CNENB.setCNIEB9(thebits : TBits_1); inline;
  37585. begin
  37586. if thebits = 0 then
  37587. pTDefRegMap(@Self)^.clr := $00000200
  37588. else
  37589. pTDefRegMap(@Self)^.&set := $00000200;
  37590. end;
  37591. function TPORTB_CNENB.getCNIEB9 : TBits_1; inline;
  37592. begin
  37593. getCNIEB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37594. end;
  37595. procedure TPORTB_CNENB.setCNIEB10; inline;
  37596. begin
  37597. pTDefRegMap(@Self)^.&set := $00000400;
  37598. end;
  37599. procedure TPORTB_CNENB.clearCNIEB10; inline;
  37600. begin
  37601. pTDefRegMap(@Self)^.clr := $00000400;
  37602. end;
  37603. procedure TPORTB_CNENB.setCNIEB10(thebits : TBits_1); inline;
  37604. begin
  37605. if thebits = 0 then
  37606. pTDefRegMap(@Self)^.clr := $00000400
  37607. else
  37608. pTDefRegMap(@Self)^.&set := $00000400;
  37609. end;
  37610. function TPORTB_CNENB.getCNIEB10 : TBits_1; inline;
  37611. begin
  37612. getCNIEB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37613. end;
  37614. procedure TPORTB_CNENB.setCNIEB11; inline;
  37615. begin
  37616. pTDefRegMap(@Self)^.&set := $00000800;
  37617. end;
  37618. procedure TPORTB_CNENB.clearCNIEB11; inline;
  37619. begin
  37620. pTDefRegMap(@Self)^.clr := $00000800;
  37621. end;
  37622. procedure TPORTB_CNENB.setCNIEB11(thebits : TBits_1); inline;
  37623. begin
  37624. if thebits = 0 then
  37625. pTDefRegMap(@Self)^.clr := $00000800
  37626. else
  37627. pTDefRegMap(@Self)^.&set := $00000800;
  37628. end;
  37629. function TPORTB_CNENB.getCNIEB11 : TBits_1; inline;
  37630. begin
  37631. getCNIEB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37632. end;
  37633. procedure TPORTB_CNENB.setCNIEB12; inline;
  37634. begin
  37635. pTDefRegMap(@Self)^.&set := $00001000;
  37636. end;
  37637. procedure TPORTB_CNENB.clearCNIEB12; inline;
  37638. begin
  37639. pTDefRegMap(@Self)^.clr := $00001000;
  37640. end;
  37641. procedure TPORTB_CNENB.setCNIEB12(thebits : TBits_1); inline;
  37642. begin
  37643. if thebits = 0 then
  37644. pTDefRegMap(@Self)^.clr := $00001000
  37645. else
  37646. pTDefRegMap(@Self)^.&set := $00001000;
  37647. end;
  37648. function TPORTB_CNENB.getCNIEB12 : TBits_1; inline;
  37649. begin
  37650. getCNIEB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37651. end;
  37652. procedure TPORTB_CNENB.setCNIEB13; inline;
  37653. begin
  37654. pTDefRegMap(@Self)^.&set := $00002000;
  37655. end;
  37656. procedure TPORTB_CNENB.clearCNIEB13; inline;
  37657. begin
  37658. pTDefRegMap(@Self)^.clr := $00002000;
  37659. end;
  37660. procedure TPORTB_CNENB.setCNIEB13(thebits : TBits_1); inline;
  37661. begin
  37662. if thebits = 0 then
  37663. pTDefRegMap(@Self)^.clr := $00002000
  37664. else
  37665. pTDefRegMap(@Self)^.&set := $00002000;
  37666. end;
  37667. function TPORTB_CNENB.getCNIEB13 : TBits_1; inline;
  37668. begin
  37669. getCNIEB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37670. end;
  37671. procedure TPORTB_CNENB.setCNIEB14; inline;
  37672. begin
  37673. pTDefRegMap(@Self)^.&set := $00004000;
  37674. end;
  37675. procedure TPORTB_CNENB.clearCNIEB14; inline;
  37676. begin
  37677. pTDefRegMap(@Self)^.clr := $00004000;
  37678. end;
  37679. procedure TPORTB_CNENB.setCNIEB14(thebits : TBits_1); inline;
  37680. begin
  37681. if thebits = 0 then
  37682. pTDefRegMap(@Self)^.clr := $00004000
  37683. else
  37684. pTDefRegMap(@Self)^.&set := $00004000;
  37685. end;
  37686. function TPORTB_CNENB.getCNIEB14 : TBits_1; inline;
  37687. begin
  37688. getCNIEB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  37689. end;
  37690. procedure TPORTB_CNENB.setCNIEB15; inline;
  37691. begin
  37692. pTDefRegMap(@Self)^.&set := $00008000;
  37693. end;
  37694. procedure TPORTB_CNENB.clearCNIEB15; inline;
  37695. begin
  37696. pTDefRegMap(@Self)^.clr := $00008000;
  37697. end;
  37698. procedure TPORTB_CNENB.setCNIEB15(thebits : TBits_1); inline;
  37699. begin
  37700. if thebits = 0 then
  37701. pTDefRegMap(@Self)^.clr := $00008000
  37702. else
  37703. pTDefRegMap(@Self)^.&set := $00008000;
  37704. end;
  37705. function TPORTB_CNENB.getCNIEB15 : TBits_1; inline;
  37706. begin
  37707. getCNIEB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  37708. end;
  37709. procedure TPORTB_CNENB.setw(thebits : TBits_32); inline;
  37710. begin
  37711. pTDefRegMap(@Self)^.val := thebits;
  37712. end;
  37713. function TPORTB_CNENB.getw : TBits_32; inline;
  37714. begin
  37715. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  37716. end;
  37717. procedure TPORTB_CNSTATB.setCNSTATB0; inline;
  37718. begin
  37719. pTDefRegMap(@Self)^.&set := $00000001;
  37720. end;
  37721. procedure TPORTB_CNSTATB.clearCNSTATB0; inline;
  37722. begin
  37723. pTDefRegMap(@Self)^.clr := $00000001;
  37724. end;
  37725. procedure TPORTB_CNSTATB.setCNSTATB0(thebits : TBits_1); inline;
  37726. begin
  37727. if thebits = 0 then
  37728. pTDefRegMap(@Self)^.clr := $00000001
  37729. else
  37730. pTDefRegMap(@Self)^.&set := $00000001;
  37731. end;
  37732. function TPORTB_CNSTATB.getCNSTATB0 : TBits_1; inline;
  37733. begin
  37734. getCNSTATB0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  37735. end;
  37736. procedure TPORTB_CNSTATB.setCNSTATB1; inline;
  37737. begin
  37738. pTDefRegMap(@Self)^.&set := $00000002;
  37739. end;
  37740. procedure TPORTB_CNSTATB.clearCNSTATB1; inline;
  37741. begin
  37742. pTDefRegMap(@Self)^.clr := $00000002;
  37743. end;
  37744. procedure TPORTB_CNSTATB.setCNSTATB1(thebits : TBits_1); inline;
  37745. begin
  37746. if thebits = 0 then
  37747. pTDefRegMap(@Self)^.clr := $00000002
  37748. else
  37749. pTDefRegMap(@Self)^.&set := $00000002;
  37750. end;
  37751. function TPORTB_CNSTATB.getCNSTATB1 : TBits_1; inline;
  37752. begin
  37753. getCNSTATB1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  37754. end;
  37755. procedure TPORTB_CNSTATB.setCNSTATB2; inline;
  37756. begin
  37757. pTDefRegMap(@Self)^.&set := $00000004;
  37758. end;
  37759. procedure TPORTB_CNSTATB.clearCNSTATB2; inline;
  37760. begin
  37761. pTDefRegMap(@Self)^.clr := $00000004;
  37762. end;
  37763. procedure TPORTB_CNSTATB.setCNSTATB2(thebits : TBits_1); inline;
  37764. begin
  37765. if thebits = 0 then
  37766. pTDefRegMap(@Self)^.clr := $00000004
  37767. else
  37768. pTDefRegMap(@Self)^.&set := $00000004;
  37769. end;
  37770. function TPORTB_CNSTATB.getCNSTATB2 : TBits_1; inline;
  37771. begin
  37772. getCNSTATB2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  37773. end;
  37774. procedure TPORTB_CNSTATB.setCNSTATB3; inline;
  37775. begin
  37776. pTDefRegMap(@Self)^.&set := $00000008;
  37777. end;
  37778. procedure TPORTB_CNSTATB.clearCNSTATB3; inline;
  37779. begin
  37780. pTDefRegMap(@Self)^.clr := $00000008;
  37781. end;
  37782. procedure TPORTB_CNSTATB.setCNSTATB3(thebits : TBits_1); inline;
  37783. begin
  37784. if thebits = 0 then
  37785. pTDefRegMap(@Self)^.clr := $00000008
  37786. else
  37787. pTDefRegMap(@Self)^.&set := $00000008;
  37788. end;
  37789. function TPORTB_CNSTATB.getCNSTATB3 : TBits_1; inline;
  37790. begin
  37791. getCNSTATB3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  37792. end;
  37793. procedure TPORTB_CNSTATB.setCNSTATB4; inline;
  37794. begin
  37795. pTDefRegMap(@Self)^.&set := $00000010;
  37796. end;
  37797. procedure TPORTB_CNSTATB.clearCNSTATB4; inline;
  37798. begin
  37799. pTDefRegMap(@Self)^.clr := $00000010;
  37800. end;
  37801. procedure TPORTB_CNSTATB.setCNSTATB4(thebits : TBits_1); inline;
  37802. begin
  37803. if thebits = 0 then
  37804. pTDefRegMap(@Self)^.clr := $00000010
  37805. else
  37806. pTDefRegMap(@Self)^.&set := $00000010;
  37807. end;
  37808. function TPORTB_CNSTATB.getCNSTATB4 : TBits_1; inline;
  37809. begin
  37810. getCNSTATB4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  37811. end;
  37812. procedure TPORTB_CNSTATB.setCNSTATB5; inline;
  37813. begin
  37814. pTDefRegMap(@Self)^.&set := $00000020;
  37815. end;
  37816. procedure TPORTB_CNSTATB.clearCNSTATB5; inline;
  37817. begin
  37818. pTDefRegMap(@Self)^.clr := $00000020;
  37819. end;
  37820. procedure TPORTB_CNSTATB.setCNSTATB5(thebits : TBits_1); inline;
  37821. begin
  37822. if thebits = 0 then
  37823. pTDefRegMap(@Self)^.clr := $00000020
  37824. else
  37825. pTDefRegMap(@Self)^.&set := $00000020;
  37826. end;
  37827. function TPORTB_CNSTATB.getCNSTATB5 : TBits_1; inline;
  37828. begin
  37829. getCNSTATB5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  37830. end;
  37831. procedure TPORTB_CNSTATB.setCNSTATB6; inline;
  37832. begin
  37833. pTDefRegMap(@Self)^.&set := $00000040;
  37834. end;
  37835. procedure TPORTB_CNSTATB.clearCNSTATB6; inline;
  37836. begin
  37837. pTDefRegMap(@Self)^.clr := $00000040;
  37838. end;
  37839. procedure TPORTB_CNSTATB.setCNSTATB6(thebits : TBits_1); inline;
  37840. begin
  37841. if thebits = 0 then
  37842. pTDefRegMap(@Self)^.clr := $00000040
  37843. else
  37844. pTDefRegMap(@Self)^.&set := $00000040;
  37845. end;
  37846. function TPORTB_CNSTATB.getCNSTATB6 : TBits_1; inline;
  37847. begin
  37848. getCNSTATB6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  37849. end;
  37850. procedure TPORTB_CNSTATB.setCNSTATB7; inline;
  37851. begin
  37852. pTDefRegMap(@Self)^.&set := $00000080;
  37853. end;
  37854. procedure TPORTB_CNSTATB.clearCNSTATB7; inline;
  37855. begin
  37856. pTDefRegMap(@Self)^.clr := $00000080;
  37857. end;
  37858. procedure TPORTB_CNSTATB.setCNSTATB7(thebits : TBits_1); inline;
  37859. begin
  37860. if thebits = 0 then
  37861. pTDefRegMap(@Self)^.clr := $00000080
  37862. else
  37863. pTDefRegMap(@Self)^.&set := $00000080;
  37864. end;
  37865. function TPORTB_CNSTATB.getCNSTATB7 : TBits_1; inline;
  37866. begin
  37867. getCNSTATB7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  37868. end;
  37869. procedure TPORTB_CNSTATB.setCNSTATB8; inline;
  37870. begin
  37871. pTDefRegMap(@Self)^.&set := $00000100;
  37872. end;
  37873. procedure TPORTB_CNSTATB.clearCNSTATB8; inline;
  37874. begin
  37875. pTDefRegMap(@Self)^.clr := $00000100;
  37876. end;
  37877. procedure TPORTB_CNSTATB.setCNSTATB8(thebits : TBits_1); inline;
  37878. begin
  37879. if thebits = 0 then
  37880. pTDefRegMap(@Self)^.clr := $00000100
  37881. else
  37882. pTDefRegMap(@Self)^.&set := $00000100;
  37883. end;
  37884. function TPORTB_CNSTATB.getCNSTATB8 : TBits_1; inline;
  37885. begin
  37886. getCNSTATB8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  37887. end;
  37888. procedure TPORTB_CNSTATB.setCNSTATB9; inline;
  37889. begin
  37890. pTDefRegMap(@Self)^.&set := $00000200;
  37891. end;
  37892. procedure TPORTB_CNSTATB.clearCNSTATB9; inline;
  37893. begin
  37894. pTDefRegMap(@Self)^.clr := $00000200;
  37895. end;
  37896. procedure TPORTB_CNSTATB.setCNSTATB9(thebits : TBits_1); inline;
  37897. begin
  37898. if thebits = 0 then
  37899. pTDefRegMap(@Self)^.clr := $00000200
  37900. else
  37901. pTDefRegMap(@Self)^.&set := $00000200;
  37902. end;
  37903. function TPORTB_CNSTATB.getCNSTATB9 : TBits_1; inline;
  37904. begin
  37905. getCNSTATB9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  37906. end;
  37907. procedure TPORTB_CNSTATB.setCNSTATB10; inline;
  37908. begin
  37909. pTDefRegMap(@Self)^.&set := $00000400;
  37910. end;
  37911. procedure TPORTB_CNSTATB.clearCNSTATB10; inline;
  37912. begin
  37913. pTDefRegMap(@Self)^.clr := $00000400;
  37914. end;
  37915. procedure TPORTB_CNSTATB.setCNSTATB10(thebits : TBits_1); inline;
  37916. begin
  37917. if thebits = 0 then
  37918. pTDefRegMap(@Self)^.clr := $00000400
  37919. else
  37920. pTDefRegMap(@Self)^.&set := $00000400;
  37921. end;
  37922. function TPORTB_CNSTATB.getCNSTATB10 : TBits_1; inline;
  37923. begin
  37924. getCNSTATB10 := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  37925. end;
  37926. procedure TPORTB_CNSTATB.setCNSTATB11; inline;
  37927. begin
  37928. pTDefRegMap(@Self)^.&set := $00000800;
  37929. end;
  37930. procedure TPORTB_CNSTATB.clearCNSTATB11; inline;
  37931. begin
  37932. pTDefRegMap(@Self)^.clr := $00000800;
  37933. end;
  37934. procedure TPORTB_CNSTATB.setCNSTATB11(thebits : TBits_1); inline;
  37935. begin
  37936. if thebits = 0 then
  37937. pTDefRegMap(@Self)^.clr := $00000800
  37938. else
  37939. pTDefRegMap(@Self)^.&set := $00000800;
  37940. end;
  37941. function TPORTB_CNSTATB.getCNSTATB11 : TBits_1; inline;
  37942. begin
  37943. getCNSTATB11 := (pTDefRegMap(@Self)^.val and $00000800) shr 11;
  37944. end;
  37945. procedure TPORTB_CNSTATB.setCNSTATB12; inline;
  37946. begin
  37947. pTDefRegMap(@Self)^.&set := $00001000;
  37948. end;
  37949. procedure TPORTB_CNSTATB.clearCNSTATB12; inline;
  37950. begin
  37951. pTDefRegMap(@Self)^.clr := $00001000;
  37952. end;
  37953. procedure TPORTB_CNSTATB.setCNSTATB12(thebits : TBits_1); inline;
  37954. begin
  37955. if thebits = 0 then
  37956. pTDefRegMap(@Self)^.clr := $00001000
  37957. else
  37958. pTDefRegMap(@Self)^.&set := $00001000;
  37959. end;
  37960. function TPORTB_CNSTATB.getCNSTATB12 : TBits_1; inline;
  37961. begin
  37962. getCNSTATB12 := (pTDefRegMap(@Self)^.val and $00001000) shr 12;
  37963. end;
  37964. procedure TPORTB_CNSTATB.setCNSTATB13; inline;
  37965. begin
  37966. pTDefRegMap(@Self)^.&set := $00002000;
  37967. end;
  37968. procedure TPORTB_CNSTATB.clearCNSTATB13; inline;
  37969. begin
  37970. pTDefRegMap(@Self)^.clr := $00002000;
  37971. end;
  37972. procedure TPORTB_CNSTATB.setCNSTATB13(thebits : TBits_1); inline;
  37973. begin
  37974. if thebits = 0 then
  37975. pTDefRegMap(@Self)^.clr := $00002000
  37976. else
  37977. pTDefRegMap(@Self)^.&set := $00002000;
  37978. end;
  37979. function TPORTB_CNSTATB.getCNSTATB13 : TBits_1; inline;
  37980. begin
  37981. getCNSTATB13 := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  37982. end;
  37983. procedure TPORTB_CNSTATB.setCNSTATB14; inline;
  37984. begin
  37985. pTDefRegMap(@Self)^.&set := $00004000;
  37986. end;
  37987. procedure TPORTB_CNSTATB.clearCNSTATB14; inline;
  37988. begin
  37989. pTDefRegMap(@Self)^.clr := $00004000;
  37990. end;
  37991. procedure TPORTB_CNSTATB.setCNSTATB14(thebits : TBits_1); inline;
  37992. begin
  37993. if thebits = 0 then
  37994. pTDefRegMap(@Self)^.clr := $00004000
  37995. else
  37996. pTDefRegMap(@Self)^.&set := $00004000;
  37997. end;
  37998. function TPORTB_CNSTATB.getCNSTATB14 : TBits_1; inline;
  37999. begin
  38000. getCNSTATB14 := (pTDefRegMap(@Self)^.val and $00004000) shr 14;
  38001. end;
  38002. procedure TPORTB_CNSTATB.setCNSTATB15; inline;
  38003. begin
  38004. pTDefRegMap(@Self)^.&set := $00008000;
  38005. end;
  38006. procedure TPORTB_CNSTATB.clearCNSTATB15; inline;
  38007. begin
  38008. pTDefRegMap(@Self)^.clr := $00008000;
  38009. end;
  38010. procedure TPORTB_CNSTATB.setCNSTATB15(thebits : TBits_1); inline;
  38011. begin
  38012. if thebits = 0 then
  38013. pTDefRegMap(@Self)^.clr := $00008000
  38014. else
  38015. pTDefRegMap(@Self)^.&set := $00008000;
  38016. end;
  38017. function TPORTB_CNSTATB.getCNSTATB15 : TBits_1; inline;
  38018. begin
  38019. getCNSTATB15 := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  38020. end;
  38021. procedure TPORTB_CNSTATB.setw(thebits : TBits_32); inline;
  38022. begin
  38023. pTDefRegMap(@Self)^.val := thebits;
  38024. end;
  38025. function TPORTB_CNSTATB.getw : TBits_32; inline;
  38026. begin
  38027. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38028. end;
  38029. procedure TPORTC_ANSELC.setANSC0; inline;
  38030. begin
  38031. pTDefRegMap(@Self)^.&set := $00000001;
  38032. end;
  38033. procedure TPORTC_ANSELC.clearANSC0; inline;
  38034. begin
  38035. pTDefRegMap(@Self)^.clr := $00000001;
  38036. end;
  38037. procedure TPORTC_ANSELC.setANSC0(thebits : TBits_1); inline;
  38038. begin
  38039. if thebits = 0 then
  38040. pTDefRegMap(@Self)^.clr := $00000001
  38041. else
  38042. pTDefRegMap(@Self)^.&set := $00000001;
  38043. end;
  38044. function TPORTC_ANSELC.getANSC0 : TBits_1; inline;
  38045. begin
  38046. getANSC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38047. end;
  38048. procedure TPORTC_ANSELC.setANSC1; inline;
  38049. begin
  38050. pTDefRegMap(@Self)^.&set := $00000002;
  38051. end;
  38052. procedure TPORTC_ANSELC.clearANSC1; inline;
  38053. begin
  38054. pTDefRegMap(@Self)^.clr := $00000002;
  38055. end;
  38056. procedure TPORTC_ANSELC.setANSC1(thebits : TBits_1); inline;
  38057. begin
  38058. if thebits = 0 then
  38059. pTDefRegMap(@Self)^.clr := $00000002
  38060. else
  38061. pTDefRegMap(@Self)^.&set := $00000002;
  38062. end;
  38063. function TPORTC_ANSELC.getANSC1 : TBits_1; inline;
  38064. begin
  38065. getANSC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38066. end;
  38067. procedure TPORTC_ANSELC.setANSC2; inline;
  38068. begin
  38069. pTDefRegMap(@Self)^.&set := $00000004;
  38070. end;
  38071. procedure TPORTC_ANSELC.clearANSC2; inline;
  38072. begin
  38073. pTDefRegMap(@Self)^.clr := $00000004;
  38074. end;
  38075. procedure TPORTC_ANSELC.setANSC2(thebits : TBits_1); inline;
  38076. begin
  38077. if thebits = 0 then
  38078. pTDefRegMap(@Self)^.clr := $00000004
  38079. else
  38080. pTDefRegMap(@Self)^.&set := $00000004;
  38081. end;
  38082. function TPORTC_ANSELC.getANSC2 : TBits_1; inline;
  38083. begin
  38084. getANSC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38085. end;
  38086. procedure TPORTC_ANSELC.setANSC3; inline;
  38087. begin
  38088. pTDefRegMap(@Self)^.&set := $00000008;
  38089. end;
  38090. procedure TPORTC_ANSELC.clearANSC3; inline;
  38091. begin
  38092. pTDefRegMap(@Self)^.clr := $00000008;
  38093. end;
  38094. procedure TPORTC_ANSELC.setANSC3(thebits : TBits_1); inline;
  38095. begin
  38096. if thebits = 0 then
  38097. pTDefRegMap(@Self)^.clr := $00000008
  38098. else
  38099. pTDefRegMap(@Self)^.&set := $00000008;
  38100. end;
  38101. function TPORTC_ANSELC.getANSC3 : TBits_1; inline;
  38102. begin
  38103. getANSC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38104. end;
  38105. procedure TPORTC_ANSELC.setw(thebits : TBits_32); inline;
  38106. begin
  38107. pTDefRegMap(@Self)^.val := thebits;
  38108. end;
  38109. function TPORTC_ANSELC.getw : TBits_32; inline;
  38110. begin
  38111. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38112. end;
  38113. procedure TPORTC_TRISC.setTRISC0; inline;
  38114. begin
  38115. pTDefRegMap(@Self)^.&set := $00000001;
  38116. end;
  38117. procedure TPORTC_TRISC.clearTRISC0; inline;
  38118. begin
  38119. pTDefRegMap(@Self)^.clr := $00000001;
  38120. end;
  38121. procedure TPORTC_TRISC.setTRISC0(thebits : TBits_1); inline;
  38122. begin
  38123. if thebits = 0 then
  38124. pTDefRegMap(@Self)^.clr := $00000001
  38125. else
  38126. pTDefRegMap(@Self)^.&set := $00000001;
  38127. end;
  38128. function TPORTC_TRISC.getTRISC0 : TBits_1; inline;
  38129. begin
  38130. getTRISC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38131. end;
  38132. procedure TPORTC_TRISC.setTRISC1; inline;
  38133. begin
  38134. pTDefRegMap(@Self)^.&set := $00000002;
  38135. end;
  38136. procedure TPORTC_TRISC.clearTRISC1; inline;
  38137. begin
  38138. pTDefRegMap(@Self)^.clr := $00000002;
  38139. end;
  38140. procedure TPORTC_TRISC.setTRISC1(thebits : TBits_1); inline;
  38141. begin
  38142. if thebits = 0 then
  38143. pTDefRegMap(@Self)^.clr := $00000002
  38144. else
  38145. pTDefRegMap(@Self)^.&set := $00000002;
  38146. end;
  38147. function TPORTC_TRISC.getTRISC1 : TBits_1; inline;
  38148. begin
  38149. getTRISC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38150. end;
  38151. procedure TPORTC_TRISC.setTRISC2; inline;
  38152. begin
  38153. pTDefRegMap(@Self)^.&set := $00000004;
  38154. end;
  38155. procedure TPORTC_TRISC.clearTRISC2; inline;
  38156. begin
  38157. pTDefRegMap(@Self)^.clr := $00000004;
  38158. end;
  38159. procedure TPORTC_TRISC.setTRISC2(thebits : TBits_1); inline;
  38160. begin
  38161. if thebits = 0 then
  38162. pTDefRegMap(@Self)^.clr := $00000004
  38163. else
  38164. pTDefRegMap(@Self)^.&set := $00000004;
  38165. end;
  38166. function TPORTC_TRISC.getTRISC2 : TBits_1; inline;
  38167. begin
  38168. getTRISC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38169. end;
  38170. procedure TPORTC_TRISC.setTRISC3; inline;
  38171. begin
  38172. pTDefRegMap(@Self)^.&set := $00000008;
  38173. end;
  38174. procedure TPORTC_TRISC.clearTRISC3; inline;
  38175. begin
  38176. pTDefRegMap(@Self)^.clr := $00000008;
  38177. end;
  38178. procedure TPORTC_TRISC.setTRISC3(thebits : TBits_1); inline;
  38179. begin
  38180. if thebits = 0 then
  38181. pTDefRegMap(@Self)^.clr := $00000008
  38182. else
  38183. pTDefRegMap(@Self)^.&set := $00000008;
  38184. end;
  38185. function TPORTC_TRISC.getTRISC3 : TBits_1; inline;
  38186. begin
  38187. getTRISC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38188. end;
  38189. procedure TPORTC_TRISC.setTRISC4; inline;
  38190. begin
  38191. pTDefRegMap(@Self)^.&set := $00000010;
  38192. end;
  38193. procedure TPORTC_TRISC.clearTRISC4; inline;
  38194. begin
  38195. pTDefRegMap(@Self)^.clr := $00000010;
  38196. end;
  38197. procedure TPORTC_TRISC.setTRISC4(thebits : TBits_1); inline;
  38198. begin
  38199. if thebits = 0 then
  38200. pTDefRegMap(@Self)^.clr := $00000010
  38201. else
  38202. pTDefRegMap(@Self)^.&set := $00000010;
  38203. end;
  38204. function TPORTC_TRISC.getTRISC4 : TBits_1; inline;
  38205. begin
  38206. getTRISC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38207. end;
  38208. procedure TPORTC_TRISC.setTRISC5; inline;
  38209. begin
  38210. pTDefRegMap(@Self)^.&set := $00000020;
  38211. end;
  38212. procedure TPORTC_TRISC.clearTRISC5; inline;
  38213. begin
  38214. pTDefRegMap(@Self)^.clr := $00000020;
  38215. end;
  38216. procedure TPORTC_TRISC.setTRISC5(thebits : TBits_1); inline;
  38217. begin
  38218. if thebits = 0 then
  38219. pTDefRegMap(@Self)^.clr := $00000020
  38220. else
  38221. pTDefRegMap(@Self)^.&set := $00000020;
  38222. end;
  38223. function TPORTC_TRISC.getTRISC5 : TBits_1; inline;
  38224. begin
  38225. getTRISC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38226. end;
  38227. procedure TPORTC_TRISC.setTRISC6; inline;
  38228. begin
  38229. pTDefRegMap(@Self)^.&set := $00000040;
  38230. end;
  38231. procedure TPORTC_TRISC.clearTRISC6; inline;
  38232. begin
  38233. pTDefRegMap(@Self)^.clr := $00000040;
  38234. end;
  38235. procedure TPORTC_TRISC.setTRISC6(thebits : TBits_1); inline;
  38236. begin
  38237. if thebits = 0 then
  38238. pTDefRegMap(@Self)^.clr := $00000040
  38239. else
  38240. pTDefRegMap(@Self)^.&set := $00000040;
  38241. end;
  38242. function TPORTC_TRISC.getTRISC6 : TBits_1; inline;
  38243. begin
  38244. getTRISC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38245. end;
  38246. procedure TPORTC_TRISC.setTRISC7; inline;
  38247. begin
  38248. pTDefRegMap(@Self)^.&set := $00000080;
  38249. end;
  38250. procedure TPORTC_TRISC.clearTRISC7; inline;
  38251. begin
  38252. pTDefRegMap(@Self)^.clr := $00000080;
  38253. end;
  38254. procedure TPORTC_TRISC.setTRISC7(thebits : TBits_1); inline;
  38255. begin
  38256. if thebits = 0 then
  38257. pTDefRegMap(@Self)^.clr := $00000080
  38258. else
  38259. pTDefRegMap(@Self)^.&set := $00000080;
  38260. end;
  38261. function TPORTC_TRISC.getTRISC7 : TBits_1; inline;
  38262. begin
  38263. getTRISC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38264. end;
  38265. procedure TPORTC_TRISC.setTRISC8; inline;
  38266. begin
  38267. pTDefRegMap(@Self)^.&set := $00000100;
  38268. end;
  38269. procedure TPORTC_TRISC.clearTRISC8; inline;
  38270. begin
  38271. pTDefRegMap(@Self)^.clr := $00000100;
  38272. end;
  38273. procedure TPORTC_TRISC.setTRISC8(thebits : TBits_1); inline;
  38274. begin
  38275. if thebits = 0 then
  38276. pTDefRegMap(@Self)^.clr := $00000100
  38277. else
  38278. pTDefRegMap(@Self)^.&set := $00000100;
  38279. end;
  38280. function TPORTC_TRISC.getTRISC8 : TBits_1; inline;
  38281. begin
  38282. getTRISC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38283. end;
  38284. procedure TPORTC_TRISC.setTRISC9; inline;
  38285. begin
  38286. pTDefRegMap(@Self)^.&set := $00000200;
  38287. end;
  38288. procedure TPORTC_TRISC.clearTRISC9; inline;
  38289. begin
  38290. pTDefRegMap(@Self)^.clr := $00000200;
  38291. end;
  38292. procedure TPORTC_TRISC.setTRISC9(thebits : TBits_1); inline;
  38293. begin
  38294. if thebits = 0 then
  38295. pTDefRegMap(@Self)^.clr := $00000200
  38296. else
  38297. pTDefRegMap(@Self)^.&set := $00000200;
  38298. end;
  38299. function TPORTC_TRISC.getTRISC9 : TBits_1; inline;
  38300. begin
  38301. getTRISC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38302. end;
  38303. procedure TPORTC_TRISC.setw(thebits : TBits_32); inline;
  38304. begin
  38305. pTDefRegMap(@Self)^.val := thebits;
  38306. end;
  38307. function TPORTC_TRISC.getw : TBits_32; inline;
  38308. begin
  38309. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38310. end;
  38311. procedure TPORTC_PORTC.setRC0; inline;
  38312. begin
  38313. pTDefRegMap(@Self)^.&set := $00000001;
  38314. end;
  38315. procedure TPORTC_PORTC.clearRC0; inline;
  38316. begin
  38317. pTDefRegMap(@Self)^.clr := $00000001;
  38318. end;
  38319. procedure TPORTC_PORTC.setRC0(thebits : TBits_1); inline;
  38320. begin
  38321. if thebits = 0 then
  38322. pTDefRegMap(@Self)^.clr := $00000001
  38323. else
  38324. pTDefRegMap(@Self)^.&set := $00000001;
  38325. end;
  38326. function TPORTC_PORTC.getRC0 : TBits_1; inline;
  38327. begin
  38328. getRC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38329. end;
  38330. procedure TPORTC_PORTC.setRC1; inline;
  38331. begin
  38332. pTDefRegMap(@Self)^.&set := $00000002;
  38333. end;
  38334. procedure TPORTC_PORTC.clearRC1; inline;
  38335. begin
  38336. pTDefRegMap(@Self)^.clr := $00000002;
  38337. end;
  38338. procedure TPORTC_PORTC.setRC1(thebits : TBits_1); inline;
  38339. begin
  38340. if thebits = 0 then
  38341. pTDefRegMap(@Self)^.clr := $00000002
  38342. else
  38343. pTDefRegMap(@Self)^.&set := $00000002;
  38344. end;
  38345. function TPORTC_PORTC.getRC1 : TBits_1; inline;
  38346. begin
  38347. getRC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38348. end;
  38349. procedure TPORTC_PORTC.setRC2; inline;
  38350. begin
  38351. pTDefRegMap(@Self)^.&set := $00000004;
  38352. end;
  38353. procedure TPORTC_PORTC.clearRC2; inline;
  38354. begin
  38355. pTDefRegMap(@Self)^.clr := $00000004;
  38356. end;
  38357. procedure TPORTC_PORTC.setRC2(thebits : TBits_1); inline;
  38358. begin
  38359. if thebits = 0 then
  38360. pTDefRegMap(@Self)^.clr := $00000004
  38361. else
  38362. pTDefRegMap(@Self)^.&set := $00000004;
  38363. end;
  38364. function TPORTC_PORTC.getRC2 : TBits_1; inline;
  38365. begin
  38366. getRC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38367. end;
  38368. procedure TPORTC_PORTC.setRC3; inline;
  38369. begin
  38370. pTDefRegMap(@Self)^.&set := $00000008;
  38371. end;
  38372. procedure TPORTC_PORTC.clearRC3; inline;
  38373. begin
  38374. pTDefRegMap(@Self)^.clr := $00000008;
  38375. end;
  38376. procedure TPORTC_PORTC.setRC3(thebits : TBits_1); inline;
  38377. begin
  38378. if thebits = 0 then
  38379. pTDefRegMap(@Self)^.clr := $00000008
  38380. else
  38381. pTDefRegMap(@Self)^.&set := $00000008;
  38382. end;
  38383. function TPORTC_PORTC.getRC3 : TBits_1; inline;
  38384. begin
  38385. getRC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38386. end;
  38387. procedure TPORTC_PORTC.setRC4; inline;
  38388. begin
  38389. pTDefRegMap(@Self)^.&set := $00000010;
  38390. end;
  38391. procedure TPORTC_PORTC.clearRC4; inline;
  38392. begin
  38393. pTDefRegMap(@Self)^.clr := $00000010;
  38394. end;
  38395. procedure TPORTC_PORTC.setRC4(thebits : TBits_1); inline;
  38396. begin
  38397. if thebits = 0 then
  38398. pTDefRegMap(@Self)^.clr := $00000010
  38399. else
  38400. pTDefRegMap(@Self)^.&set := $00000010;
  38401. end;
  38402. function TPORTC_PORTC.getRC4 : TBits_1; inline;
  38403. begin
  38404. getRC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38405. end;
  38406. procedure TPORTC_PORTC.setRC5; inline;
  38407. begin
  38408. pTDefRegMap(@Self)^.&set := $00000020;
  38409. end;
  38410. procedure TPORTC_PORTC.clearRC5; inline;
  38411. begin
  38412. pTDefRegMap(@Self)^.clr := $00000020;
  38413. end;
  38414. procedure TPORTC_PORTC.setRC5(thebits : TBits_1); inline;
  38415. begin
  38416. if thebits = 0 then
  38417. pTDefRegMap(@Self)^.clr := $00000020
  38418. else
  38419. pTDefRegMap(@Self)^.&set := $00000020;
  38420. end;
  38421. function TPORTC_PORTC.getRC5 : TBits_1; inline;
  38422. begin
  38423. getRC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38424. end;
  38425. procedure TPORTC_PORTC.setRC6; inline;
  38426. begin
  38427. pTDefRegMap(@Self)^.&set := $00000040;
  38428. end;
  38429. procedure TPORTC_PORTC.clearRC6; inline;
  38430. begin
  38431. pTDefRegMap(@Self)^.clr := $00000040;
  38432. end;
  38433. procedure TPORTC_PORTC.setRC6(thebits : TBits_1); inline;
  38434. begin
  38435. if thebits = 0 then
  38436. pTDefRegMap(@Self)^.clr := $00000040
  38437. else
  38438. pTDefRegMap(@Self)^.&set := $00000040;
  38439. end;
  38440. function TPORTC_PORTC.getRC6 : TBits_1; inline;
  38441. begin
  38442. getRC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38443. end;
  38444. procedure TPORTC_PORTC.setRC7; inline;
  38445. begin
  38446. pTDefRegMap(@Self)^.&set := $00000080;
  38447. end;
  38448. procedure TPORTC_PORTC.clearRC7; inline;
  38449. begin
  38450. pTDefRegMap(@Self)^.clr := $00000080;
  38451. end;
  38452. procedure TPORTC_PORTC.setRC7(thebits : TBits_1); inline;
  38453. begin
  38454. if thebits = 0 then
  38455. pTDefRegMap(@Self)^.clr := $00000080
  38456. else
  38457. pTDefRegMap(@Self)^.&set := $00000080;
  38458. end;
  38459. function TPORTC_PORTC.getRC7 : TBits_1; inline;
  38460. begin
  38461. getRC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38462. end;
  38463. procedure TPORTC_PORTC.setRC8; inline;
  38464. begin
  38465. pTDefRegMap(@Self)^.&set := $00000100;
  38466. end;
  38467. procedure TPORTC_PORTC.clearRC8; inline;
  38468. begin
  38469. pTDefRegMap(@Self)^.clr := $00000100;
  38470. end;
  38471. procedure TPORTC_PORTC.setRC8(thebits : TBits_1); inline;
  38472. begin
  38473. if thebits = 0 then
  38474. pTDefRegMap(@Self)^.clr := $00000100
  38475. else
  38476. pTDefRegMap(@Self)^.&set := $00000100;
  38477. end;
  38478. function TPORTC_PORTC.getRC8 : TBits_1; inline;
  38479. begin
  38480. getRC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38481. end;
  38482. procedure TPORTC_PORTC.setRC9; inline;
  38483. begin
  38484. pTDefRegMap(@Self)^.&set := $00000200;
  38485. end;
  38486. procedure TPORTC_PORTC.clearRC9; inline;
  38487. begin
  38488. pTDefRegMap(@Self)^.clr := $00000200;
  38489. end;
  38490. procedure TPORTC_PORTC.setRC9(thebits : TBits_1); inline;
  38491. begin
  38492. if thebits = 0 then
  38493. pTDefRegMap(@Self)^.clr := $00000200
  38494. else
  38495. pTDefRegMap(@Self)^.&set := $00000200;
  38496. end;
  38497. function TPORTC_PORTC.getRC9 : TBits_1; inline;
  38498. begin
  38499. getRC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38500. end;
  38501. procedure TPORTC_PORTC.setw(thebits : TBits_32); inline;
  38502. begin
  38503. pTDefRegMap(@Self)^.val := thebits;
  38504. end;
  38505. function TPORTC_PORTC.getw : TBits_32; inline;
  38506. begin
  38507. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38508. end;
  38509. procedure TPORTC_LATC.setLATC0; inline;
  38510. begin
  38511. pTDefRegMap(@Self)^.&set := $00000001;
  38512. end;
  38513. procedure TPORTC_LATC.clearLATC0; inline;
  38514. begin
  38515. pTDefRegMap(@Self)^.clr := $00000001;
  38516. end;
  38517. procedure TPORTC_LATC.setLATC0(thebits : TBits_1); inline;
  38518. begin
  38519. if thebits = 0 then
  38520. pTDefRegMap(@Self)^.clr := $00000001
  38521. else
  38522. pTDefRegMap(@Self)^.&set := $00000001;
  38523. end;
  38524. function TPORTC_LATC.getLATC0 : TBits_1; inline;
  38525. begin
  38526. getLATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38527. end;
  38528. procedure TPORTC_LATC.setLATC1; inline;
  38529. begin
  38530. pTDefRegMap(@Self)^.&set := $00000002;
  38531. end;
  38532. procedure TPORTC_LATC.clearLATC1; inline;
  38533. begin
  38534. pTDefRegMap(@Self)^.clr := $00000002;
  38535. end;
  38536. procedure TPORTC_LATC.setLATC1(thebits : TBits_1); inline;
  38537. begin
  38538. if thebits = 0 then
  38539. pTDefRegMap(@Self)^.clr := $00000002
  38540. else
  38541. pTDefRegMap(@Self)^.&set := $00000002;
  38542. end;
  38543. function TPORTC_LATC.getLATC1 : TBits_1; inline;
  38544. begin
  38545. getLATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38546. end;
  38547. procedure TPORTC_LATC.setLATC2; inline;
  38548. begin
  38549. pTDefRegMap(@Self)^.&set := $00000004;
  38550. end;
  38551. procedure TPORTC_LATC.clearLATC2; inline;
  38552. begin
  38553. pTDefRegMap(@Self)^.clr := $00000004;
  38554. end;
  38555. procedure TPORTC_LATC.setLATC2(thebits : TBits_1); inline;
  38556. begin
  38557. if thebits = 0 then
  38558. pTDefRegMap(@Self)^.clr := $00000004
  38559. else
  38560. pTDefRegMap(@Self)^.&set := $00000004;
  38561. end;
  38562. function TPORTC_LATC.getLATC2 : TBits_1; inline;
  38563. begin
  38564. getLATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38565. end;
  38566. procedure TPORTC_LATC.setLATC3; inline;
  38567. begin
  38568. pTDefRegMap(@Self)^.&set := $00000008;
  38569. end;
  38570. procedure TPORTC_LATC.clearLATC3; inline;
  38571. begin
  38572. pTDefRegMap(@Self)^.clr := $00000008;
  38573. end;
  38574. procedure TPORTC_LATC.setLATC3(thebits : TBits_1); inline;
  38575. begin
  38576. if thebits = 0 then
  38577. pTDefRegMap(@Self)^.clr := $00000008
  38578. else
  38579. pTDefRegMap(@Self)^.&set := $00000008;
  38580. end;
  38581. function TPORTC_LATC.getLATC3 : TBits_1; inline;
  38582. begin
  38583. getLATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38584. end;
  38585. procedure TPORTC_LATC.setLATC4; inline;
  38586. begin
  38587. pTDefRegMap(@Self)^.&set := $00000010;
  38588. end;
  38589. procedure TPORTC_LATC.clearLATC4; inline;
  38590. begin
  38591. pTDefRegMap(@Self)^.clr := $00000010;
  38592. end;
  38593. procedure TPORTC_LATC.setLATC4(thebits : TBits_1); inline;
  38594. begin
  38595. if thebits = 0 then
  38596. pTDefRegMap(@Self)^.clr := $00000010
  38597. else
  38598. pTDefRegMap(@Self)^.&set := $00000010;
  38599. end;
  38600. function TPORTC_LATC.getLATC4 : TBits_1; inline;
  38601. begin
  38602. getLATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38603. end;
  38604. procedure TPORTC_LATC.setLATC5; inline;
  38605. begin
  38606. pTDefRegMap(@Self)^.&set := $00000020;
  38607. end;
  38608. procedure TPORTC_LATC.clearLATC5; inline;
  38609. begin
  38610. pTDefRegMap(@Self)^.clr := $00000020;
  38611. end;
  38612. procedure TPORTC_LATC.setLATC5(thebits : TBits_1); inline;
  38613. begin
  38614. if thebits = 0 then
  38615. pTDefRegMap(@Self)^.clr := $00000020
  38616. else
  38617. pTDefRegMap(@Self)^.&set := $00000020;
  38618. end;
  38619. function TPORTC_LATC.getLATC5 : TBits_1; inline;
  38620. begin
  38621. getLATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38622. end;
  38623. procedure TPORTC_LATC.setLATC6; inline;
  38624. begin
  38625. pTDefRegMap(@Self)^.&set := $00000040;
  38626. end;
  38627. procedure TPORTC_LATC.clearLATC6; inline;
  38628. begin
  38629. pTDefRegMap(@Self)^.clr := $00000040;
  38630. end;
  38631. procedure TPORTC_LATC.setLATC6(thebits : TBits_1); inline;
  38632. begin
  38633. if thebits = 0 then
  38634. pTDefRegMap(@Self)^.clr := $00000040
  38635. else
  38636. pTDefRegMap(@Self)^.&set := $00000040;
  38637. end;
  38638. function TPORTC_LATC.getLATC6 : TBits_1; inline;
  38639. begin
  38640. getLATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38641. end;
  38642. procedure TPORTC_LATC.setLATC7; inline;
  38643. begin
  38644. pTDefRegMap(@Self)^.&set := $00000080;
  38645. end;
  38646. procedure TPORTC_LATC.clearLATC7; inline;
  38647. begin
  38648. pTDefRegMap(@Self)^.clr := $00000080;
  38649. end;
  38650. procedure TPORTC_LATC.setLATC7(thebits : TBits_1); inline;
  38651. begin
  38652. if thebits = 0 then
  38653. pTDefRegMap(@Self)^.clr := $00000080
  38654. else
  38655. pTDefRegMap(@Self)^.&set := $00000080;
  38656. end;
  38657. function TPORTC_LATC.getLATC7 : TBits_1; inline;
  38658. begin
  38659. getLATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38660. end;
  38661. procedure TPORTC_LATC.setLATC8; inline;
  38662. begin
  38663. pTDefRegMap(@Self)^.&set := $00000100;
  38664. end;
  38665. procedure TPORTC_LATC.clearLATC8; inline;
  38666. begin
  38667. pTDefRegMap(@Self)^.clr := $00000100;
  38668. end;
  38669. procedure TPORTC_LATC.setLATC8(thebits : TBits_1); inline;
  38670. begin
  38671. if thebits = 0 then
  38672. pTDefRegMap(@Self)^.clr := $00000100
  38673. else
  38674. pTDefRegMap(@Self)^.&set := $00000100;
  38675. end;
  38676. function TPORTC_LATC.getLATC8 : TBits_1; inline;
  38677. begin
  38678. getLATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38679. end;
  38680. procedure TPORTC_LATC.setLATC9; inline;
  38681. begin
  38682. pTDefRegMap(@Self)^.&set := $00000200;
  38683. end;
  38684. procedure TPORTC_LATC.clearLATC9; inline;
  38685. begin
  38686. pTDefRegMap(@Self)^.clr := $00000200;
  38687. end;
  38688. procedure TPORTC_LATC.setLATC9(thebits : TBits_1); inline;
  38689. begin
  38690. if thebits = 0 then
  38691. pTDefRegMap(@Self)^.clr := $00000200
  38692. else
  38693. pTDefRegMap(@Self)^.&set := $00000200;
  38694. end;
  38695. function TPORTC_LATC.getLATC9 : TBits_1; inline;
  38696. begin
  38697. getLATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38698. end;
  38699. procedure TPORTC_LATC.setw(thebits : TBits_32); inline;
  38700. begin
  38701. pTDefRegMap(@Self)^.val := thebits;
  38702. end;
  38703. function TPORTC_LATC.getw : TBits_32; inline;
  38704. begin
  38705. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38706. end;
  38707. procedure TPORTC_ODCC.setODCC4; inline;
  38708. begin
  38709. pTDefRegMap(@Self)^.&set := $00000010;
  38710. end;
  38711. procedure TPORTC_ODCC.clearODCC4; inline;
  38712. begin
  38713. pTDefRegMap(@Self)^.clr := $00000010;
  38714. end;
  38715. procedure TPORTC_ODCC.setODCC4(thebits : TBits_1); inline;
  38716. begin
  38717. if thebits = 0 then
  38718. pTDefRegMap(@Self)^.clr := $00000010
  38719. else
  38720. pTDefRegMap(@Self)^.&set := $00000010;
  38721. end;
  38722. function TPORTC_ODCC.getODCC4 : TBits_1; inline;
  38723. begin
  38724. getODCC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38725. end;
  38726. procedure TPORTC_ODCC.setODCC5; inline;
  38727. begin
  38728. pTDefRegMap(@Self)^.&set := $00000020;
  38729. end;
  38730. procedure TPORTC_ODCC.clearODCC5; inline;
  38731. begin
  38732. pTDefRegMap(@Self)^.clr := $00000020;
  38733. end;
  38734. procedure TPORTC_ODCC.setODCC5(thebits : TBits_1); inline;
  38735. begin
  38736. if thebits = 0 then
  38737. pTDefRegMap(@Self)^.clr := $00000020
  38738. else
  38739. pTDefRegMap(@Self)^.&set := $00000020;
  38740. end;
  38741. function TPORTC_ODCC.getODCC5 : TBits_1; inline;
  38742. begin
  38743. getODCC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38744. end;
  38745. procedure TPORTC_ODCC.setODCC6; inline;
  38746. begin
  38747. pTDefRegMap(@Self)^.&set := $00000040;
  38748. end;
  38749. procedure TPORTC_ODCC.clearODCC6; inline;
  38750. begin
  38751. pTDefRegMap(@Self)^.clr := $00000040;
  38752. end;
  38753. procedure TPORTC_ODCC.setODCC6(thebits : TBits_1); inline;
  38754. begin
  38755. if thebits = 0 then
  38756. pTDefRegMap(@Self)^.clr := $00000040
  38757. else
  38758. pTDefRegMap(@Self)^.&set := $00000040;
  38759. end;
  38760. function TPORTC_ODCC.getODCC6 : TBits_1; inline;
  38761. begin
  38762. getODCC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38763. end;
  38764. procedure TPORTC_ODCC.setODCC7; inline;
  38765. begin
  38766. pTDefRegMap(@Self)^.&set := $00000080;
  38767. end;
  38768. procedure TPORTC_ODCC.clearODCC7; inline;
  38769. begin
  38770. pTDefRegMap(@Self)^.clr := $00000080;
  38771. end;
  38772. procedure TPORTC_ODCC.setODCC7(thebits : TBits_1); inline;
  38773. begin
  38774. if thebits = 0 then
  38775. pTDefRegMap(@Self)^.clr := $00000080
  38776. else
  38777. pTDefRegMap(@Self)^.&set := $00000080;
  38778. end;
  38779. function TPORTC_ODCC.getODCC7 : TBits_1; inline;
  38780. begin
  38781. getODCC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38782. end;
  38783. procedure TPORTC_ODCC.setODCC8; inline;
  38784. begin
  38785. pTDefRegMap(@Self)^.&set := $00000100;
  38786. end;
  38787. procedure TPORTC_ODCC.clearODCC8; inline;
  38788. begin
  38789. pTDefRegMap(@Self)^.clr := $00000100;
  38790. end;
  38791. procedure TPORTC_ODCC.setODCC8(thebits : TBits_1); inline;
  38792. begin
  38793. if thebits = 0 then
  38794. pTDefRegMap(@Self)^.clr := $00000100
  38795. else
  38796. pTDefRegMap(@Self)^.&set := $00000100;
  38797. end;
  38798. function TPORTC_ODCC.getODCC8 : TBits_1; inline;
  38799. begin
  38800. getODCC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38801. end;
  38802. procedure TPORTC_ODCC.setODCC9; inline;
  38803. begin
  38804. pTDefRegMap(@Self)^.&set := $00000200;
  38805. end;
  38806. procedure TPORTC_ODCC.clearODCC9; inline;
  38807. begin
  38808. pTDefRegMap(@Self)^.clr := $00000200;
  38809. end;
  38810. procedure TPORTC_ODCC.setODCC9(thebits : TBits_1); inline;
  38811. begin
  38812. if thebits = 0 then
  38813. pTDefRegMap(@Self)^.clr := $00000200
  38814. else
  38815. pTDefRegMap(@Self)^.&set := $00000200;
  38816. end;
  38817. function TPORTC_ODCC.getODCC9 : TBits_1; inline;
  38818. begin
  38819. getODCC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  38820. end;
  38821. procedure TPORTC_ODCC.setw(thebits : TBits_32); inline;
  38822. begin
  38823. pTDefRegMap(@Self)^.val := thebits;
  38824. end;
  38825. function TPORTC_ODCC.getw : TBits_32; inline;
  38826. begin
  38827. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  38828. end;
  38829. procedure TPORTC_CNPUC.setCNPUC0; inline;
  38830. begin
  38831. pTDefRegMap(@Self)^.&set := $00000001;
  38832. end;
  38833. procedure TPORTC_CNPUC.clearCNPUC0; inline;
  38834. begin
  38835. pTDefRegMap(@Self)^.clr := $00000001;
  38836. end;
  38837. procedure TPORTC_CNPUC.setCNPUC0(thebits : TBits_1); inline;
  38838. begin
  38839. if thebits = 0 then
  38840. pTDefRegMap(@Self)^.clr := $00000001
  38841. else
  38842. pTDefRegMap(@Self)^.&set := $00000001;
  38843. end;
  38844. function TPORTC_CNPUC.getCNPUC0 : TBits_1; inline;
  38845. begin
  38846. getCNPUC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  38847. end;
  38848. procedure TPORTC_CNPUC.setCNPUC1; inline;
  38849. begin
  38850. pTDefRegMap(@Self)^.&set := $00000002;
  38851. end;
  38852. procedure TPORTC_CNPUC.clearCNPUC1; inline;
  38853. begin
  38854. pTDefRegMap(@Self)^.clr := $00000002;
  38855. end;
  38856. procedure TPORTC_CNPUC.setCNPUC1(thebits : TBits_1); inline;
  38857. begin
  38858. if thebits = 0 then
  38859. pTDefRegMap(@Self)^.clr := $00000002
  38860. else
  38861. pTDefRegMap(@Self)^.&set := $00000002;
  38862. end;
  38863. function TPORTC_CNPUC.getCNPUC1 : TBits_1; inline;
  38864. begin
  38865. getCNPUC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  38866. end;
  38867. procedure TPORTC_CNPUC.setCNPUC2; inline;
  38868. begin
  38869. pTDefRegMap(@Self)^.&set := $00000004;
  38870. end;
  38871. procedure TPORTC_CNPUC.clearCNPUC2; inline;
  38872. begin
  38873. pTDefRegMap(@Self)^.clr := $00000004;
  38874. end;
  38875. procedure TPORTC_CNPUC.setCNPUC2(thebits : TBits_1); inline;
  38876. begin
  38877. if thebits = 0 then
  38878. pTDefRegMap(@Self)^.clr := $00000004
  38879. else
  38880. pTDefRegMap(@Self)^.&set := $00000004;
  38881. end;
  38882. function TPORTC_CNPUC.getCNPUC2 : TBits_1; inline;
  38883. begin
  38884. getCNPUC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  38885. end;
  38886. procedure TPORTC_CNPUC.setCNPUC3; inline;
  38887. begin
  38888. pTDefRegMap(@Self)^.&set := $00000008;
  38889. end;
  38890. procedure TPORTC_CNPUC.clearCNPUC3; inline;
  38891. begin
  38892. pTDefRegMap(@Self)^.clr := $00000008;
  38893. end;
  38894. procedure TPORTC_CNPUC.setCNPUC3(thebits : TBits_1); inline;
  38895. begin
  38896. if thebits = 0 then
  38897. pTDefRegMap(@Self)^.clr := $00000008
  38898. else
  38899. pTDefRegMap(@Self)^.&set := $00000008;
  38900. end;
  38901. function TPORTC_CNPUC.getCNPUC3 : TBits_1; inline;
  38902. begin
  38903. getCNPUC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  38904. end;
  38905. procedure TPORTC_CNPUC.setCNPUC4; inline;
  38906. begin
  38907. pTDefRegMap(@Self)^.&set := $00000010;
  38908. end;
  38909. procedure TPORTC_CNPUC.clearCNPUC4; inline;
  38910. begin
  38911. pTDefRegMap(@Self)^.clr := $00000010;
  38912. end;
  38913. procedure TPORTC_CNPUC.setCNPUC4(thebits : TBits_1); inline;
  38914. begin
  38915. if thebits = 0 then
  38916. pTDefRegMap(@Self)^.clr := $00000010
  38917. else
  38918. pTDefRegMap(@Self)^.&set := $00000010;
  38919. end;
  38920. function TPORTC_CNPUC.getCNPUC4 : TBits_1; inline;
  38921. begin
  38922. getCNPUC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  38923. end;
  38924. procedure TPORTC_CNPUC.setCNPUC5; inline;
  38925. begin
  38926. pTDefRegMap(@Self)^.&set := $00000020;
  38927. end;
  38928. procedure TPORTC_CNPUC.clearCNPUC5; inline;
  38929. begin
  38930. pTDefRegMap(@Self)^.clr := $00000020;
  38931. end;
  38932. procedure TPORTC_CNPUC.setCNPUC5(thebits : TBits_1); inline;
  38933. begin
  38934. if thebits = 0 then
  38935. pTDefRegMap(@Self)^.clr := $00000020
  38936. else
  38937. pTDefRegMap(@Self)^.&set := $00000020;
  38938. end;
  38939. function TPORTC_CNPUC.getCNPUC5 : TBits_1; inline;
  38940. begin
  38941. getCNPUC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  38942. end;
  38943. procedure TPORTC_CNPUC.setCNPUC6; inline;
  38944. begin
  38945. pTDefRegMap(@Self)^.&set := $00000040;
  38946. end;
  38947. procedure TPORTC_CNPUC.clearCNPUC6; inline;
  38948. begin
  38949. pTDefRegMap(@Self)^.clr := $00000040;
  38950. end;
  38951. procedure TPORTC_CNPUC.setCNPUC6(thebits : TBits_1); inline;
  38952. begin
  38953. if thebits = 0 then
  38954. pTDefRegMap(@Self)^.clr := $00000040
  38955. else
  38956. pTDefRegMap(@Self)^.&set := $00000040;
  38957. end;
  38958. function TPORTC_CNPUC.getCNPUC6 : TBits_1; inline;
  38959. begin
  38960. getCNPUC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  38961. end;
  38962. procedure TPORTC_CNPUC.setCNPUC7; inline;
  38963. begin
  38964. pTDefRegMap(@Self)^.&set := $00000080;
  38965. end;
  38966. procedure TPORTC_CNPUC.clearCNPUC7; inline;
  38967. begin
  38968. pTDefRegMap(@Self)^.clr := $00000080;
  38969. end;
  38970. procedure TPORTC_CNPUC.setCNPUC7(thebits : TBits_1); inline;
  38971. begin
  38972. if thebits = 0 then
  38973. pTDefRegMap(@Self)^.clr := $00000080
  38974. else
  38975. pTDefRegMap(@Self)^.&set := $00000080;
  38976. end;
  38977. function TPORTC_CNPUC.getCNPUC7 : TBits_1; inline;
  38978. begin
  38979. getCNPUC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  38980. end;
  38981. procedure TPORTC_CNPUC.setCNPUC8; inline;
  38982. begin
  38983. pTDefRegMap(@Self)^.&set := $00000100;
  38984. end;
  38985. procedure TPORTC_CNPUC.clearCNPUC8; inline;
  38986. begin
  38987. pTDefRegMap(@Self)^.clr := $00000100;
  38988. end;
  38989. procedure TPORTC_CNPUC.setCNPUC8(thebits : TBits_1); inline;
  38990. begin
  38991. if thebits = 0 then
  38992. pTDefRegMap(@Self)^.clr := $00000100
  38993. else
  38994. pTDefRegMap(@Self)^.&set := $00000100;
  38995. end;
  38996. function TPORTC_CNPUC.getCNPUC8 : TBits_1; inline;
  38997. begin
  38998. getCNPUC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  38999. end;
  39000. procedure TPORTC_CNPUC.setCNPUC9; inline;
  39001. begin
  39002. pTDefRegMap(@Self)^.&set := $00000200;
  39003. end;
  39004. procedure TPORTC_CNPUC.clearCNPUC9; inline;
  39005. begin
  39006. pTDefRegMap(@Self)^.clr := $00000200;
  39007. end;
  39008. procedure TPORTC_CNPUC.setCNPUC9(thebits : TBits_1); inline;
  39009. begin
  39010. if thebits = 0 then
  39011. pTDefRegMap(@Self)^.clr := $00000200
  39012. else
  39013. pTDefRegMap(@Self)^.&set := $00000200;
  39014. end;
  39015. function TPORTC_CNPUC.getCNPUC9 : TBits_1; inline;
  39016. begin
  39017. getCNPUC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39018. end;
  39019. procedure TPORTC_CNPUC.setw(thebits : TBits_32); inline;
  39020. begin
  39021. pTDefRegMap(@Self)^.val := thebits;
  39022. end;
  39023. function TPORTC_CNPUC.getw : TBits_32; inline;
  39024. begin
  39025. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39026. end;
  39027. procedure TPORTC_CNPDC.setCNPDC0; inline;
  39028. begin
  39029. pTDefRegMap(@Self)^.&set := $00000001;
  39030. end;
  39031. procedure TPORTC_CNPDC.clearCNPDC0; inline;
  39032. begin
  39033. pTDefRegMap(@Self)^.clr := $00000001;
  39034. end;
  39035. procedure TPORTC_CNPDC.setCNPDC0(thebits : TBits_1); inline;
  39036. begin
  39037. if thebits = 0 then
  39038. pTDefRegMap(@Self)^.clr := $00000001
  39039. else
  39040. pTDefRegMap(@Self)^.&set := $00000001;
  39041. end;
  39042. function TPORTC_CNPDC.getCNPDC0 : TBits_1; inline;
  39043. begin
  39044. getCNPDC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39045. end;
  39046. procedure TPORTC_CNPDC.setCNPDC1; inline;
  39047. begin
  39048. pTDefRegMap(@Self)^.&set := $00000002;
  39049. end;
  39050. procedure TPORTC_CNPDC.clearCNPDC1; inline;
  39051. begin
  39052. pTDefRegMap(@Self)^.clr := $00000002;
  39053. end;
  39054. procedure TPORTC_CNPDC.setCNPDC1(thebits : TBits_1); inline;
  39055. begin
  39056. if thebits = 0 then
  39057. pTDefRegMap(@Self)^.clr := $00000002
  39058. else
  39059. pTDefRegMap(@Self)^.&set := $00000002;
  39060. end;
  39061. function TPORTC_CNPDC.getCNPDC1 : TBits_1; inline;
  39062. begin
  39063. getCNPDC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39064. end;
  39065. procedure TPORTC_CNPDC.setCNPDC2; inline;
  39066. begin
  39067. pTDefRegMap(@Self)^.&set := $00000004;
  39068. end;
  39069. procedure TPORTC_CNPDC.clearCNPDC2; inline;
  39070. begin
  39071. pTDefRegMap(@Self)^.clr := $00000004;
  39072. end;
  39073. procedure TPORTC_CNPDC.setCNPDC2(thebits : TBits_1); inline;
  39074. begin
  39075. if thebits = 0 then
  39076. pTDefRegMap(@Self)^.clr := $00000004
  39077. else
  39078. pTDefRegMap(@Self)^.&set := $00000004;
  39079. end;
  39080. function TPORTC_CNPDC.getCNPDC2 : TBits_1; inline;
  39081. begin
  39082. getCNPDC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39083. end;
  39084. procedure TPORTC_CNPDC.setCNPDC3; inline;
  39085. begin
  39086. pTDefRegMap(@Self)^.&set := $00000008;
  39087. end;
  39088. procedure TPORTC_CNPDC.clearCNPDC3; inline;
  39089. begin
  39090. pTDefRegMap(@Self)^.clr := $00000008;
  39091. end;
  39092. procedure TPORTC_CNPDC.setCNPDC3(thebits : TBits_1); inline;
  39093. begin
  39094. if thebits = 0 then
  39095. pTDefRegMap(@Self)^.clr := $00000008
  39096. else
  39097. pTDefRegMap(@Self)^.&set := $00000008;
  39098. end;
  39099. function TPORTC_CNPDC.getCNPDC3 : TBits_1; inline;
  39100. begin
  39101. getCNPDC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39102. end;
  39103. procedure TPORTC_CNPDC.setCNPDC4; inline;
  39104. begin
  39105. pTDefRegMap(@Self)^.&set := $00000010;
  39106. end;
  39107. procedure TPORTC_CNPDC.clearCNPDC4; inline;
  39108. begin
  39109. pTDefRegMap(@Self)^.clr := $00000010;
  39110. end;
  39111. procedure TPORTC_CNPDC.setCNPDC4(thebits : TBits_1); inline;
  39112. begin
  39113. if thebits = 0 then
  39114. pTDefRegMap(@Self)^.clr := $00000010
  39115. else
  39116. pTDefRegMap(@Self)^.&set := $00000010;
  39117. end;
  39118. function TPORTC_CNPDC.getCNPDC4 : TBits_1; inline;
  39119. begin
  39120. getCNPDC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39121. end;
  39122. procedure TPORTC_CNPDC.setCNPDC5; inline;
  39123. begin
  39124. pTDefRegMap(@Self)^.&set := $00000020;
  39125. end;
  39126. procedure TPORTC_CNPDC.clearCNPDC5; inline;
  39127. begin
  39128. pTDefRegMap(@Self)^.clr := $00000020;
  39129. end;
  39130. procedure TPORTC_CNPDC.setCNPDC5(thebits : TBits_1); inline;
  39131. begin
  39132. if thebits = 0 then
  39133. pTDefRegMap(@Self)^.clr := $00000020
  39134. else
  39135. pTDefRegMap(@Self)^.&set := $00000020;
  39136. end;
  39137. function TPORTC_CNPDC.getCNPDC5 : TBits_1; inline;
  39138. begin
  39139. getCNPDC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39140. end;
  39141. procedure TPORTC_CNPDC.setCNPDC6; inline;
  39142. begin
  39143. pTDefRegMap(@Self)^.&set := $00000040;
  39144. end;
  39145. procedure TPORTC_CNPDC.clearCNPDC6; inline;
  39146. begin
  39147. pTDefRegMap(@Self)^.clr := $00000040;
  39148. end;
  39149. procedure TPORTC_CNPDC.setCNPDC6(thebits : TBits_1); inline;
  39150. begin
  39151. if thebits = 0 then
  39152. pTDefRegMap(@Self)^.clr := $00000040
  39153. else
  39154. pTDefRegMap(@Self)^.&set := $00000040;
  39155. end;
  39156. function TPORTC_CNPDC.getCNPDC6 : TBits_1; inline;
  39157. begin
  39158. getCNPDC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39159. end;
  39160. procedure TPORTC_CNPDC.setCNPDC7; inline;
  39161. begin
  39162. pTDefRegMap(@Self)^.&set := $00000080;
  39163. end;
  39164. procedure TPORTC_CNPDC.clearCNPDC7; inline;
  39165. begin
  39166. pTDefRegMap(@Self)^.clr := $00000080;
  39167. end;
  39168. procedure TPORTC_CNPDC.setCNPDC7(thebits : TBits_1); inline;
  39169. begin
  39170. if thebits = 0 then
  39171. pTDefRegMap(@Self)^.clr := $00000080
  39172. else
  39173. pTDefRegMap(@Self)^.&set := $00000080;
  39174. end;
  39175. function TPORTC_CNPDC.getCNPDC7 : TBits_1; inline;
  39176. begin
  39177. getCNPDC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39178. end;
  39179. procedure TPORTC_CNPDC.setCNPDC8; inline;
  39180. begin
  39181. pTDefRegMap(@Self)^.&set := $00000100;
  39182. end;
  39183. procedure TPORTC_CNPDC.clearCNPDC8; inline;
  39184. begin
  39185. pTDefRegMap(@Self)^.clr := $00000100;
  39186. end;
  39187. procedure TPORTC_CNPDC.setCNPDC8(thebits : TBits_1); inline;
  39188. begin
  39189. if thebits = 0 then
  39190. pTDefRegMap(@Self)^.clr := $00000100
  39191. else
  39192. pTDefRegMap(@Self)^.&set := $00000100;
  39193. end;
  39194. function TPORTC_CNPDC.getCNPDC8 : TBits_1; inline;
  39195. begin
  39196. getCNPDC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39197. end;
  39198. procedure TPORTC_CNPDC.setCNPDC9; inline;
  39199. begin
  39200. pTDefRegMap(@Self)^.&set := $00000200;
  39201. end;
  39202. procedure TPORTC_CNPDC.clearCNPDC9; inline;
  39203. begin
  39204. pTDefRegMap(@Self)^.clr := $00000200;
  39205. end;
  39206. procedure TPORTC_CNPDC.setCNPDC9(thebits : TBits_1); inline;
  39207. begin
  39208. if thebits = 0 then
  39209. pTDefRegMap(@Self)^.clr := $00000200
  39210. else
  39211. pTDefRegMap(@Self)^.&set := $00000200;
  39212. end;
  39213. function TPORTC_CNPDC.getCNPDC9 : TBits_1; inline;
  39214. begin
  39215. getCNPDC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39216. end;
  39217. procedure TPORTC_CNPDC.setw(thebits : TBits_32); inline;
  39218. begin
  39219. pTDefRegMap(@Self)^.val := thebits;
  39220. end;
  39221. function TPORTC_CNPDC.getw : TBits_32; inline;
  39222. begin
  39223. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39224. end;
  39225. procedure TPORTC_CNCONC.setSIDL; inline;
  39226. begin
  39227. pTDefRegMap(@Self)^.&set := $00002000;
  39228. end;
  39229. procedure TPORTC_CNCONC.clearSIDL; inline;
  39230. begin
  39231. pTDefRegMap(@Self)^.clr := $00002000;
  39232. end;
  39233. procedure TPORTC_CNCONC.setSIDL(thebits : TBits_1); inline;
  39234. begin
  39235. if thebits = 0 then
  39236. pTDefRegMap(@Self)^.clr := $00002000
  39237. else
  39238. pTDefRegMap(@Self)^.&set := $00002000;
  39239. end;
  39240. function TPORTC_CNCONC.getSIDL : TBits_1; inline;
  39241. begin
  39242. getSIDL := (pTDefRegMap(@Self)^.val and $00002000) shr 13;
  39243. end;
  39244. procedure TPORTC_CNCONC.setON; inline;
  39245. begin
  39246. pTDefRegMap(@Self)^.&set := $00008000;
  39247. end;
  39248. procedure TPORTC_CNCONC.clearON; inline;
  39249. begin
  39250. pTDefRegMap(@Self)^.clr := $00008000;
  39251. end;
  39252. procedure TPORTC_CNCONC.setON(thebits : TBits_1); inline;
  39253. begin
  39254. if thebits = 0 then
  39255. pTDefRegMap(@Self)^.clr := $00008000
  39256. else
  39257. pTDefRegMap(@Self)^.&set := $00008000;
  39258. end;
  39259. function TPORTC_CNCONC.getON : TBits_1; inline;
  39260. begin
  39261. getON := (pTDefRegMap(@Self)^.val and $00008000) shr 15;
  39262. end;
  39263. procedure TPORTC_CNCONC.setw(thebits : TBits_32); inline;
  39264. begin
  39265. pTDefRegMap(@Self)^.val := thebits;
  39266. end;
  39267. function TPORTC_CNCONC.getw : TBits_32; inline;
  39268. begin
  39269. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39270. end;
  39271. procedure TPORTC_CNENC.setCNIEC0; inline;
  39272. begin
  39273. pTDefRegMap(@Self)^.&set := $00000001;
  39274. end;
  39275. procedure TPORTC_CNENC.clearCNIEC0; inline;
  39276. begin
  39277. pTDefRegMap(@Self)^.clr := $00000001;
  39278. end;
  39279. procedure TPORTC_CNENC.setCNIEC0(thebits : TBits_1); inline;
  39280. begin
  39281. if thebits = 0 then
  39282. pTDefRegMap(@Self)^.clr := $00000001
  39283. else
  39284. pTDefRegMap(@Self)^.&set := $00000001;
  39285. end;
  39286. function TPORTC_CNENC.getCNIEC0 : TBits_1; inline;
  39287. begin
  39288. getCNIEC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39289. end;
  39290. procedure TPORTC_CNENC.setCNIEC1; inline;
  39291. begin
  39292. pTDefRegMap(@Self)^.&set := $00000002;
  39293. end;
  39294. procedure TPORTC_CNENC.clearCNIEC1; inline;
  39295. begin
  39296. pTDefRegMap(@Self)^.clr := $00000002;
  39297. end;
  39298. procedure TPORTC_CNENC.setCNIEC1(thebits : TBits_1); inline;
  39299. begin
  39300. if thebits = 0 then
  39301. pTDefRegMap(@Self)^.clr := $00000002
  39302. else
  39303. pTDefRegMap(@Self)^.&set := $00000002;
  39304. end;
  39305. function TPORTC_CNENC.getCNIEC1 : TBits_1; inline;
  39306. begin
  39307. getCNIEC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39308. end;
  39309. procedure TPORTC_CNENC.setCNIEC2; inline;
  39310. begin
  39311. pTDefRegMap(@Self)^.&set := $00000004;
  39312. end;
  39313. procedure TPORTC_CNENC.clearCNIEC2; inline;
  39314. begin
  39315. pTDefRegMap(@Self)^.clr := $00000004;
  39316. end;
  39317. procedure TPORTC_CNENC.setCNIEC2(thebits : TBits_1); inline;
  39318. begin
  39319. if thebits = 0 then
  39320. pTDefRegMap(@Self)^.clr := $00000004
  39321. else
  39322. pTDefRegMap(@Self)^.&set := $00000004;
  39323. end;
  39324. function TPORTC_CNENC.getCNIEC2 : TBits_1; inline;
  39325. begin
  39326. getCNIEC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39327. end;
  39328. procedure TPORTC_CNENC.setCNIEC3; inline;
  39329. begin
  39330. pTDefRegMap(@Self)^.&set := $00000008;
  39331. end;
  39332. procedure TPORTC_CNENC.clearCNIEC3; inline;
  39333. begin
  39334. pTDefRegMap(@Self)^.clr := $00000008;
  39335. end;
  39336. procedure TPORTC_CNENC.setCNIEC3(thebits : TBits_1); inline;
  39337. begin
  39338. if thebits = 0 then
  39339. pTDefRegMap(@Self)^.clr := $00000008
  39340. else
  39341. pTDefRegMap(@Self)^.&set := $00000008;
  39342. end;
  39343. function TPORTC_CNENC.getCNIEC3 : TBits_1; inline;
  39344. begin
  39345. getCNIEC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39346. end;
  39347. procedure TPORTC_CNENC.setCNIEC4; inline;
  39348. begin
  39349. pTDefRegMap(@Self)^.&set := $00000010;
  39350. end;
  39351. procedure TPORTC_CNENC.clearCNIEC4; inline;
  39352. begin
  39353. pTDefRegMap(@Self)^.clr := $00000010;
  39354. end;
  39355. procedure TPORTC_CNENC.setCNIEC4(thebits : TBits_1); inline;
  39356. begin
  39357. if thebits = 0 then
  39358. pTDefRegMap(@Self)^.clr := $00000010
  39359. else
  39360. pTDefRegMap(@Self)^.&set := $00000010;
  39361. end;
  39362. function TPORTC_CNENC.getCNIEC4 : TBits_1; inline;
  39363. begin
  39364. getCNIEC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39365. end;
  39366. procedure TPORTC_CNENC.setCNIEC5; inline;
  39367. begin
  39368. pTDefRegMap(@Self)^.&set := $00000020;
  39369. end;
  39370. procedure TPORTC_CNENC.clearCNIEC5; inline;
  39371. begin
  39372. pTDefRegMap(@Self)^.clr := $00000020;
  39373. end;
  39374. procedure TPORTC_CNENC.setCNIEC5(thebits : TBits_1); inline;
  39375. begin
  39376. if thebits = 0 then
  39377. pTDefRegMap(@Self)^.clr := $00000020
  39378. else
  39379. pTDefRegMap(@Self)^.&set := $00000020;
  39380. end;
  39381. function TPORTC_CNENC.getCNIEC5 : TBits_1; inline;
  39382. begin
  39383. getCNIEC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39384. end;
  39385. procedure TPORTC_CNENC.setCNIEC6; inline;
  39386. begin
  39387. pTDefRegMap(@Self)^.&set := $00000040;
  39388. end;
  39389. procedure TPORTC_CNENC.clearCNIEC6; inline;
  39390. begin
  39391. pTDefRegMap(@Self)^.clr := $00000040;
  39392. end;
  39393. procedure TPORTC_CNENC.setCNIEC6(thebits : TBits_1); inline;
  39394. begin
  39395. if thebits = 0 then
  39396. pTDefRegMap(@Self)^.clr := $00000040
  39397. else
  39398. pTDefRegMap(@Self)^.&set := $00000040;
  39399. end;
  39400. function TPORTC_CNENC.getCNIEC6 : TBits_1; inline;
  39401. begin
  39402. getCNIEC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39403. end;
  39404. procedure TPORTC_CNENC.setCNIEC7; inline;
  39405. begin
  39406. pTDefRegMap(@Self)^.&set := $00000080;
  39407. end;
  39408. procedure TPORTC_CNENC.clearCNIEC7; inline;
  39409. begin
  39410. pTDefRegMap(@Self)^.clr := $00000080;
  39411. end;
  39412. procedure TPORTC_CNENC.setCNIEC7(thebits : TBits_1); inline;
  39413. begin
  39414. if thebits = 0 then
  39415. pTDefRegMap(@Self)^.clr := $00000080
  39416. else
  39417. pTDefRegMap(@Self)^.&set := $00000080;
  39418. end;
  39419. function TPORTC_CNENC.getCNIEC7 : TBits_1; inline;
  39420. begin
  39421. getCNIEC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39422. end;
  39423. procedure TPORTC_CNENC.setCNIEC8; inline;
  39424. begin
  39425. pTDefRegMap(@Self)^.&set := $00000100;
  39426. end;
  39427. procedure TPORTC_CNENC.clearCNIEC8; inline;
  39428. begin
  39429. pTDefRegMap(@Self)^.clr := $00000100;
  39430. end;
  39431. procedure TPORTC_CNENC.setCNIEC8(thebits : TBits_1); inline;
  39432. begin
  39433. if thebits = 0 then
  39434. pTDefRegMap(@Self)^.clr := $00000100
  39435. else
  39436. pTDefRegMap(@Self)^.&set := $00000100;
  39437. end;
  39438. function TPORTC_CNENC.getCNIEC8 : TBits_1; inline;
  39439. begin
  39440. getCNIEC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39441. end;
  39442. procedure TPORTC_CNENC.setCNIEC9; inline;
  39443. begin
  39444. pTDefRegMap(@Self)^.&set := $00000200;
  39445. end;
  39446. procedure TPORTC_CNENC.clearCNIEC9; inline;
  39447. begin
  39448. pTDefRegMap(@Self)^.clr := $00000200;
  39449. end;
  39450. procedure TPORTC_CNENC.setCNIEC9(thebits : TBits_1); inline;
  39451. begin
  39452. if thebits = 0 then
  39453. pTDefRegMap(@Self)^.clr := $00000200
  39454. else
  39455. pTDefRegMap(@Self)^.&set := $00000200;
  39456. end;
  39457. function TPORTC_CNENC.getCNIEC9 : TBits_1; inline;
  39458. begin
  39459. getCNIEC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39460. end;
  39461. procedure TPORTC_CNENC.setw(thebits : TBits_32); inline;
  39462. begin
  39463. pTDefRegMap(@Self)^.val := thebits;
  39464. end;
  39465. function TPORTC_CNENC.getw : TBits_32; inline;
  39466. begin
  39467. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39468. end;
  39469. procedure TPORTC_CNSTATC.setCNSTATC0; inline;
  39470. begin
  39471. pTDefRegMap(@Self)^.&set := $00000001;
  39472. end;
  39473. procedure TPORTC_CNSTATC.clearCNSTATC0; inline;
  39474. begin
  39475. pTDefRegMap(@Self)^.clr := $00000001;
  39476. end;
  39477. procedure TPORTC_CNSTATC.setCNSTATC0(thebits : TBits_1); inline;
  39478. begin
  39479. if thebits = 0 then
  39480. pTDefRegMap(@Self)^.clr := $00000001
  39481. else
  39482. pTDefRegMap(@Self)^.&set := $00000001;
  39483. end;
  39484. function TPORTC_CNSTATC.getCNSTATC0 : TBits_1; inline;
  39485. begin
  39486. getCNSTATC0 := (pTDefRegMap(@Self)^.val and $00000001) shr 0;
  39487. end;
  39488. procedure TPORTC_CNSTATC.setCNSTATC1; inline;
  39489. begin
  39490. pTDefRegMap(@Self)^.&set := $00000002;
  39491. end;
  39492. procedure TPORTC_CNSTATC.clearCNSTATC1; inline;
  39493. begin
  39494. pTDefRegMap(@Self)^.clr := $00000002;
  39495. end;
  39496. procedure TPORTC_CNSTATC.setCNSTATC1(thebits : TBits_1); inline;
  39497. begin
  39498. if thebits = 0 then
  39499. pTDefRegMap(@Self)^.clr := $00000002
  39500. else
  39501. pTDefRegMap(@Self)^.&set := $00000002;
  39502. end;
  39503. function TPORTC_CNSTATC.getCNSTATC1 : TBits_1; inline;
  39504. begin
  39505. getCNSTATC1 := (pTDefRegMap(@Self)^.val and $00000002) shr 1;
  39506. end;
  39507. procedure TPORTC_CNSTATC.setCNSTATC2; inline;
  39508. begin
  39509. pTDefRegMap(@Self)^.&set := $00000004;
  39510. end;
  39511. procedure TPORTC_CNSTATC.clearCNSTATC2; inline;
  39512. begin
  39513. pTDefRegMap(@Self)^.clr := $00000004;
  39514. end;
  39515. procedure TPORTC_CNSTATC.setCNSTATC2(thebits : TBits_1); inline;
  39516. begin
  39517. if thebits = 0 then
  39518. pTDefRegMap(@Self)^.clr := $00000004
  39519. else
  39520. pTDefRegMap(@Self)^.&set := $00000004;
  39521. end;
  39522. function TPORTC_CNSTATC.getCNSTATC2 : TBits_1; inline;
  39523. begin
  39524. getCNSTATC2 := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39525. end;
  39526. procedure TPORTC_CNSTATC.setCNSTATC3; inline;
  39527. begin
  39528. pTDefRegMap(@Self)^.&set := $00000008;
  39529. end;
  39530. procedure TPORTC_CNSTATC.clearCNSTATC3; inline;
  39531. begin
  39532. pTDefRegMap(@Self)^.clr := $00000008;
  39533. end;
  39534. procedure TPORTC_CNSTATC.setCNSTATC3(thebits : TBits_1); inline;
  39535. begin
  39536. if thebits = 0 then
  39537. pTDefRegMap(@Self)^.clr := $00000008
  39538. else
  39539. pTDefRegMap(@Self)^.&set := $00000008;
  39540. end;
  39541. function TPORTC_CNSTATC.getCNSTATC3 : TBits_1; inline;
  39542. begin
  39543. getCNSTATC3 := (pTDefRegMap(@Self)^.val and $00000008) shr 3;
  39544. end;
  39545. procedure TPORTC_CNSTATC.setCNSTATC4; inline;
  39546. begin
  39547. pTDefRegMap(@Self)^.&set := $00000010;
  39548. end;
  39549. procedure TPORTC_CNSTATC.clearCNSTATC4; inline;
  39550. begin
  39551. pTDefRegMap(@Self)^.clr := $00000010;
  39552. end;
  39553. procedure TPORTC_CNSTATC.setCNSTATC4(thebits : TBits_1); inline;
  39554. begin
  39555. if thebits = 0 then
  39556. pTDefRegMap(@Self)^.clr := $00000010
  39557. else
  39558. pTDefRegMap(@Self)^.&set := $00000010;
  39559. end;
  39560. function TPORTC_CNSTATC.getCNSTATC4 : TBits_1; inline;
  39561. begin
  39562. getCNSTATC4 := (pTDefRegMap(@Self)^.val and $00000010) shr 4;
  39563. end;
  39564. procedure TPORTC_CNSTATC.setCNSTATC5; inline;
  39565. begin
  39566. pTDefRegMap(@Self)^.&set := $00000020;
  39567. end;
  39568. procedure TPORTC_CNSTATC.clearCNSTATC5; inline;
  39569. begin
  39570. pTDefRegMap(@Self)^.clr := $00000020;
  39571. end;
  39572. procedure TPORTC_CNSTATC.setCNSTATC5(thebits : TBits_1); inline;
  39573. begin
  39574. if thebits = 0 then
  39575. pTDefRegMap(@Self)^.clr := $00000020
  39576. else
  39577. pTDefRegMap(@Self)^.&set := $00000020;
  39578. end;
  39579. function TPORTC_CNSTATC.getCNSTATC5 : TBits_1; inline;
  39580. begin
  39581. getCNSTATC5 := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39582. end;
  39583. procedure TPORTC_CNSTATC.setCNSTATC6; inline;
  39584. begin
  39585. pTDefRegMap(@Self)^.&set := $00000040;
  39586. end;
  39587. procedure TPORTC_CNSTATC.clearCNSTATC6; inline;
  39588. begin
  39589. pTDefRegMap(@Self)^.clr := $00000040;
  39590. end;
  39591. procedure TPORTC_CNSTATC.setCNSTATC6(thebits : TBits_1); inline;
  39592. begin
  39593. if thebits = 0 then
  39594. pTDefRegMap(@Self)^.clr := $00000040
  39595. else
  39596. pTDefRegMap(@Self)^.&set := $00000040;
  39597. end;
  39598. function TPORTC_CNSTATC.getCNSTATC6 : TBits_1; inline;
  39599. begin
  39600. getCNSTATC6 := (pTDefRegMap(@Self)^.val and $00000040) shr 6;
  39601. end;
  39602. procedure TPORTC_CNSTATC.setCNSTATC7; inline;
  39603. begin
  39604. pTDefRegMap(@Self)^.&set := $00000080;
  39605. end;
  39606. procedure TPORTC_CNSTATC.clearCNSTATC7; inline;
  39607. begin
  39608. pTDefRegMap(@Self)^.clr := $00000080;
  39609. end;
  39610. procedure TPORTC_CNSTATC.setCNSTATC7(thebits : TBits_1); inline;
  39611. begin
  39612. if thebits = 0 then
  39613. pTDefRegMap(@Self)^.clr := $00000080
  39614. else
  39615. pTDefRegMap(@Self)^.&set := $00000080;
  39616. end;
  39617. function TPORTC_CNSTATC.getCNSTATC7 : TBits_1; inline;
  39618. begin
  39619. getCNSTATC7 := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39620. end;
  39621. procedure TPORTC_CNSTATC.setCNSTATC8; inline;
  39622. begin
  39623. pTDefRegMap(@Self)^.&set := $00000100;
  39624. end;
  39625. procedure TPORTC_CNSTATC.clearCNSTATC8; inline;
  39626. begin
  39627. pTDefRegMap(@Self)^.clr := $00000100;
  39628. end;
  39629. procedure TPORTC_CNSTATC.setCNSTATC8(thebits : TBits_1); inline;
  39630. begin
  39631. if thebits = 0 then
  39632. pTDefRegMap(@Self)^.clr := $00000100
  39633. else
  39634. pTDefRegMap(@Self)^.&set := $00000100;
  39635. end;
  39636. function TPORTC_CNSTATC.getCNSTATC8 : TBits_1; inline;
  39637. begin
  39638. getCNSTATC8 := (pTDefRegMap(@Self)^.val and $00000100) shr 8;
  39639. end;
  39640. procedure TPORTC_CNSTATC.setCNSTATC9; inline;
  39641. begin
  39642. pTDefRegMap(@Self)^.&set := $00000200;
  39643. end;
  39644. procedure TPORTC_CNSTATC.clearCNSTATC9; inline;
  39645. begin
  39646. pTDefRegMap(@Self)^.clr := $00000200;
  39647. end;
  39648. procedure TPORTC_CNSTATC.setCNSTATC9(thebits : TBits_1); inline;
  39649. begin
  39650. if thebits = 0 then
  39651. pTDefRegMap(@Self)^.clr := $00000200
  39652. else
  39653. pTDefRegMap(@Self)^.&set := $00000200;
  39654. end;
  39655. function TPORTC_CNSTATC.getCNSTATC9 : TBits_1; inline;
  39656. begin
  39657. getCNSTATC9 := (pTDefRegMap(@Self)^.val and $00000200) shr 9;
  39658. end;
  39659. procedure TPORTC_CNSTATC.setw(thebits : TBits_32); inline;
  39660. begin
  39661. pTDefRegMap(@Self)^.val := thebits;
  39662. end;
  39663. function TPORTC_CNSTATC.getw : TBits_32; inline;
  39664. begin
  39665. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39666. end;
  39667. procedure TDEVCFG_DEVCFG3.setUSERID(thebits : TBits_16); inline;
  39668. begin
  39669. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF0000 or ( thebits shl 0 );
  39670. end;
  39671. function TDEVCFG_DEVCFG3.getUSERID : TBits_16; inline;
  39672. begin
  39673. getUSERID := (pTDefRegMap(@Self)^.val and $0000FFFF) shr 0;
  39674. end;
  39675. procedure TDEVCFG_DEVCFG3.setPMDL1WAY; inline;
  39676. begin
  39677. pTDefRegMap(@Self)^.&set := $10000000;
  39678. end;
  39679. procedure TDEVCFG_DEVCFG3.clearPMDL1WAY; inline;
  39680. begin
  39681. pTDefRegMap(@Self)^.clr := $10000000;
  39682. end;
  39683. procedure TDEVCFG_DEVCFG3.setPMDL1WAY(thebits : TBits_1); inline;
  39684. begin
  39685. if thebits = 0 then
  39686. pTDefRegMap(@Self)^.clr := $10000000
  39687. else
  39688. pTDefRegMap(@Self)^.&set := $10000000;
  39689. end;
  39690. function TDEVCFG_DEVCFG3.getPMDL1WAY : TBits_1; inline;
  39691. begin
  39692. getPMDL1WAY := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  39693. end;
  39694. procedure TDEVCFG_DEVCFG3.setIOL1WAY; inline;
  39695. begin
  39696. pTDefRegMap(@Self)^.&set := $20000000;
  39697. end;
  39698. procedure TDEVCFG_DEVCFG3.clearIOL1WAY; inline;
  39699. begin
  39700. pTDefRegMap(@Self)^.clr := $20000000;
  39701. end;
  39702. procedure TDEVCFG_DEVCFG3.setIOL1WAY(thebits : TBits_1); inline;
  39703. begin
  39704. if thebits = 0 then
  39705. pTDefRegMap(@Self)^.clr := $20000000
  39706. else
  39707. pTDefRegMap(@Self)^.&set := $20000000;
  39708. end;
  39709. function TDEVCFG_DEVCFG3.getIOL1WAY : TBits_1; inline;
  39710. begin
  39711. getIOL1WAY := (pTDefRegMap(@Self)^.val and $20000000) shr 29;
  39712. end;
  39713. procedure TDEVCFG_DEVCFG3.setFUSBIDIO; inline;
  39714. begin
  39715. pTDefRegMap(@Self)^.&set := $40000000;
  39716. end;
  39717. procedure TDEVCFG_DEVCFG3.clearFUSBIDIO; inline;
  39718. begin
  39719. pTDefRegMap(@Self)^.clr := $40000000;
  39720. end;
  39721. procedure TDEVCFG_DEVCFG3.setFUSBIDIO(thebits : TBits_1); inline;
  39722. begin
  39723. if thebits = 0 then
  39724. pTDefRegMap(@Self)^.clr := $40000000
  39725. else
  39726. pTDefRegMap(@Self)^.&set := $40000000;
  39727. end;
  39728. function TDEVCFG_DEVCFG3.getFUSBIDIO : TBits_1; inline;
  39729. begin
  39730. getFUSBIDIO := (pTDefRegMap(@Self)^.val and $40000000) shr 30;
  39731. end;
  39732. procedure TDEVCFG_DEVCFG3.setFVBUSONIO; inline;
  39733. begin
  39734. pTDefRegMap(@Self)^.&set := $80000000;
  39735. end;
  39736. procedure TDEVCFG_DEVCFG3.clearFVBUSONIO; inline;
  39737. begin
  39738. pTDefRegMap(@Self)^.clr := $80000000;
  39739. end;
  39740. procedure TDEVCFG_DEVCFG3.setFVBUSONIO(thebits : TBits_1); inline;
  39741. begin
  39742. if thebits = 0 then
  39743. pTDefRegMap(@Self)^.clr := $80000000
  39744. else
  39745. pTDefRegMap(@Self)^.&set := $80000000;
  39746. end;
  39747. function TDEVCFG_DEVCFG3.getFVBUSONIO : TBits_1; inline;
  39748. begin
  39749. getFVBUSONIO := (pTDefRegMap(@Self)^.val and $80000000) shr 31;
  39750. end;
  39751. procedure TDEVCFG_DEVCFG3.setw(thebits : TBits_32); inline;
  39752. begin
  39753. pTDefRegMap(@Self)^.val := thebits;
  39754. end;
  39755. function TDEVCFG_DEVCFG3.getw : TBits_32; inline;
  39756. begin
  39757. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39758. end;
  39759. procedure TDEVCFG_DEVCFG2.setFPLLIDIV(thebits : TBits_3); inline;
  39760. begin
  39761. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  39762. end;
  39763. function TDEVCFG_DEVCFG2.getFPLLIDIV : TBits_3; inline;
  39764. begin
  39765. getFPLLIDIV := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  39766. end;
  39767. procedure TDEVCFG_DEVCFG2.setFPLLMUL(thebits : TBits_3); inline;
  39768. begin
  39769. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFF8F or ( thebits shl 4 );
  39770. end;
  39771. function TDEVCFG_DEVCFG2.getFPLLMUL : TBits_3; inline;
  39772. begin
  39773. getFPLLMUL := (pTDefRegMap(@Self)^.val and $00000070) shr 4;
  39774. end;
  39775. procedure TDEVCFG_DEVCFG2.setFPLLODIV(thebits : TBits_3); inline;
  39776. begin
  39777. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFF8FFFF or ( thebits shl 16 );
  39778. end;
  39779. function TDEVCFG_DEVCFG2.getFPLLODIV : TBits_3; inline;
  39780. begin
  39781. getFPLLODIV := (pTDefRegMap(@Self)^.val and $00070000) shr 16;
  39782. end;
  39783. procedure TDEVCFG_DEVCFG2.setw(thebits : TBits_32); inline;
  39784. begin
  39785. pTDefRegMap(@Self)^.val := thebits;
  39786. end;
  39787. function TDEVCFG_DEVCFG2.getw : TBits_32; inline;
  39788. begin
  39789. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39790. end;
  39791. procedure TDEVCFG_DEVCFG1.setFNOSC(thebits : TBits_3); inline;
  39792. begin
  39793. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFF8 or ( thebits shl 0 );
  39794. end;
  39795. function TDEVCFG_DEVCFG1.getFNOSC : TBits_3; inline;
  39796. begin
  39797. getFNOSC := (pTDefRegMap(@Self)^.val and $00000007) shr 0;
  39798. end;
  39799. procedure TDEVCFG_DEVCFG1.setFSOSCEN; inline;
  39800. begin
  39801. pTDefRegMap(@Self)^.&set := $00000020;
  39802. end;
  39803. procedure TDEVCFG_DEVCFG1.clearFSOSCEN; inline;
  39804. begin
  39805. pTDefRegMap(@Self)^.clr := $00000020;
  39806. end;
  39807. procedure TDEVCFG_DEVCFG1.setFSOSCEN(thebits : TBits_1); inline;
  39808. begin
  39809. if thebits = 0 then
  39810. pTDefRegMap(@Self)^.clr := $00000020
  39811. else
  39812. pTDefRegMap(@Self)^.&set := $00000020;
  39813. end;
  39814. function TDEVCFG_DEVCFG1.getFSOSCEN : TBits_1; inline;
  39815. begin
  39816. getFSOSCEN := (pTDefRegMap(@Self)^.val and $00000020) shr 5;
  39817. end;
  39818. procedure TDEVCFG_DEVCFG1.setIESO; inline;
  39819. begin
  39820. pTDefRegMap(@Self)^.&set := $00000080;
  39821. end;
  39822. procedure TDEVCFG_DEVCFG1.clearIESO; inline;
  39823. begin
  39824. pTDefRegMap(@Self)^.clr := $00000080;
  39825. end;
  39826. procedure TDEVCFG_DEVCFG1.setIESO(thebits : TBits_1); inline;
  39827. begin
  39828. if thebits = 0 then
  39829. pTDefRegMap(@Self)^.clr := $00000080
  39830. else
  39831. pTDefRegMap(@Self)^.&set := $00000080;
  39832. end;
  39833. function TDEVCFG_DEVCFG1.getIESO : TBits_1; inline;
  39834. begin
  39835. getIESO := (pTDefRegMap(@Self)^.val and $00000080) shr 7;
  39836. end;
  39837. procedure TDEVCFG_DEVCFG1.setPOSCMOD(thebits : TBits_2); inline;
  39838. begin
  39839. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFCFF or ( thebits shl 8 );
  39840. end;
  39841. function TDEVCFG_DEVCFG1.getPOSCMOD : TBits_2; inline;
  39842. begin
  39843. getPOSCMOD := (pTDefRegMap(@Self)^.val and $00000300) shr 8;
  39844. end;
  39845. procedure TDEVCFG_DEVCFG1.setOSCIOFNC; inline;
  39846. begin
  39847. pTDefRegMap(@Self)^.&set := $00000400;
  39848. end;
  39849. procedure TDEVCFG_DEVCFG1.clearOSCIOFNC; inline;
  39850. begin
  39851. pTDefRegMap(@Self)^.clr := $00000400;
  39852. end;
  39853. procedure TDEVCFG_DEVCFG1.setOSCIOFNC(thebits : TBits_1); inline;
  39854. begin
  39855. if thebits = 0 then
  39856. pTDefRegMap(@Self)^.clr := $00000400
  39857. else
  39858. pTDefRegMap(@Self)^.&set := $00000400;
  39859. end;
  39860. function TDEVCFG_DEVCFG1.getOSCIOFNC : TBits_1; inline;
  39861. begin
  39862. getOSCIOFNC := (pTDefRegMap(@Self)^.val and $00000400) shr 10;
  39863. end;
  39864. procedure TDEVCFG_DEVCFG1.setFPBDIV(thebits : TBits_2); inline;
  39865. begin
  39866. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFCFFF or ( thebits shl 12 );
  39867. end;
  39868. function TDEVCFG_DEVCFG1.getFPBDIV : TBits_2; inline;
  39869. begin
  39870. getFPBDIV := (pTDefRegMap(@Self)^.val and $00003000) shr 12;
  39871. end;
  39872. procedure TDEVCFG_DEVCFG1.setFCKSM(thebits : TBits_2); inline;
  39873. begin
  39874. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF3FFF or ( thebits shl 14 );
  39875. end;
  39876. function TDEVCFG_DEVCFG1.getFCKSM : TBits_2; inline;
  39877. begin
  39878. getFCKSM := (pTDefRegMap(@Self)^.val and $0000C000) shr 14;
  39879. end;
  39880. procedure TDEVCFG_DEVCFG1.setWDTPS(thebits : TBits_5); inline;
  39881. begin
  39882. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFE0FFFF or ( thebits shl 16 );
  39883. end;
  39884. function TDEVCFG_DEVCFG1.getWDTPS : TBits_5; inline;
  39885. begin
  39886. getWDTPS := (pTDefRegMap(@Self)^.val and $001F0000) shr 16;
  39887. end;
  39888. procedure TDEVCFG_DEVCFG1.setWINDIS; inline;
  39889. begin
  39890. pTDefRegMap(@Self)^.&set := $00400000;
  39891. end;
  39892. procedure TDEVCFG_DEVCFG1.clearWINDIS; inline;
  39893. begin
  39894. pTDefRegMap(@Self)^.clr := $00400000;
  39895. end;
  39896. procedure TDEVCFG_DEVCFG1.setWINDIS(thebits : TBits_1); inline;
  39897. begin
  39898. if thebits = 0 then
  39899. pTDefRegMap(@Self)^.clr := $00400000
  39900. else
  39901. pTDefRegMap(@Self)^.&set := $00400000;
  39902. end;
  39903. function TDEVCFG_DEVCFG1.getWINDIS : TBits_1; inline;
  39904. begin
  39905. getWINDIS := (pTDefRegMap(@Self)^.val and $00400000) shr 22;
  39906. end;
  39907. procedure TDEVCFG_DEVCFG1.setFWDTEN; inline;
  39908. begin
  39909. pTDefRegMap(@Self)^.&set := $00800000;
  39910. end;
  39911. procedure TDEVCFG_DEVCFG1.clearFWDTEN; inline;
  39912. begin
  39913. pTDefRegMap(@Self)^.clr := $00800000;
  39914. end;
  39915. procedure TDEVCFG_DEVCFG1.setFWDTEN(thebits : TBits_1); inline;
  39916. begin
  39917. if thebits = 0 then
  39918. pTDefRegMap(@Self)^.clr := $00800000
  39919. else
  39920. pTDefRegMap(@Self)^.&set := $00800000;
  39921. end;
  39922. function TDEVCFG_DEVCFG1.getFWDTEN : TBits_1; inline;
  39923. begin
  39924. getFWDTEN := (pTDefRegMap(@Self)^.val and $00800000) shr 23;
  39925. end;
  39926. procedure TDEVCFG_DEVCFG1.setFWDTWINSZ(thebits : TBits_2); inline;
  39927. begin
  39928. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FCFFFFFF or ( thebits shl 24 );
  39929. end;
  39930. function TDEVCFG_DEVCFG1.getFWDTWINSZ : TBits_2; inline;
  39931. begin
  39932. getFWDTWINSZ := (pTDefRegMap(@Self)^.val and $03000000) shr 24;
  39933. end;
  39934. procedure TDEVCFG_DEVCFG1.setw(thebits : TBits_32); inline;
  39935. begin
  39936. pTDefRegMap(@Self)^.val := thebits;
  39937. end;
  39938. function TDEVCFG_DEVCFG1.getw : TBits_32; inline;
  39939. begin
  39940. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  39941. end;
  39942. procedure TDEVCFG_DEVCFG0.setDEBUG(thebits : TBits_2); inline;
  39943. begin
  39944. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  39945. end;
  39946. function TDEVCFG_DEVCFG0.getDEBUG : TBits_2; inline;
  39947. begin
  39948. getDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  39949. end;
  39950. procedure TDEVCFG_DEVCFG0.setJTAGEN; inline;
  39951. begin
  39952. pTDefRegMap(@Self)^.&set := $00000004;
  39953. end;
  39954. procedure TDEVCFG_DEVCFG0.clearJTAGEN; inline;
  39955. begin
  39956. pTDefRegMap(@Self)^.clr := $00000004;
  39957. end;
  39958. procedure TDEVCFG_DEVCFG0.setJTAGEN(thebits : TBits_1); inline;
  39959. begin
  39960. if thebits = 0 then
  39961. pTDefRegMap(@Self)^.clr := $00000004
  39962. else
  39963. pTDefRegMap(@Self)^.&set := $00000004;
  39964. end;
  39965. function TDEVCFG_DEVCFG0.getJTAGEN : TBits_1; inline;
  39966. begin
  39967. getJTAGEN := (pTDefRegMap(@Self)^.val and $00000004) shr 2;
  39968. end;
  39969. procedure TDEVCFG_DEVCFG0.setICESEL(thebits : TBits_2); inline;
  39970. begin
  39971. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFE7 or ( thebits shl 3 );
  39972. end;
  39973. function TDEVCFG_DEVCFG0.getICESEL : TBits_2; inline;
  39974. begin
  39975. getICESEL := (pTDefRegMap(@Self)^.val and $00000018) shr 3;
  39976. end;
  39977. procedure TDEVCFG_DEVCFG0.setPWP(thebits : TBits_6); inline;
  39978. begin
  39979. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFF03FF or ( thebits shl 10 );
  39980. end;
  39981. function TDEVCFG_DEVCFG0.getPWP : TBits_6; inline;
  39982. begin
  39983. getPWP := (pTDefRegMap(@Self)^.val and $0000FC00) shr 10;
  39984. end;
  39985. procedure TDEVCFG_DEVCFG0.setBWP; inline;
  39986. begin
  39987. pTDefRegMap(@Self)^.&set := $01000000;
  39988. end;
  39989. procedure TDEVCFG_DEVCFG0.clearBWP; inline;
  39990. begin
  39991. pTDefRegMap(@Self)^.clr := $01000000;
  39992. end;
  39993. procedure TDEVCFG_DEVCFG0.setBWP(thebits : TBits_1); inline;
  39994. begin
  39995. if thebits = 0 then
  39996. pTDefRegMap(@Self)^.clr := $01000000
  39997. else
  39998. pTDefRegMap(@Self)^.&set := $01000000;
  39999. end;
  40000. function TDEVCFG_DEVCFG0.getBWP : TBits_1; inline;
  40001. begin
  40002. getBWP := (pTDefRegMap(@Self)^.val and $01000000) shr 24;
  40003. end;
  40004. procedure TDEVCFG_DEVCFG0.setCP; inline;
  40005. begin
  40006. pTDefRegMap(@Self)^.&set := $10000000;
  40007. end;
  40008. procedure TDEVCFG_DEVCFG0.clearCP; inline;
  40009. begin
  40010. pTDefRegMap(@Self)^.clr := $10000000;
  40011. end;
  40012. procedure TDEVCFG_DEVCFG0.setCP(thebits : TBits_1); inline;
  40013. begin
  40014. if thebits = 0 then
  40015. pTDefRegMap(@Self)^.clr := $10000000
  40016. else
  40017. pTDefRegMap(@Self)^.&set := $10000000;
  40018. end;
  40019. function TDEVCFG_DEVCFG0.getCP : TBits_1; inline;
  40020. begin
  40021. getCP := (pTDefRegMap(@Self)^.val and $10000000) shr 28;
  40022. end;
  40023. procedure TDEVCFG_DEVCFG0.setFDEBUG(thebits : TBits_2); inline;
  40024. begin
  40025. pTDefRegMap(@Self)^.val := pTDefRegMap(@Self)^.val and $FFFFFFFC or ( thebits shl 0 );
  40026. end;
  40027. function TDEVCFG_DEVCFG0.getFDEBUG : TBits_2; inline;
  40028. begin
  40029. getFDEBUG := (pTDefRegMap(@Self)^.val and $00000003) shr 0;
  40030. end;
  40031. procedure TDEVCFG_DEVCFG0.setw(thebits : TBits_32); inline;
  40032. begin
  40033. pTDefRegMap(@Self)^.val := thebits;
  40034. end;
  40035. function TDEVCFG_DEVCFG0.getw : TBits_32; inline;
  40036. begin
  40037. getw := (pTDefRegMap(@Self)^.val and $FFFFFFFF) shr 0;
  40038. end;
  40039. procedure _CORE_TIMER_VECTOR_interrupt; external name '_CORE_TIMER_VECTOR_interrupt';
  40040. procedure _CORE_SOFTWARE_0_VECTOR_interrupt; external name '_CORE_SOFTWARE_0_VECTOR_interrupt';
  40041. procedure _CORE_SOFTWARE_1_VECTOR_interrupt; external name '_CORE_SOFTWARE_1_VECTOR_interrupt';
  40042. procedure _EXTERNAL_0_VECTOR_interrupt; external name '_EXTERNAL_0_VECTOR_interrupt';
  40043. procedure _TIMER_1_VECTOR_interrupt; external name '_TIMER_1_VECTOR_interrupt';
  40044. procedure _INPUT_CAPTURE_1_VECTOR_interrupt; external name '_INPUT_CAPTURE_1_VECTOR_interrupt';
  40045. procedure _OUTPUT_COMPARE_1_VECTOR_interrupt; external name '_OUTPUT_COMPARE_1_VECTOR_interrupt';
  40046. procedure _EXTERNAL_1_VECTOR_interrupt; external name '_EXTERNAL_1_VECTOR_interrupt';
  40047. procedure _TIMER_2_VECTOR_interrupt; external name '_TIMER_2_VECTOR_interrupt';
  40048. procedure _INPUT_CAPTURE_2_VECTOR_interrupt; external name '_INPUT_CAPTURE_2_VECTOR_interrupt';
  40049. procedure _OUTPUT_COMPARE_2_VECTOR_interrupt; external name '_OUTPUT_COMPARE_2_VECTOR_interrupt';
  40050. procedure _EXTERNAL_2_VECTOR_interrupt; external name '_EXTERNAL_2_VECTOR_interrupt';
  40051. procedure _TIMER_3_VECTOR_interrupt; external name '_TIMER_3_VECTOR_interrupt';
  40052. procedure _INPUT_CAPTURE_3_VECTOR_interrupt; external name '_INPUT_CAPTURE_3_VECTOR_interrupt';
  40053. procedure _OUTPUT_COMPARE_3_VECTOR_interrupt; external name '_OUTPUT_COMPARE_3_VECTOR_interrupt';
  40054. procedure _EXTERNAL_3_VECTOR_interrupt; external name '_EXTERNAL_3_VECTOR_interrupt';
  40055. procedure _TIMER_4_VECTOR_interrupt; external name '_TIMER_4_VECTOR_interrupt';
  40056. procedure _INPUT_CAPTURE_4_VECTOR_interrupt; external name '_INPUT_CAPTURE_4_VECTOR_interrupt';
  40057. procedure _OUTPUT_COMPARE_4_VECTOR_interrupt; external name '_OUTPUT_COMPARE_4_VECTOR_interrupt';
  40058. procedure _EXTERNAL_4_VECTOR_interrupt; external name '_EXTERNAL_4_VECTOR_interrupt';
  40059. procedure _TIMER_5_VECTOR_interrupt; external name '_TIMER_5_VECTOR_interrupt';
  40060. procedure _INPUT_CAPTURE_5_VECTOR_interrupt; external name '_INPUT_CAPTURE_5_VECTOR_interrupt';
  40061. procedure _OUTPUT_COMPARE_5_VECTOR_interrupt; external name '_OUTPUT_COMPARE_5_VECTOR_interrupt';
  40062. procedure _ADC_VECTOR_interrupt; external name '_ADC_VECTOR_interrupt';
  40063. procedure _FAIL_SAFE_MONITOR_VECTOR_interrupt; external name '_FAIL_SAFE_MONITOR_VECTOR_interrupt';
  40064. procedure _RTCC_VECTOR_interrupt; external name '_RTCC_VECTOR_interrupt';
  40065. procedure _FCE_VECTOR_interrupt; external name '_FCE_VECTOR_interrupt';
  40066. procedure _COMPARATOR_1_VECTOR_interrupt; external name '_COMPARATOR_1_VECTOR_interrupt';
  40067. procedure _COMPARATOR_2_VECTOR_interrupt; external name '_COMPARATOR_2_VECTOR_interrupt';
  40068. procedure _COMPARATOR_3_VECTOR_interrupt; external name '_COMPARATOR_3_VECTOR_interrupt';
  40069. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  40070. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  40071. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  40072. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  40073. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  40074. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  40075. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  40076. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  40077. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  40078. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  40079. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  40080. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  40081. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  40082. procedure Vectors; assembler; nostackframe;
  40083. label interrupt_vectors;
  40084. asm
  40085. .section ".init.interrupt_vectors,\"ax\",@progbits"
  40086. interrupt_vectors:
  40087. j _CORE_TIMER_VECTOR_interrupt
  40088. nop
  40089. nop
  40090. nop
  40091. nop
  40092. nop
  40093. nop
  40094. nop
  40095. j _CORE_SOFTWARE_0_VECTOR_interrupt
  40096. nop
  40097. nop
  40098. nop
  40099. nop
  40100. nop
  40101. nop
  40102. nop
  40103. j _CORE_SOFTWARE_1_VECTOR_interrupt
  40104. nop
  40105. nop
  40106. nop
  40107. nop
  40108. nop
  40109. nop
  40110. nop
  40111. j _EXTERNAL_0_VECTOR_interrupt
  40112. nop
  40113. nop
  40114. nop
  40115. nop
  40116. nop
  40117. nop
  40118. nop
  40119. j _TIMER_1_VECTOR_interrupt
  40120. nop
  40121. nop
  40122. nop
  40123. nop
  40124. nop
  40125. nop
  40126. nop
  40127. j _INPUT_CAPTURE_1_VECTOR_interrupt
  40128. nop
  40129. nop
  40130. nop
  40131. nop
  40132. nop
  40133. nop
  40134. nop
  40135. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  40136. nop
  40137. nop
  40138. nop
  40139. nop
  40140. nop
  40141. nop
  40142. nop
  40143. j _EXTERNAL_1_VECTOR_interrupt
  40144. nop
  40145. nop
  40146. nop
  40147. nop
  40148. nop
  40149. nop
  40150. nop
  40151. j _TIMER_2_VECTOR_interrupt
  40152. nop
  40153. nop
  40154. nop
  40155. nop
  40156. nop
  40157. nop
  40158. nop
  40159. j _INPUT_CAPTURE_2_VECTOR_interrupt
  40160. nop
  40161. nop
  40162. nop
  40163. nop
  40164. nop
  40165. nop
  40166. nop
  40167. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  40168. nop
  40169. nop
  40170. nop
  40171. nop
  40172. nop
  40173. nop
  40174. nop
  40175. j _EXTERNAL_2_VECTOR_interrupt
  40176. nop
  40177. nop
  40178. nop
  40179. nop
  40180. nop
  40181. nop
  40182. nop
  40183. j _TIMER_3_VECTOR_interrupt
  40184. nop
  40185. nop
  40186. nop
  40187. nop
  40188. nop
  40189. nop
  40190. nop
  40191. j _INPUT_CAPTURE_3_VECTOR_interrupt
  40192. nop
  40193. nop
  40194. nop
  40195. nop
  40196. nop
  40197. nop
  40198. nop
  40199. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  40200. nop
  40201. nop
  40202. nop
  40203. nop
  40204. nop
  40205. nop
  40206. nop
  40207. j _EXTERNAL_3_VECTOR_interrupt
  40208. nop
  40209. nop
  40210. nop
  40211. nop
  40212. nop
  40213. nop
  40214. nop
  40215. j _TIMER_4_VECTOR_interrupt
  40216. nop
  40217. nop
  40218. nop
  40219. nop
  40220. nop
  40221. nop
  40222. nop
  40223. j _INPUT_CAPTURE_4_VECTOR_interrupt
  40224. nop
  40225. nop
  40226. nop
  40227. nop
  40228. nop
  40229. nop
  40230. nop
  40231. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  40232. nop
  40233. nop
  40234. nop
  40235. nop
  40236. nop
  40237. nop
  40238. nop
  40239. j _EXTERNAL_4_VECTOR_interrupt
  40240. nop
  40241. nop
  40242. nop
  40243. nop
  40244. nop
  40245. nop
  40246. nop
  40247. j _TIMER_5_VECTOR_interrupt
  40248. nop
  40249. nop
  40250. nop
  40251. nop
  40252. nop
  40253. nop
  40254. nop
  40255. j _INPUT_CAPTURE_5_VECTOR_interrupt
  40256. nop
  40257. nop
  40258. nop
  40259. nop
  40260. nop
  40261. nop
  40262. nop
  40263. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  40264. nop
  40265. nop
  40266. nop
  40267. nop
  40268. nop
  40269. nop
  40270. nop
  40271. j _ADC_VECTOR_interrupt
  40272. nop
  40273. nop
  40274. nop
  40275. nop
  40276. nop
  40277. nop
  40278. nop
  40279. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40280. nop
  40281. nop
  40282. nop
  40283. nop
  40284. nop
  40285. nop
  40286. nop
  40287. j _RTCC_VECTOR_interrupt
  40288. nop
  40289. nop
  40290. nop
  40291. nop
  40292. nop
  40293. nop
  40294. nop
  40295. j _FCE_VECTOR_interrupt
  40296. nop
  40297. nop
  40298. nop
  40299. nop
  40300. nop
  40301. nop
  40302. nop
  40303. j _COMPARATOR_1_VECTOR_interrupt
  40304. nop
  40305. nop
  40306. nop
  40307. nop
  40308. nop
  40309. nop
  40310. nop
  40311. j _COMPARATOR_2_VECTOR_interrupt
  40312. nop
  40313. nop
  40314. nop
  40315. nop
  40316. nop
  40317. nop
  40318. nop
  40319. j _COMPARATOR_3_VECTOR_interrupt
  40320. nop
  40321. nop
  40322. nop
  40323. nop
  40324. nop
  40325. nop
  40326. nop
  40327. nop
  40328. nop
  40329. nop
  40330. nop
  40331. nop
  40332. nop
  40333. nop
  40334. nop
  40335. j _SPI_1_VECTOR_interrupt
  40336. nop
  40337. nop
  40338. nop
  40339. nop
  40340. nop
  40341. nop
  40342. nop
  40343. j _UART_1_VECTOR_interrupt
  40344. nop
  40345. nop
  40346. nop
  40347. nop
  40348. nop
  40349. nop
  40350. nop
  40351. j _I2C_1_VECTOR_interrupt
  40352. nop
  40353. nop
  40354. nop
  40355. nop
  40356. nop
  40357. nop
  40358. nop
  40359. j _CHANGE_NOTICE_VECTOR_interrupt
  40360. nop
  40361. nop
  40362. nop
  40363. nop
  40364. nop
  40365. nop
  40366. nop
  40367. j _PMP_VECTOR_interrupt
  40368. nop
  40369. nop
  40370. nop
  40371. nop
  40372. nop
  40373. nop
  40374. nop
  40375. j _SPI_2_VECTOR_interrupt
  40376. nop
  40377. nop
  40378. nop
  40379. nop
  40380. nop
  40381. nop
  40382. nop
  40383. j _UART_2_VECTOR_interrupt
  40384. nop
  40385. nop
  40386. nop
  40387. nop
  40388. nop
  40389. nop
  40390. nop
  40391. j _I2C_2_VECTOR_interrupt
  40392. nop
  40393. nop
  40394. nop
  40395. nop
  40396. nop
  40397. nop
  40398. nop
  40399. j _CTMU_VECTOR_interrupt
  40400. nop
  40401. nop
  40402. nop
  40403. nop
  40404. nop
  40405. nop
  40406. nop
  40407. j _DMA_0_VECTOR_interrupt
  40408. nop
  40409. nop
  40410. nop
  40411. nop
  40412. nop
  40413. nop
  40414. nop
  40415. j _DMA_1_VECTOR_interrupt
  40416. nop
  40417. nop
  40418. nop
  40419. nop
  40420. nop
  40421. nop
  40422. nop
  40423. j _DMA_2_VECTOR_interrupt
  40424. nop
  40425. nop
  40426. nop
  40427. nop
  40428. nop
  40429. nop
  40430. nop
  40431. j _DMA_3_VECTOR_interrupt
  40432. nop
  40433. nop
  40434. nop
  40435. nop
  40436. nop
  40437. nop
  40438. nop
  40439. .weak _CORE_TIMER_VECTOR_interrupt
  40440. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  40441. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  40442. .weak _EXTERNAL_0_VECTOR_interrupt
  40443. .weak _TIMER_1_VECTOR_interrupt
  40444. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  40445. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  40446. .weak _EXTERNAL_1_VECTOR_interrupt
  40447. .weak _TIMER_2_VECTOR_interrupt
  40448. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  40449. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  40450. .weak _EXTERNAL_2_VECTOR_interrupt
  40451. .weak _TIMER_3_VECTOR_interrupt
  40452. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  40453. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  40454. .weak _EXTERNAL_3_VECTOR_interrupt
  40455. .weak _TIMER_4_VECTOR_interrupt
  40456. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  40457. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  40458. .weak _EXTERNAL_4_VECTOR_interrupt
  40459. .weak _TIMER_5_VECTOR_interrupt
  40460. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  40461. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  40462. .weak _ADC_VECTOR_interrupt
  40463. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40464. .weak _RTCC_VECTOR_interrupt
  40465. .weak _FCE_VECTOR_interrupt
  40466. .weak _COMPARATOR_1_VECTOR_interrupt
  40467. .weak _COMPARATOR_2_VECTOR_interrupt
  40468. .weak _COMPARATOR_3_VECTOR_interrupt
  40469. .weak _SPI_1_VECTOR_interrupt
  40470. .weak _UART_1_VECTOR_interrupt
  40471. .weak _I2C_1_VECTOR_interrupt
  40472. .weak _CHANGE_NOTICE_VECTOR_interrupt
  40473. .weak _PMP_VECTOR_interrupt
  40474. .weak _SPI_2_VECTOR_interrupt
  40475. .weak _UART_2_VECTOR_interrupt
  40476. .weak _I2C_2_VECTOR_interrupt
  40477. .weak _CTMU_VECTOR_interrupt
  40478. .weak _DMA_0_VECTOR_interrupt
  40479. .weak _DMA_1_VECTOR_interrupt
  40480. .weak _DMA_2_VECTOR_interrupt
  40481. .weak _DMA_3_VECTOR_interrupt
  40482. .text
  40483. end;
  40484. end.