pic32mx150f128d.pp 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491
  1. unit pic32mx150f128d;
  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 _USB_1_VECTOR_interrupt; external name '_USB_1_VECTOR_interrupt';
  40070. procedure _SPI_1_VECTOR_interrupt; external name '_SPI_1_VECTOR_interrupt';
  40071. procedure _UART_1_VECTOR_interrupt; external name '_UART_1_VECTOR_interrupt';
  40072. procedure _I2C_1_VECTOR_interrupt; external name '_I2C_1_VECTOR_interrupt';
  40073. procedure _CHANGE_NOTICE_VECTOR_interrupt; external name '_CHANGE_NOTICE_VECTOR_interrupt';
  40074. procedure _PMP_VECTOR_interrupt; external name '_PMP_VECTOR_interrupt';
  40075. procedure _SPI_2_VECTOR_interrupt; external name '_SPI_2_VECTOR_interrupt';
  40076. procedure _UART_2_VECTOR_interrupt; external name '_UART_2_VECTOR_interrupt';
  40077. procedure _I2C_2_VECTOR_interrupt; external name '_I2C_2_VECTOR_interrupt';
  40078. procedure _CTMU_VECTOR_interrupt; external name '_CTMU_VECTOR_interrupt';
  40079. procedure _DMA_0_VECTOR_interrupt; external name '_DMA_0_VECTOR_interrupt';
  40080. procedure _DMA_1_VECTOR_interrupt; external name '_DMA_1_VECTOR_interrupt';
  40081. procedure _DMA_2_VECTOR_interrupt; external name '_DMA_2_VECTOR_interrupt';
  40082. procedure _DMA_3_VECTOR_interrupt; external name '_DMA_3_VECTOR_interrupt';
  40083. procedure Vectors; assembler; nostackframe;
  40084. label interrupt_vectors;
  40085. asm
  40086. .section ".init.interrupt_vectors,\"ax\",@progbits"
  40087. interrupt_vectors:
  40088. j _CORE_TIMER_VECTOR_interrupt
  40089. nop
  40090. nop
  40091. nop
  40092. nop
  40093. nop
  40094. nop
  40095. nop
  40096. j _CORE_SOFTWARE_0_VECTOR_interrupt
  40097. nop
  40098. nop
  40099. nop
  40100. nop
  40101. nop
  40102. nop
  40103. nop
  40104. j _CORE_SOFTWARE_1_VECTOR_interrupt
  40105. nop
  40106. nop
  40107. nop
  40108. nop
  40109. nop
  40110. nop
  40111. nop
  40112. j _EXTERNAL_0_VECTOR_interrupt
  40113. nop
  40114. nop
  40115. nop
  40116. nop
  40117. nop
  40118. nop
  40119. nop
  40120. j _TIMER_1_VECTOR_interrupt
  40121. nop
  40122. nop
  40123. nop
  40124. nop
  40125. nop
  40126. nop
  40127. nop
  40128. j _INPUT_CAPTURE_1_VECTOR_interrupt
  40129. nop
  40130. nop
  40131. nop
  40132. nop
  40133. nop
  40134. nop
  40135. nop
  40136. j _OUTPUT_COMPARE_1_VECTOR_interrupt
  40137. nop
  40138. nop
  40139. nop
  40140. nop
  40141. nop
  40142. nop
  40143. nop
  40144. j _EXTERNAL_1_VECTOR_interrupt
  40145. nop
  40146. nop
  40147. nop
  40148. nop
  40149. nop
  40150. nop
  40151. nop
  40152. j _TIMER_2_VECTOR_interrupt
  40153. nop
  40154. nop
  40155. nop
  40156. nop
  40157. nop
  40158. nop
  40159. nop
  40160. j _INPUT_CAPTURE_2_VECTOR_interrupt
  40161. nop
  40162. nop
  40163. nop
  40164. nop
  40165. nop
  40166. nop
  40167. nop
  40168. j _OUTPUT_COMPARE_2_VECTOR_interrupt
  40169. nop
  40170. nop
  40171. nop
  40172. nop
  40173. nop
  40174. nop
  40175. nop
  40176. j _EXTERNAL_2_VECTOR_interrupt
  40177. nop
  40178. nop
  40179. nop
  40180. nop
  40181. nop
  40182. nop
  40183. nop
  40184. j _TIMER_3_VECTOR_interrupt
  40185. nop
  40186. nop
  40187. nop
  40188. nop
  40189. nop
  40190. nop
  40191. nop
  40192. j _INPUT_CAPTURE_3_VECTOR_interrupt
  40193. nop
  40194. nop
  40195. nop
  40196. nop
  40197. nop
  40198. nop
  40199. nop
  40200. j _OUTPUT_COMPARE_3_VECTOR_interrupt
  40201. nop
  40202. nop
  40203. nop
  40204. nop
  40205. nop
  40206. nop
  40207. nop
  40208. j _EXTERNAL_3_VECTOR_interrupt
  40209. nop
  40210. nop
  40211. nop
  40212. nop
  40213. nop
  40214. nop
  40215. nop
  40216. j _TIMER_4_VECTOR_interrupt
  40217. nop
  40218. nop
  40219. nop
  40220. nop
  40221. nop
  40222. nop
  40223. nop
  40224. j _INPUT_CAPTURE_4_VECTOR_interrupt
  40225. nop
  40226. nop
  40227. nop
  40228. nop
  40229. nop
  40230. nop
  40231. nop
  40232. j _OUTPUT_COMPARE_4_VECTOR_interrupt
  40233. nop
  40234. nop
  40235. nop
  40236. nop
  40237. nop
  40238. nop
  40239. nop
  40240. j _EXTERNAL_4_VECTOR_interrupt
  40241. nop
  40242. nop
  40243. nop
  40244. nop
  40245. nop
  40246. nop
  40247. nop
  40248. j _TIMER_5_VECTOR_interrupt
  40249. nop
  40250. nop
  40251. nop
  40252. nop
  40253. nop
  40254. nop
  40255. nop
  40256. j _INPUT_CAPTURE_5_VECTOR_interrupt
  40257. nop
  40258. nop
  40259. nop
  40260. nop
  40261. nop
  40262. nop
  40263. nop
  40264. j _OUTPUT_COMPARE_5_VECTOR_interrupt
  40265. nop
  40266. nop
  40267. nop
  40268. nop
  40269. nop
  40270. nop
  40271. nop
  40272. j _ADC_VECTOR_interrupt
  40273. nop
  40274. nop
  40275. nop
  40276. nop
  40277. nop
  40278. nop
  40279. nop
  40280. j _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40281. nop
  40282. nop
  40283. nop
  40284. nop
  40285. nop
  40286. nop
  40287. nop
  40288. j _RTCC_VECTOR_interrupt
  40289. nop
  40290. nop
  40291. nop
  40292. nop
  40293. nop
  40294. nop
  40295. nop
  40296. j _FCE_VECTOR_interrupt
  40297. nop
  40298. nop
  40299. nop
  40300. nop
  40301. nop
  40302. nop
  40303. nop
  40304. j _COMPARATOR_1_VECTOR_interrupt
  40305. nop
  40306. nop
  40307. nop
  40308. nop
  40309. nop
  40310. nop
  40311. nop
  40312. j _COMPARATOR_2_VECTOR_interrupt
  40313. nop
  40314. nop
  40315. nop
  40316. nop
  40317. nop
  40318. nop
  40319. nop
  40320. j _COMPARATOR_3_VECTOR_interrupt
  40321. nop
  40322. nop
  40323. nop
  40324. nop
  40325. nop
  40326. nop
  40327. nop
  40328. j _USB_1_VECTOR_interrupt
  40329. nop
  40330. nop
  40331. nop
  40332. nop
  40333. nop
  40334. nop
  40335. nop
  40336. j _SPI_1_VECTOR_interrupt
  40337. nop
  40338. nop
  40339. nop
  40340. nop
  40341. nop
  40342. nop
  40343. nop
  40344. j _UART_1_VECTOR_interrupt
  40345. nop
  40346. nop
  40347. nop
  40348. nop
  40349. nop
  40350. nop
  40351. nop
  40352. j _I2C_1_VECTOR_interrupt
  40353. nop
  40354. nop
  40355. nop
  40356. nop
  40357. nop
  40358. nop
  40359. nop
  40360. j _CHANGE_NOTICE_VECTOR_interrupt
  40361. nop
  40362. nop
  40363. nop
  40364. nop
  40365. nop
  40366. nop
  40367. nop
  40368. j _PMP_VECTOR_interrupt
  40369. nop
  40370. nop
  40371. nop
  40372. nop
  40373. nop
  40374. nop
  40375. nop
  40376. j _SPI_2_VECTOR_interrupt
  40377. nop
  40378. nop
  40379. nop
  40380. nop
  40381. nop
  40382. nop
  40383. nop
  40384. j _UART_2_VECTOR_interrupt
  40385. nop
  40386. nop
  40387. nop
  40388. nop
  40389. nop
  40390. nop
  40391. nop
  40392. j _I2C_2_VECTOR_interrupt
  40393. nop
  40394. nop
  40395. nop
  40396. nop
  40397. nop
  40398. nop
  40399. nop
  40400. j _CTMU_VECTOR_interrupt
  40401. nop
  40402. nop
  40403. nop
  40404. nop
  40405. nop
  40406. nop
  40407. nop
  40408. j _DMA_0_VECTOR_interrupt
  40409. nop
  40410. nop
  40411. nop
  40412. nop
  40413. nop
  40414. nop
  40415. nop
  40416. j _DMA_1_VECTOR_interrupt
  40417. nop
  40418. nop
  40419. nop
  40420. nop
  40421. nop
  40422. nop
  40423. nop
  40424. j _DMA_2_VECTOR_interrupt
  40425. nop
  40426. nop
  40427. nop
  40428. nop
  40429. nop
  40430. nop
  40431. nop
  40432. j _DMA_3_VECTOR_interrupt
  40433. nop
  40434. nop
  40435. nop
  40436. nop
  40437. nop
  40438. nop
  40439. nop
  40440. .weak _CORE_TIMER_VECTOR_interrupt
  40441. .weak _CORE_SOFTWARE_0_VECTOR_interrupt
  40442. .weak _CORE_SOFTWARE_1_VECTOR_interrupt
  40443. .weak _EXTERNAL_0_VECTOR_interrupt
  40444. .weak _TIMER_1_VECTOR_interrupt
  40445. .weak _INPUT_CAPTURE_1_VECTOR_interrupt
  40446. .weak _OUTPUT_COMPARE_1_VECTOR_interrupt
  40447. .weak _EXTERNAL_1_VECTOR_interrupt
  40448. .weak _TIMER_2_VECTOR_interrupt
  40449. .weak _INPUT_CAPTURE_2_VECTOR_interrupt
  40450. .weak _OUTPUT_COMPARE_2_VECTOR_interrupt
  40451. .weak _EXTERNAL_2_VECTOR_interrupt
  40452. .weak _TIMER_3_VECTOR_interrupt
  40453. .weak _INPUT_CAPTURE_3_VECTOR_interrupt
  40454. .weak _OUTPUT_COMPARE_3_VECTOR_interrupt
  40455. .weak _EXTERNAL_3_VECTOR_interrupt
  40456. .weak _TIMER_4_VECTOR_interrupt
  40457. .weak _INPUT_CAPTURE_4_VECTOR_interrupt
  40458. .weak _OUTPUT_COMPARE_4_VECTOR_interrupt
  40459. .weak _EXTERNAL_4_VECTOR_interrupt
  40460. .weak _TIMER_5_VECTOR_interrupt
  40461. .weak _INPUT_CAPTURE_5_VECTOR_interrupt
  40462. .weak _OUTPUT_COMPARE_5_VECTOR_interrupt
  40463. .weak _ADC_VECTOR_interrupt
  40464. .weak _FAIL_SAFE_MONITOR_VECTOR_interrupt
  40465. .weak _RTCC_VECTOR_interrupt
  40466. .weak _FCE_VECTOR_interrupt
  40467. .weak _COMPARATOR_1_VECTOR_interrupt
  40468. .weak _COMPARATOR_2_VECTOR_interrupt
  40469. .weak _COMPARATOR_3_VECTOR_interrupt
  40470. .weak _USB_1_VECTOR_interrupt
  40471. .weak _SPI_1_VECTOR_interrupt
  40472. .weak _UART_1_VECTOR_interrupt
  40473. .weak _I2C_1_VECTOR_interrupt
  40474. .weak _CHANGE_NOTICE_VECTOR_interrupt
  40475. .weak _PMP_VECTOR_interrupt
  40476. .weak _SPI_2_VECTOR_interrupt
  40477. .weak _UART_2_VECTOR_interrupt
  40478. .weak _I2C_2_VECTOR_interrupt
  40479. .weak _CTMU_VECTOR_interrupt
  40480. .weak _DMA_0_VECTOR_interrupt
  40481. .weak _DMA_1_VECTOR_interrupt
  40482. .weak _DMA_2_VECTOR_interrupt
  40483. .weak _DMA_3_VECTOR_interrupt
  40484. .text
  40485. end;
  40486. end.